/* ==========================================================================
   LUXURY EDITORIAL HEADER (AMEENA HAUTE COUTURE)
   ========================================================================== */

:root {
    --lux-hdr-bg: #FFFFFF;
    --lux-hdr-noir: #000000;
    --lux-hdr-charcoal: #1F242D;
    --lux-hdr-taupe: #8C7A6B;
    --lux-hdr-gold: #B38E5D;
    --lux-hdr-border: #ECE7DF;
    --lux-hdr-border-light: #F4EFEA;
    --lux-hdr-btn-bg: #FAF8F5;
    --lux-hdr-btn-border: #E5DFD5;
    --lux-hdr-font-serif: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
    --lux-hdr-font-sans: 'Plus Jakarta Sans', 'Jost', 'Anek Bangla', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --lux-hdr-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   TOP ANNOUNCEMENT / PROMO HEADER (RESPONSIVE)
   ========================================================================== */
.lux-top-header {
    background: #F8F5F0;
    font-family: var(--lux-hdr-font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 8px 0;
    position: relative;
    z-index: 1010;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--lux-hdr-transition);
}

.lux-top-header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 0 36px;
}

.lux-top-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 13px;
    flex-shrink: 0;
}

.lux-top-msg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #000000;
    line-height: 1.4;
}

.lux-top-amount {
    color: #000000;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: baseline;
    gap: 1.5px;
}

.lux-currency {
    font-family: 'Anek Bangla', 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
    font-weight: 600;
    font-size: 1.04em;
    line-height: 1;
    display: inline-block;
    vertical-align: baseline;
}

.lux-top-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #000000;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    margin-left: 4px;
    opacity: 0.9;
    transition: opacity 0.2s ease, text-underline-offset 0.2s ease;
}

.lux-top-cta:hover {
    color: #000000;
    opacity: 1;
    text-underline-offset: 5px;
}

.lux-top-cta i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.lux-top-cta:hover i {
    transform: translateX(2px);
}

/* Right Corner Close Button */
.lux-top-close-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #000000;
    font-size: 14px;
    line-height: 1;
    padding: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.lux-top-close-btn:hover {
    color: #141414;
    opacity: 1;
    transform: translateY(-50%) scale(1.15);
}

/* Responsive Top Header */
@media (max-width: 767.98px) {
    .lux-top-header {
        font-size: 11px;
        padding: 7px 0;
        letter-spacing: 0.4px;
    }

    .lux-top-header-inner {
        gap: 6px;
        padding: 0 30px;
    }

    .lux-top-icon {
        font-size: 11px;
    }

    .lux-top-msg {
        gap: 6px;
    }

    .lux-top-cta {
        font-size: 10px;
        margin-left: 2px;
    }

    .lux-top-close-btn {
        right: 8px;
        font-size: 12px;
        padding: 4px;
    }
}

@media (max-width: 420px) {
    .lux-top-header {
        font-size: 10.5px;
        padding: 6px 0;
        letter-spacing: 0.2px;
    }

    .lux-top-header-inner {
        padding: 0 24px;
    }

    .lux-top-cta {
        display: none;
    }
}

/* 1. MAIN STICKY LUXURY HEADER */
.lux-site-header {
    background-color: var(--lux-hdr-bg);
    border-bottom: 1px solid var(--lux-hdr-border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.lux-site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lux-header-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 10px 0;
    position: relative;
}

/* Left: Bottom-border-only Search Bar (Desktop) */
.lux-header-search-wrap {
    flex: 1;
    max-width: 360px;
    position: relative;
}

.lux-header-search-form {
    position: relative;
    width: 100%;
}

.lux-search-input-box {
    display: flex;
    align-items: center;
    background-color: transparent;
    border: none;
    border-bottom: 1.5px solid #D4CDC4;
    border-radius: 0;
    padding: 3px 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: none;
}

.lux-search-input-box:focus-within {
    background-color: transparent;
    border-color: #18181B;
    box-shadow: none;
}

.lux-search-icon {
    font-size: 13.5px;
    color: #71717A !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.lux-search-input-box:focus-within .lux-search-icon {
    color: #18181B !important;
}

.lux-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--lux-hdr-font-sans);
    font-size: 13px;
    font-weight: 400;
    color: #18181B;
    width: 100%;
    padding: 6px 0;
}

.lux-search-input::placeholder {
    color: #8C827A;
    font-style: normal;
    font-size: 12.5px;
    letter-spacing: 0.01em;
}

/* Hide search button on desktop — bottom-border-only style */
.lux-search-btn {
    display: none;
}

.lux-search-btn i {
    font-size: 10.5px;
    color: #FFFFFF !important;
    transition: transform 0.2s ease;
}

/* Search Dropdown Results — Handled by search.css */


/* Center: Brand Logo */
.lux-header-logo-wrap {
    flex: 2;
    text-align: center;
}

.lux-brand-text {
    font-family: var(--lux-hdr-font-serif);
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 500;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #000000;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s ease;
    line-height: 1;
    margin-left: 8px;
    /* balance tracking */
}

.lux-brand-text:hover {
    color: #000000;
    opacity: 0.85;
}

.lux-brand-img {
    max-height: 42px;
    width: auto;
    object-fit: contain;
}

/* Right: Enhanced Luxury Action Icons */
.lux-header-actions-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

/* Luxury Circle Action Buttons — Solid Black Icons */
.lux-action-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--lux-hdr-btn-bg);
    border: 1px solid var(--lux-hdr-btn-border);
    color: #000000 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
    transition: var(--lux-hdr-transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.lux-action-btn i {
    color: #000000 !important;
    font-size: 17px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lux-action-btn:hover {
    background-color: #EFECE6;
    border-color: #D6D0C7;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.lux-action-btn:active {
    transform: translateY(0) scale(0.96);
}

/* Individual Icon Micro-Interactions */
.lux-wishlist-action-btn i {
    color: #000000 !important;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lux-wishlist-action-btn:hover i {
    transform: scale(1.15);
    color: #000000 !important;
}

.lux-cart-action-btn i {
    color: #000000 !important;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lux-cart-action-btn:hover i {
    transform: scale(1.12);
    color: #000000 !important;
}

/* Luxury Cart Counter Bubble (Solid Black with White Digits) */
.lux-cart-count-bubble {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #000000;
    color: #FFFFFF;
    font-family: var(--lux-hdr-font-sans);
    font-size: 10px;
    font-weight: 700;
    min-width: 19px;
    height: 19px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
    transition: all 0.25s ease;
}

.lux-action-btn:hover .lux-cart-count-bubble {
    background-color: #000000;
    color: #FFFFFF;
    transform: scale(1.08);
}

/* Luxury Floating Tooltips */
.lux-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #000000;
    color: #FFFFFF;
    font-family: var(--lux-hdr-font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1060;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.lux-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-bottom-color: #000000;
}

.lux-action-btn:hover .lux-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Mobile Menu Button Enhancement — Solid Black Icon */
.lux-mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--lux-hdr-btn-bg);
    border: 1px solid var(--lux-hdr-btn-border);
    color: #000000 !important;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
    transition: var(--lux-hdr-transition);
    padding: 0;
}

.lux-mobile-menu-btn i {
    color: #000000 !important;
}

.lux-mobile-menu-btn:hover {
    background-color: #EFECE6;
    border-color: #D6D0C7;
    color: #000000 !important;
    transform: translateY(-1px);
}

/* Mobile Search Dropdown Drawer */
.lux-mobile-search-drawer {
    display: none;
    padding: 0 0 14px 0;
    border-top: 1px solid var(--lux-hdr-border-light);
    position: relative;
    overflow: visible;
}

.lux-mobile-search-form {
    position: relative;
}

.lux-mobile-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--lux-hdr-btn-bg);
    border: 1px solid var(--lux-hdr-btn-border);
    border-radius: 999px;
    padding: 9px 16px;
    margin-top: 12px;
    transition: var(--lux-hdr-transition);
}

.lux-mobile-search-box:focus-within {
    background-color: #FFFFFF;
    border-color: #000000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.lux-msearch-icon {
    font-size: 14px;
    color: #000000 !important;
    flex-shrink: 0;
}

.lux-mobile-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--lux-hdr-font-sans);
    font-size: 14px;
    color: #000000;
}

.lux-mobile-search-input::placeholder {
    color: #71717A;
    font-size: 13px;
}

.lux-msearch-close {
    background: none;
    border: none;
    padding: 2px 4px;
    color: #000000 !important;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lux-msearch-close:hover {
    opacity: 1;
}

/* Mobile search result dropdown */
#searchResultMobile {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 1080;
}

/* 2. CENTERED NAVIGATION MENU ROW (Desktop) */
.lux-header-nav-row {
    padding-bottom: 8px;
    display: flex;
    justify-content: center;
}

.lux-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2.8vw, 34px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.lux-nav-item {
    position: relative;
}

.lux-nav-link {
    font-family: var(--lux-hdr-font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.6px;
    color: #27272A;
    text-decoration: none;
    padding: 4px 0;
    display: inline-block;
    position: relative;
    transition: color 0.2s ease;
}

.lux-nav-link i {
    color: #000000 !important;
}

.lux-nav-link:hover {
    color: #000000;
}

.lux-nav-link.active {
    color: #000000;
    font-weight: 600;
}

.lux-nav-link.active::after,
.lux-nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: #000000;
    transition: width 0.25s ease;
}

/* Dropdown Menu */
.lux-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #FFFFFF;
    border: 1px solid var(--lux-hdr-border);
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    min-width: 190px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1050;
}

.lux-nav-item:hover .lux-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.lux-dropdown-item {
    display: block;
    padding: 8px 18px;
    font-family: var(--lux-hdr-font-sans);
    font-size: 12.5px;
    color: #27272A;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lux-dropdown-item:hover {
    background-color: #FAF8F5;
    color: #000000;
}

/* 3. MOBILE / RESPONSIVE HEADER */
@media (max-width: 991px) {

    /* Hide desktop search bar and nav on mobile */
    .lux-header-search-wrap,
    .lux-header-nav-row {
        display: none !important;
    }

    /* Allow mobile search dropdown to overflow outside the sticky header */
    .lux-site-header {
        overflow: visible;
    }

    /* Tighter main row on mobile */
    .lux-header-main-row {
        padding: 10px 0;
    }

    /* Logo sizing */
    .lux-brand-img {
        max-height: 36px;
    }

    .lux-brand-text {
        font-size: 1.2rem;
        letter-spacing: 4px;
        margin-left: 4px;
    }

    /* Show hamburger */
    .lux-mobile-menu-btn {
        display: inline-flex;
        width: 38px;
        height: 38px;
        font-size: 16px;
        flex-shrink: 0;
    }

    /* Action icon gap */
    .lux-header-actions-wrap {
        gap: 8px;
        flex-shrink: 0;
    }

    /* Smaller action buttons */
    .lux-action-btn {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    /* Smaller cart bubble */
    .lux-cart-count-bubble {
        font-size: 9px;
        min-width: 16px;
        height: 16px;
        top: -3px;
        right: -3px;
    }

    /* No tooltips on touch */
    .lux-tooltip {
        display: none !important;
    }

    /* Tighter search drawer on mobile */
    .lux-mobile-search-box {
        padding: 9px 14px;
    }
}

/* Extra-small screens (≤ 400px) */
@media (max-width: 400px) {
    .lux-action-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .lux-mobile-menu-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .lux-brand-text {
        font-size: 1.05rem;
        letter-spacing: 3px;
    }

    .lux-brand-img {
        max-height: 30px;
    }
}