/* Aether Luxury Header Base Layout styles */
.aether-header-wrapper_007a1bad {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    z-index: 999;
}

/* Glassmorphism */
.aether-header-wrapper_007a1bad.aether-glass-mode {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(232, 198, 137, 0.25);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
}

.aether-header-wrapper_007a1bad.aether-solid-mode {
    border-bottom: 2px solid #E8C689;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Primary nav layout */
.aether-main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
}

/* Brand logo */
.aether-brand-col {
    display: flex;
    align-items: center;
    gap: 15px;
}

.aether-logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.aether-logo img {
    max-height: 40px;
    object-fit: contain;
}

/* Hamburger toggle */
.aether-menu-trigger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    width: 44px;
    height: 44px;
    justify-content: center;
    position: relative;
    z-index: 1001;
}

.aether-menu-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #1D2A43;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Sliding navigation drawer - completely hidden by default */
.aether-nav-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.aether-nav-drawer-backdrop.aether-drawer-active {
    opacity: 1;
    visibility: visible;
}

.aether-nav-drawer {
    position: fixed;
    top: 0;
    left: -340px;
    width: 320px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 100000;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    box-sizing: border-box;
    visibility: hidden;
}

.aether-nav-drawer.aether-drawer-active {
    transform: translateX(340px);
    visibility: visible;
}

.aether-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(232, 198, 137, 0.2);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.aether-drawer-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.aether-drawer-close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #1D2A43;
}

/* Nav links in drawer */
.aether-drawer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.aether-drawer-nav a {
    text-decoration: none;
    color: #1D2A43;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: block;
}

.aether-drawer-nav a:hover {
    color: #E8C689;
    padding-left: 5px;
}

/* Search element */
.aether-search-col {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.aether-search-pill-wrapper {
    width: 100%;
}

.aether-search-pill {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(232, 198, 137, 0.4);
    border-radius: 50px;
    padding: 4px 20px;
    box-shadow: inset 0 2px 8px rgba(232, 198, 137, 0.1);
    transition: all 0.3s ease;
    width: 100%;
}

.aether-search-pill:focus-within {
    border-color: #E8C689;
    box-shadow: 0 0 12px rgba(232, 198, 137, 0.35);
    background: #FFFFFF;
}

.aether-search-icon {
    display: flex;
    align-items: center;
    margin-right: 12px;
}

.aether-search-input {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 0;
    outline: none;
}

/* AJAX results styling */
.aether-ajax-results-box {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(232, 198, 137, 0.3);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.aether-ajax-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #1D2A43;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(232, 198, 137, 0.15);
}

.aether-ajax-result-item:last-child {
    border-bottom: none;
}

.aether-ajax-result-item:hover {
    background: rgba(232, 198, 137, 0.1);
}

.aether-result-price {
    font-weight: 700;
    color: #E8C689;
}

/* Utilities row */
.aether-utilities-col {
    display: flex;
    align-items: center;
    gap: 20px;
}

.aether-utility-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    text-decoration: none;
    transition: transform 0.3s ease;
    color: #1D2A43;
}

.aether-utility-btn:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 4px rgba(232, 198, 137, 0.6));
}

.aether-utility-btn svg {
    fill: currentColor;
    transition: fill 0.3s ease;
}

/* Badge dots */
.aether-cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #E8C689;
    color: #1D2A43;
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
}

.aether-bell-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E8C689;
    border: 1px solid #FFFFFF;
}

/* Profile image styling */
.aether-profile-pic {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #E8C689;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aether-profile-pic:hover {
    transform: scale(1.08);
    box-shadow: 0 0 10px rgba(232, 198, 137, 0.6);
}

.aether-profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tablet Search trigger and responsive Overlay */
.aether-tablet-search-btn {
    display: none;
}

.aether-tablet-search-overlay {
    display: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(232, 198, 137, 0.2);
    padding: 15px 30px;
    box-sizing: border-box;
}

.aether-tablet-search-overlay.aether-active {
    display: block;
}

.aether-overlay-search-inner {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.aether-tablet-search-input {
    flex: 1;
    background: rgba(29, 42, 67, 0.05);
    border: 1px solid rgba(232, 198, 137, 0.3);
    border-radius: 50px;
    padding: 12px 25px;
    outline: none;
    font-size: 15px;
}

.aether-close-overlay {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #1D2A43;
}

/* Category Marquee Strip styling */
.aether-category-strip-container {
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(232, 198, 137, 0.15);
    padding: 12px 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.aether-category-track {
    display: inline-flex;
    gap: 30px;
    width: max-content;
}

.aether-category-group {
    display: flex;
    gap: 30px;
}

.aether-category-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(232, 198, 137, 0.2);
    border-radius: 30px;
    text-decoration: none;
    color: #1D2A43;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
}

.aether-category-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: #E8C689;
    box-shadow: 0 4px 15px rgba(232, 198, 137, 0.25);
}

.aether-category-icon {
    display: flex;
    align-items: center;
}

/* Marquee slide loop definitions */
.aether-marquee-active .aether-category-track {
    animation: aether-marquee linear infinite;
}

@keyframes aether-marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* RESPONSIVE LAYOUT RESPONSES */

/* Laptop (1024px - 1439px) */
@media (max-width: 1439px) {
    .aether-main-nav {
        padding: 14px 30px;
        gap: 20px;
    }
    .aether-logo {
        font-size: 20px;
    }
    .aether-search-col {
        max-width: 480px;
    }
    .aether-utilities-col {
        gap: 15px;
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .aether-search-col {
        display: none; /* Hide default floating search row */
    }
    .aether-tablet-search-btn {
        display: flex; /* Expose expanding glass icon */
    }
    .aether-main-nav {
        padding: 12px 24px;
    }
}

/* Mobile (under 767px) */
@media (max-width: 767px) {
    .aether-tablet-search-btn {
        display: none;
    }
    .aether-bell-btn {
        display: none; /* Hide bell to minimize space */
    }
    .aether-main-nav {
        padding: 10px 16px;
        justify-content: space-between;
    }
    /* Dynamic styling behavior: If marquee is active on mobile, hide the swipe scroll bar and run keyframe loop */
    .aether-category-strip-container {
        overflow-x: auto;
    }
    .aether-marquee-active.aether-category-strip-container {
        overflow-x: hidden !important;
    }
    .aether-category-group {
        flex-wrap: nowrap;
    }
    /* Hide scrollbars but preserve touch sliding alongside active marquee */
    .aether-category-strip-container::-webkit-scrollbar {
        display: none;
    }
    .aether-category-strip-container {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}
