/* ==========================================
   JASS LUXE HEADER
========================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #080808 !important;
    border-bottom: 1px solid rgba(200, 169, 106, 0.2);
    padding: 0 20px;
}

.header-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
}

.brand a {
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #C8A96A !important;
    text-transform: uppercase;
    text-decoration: none;
}

.main-nav .nav-menu {
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav .nav-menu li a {
    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: #D9D1C2 !important;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.main-nav .nav-menu li a:hover {
    color: #C8A96A !important;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 22px;
}

.icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C8A96A !important;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.icon-btn:hover {
    color: #D5B370 !important;
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #C8A96A;
    color: #111 !important;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RESPONSIVE HEADER */
@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }
    
    .main-nav {
        display: none; /* Hide desktop menu on mobile */
    }
    
    .brand a {
        font-size: 22px;
    }
}
/* HAMBURGER TOGGLE BUTTON */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 4px;
    z-index: 10;
}

.mobile-menu-toggle .bar {
    width: 20px;
    height: 2px;
    background-color: #c5a059;
    transition: all 0.3s ease;
}

.mobile-nav-drawer {
    display: none;
}

/* MOBILE VIEW (SCREEN WIDTH < 992px) */
@media (max-width: 991px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 99999;
        background: #050505;
        border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    }

    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
    }

    /* Show hamburger icon */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Hide standard desktop menu bar */
    .main-nav {
        display: none;
    }

    /* Reduce brand logo font size on mobile */
    .brand a {
        font-size: 1.15rem !important;
        letter-spacing: 2px;
        color: #c5a059;
        text-decoration: none;
    }

    /* Mobile Slide Drawer */
    .mobile-nav-drawer {
        display: block;
        max-height: 0;
        overflow: hidden;
        background: #0d0d0f;
        border-bottom: 1px solid rgba(197, 160, 89, 0.25);
        transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-nav-drawer.is-open {
        max-height: 280px;
    }

    .mobile-nav-menu {
        list-style: none;
        padding: 18px 20px;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .mobile-nav-menu li a {
        color: #e8d8c8;
        font-size: 0.85rem;
        letter-spacing: 1.5px;
        text-decoration: none;
        text-transform: uppercase;
    }

    .mobile-nav-menu li a:hover {
        color: #c5a059;
    }

    /* Animate Hamburger icon to X when opened */
    .mobile-menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .mobile-menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}