/* Header Styles */

:root {
    --black: #000000;
    --white: #FFFFFF;
    --grey-light: #F5F5F5;
    --grey-medium: #CCCCCC;
    --grey-dark: #666666;
    --grey-darker: #333333;
}

/* ============================================
   PROMOTIONAL BANNER
   ============================================ */

.promo-banner {
    position: relative;
    width: 100%;
    background-color: var(--black);
    color: var(--white);
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.promo-banner.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.promo-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    position: relative;
}

/* Banner slider: one slide visible at a time */
.promo-banner-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 20px;
}

.promo-banner-slide {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    text-align: center;
    padding: 0 40px;
}

.promo-banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.promo-banner-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    text-align: center;
    transition: opacity 0.3s ease;
}

.promo-banner-link:hover {
    opacity: 0.8;
}

.promo-banner-slide {
    font-family: 'Gothic A1', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
}

.promo-banner-text {
    font-family: 'Gothic A1', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    text-align: center;
    display: block;
}

.promo-banner-text u {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.promo-banner-close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    width: 24px;
    height: 24px;
}

.promo-banner-close:hover {
    opacity: 0.7;
}

.promo-banner-close svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Promo banner – mobile */
@media (max-width: 768px) {
    .promo-banner {
        padding: 10px 16px;
        min-height: 44px;
    }
    .promo-banner-slider {
        min-height: 40px;
    }
    .promo-banner-slide {
        font-size: 11px;
        letter-spacing: 0.5px;
        padding: 0 12px;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .promo-banner {
        padding: 8px 12px;
        min-height: 48px;
    }
    .promo-banner-slide {
        font-size: 10px;
        padding: 0 8px;
    }
}

/* ============================================
   DESKTOP HEADER STYLES
   ============================================ */

.header-desktop {
    position: relative;
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid var(--grey-medium);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    display: block; /* Show by default on desktop */
}

/* Adjust body padding only for banner */
/* No padding needed since banner is not fixed */

.header-container-desktop {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 40px;
}

.logo-section-desktop {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-desktop:hover {
    opacity: 0.8;
}

.logo-symbol-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    flex-shrink: 0;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-menu-desktop {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
    gap: 0;
    margin-left: 30px;
}

.nav-header-desktop {
    background-color: transparent;
    padding: 10px 18px;
    margin-right: 20px;
    border-radius: 0;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.nav-header-desktop a {
    text-decoration: none;
    color: var(--black);
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.5px;
    font-family: 'Gothic A1', sans-serif;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-header-desktop.active {
    background-color: var(--grey-darker);
}

.nav-header-desktop.active a {
    color: var(--white);
}

.nav-items-desktop {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-items-desktop li {
    position: relative;
}

.nav-items-desktop li a {
    text-decoration: none;
    color: var(--black);
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    font-family: 'Gothic A1', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-items-desktop li a:hover {
    color: var(--grey-dark);
}

.nav-items-desktop li.active > a {
    background-color: var(--grey-darker);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 0;
}

.nav-items-desktop li.active.has-dropdown-desktop > a {
    padding: 10px 18px;
}

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

.menu-item-desktop.has-dropdown-desktop > a {
    display: inline-flex;
    align-items: center;
}

.menu-item-desktop.has-dropdown-desktop svg {
    width: 6px;
    height: 6px;
    color: var(--black);
    flex-shrink: 0;
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.menu-item-desktop.has-dropdown-desktop:hover svg {
    transform: rotate(180deg);
}

/* Mega Menu Desktop - Beautiful Chevron Indicator */
.menu-item-desktop.has-mega-menu-desktop {
    display: flex;
    align-items: center;
    position: relative;
}

.menu-item-desktop.has-mega-menu-desktop > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-right: 4px;
    transition: all 0.3s ease;
}

.menu-item-desktop.has-mega-menu-desktop > a .menu-text {
    transition: color 0.3s ease;
    position: relative;
}

.menu-item-desktop.has-mega-menu-desktop > a .mega-menu-indicator {
    width: 12px;
    height: 12px;
    color: var(--black);
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0.6;
    transform: translateY(0) rotate(0deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-item-desktop.has-mega-menu-desktop:hover > a {
    transform: translateY(-1px);
}

.menu-item-desktop.has-mega-menu-desktop:hover > a .mega-menu-indicator {
    transform: translateY(3px) rotate(180deg);
    opacity: 1;
    color: var(--black);
}

.menu-item-desktop.has-mega-menu-desktop:hover > a .menu-text {
    color: var(--black);
}

.menu-item-desktop.has-mega-menu-desktop > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--black);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item-desktop.has-mega-menu-desktop:hover > a::after {
    width: 100%;
}

/* Mega Menu Desktop */
.mega-menu-desktop {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    margin-top: 5px;
    padding: 0;
    min-width: 600px;
    border-radius: 0;
}

.menu-item-desktop.has-mega-menu-desktop:hover .mega-menu-desktop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-wrapper {
    padding: 0;
}

/* Featured Images Section - 2x2 Grid */
.mega-menu-featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    background-color: var(--white);
}

.featured-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--white);
}

.featured-item:nth-child(2n) {
    border-right: none;
}

.featured-item:nth-child(n+3) {
    border-bottom: none;
}

.featured-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.featured-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: var(--grey-light);
    position: relative;
}

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

.featured-item:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    padding: 18px 20px;
    text-align: center;
    background-color: var(--white);
}

.featured-title {
    font-family: 'Gothic A1', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--black);
    margin: 0 0 8px 0;
}

.featured-link {
    display: inline-block;
    text-decoration: none;
    color: var(--black);
    font-family: 'Gothic A1', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--black);
    padding-bottom: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.featured-item:hover .featured-link {
    letter-spacing: 1px;
    opacity: 0.8;
}

.header-icons-desktop {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-shrink: 0;
}

.icon-button-desktop {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    transition: opacity 0.3s ease;
    text-decoration: none;
}

a.icon-button-desktop {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.icon-button-desktop:hover,
a.icon-button-desktop:hover {
    opacity: 0.6;
}

.icon-button-desktop svg {
    width: 20px;
    height: 20px;
}

.icon-button-desktop,
a.icon-button-desktop {
    position: relative;
}

.cart-count,
.wishlist-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--black);
    color: var(--white);
    font-family: 'Gothic A1', sans-serif;
    font-size: 10px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 18px;
    transform: translate(25%, -25%);
    text-align: center;
}

/* ============================================
   MOBILE HEADER STYLES
   ============================================ */

.header-mobile {
    position: relative;
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid var(--grey-medium);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    display: none;
}

.header-container-mobile {
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 20px;
}

.hamburger-menu-mobile {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    flex-shrink: 0;
    min-width: 44px;
    min-height: 44px;
}

.hamburger-menu-mobile svg {
    width: 28px;
    height: 28px;
}

.hamburger-menu-mobile.active svg line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu-mobile.active svg line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu-mobile.active svg line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.hamburger-menu-mobile svg line {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.search-icon-mobile {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    min-width: 44px;
    min-height: 44px;
}

.search-icon-mobile:hover {
    opacity: 0.6;
}

.search-icon-mobile svg {
    width: 24px;
    height: 24px;
}

.logo-mobile {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-mobile:hover {
    opacity: 0.8;
}

.logo-symbol-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    flex-shrink: 0;
}

.logo-symbol-mobile .logo-image {
    height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
}


.header-icons-mobile {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
}

.icon-button-mobile {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    transition: opacity 0.3s ease;
    text-decoration: none;
    min-width: 44px;
    min-height: 44px;
    position: relative;
}

a.icon-button-mobile {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    transition: opacity 0.3s ease;
    text-decoration: none;
    min-width: 44px;
    min-height: 44px;
    position: relative;
}

.icon-button-mobile:hover,
a.icon-button-mobile:hover {
    opacity: 0.6;
}

.icon-button-mobile svg {
    width: 24px;
    height: 24px;
}

.icon-button-mobile,
a.icon-button-mobile {
    position: relative;
}

.header-icons-mobile .cart-count,
.header-icons-mobile .wishlist-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--black);
    color: var(--white);
    font-family: 'Gothic A1', sans-serif;
    font-size: 10px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 18px;
    transform: translate(25%, -25%);
    text-align: center;
}

/* Mobile Menu - z-index above category-nav so menu items stay visible when open */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--grey-light);
    z-index: 1002;
    transition: left 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.mobile-menu.active {
    left: 0;
    pointer-events: auto;
}

.mobile-menu-header {
    background-color: var(--grey-darker);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    pointer-events: auto;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
    touch-action: manipulation;
    min-width: 40px;
    min-height: 40px;
}

.mobile-menu-close:hover {
    opacity: 0.7;
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
}

.mobile-menu-logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.mobile-menu-logo-image {
    height: 35px;
    width: auto;
    object-fit: contain;
    display: block;
}

.mobile-menu-header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.mobile-menu-search-icon,
.mobile-menu-icon-link {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    text-decoration: none;
    position: relative;
}

.mobile-menu-search-icon:hover,
.mobile-menu-icon-link:hover {
    opacity: 0.7;
}

.mobile-menu-search-icon svg,
.mobile-menu-icon-link svg {
    width: 20px;
    height: 20px;
}

.mobile-nav {
    padding: 0;
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: var(--white);
    margin-top: 15px;
}

.mobile-nav-items li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav-items li:first-child {
    border-top: none;
    margin-top: 0;
}

/* Dark gray background for Accueil and Boutique */
.mobile-nav-items li:first-child,
.mobile-nav-items li:nth-child(2) {
    background-color: var(--grey-darker);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav-items li:first-child a,
.mobile-nav-items li:nth-child(2) a {
    color: var(--white);
}

.mobile-nav-items li:first-child a:hover,
.mobile-nav-items li:nth-child(2) a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding-left: 25px;
}

/* White background for other items */
.mobile-nav-items li:nth-child(n+3) {
    background-color: var(--white);
    border-bottom: 1px solid var(--grey-medium);
}

.mobile-nav-items li a {
    display: block;
    padding: 22px 20px;
    text-decoration: none;
    color: var(--black);
    font-family: 'Gothic A1', sans-serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-items li:nth-child(n+3) a:hover {
    background-color: var(--grey-light);
    color: var(--black);
    padding-left: 25px;
}

.mobile-nav-items li.active {
    background-color: var(--grey-darker);
}

.mobile-nav-items li.active a {
    background-color: var(--grey-darker);
    color: var(--white);
    font-weight: 500;
}

.mobile-nav-items li.active a:hover {
    background-color: var(--grey-darker);
    color: var(--white);
    padding-left: 20px;
}

/* Ensure active state works for white background items too */
.mobile-nav-items li:nth-child(n+3).active {
    background-color: var(--grey-darker);
}

.mobile-nav-items li:nth-child(n+3).active a {
    background-color: var(--grey-darker);
    color: var(--white);
}

/* Mobile Submenu */
.mobile-menu-item-with-submenu {
    position: relative;
    background-color: var(--grey-darker);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-main-link {
    position: relative;
    padding-right: 40px !important;
    color: var(--white) !important;
}

.mobile-menu-main-link::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: var(--white);
}

.mobile-menu-item-with-submenu.active .mobile-menu-main-link::after {
    content: '−';
}

.mobile-menu-item-with-submenu.active .mobile-menu-main-link {
    background-color: var(--grey-darker);
    color: var(--white) !important;
}

.mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--grey-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-item-with-submenu.active .mobile-submenu {
    max-height: 500px;
}

.mobile-submenu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-submenu li:last-child {
    border-bottom: none;
}

.mobile-submenu li a {
    padding: 18px 20px 18px 50px !important;
    font-size: 14px !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    color: var(--white) !important;
    background-color: var(--grey-darker);
}

.mobile-submenu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 55px !important;
    color: var(--white) !important;
}

.mobile-menu-icon-link {
    position: relative;
}

.mobile-menu-icon-link .wishlist-count,
.mobile-menu-icon-link .cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--black);
    color: var(--white);
    font-family: 'Gothic A1', sans-serif;
    font-size: 10px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 18px;
    transform: translate(25%, -25%);
    text-align: center;
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

/* Hide desktop header on mobile, show mobile header */
@media (max-width: 768px) {
    .header-desktop {
        display: none !important;
    }

    .header-mobile {
        display: block !important;
    }
    
    .mobile-menu {
        display: block;
    }

    .header-mobile {
        padding: 18px 0;
    }

    .header-container-mobile {
        padding: 0 18px;
        gap: 18px;
    }
    
    .hamburger-menu-mobile svg {
        width: 26px;
        height: 26px;
    }
    
    .search-icon-mobile svg {
        width: 22px;
        height: 22px;
    }

    .logo-symbol-mobile .logo-image {
        height: 55px;
    }

    .header-icons-mobile {
        gap: 18px;
    }
    
    .icon-button-mobile svg {
        width: 22px;
        height: 22px;
    }

    .mobile-menu {
        width: 100%;
        max-width: 100%;
    }
    
    .mobile-menu-header {
        padding: 12px 15px;
    }
    
    .mobile-menu-logo-image {
        height: 30px;
    }
    
    .mobile-menu-header-icons {
        gap: 12px;
    }
    
    .mobile-menu-search-icon,
    .mobile-menu-icon-link {
        padding: 6px;
    }
    
    .mobile-menu-search-icon svg,
    .mobile-menu-icon-link svg {
        width: 18px;
        height: 18px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .header-mobile {
        padding: 16px 0;
    }

    .header-container-mobile {
        padding: 0 15px;
        gap: 15px;
    }

    .hamburger-menu-mobile {
        padding: 8px;
        min-width: 40px;
        min-height: 40px;
    }

    .hamburger-menu-mobile svg {
        width: 24px;
        height: 24px;
    }

    .search-icon-mobile {
        margin-left: 0;
        padding: 8px;
        min-width: 40px;
        min-height: 40px;
    }

    .search-icon-mobile svg {
        width: 22px;
        height: 22px;
    }

    .logo-symbol-mobile .logo-image {
        height: 50px;
    }

    .header-icons-mobile {
        gap: 12px;
    }

    .icon-button-mobile {
        padding: 8px;
        min-width: 40px;
        min-height: 40px;
    }

    .icon-button-mobile svg {
        width: 22px;
        height: 22px;
    }

    .mobile-menu {
        width: 100%;
        max-width: 100%;
    }

    .mobile-nav-items li a {
        font-size: 14px;
        padding: 20px 15px;
    }
    
    .mobile-menu-header {
        padding: 10px 12px;
    }
    
    .mobile-menu-logo-image {
        height: 28px;
    }
    
    .mobile-menu-header-icons {
        gap: 10px;
    }
    
    .mobile-menu-search-icon,
    .mobile-menu-icon-link {
        padding: 5px;
    }
    
    .mobile-menu-search-icon svg,
    .mobile-menu-icon-link svg {
        width: 16px;
        height: 16px;
    }
}

/* Show desktop header on desktop, hide mobile header */
@media (min-width: 769px) {
    .header-desktop {
        display: block !important;
    }

    .header-mobile {
        display: none !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
}

/* Mega menu responsive adjustments */
@media (max-width: 1024px) {
    .mega-menu-desktop {
        min-width: 500px;
    }
    
    .featured-image {
        height: 200px;
    }
    
    .featured-content {
        padding: 15px 18px;
    }
}

@media (max-width: 768px) {
    .mega-menu-desktop {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        box-shadow: none;
        min-width: 100%;
        margin-top: 0;
    }
    
    .mega-menu-featured {
        grid-template-columns: 1fr;
    }
    
    .featured-item {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .featured-item:nth-child(2n) {
        border-right: none;
    }
    
    .featured-item:last-child {
        border-bottom: none;
    }
    
    .featured-image {
        height: 250px;
    }
}

/* ============================================
   SEARCH MODAL STYLES
   ============================================ */

.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.search-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.search-modal-content {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
    padding: 40px;
    z-index: 2001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: searchModalSlideIn 0.3s ease;
}

@keyframes searchModalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.search-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--white);
    transition: opacity 0.3s ease;
    z-index: 2002;
}

.search-modal-close:hover {
    opacity: 0.7;
}

.search-modal-close svg {
    width: 24px;
    height: 24px;
}

.search-modal-form {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid var(--white);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-family: 'Gothic A1', sans-serif;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 1px;
    padding: 10px 0;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-submit {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--white);
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    opacity: 0.7;
}

.search-submit svg {
    width: 24px;
    height: 24px;
}

.search-results {
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    color: var(--white);
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.search-results::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.search-loading,
.search-error,
.search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Gothic A1', sans-serif;
    font-size: 16px;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.search-result-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.search-result-name {
    font-family: 'Gothic A1', sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    color: var(--white);
    line-height: 1.4;
}

.search-result-price {
    font-family: 'Gothic A1', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.search-view-all {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.search-view-all-link {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    font-family: 'Gothic A1', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-view-all-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .search-modal-content {
        padding: 30px 20px;
    }
    
    .search-input {
        font-size: 18px;
    }
    
    .search-modal-close {
        top: 15px;
        right: 15px;
    }
}

/* ============================================
   CATEGORY NAVIGATION BAR
   ============================================ */

.category-nav {
    position: relative;
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid var(--grey-medium);
    z-index: 999;
    padding: 0;
    transition: top 0.3s ease;
}

.category-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.category-nav-link {
    font-family: 'Gothic A1', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--grey-darker);
    text-decoration: none;
    padding: 16px 0;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.category-nav-link:hover {
    color: var(--black);
}

.category-nav-link.active {
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

/* Mobile adjustments – lower z-index so mobile menu overlay appears above category bar */
@media (max-width: 768px) {
    .category-nav {
        display: block;
        z-index: 998;
    }
    
    .category-nav-container {
        padding: 0 20px;
        gap: 30px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .category-nav-container::-webkit-scrollbar {
        display: none;
    }
    
    .category-nav-link {
        font-size: 12px;
        padding: 14px 0;
        flex-shrink: 0;
    }
}
