/* ===========================================
   ZAWAYA HEADER — Exact Figma Specs
   =========================================== */

/* ---- TOP ANNOUNCEMENT BAR ---- */
.zw-topbar {
    background: #000000;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 1001;
    overflow: hidden;
}

.zw-topbar__slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zw-topbar__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    text-decoration: none;
}

.zw-topbar__slide--active {
    opacity: 1;
    pointer-events: auto;
}

.zw-topbar a,
.zw-topbar__slide {
    text-decoration: none;
}

.zw-topbar p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #FFFFFF;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
    line-height: normal;
}

/* ---- HEADER WRAPPER ---- */
.zw-header {
    position: absolute;
    top: 54px;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* ---- NAV CONTAINER ---- */
.zw-nav {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0));
    padding: 16px 256px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    transition: all 0.3s ease;
}

/* Shared row styles */
.zw-nav__row {
    width: 100%;
    display: flex;
    align-items: center;
}

/* ---- ROW 1: ICONS ---- */
.zw-nav__icons-row {
    justify-content: space-between;
}

.zw-nav__left {
    display: flex;
    align-items: center;
    flex: 1;
}

.zw-nav__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    flex: 1;
}

.zw-nav__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: opacity 0.3s ease;
    position: relative;
}

.zw-nav__icon:hover {
    opacity: 0.7;
    color: #FFFFFF;
}

.zw-nav__icon svg {
    width: 24px;
    height: 24px;
}

/* Cart badge */
.zw-nav__cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #FFFFFF;
    color: #202020;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 600;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ---- ROW 2: LOGO ---- */
.zw-nav__logo-row {
    justify-content: center;
    height: 192px;
}

.zw-nav__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* All logo images share base styles */
.zw-nav__logo-img {
    width: 100%;
    max-width: 1408px;
    height: auto;
    object-fit: contain;
}
.zw-pcard__dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin-left: 4px;
}

.zw-pcard__dropdown svg {
    pointer-events: none;
}

.zw-pcard__select {
    position: absolute;
    inset: -8px -12px;
    width: calc(100% + 24px);
    height: calc(100% + 16px);
    opacity: 0;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
}
/* Default visibility — homepage (transparent) */
.zw-nav__logo-white    { display: block; max-height: 178px; }
.zw-nav__logo-dark     { display: none;  max-height: 178px; }
.zw-nav__logo-scrolled { display: none;  max-height: 50px;  }

/* Text logo fallback */
.zw-nav__logo-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 120px;
    font-weight: 300;
    letter-spacing: 60px;
    color: #FFFFFF;
    text-transform: uppercase;
    line-height: 1;
    text-indent: 60px;
}

/* ---- ROW 3: MENU ---- */
.zw-nav__menu-row {
    justify-content: center;
}

.zw-nav__menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.zw-nav__menu .menu-item {
    flex: 1;
    text-align: center;
}

.zw-nav__menu .menu-item a {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding: 10px 0;
    line-height: 20px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.zw-nav__menu .menu-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #dbbbad;
    transition: width 0.3s ease;
}

.zw-nav__menu .menu-item a:hover::after,
.zw-nav__menu .menu-item.current-menu-item a::after {
    width: 60%;
}

.zw-nav__menu .menu-item a:hover {
    color: #FFFFFF;
}

/* ===========================================
   STICKY NAVBAR (on scroll)
   =========================================== */
.zw-nav--sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #FFFFFF;
    padding: 12px 128px;
    gap: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    animation: zwSlideDown 0.3s ease;
}

@keyframes zwSlideDown {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0);     }
}

/* Sticky: icons turn dark */
.zw-nav--sticky .zw-nav__icon {
    color: #202020;
}

.zw-nav--sticky .zw-nav__icon:hover {
    color: #93614c;
}

/* Sticky: cart badge inverts */
.zw-nav--sticky .zw-nav__cart-badge {
    background: #202020;
    color: #FFFFFF;
}

/* Sticky: logo row shrinks */
.zw-nav--sticky .zw-nav__logo-row {
    height: 56px;
}

/* Sticky: show Vector.svg only, hide the others */
.zw-nav--sticky .zw-nav__logo-white    { display: none;  }
.zw-nav--sticky .zw-nav__logo-dark     { display: none;  }
.zw-nav--sticky .zw-nav__logo-scrolled { display: block; max-height: 50px; }

/* Sticky: text logo fallback */
.zw-nav--sticky .zw-nav__logo-text {
    font-size: 36px;
    letter-spacing: 18px;
    color: #202020;
    text-indent: 18px;
}

/* Sticky: menu turns dark */
.zw-nav--sticky .zw-nav__menu .menu-item a {
    color: #202020;
    font-size: 14px;
}

.zw-nav--sticky .zw-nav__menu .menu-item a:hover {
    color: #93614c;
}

/* ===========================================
   HIDE DEFAULT ASTRA HEADER
   =========================================== */
.ast-above-header,
.ast-above-header-wrap,
#ast-desktop-header,
.ast-desktop-header-content,
.ast-main-header-wrap,
.ast-primary-header,
.ast-below-header,
.ast-below-header-wrap,
.main-header-bar,
.ast-mobile-header-wrap,
.ast-header-break-point .ast-mobile-header-wrap,
header.site-header {
    display: none !important;
}

body {
    padding-top: 0 !important;
}

/* ===========================================
   INNER PAGES — STATIC WHITE HEADER
   =========================================== */
.zw-header--static {
    position: relative;
    top: auto;
}

.zw-header--static .zw-nav {
    background: #ffffff;
}

.zw-header--static .zw-nav__icon {
    color: #000000;
}

.zw-header--static .zw-nav__icon:hover {
    opacity: 1;
    color: #93614c;
}

.zw-header--static .zw-nav__cart-badge {
    background: #000000;
    color: #ffffff;
}

.zw-header--static .zw-nav__logo-text {
    color: #000000;
}

/* Inner pages: show dark logo, hide white + scrolled */
.zw-header--static .zw-nav__logo-white    { display: none;  }
.zw-header--static .zw-nav__logo-dark     { display: block; }
.zw-header--static .zw-nav__logo-scrolled { display: none;  }

/* Inner pages + sticky: show Vector.svg */
.zw-header--static .zw-nav--sticky .zw-nav__logo-white    { display: none;  }
.zw-header--static .zw-nav--sticky .zw-nav__logo-dark     { display: none;  }
.zw-header--static .zw-nav--sticky .zw-nav__logo-scrolled { display: block; }

.zw-header--static .zw-nav__menu .menu-item a {
    color: #000000;
}

.zw-header--static .zw-nav__menu .menu-item a:hover {
    color: #93614c;
}

.zw-header--static .zw-nav__menu .menu-item a::after {
    background-color: #dbbbad;
}

/* ===========================================
   RESPONSIVE — TABLET (≤1440px)
   =========================================== */
@media (max-width: 1440px) {
    .zw-nav {
        padding: 16px 128px;
    }

    .zw-nav__logo-text {
        font-size: 90px;
        letter-spacing: 45px;
        text-indent: 45px;
    }

    .zw-nav__logo-row {
        height: 150px;
    }
}

/* ===========================================
   RESPONSIVE — SMALL TABLET (≤1024px)
   =========================================== */
@media (max-width: 1024px) {
    .zw-nav {
        padding: 16px 64px;
    }

    .zw-nav__logo-text {
        font-size: 60px;
        letter-spacing: 30px;
        text-indent: 30px;
    }

    .zw-nav__logo-row {
        height: 120px;
    }

    .zw-nav__menu .menu-item a {
        font-size: 14px;
        letter-spacing: 1.2px;
    }
}

/* ===========================================
   RESPONSIVE — MOBILE (≤768px)
   =========================================== */
@media (max-width: 768px) {
    .zw-topbar {
        height: 44px;
    }

    .zw-topbar p {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .zw-header {
        top: 44px;
    }

    .zw-header--static {
        top: auto;
    }

    .zw-nav {
        padding: 12px 24px;
        overflow-x: hidden;
    }

    .zw-nav__logo-text {
        font-size: 36px;
        letter-spacing: 18px;
        text-indent: 18px;
    }

    .zw-nav__logo-row {
        height: 80px;
    }

    .zw-nav__menu-row {
        display: none;
    }

    .zw-nav--sticky {
        padding: 10px 24px;
    }

    .zw-nav--sticky .zw-nav__logo-row {
        height: 40px;
    }

    .zw-nav--sticky .zw-nav__logo-text {
        font-size: 24px;
        letter-spacing: 12px;
        text-indent: 12px;
    }
}