.showroomhero {
    height: 93vh; 
    position: relative; 
    display: flex;
    align-items: flex-end; 
    /* Thay đổi quan trọng: Bỏ padding cố định, dùng flex để căn giữa khối nội dung */
    padding: 0; 
    justify-content: center; 
    width: 100%;
}

.showroomhero-bg { position: absolute; inset: 0; z-index: -1; }

.showroomhero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2; /* Nằm trên ảnh */
    pointer-events: none;
}

.showroomhero-bg img { width: 100%; height: 100%; object-fit: cover; }


.showroomhero-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 */
}


.showroomhero-text h1 { font-size: 60px; line-height: 1.1; margin-bottom: 40px; font-weight: 400; }

.showroomhero-text p { letter-spacing: 0px; font-size: 15px; margin-bottom: 35px; }

.mobile-only { 
    display: none !important; 
}

/* Mặc định trên Desktop: Giấu nút Mobile */
.mobile-menu-btn, .mobile-overlay { display: none; }



@media (max-width: 1024px) {
    .showroomhero {
        /* 1. Xóa bỏ chiều cao 75vh cũ */
        height: auto !important; 
        
        /* 2. Dùng min-height theo % chiều ngang màn hình (tương đương tỉ lệ 4:5) */
        /* Cách này giúp nó co giãn thông minh mà không bị ép cứng như aspect-ratio */
        min-height: 120vw !important; 
        
        /* 3. Đảm bảo ảnh nền luôn lấp đầy cái khung mới này */
        background-size: cover !important;
        background-position: center !important;

        /* GIỮ NGUYÊN TOÀN BỘ CẤU TRÚC CỦA MÀY */
        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;
    }

    .showroomhero-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; /* Khoảng cách so với đáy section 20px */
    }

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

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


/* TABLET: Dàn ngang ra tối ưu */
@media (min-width: 768px) and (max-width: 1024px) {
    .showroomhero {
        min-height: 56vw !important; /* Tỉ lệ ngang cho Tablet [cite: 2026-02-07] */
    }
}





/* 1. SỬA LẠI LỀ SECTION (Đồng bộ Hero nhưng thoáng hơn) */
.section-space-custom {
    padding-top: calc(var(--section-gap) + 40px) !important; /* Lề trên rộng hơn Hero 1 chút */
    padding-bottom: calc(var(--section-gap) - 40px) !important; /* Lề dưới bóp gọn lại */
}

/* 2. THANH SEARCH & KHOẢNG CÁCH GẠCH ĐỎ [cite: 2025-12-29] */
.stockist-search-area {
    width: 100%;
    margin-bottom: 15px !important; /* Bóp chặt khoảng cách gạch đỏ [cite: 2025-12-29] */
}

.search-flex-container {
    display: flex;
    width: 100%;
    height: 42px; 
    gap: 10px; /* ĐÂY NÈ: Tạo khoảng hở giữa ô input và nút đen [cite: 2025-12-29] */
}

/* Ô INPUT: Trắng, viền mảnh */
.search-input-wrapper {
    flex: 1;
    border: 1px solid #e0e0e0;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.search-input-wrapper input {
    width: 100%;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 13px;
    color: #333;
}

.search-input-wrapper input::placeholder {
    color: #ccc;
}

.btn-search-black-v2 {
    width: 42px; 
    height: 42px;
    background: var(--black); 
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    
    /* BO CẠNH NHẸ: 2px hoặc 3px là con số "vàng" cho xì-tai này [cite: 2026-02-04] */
    border-radius: 3px; 
    
    transition: all 0.2s ease;
}
.btn-search-black-v2:hover {
    opacity: 0.8;
}

/* CSS bổ sung để đảm bảo lề Search thẳng với lề Hero [cite: 2025-12-29] */
.casa-container .stockist-search-area {
    padding: 0; /* Để nó dài hết cỡ theo container [cite: 2025-12-29] */
}

/* 3. THÂN MÁY: ĐƯỜNG DOTTED MẢNH [cite: 2025-12-29] */
.stockist-main-body {
    display: flex;
    border: 1px dotted var(--color-bar);
    height: 38em; /* Tỉ lệ zoom co giãn theo font */
}

.stockist-sidebar {
    width: 340px; /* Thu hẹp lại để Map rộng hơn */
    border-right: 1px dotted var(--color-bar);
    padding: 35px 25px;
    overflow-y: auto;
}

/* 4. CỤM TEXT BÊN TRÁI: NHỎ - NGẮN - SANG [cite: 2025-12-29] */
.stockist-item {
    display: flex;
    gap: 12px;
}

.store-pin-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.distance-tag {
    font-size: 10px;
    font-weight: 700;
    margin-top: 5px;
}

.stockist-info-box {
    max-width: 190px; /* ÉP ĐỘ DÀI CỤM TEXT NGẮN LẠI ĐỂ XUỐNG DÒNG ĐẸP [cite: 2025-12-29] */
}

.store-name {
    font-size: 13px !important; /* TEXT NHỎ LẠI CHO SANG [cite: 2025-12-29] */
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.address-text, .contact-info p, .contact-info a {
    font-size: 11.5px !important; /* Text cực nhỏ và tinh tế kiểu QUOC [cite: 2025-12-29] */
    line-height: 1.6;
    color: var(--color-text-main);
    text-decoration: none;
    margin-bottom: 2px;
    display: block;
}

.contact-info {
    margin-top: 20px; /* Khoảng cách thoáng giữa địa chỉ và phone [cite: 2025-12-29] */
}

.phone-number {
    font-weight: 500;
    margin-bottom: 5px;
}

/* 5. MAP VIEW */
.stockist-map {
    flex: 1;
    filter: grayscale(1) opacity(0.8);
}





@media (max-width: 768px) {
    .section-space-custom {
        padding-top: 40px !important; 
        padding-bottom: 40px !important; 
        padding-left: var(--side-padding-mobile) !important; 
        padding-right: var(--side-padding-mobile) !important;
    }

    /* 2. XOAY DỌC BODY [cite: 2025-12-29] */
    .stockist-main-body {
        flex-direction: column;
        height: auto; 
        border: none;
    }

    .stockist-map {
        order: 1;
        width: 100%;
        aspect-ratio: 1 / 1 !important; 
        height: auto !important; 
        margin-bottom: 15px;
    }

    .stockist-sidebar {
        order: 2; /* List Store nằm dưới */
        width: 100%;
        padding: 20px 0; /* Bỏ padding ngang vì đã có container lo */
        border-right: none;
        border-top: 1px dotted var(--color-bar); /* Ngăn cách với Map bằng đường dotted */
    }

    /* 4. CHỈNH LẠI CỤM TEXT CHO MOBILE [cite: 2025-12-29] */
    .stockist-info-box {
        max-width: 100%; /* Trên mobile cho text tràn ra hết chiều ngang cho dễ đọc [cite: 2025-12-29] */
    }

    .store-name {
        font-size: 15px !important; /* Mobile chữ to hơn tí cho dễ bấm [cite: 2025-12-29] */
    }

    .address-text, .contact-info p, .contact-info a {
        font-size: 13px !important;
        line-height: 1.5;
    }

    /* 5. THANH SEARCH TRÊN MOBILE [cite: 2025-12-29] */
    .stockist-search-area {
        margin-bottom: 15px !important; /* Khoảng cách vừa phải với Map [cite: 2025-12-29] */
    }
    
    .search-flex-container {
        height: 45px; /* Làm to hơn tí cho ngón tay dễ chạm [cite: 2025-12-29] */
    }
}























/* --- FEATURES BAR --- */
.features-bar {
        margin-top: 80px;
        padding: 80px 0 !important; 
        background-color: #f6f6f6;
        border-top: 1px solid #f6f6f6;
        width: 100%;
        display: flex;
        justify-content: center; /* Đẩy cái container vào giữa */
    }


.features-bar .container {
        /* [MỎ NEO] Khóa chặt khung xương 1650px */
        width: 100% !important;
        max-width: var(--container-max) !important; 
        margin: 0 auto !important;
        /* Padding trái phải 55px để icon ngoài cùng không bị chạm mép 1650px */
        padding: 0 var(--side-padding) !important;
        box-sizing: border-box;
    }
    

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cột đều nhau */
    gap: 40px;
    max-width: 100%; /* Giới hạn chiều rộng để không bị loãng */
    margin: 0 auto; /* Căn giữa màn hình */
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
}

.features-dots {
    display: none; /* Desktop vẫn ẩn */
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px 0; /* Tạo khoảng cách với vùng lướt */
    width: 100%;
    position: relative;
    z-index: 10;
}

/* Style cho Icon SVG */
.feature-icon {
    margin-bottom: 20px;
    color: #000;
}
.feature-icon svg {
    width: 32px;  /* Kích thước icon giống QUOC (nhỏ gọn) */
    height: 32px;
}

/* Tiêu đề mục */
.feature-item h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin: 0 0 10px 0;
    text-transform: none;
    letter-spacing: 1px;
}

/* Link bên dưới */
.feature-item a {
    font-family: 'Barlow', sans-serif; /* Font thường cho dễ đọc */
    font-size: 13px;
    color: #555;
    text-decoration: underline; /* Gạch chân giống QUOC */
    text-underline-offset: 4px; /* Gạch chân cách chữ ra một chút cho đẹp */
    transition: 0.3s;
}

.feature-item a:hover {
    color: #000; /* Rê chuột vào đen đậm lên */
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .features-bar {
        margin-top: 80px;
        padding: 40px 0; /* Giữ khoảng cách trên dưới vừa phải */
        overflow: hidden; /* Tránh bị tràn trang */
    }

    .features-grid {
        display: flex; /* Chuyển từ Grid sang Flex để các mục nằm trên 1 hàng ngang */
        overflow-x: auto; /* Cho phép cuộn ngang */
        scroll-snap-type: x mandatory; /* Hiệu ứng "hít" vào giữa mỗi mục khi lướt */
        gap: 0; /* Xóa khoảng cách grid */
        padding-bottom: 20px; /* Chừa chỗ cho thanh cuộn (nếu có) */
        
        /* Ẩn thanh cuộn (scrollbar) để nhìn cho sạch */
        -ms-overflow-style: none;  /* IE/Edge */
        scrollbar-width: none;  /* Firefox */
        -webkit-overflow-scrolling: touch; /* Giúp lướt trên iPhone mượt hơn */
    }

    /* Ẩn thanh cuộn trên Chrome/Safari */
    .features-grid::-webkit-scrollbar {
        display: none;
    }

    .feature-item {
        flex: 0 0 100%; /* Quan trọng: Mỗi mục chiếm đúng 100% chiều rộng màn hình */
        scroll-snap-align: center; 
        scroll-snap-stop: always;
        padding: 0 30px; 
        box-sizing: border-box;
    }

    .feature-icon svg {
        width: 28px; /* Cho icon nhỏ lại một chút trên mobile */
        height: 28px;
    }


    .features-dots {
        display: flex !important; 
    }

    .dot {
        width: 7px; /* To lên một chút cho dễ thấy */
        height: 7px;
        border-radius: 50%;
        background-color: #817c7c; /* Màu xám nhạt */
        display: block;
        transition: all 0.3s ease;
    }

    .dot.active {
        background-color: #000; /* Chấm đang chọn màu đen */
        transform: scale(1.3);
    }
}







/*=========================
FAQ
=========================*/
.faq-wrapper {
    margin-top: 80px;
    width: 100%;
    padding: var(--section-gap);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    margin-bottom: -60px;
}

.faq-title {
    font-size: 32px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: none;
}

.faq-content-block {
    background-color: #f4f4f4;
    width: 100%;
    max-width: 840px;
    padding: 15px 50px 30px 50px;
    box-sizing: border-box;
}

.faq-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 22px 0;
}

.faq-item {
    border-bottom: 1px solid var(--color-bar, #e0e0e0);
    transition: background-color 0.3s ease;
}

.faq-content-block > .faq-item:nth-child(4) {
    border-bottom: 1px solid var(--color-bar, #e0e0e0);
}

.faq-more-inner > .faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 13px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.4;
    max-width: 93%;
}

.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.faq-answer-content {
    min-height: 0;
    max-width: 90%;
}

.faq-answer-content p {
    font-size: 12px;
    color: #000000;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    padding-bottom: 20px; 
}

.faq-item.active .faq-answer-wrapper {
    grid-template-rows: 1fr;
}

.ed-faq-icon-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    background-color: #e0e0e0;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.faq-header-row:hover .ed-faq-icon-btn {
    background-color: var(--color-dark, #000000);
}

.faq-header-row:hover .ed-faq-chevron {
    stroke: #ffffff;
}

.faq-item.active .ed-faq-chevron {
    transform: rotate(180deg);
}

.ed-faq-chevron {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 11px;
    height: 11px;
    stroke: currentColor;
    fill: none;
    stroke-width: 3;
}

.faq-inline-link {
    color: #000000;
    text-decoration: none;
    position: relative;
    display: inline-block;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-inline-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 1px;
    width: 100%;
    height: 1px;
    background-color: #000000;
    transform-origin: left center;
    transform: scaleX(1);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-inline-link:hover::after {
    transform: scaleX(0);
}

.faq-more-container {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.faq-more-container.is-expanded {
    grid-template-rows: 1fr;
}

.faq-more-inner {
    min-height: 0;
    overflow: hidden;
}

.faq-actions-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 10px;
}

.faq-load-more-btn {
    background-color: #e0e0e0;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.faq-load-more-btn:hover {
    background-color: var(--color-dark, #000000);
}

.faq-load-more-btn:hover .faq-double-chevron {
    stroke: #ffffff;
}

.faq-double-chevron {
    width: 14px;
    height: 14px;
    stroke: #1a1a1a;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.3s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-load-more-btn.is-active .faq-double-chevron {
    transform: rotate(180deg);
}

@media (max-width: 1024px) {
    .faq-inline-link:hover::after {
        display: none;
    }
    
    .faq-wrapper {
        padding: 0px 20px 40px;
    }

    .faq-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .faq-content-block {
        max-width: 100%;
        padding: 5px 20px 20px 20px;
        background-color: #f4f4f4;
    }

    .faq-header-row {
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        flex-direction: row !important;
    }

    .faq-item {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    .faq-question {
        font-size: 14px;
        letter-spacing: -0.01em;
        padding-right: 15px;
    }

    .faq-answer-content {
        width: 100% !important;
        display: block !important;
    }

    .faq-answer-content p {
        font-size: 12px;
        line-height: 1.4;
        padding-bottom: 15px;
    }

    .ed-faq-icon-btn {
        width: 28px;
        height: 28px;
    }

    .ed-faq-chevron {
        width: 12px;
        height: 12px;
    }

    .faq-actions-wrapper {
        padding-top: 20px;
        padding-bottom: 10px;
    }

    .faq-load-more-btn {
        width: 32px;
        height: 32px;
    }

    .faq-double-chevron {
        width: 13px;
        height: 13px;
    }
}

@media (max-width: 480px) {
    .faq-title {
        font-size: 24px;
    }
    
    .faq-question {
        font-size: 13px;
    }
}







/*=================
NÚT HỎI CASA
=================*/
/* WRAPPER CĂN PHẢI THẲNG HÀNG VỚI MÉP BẢNG FAQ */
.faq-ask-trigger-wrapper {
    display: flex;
    justify-content: center; 
    width: 100%;
    max-width: 840px;
    margin: 40px auto 0 auto;
    box-sizing: border-box;
}

/* NÚT HỎI CASA BO TRÒN + CHỮ THƯỜNG */
.faq-ask-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background-color: transparent;
    border: 1px solid #1a1a1a;
    border-radius: 50px; 
    color: #1a1a1a;
    text-transform: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-ask-btn .faq-ask-arrow {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    transition: transform 0.3s ease;
}

.faq-ask-btn:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

.faq-ask-btn:hover .faq-ask-arrow {
    transform: translateX(4px);
}










/* ==========================================================================
   ASKCASA POPUP MODAL STYLES (TRỌN BỘ - DESKTOP + MOBILE 767PX)
   ========================================================================== */

/* 1. LỚP NỀN TỐI (OVERLAY DESKTOP) */
.askcasa-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.askcasa-modal-overlay.is-open,
.askcasa-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 2. KHUNG THẺ NỀN TRẮNG (CARD DESKTOP) */
.askcasa-modal-card {
    position: relative;
    width: 100%;
    max-width: 580px;
    background-color: #ffffff !important;
    padding: 30px;
    border-radius: 0 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}

.askcasa-modal-overlay.is-open .askcasa-modal-card,
.askcasa-modal-overlay.is-active .askcasa-modal-card {
    transform: translateY(0);
}

/* 3. NÚT ĐÓNG (X) */
.askcasa-modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #666666;
    transition: color 0.2s ease;
}

.askcasa-modal-close-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.askcasa-modal-close-btn:hover {
    color: #000000;
}

/* 4. HEADER MODAL */
.askcasa-modal-header {
    margin-bottom: 38px;
    text-align: left;
}

.askcasa-modal-title {
    font-size: 3rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.askcasa-modal-subtitle {
    font-size: 0.85rem;
    color: #666666;
    margin: 0;
    line-height: 1.4;
}

/* 5. INPUT & FLOATING LABEL */
.askcasa-modal-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.askcasa-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.askcasa-form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}


.askcasa-form-submit-wrapper {
    margin: 20px 0 60px;
}


.askcasa-form-input {
    width: 100%;
    height: 36px;
    line-height: 36px;
    padding: 0;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    font-size: 0.85rem;
    color: #1a1a1a;
    outline: none;
    border-radius: 0;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.askcasa-form-textarea {
    width: 100%;
    padding: 0;
    margin-top: -15px;
    line-height: 2.2;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    font-size: 0.85rem;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    resize: vertical;
}

.askcasa-form-input:focus,
.askcasa-form-textarea:focus {
    border-bottom-color: #1a1a1a;
}

.askcasa-form-label {
    position: absolute;
    top: 0;
    left: 0;
    height: 36px;
    line-height: 36px;
    font-size: 0.85rem;
    color: #888888;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    opacity: 1;
    visibility: visible;
}

.askcasa-form-textarea ~ .askcasa-form-label {
    top: -15px;
    height: auto;
    line-height: 2.2;
}

.askcasa-form-input:not(:placeholder-shown) ~ .askcasa-form-label,
.askcasa-form-textarea:not(:placeholder-shown) ~ .askcasa-form-label {
    opacity: 0;
    visibility: hidden;
}

/* 6. CHECKBOX CUSTOM */
.askcasa-form-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.askcasa-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.askcasa-checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.askcasa-checkbox-custom {
    width: 16px;
    height: 16px;
    border: 1px solid #888888;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
}

.askcasa-checkbox-input:checked ~ .askcasa-checkbox-custom {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
}

.askcasa-checkbox-input:checked ~ .askcasa-checkbox-custom::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.askcasa-checkbox-text {
    font-size: 0.78rem;
    color: #555555;
    line-height: 1.4;
}

/* 7. NÚT SUBMIT */
.askcasa-submit-btn {
    width: auto; 
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 16px 35px !important;
    background-color: var(--color-bg-dark, #111);
    color: #ffffff;
    border: 2px solid var(--color-bg-dark, #111) !important;
    border-radius: 100px !important;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-decoration: none !important; 
    transition: all 0.2s ease;
}

.askcasa-submit-btn:hover {
    background: var(--white, #fff);
    color: #000000;  
}

/* ==========================================================================
   RESPONSIVE MOBILE (< 767PX) - CHUẨN ĐÉT SAMPLE BOX
   ========================================================================== */

@media (max-width: 767px) {
    .askcasa-modal-overlay {
        position: fixed !important;
        top: 8px !important;
        right: 8px !important;
        bottom: 8px !important;
        left: 8px !important;
        inset: 8px !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        display: flex !important;
        align-items: stretch !important;
        justify-content: stretch !important;
        z-index: 100000 !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        padding: 0 !important;
    }

    .askcasa-modal-overlay.is-active,
    .askcasa-modal-overlay.is-open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        box-shadow: 0 0 0 2000px rgba(0, 0, 0, 0.5) !important;
    }

    .askcasa-modal-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        background: #ffffff !important;
        padding: 32px 20px 40px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        border-radius: 0 !important;
        box-sizing: border-box !important;

        overflow-y: auto !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .askcasa-modal-card::-webkit-scrollbar {
        display: none !important;
    }

    .askcasa-modal-card .askcasa-modal-close-btn {
        position: absolute !important;
        top: 24px !important;
        right: 20px !important;
        z-index: 10 !important;
    }

    .askcasa-form-grid {
        grid-template-columns: 1fr !important;
    }
}

