/* Header overrides follow commerce.css. Keep the store identity visible at every width. */
.eq-shell.eq-header {
    background: #fff;
    backdrop-filter: none;
    box-shadow: 0 3px 18px #11182708;
}
.eq-header-surface {
    border-bottom: 1px solid #e9e7f2;
    background: #fff;
}
.eq-header-inner {
    max-width: 1344px;
    margin-inline: auto;
    padding-inline: 32px;
}
.eq-header-surface .eq-header-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 28px;
    min-height: 100px;
    padding-block: 18px;
}
.eq-header-surface .eq-brand {
    display: flex;
    align-items: center;
    flex: 0 0 202px;
    gap: 10px;
    min-width: 0;
    min-height: 48px;
    text-decoration: none;
}
.eq-header-surface .eq-logo {
    display: block;
    width: 202px;
    height: auto;
    max-width: 100%;
    max-height: 64px;
    object-fit: contain;
    object-position: left center;
}
.eq-header-surface .eq-brand-fallback {
    display: none;
    min-width: 0;
}
.eq-header-surface .eq-brand-name {
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.04em;
    color: #4300da;
    overflow-wrap: anywhere;
}
.eq-header-surface :is(.eq-brand-text, .eq-brand-with-name, .eq-brand-logo-failed) .eq-brand-fallback {
    display: block;
}
.eq-header-surface .eq-brand-with-name .eq-logo {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
}
.eq-header-surface .eq-brand-with-name .eq-brand-name {
    font-size: 21px;
}
.eq-header-surface .eq-brand-logo-failed .eq-logo {
    display: none;
}
.eq-header-surface .eq-search {
    flex: 1 1 320px;
    min-width: 160px;
    min-height: 52px;
    padding: 4px 5px 4px 20px;
    gap: 8px;
    border: 1px solid #e6e3ef;
    border-radius: 14px;
    background: #f8f7fc;
}
.eq-header-surface .eq-search:focus-within {
    border-color: #5b34f2;
    background: #fff;
    outline: 2px solid #5b34f2;
    outline-offset: 2px;
}
.eq-header-surface .eq-search input {
    min-height: 40px;
    padding: 6px 0;
    font-size: 14px;
    color: #111827;
    line-height: 1.5;
}
.eq-header-surface .eq-search input::placeholder {
    color: #646779;
    opacity: 1;
}
.eq-header-surface .eq-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 10px;
    color: #fff;
    background: #5b34f2;
}
.eq-header-surface .eq-search button:hover {
    background: #4822d7;
}
.eq-header-surface .eq-search button .eq-icon {
    width: 22px;
    height: 22px;
}
.eq-header-surface .eq-header-actions {
    flex: 0 0 auto;
    gap: 16px;
    font-size: 13px;
    font-weight: 700;
}
.eq-header-surface :is(.eq-account, .eq-cart) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    gap: 8px;
    border-radius: 12px;
}
.eq-header-surface .eq-account {
    padding: 8px 4px;
    color: #333043;
}
.eq-header-surface .eq-account .eq-icon {
    width: 23px;
    height: 23px;
    padding: 0;
    color: #5b34f2;
    background: none;
    border-radius: 0;
}
.eq-header-surface .eq-account span {
    display: inline;
}
.eq-header-surface .eq-account:hover {
    color: #5b34f2;
}
.eq-header-surface .eq-cart {
    padding: 10px 12px;
    background: #f0edff;
    color: #352065;
}
.eq-header-surface .eq-cart:hover {
    background: #e7e0ff;
}
.eq-header-surface .eq-cart .eq-icon {
    width: 21px;
    height: 21px;
}
.eq-header-surface .eq-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 23px;
    min-height: 23px;
    padding: 2px 6px;
    border-radius: 50px;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    background: #c7ff1a;
    color: #111827;
}
.eq-header-bottom {
    display: flex;
    align-items: center;
    gap: 24px;
    border-top: 1px solid #efedf5;
}
.eq-menu {
    flex: 1 1 0;
    min-width: 0;
}
.eq-menu-toggle {
    display: none;
}
.eq-header-surface .eq-navigation,
.eq-header-surface .eq-nav-menu {
    gap: 8px 24px;
    min-height: 54px;
    overflow: visible;
    white-space: normal;
    font-size: 13px;
}
.eq-header-surface .eq-navigation {
    display: block;
}
.eq-header-surface .eq-nav-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.eq-header-surface .eq-nav-menu > li {
    min-width: 0;
}
.eq-header-surface .eq-nav-menu a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 44px;
    padding-block: 8px;
    color: #353144;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.eq-header-surface .eq-nav-menu a:is(:hover, [aria-current="page"]),
.eq-header-surface .eq-nav-menu .current-menu-item > a {
    color: #5b34f2;
    font-weight: 700;
}
.eq-header-surface .eq-nav-menu .eq-nav-catalog {
    color: #5b34f2;
    font-weight: 800;
}
.eq-header-surface .eq-nav-catalog .eq-icon {
    width: 16px;
    height: 16px;
}
.eq-header-surface .eq-nav-offers .eq-icon {
    width: 17px;
    height: 17px;
    color: #5b34f2;
}
.eq-header-surface .eq-advisor-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: 7px;
    min-height: 44px;
    color: #514763;
    font-size: 12px;
    font-weight: 700;
}
.eq-header-surface .eq-advisor-link:hover {
    color: #5b34f2;
}
.eq-header-surface .eq-advisor-link .eq-icon {
    width: 20px;
    height: 20px;
    color: #5b34f2;
}
@media (min-width: 1024px) and (max-width: 1199px) {
    .eq-header-surface .eq-header-row { gap: 20px; }
    .eq-header-surface .eq-brand { flex-basis: 180px; }
    .eq-header-surface .eq-logo { width: 180px; }
    .eq-header-surface .eq-header-actions { gap: 10px; }
    .eq-header-surface .eq-account span { display: none; }
    .eq-header-surface .eq-account { min-width: 44px; }
    .eq-header-surface .eq-nav-menu { column-gap: 18px; }
    .eq-header-surface .eq-advisor-link { font-size: 11px; }
}
@media (max-width: 1023px) {
    .eq-header-inner { padding-inline: 24px; }
    .eq-header-surface .eq-header-row {
        flex-wrap: wrap;
        gap: 14px 20px;
        min-height: 0;
        padding-block: 16px;
    }
    .eq-header-surface .eq-brand { flex: 1 1 160px; }
    .eq-header-surface .eq-logo { width: 184px; max-height: 56px; }
    .eq-header-surface .eq-header-actions { gap: 14px; }
    .eq-header-surface .eq-search {
        order: 3;
        flex: 1 0 100%;
        min-height: 50px;
    }
    .eq-header-bottom { display: block; position: relative; }
    .eq-menu-toggle {
        display: flex;
        align-items: center;
        gap: 9px;
        width: max-content;
        max-width: 50%;
        min-height: 52px;
        padding: 10px 4px;
        cursor: pointer;
        list-style: none;
        color: #352065;
        font-size: 14px;
        font-weight: 800;
    }
    .eq-menu-toggle::-webkit-details-marker { display: none; }
    .eq-menu-toggle-note { display: none; }
    .eq-menu-bars,
    .eq-menu-bars::before,
    .eq-menu-bars::after {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 1px;
        background: #5b34f2;
    }
    .eq-menu-bars { position: relative; margin-inline: 2px; }
    .eq-menu-bars::before,
    .eq-menu-bars::after { content: ''; position: absolute; left: 0; }
    .eq-menu-bars::before { top: -6px; }
    .eq-menu-bars::after { top: 6px; }
    .eq-menu[open] .eq-menu-bars { background: transparent; }
    .eq-menu[open] .eq-menu-bars::before { top: 0; transform: rotate(45deg); }
    .eq-menu[open] .eq-menu-bars::after { top: 0; transform: rotate(-45deg); }
    .eq-header-surface .eq-navigation {
        padding-block: 4px 16px;
        max-height: calc(100dvh - 240px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .eq-header-surface .eq-nav-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        min-height: 0;
    }
    .eq-header-surface .eq-nav-menu a {
        width: 100%;
        min-height: 48px;
        padding: 11px 12px;
        border-radius: 10px;
        background: #f8f7fc;
        font-size: 13px;
    }
    .eq-header-surface .eq-nav-menu a:hover { background: #f0edff; }
    .eq-header-surface .eq-nav-menu .eq-nav-catalog { background: #f0edff; }
    .eq-header-surface .eq-advisor-link {
        position: absolute;
        right: 0;
        top: 4px;
        max-width: 60%;
        justify-content: flex-end;
        font-size: 12px;
    }
}
@media (max-width: 599px) {
    .eq-header-inner { padding-inline: 16px; }
    .eq-header-surface .eq-header-row { gap: 12px; padding-block: 12px; }
    .eq-header-surface .eq-brand { flex: 1 1 120px; min-height: 44px; }
    .eq-header-surface .eq-logo { width: 154px; max-height: 46px; }
    .eq-header-surface .eq-brand-name { font-size: 24px; }
    .eq-header-surface .eq-brand-with-name .eq-logo {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
    .eq-header-surface .eq-brand-with-name .eq-brand-name { font-size: 18px; }
    .eq-header-surface .eq-header-actions { gap: 5px; }
    .eq-header-surface .eq-account { width: 44px; padding: 10px; }
    .eq-header-surface .eq-account span { display: none; }
    .eq-header-surface .eq-cart { min-height: 44px; gap: 6px; padding: 9px 10px; }
    .eq-header-surface .eq-cart > .eq-cart-label { display: none; }
    .eq-header-surface .eq-search { padding-left: 14px; }
    .eq-header-surface .eq-search input { font-size: 16px; }
    .eq-header-surface .eq-advisor-link { font-size: 11px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    .eq-header-surface *, .eq-header-surface *::before, .eq-header-surface *::after {
        transition: none;
    }
}

/* A distinct symbol and live text stay readable independently of logo image proportions. */
.eq-header-surface .eq-brand.eq-brand-split {
    flex-basis: 238px;
    gap: 10px;
}
.eq-header-surface .eq-brand-split .eq-brand-symbol,
.eq-header-surface .eq-brand-split .eq-brand-symbol-image {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    max-height: 52px;
    color: var(--equipaya-violet);
    object-fit: contain;
}
.eq-header-surface .eq-brand-split .eq-brand-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-family: Sora, Arial, sans-serif;
    font-size: 23px;
    line-height: 1.25;
    color: var(--equipaya-violet);
    letter-spacing: -.05em;
}
.eq-header-surface .eq-brand-accent {
    display: inline-block;
    padding: 1px 5px;
    border-radius: 6px;
    background: var(--equipaya-lime);
    color: var(--equipaya-charcoal);
}
@media (max-width: 1199px) and (min-width: 1024px) {
    .eq-header-surface .eq-brand.eq-brand-split { flex-basis: 215px; }
    .eq-header-surface .eq-brand-split .eq-brand-name { font-size: 21px; }
}
@media (max-width: 1023px) {
    .eq-header-surface .eq-brand.eq-brand-split { flex: 1 1 0; }
}
@media (max-width: 599px) {
    .eq-header-surface .eq-brand.eq-brand-split { gap: 6px; }
    .eq-header-surface .eq-brand-split .eq-brand-symbol,
    .eq-header-surface .eq-brand-split .eq-brand-symbol-image {
        flex-basis: 36px;
        width: 36px;
        height: 40px;
        max-height: 40px;
    }
    .eq-header-surface .eq-brand-split .eq-brand-name { font-size: clamp(16px, 4.7vw, 21px); gap: 3px; }
    .eq-header-surface .eq-brand-accent { padding-inline: 3px; }
}
