/* SANHAM-GALLERY */

@media (min-width: 769px) {
    .sanpham-gallery {
        /* Giữ nguyên padding 80px 55px của mày */
        padding: 80px 55px; 
        background-color: #fff;
        overflow: hidden;
        
        /* THÊM 2 DÒNG NÀY ĐỂ GOM TÂM KHI ZOOM */
        display: block; 
        margin: 0 auto !important;
        max-width: 1650px; /* Khóa cái lồng lại ở đây */
    }

    /* Đảm bảo phần nền trắng của section vẫn tràn màn hình khi zoom out */
    /* Mày bao bọc section bằng một cái div khác hoặc dùng trick box-shadow */
    body {
        background-color: #fff; /* Để khi zoom out không bị lòi nền đen/xám */
    }

    
    .luot-header {
        padding: 0; 
        margin-bottom: 27px; 
    }

    .luot-header .sub-title {
        display: block;
        font-size: 11px;
        font-weight:300;
        color: #2b2929;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .luot-header .main-title {
        font-size: 29px;
        font-weight: 400;
        color: #1a1a1a;
        margin: 0;
        line-height: 1.2;
    }

    .container-luot {
        max-width: 100% !important;
        padding: 0; 
        margin: 0 auto;
    }
    
    .luot-viewport {
        margin-left: -60px; 
        padding-left: 60px; 
        
        overflow: visible;
        margin-right: -10px; 
    }
    
    .luot-track { 
        display: flex; 
        gap: 25px; 
        transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); 
    }
    .sanpham-card { flex: 0 0 calc(33.333% - 20px); }

    .sanpham-image { 
        position: relative; background-color: #f8f8f8; aspect-ratio: 7/8; 
        overflow: hidden; cursor: pointer;
    }
    .sanpham-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
    
    .quick-add-btn {
        position: absolute; bottom: 20px; left: 50%; transform: translate(-50%, 20px);
        background: #fff; padding: 12px 25px; border-radius: 50px;
        font-weight: 600; font-size: 13px; opacity: 0; transition: all 0.3s ease;
    }
    .sanpham-card:hover .quick-add-btn { opacity: 1; transform: translate(-50%, 0); }
    .sanpham-card:hover img { transform: scale(1.05); }

    .sanpham-info { padding: 7px 0; }
   
    .sanpham-info .name { font-size: 20px; margin: 10px 0; font-weight: 500; color: #1a1a1a; }
    .sanpham-info .desc { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 15px; }

   .luot-footer {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-top: -20px;
        padding: 0 !important; 
    }

    .luot-progress-container {
        flex-grow: 1;
        height: 1px;
        background-color: #e5e5e5 !important; /* Vạch xám nền - PHẢI CÓ CÁI NÀY MỚI THẤY LINE */
        margin-right: 60px;
        position: relative;
    }

    .luot-progress-bar {
        position: absolute;
        top: 0;
        left: 0;
        height: 3px;
        background-color: #000 !important;
        width: 50%; /* Mặc định 50% */
        transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .luot-nav {
        display: flex !important;
        gap: 15px !important;
        flex-shrink: 0; /* Không cho cụm nút bị co lại */
    }

    .nav-btn {
        border: 2px solid #eee !important;
        background: none;
        width: 55px;
        height: 55px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
    }
}





