/* ====================================================
   HEADER QUÀ TẾT ĐẠI CÁT
   ==================================================== */

:root {
    --header-bg: #fbf6ee;
    --header-sticky-bg: rgba(252, 248, 243, 0.98);
    --header-border: #ebd9c8;
    --header-primary: #a80402;
    --header-primary-hover: #9c1b1e;
    --header-gold: #c99f66;
    --header-gold-border: #d4a754;
    --header-text: #222222;
    --header-height: 82px;
}

.site-header {
    width: 100%;
    position: relative;
    z-index: 999;
    background-color: var(--header-bg);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(212, 167, 84, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(123, 19, 21, 0.05) 0%, transparent 45%);
    border-bottom: 1px solid var(--header-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sticky Header */
.site-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--header-sticky-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(70, 20, 10, 0.08);
    border-bottom-color: rgba(212, 167, 84, 0.3);
    animation: headerSlideDown 0.35s ease;
}

@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.header-navbar {
    width: 100%;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-height);
    position: relative;
}

/* ====================================================
   1. LOGO
   ==================================================== */
.header-logo-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    position: relative;
    position: relative;
    /* aspect-ratio: 679 / 166;
    background-image: url('/assets/frontend/images/bg-logo-daicat.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    padding-left: 12px;
    border-radius: 6px 0 0 6px;
    box-sizing: border-box;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.25s ease; */
}


.header-logo .bg-logo {
    position: absolute;
    top: -15px;
    left: -10px;
    width: 410px;
    max-width: unset;
}

/* .header-logo:hover {
    transform: scale(1.02);
} */

.header-logo-img {
    height: 56px;
    width: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.site-header.is-sticky .header-logo {
    height: 60px;
    padding-left: 10px;
}

.site-header.is-sticky .header-logo-img {
    /* height: 46px; */
}

/* ====================================================
   2. MENU NAVIGATION (DESKTOP)
   ==================================================== */
.header-nav {
    display: flex;
    align-items: center;
    justify-content: right;
    flex: 1;
}

.nav-drawer-header,
.nav-drawer-footer {
    display: none;
    /* Chỉ hiện trên mobile */
}

.header-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 28px;
}

.menu-item {
    position: relative;
}

.menu-item-head {
    display: flex;
    align-items: center;
    gap: 4px;
}

.menu-link {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 700;
    color: var(--header-text);
    text-decoration: none;
    padding: 28px 0;
    display: inline-flex;
    align-items: center;
    transition: color 0.25s ease;
    white-space: nowrap;
    position: relative;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--header-primary);
    transition: width 0.25s ease;
    border-radius: 2px;
}

.menu-link:hover,
.menu-item:hover>.menu-item-head .menu-link {
    color: var(--header-primary);
    text-decoration: none;
}

.menu-link:hover::after,
.menu-item:hover>.menu-item-head .menu-link::after {
    width: 100%;
}

.menu-toggle-btn {
    display: none;
    /* Chỉ dùng trên mobile */
    background: transparent;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: inherit;
}

/* Hiển thị icon mũi tên SVG cho menu cấp 1 trên desktop khi hover */
.menu-item.has-dropdown>.menu-item-head::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #666666;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
    margin-left: 2px;
    transition: transform 0.25s ease, background-color 0.25s ease;
    flex-shrink: 0;
}

.menu-item.has-dropdown:hover>.menu-item-head::after {
    transform: rotate(180deg);
    background-color: var(--header-primary);
}

/* ----------------------------------------------------
   DROPDOWN MENU (CẤP 2)
   ---------------------------------------------------- */
.dropdown-menu.level-2 {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    max-width: 350px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(123, 19, 21, 0.12), 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--header-border);
    border-top: 3px solid var(--header-primary);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1001;
}

.menu-item:hover>.dropdown-menu.level-2 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    position: relative;
}

.dropdown-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-link:hover,
.dropdown-item:hover>.dropdown-item-head .dropdown-link {
    background: #fdf6ee;
    color: var(--header-primary);
    padding-left: 24px;
    text-decoration: none;
}

.sub-toggle-btn {
    display: none;
    /* Chỉ dùng trên mobile */
    background: transparent;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: inherit;
}

.dropdown-item.has-sub-dropdown>.dropdown-item-head::after {
    content: '';
    position: absolute;
    right: 18px;
    width: 6px;
    height: 6px;
    border-right: 1.8px solid #999;
    border-top: 1.8px solid #999;
    transform: rotate(45deg);
    pointer-events: none;
    transition: transform 0.2s, border-color 0.2s;
}

.dropdown-item.has-sub-dropdown:hover>.dropdown-item-head::after {
    border-color: var(--header-primary);
    transform: rotate(45deg) translate(2px, -2px);
}

/* ----------------------------------------------------
   SUB-DROPDOWN MENU (CẤP 3)
   ---------------------------------------------------- */
.sub-dropdown-menu.level-3 {
    position: absolute;
    top: -8px;
    left: 100%;
    min-width: 270px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(123, 19, 21, 0.15), 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--header-border);
    border-top: 3px solid var(--header-primary);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1002;
}

.dropdown-item:hover>.sub-dropdown-menu.level-3 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sub-item {
    position: relative;
}

.sub-link {
    display: block;
    padding: 10px 20px;
    font-size: 13.5px;
    font-weight: 500;
    color: #444444;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sub-link:hover {
    background: #fdf6ee;
    color: var(--header-primary);
    padding-left: 24px;
    font-weight: 600;
    text-decoration: none;
}

/* ====================================================
   3. CỤM NÚT LIÊN HỆ BÊN PHẢI (DESKTOP)
   ==================================================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

/* Nút Gọi Hotline */
.header-btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 18px;
    border-radius: 50px;
    border: 1.5px solid var(--header-gold-border);
    background: #ffffff;
    color: var(--header-primary);
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(212, 167, 84, 0.15);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.header-btn-phone:hover {
    background: #fffdfa;
    border-color: var(--header-primary);
    color: var(--header-primary);
    box-shadow: 0 4px 12px rgba(123, 19, 21, 0.14);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-phone-icon {
    /* color: var(--header-gold); */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.header-btn-phone:hover .btn-phone-icon {
    transform: scale(1.15) rotate(-10deg);
}

.btn-phone-text {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--header-primary);
}

/* Nút Tư Vấn Zalo */
.header-btn-zalo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 50px;
    background: linear-gradient(135deg, #8c1618 0%, #680f11 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(123, 19, 21, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.header-btn-zalo:hover {
    background: linear-gradient(135deg, #9c1b1e 0%, #a80402 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(123, 19, 21, 0.45);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-zalo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-zalo-text {
    color: #ffffff;
    letter-spacing: 0.1px;
}

/* Nút Giỏ Hàng */
.header-btn-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    /* border: 1.5px solid var(--header-gold-border); */
    /* background: #ffffff; */
    color: var(--header-primary);
    text-decoration: none;
    /* box-shadow: 0 2px 6px rgba(212, 167, 84, 0.15); */
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.header-btn-cart:hover {
    /* background: #fffdfa; */
    /* border-color: var(--header-primary); */
    /* color: var(--header-primary); */
    /* box-shadow: 0 4px 12px rgba(123, 19, 21, 0.14); */
    /* transform: translateY(-2px); */
    /* text-decoration: none; */
}

.btn-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--header-primary);
    transition: transform 0.25s ease;
}

.header-btn-cart:hover .btn-cart-icon {
    transform: scale(1.12);
}

.header-btn-cart .cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #a80402;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    min-width: 19px;
    height: 19px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 6px rgba(168, 4, 2, 0.35);
    border: 2px solid #ffffff;
    line-height: 1;
}

/* Hamburger button (chỉ hiện mobile/tablet) */
.header-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 40px;
    padding: 10px 8px;
    /* background: #ffffff; */
    /* border: 1px solid var(--header-border); */
    /* border-radius: 8px; */
    cursor: pointer;
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04); */
    transition: all 0.2s ease;
}

.header-hamburger:hover {
    /* background: #fdf6ee; */
    /* border-color: var(--header-primary); */
}

.hamburger-bar {
    width: 100%;
    height: 2.2px;
    background-color: var(--header-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ====================================================
   4. RESPONSIVE BREAKPOINTS
   ==================================================== */

/* Laptop / Màn hình nhỏ hơn 1200px */
@media (max-width: 1199px) {
    .header-inner {
        gap: 16px;
    }

    .header-menu {
        gap: 18px;
    }

    .menu-link {
        font-size: 14.5px;
        padding: 24px 0;
    }

    .header-btn-phone {
        padding: 7px 14px;
    }

    .btn-phone-text {
        font-size: 14px;
    }

    .header-btn-zalo {
        padding: 8px 16px;
        font-size: 13.5px;
    }
}

/* Tablet & Mobile (max-width: 1024px) */
@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }

    .header-logo {
        height: 56px;
        padding-left: 10px;
    }

    .header-logo-img {
        height: 44px;
    }

    .site-header.is-sticky .header-logo {
        height: 48px;
        padding-left: 8px;
    }

    .site-header.is-sticky .header-logo-img {
        height: 38px;
    }

    .header-hamburger {
        display: flex;
    }

    .header-btn-zalo {
        display: none;
        /* Ẩn nút Zalo trên header mobile để tránh chật chội, đưa vào drawer */
    }

    /* ------------------------------------------------
       CHUYỂN MENU THÀNH OFFCANVAS DRAWER TRÊN MOBILE
       ------------------------------------------------ */
    .header-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: #ffffff;
        box-shadow: 6px 0 25px rgba(0, 0, 0, 0.18);
        z-index: 1200;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        transform: translateX(-105%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        overflow-x: hidden;
    }

    .header-nav.is-open {
        transform: translateX(0);
    }

    /* Drawer Header */
    .nav-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        background: #fdf8f3;
        border-bottom: 1px solid var(--header-border);
        flex-shrink: 0;
    }

    .nav-drawer-brand {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .drawer-logo-img {
        height: 48px;
        width: auto;
        object-fit: contain;
    }

    .drawer-brand-info {
        display: flex;
        flex-direction: column;
    }

    .drawer-brand-name {
        font-family: var(--font-family2);
        font-size: 16px;
        font-weight: 700;
        color: var(--header-primary);
        line-height: 1.2;
    }

    .drawer-brand-tagline {
        font-size: 12px;
        color: #777;
    }

    .nav-drawer-close {
        background: transparent;
        border: none;
        color: #555;
        cursor: pointer;
        padding: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        transition: all 0.2s ease;
    }

    .nav-drawer-close:hover {
        background: #f0e6dc;
        color: var(--header-primary);
    }

    /* Menu List Mobile */
    .header-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 0;
        flex: 1;
    }

    .menu-item {
        border-bottom: 1px solid #f2ede7;
    }

    .menu-item-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
    }

    .menu-item.has-dropdown>.menu-item-head::after {
        display: none;
        /* Ẩn pseudo icon trên mobile */
    }

    .menu-link {
        padding: 13px 0;
        font-size: 15px;
        font-weight: 600;
        color: #1e1e1e;
        flex: 1;
    }

    .menu-link::after {
        display: none;
    }

    .menu-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        color: #666;
        border-radius: 6px;
        transition: transform 0.25s ease, color 0.25s ease;
    }

    .menu-toggle-btn.is-open {
        transform: rotate(180deg);
        color: var(--header-primary);
    }

    /* Dropdown Cấp 2 Mobile (Accordion) */
    .dropdown-menu.level-2 {
        position: static;
        width: 100%;
        min-width: 0;
        box-shadow: none;
        border: none;
        max-width: 100%;
        border-radius: 0;
        border-top: none;
        background: #fbf8f5;
        padding: 6px 0 6px 32px;
        list-style: disc outside;
        list-style-type: disc;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        /* Điều khiển đóng mở bằng JS slideToggle */
    }

    .dropdown-item {
        display: list-item;
        list-style: disc;
        list-style-type: disc;
        border-bottom: 1px dashed #eee3d7;
    }

    .dropdown-item::marker {
        color: var(--header-primary);
        font-size: 12px;
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-item-head {
        padding: 0 16px 0 6px;
    }

    .dropdown-item.has-sub-dropdown>.dropdown-item-head::after {
        display: none;
    }

    .dropdown-link {
        padding: 11px 0;
        font-size: 14px;
        color: #333;
        flex: 1;
    }

    .dropdown-link:hover,
    .dropdown-item:hover>.dropdown-item-head .dropdown-link {
        background: transparent;
        color: var(--header-primary);
        padding-left: 0;
    }

    .sub-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        color: #777;
        border-radius: 6px;
        transition: transform 0.25s ease, color 0.25s ease;
    }

    .sub-toggle-btn.is-open {
        transform: rotate(90deg);
        color: var(--header-primary);
    }

    /* Sub-Dropdown Cấp 3 Mobile (Accordion) */
    .sub-dropdown-menu.level-3 {
        position: static;
        width: 100%;
        min-width: 0;
        box-shadow: none;
        border: none;
        border-radius: 0;
        border-top: none;
        background: #f6efe6;
        padding: 4px 0 4px 24px;
        list-style: disc outside;
        list-style-type: disc;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        /* Điều khiển đóng mở bằng JS slideToggle */
    }

    .sub-item {
        display: list-item;
        list-style: disc;
        list-style-type: disc;
        border-bottom: 1px dashed rgba(212, 167, 84, 0.25);
    }

    .sub-item:last-child {
        border-bottom: none;
    }

    .sub-item::marker {
        color: var(--header-gold);
        font-size: 11px;
    }

    .sub-link {
        display: block;
        padding: 9px 16px 9px 6px;
        font-size: 13px;
        color: #555;
    }

    .sub-link:hover {
        background: transparent;
        color: var(--header-primary);
        padding-left: 6px;
    }

    /* Drawer Footer Mobile */
    .nav-drawer-footer {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 18px 20px;
        background: #fdfaf6;
        border-top: 1px solid var(--header-border);
        flex-shrink: 0;
    }

    .drawer-contact-title {
        font-size: 12.5px;
        font-weight: 700;
        color: #666;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 2px;
    }

    .drawer-phone-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 11px 16px;
        border-radius: 50px;
        background: #ffffff;
        border: 1.5px solid var(--header-gold-border);
        color: var(--header-primary);
        font-size: 14.5px;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    }

    .drawer-zalo-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 11px 16px;
        border-radius: 50px;
        background: linear-gradient(135deg, #8c1618 0%, #680f11 100%);
        color: #ffffff;
        font-size: 14.5px;
        font-weight: 600;
        text-decoration: none;
        box-shadow: 0 3px 10px rgba(123, 19, 21, 0.25);
    }


}

@media (max-width: 767px) {
    .header-logo .bg-logo {
        width: 370px;
    }
}

/* Mobile Devices nhỏ hơn 576px */
@media (max-width: 575px) {
    .header-btn-phone {
        display: none;
    }

    .header-logo {
        height: 44px;
        padding-left: 7px;
        max-width: calc(100vw - 185px);
    }

    .header-logo-img {
        height: 34px;
    }

    .header-btn-phone {
        padding: 6px 12px;
        gap: 6px;
        /* display: none; */
    }

    .btn-phone-text {
        font-size: 13px;
    }

    .btn-phone-icon svg {
        width: 15px;
        height: 15px;
    }

    .header-btn-cart {
        width: 36px;
        height: 36px;
    }

    .header-btn-cart .btn-cart-icon svg {
        width: 17px;
        height: 17px;
    }

    .header-btn-cart .cart-badge {
        min-width: 17px;
        height: 17px;
        font-size: 10px;
        top: -4px;
        right: -4px;
    }

    .header-hamburger {
        width: 36px;
        height: 36px;
        /* padding: 9px 7px; */
    }
}

/* ====================================================
   5. BACKDROP OVERLAY KHI MỞ DRAWER MOBILE
   ==================================================== */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 115;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}



/* ====================================================
   Booking Modal (Yêu cầu nhận báo giá)
   ==================================================== */
#booking-modal {
    display: none;
}

#booking-modal.booking-modal,
.fancybox-slide--html .booking-modal.fancybox-content {
    max-width: 500px;
    width: 100%;
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 34px 28px 28px 28px !important;
    position: relative;
    box-sizing: border-box;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.15) !important;
    overflow: visible !important;
}

/* Hide Fancybox default close button for booking-modal */
.booking-modal>.fancybox-close-small,
.fancybox-slide--html .booking-modal+.fancybox-close-small {
    display: none !important;
}

/* Custom Close Button */
.booking-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f5f9;
    border: none;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    z-index: 10;
}

.booking-modal__close:hover {
    background-color: #e2e8f0;
    color: #0f172a;
    transform: scale(1.05);
}

.booking-modal__header {
    text-align: center;
    margin-bottom: 22px;
    padding-right: 20px;
    padding-left: 20px;
}

.booking-modal__title {
    font-size: 23px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.booking-modal__subtitle {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

/* Form Groups & Inputs */
.booking-form__group {
    margin-bottom: 14px;
}

.booking-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.booking-form__label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    line-height: 1.3;
}

.booking-form__label .required {
    color: #ef4444;
    margin-left: 2px;
}

.booking-form__input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.booking-form__icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s ease;
}

.booking-form__icon svg {
    display: block;
}

.booking-form__input {
    width: 100%;
    height: 44px;
    padding: 0 14px 0 40px;
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #1e293b;
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease;
}

.booking-form__input::placeholder {
    color: #94a3b8;
    font-size: 14px;
}

.booking-form__input:focus {
    background-color: #ffffff;
    border-color: var(--color-3);
    box-shadow: 0 0 0 3px rgba(93, 103, 91, 0.15);
}

.booking-form__group:focus-within .booking-form__icon {
    color: var(--color-3);
}

.booking-form__textarea {
    width: 100%;
    min-height: 85px;
    padding: 10px 14px;
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #1e293b;
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
    resize: vertical;
    transition: all 0.2s ease;
}

.booking-form__textarea::placeholder {
    color: #94a3b8;
    font-size: 14px;
}

.booking-form__textarea:focus {
    background-color: #ffffff;
    border-color: var(--color-3);
    box-shadow: 0 0 0 3px rgba(93, 103, 91, 0.15);
}

/* Submit Button */
.booking-form__submit {
    width: 100%;
    background-color: var(--color-3);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(93, 103, 91, 0.35);
    margin-top: 14px;
}

.booking-form__submit svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

/* .booking-form__submit:hover {
    background-color: #4a5248;
    box-shadow: 0 6px 18px rgba(93, 103, 91, 0.45);
} */

.booking-form__submit:hover svg {
    transform: translateX(3px) translateY(-1px);
}

.booking-form__submit:active {
    transform: translateY(1px);
}

.booking-form__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Mobile Responsive */
@media (max-width: 575px) {

    #booking-modal.booking-modal,
    .fancybox-slide--html .booking-modal.fancybox-content {
        padding: 26px 18px 20px 18px !important;
        border-radius: 16px !important;
    }

    .booking-modal__title {
        font-size: 20px;
    }

    .booking-modal__subtitle {
        font-size: 13px;
    }

    .booking-form__row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .header-logo .bg-logo {
        width: 275px;
        height: 120px;
    }
}
