/**
 * EBA Header — matches emotionalacademy.vercel.app design:
 * serif wordmark · charcoal text · gold accents · glass on scroll
 */

.eba-wrapper.eba-hdr {
    --hdr-height: 80px;
    width: 100%;
    background: transparent;
    transition: all 0.35s var(--eba-ease);
    z-index: 999990;
    position: relative;
}

.eba-hdr.is-sticky {
    position: sticky;
    top: 0;
}

.eba-hdr.is-variant-solid  { background: #ffffff; border-bottom: 1px solid var(--eba-border); }
.eba-hdr.is-variant-dark   { background: var(--eba-charcoal); }
.eba-hdr.is-variant-glass  { background: rgba(248, 245, 240, 0.75); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }

.eba-hdr.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px -10px rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(221, 212, 198, 0.3);
}

.eba-hdr.is-shrinkable.is-scrolled { --hdr-height: 64px; }

.eba-hdr__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--eba-space-5);
    height: var(--hdr-height);
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    transition: height 0.35s var(--eba-ease);
}

.eba-hdr.is-full-width .eba-hdr__inner { max-width: none; }

/* Brand */
.eba-hdr__brand {
    display: inline-flex;
    align-items: center;
    gap: var(--eba-space-3);
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.2s var(--eba-ease);
}

.eba-hdr__brand:hover { opacity: 0.85; }

.eba-hdr__logo-img {
    height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
}

.eba-hdr__brand-text {
    font-family: var(--eba-font-heading) !important;
    font-size: clamp(1.125rem, 1.5vw + 0.5rem, 1.375rem);
    color: var(--eba-charcoal) !important;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1;
    white-space: nowrap;
}

.eba-hdr.is-variant-dark .eba-hdr__brand-text { color: #ffffff !important; }

/* Menu */
.eba-hdr__menu-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
}

.eba-hdr__menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.eba-hdr__menu .menu-item a {
    font-family: var(--eba-font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--eba-charcoal) !important;
    text-decoration: none;
    position: relative;
    padding: 8px 14px;
    border-radius: 9999px;
    background: transparent;
    transition: background 0.2s var(--eba-ease), color 0.2s var(--eba-ease);
    letter-spacing: 0.01em;
    white-space: nowrap;
    line-height: 1.2;
}

.eba-hdr.is-variant-dark .eba-hdr__menu .menu-item a { color: rgba(255,255,255,0.85) !important; }

/* Hover + Active = same pill style (cream bg + gold text) */
.eba-hdr__menu .menu-item a:hover,
.eba-hdr__menu .menu-item a:focus-visible,
.eba-hdr__menu .menu-item a[aria-current="page"],
.eba-hdr__menu .current-menu-item > a,
.eba-hdr__menu .current-menu-parent > a,
.eba-hdr__menu .current-menu-ancestor > a {
    background: #f1ede8;
    color: var(--eba-gold-dark) !important;
}

.eba-hdr.is-variant-dark .eba-hdr__menu .menu-item a:hover,
.eba-hdr.is-variant-dark .eba-hdr__menu .menu-item a:focus-visible,
.eba-hdr.is-variant-dark .eba-hdr__menu .menu-item a[aria-current="page"],
.eba-hdr.is-variant-dark .eba-hdr__menu .current-menu-item > a,
.eba-hdr.is-variant-dark .eba-hdr__menu .current-menu-parent > a,
.eba-hdr.is-variant-dark .eba-hdr__menu .current-menu-ancestor > a {
    background: rgba(255, 255, 255, 0.1);
    color: var(--eba-gold-light) !important;
}

.eba-hdr__menu .menu-item.is-button a { background: transparent; }
.eba-hdr__menu .menu-item.is-button a:hover { background: transparent; }

/* Actions */
.eba-hdr__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.eba-hdr__icon-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--eba-radius-full);
    background: transparent;
    color: var(--eba-charcoal);
    cursor: pointer;
    transition: all 0.2s var(--eba-ease);
    position: relative;
    text-decoration: none;
}

.eba-hdr__icon-btn:hover {
    background: var(--eba-ivory-dark);
    color: var(--eba-gold-dark);
}

.eba-hdr.is-variant-dark .eba-hdr__icon-btn { color: #ffffff; }
.eba-hdr.is-variant-dark .eba-hdr__icon-btn:hover { background: rgba(255,255,255,0.08); }

.eba-hdr__cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--eba-gold);
    color: #ffffff;
    border-radius: var(--eba-radius-full);
    font-size: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid var(--eba-surface);
}

.eba-hdr__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--eba-charcoal) !important;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: var(--eba-radius-sm);
    transition: all 0.2s var(--eba-ease);
}

.eba-hdr__link:hover {
    background: var(--eba-ivory-dark);
    color: var(--eba-gold-dark) !important;
}

/* Header Sign In + CTA buttons — match reference vercel.app:
   Sign In = outlined gold, white bg, gold text
   Get Started = solid gold, CHARCOAL text (not white), rounded-lg (8px)
   Both use h-10 (40px) height — slightly shorter than hero buttons */
.eba-hdr__signin,
a.eba-hdr__signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 22px;
    border: 1.5px solid #d4a24c;
    border-radius: 8px;
    background: transparent;
    color: #b58834;
    font-family: var(--eba-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
    white-space: nowrap;
    margin-left: 4px;
    line-height: 1;
}

.eba-hdr__signin:hover,
a.eba-hdr__signin:hover {
    background: rgba(212, 162, 76, 0.08);
    color: #b58834;
    border-color: #d4a24c;
}

.eba-hdr.is-variant-dark .eba-hdr__signin,
.eba-hdr.is-variant-dark a.eba-hdr__signin {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.eba-hdr.is-variant-dark .eba-hdr__signin:hover,
.eba-hdr.is-variant-dark a.eba-hdr__signin:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.7);
}

.eba-hdr__cta,
a.eba-hdr__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #d4a24c;
    background-image: none;
    color: #0f172a;
    font-family: var(--eba-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
    white-space: nowrap;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    margin-left: 4px;
    line-height: 1;
}

.eba-hdr__cta:hover,
a.eba-hdr__cta:hover {
    background: #b58834;
    color: #0f172a;
}

/* Shop Dropdown */
.eba-hdr__caret {
    display: inline-block;
    margin-left: 4px;
    transition: transform 0.2s var(--eba-ease);
    vertical-align: middle;
}

.eba-hdr__menu .menu-item.has-dropdown { position: relative; }
.eba-hdr__menu .menu-item.has-dropdown > a { display: inline-flex; align-items: center; gap: 4px; }

.eba-hdr__menu .menu-item.has-dropdown.is-open > a .eba-hdr__caret {
    transform: rotate(180deg);
}

.eba-hdr__dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 320px;
    background: #ffffff;
    border: 1px solid var(--eba-border);
    border-radius: var(--eba-radius-lg);
    box-shadow: 0 20px 60px -15px rgba(15, 23, 42, 0.18);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s var(--eba-ease);
    z-index: 100;
    display: grid;
    gap: 2px;
}

.eba-hdr__dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-top: 1px solid var(--eba-border);
    border-left: 1px solid var(--eba-border);
}

.eba-hdr__menu .menu-item.has-dropdown.is-open .eba-hdr__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.eba-hdr__dropdown-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    border-radius: var(--eba-radius-md);
    text-decoration: none;
    transition: all 0.15s var(--eba-ease);
}

.eba-hdr__dropdown-item strong {
    font-family: var(--eba-font-heading);
    font-size: 1rem;
    color: var(--eba-charcoal) !important;
    font-weight: 500;
    line-height: 1.2;
}

.eba-hdr__dropdown-item span {
    font-size: 0.8125rem;
    color: var(--eba-text-muted);
    line-height: 1.4;
}

.eba-hdr__dropdown-item:hover {
    background: var(--eba-gold-soft);
}

.eba-hdr__dropdown-item:hover strong {
    color: var(--eba-gold-dark) !important;
}

/* Account menu — desktop dropdown */
.eba-hdr__account { position: relative; }

.eba-hdr__account-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 260px;
    background: #ffffff;
    border: 1px solid var(--eba-border);
    border-radius: var(--eba-radius-lg);
    box-shadow: 0 20px 60px -15px rgba(15, 23, 42, 0.18);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s var(--eba-ease);
    z-index: 100;
}

.eba-hdr__account-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Account menu — portaled to body when opened on mobile */
.eba-account-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999998 !important;
    opacity: 0;
    transition: opacity 0.3s var(--eba-ease);
    pointer-events: none;
    cursor: pointer;
}
.eba-account-backdrop[hidden] { display: none !important; }
.eba-account-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* When portaled (added to body) — becomes full-height right drawer */
.eba-hdr__account-menu.is-portaled {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(340px, 88vw) !important;
    max-width: 88vw !important;
    min-width: 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.3) !important;
    transform: translateX(100%) !important;
    transition: transform 0.35s var(--eba-ease-spring) !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow-y: auto;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column;
}

.eba-hdr__account-menu.is-portaled[hidden] {
    display: none !important;
}

.eba-hdr__account-menu.is-portaled.is-open {
    transform: translateX(0) !important;
}

.eba-hdr__account-menu.is-portaled .eba-hdr__account-user {
    padding: 32px 24px 24px !important;
    background: var(--eba-gradient-gold) !important;
    color: #ffffff !important;
    border-bottom: 0 !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
    position: relative;
}

.eba-hdr__account-menu.is-portaled .eba-hdr__account-avatar img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    border: 3px solid rgba(255, 255, 255, 0.5) !important;
    object-fit: cover !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.eba-hdr__account-menu.is-portaled .eba-hdr__account-info {
    align-items: center;
    text-align: center;
}

.eba-hdr__account-menu.is-portaled .eba-hdr__account-info strong {
    color: #ffffff !important;
    font-size: 1.25rem !important;
    white-space: normal;
}

.eba-hdr__account-menu.is-portaled .eba-hdr__account-info span {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.8125rem !important;
    white-space: normal;
}

.eba-hdr__account-menu.is-portaled .eba-hdr__account-section {
    padding: 14px 12px !important;
    border-top: 1px solid var(--eba-border) !important;
}
.eba-hdr__account-menu.is-portaled .eba-hdr__account-section:first-of-type {
    border-top: 0 !important;
}

.eba-hdr__account-menu.is-portaled a {
    padding: 14px 18px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    border-radius: var(--eba-radius-sm) !important;
    gap: 14px !important;
}

.eba-hdr__account-menu.is-portaled a svg {
    width: 20px !important;
    height: 20px !important;
}

.eba-hdr__account-user {
    padding: 12px 14px;
    border-bottom: 1px solid var(--eba-border);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.eba-hdr__account-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.eba-hdr__account-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.eba-hdr__account-user strong {
    font-family: var(--eba-font-heading);
    font-size: 1rem;
    color: var(--eba-charcoal);
    font-weight: 500;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eba-hdr__account-user span {
    font-size: 0.75rem;
    color: var(--eba-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eba-hdr__account-section {
    padding: 6px 0;
    border-top: 1px solid var(--eba-border);
}
.eba-hdr__account-section:first-of-type { border-top: 0; padding-top: 0; }

.eba-hdr__account-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--eba-charcoal) !important;
    text-decoration: none;
    font-size: 0.9375rem;
    border-radius: var(--eba-radius-sm);
    transition: all 0.15s var(--eba-ease);
}

.eba-hdr__account-menu a svg {
    color: var(--eba-text-muted);
    flex-shrink: 0;
    transition: color 0.15s var(--eba-ease);
}

.eba-hdr__account-menu a:hover svg { color: var(--eba-gold-dark); }

.eba-hdr__account-menu a:hover {
    background: var(--eba-gold-soft);
    color: var(--eba-gold-dark) !important;
}

.eba-hdr__account-logout {
    border-top: 1px solid var(--eba-border);
    margin-top: 6px;
    padding-top: 14px !important;
    color: var(--eba-error) !important;
}

/* Avatar button */
.eba-hdr__avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--eba-radius-full);
    border: 1.5px solid transparent;
    background: var(--eba-gold-soft);
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--eba-gold-dark);
    font-family: var(--eba-font-heading);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s var(--eba-ease);
}

.eba-hdr__avatar:hover { border-color: var(--eba-gold); transform: translateY(-1px); box-shadow: var(--eba-shadow-sm); }

.eba-hdr__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eba-hdr__avatar-initials {
    line-height: 1;
    letter-spacing: 0.02em;
}

/* Mobile Toggle */
.eba-hdr__toggle {
    display: none;
    flex-direction: column !important;
    gap: 5px !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 1.5px solid var(--eba-border) !important;
    cursor: pointer;
    border-radius: var(--eba-radius-sm) !important;
    transition: all 0.2s var(--eba-ease);
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    text-shadow: none !important;
    color: var(--eba-charcoal) !important;
    -webkit-appearance: none;
    appearance: none;
}

.eba-hdr__toggle:hover {
    background: var(--eba-ivory-dark) !important;
    border-color: var(--eba-gold) !important;
}

.eba-hdr__toggle:focus { outline: none !important; }
.eba-hdr__toggle:focus-visible {
    outline: 2px solid var(--eba-gold) !important;
    outline-offset: 2px !important;
}

.eba-hdr__toggle-bar {
    width: 22px !important;
    height: 2px !important;
    background: var(--eba-charcoal) !important;
    border-radius: 2px !important;
    transition: all 0.25s var(--eba-ease) !important;
    transform-origin: center !important;
    padding: 0 !important;
    display: block !important;
}

.eba-hdr.is-variant-dark .eba-hdr__toggle {
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}
.eba-hdr.is-variant-dark .eba-hdr__toggle:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}
.eba-hdr.is-variant-dark .eba-hdr__toggle-bar { background: #ffffff !important; }

.eba-hdr__toggle[aria-expanded="true"] .eba-hdr__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.eba-hdr__toggle[aria-expanded="true"] .eba-hdr__toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.eba-hdr__toggle[aria-expanded="true"] .eba-hdr__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   OFF-CANVAS (slides in from LEFT)
   ============================================ */
.eba-offcanvas {
    position: fixed;
    top: 0;
    left: 0;
    /* Use viewport units in addition to inset so the overlay always covers
       the full screen even if some browser quirk anchors fixed to a parent. */
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* dynamic vh on mobile — accounts for browser chrome */
    /* Maximum z-index so off-canvas always sits on top of every section,
       Elementor sticky bars, popups, etc. */
    z-index: 2147483646;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s var(--eba-ease), visibility 0.3s var(--eba-ease);
}

.eba-offcanvas[hidden] { display: none !important; }

.eba-offcanvas.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.eba-offcanvas__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
}

.eba-offcanvas__panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    /* Tablet/desktop: drawer width. Mobile: full width (overridden below). */
    width: min(380px, 92vw);
    max-width: 100vw;
    background: #ffffff;
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s var(--eba-ease-spring);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(212,162,76,0.3) transparent;
}

/* Full-width panel on mobile — no right gap, no backdrop strip showing page */
@media (max-width: 600px) {
    .eba-offcanvas__panel {
        width: 100vw;
        width: 100dvw;
        max-width: 100vw;
        box-shadow: none;
    }
}

.eba-offcanvas__panel::-webkit-scrollbar {
    width: 4px;
}
.eba-offcanvas__panel::-webkit-scrollbar-track {
    background: transparent;
}
.eba-offcanvas__panel::-webkit-scrollbar-thumb {
    background: rgba(212, 162, 76, 0.35);
    border-radius: 10px;
}

.eba-offcanvas--right .eba-offcanvas__panel {
    left: auto;
    right: 0;
    transform: translateX(100%);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.3);
}

.eba-offcanvas.is-open .eba-offcanvas__panel {
    transform: translateX(0);
}

.eba-offcanvas__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--eba-border);
    min-height: 72px;
}

.eba-offcanvas__logo {
    max-height: 40px;
    width: auto;
}

.eba-offcanvas__brand {
    font-family: var(--eba-font-heading);
    font-size: 1.25rem;
    color: var(--eba-charcoal);
    font-weight: 500;
}

.eba-offcanvas__close {
    width: 40px !important;
    height: 40px !important;
    border: 1.5px solid var(--eba-border) !important;
    background: #ffffff !important;
    color: var(--eba-charcoal) !important;
    border-radius: var(--eba-radius-full) !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s var(--eba-ease);
    padding: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
}

.eba-offcanvas__close svg {
    width: 22px !important;
    height: 22px !important;
    color: var(--eba-charcoal) !important;
    stroke: var(--eba-charcoal) !important;
    fill: none !important;
}

.eba-offcanvas__close:hover {
    background: var(--eba-charcoal) !important;
    color: #ffffff !important;
    border-color: var(--eba-charcoal) !important;
    transform: rotate(90deg);
}

.eba-offcanvas__close:hover svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* ============================================================
 * OFF-CANVAS MENU — Reference style:
 * - All items left-aligned, full-width
 * - "Shop" (has-dropdown parent) becomes a section header (uppercase, small)
 * - Children listed flat directly below at the same indent
 * - Active item gets cream pill background (matches header desktop)
 * ============================================================ */
.eba-offcanvas__nav {
    flex: 1;
    padding: 16px 8px;
    text-align: left;
}

.eba-offcanvas__menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: stretch;
}

.eba-offcanvas__menu .menu-item {
    position: relative;
    text-align: left;
    width: 100%;
}

/* Regular menu links — left-aligned, full-width, Inter, ~15px */
.eba-offcanvas__menu .menu-item a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 16px;
    font-family: var(--eba-font-body);
    font-size: 15px;
    color: var(--eba-charcoal) !important;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s var(--eba-ease), color 0.2s var(--eba-ease);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.3;
    width: 100%;
}

/* Hover + Active = cream pill (consistent with desktop header) */
.eba-offcanvas__menu .menu-item a:hover,
.eba-offcanvas__menu .menu-item a:focus,
.eba-offcanvas__menu .menu-item a[aria-current="page"],
.eba-offcanvas__menu .current-menu-item > a {
    background: #f1ede8;
    color: var(--eba-gold-dark) !important;
}

/* SHOP (has-dropdown parent) — render as section header, not interactive */
.eba-offcanvas__menu .has-dropdown > a {
    padding: 18px 16px 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--eba-text-muted, #525e7a) !important;
    pointer-events: none;
    background: transparent !important;
    cursor: default;
}

.eba-offcanvas__menu .has-dropdown > a:hover {
    background: transparent !important;
    color: var(--eba-text-muted, #525e7a) !important;
}

.eba-offcanvas__menu .has-dropdown > a .eba-hdr__caret { display: none; }
.eba-offcanvas__menu .has-dropdown > a::after { display: none; }

/* Dropdown children — render flat, same indent as top-level items */
.eba-offcanvas__menu .eba-hdr__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.eba-offcanvas__menu .eba-hdr__dropdown::before { display: none; }

.eba-offcanvas__menu .eba-hdr__dropdown-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--eba-charcoal) !important;
    transition: background 0.2s var(--eba-ease), color 0.2s var(--eba-ease);
    width: 100%;
}

.eba-offcanvas__menu .eba-hdr__dropdown-item strong,
.eba-offcanvas__menu .eba-hdr__dropdown-item span {
    text-align: left;
    width: 100%;
    display: block;
}

.eba-offcanvas__menu .eba-hdr__dropdown-item:hover,
.eba-offcanvas__menu .eba-hdr__dropdown-item.is-current,
.eba-offcanvas__menu .eba-hdr__dropdown-item[aria-current="page"] {
    background: #f1ede8;
    color: var(--eba-gold-dark) !important;
}

.eba-offcanvas__menu .eba-hdr__dropdown-item strong {
    font-family: var(--eba-font-body);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
}

.eba-offcanvas__menu .eba-hdr__dropdown-item span {
    display: none; /* Hide subtitle/description in off-canvas — reference shows flat list only */
}

.eba-offcanvas__menu .eba-hdr__caret { display: none; }

/* Off-canvas actions (logged out) */
.eba-offcanvas__actions {
    padding: 20px 24px;
    border-top: 1px solid var(--eba-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eba-offcanvas__signin,
.eba-offcanvas__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: var(--eba-radius-full);
    font-family: var(--eba-font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s var(--eba-ease);
}

.eba-offcanvas__signin {
    border: 1.5px solid var(--eba-gold);
    color: var(--eba-gold-dark) !important;
    background: transparent;
}

.eba-offcanvas__signin:hover {
    background: var(--eba-gold-soft);
}

.eba-offcanvas__cta {
    background: var(--eba-gradient-gold);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(212, 162, 76, 0.3);
}

.eba-offcanvas__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(212, 162, 76, 0.4);
}

/* Off-canvas account (logged in) */
.eba-offcanvas__account {
    padding: 20px 24px;
    border-top: 1px solid var(--eba-border);
    background: var(--eba-surface-alt);
}

.eba-offcanvas__account-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.eba-offcanvas__account-user img {
    width: 48px;
    height: 48px;
    border-radius: var(--eba-radius-full);
    object-fit: cover;
}

.eba-offcanvas__account-user strong {
    display: block;
    font-family: var(--eba-font-heading);
    color: var(--eba-charcoal);
    font-size: 1rem;
    line-height: 1.2;
}

.eba-offcanvas__account-user span {
    font-size: 0.8125rem;
    color: var(--eba-text-muted);
}

.eba-offcanvas__account-link {
    display: block;
    padding: 10px 14px;
    border-radius: var(--eba-radius-sm);
    color: var(--eba-charcoal) !important;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.2s var(--eba-ease);
}

.eba-offcanvas__account-link:hover {
    background: var(--eba-gold-soft);
    color: var(--eba-gold-dark) !important;
}

.eba-offcanvas__account-logout {
    color: var(--eba-error) !important;
    border-top: 1px solid var(--eba-border);
    margin-top: 6px;
    padding-top: 14px;
}

body.eba-no-scroll { overflow: hidden; }

/* Responsive */
@media (max-width: 960px) {
    .eba-hdr__menu-wrap { display: none; }
    .eba-hdr__cta,
    .eba-hdr__signin,
    .eba-hdr__link { display: none; }
    .eba-hdr__toggle { display: inline-flex; }
}

@media (max-width: 640px) {
    .eba-hdr__inner { padding: 0 16px; gap: 12px; }
    .eba-hdr__brand-text { font-size: 1rem; }
    .eba-hdr__logo-img { height: 36px !important; }
    .eba-hdr__icon-btn { width: 36px; height: 36px; }
}
