﻿/* ======================= */
/* CUSTOM CAROUSEL ENGINE  */
/* ======================= */
.my-carousel {
    position: relative;
    overflow-x: hidden; /* chặn tràn ngang */
    overflow-y: visible;
    width: 100%;
}

.my-carousel-inner {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    transition: transform 0.6s ease;
}

.my-carousel-item {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
}

/* Controls */
.my-carousel-prev,
.my-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: transparent !important;
    color: white;
    padding: 10px 14px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
}

.my-carousel-prev {
    left: 10px;
}

.my-carousel-next {
    right: 10px;
}

    /* Keep icons unchanged */
    .my-carousel-prev .carousel-control-prev-icon,
    .my-carousel-next .carousel-control-next-icon {
        filter: invert(1);
    }
