.hethanghero {
    height: 93vh; 
    position: relative; 
    display: flex;
    align-items: flex-end; 
    padding: 0; 
    justify-content: center; 
    width: 100%;
}

.hethanghero-bg { position: absolute; inset: 0; z-index: -1; }
.hethanghero-bg img { width: 100%; height: 100%; object-fit: cover; }

.hethanghero-text { 
    color: #fff; 
    width: 100%;
    max-width: var(--container-max); /* Khóa chặt ở 1650px */
    margin: 0 auto; /* Ép vào giữa màn hình */
    padding: 0 var(--side-padding); /* Trả lại đúng 55px padding để chữ đứng đúng vị trí cũ */
    margin-bottom: 48px;
    z-index: 2;
    text-align: left; /* Đảm bảo chữ vẫn canh trái bên trong cái lồng 1650px */
}

.hethanghero-text h1
 { font-size: 60px; line-height: 1.1; margin-bottom: 40px; font-weight: 400; }
.hethanghero-text p { letter-spacing: 0px; font-size: 13px; margin-bottom: 35px; }
.mobile-only { 
    display: none !important; 
}
.mobile-menu-btn, .mobile-overlay { display: none; }



@media (max-width: 1024px) {
    .hethanghero {
        height: auto !important; 
        min-height: 120vw !important; 
        background-size: cover !important;
        background-position: center !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-end; 
        align-items: center;    
        text-align: center;
        padding: 0 20px;
        padding-bottom: 20px !important; 
        padding-left: 20px !important;
        padding-right: 20px !important;
        border-top: 1px solid #ffffff;
    }

   .hethanghero-text {
        padding: 0 !important; 
        margin: 0 auto !important;
        max-width: 100% !important; 
        width: 100% !important;
        
        /* Đảm bảo căn giữa tuyệt đối */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    .hethanghero-text h1 {
        font-size: 28px; 
        font-weight: 400;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hethanghero-text p {
        font-size: 12px;
        letter-spacing: 0px;
        margin-bottom: 0px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .hethanghero {
        min-height: 56vw !important;
    }
}













.vanthang1st-header {
    margin-bottom: 60px;
    max-width: 670px;
}

.vanthang1st-main-title {
    font-size: clamp(36px, 5vw, 50px);
    line-height: 1.4;
    margin-bottom: 30px;
    color: var(--black);
    font-family: var(--font-heading);
}

.vanthang1st-description {
    font-size: 13px;
    color: var(--black);
    max-width: 650px;
    line-height: 1.6;
}



/* Bóp nội dung chữ ở giữa (Tránh dàn trải 1650px) */
.vanthang1st-text-container {
    max-width: 670px;
    margin: 0 auto;
    padding: 30px 0;
}

.vanthang1st-eyebrow {
    display: block;
    font-size: 13px;
    line-height: 1.6;
    text-transform: none;
    color: var(--black); /* Hoặc màu gold nhẹ */
    margin-bottom: 100px;
}

.vanthang1st-title {
    font-size: clamp(24px, 3.5vw, 30px); /* Kích thước vừa phải, không quá to */
    line-height: 1.2;
    font-weight: normal;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.vanthang1st-text-container p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--black);
}


.vanthang1st-single-image {
    width: 100vw; 
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw; /* Chiêu này giúp phá vỡ giới hạn của container cha */
    
    margin-top: 60px; /* Giữ margin trên dưới 60px như mày yêu cầu */
    margin-bottom: 60px;
    display: block; 
    overflow: hidden; 
    background-color: var(--gray);
}

.vanthang1st-single-image img {
    width: 100%; 
    height: 100%; /* Lấp đầy 93vh của thẻ cha */
    aspect-ratio: 16 / 8;
    display: block; 
    object-fit: cover; 
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1); 
    cursor: zoom-in;
}




.vanthang1st-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px; 
    
    width: 100%;
    max-width: 1120px; 
    margin: 60px auto !important; 
}

.vanthang1st-gallery-item {
    aspect-ratio: 1 / 1.2; 
    overflow: hidden;
    background-color: var(--gray);
}

.vanthang1st-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.vanthang1st-photography-credit {
    font-style: italic;
    color: var(--color-text-muted);
    margin-top: 40px;
    font-size: 14px;
}


@media (max-width: 1024px) {
    .casa-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .section-space {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }


    .vanthang1st-single-image {
        padding: 0; 
        margin: 20px 0;
        margin-top: -5px;
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
}

    .vanthang1st-single-image img {
    width: 100%; 
    height: auto; 
    aspect-ratio: 4/3;
}
    .vanthang1st-gallery-grid {
        grid-template-columns: repeat(4, 1fr); 
        gap: 15px; 
    }
    
    .vanthang1st-main-title {
        font-size: 48px;
    }

    /* Để chữ không bị bó quá hẹp trên màn hình nhỏ */
    .vanthang1st-text-container {
        max-width: 100%; 
        padding: 20px 0;
    }
}

/* 2. Màn Mobile (Dưới 768px): Biến hình Gallery 2x2 */
@media (max-width: 768px) {
    .vanthang1st-main-title {
        font-size: 36px; 
        margin-bottom: 20px;
    }

    .vanthang1st-gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 hình trên, 2 hình dưới đúng mẫu */
        gap: 5px;
        margin: 20px 0 !important;
        margin-top: 0px !important;

    }


    .vanthang1st-gallery-item {
        aspect-ratio: 1 / 1.8; /* Tỉ lệ vuông vắn hơn cho mobile */
    }
}







/* --- 1. PHẦN INTRO (CĂN GIỮ 720PX) --- */
.normalline-info {
    width: 100%;
    margin: 40px auto;
    padding: 80px var(--side-padding) 10px;
    box-sizing: border-box;
    text-align: center;
}

.normalline-container {
    max-width: 720px;
    margin: 0 auto;
}

.normalline-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1a1a1a;
    text-transform: none;
    margin-bottom: 25px;
}

.normalline-description p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-black);
    margin-bottom: 20px;
    font-weight: 400;
}

/* --- 2. PHẦN SPECIFICATIONS (COLLAGE) --- */
.normalline-specifications {
    max-width: var(--container-max); 
    margin: 40px auto; 
    padding: 0;
    box-sizing: border-box;
}

.normalline-spec-inner {
    display: flex;
    align-items: stretch;
    gap: 60px;
}

.spec-visual {
    flex: 1.2;
    display: flex;
}

.normalline-technical-collage {
    width: 100%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.collage-item {
    overflow: hidden;
    background: transparent;
}

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

.collage-item-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.collage-item-square-top {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.collage-item-square-bottom {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.collage-item-square img {
    object-fit: contain; 
    padding: 0;
}

.spec-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
}

.spec-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.spec-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-black);
    margin-bottom: 30px;
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #eee;
}

.spec-list li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0; 
    border-bottom: 1px solid #eee;
}

.spec-label {
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.spec-value {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
}

/* --- 3. RESPONSIVE CHUNG CHO CẢ 2 PHẦN (LỀ 20PX) --- */
@media (max-width: 1024px) {
    /* Ép tất cả section cha vào lề 20px */
    .normalline-info,
    .normalline-specifications {
        margin: 40px auto;
        padding: 0;
    }

    /* Chỉnh riêng padding top cho phần Info trên mobile */
    .normalline-info {
        padding-top: 40px !important;
        padding-bottom: 10px !important;
    }

    .normalline-title {
        font-size: 13px;
    }

    .normalline-description p {
        font-size: 12px;
        line-height: 1.6;
    }

    /* Chỉnh Layout Spec rớt dòng */
    .normalline-spec-inner {
        flex-direction: column;
        gap: 30px;
    }

    /* Ép khung ảnh hiển thị cân đối trên mobile */
    .spec-visual {
        height: auto;
        aspect-ratio: 4/3;
    }

    /* Để text bám sát lề 20px của cha, không thụt thêm padding */
    .spec-content {
        font-size: 12px;
        line-height: 1.6;
        padding: 0;
    }
}




























@media (min-width: 769px) {
    .sanpham-gallery {
       
        padding: 80px 55px; 
        background-color: #fff;
        overflow: hidden;
        
        
        display: block; 
        margin: 0 auto !important;
        max-width: 1650px; 
    }

    
    body {
        background-color: #fff;
    }

    
    .luot-header {
        padding: 0; 
        margin-bottom: 27px; 
    }

    .luot-header .sub-title {
        display: block;
        font-size: 11px;
        font-weight: 200;
        color: #2b2929;
        margin-bottom: 30px !important;
        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: 13px !important; color: var(--color-text-muted); 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;
        margin-right: 60px;
        position: relative;
    }

    .luot-progress-bar {
        position: absolute;
        top: 0;
        left: 0;
        height: 3px;
        background-color: #000 !important;
        width: 50%; 
        transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .luot-nav {
        display: flex !important;
        gap: 15px !important;
        flex-shrink: 0; 
    }

    .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;
    }
}