/* =====================================================================
   EVO layout — header, mega menu, mobile drawer, info strips, country
   chooser, login nudge, footer. Loaded by _Layout.cshtml after evo-core.
   Mobile-first. Breakpoints: 700px / 900px / 1200px.
   Header is fixed on mobile (spacer element keeps the page below it)
   and static on desktop.
   z-index map: overlays 70 · drawer 75 · header 80 · nudge 85 ·
   core .evo-overlay 90 · core .evo-modal 100
   ===================================================================== */

:root { --header-h: 60px; --hdr-top-h: 36px; --hdr-main-h: 76px; }
@media (min-width: 900px) { :root { --header-h: 112px; } }

/* JS hook used by CartController on #footerIDRetail / #wholesaleLevelBannerID */
.displayNone { display: none !important; }

/* extra icon not in evo-core */
.evo-icon--cog { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'><circle cx='12' cy='12' r='3'/><path d='M12 2.5l1.8 2.6 3.1-.6.6 3.1 2.6 1.8-1.5 2.6 1.5 2.6-2.6 1.8-.6 3.1-3.1-.6L12 21.5l-1.8-2.6-3.1.6-.6-3.1-2.6-1.8L5.4 12 3.9 9.4l2.6-1.8.6-3.1 3.1.6z'/></svg>"); }

/* ---------- 1. Overlays ---------- */
.evo-hdr__overlay { position: fixed; inset: 0; z-index: 70; background: transparent; }
.evo-hdr__dim { position: fixed; inset: 0; z-index: 70; background: rgba(10,10,10,.45); animation: evo-fade var(--t-med); }

/* ---------- 2. Header shell ---------- */
.evo-hdr {
    position: fixed; top: 0; left: 0; right: 0; z-index: 80;
    background: var(--c-black); color: var(--c-white);
    font-family: var(--f-body); font-size: var(--fs-md); line-height: 1.4;
}
.evo-hdr__spacer { height: var(--header-h); }
.evo-hdr p, .evo-hdr ul, .evo-hdr li { margin: 0; padding: 0; list-style: none; }
.evo-hdr a { color: inherit; text-decoration: none; }
.evo-hdr button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.evo-hdr img { display: block; max-width: 100%; }

.evo-hdr__inner {
    display: grid; align-items: center;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "burger logo actions" "search search search";
    min-height: var(--header-h); padding: 0 var(--s-4);
}
.evo-hdr__burger { grid-area: burger; justify-self: start; display: flex; align-items: center; height: var(--header-h); }
.evo-hdr__logo { grid-area: logo; justify-self: center; display: flex; align-items: center; height: var(--header-h); }
.evo-hdr__logo-img { height: 24px; width: auto; filter: brightness(0) invert(1); }
.evo-hdr__actions { grid-area: actions; justify-self: end; display: flex; align-items: center; gap: var(--s-1); height: var(--header-h); }
.evo-hdr__util { display: none; }
.evo-hdr__nav { display: none; }

/* icon buttons */
.evo-hdr__iconbtn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%; color: var(--c-white); flex: 0 0 auto;
    transition: background var(--t-fast), color var(--t-fast);
}
.evo-hdr__iconbtn:hover { background: rgba(255,255,255,.1); }
.evo-hdr__count {
    position: absolute; top: 4px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: var(--r-pill);
    background: var(--c-white); color: var(--c-black); font-size: 9px; font-weight: 500; line-height: 16px; text-align: center;
}
.evo-hdr__item { position: relative; display: flex; align-items: center; }
.evo-hdr__item--globe { display: none; }
.evo-hdr__item--user { display: none; }
.evo-hdr__item--cart { display: flex; }
.evo-hdr__bag { width: 20px; height: 20px; }
.evo-hdr__user-m { display: inline-flex; }

/* ---------- 3. Search ---------- */
.evo-hdr__search { grid-area: search; position: relative; display: none; padding: 0 0 var(--s-3); }
.evo-hdr.is-search-open .evo-hdr__search { display: block; }
.evo-hdr__search-box {
    position: relative; display: flex; align-items: center; height: 42px; padding: 0 5px 0 16px;
    border-radius: var(--r-pill); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: var(--c-white);
    transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.evo-hdr__search-box.is-focused { background: var(--c-white); border-color: var(--c-white); color: var(--c-ink); }
.evo-hdr__search-icon { opacity: .6; }
.evo-hdr__search-input {
    flex: 1 1 auto; min-width: 0; height: 100%; padding: 0 10px; background: transparent; border: 0; outline: 0;
    color: inherit; font: inherit; font-size: var(--fs-md); font-weight: 300; letter-spacing: .02em;
}
.evo-hdr__search-input::placeholder { color: currentColor; opacity: .5; }
.evo-hdr__search-clear, .evo-hdr__search-go {
    display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; flex: 0 0 auto;
    transition: background var(--t-fast), color var(--t-fast);
}
.evo-hdr__search-clear { opacity: .6; }
.evo-hdr__search-clear:hover { opacity: 1; }
.evo-hdr__search-go { background: var(--c-white); color: var(--c-black); }
.evo-hdr__search-box.is-focused .evo-hdr__search-go { background: var(--c-black); color: var(--c-white); }
.evo-hdr__search-spinner { width: 16px; height: 16px; border-width: 2px; border-color: rgba(127,127,127,.3); border-top-color: currentColor; margin-right: 4px; }

.evo-hdr__results {
    position: absolute; top: calc(100% - 4px); left: 0; right: 0; z-index: 6; overflow: hidden;
    background: var(--c-white); color: var(--c-ink); border-radius: var(--r-md); box-shadow: var(--shadow-2); padding: var(--s-2) 0;
    animation: evo-fade-up var(--t-fast);
}
.evo-hdr__results-list { margin: 0; padding: 0; list-style: none; }
.evo-hdr__result {
    display: flex; align-items: center; gap: var(--s-3); padding: 10px 18px; font-size: var(--fs-md); color: var(--c-ink-2); cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast);
}
.evo-hdr__result:hover, .evo-hdr__result.is-active { background: var(--c-off); color: var(--c-ink); }
.evo-hdr__result-icon { color: var(--c-mute); }
.evo-hdr__result-query { color: var(--c-mute); text-transform: lowercase; }
.evo-hdr__result-brand { font-weight: 500; }
.evo-hdr__result-arrow { margin-left: auto; color: var(--c-mute-2); }
.evo-hdr__result--suggestion { text-transform: uppercase; font-size: var(--fs-xs); letter-spacing: var(--ls-cap); }

/* ---------- 4. Popovers (cart / account / notifications) ---------- */
.evo-hdr__pop {
    position: absolute; top: calc(100% + 6px); right: -6px; z-index: 7; width: 320px;
    background: var(--c-white); color: var(--c-ink); border-radius: var(--r-md); box-shadow: var(--shadow-2); padding: var(--s-5);
    animation: evo-fade-up var(--t-fast); text-align: left; cursor: default;
}
.evo-hdr__pop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.evo-hdr__pop--cart { width: 360px; }
.evo-hdr__pop--user { width: 300px; }
.evo-hdr__pop--globe { width: 380px; padding: var(--s-4) var(--s-5) var(--s-5); }
.evo-hdr__pop-title { font-family: var(--f-display); font-size: var(--fs-h4); line-height: 1.2; margin: 0 0 var(--s-4); }
.evo-hdr__pop-title--name { margin-top: var(--s-1); word-break: break-all; }
.evo-hdr__pop-stack { display: flex; flex-direction: column; gap: var(--s-2); }
.evo-hdr__pop-stack .evo-btn { width: 100%; }
.evo-hdr__pop-foot { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--c-line); }
.evo-hdr__pop-foot--row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.evo-hdr__pop-total { display: flex; flex-direction: column; gap: 2px; }
.evo-hdr__pop-total strong { font-size: var(--fs-lg); font-weight: 500; letter-spacing: .02em; }
.evo-hdr__pop-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-3); }
.evo-hdr__tabs { display: flex; gap: var(--s-5); }
.evo-hdr__tab {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--ls-wide);
    text-transform: uppercase; color: var(--c-mute); border-bottom: 1px solid transparent; transition: color var(--t-fast);
}
.evo-hdr__tab:hover, .evo-hdr__tab.is-active { color: var(--c-ink); }
.evo-hdr__tab.is-active { border-bottom-color: var(--c-ink); }
.evo-hdr__menu { margin: 0; padding: 0; list-style: none; }
.evo-hdr__menu-link {
    display: block; width: 100%; padding: 10px 0; text-align: left; border-bottom: 1px solid var(--c-line);
    font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--ls-cap); text-transform: uppercase; color: var(--c-ink-2); transition: color var(--t-fast), padding-left var(--t-fast);
}
.evo-hdr__menu-link:hover { color: var(--c-ink); padding-left: 6px; }
.evo-hdr__pop .evo-spinner { width: 16px; height: 16px; border-width: 2px; }
.evo-hdr__pop .evo-spinner--center { width: 24px; height: 24px; margin: var(--s-5) auto; }

/* cart list */
.evo-hdr__cart-list { margin: 0; padding: 0; list-style: none; max-height: 300px; overflow-y: auto; }
.evo-hdr__cart-item { position: relative; display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--c-line); }
.evo-hdr__cart-media { flex: 0 0 52px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--c-off); border-radius: var(--r-sm); overflow: hidden; }
.evo-hdr__cart-media img { max-height: 40px; max-width: 40px; width: auto; mix-blend-mode: multiply; }
.evo-hdr__cart-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.evo-hdr__cart-brand { font-size: 9px; letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--c-mute); }
.evo-hdr__cart-name { font-size: var(--fs-sm); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.evo-hdr__cart-var { font-size: var(--fs-xs); color: var(--c-mute); }
.evo-hdr__cart-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: 0 0 auto; padding-right: 26px; }
.evo-hdr__cart-qty { font-size: var(--fs-xs); color: var(--c-mute); }
.evo-hdr__cart-price { font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; }
.evo-hdr__cart-remove {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; color: var(--c-mute); opacity: .5; transition: opacity var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.evo-hdr__cart-item:hover .evo-hdr__cart-remove { opacity: 1; }
.evo-hdr__cart-remove:hover { background: var(--c-black); color: var(--c-white); }

/* notification / favorites feed */
.evo-hdr__feed { margin: 0; padding: 0; list-style: none; max-height: 340px; overflow-y: auto; }
.evo-hdr__feed-row { position: relative; display: flex; align-items: flex-start; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--c-line); }
.evo-hdr__feed-media { flex: 0 0 56px; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--c-off); border-radius: var(--r-sm); overflow: hidden; }
.evo-hdr__feed-media img { max-height: 44px; max-width: 44px; width: auto; mix-blend-mode: multiply; }
.evo-hdr__feed-body { flex: 1 1 auto; min-width: 0; padding-right: 26px; }
.evo-hdr__feed-body p { margin: 0; }
.evo-hdr__feed-text { font-size: var(--fs-sm); line-height: 1.45; color: var(--c-ink-2); }
.evo-hdr__feed-time { color: var(--c-mute); font-size: var(--fs-xs); }
.evo-hdr__feed-brand { font-size: 9px; letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--c-mute); }
.evo-hdr__feed-name { font-size: var(--fs-sm); line-height: 1.35; }
.evo-hdr__feed-var { font-size: var(--fs-xs); color: var(--c-mute); }
.evo-hdr__feed-price { font-size: var(--fs-sm); font-weight: 500; text-transform: uppercase; margin-top: 2px; }
.evo-hdr__feed .evo-badge { height: 16px; padding: 0 6px; font-size: 8px; vertical-align: middle; }
.evo-hdr__feed-remove {
    position: absolute; right: 0; top: var(--s-3); width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    color: var(--c-mute); transition: background var(--t-fast), color var(--t-fast);
}
.evo-hdr__feed-remove:hover { background: var(--c-black); color: var(--c-white); }

/* ---------- 5. Utility bar / country ---------- */
.evo-hdr__util-link {
    display: inline-flex; align-items: center; gap: 8px; height: var(--hdr-top-h); font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--ls-cap);
    text-transform: uppercase; color: rgba(255,255,255,.75); white-space: nowrap; transition: color var(--t-fast);
}
.evo-hdr__util-link:hover { color: var(--c-white); }
.evo-hdr__country { cursor: pointer; }
.evo-hdr__country .evo-icon--chevron-down { opacity: .6; }
.evo-hdr__flag { width: 18px; height: 12px; object-fit: cover; border-radius: 2px; flex: 0 0 auto; }

/* ---------- 6. Nav + mega menu ---------- */
.evo-hdr__nav-item { position: relative; display: flex; align-items: stretch; }
.evo-hdr__nav-link {
    position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 0 2px; cursor: pointer;
    font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--c-white); opacity: .8;
    transition: opacity var(--t-fast);
}
.evo-hdr__nav-link::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 24px; height: 1px; background: var(--c-white); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med); }
.evo-hdr__nav-link:hover, .evo-hdr__nav-link.is-open { opacity: 1; }
.evo-hdr__nav-link:hover::after, .evo-hdr__nav-link.is-open::after { transform: scaleX(1); }
.evo-hdr__nav-link .evo-icon--chevron-down { transition: transform var(--t-fast); }
.evo-hdr__nav-link.is-open .evo-icon--chevron-down { transform: rotate(180deg); }
.evo-hdr__nav-link--admin { opacity: .55; }

.evo-mega {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 4; display: none;
    background: var(--c-white); color: var(--c-ink); border-top: 1px solid var(--c-line); box-shadow: 0 40px 70px rgba(0,0,0,.2);
    animation: evo-fade var(--t-fast);
}
.evo-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.evo-mega a { color: inherit; text-decoration: none; }
.evo-mega ul { margin: 0; padding: 0; list-style: none; }
.evo-mega p { margin: 0; }
.evo-mega__inner { display: grid; grid-template-columns: 240px 1fr; gap: var(--s-7); max-width: 1600px; margin: 0 auto; padding: var(--s-6) var(--gutter) var(--s-7); min-height: 360px; }
.evo-mega__cats { border-right: 1px solid var(--c-line); padding-right: var(--s-5); align-self: start; }
.evo-mega__cats--scroll { max-height: 420px; overflow-y: auto; }
.evo-mega__cat-link {
    display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 10px 12px; border-radius: var(--r-sm);
    font-size: var(--fs-sm); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink-2);
    transition: background var(--t-fast), color var(--t-fast);
}
.evo-mega__cat-link .evo-icon { color: var(--c-mute-2); }
.evo-mega__cat:hover .evo-mega__cat-link, .evo-mega__cat.is-active .evo-mega__cat-link { background: var(--c-off); color: var(--c-ink); }
.evo-mega__cat.is-active .evo-mega__cat-link .evo-icon, .evo-mega__cat:hover .evo-mega__cat-link .evo-icon { color: var(--c-ink); }
.evo-mega__sub { min-width: 0; }
.evo-mega__sub-head a { display: block; font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 400; line-height: 1.1; margin-bottom: var(--s-4); }
.evo-mega__sub-head a:hover { opacity: .6; }
.evo-mega__sub-link { display: inline-block; padding: 6px 0; font-size: var(--fs-md); color: var(--c-ink-2); transition: color var(--t-fast), transform var(--t-fast); }
.evo-mega__sub-link:hover { color: var(--c-ink); transform: translateX(4px); }
.evo-mega__aside { display: none; }
.evo-mega__tile {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 150px; padding: var(--s-5);
    border-radius: var(--r-md); background: var(--c-black); color: var(--c-white); transition: transform var(--t-med);
}
.evo-mega__tile:hover { transform: translateY(-3px); }
.evo-mega__tile--light { background: var(--c-off); color: var(--c-ink); }
.evo-mega__tile-title { font-family: var(--f-display); font-size: var(--fs-h3); line-height: 1; }
.evo-mega__tile > .evo-icon { position: absolute; right: var(--s-5); top: var(--s-5); }
.evo-mega__logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); align-content: start; }
.evo-mega__logo { display: flex; align-items: center; justify-content: center; height: 88px; padding: var(--s-4); border-radius: var(--r-sm); background: var(--c-off); transition: background var(--t-fast); }
.evo-mega__logo img { max-height: 52px; max-width: 80%; width: auto; opacity: .75; mix-blend-mode: multiply; transition: opacity var(--t-med); }
.evo-mega__logo:hover { background: var(--c-off-2); }
.evo-mega__logo:hover img { opacity: 1; }
.evo-mega__sub-list { min-width: 0; }

/* ---------- 7. Info strips ---------- */
.evo-strip {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-2) var(--s-3); padding: 9px var(--s-4);
    background: var(--c-off); color: var(--c-ink-2); border-bottom: 1px solid var(--c-line); text-align: center;
    font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--ls-cap); text-transform: uppercase; line-height: 1.4;
}
.evo-strip__sep { width: 1px; height: 12px; background: var(--c-line-2); }
.evo-strip__timer-label { color: var(--c-mute); }
.evo-strip__timer { color: var(--c-ink); font-variant-numeric: tabular-nums; }
.evo-strip__link { display: inline-flex; align-items: center; gap: var(--s-2); color: inherit; }
.evo-strip__link--underline { text-decoration: underline; text-underline-offset: 3px; }
.evo-strip--gold { background: var(--c-black); color: var(--c-white); border-color: var(--c-black); }
.evo-strip--gold .evo-strip__timer, .evo-strip--gold .evo-strip__timer-label { color: var(--c-white); }
.evo-strip--gold .evo-strip__sep { background: var(--c-dark-line); }
.evo-strip--gold .evo-badge { background: var(--c-white); color: var(--c-black); }
.evo-strip--wholesale { background: var(--c-white); }

/* ---------- 8. Mobile drawer ---------- */
.evo-drawer-nav {
    position: fixed; top: var(--header-h); left: 0; bottom: 0; z-index: 75; width: 100%; max-width: 420px;
    display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch;
    background: var(--c-white); color: var(--c-ink); animation: evo-slide-right var(--t-med);
}
.evo-drawer-nav a { color: inherit; text-decoration: none; }
.evo-drawer-nav ul { margin: 0; padding: 0; list-style: none; }
.evo-drawer-nav p { margin: 0; }
.evo-drawer-nav button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.evo-drawer__panel { padding: var(--s-2) 0 var(--s-4); }
.evo-drawer__item {
    display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); width: 100%; min-height: 54px; padding: 0 var(--s-5);
    border: 0; border-bottom: 1px solid var(--c-line); background: none; text-align: left; cursor: pointer;
    font-size: var(--fs-sm); font-weight: 500; letter-spacing: var(--ls-cap); text-transform: uppercase; color: var(--c-ink);
    transition: background var(--t-fast);
}
.evo-drawer__item:active { background: var(--c-off); }
.evo-drawer__item > .evo-icon { color: var(--c-mute-2); }
.evo-drawer__item--muted { color: var(--c-mute); }
.evo-drawer__item .evo-counter { margin-left: 6px; vertical-align: middle; }
.evo-drawer__back {
    display: flex; align-items: center; gap: var(--s-2); width: 100%; min-height: 46px; padding: 0 var(--s-4); margin-bottom: var(--s-2);
    background: var(--c-off); border: 0; text-align: left; cursor: pointer;
    font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--c-mute);
}
.evo-drawer__tabs { display: flex; margin: 0 var(--s-5); border-bottom: 1px solid var(--c-line); }
.evo-drawer__tab {
    flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 0; margin-bottom: -1px;
    font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--c-mute);
    border-bottom: 1px solid transparent; transition: color var(--t-fast);
}
.evo-drawer__tab.is-active { color: var(--c-ink); border-bottom-color: var(--c-ink); }
.evo-drawer__feed { padding: var(--s-2) var(--s-5); }
.evo-drawer__feed-row { position: relative; display: flex; align-items: flex-start; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--c-line); }
.evo-drawer__feed-media { flex: 0 0 56px; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--c-off); border-radius: var(--r-sm); overflow: hidden; }
.evo-drawer__feed-media img { max-height: 44px; max-width: 44px; width: auto; mix-blend-mode: multiply; }
.evo-drawer__feed-body { flex: 1 1 auto; min-width: 0; padding-right: 28px; }
.evo-drawer__feed-text { font-size: var(--fs-sm); line-height: 1.45; color: var(--c-ink-2); }
.evo-drawer__feed-time { color: var(--c-mute); font-size: var(--fs-xs); }
.evo-drawer__feed-name { font-size: var(--fs-sm); line-height: 1.35; }
.evo-drawer__feed-var { font-size: var(--fs-xs); color: var(--c-mute); }
.evo-drawer__feed-price { font-size: var(--fs-sm); font-weight: 500; text-transform: uppercase; margin-top: 2px; }
.evo-drawer__feed .evo-badge { height: 16px; padding: 0 6px; font-size: 8px; vertical-align: middle; }
.evo-drawer__feed-remove { position: absolute; right: 0; top: var(--s-3); width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--c-mute); }
.evo-drawer__cta { padding: var(--s-4) var(--s-5) 0; }
.evo-drawer__cta .evo-btn { width: 100%; }
.evo-drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding: var(--s-4) var(--s-5) var(--s-6); background: var(--c-off); border-top: 1px solid var(--c-line); }
.evo-drawer__foot-item { display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: 44px; border: 0; background: none; text-align: left; cursor: pointer; font-size: var(--fs-sm); color: var(--c-ink-2); }
.evo-drawer__foot-item > .evo-icon { color: var(--c-mute-2); margin-left: auto; }
.evo-drawer__foot-icon { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--c-white); border: 1px solid var(--c-line); display: inline-flex; align-items: center; justify-content: center; color: var(--c-ink); }

/* ---------- 9. Country chooser (inside core .evo-modal) ---------- */
.evo-country__body { display: flex; flex-direction: column; gap: var(--s-4); }
.evo-country__list { margin: 0; padding: 0; list-style: none; max-height: 44vh; overflow-y: auto; border-top: 1px solid var(--c-line); }
.evo-country__row {
    display: flex; align-items: center; gap: var(--s-3); padding: 10px 6px; border-bottom: 1px solid var(--c-line); cursor: pointer;
    font-size: var(--fs-md); color: var(--c-ink-2); transition: background var(--t-fast), color var(--t-fast);
}
.evo-country__row:hover { color: var(--c-ink); }
.evo-country__row.is-selected { color: var(--c-ink); font-weight: 400; background: var(--c-off); }
.evo-country__flag { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; flex: 0 0 auto; }
.evo-country__name { flex: 1 1 auto; min-width: 0; }
.evo-country .evo-modal__foot .evo-btn { width: 100%; }

/* ---------- 10. Back to top (shown by GeneralFunctions.js on some pages) ---------- */
.evo-totop {
    display: none; position: fixed; right: var(--s-4); bottom: var(--s-4); z-index: 60; width: 40px; height: 40px; line-height: 38px; text-align: center;
    border: 0; padding: 0; border-radius: 50%; background: var(--c-black); color: var(--c-white); box-shadow: var(--shadow-1); cursor: pointer;
}
.evo-totop .evo-icon { vertical-align: middle; }

/* ---------- 11. Page body ---------- */
.evo-main { display: block; min-height: 50vh; }

/* ---------- 12. Login nudge ---------- */
.evo-nudge {
    position: fixed; left: var(--s-4); bottom: var(--s-4); z-index: 85; width: min(360px, calc(100vw - 32px));
    background: var(--c-white); color: var(--c-ink); border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--shadow-2);
    padding: var(--s-5) var(--s-5) var(--s-4); animation: evo-fade-up var(--t-med);
}
.evo-nudge p { margin: 0; }
.evo-nudge__close { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--c-mute); border: 0; background: none; cursor: pointer; }
.evo-nudge__close:hover { background: var(--c-off); color: var(--c-ink); }
.evo-nudge__title { font-family: var(--f-display); font-size: var(--fs-h4); line-height: 1.15; margin: 0 28px 6px 0; }
.evo-nudge__text { font-size: var(--fs-sm); color: var(--c-ink-2); line-height: 1.5; margin-bottom: var(--s-4); }
.evo-nudge__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* ---------- 13. Footer ---------- */
.evo-ftr { background: var(--c-black); color: var(--c-white); font-family: var(--f-body); font-size: var(--fs-md); line-height: 1.5; }
.evo-ftr a { color: inherit; text-decoration: none; }
.evo-ftr ul { margin: 0; padding: 0; list-style: none; }
.evo-ftr p, .evo-ftr h2 { margin: 0; }
.evo-ftr img { display: block; max-width: 100%; }
.evo-ftr__inner { max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); }

.evo-ftr__values { padding: var(--s-7) 0; border-bottom: 1px solid var(--c-dark-line); }
.evo-ftr__values-title { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 300; line-height: 1.15; margin-bottom: var(--s-5); max-width: 520px; }
.evo-ftr__values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-4); }
.evo-ftr__value { display: flex; flex-direction: column; gap: 4px; color: var(--c-white); }
.evo-ftr__value-icon { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s-2); transition: background var(--t-fast), color var(--t-fast); }
.evo-ftr__value:hover .evo-ftr__value-icon { background: var(--c-white); color: var(--c-black); }
.evo-ftr__value-title { font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--ls-wide); text-transform: uppercase; }
.evo-ftr__value-sub { font-size: var(--fs-sm); color: var(--c-dark-mute); line-height: 1.5; }

.evo-ftr__brand { padding: var(--s-7) 0 var(--s-5); }
.evo-ftr__logo { height: 26px; width: auto; filter: brightness(0) invert(1); }

.evo-ftr__cols { display: grid; grid-template-columns: 1fr; gap: var(--s-6); padding-bottom: var(--s-7); border-bottom: 1px solid var(--c-dark-line); }
.evo-ftr__col { min-width: 0; }
.evo-ftr__title { font-family: var(--f-body); font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--c-white); padding-bottom: var(--s-3); margin-bottom: var(--s-4); border-bottom: 1px solid var(--c-dark-line); }
.evo-ftr__list li + li { margin-top: 10px; }
.evo-ftr__link { font-size: var(--fs-md); color: var(--c-dark-mute); transition: color var(--t-fast); }
.evo-ftr__link:hover { color: var(--c-white); }
.evo-ftr__social { display: flex; gap: var(--s-2); }
.evo-ftr__social-link { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: inline-flex; align-items: center; justify-content: center; color: var(--c-white); transition: background var(--t-fast), color var(--t-fast); }
.evo-ftr__social-link:hover { background: var(--c-white); color: var(--c-black); }
.evo-ftr__news-text { font-size: var(--fs-sm); color: var(--c-dark-mute); margin-bottom: var(--s-4); }
.evo-ftr__news { display: flex; align-items: center; gap: var(--s-2); height: 48px; padding: 0 5px 0 20px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.25); background: transparent; transition: border-color var(--t-fast); }
.evo-ftr__news:focus-within { border-color: var(--c-white); }
.evo-ftr__news-input { flex: 1 1 auto; min-width: 0; height: 100%; padding: 0; background: transparent; border: 0; outline: 0; color: var(--c-white); font: inherit; font-size: var(--fs-md); font-weight: 300; }
.evo-ftr__news-input::placeholder { color: var(--c-dark-mute); }
.evo-ftr__news-btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 18px; border: 0; border-radius: var(--r-pill); background: var(--c-white); color: var(--c-black); cursor: pointer; font: inherit; font-size: var(--fs-xs); font-weight: 500; letter-spacing: var(--ls-wide); text-transform: uppercase; transition: background var(--t-fast); }
.evo-ftr__news-btn:hover { background: var(--c-off-2); }

.evo-ftr__bottom { display: flex; flex-direction: column; gap: var(--s-5); padding: var(--s-6) 0 var(--s-7); }
.evo-ftr__pay { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.evo-ftr__pay-item { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 4px 10px; border-radius: 8px; background: var(--c-white); overflow: hidden; }
.evo-ftr__pay-item img { max-height: 22px; width: auto; }
.evo-ftr__pay-item--netopia { background: #143d9f; padding: 0 8px; }
.evo-ftr__pay-item--legal img { max-height: 26px; }
.evo-ftr__legal { display: flex; flex-wrap: wrap; gap: 4px var(--s-4); font-size: var(--fs-sm); color: var(--c-dark-mute); }

/* =====================================================================
   Breakpoints
   ===================================================================== */

@media (min-width: 700px) {
    .evo-hdr__inner { padding: 0 var(--s-6); }
    .evo-hdr__search { max-width: 560px; justify-self: center; width: 100%; }
    .evo-hdr__logo-img { height: 26px; }
    .evo-drawer-nav { box-shadow: 0 0 0 100vmax rgba(10,10,10,.35); }
    .evo-ftr__cols { grid-template-columns: 1fr 1fr; }
    .evo-ftr__col--news { grid-column: 1 / -1; }
    .evo-ftr__values-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 899px) {
    .evo-hdr__pop { display: none !important; }
    .evo-mega { display: none !important; }
}

@media (min-width: 900px) {
    .evo-hdr { position: relative; }
    .evo-hdr::before { content: ""; position: absolute; left: 0; right: 0; top: var(--hdr-top-h); height: 1px; background: var(--c-dark-line); }
    .evo-hdr__spacer { display: none; }
    .evo-hdr__inner {
        grid-template-columns: auto 1fr auto; grid-template-rows: var(--hdr-top-h) var(--hdr-main-h);
        grid-template-areas: "util util actions" "logo nav search";
        max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); min-height: 0;
    }
    .evo-hdr__burger { display: none; }
    .evo-hdr__logo { justify-self: start; height: var(--hdr-main-h); }
    .evo-hdr__logo-img { height: 30px; }
    .evo-hdr__util { grid-area: util; display: flex; align-items: center; gap: var(--s-5); height: var(--hdr-top-h); }
    .evo-hdr__actions { height: var(--hdr-top-h); gap: 2px; }
    .evo-hdr__actions .evo-hdr__iconbtn { width: 36px; height: 36px; }
    .evo-hdr__actions .evo-hdr__iconbtn .evo-icon { width: 17px; height: 17px; }
    .evo-hdr__count { top: 1px; right: -1px; }
    .evo-hdr__search-toggle { display: none; }
    .evo-hdr__user-m { display: none; }
    .evo-hdr__item--globe { display: flex; }
    .evo-hdr__item--user { display: flex; }
    .evo-hdr__nav { grid-area: nav; display: flex; align-items: stretch; justify-content: center; gap: var(--s-5); height: var(--hdr-main-h); }
    .evo-hdr__search { grid-area: search; display: block; width: 250px; max-width: none; padding: 0; justify-self: end; }
    .evo-hdr__search-box { height: 40px; }
    .evo-hdr__results { width: 360px; left: auto; right: 0; top: calc(100% + 8px); }
    .evo-mega { display: block; }
    .evo-hdr__pop--globe { right: -80px; }
}

@media (min-width: 1200px) {
    .evo-hdr__nav { gap: var(--s-7); }
    .evo-hdr__search { width: 320px; }
    .evo-hdr__logo-img { height: 34px; }
    .evo-mega__inner { grid-template-columns: 260px 1fr 300px; gap: var(--s-8); }
    .evo-mega__aside { display: grid; gap: var(--s-3); align-content: start; }
    .evo-mega--brands .evo-mega__inner { grid-template-columns: 280px 1fr; }
    .evo-mega__logos { grid-template-columns: repeat(5, 1fr); }
    .evo-ftr__cols { grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: var(--s-7); }
    .evo-ftr__col--news { grid-column: auto; }
    .evo-ftr__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
    .evo-ftr__legal { justify-content: flex-end; text-align: right; max-width: 560px; }
}
