#ai_header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: transparent;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Hide header when scrolling down past 80% viewport */
        #ai_header.header-hidden {
            transform: translateY(-100%);
        }

        #ai_header.scrolled {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px) saturate(1.8);
            -webkit-backdrop-filter: blur(20px) saturate(1.8);
            box-shadow: 0 8px 32px rgba(44, 36, 22, 0.06), 0 2px 8px rgba(44, 36, 22, 0.04);
            border-bottom: 1px solid rgba(139, 115, 85, 0.12);
        }

        #ai_header .header-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 40px;
        }

        /* Main Navigation - Centered Logo with Split Menu */
        #ai_header .main-nav {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 10px 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }

        #ai_header.scrolled .main-nav {
            padding: 12px 0;
        }

        /* Logo - Centered (always horizontal: icon left, text right) */
        #ai_header .logo-container {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 12px;
            position: relative;
            z-index: 10;
            margin: 0 18px;
            min-width: 120px;
            flex-shrink: 0;
            padding: 12px 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        #ai_header.scrolled .logo-container {
            margin: 0 15px;
            min-width: 120px;
            padding: 10px 0;
        }

        #ai_header .logo-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #ai_header .spa-logo {
            height: 50px;
            width: auto;
            max-width: 100%;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            filter: drop-shadow(0 4px 8px rgba(44, 36, 22, 0.1));
        }

        #ai_header.scrolled .spa-logo {
            height: 40px;
        }

        /* Brand Text - always to the right of the icon */
        #ai_header .brand-text {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            margin-top: 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        #ai_header.scrolled .brand-text {
            margin-top: 0;
            align-items: flex-start;
        }

        #ai_header .brand-name {
            font-family: var(--font-heading);
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--brand-light);
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            letter-spacing: 1px;
            margin: 0;
            line-height: 1;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        #ai_header.scrolled .brand-name {
            font-size: 1rem;
            color: var(--brand-dark);
            text-shadow: none;
        }

        #ai_header .brand-subtext {
            font-family: var(--font-body);
            font-size: 0.65rem;
            font-weight: 400;
            color: rgba(255, 254, 249, 0.8);
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
            letter-spacing: 1.5px;
            text-transform: uppercase;
            margin-top: 3px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        #ai_header.scrolled .brand-subtext {
            font-size: 0.6rem;
            color: var(--brand-neutral);
            text-shadow: none;
            margin-top: 2px;
        }

        /* Navigation Menu - Split on Both Sides */
        #ai_header .site-navigation-1 {
            display: flex;
            list-style: none;
            gap: 10px;
            margin: 0;
            padding: 0;
            transition: gap 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        #ai_header.scrolled .site-navigation-1 {
            gap: 8px;
        }

        #ai_header .nav-left {
            display: flex;
            gap: 10px;
            margin: 0;
            padding: 0;
            transition: gap 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        #ai_header.scrolled .nav-left {
            gap: 8px;
        }

        #ai_header .nav-right {
            display: flex;
            gap: 10px;
            margin: 0;
            padding: 0;
            align-items: center;
            transition: gap 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        #ai_header.scrolled .nav-right {
            gap: 8px;
        }

        #ai_header .nav-item {
            position: relative;
        }

        #ai_header .nav-link {
            font-family: var(--font-body);
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--brand-light);
            text-transform: capitalize;
            letter-spacing: 0.8px;
            padding: 10px 8px;
            position: relative;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            gap: 4px;
            white-space: nowrap;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        }

        #ai_header.scrolled .nav-link {
            color: var(--brand-dark);
            text-shadow: none;
            font-size: 0.8rem;
            padding: 8px 6px;
        }

        /* Underline animation */
        #ai_header .nav-link::after {
            content: '';
            position: absolute;
            bottom: 8px;
            left: 50%;
            width: 0;
            height: 2px;
            background: white;
            transform: translateX(-50%);
            transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        #ai_header.scrolled .nav-link::after {
            bottom: 4px;
            height: 2px;
            background: var(--brand-primary);
        }

        #ai_header .nav-link:hover {
            color: white;
        }

        #ai_header.scrolled .nav-link:hover {
            color: var(--brand-primary);
        }

        #ai_header .nav-link:hover::after {
            width: 100%;
        }

        #ai_header .dropdown-arrow {
            font-size: 10px;
            margin-left: 4px;
            transition: transform 0.3s ease;
        }

        #ai_header .nav-item:hover .dropdown-arrow {
            transform: rotate(180deg);
        }

        /* Dropdown Menu - Luxury 2-Column with Images */
        #ai_header .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(30px);
            width: 700px;
            padding: 0;
            box-shadow: 0 20px 60px rgba(44, 36, 22, 0.18), 0 8px 24px rgba(44, 36, 22, 0.12);
            border-radius: 20px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            margin-top: 10px;
            display: flex;
            overflow: hidden;
        }

        #ai_header .nav-item:hover .dropdown-menu {
            opacity: 0;
            visibility: hidden;
            transform: translateX(-50%) translateY(0);
            pointer-events: none;
        }

        #ai_header .dropdown-links {
            flex: 1;
            padding: 30px 35px;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        #ai_header .dropdown-links a {
            color: var(--brand-dark);
            font-family: var(--font-body);
            font-size: 0.9rem;
            font-weight: 400;
            padding: 12px 20px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            display: block;
            text-decoration: none;
        }

        #ai_header .dropdown-links a::after {
            content: '';
            position: absolute;
            bottom: 8px;
            left: 20px;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--brand-accent), var(--brand-primary));
            transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        #ai_header .dropdown-links a:hover {
            color: var(--brand-primary);
            padding-left: 30px;
        }

        #ai_header .dropdown-links a:hover::after {
            width: calc(100% - 50px);
        }

        /* Dropdown Image Section */
        #ai_header .dropdown-image {
            width: 350px;
            position: relative;
            overflow: hidden;
        }

        #ai_header .dropdown-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        #ai_header .dropdown-image-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 35px;
            background: linear-gradient(to top, rgba(26, 20, 16, 0.9), transparent);
            color: white;
        }

        #ai_header .dropdown-image-title {
            font-family: var(--font-heading);
            font-size: 1.4rem;
            margin-bottom: 8px;
            line-height: 1.2;
        }

        #ai_header .dropdown-image-subtitle {
            font-family: var(--font-body);
            font-size: 0.9rem;
            opacity: 0.9;
        }


        #ai_header .nav-link-cta {
            font-family: var(--font-body);
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            padding: 7px 14px;
            background: transparent;
            color: var(--brand-light) !important;
            border-radius: 50px;
            border: 1.5px solid rgba(255, 254, 249, 0.3);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-block;
            text-shadow: none !important;
            white-space: nowrap;
        }

        #ai_header .nav-link-cta:hover {
            background: rgba(255, 254, 249, 0.1);
            border-color: rgba(255, 254, 249, 0.5);
        }

        #ai_header.scrolled .nav-link-cta {
            padding: 6px 14px;
            font-size: 0.7rem;
            letter-spacing: 1px;
            color: var(--brand-dark) !important;
            border-color: var(--brand-primary);
        }

        #ai_header.scrolled .nav-link-cta:hover {
            background: rgba(196, 165, 116, 0.1);
            border-color: var(--brand-primary);
        }

        /* Cart Icon */
        #ai_header .nav-cart {
            margin-left: 0;
        }

        #ai_header .cart-icon-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            background: transparent;
            color: var(--brand-light);
            font-size: 0.95rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }


        #ai_header.scrolled .cart-icon-link {
            width: 34px;
            height: 34px;
            display:flex;
            align-items: center;
            justify-content: center;
            color: var(--brand-dark);
            font-size: 0.80rem;
        }


        /* Cart Count Badge */
        #ai_header .cart-count {
            position: absolute;
            top: -6px;
            right: -6px;
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--brand-accent);
            color: white;
            border-radius: 100%;
            font-size: 0.65rem;
            font-weight: 600;
            font-family: var(--font-body);
            line-height: 1;
            box-shadow: 0 2px 4px rgba(74, 137, 160, 0.3);
        }

        #ai_header.scrolled .cart-count {
            top: -4px;
            right: -4px;
            width: 15px;
            height: 15px;
            font-size: 0.6rem;
        }

        /* Hide cart count when it's 0 */
        #ai_header .cart-count.hidden,
        #ai_header .cart-count[data-count="0"] {
            display: none;
        }

        /* Animate cart count when updated */
        #ai_header .cart-count.updated {
            animation: cartBounce 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        @keyframes cartBounce {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.3);
            }
            100% {
                transform: scale(1);
            }
        }

        /* Mobile Menu Toggle */
        #ai_header .mobile-menu-toggle {
            display: none;
            background: transparent;
            border: none;
            cursor: pointer;
            flex-direction: column;
            gap: 4px;
            padding: 10px;
        }

        #ai_header .mobile-menu-toggle span {
            width: 24px;
            height: 2px;
            background: var(--brand-light);
            transition: all 0.3s ease;
        }

        #ai_header.scrolled .mobile-menu-toggle span {
            background: var(--brand-primary);
        }

        /* Mobile Menu Styles */
        #ai_header .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 100%;
            max-width: 400px;
            height: 100vh;
            background: linear-gradient(180deg, var(--spa-platinum) 0%, white 100%);
            padding: 30px;
            transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1001;
            overflow-y: auto;
            box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        }

        #ai_header .mobile-menu.active {
            right: 0;
        }

        #ai_header .mobile-menu-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: transparent;
            border: none;
            font-size: 1.5rem;
            color: var(--brand-dark);
            cursor: pointer;
            padding: 10px;
        }

        /* Mobile Menu Navigation - Override horizontal layout */
        #ai_header .mobile-menu .site-navigation-1 {
            display: flex;
            flex-direction: column;
            gap: 8px;
            list-style: none;
            padding: 0;
            margin: 0;
        }

        #ai_header .mobile-menu .nav-item {
            width: 100%;
        }

        #ai_header .mobile-menu .nav-link {
            display: block;
            width: 100%;
            padding: 15px 20px;
            color: var(--brand-dark);
            text-shadow: none;
            font-size: 1rem;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.5);
        }

        #ai_header .mobile-menu .nav-link::after {
            display: none;
        }

        #ai_header .mobile-menu .nav-link:hover {
            background: var(--brand-accent);
            color: var(--brand-light);
        }

        #ai_header .mobile-menu .nav-link:hover::after {
            display: none;
        }

        /* Mobile Menu Logo */
        #ai_header .mobile-menu-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px 0 30px;
            border-bottom: 1px solid rgba(74, 137, 160, 0.2);
            margin-bottom: 20px;
        }

        #ai_header .mobile-menu-logo {
            height: 60px;
            width: auto;
            margin-bottom: 10px;
        }

        #ai_header .mobile-menu-brand-name {
            font-family: var(--font-heading);
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--brand-dark);
            margin: 0;
        }

        #ai_header .mobile-menu-brand-subtext {
            font-family: var(--font-body);
            font-size: 0.7rem;
            color: var(--brand-neutral);
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-top: 4px;
        }


        /* Mobile Responsive */
        @media (max-width: 1300px) {
            #ai_header .nav-left,
            #ai_header .nav-right {
                gap: 6px;
            }

            #ai_header .logo-container {
                margin: 0 12px;
                min-width: 110px;
            }

            #ai_header .nav-link {
                font-size: 0.8rem;
                padding: 8px 6px;
                letter-spacing: 0.6px;
            }

            #ai_header .nav-link-cta {
                font-size: 0.7rem;
                padding: 6px 12px;
                letter-spacing: 0.6px;
            }
        }

        @media (max-width: 1200px) {
            #ai_header .nav-left,
            #ai_header .nav-right {
                display: none;
            }

            #ai_header .mobile-menu-toggle {
                display: flex;
                position: absolute;
                right: 40px;
            }

            #ai_header .main-nav {
                justify-content: flex-start;
            }

            #ai_header .logo-container {
                margin: 0;
            }
        }

        @media (max-width: 768px) {
            #ai_header .header-container {
                padding: 0 20px;
            }

            #ai_header .logo-container {
                padding: 10px 0;
            }

            #ai_header.scrolled .logo-container {
                padding: 8px 0;
            }

            #ai_header .spa-logo {
                height: 45px;
            }

            #ai_header.scrolled .spa-logo {
                height: 35px;
            }

            #ai_header .brand-name {
                font-size: 1rem;
            }

            #ai_header.scrolled .brand-name {
                font-size: 0.9rem;
            }

            #ai_header .brand-subtext {
                font-size: 0.6rem;
                letter-spacing: 1.5px;
            }

            #ai_header.scrolled .brand-subtext {
                font-size: 0.55rem;
            }
        }

        /* Scroll Detection Script */
