/*===================================================================
    TẦNG 1: BASE & FIX HERO TRÀN VIỀN
===================================================================*/
:root {
    --side-dt: 55px;
    --side-mb: 20px;
    --gap-section: 80px;
}

.ladolce-product-section {
    width: 100%;
    margin: 0;
}

.ladolce-photo {
    aspect-ratio: 6 / 7;
    overflow: hidden;
}

.ladolce-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/*===================
HÌNH NGANG LỚN
===================*/

.ladolce-hero-fullwidth {
    width: 100%; 
    max-width: 100%;
    margin-left: 0; 
    margin-top: 40px;
    margin-bottom: 80px;
}

.ladolce-hero-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    background: #eee;
    overflow: hidden; 
}

.ladolce-hero-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#ladolce-hero-video, 
#ladolce-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

#ladolce-hero-video { z-index: 1; }
#ladolce-hero-image { z-index: 2; }

.ladolce-slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    transform: translateY(-50%);
    box-sizing: border-box;
    z-index: 10; 
    pointer-events: none;
}

.ladolce-slider-nav span {
    pointer-events: auto; /* Để nút vẫn bấm được */
    border: 2px solid #ffffff !important;
    cursor: pointer;
    width: 55px;
    height: 55px;
    background: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    backdrop-filter: blur(3px);
}

.ladolce-slider-nav span:hover {
    background: rgb(23, 26, 27);
    color: #fff;
}


.ladolce-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 1px;
    color: #2b2929;
    font-weight: 300;
    margin-bottom: 30px;
}

.ladolce-list,
.ladolce-dot-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ladolce-list li,
.ladolce-dot-list li {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.ladolce-dot-list li strong {
    font-size: 20px;
}

.ladolce-list li:first-child {
    border-top: 1px solid #eee;
}

.ladolce-dot-list li:first-child {
    border-top: 1px solid #eee;
}

.ladolce-size-row {
    display: flex;
    align-items: center;
    gap: 20px;         
    margin-top: 40px;
}

.ladolce-icon-circle {
    width: 150px;         
    height: 150px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff; 
    margin-bottom: 40px;
}

.ladolce-icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    image-rendering: -webkit-optimize-contrast; 
}

.ladolce-size-info p {
    font-size: 11px;
    margin: 4px 0;      
    color: var(--black);
}

.ladolce-size-info .ladolce-label {
    margin-bottom: 10px; 
}

.ladolce-size-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.ladolce-size-text p {
    font-size: 13px;
    margin: 3px 0;
    color: #666;
}

.ladolce-cert-box {
    background: #ffffff;
    padding: 30px 0; 
    text-align: center;
    border: 2px solid #eee;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    overflow: hidden !important; 
    display: block;
    box-sizing: border-box;
}

/* 3. DẢI LOGO (BĂNG CHUYỀN) */
.ladolce-logo-strip {
    position: relative;
    display: flex;
    flex-wrap: nowrap !important; 
    flex-direction: row !important;
    justify-content: flex-start !important; 
    align-items: center;
    gap: 20px; 
    padding: 0 20px;
    width: 100% !important;
    overflow-x: auto !important; 
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto !important;
}


.ladolce-logo-strip::-webkit-scrollbar {
    display: none;
}

.ladolce-logo-strip:active {
    cursor: grabbing;
}


.ladolce-logo-strip img {
    height: 55px; 
    width: auto;
    flex: 0 0 auto !important; 
    object-fit: contain !important; 
    opacity: 0.8;
    transition: 0.3s;
    pointer-events: none; 
}

.ladolce-logo-strip img:hover {
    opacity: 1;
}


.ladolce-smallprogress-container {
    position: absolute; 
    bottom: 15px;   
    left: 100px;       
    right: 100px;    
    
    height: 0.01em;       
    background-color: #eeeeee;
    overflow: hidden;
    z-index: 10;
}


.ladolce-smallprogress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background-color: #000000; 
    transform: translateX(0);
}








/*===================================================================
    TẦNG 2: DESKTOP (>= 1200px) - GRID 2 CỘT
===================================================================*/
@media (min-width: 1200px) {
    .ladolce-container {
        padding: 60px 55px;
        max-width: 1650px;
        margin: 0 auto;
    }

    .ladolce-intro {
        margin: 10px 0 80px;
    }

    .ladolce-title {
        font-size: clamp(38px, 5vw, 50px);
        line-height: 1.4;
        font-weight: 400;
        margin-bottom: 30px;
        max-width: 1100px;
    }

    .ladolce-desc {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 25px;
        max-width: 670px;
        color: var(--color-black);
    }

    .ladolce-main-grid {
        display: grid;
        grid-template-columns: 1.4fr 0.65fr;
        gap: 50px;
        align-items: start;
    }

    .ladolce-gallery-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    /* GIA CỐ STICKY SCROLL CHUẨN XÁC */
    .ladolce-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    
    /* CHIÊU KHÓA CHẾT CHIỀU RỘNG [cite: 2026-03-27] */
    width: 100% !important;
    min-width: 0 !important; 
    flex: 0 0 380px !important; 
}

    .ladolce-sticky-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .ladolce-progress-container {
        display: none;
    }

    .logo-strip-section {
        display: none;
    }
}








/*===================================================================
    TẦNG 3: TABLET LỚN (992px - 1199px) - Lề 20px
===================================================================*/
@media (min-width: 992px) and (max-width: 1199px) {
    .ladolce-container {
        padding: 0 var(--side-mb);
    }

    .ladolce-main-grid {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 40px;
        align-items: start;
    }

    .ladolce-gallery-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .ladolce-sidebar {
        position: sticky;
        top: 80px;
        height: fit-content;
    }

    .ladolce-sticky-content {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .ladolce-progress-container {
        display: none;
    }

    .logo-strip-section {
        display: none;
    }
}













/*===================================================================
    TẦNG 4: TABLET NHỎ (768px - 991px) - Ép 1 cột, Hiện Slider
===================================================================*/
@media (min-width: 768px) and (max-width: 991px) {
    .ladolce-container {
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .ladolce-intro {
        padding: 40px 0; /* Bỏ padding 20px ở đây vì cha đã có */
    }

    .ladolce-title {
        font-size: 40px !important; 
        line-height: 1.2 !important; 
        color: var(--black) !important; 
        margin-bottom: 25px !important; 
        font-weight: 400;
        max-width: 680px;
    }

    .ladolce-desc {
        font-size: 12px !important; 
        line-height: 1.6 !important; 
        color: var(--black) !important; 
        margin-bottom: 20px;
        max-width: 670px;
    }



    .ladolce-slider-nav {
        display: none;
}
    
    .ladolce-hero-fullwidth {
    margin-top: 60px; /* Nhớ thêm đơn vị px nhé */
    margin-bottom: 20px;
    
    width: 100vw; /* Ép nó rộng bằng đúng chiều rộng màn hình */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    
    /* Đảm bảo bên trong không bị lòi ra ngoài */
    max-width: 100vw; 
    overflow: hidden;
}

    .ladolce-hero-container {
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }

    #ladolce-hero-video, 
    #ladolce-hero-image {
        object-fit: cover;
    }

    .ladolce-slider-dots {
        position: absolute;
        bottom: 20px; 
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px; 
        z-index: 10;
    }
    
    .ladolce-dot {
        width: 8px; /* Giữ thông số cứng mày đã lock cho chấm */
        height: 8px;
        border-radius: 50%;
        background-color: #ffffff; /* Màu xám chuẩn mày đã lock [cite: 2026-03-27] */
        cursor: pointer;
        transition: background-color 0.3s ease;
    }    

    .ladolce-dot.active {
        background-color: #000000; /* Màu đen chuẩn mày đã lock [cite: 2026-03-27] */
    }


    
    .ladolce-gallery-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        scroll-snap-type: x mandatory;
        width: 100vw; 
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        margin-bottom: 40px;
        padding: 40px 20px;
        box-sizing: border-box;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .ladolce-photo {
        flex: 0 0 44%; 
        scroll-snap-align: start;
        aspect-ratio: 6 / 7;
    }

    .ladolce-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .ladolce-smallprogress-container {
        display: block !important;
        position: relative;
        width: calc(100% - 160px); 
        height: 2px;
        background-color: #eeeeee;
        overflow: hidden;
    }

    .ladolce-smallprogress-bar {
        display: block !important;
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 30px;
        background-color: #000000;
        transform: translateX(0);
    }

    .ladolce-sidebar {
        padding: 0;
    }

    .ladolce-sticky-content {
        display: block;
        margin-top: 40px;
    }

    .ladolce-info-section {
        margin-bottom: 40px;
    }
    
    .logo-strip-section {
        display: none;
    }
}










/*===================================================================
    TẦNG 5: MOBILE (< 767px) - BẢN FIX CUỐI CÙNG (NO GRID)
===================================================================*/
@media (max-width: 767px) {
    /* 1. RESET GIỚI HẠN TOÀN TRANG */
    .ladolce-product-section {
        overflow-x: hidden !important;
        width: 100%;
    }

    /* Đảm bảo thằng cha bao ngoài cùng giữ lề 20px */
    .ladolce-container {
        padding: 0 20px !important;
        box-sizing: border-box !important;
        margin-bottom: 60px;
    }

    .ladolce-intro {
        padding: 40px 0; /* Bỏ padding 20px ở đây vì cha đã có */
    }

    .ladolce-title {
        font-size: 28px !important;
        line-height: 1.2;
        margin-bottom: 25px;
        margin-top: 10px
    }

    .ladolce-desc {
        font-size: 12px;
        line-height: 1.6;
        color: var(--black);
    }

    /* 2. RESET KHUNG LƯỚI */
    .ladolce-main-grid {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    
    .ladolce-hero-fullwidth {
        width: 100% !important;
        margin: 10px 0 40px 0 !important; 
    }

    .ladolce-hero-container {
        width: 100% !important;
        height: 50vh !important;
        position: relative;
        overflow: hidden;
    }

    .ladolce-slider-nav {
        display: none;
    }


    .ladolce-slider-dots {
        position: absolute;
        bottom: 20px; 
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px; 
        z-index: 10;
    }
    
    .ladolce-dot {
        width: 6px; 
        height: 6px;
        border-radius: 50%;
        background-color: #ffffff; 
        cursor: pointer;
        transition: background-color 0.3s ease;
    }    

    .ladolce-dot.active {
        background-color: #000000; 
    }




    /* 4. GALLERY SLIDER: CHUẨN LỀ 20PX & TỈ LỆ 6/7 */
    .ladolce-gallery-grid {
        display: flex !important;
        overflow-x: auto !important;
        gap: 10px !important; 
        
        /* Trick: Margin âm để phá lề cha khi vuốt, Padding dương để lề ban đầu vẫn là 20px */
        margin-left: -20px !important;
        margin-right: -20px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        
        scroll-padding-left: 20px !important; 
        scroll-snap-type: x mandatory !important; 
        scrollbar-width: none;
    }

    .ladolce-gallery-grid::-webkit-scrollbar { display: none; }

    .ladolce-photo {
        flex: 0 0 85% !important; 
        scroll-snap-align: start !important; 
        scroll-snap-stop: always !important;
    }

    /* Đã sửa chính tả từ river -> ladolce */
    .ladolce-photo img {
        width: 100%;
        display: block;
        aspect-ratio: 6/7 !important; 
        object-fit: cover;
        margin-bottom: 15px !important;
    }

  
    .ladolce-progress-container {
        display: block !important;
        position: relative; /* Follows the natural flow after the grid */
        /* 20px top, auto left/right to center the bar */
        margin: 20px auto 0 auto !important;
        width: 100%;
        height: 1px;
        background-color: rgba(0, 0, 0, 0.1);
        left: 0 !important;
        transform: none !important;
    }    


    .ladolce-progress-bar {
        width: 20%; 
        height: 100%;
        background-color: var(--black);
        transition: width 0.3s linear;
        position: absolute;
        left: 0;
        transition: transform 0.1s linear; 
    }



    /* 5. SIDEBAR & THÔNG SỐ: ĐỔ DỌC */
    .ladolce-sidebar {
        width: 100% !important;
        position: static !important;
        display: block !important;
        margin-top: 30px;
        padding: 0 !important; /* Tuyệt đối không thêm padding ở đây */
    }

    .ladolce-sticky-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .ladolce-spec-block h4 {
        font-size: 10px;
        word-spacing: 5px;
        font-weight: 300;
        line-height: 1.2;
    }

    .ladolce-size-row {
        margin-top: 0;
        gap: 25px;
}

    .ladolce-size-info h4 {
        font-size: 10px;
        word-spacing: 5px;
        font-weight: 300;
        line-height: 1.2;
        margin-bottom: 30px;
    }

    .ladolce-size-info p {
        font-size: 11px;
        font-weight: 400;
        word-spacing: 1px;
        line-height: 1.4;
        color: var(--black);
    }

    .ladolce-icon-circle {
        width: 130px;          
        height: 130px;
        margin-top: 40px;
    }

    .ladolce-icon-circle img {
        width: 100%;
        height: 100%;
        object-fit: contain; 
    }

    .ladolce-spec-list li, 
    .ladolce-tech-list li {
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .ladolce-smallprogress-container {
        display: none;
    }

    .ladolce-cert-box {
        display: none;
    }
}




/* Khung nền đen bao phủ toàn màn hình */
.casa-lightbox {
    display: none; 
    position: fixed; 
    z-index: 99999; 
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Khung bọc giới hạn dải trượt */
.lightbox-track-wrapper {
    width: calc(100% - 200px);
    height: 85vh;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    z-index: 100001;
}

/* Dải nội dung nằm ngang liên tục */
.lightbox-track {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    will-change: transform;
}

/* Từng tấm slide (Chứa ảnh hoặc video) */
.lightbox-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

/* Định dạng hiển thị đồng bộ cho cả Ảnh và Video */
.lightbox-slide img,
.lightbox-slide video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform-origin 0.1s ease;
}

.lightbox-slide img {
    cursor: zoom-in !important;
    image-rendering: -webkit-optimize-contrast;
}

.casa-lightbox.active .lightbox-slide img,
.casa-lightbox.active .lightbox-slide video {
    transform: scale(1);
}

/* Trạng thái ảnh khi được ZOOM TO (Chỉ áp dụng riêng cho img, không zoom video) */
.lightbox-slide img.zoomed {
    transform: scale(2) !important;
    cursor: zoom-out !important;
    z-index: 100005;
}

/* Nút Đóng (Dấu X) */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 35px;
    font-weight: 200;
    cursor: pointer;
    transition: opacity 0.2s ease;
    line-height: 1;
    z-index: 100003;
}
.lightbox-close:hover { opacity: 0.6; }

/* 🌟 GIỮ NGUYÊN GỐC 100% THÔNG SỐ NÚT TRÒN TRÊN DESKTOP CỦA MÀY */
.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff; /* Nền trắng */
    width: 40px; /* Kích thước 40px */
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 100002;
    user-select: none;
}
.lightbox-btn svg {
    width: 13px; /* Icon mũi tên 13px */
    height: 13px;
    color: #000000; /* Màu đen mặc định */
    transition: transform 0.3s ease, color 0.3s ease;
}
.lightbox-btn:hover {
    border-color: #ffffff;
    background-color: rgba(19, 19, 19, 0.95); /* Màu nền khi hover */
}
.lightbox-btn:hover svg { 
    color: #ffffff; /* Mũi tên chuyển trắng khi hover */
}
.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

/* HÀNG CHẤM: Ẩn mặc định trên desktop */
.lightbox-dots {
    display: none;
}

/* 📱 RESPONSIVE - Áp dụng lề mặc định dự án của mày */
@media (max-width: 768px) {
    .lightbox-track-wrapper {
        width: 100%;
        height: 70vh;
        padding: 0 20px; /* Lề lướt 2 bên mặc định 20px */
    }
    
    .lightbox-slide {
        padding: 0 12px; /* Tạo khoảng hở nhỏ giữa các slide khi vuốt */
    }

    .lightbox-btn {
        display: none !important; /* Ẩn nút cơ học trên mobile */
    }
    
    .lightbox-dots {
        display: flex;
        position: absolute;
        bottom: 40px; /* Ngăn cách section mặc định 40px */
        left: 50%;
        transform: translateX(-50%);
        gap: 8px;
        padding: 8px 14px;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        z-index: 100003;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
    
    /* Các chấm luôn luôn tròn xoe bằng nhau */
    .lightbox-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        transition: background-color 0.3s ease;
        cursor: pointer;
    }
    
    /* Chấm active chỉ đổi màu đen sâu, giữ nguyên kích cỡ tròn xoe */
    .lightbox-dot.active {
        background-color: #000000 !important;
    }
}


/*===================================================================
    TẦNG BỔ SUNG: ĐIỀU KHIỂN VIDEO (DESKTOP & MOBILE)
===================================================================*/

/* --- Định vị nút Play/Pause và Thanh tiến trình trong Hero --- */
.ladolce-hero-container {
    position: relative;
}

#ladolce-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15; /* Nằm trên cả video và image */
    
    /* Trạng thái ẩn mờ mặc định */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    
    /* Thiết kế nút bấm */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
#ladolce-video-play-btn svg {
    width: 20px !important;
    height: 20px !important;
    color: #ffffff;
}

#ladolce-video-progress-container {
    position: absolute;
    bottom: 20px;
    left: 55px;  /* Khớp với khoảng cách --side-dt của mày */
    right: 55px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 15;
    
    /* Trạng thái ẩn mờ mặc định */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    cursor: pointer;
}

#ladolce-video-progress-bar {
    width: 0%;
    height: 100%;
    background: #ffffff;
    transition: width 0.1s linear;
}

/* --- Class ép ẩn lập tức khi slide chuyển sang Hình Ảnh --- */
.hero-is-image #ladolce-video-play-btn,
.hero-is-image #ladolce-video-progress-container {
    display: none !important;
}

/* --- Trạng thái hiển thị điều khiển bằng JS (dành cho cả Desktop và Mobile) --- */
.show-video-controls #ladolce-video-play-btn,
.show-video-controls #ladolce-video-progress-container {
    opacity: 1 !important;
    visibility: visible !important;
}


/* --- Tinh chỉnh Giao diện Mobile (< 1023px) --- */
@media (max-width: 1023px) {
    /* ẨN thanh tiến trình ngoài trang chủ trên Mobile theo đúng ý mày */
    #ladolce-video-progress-container {
        display: none !important;
    }
    
    #ladolce-video-play-btn {
        width: 50px !important;  /* Thu nhỏ nút bấm trên mobile một chút */
        height: 50px !important;
    }
    #ladolce-video-play-btn svg {
        width: 20px !important;
        height: 20px !important;
    }
}


/*===================================================================
    NEW: BỘ ĐIỀU KHIỂN RIÊNG BIỆT KHI XEM CHI TIẾT (LIGHTBOX)
===================================================================*/
.lightbox-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-custom-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 500px;
    background: rgba(0, 0, 0, 0.75);
    padding: 10px 18px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 100006;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.v-controls-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.v-play-pause-btn {
    background: none;
    border: none;
    color: #ffffff;
    width: 18px;
    height: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.v-play-pause-btn svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.v-time-display {
    color: #ffffff;
    font-size: 12px;
    font-family: sans-serif;
    min-width: 35px;
    opacity: 0.8;
}

.v-progress-container {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.v-progress-bar {
    height: 100%;
    background: #ffffff;
    width: 0%;
    border-radius: 2px;
}

/* Tinh chỉnh vị trí controls trong chi tiết riêng cho Mobile */
@media (max-width: 768px) {
    .lightbox-custom-controls {
        bottom: 80px; /* Đẩy cao hơn hàng dấu chấm trên Mobile */
        width: 65%;   /* Thu hẹp độ rộng từ 85% xuống 65% để không bị quá to */
        padding: 8px 14px; /* Thu nhỏ padding cho thanh mỏng gọn */
        gap: 10px;
    }
    
    .v-time-display {
        font-size: 11px; /* Hạ size chữ thời gian xuống một chút */
        min-width: 30px;
    }
}