/* =====================================================================
   Jersey Musium – storefront design system
   Mobile-first. Layout pattern inspired by Indian fashion marketplaces
   (mega-menu header, filter sidebar PLP, sticky PDP buy box, price card bag).
   ===================================================================== */

/* ---------- tokens ---------- */
:root {
    --brand: #e11d48;
    --brand-600: #be123c;
    --brand-50: #fff1f3;
    --gold: #f5a524;
    --green: #03a685;
    --green-50: #e9f8f4;
    --navy: #0b1020;
    --ink: #1c2230;
    --ink-2: #3e4152;
    --muted: #7e818c;
    --line: #eaeaec;
    --line-2: #d4d5d9;
    --bg: #ffffff;
    --bg-soft: #f5f5f6;
    --warning: #ff905a;
    --danger: #d32f2f;
    --radius: 10px;
    --radius-sm: 6px;
    --shadow-sm: 0 1px 3px rgba(16, 24, 40, .08);
    --shadow: 0 6px 24px rgba(16, 24, 40, .10);
    --shadow-lg: 0 16px 48px rgba(16, 24, 40, .16);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --display: "Barlow Condensed", "Inter", system-ui, sans-serif;
    --header-h: 72px;
    --container: 1320px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 14px/1.5 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 6px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

/* ---------- buttons & forms ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 44px; padding: .7rem 1.4rem; border-radius: var(--radius-sm);
    border: 1px solid transparent; font-weight: 700; font-size: 14px; letter-spacing: .02em; text-transform: uppercase;
    background: var(--brand); color: #fff; transition: background .15s, transform .1s, box-shadow .15s; white-space: nowrap;
}
.btn:hover { background: var(--brand-600); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { background: #fff; border-color: var(--ink); }
.btn--dark { background: var(--navy); }
.btn--dark:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--brand); padding-inline: .5rem; min-height: 0; }
.btn--ghost:hover { background: transparent; text-decoration: underline; }
.btn--block { width: 100%; }
.btn--lg { min-height: 52px; font-size: 15px; }
.btn--sm { min-height: 34px; padding: .35rem .8rem; font-size: 12px; }

.field { display: block; margin-bottom: 1rem; }
.field > span { display: block; margin-bottom: .35rem; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input, .select, .textarea {
    width: 100%; min-height: 44px; padding: .65rem .85rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
    background: #fff; transition: border-color .15s, box-shadow .15s; font-size: 14px;
}
.textarea { min-height: 100px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(28, 34, 48, .08); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field-error { display: block; color: var(--danger); font-size: 12px; margin-top: .3rem; }
.grid-2 { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; align-items: center; gap: .55rem; cursor: pointer; font-size: 14px; }
.check input { width: 17px; height: 17px; accent-color: var(--brand); }

.badge { display: inline-flex; align-items: center; gap: .25rem; padding: .18rem .55rem; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; background: var(--bg-soft); color: var(--ink-2); }
.badge--success { background: var(--green-50); color: var(--green); }
.badge--warning { background: #fff4e5; color: #b45309; }
.badge--danger { background: #fdecec; color: var(--danger); }
.badge--info, .badge--primary { background: #eaf2ff; color: #1d4ed8; }
.badge--muted { background: #f1f1f3; color: var(--muted); }

/* ---------- announcement & header ---------- */
.announce { background: var(--navy); color: #fff; font-size: 12px; font-weight: 500; text-align: center; padding: .5rem 1rem; letter-spacing: .02em; }
.announce a { text-decoration: underline; }

.header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .05); }
.header__inner { display: flex; align-items: center; gap: 1rem; height: 60px; }
@media (min-width: 1024px) { .header__inner { height: var(--header-h); gap: 1.75rem; } }
.logo { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.logo img { width: 36px; height: 36px; }
.logo__word { font: 800 italic 22px/0.9 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.logo__word span { color: var(--brand); }
@media (max-width: 420px) { .logo__word { font-size: 19px; } }

.menu-btn { display: inline-flex; border: 0; background: none; padding: 6px; margin-left: -6px; }
@media (min-width: 1024px) { .menu-btn { display: none; } }

/* mega menu */
.nav { display: none; height: 100%; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav__item { position: static; display: flex; align-items: center; }
.nav__link {
    display: flex; align-items: center; height: 100%; padding: 0 .85rem; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
    border-bottom: 4px solid transparent; border-top: 4px solid transparent; transition: border-color .15s;
}
.nav__item:hover .nav__link, .nav__item:focus-within .nav__link { border-bottom-color: var(--brand); }
.mega {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
    border-top: 1px solid var(--line);
}
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.5rem 2rem; padding: 1.75rem 32px 2rem; max-width: var(--container); margin: 0 auto; }
.mega__title { font-size: 13px; font-weight: 700; color: var(--brand); margin-bottom: .6rem; display: block; }
.mega a.mega__sub { display: block; padding: .22rem 0; color: var(--ink-2); font-size: 14px; }
.mega a.mega__sub:hover { color: var(--ink); font-weight: 600; }
.mega__promo { border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #fff; padding: 1.2rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 160px; background-size: cover; background-position: center; }
.mega__promo strong { font: 800 italic 26px/1 var(--display); text-transform: uppercase; }

/* search */
.search { position: relative; flex: 1; max-width: 520px; display: none; }
@media (min-width: 768px) { .search { display: block; } }
.search__input {
    width: 100%; height: 42px; padding: 0 1rem 0 2.6rem; border-radius: var(--radius-sm); border: 1px solid transparent;
    background: var(--bg-soft); font-size: 14px;
}
.search__input:focus { outline: none; background: #fff; border-color: var(--line-2); }
.search__icon { position: absolute; left: .85rem; top: 50%; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.suggest {
    position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: .5rem; display: none; z-index: 120; max-height: 70vh; overflow: auto;
}
.suggest.is-open { display: block; }
.suggest__label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: .5rem .6rem .25rem; }
.suggest a { display: flex; align-items: center; gap: .75rem; padding: .5rem .6rem; border-radius: var(--radius-sm); }
.suggest a:hover, .suggest a.is-active { background: var(--bg-soft); }
.suggest img { width: 36px; height: 45px; object-fit: cover; border-radius: 4px; background: var(--bg-soft); }
.suggest small { color: var(--muted); display: block; }

.actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.action { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .35rem .55rem; font-size: 11px; font-weight: 700; color: var(--ink); background: none; border: 0; }
.action svg { width: 22px; height: 22px; }
.action__label { display: none; }
@media (min-width: 1024px) { .action__label { display: block; } }
.action__count {
    position: absolute; top: 0; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    background: var(--brand); color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center;
}
.action__count:empty, .action__count[data-count="0"] { display: none; }
.action--search { display: flex; }
@media (min-width: 768px) { .action--search { display: none; } }

.dropdown { position: relative; }
.dropdown__panel {
    position: absolute; right: 0; top: calc(100% + 8px); width: 260px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 1rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 130;
}
.dropdown:hover .dropdown__panel, .dropdown:focus-within .dropdown__panel { opacity: 1; visibility: visible; transform: none; }
.dropdown__panel a, .dropdown__panel button.link { display: block; width: 100%; text-align: left; padding: .45rem 0; color: var(--ink-2); border: 0; background: none; font-size: 14px; }
.dropdown__panel a:hover, .dropdown__panel button.link:hover { color: var(--ink); font-weight: 600; }
.dropdown__panel hr { border: 0; border-top: 1px solid var(--line); margin: .5rem 0; }

/* mobile search sheet + drawer */
.msearch { display: none; padding: .5rem 0 .75rem; }
.msearch.is-open { display: block; }
@media (min-width: 768px) { .msearch { display: none !important; } }

.drawer { position: fixed; inset: 0; z-index: 300; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(11, 16, 32, .5); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
    position: absolute; left: 0; top: 0; bottom: 0; width: min(86vw, 360px); background: #fff; overflow-y: auto;
    transform: translateX(-100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.drawer--right .drawer__panel { left: auto; right: 0; transform: translateX(100%); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem; border-bottom: 1px solid var(--line); background: var(--navy); color: #fff; }
.drawer__head h2 { color: #fff; margin: 0; font-size: 16px; }
.drawer__close { border: 0; background: none; color: inherit; padding: 4px; }
.mnav details { border-bottom: 1px solid var(--line); }
.mnav summary, .mnav > a { display: flex; justify-content: space-between; align-items: center; padding: 1rem; font-weight: 600; list-style: none; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after { content: "+"; font-size: 20px; color: var(--muted); }
.mnav details[open] summary::after { content: "–"; }
.mnav details a { display: block; padding: .6rem 1.5rem; color: var(--ink-2); }
.mnav > a { border-bottom: 1px solid var(--line); }

/* bottom app bar (mobile) */
.appbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--line);
    display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom);
}
.appbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .45rem 0 .4rem; font-size: 10px; font-weight: 600; color: var(--muted); position: relative; }
.appbar a.is-active { color: var(--brand); }
.appbar svg { width: 22px; height: 22px; }
body { padding-bottom: 62px; }
@media (min-width: 1024px) { .appbar { display: none; } body { padding-bottom: 0; } }

/* ---------- toasts ---------- */
.toasts { position: fixed; z-index: 500; left: 50%; bottom: 80px; translate: -50% 0; display: grid; gap: .5rem; width: min(92vw, 420px); pointer-events: none; }
@media (min-width: 1024px) { .toasts { bottom: auto; top: calc(var(--header-h) + 16px); } }
.toast {
    pointer-events: auto; display: flex; align-items: flex-start; gap: .65rem; padding: .85rem 1rem; border-radius: var(--radius);
    background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); font-weight: 500;
    animation: toastIn .3s cubic-bezier(.2, .9, .3, 1.2);
}
.toast--success { background: #0f5132; }
.toast--error { background: #9b1c1c; }
.toast button { margin-left: auto; background: none; border: 0; color: inherit; opacity: .7; padding: 0 0 0 .5rem; }
.toast.is-hiding { animation: toastOut .25s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* ---------- sections ---------- */
main { min-height: 50vh; }
.section { padding: 28px 0; }
@media (min-width: 1024px) { .section { padding: 44px 0; } }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.section__title { font: 800 italic clamp(24px, 3.2vw, 36px)/1 var(--display); text-transform: uppercase; letter-spacing: .01em; margin: 0; }
.section__title span { color: var(--brand); }
.section__link { font-weight: 700; font-size: 13px; color: var(--brand); white-space: nowrap; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: .3rem; }

/* hero slider */
.hero { position: relative; overflow: hidden; background: var(--navy); }
.hero__track { display: flex; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.hero__slide { position: relative; flex: 0 0 100%; aspect-ratio: 4 / 5; display: block; color: #fff; }
@media (min-width: 768px) { .hero__slide { aspect-ratio: 21 / 8; } }
.hero__slide picture, .hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 7, 13, .78), rgba(5, 7, 13, .2) 60%, transparent); }
.hero__slide--light { color: var(--ink); }
.hero__slide--light::after { background: linear-gradient(90deg, rgba(255, 255, 255, .85), transparent 60%); }
.hero__copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 12%; padding: 0 24px; max-width: 620px; }
@media (min-width: 768px) { .hero__copy { top: 50%; bottom: auto; translate: 0 -50%; padding-left: 64px; } }
.hero__title { font: 800 italic clamp(38px, 6vw, 76px)/.92 var(--display); text-transform: uppercase; color: inherit; margin-bottom: .4em; }
.hero__sub { font-size: clamp(14px, 1.4vw, 18px); opacity: .9; margin-bottom: 1.4em; }
.hero__dots { position: absolute; z-index: 3; bottom: 14px; left: 50%; translate: -50% 0; display: flex; gap: 6px; }
.hero__dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .5); padding: 0; transition: width .3s, background .3s; }
.hero__dots button.is-active { width: 26px; background: #fff; }
.hero__nav { position: absolute; z-index: 3; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); display: none; place-items: center; box-shadow: var(--shadow); }
.hero__nav--prev { left: 16px; } .hero__nav--next { right: 16px; }
@media (min-width: 1024px) { .hero__nav { display: grid; } }
/* fallback hero when no banners are configured */
.hero--brand .hero__slide { background: radial-gradient(ellipse at 70% 40%, #2a1030, var(--navy) 60%); }
.hero--brand .hero__slide::after { background: none; }

/* category circles */
.cats { display: grid; grid-auto-flow: column; grid-auto-columns: 92px; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .cats { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 24px; overflow: visible; } }
.cat { scroll-snap-align: start; text-align: center; }
.cat__img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: linear-gradient(145deg, #ffe4ea, #f1f3f6); margin-bottom: .5rem; display: grid; place-items: center; border: 2px solid transparent; transition: border-color .2s, transform .2s; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; }
.cat__img span { font: 800 italic 30px/1 var(--display); color: var(--brand); }
.cat:hover .cat__img { border-color: var(--brand); transform: translateY(-2px); }
.cat__name { font-size: 13px; font-weight: 600; }

/* team chips */
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 13px; background: #fff; transition: .15s; }
.chip:hover, .chip.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }

/* promo strip banners */
.promo-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .promo-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.promo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; display: block; background: var(--navy); color: #fff; }
.promo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.promo:hover img { transform: scale(1.04); }
.promo__copy { position: absolute; inset: auto 0 0 0; padding: 1rem 1.2rem; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.promo__copy strong { font: 800 italic 26px/1 var(--display); text-transform: uppercase; display: block; }

/* trust strip */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust div { display: flex; align-items: center; gap: .75rem; padding: 1rem; border-radius: var(--radius); background: var(--bg-soft); font-size: 13px; }
.trust svg { flex-shrink: 0; color: var(--brand); }
.trust strong { display: block; font-size: 14px; }

/* ---------- product card & grids ---------- */
.rail { position: relative; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail__track::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .rail__track { grid-auto-columns: 31%; } }
@media (min-width: 1024px) { .rail__track { grid-auto-columns: calc((100% - 4 * 20px) / 5); gap: 20px; } }
.rail__track > * { scroll-snap-align: start; }
.rail__btn { position: absolute; top: 38%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); display: none; place-items: center; }
.rail__btn--prev { left: -18px; } .rail__btn--next { right: -18px; }
@media (min-width: 1024px) { .rail__btn { display: grid; } }

.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
@media (min-width: 768px) { .pgrid { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; } }
@media (min-width: 1280px) { .pgrid--wide { grid-template-columns: repeat(4, 1fr); } }

.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-sm); transition: box-shadow .2s; }
@media (hover: hover) { .pcard:hover { box-shadow: var(--shadow); } }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: var(--bg-soft); }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .5s; }
.pcard__alt { opacity: 0; }
@media (hover: hover) { .pcard:hover .pcard__alt { opacity: 1; } .pcard:hover .pcard__media img:first-child { transform: scale(1.03); } }
.pcard__tags { position: absolute; left: 8px; top: 8px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.tag { padding: .2rem .45rem; border-radius: 4px; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.tag--new { background: var(--navy); color: #fff; }
.tag--hot { background: var(--brand); color: #fff; }
.tag--custom { background: var(--gold); color: var(--navy); }
.pcard__rating { position: absolute; left: 8px; bottom: 8px; z-index: 2; display: flex; align-items: center; gap: .3rem; padding: .15rem .45rem; border-radius: 4px; background: rgba(255, 255, 255, .92); font-size: 11px; font-weight: 700; }
.pcard__rating svg { color: var(--green); }
.pcard__rating em { font-style: normal; color: var(--muted); font-weight: 500; border-left: 1px solid var(--line-2); padding-left: .3rem; }
.pcard__soldout { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgba(255, 255, 255, .6); }
.pcard__soldout span { background: #fff; padding: .4rem .8rem; border-radius: 4px; font-weight: 800; font-size: 12px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.wish-btn {
    position: absolute; right: 8px; top: 8px; z-index: 4; width: 34px; height: 34px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .15s;
}
.wish-btn:hover { transform: scale(1.08); }
.wish-btn svg { width: 18px; height: 18px; }
.wish-btn.is-on svg { fill: var(--brand); stroke: var(--brand); animation: pop .35s; }
@keyframes pop { 50% { transform: scale(1.35); } }
.pcard__body { padding: .65rem .6rem .8rem; }
.pcard__brand { font-size: 14px; font-weight: 700; margin: 0 0 .15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__name { font-size: 13px; color: var(--muted); margin: 0 0 .35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .45rem; font-size: 14px; }
.price strong { font-weight: 700; }
.price s { color: var(--muted); font-size: 12px; }
.price .off { color: var(--warning); font-weight: 700; font-size: 12px; }

/* ---------- breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: .35rem; font-size: 13px; color: var(--muted); padding: 14px 0 6px; }
.crumbs a:hover { color: var(--ink); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; color: var(--line-2); }
.crumbs li:last-child { color: var(--ink); font-weight: 600; }

/* ---------- listing (PLP) ---------- */
.plp-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; margin: 6px 0 14px; }
.plp-head h1 { font-size: 18px; margin: 0; }
.plp-head span { color: var(--muted); }
.plp { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1024px) { .plp { grid-template-columns: 252px 1fr; } }
.filters { display: none; }
@media (min-width: 1024px) { .filters { display: block; border-right: 1px solid var(--line); padding-right: 20px; } }
.filters__title { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.filters__title a { font-size: 12px; color: var(--brand); text-transform: uppercase; }
.fgroup { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.fgroup h3 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .7rem; }
.fgroup .check { padding: .25rem 0; font-size: 13px; color: var(--ink-2); }
.fgroup .check em { font-style: normal; color: var(--muted); font-size: 12px; }
.fgroup__list { max-height: 260px; overflow-y: auto; }
.fsizes { display: flex; flex-wrap: wrap; gap: 6px; }
.fsizes label { cursor: pointer; }
.fsizes input { position: absolute; opacity: 0; }
.fsizes span { display: inline-grid; place-items: center; min-width: 44px; height: 36px; padding: 0 .6rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12px; font-weight: 700; }
.fsizes input:checked + span { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.fsizes input:focus-visible + span { outline: 2px solid var(--brand); }

.sortbar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.applied { display: flex; flex-wrap: wrap; gap: .4rem; }
.applied a { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; }
.applied a::after { content: "×"; font-size: 15px; line-height: 1; color: var(--muted); }
.sort { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.sort label { font-size: 13px; color: var(--muted); }
.sort .select { width: auto; min-height: 38px; padding-block: .4rem; font-weight: 600; }
.mfilter-btn { display: inline-flex; }
@media (min-width: 1024px) { .mfilter-btn { display: none; } }
.subcats { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem; margin: 2.2rem 0 1rem; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 .75rem; display: grid; place-items: center; border-radius: var(--radius-sm); border: 1px solid var(--line-2); font-weight: 600; font-size: 13px; background: #fff; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .gap { border: 0; }
.pagination a:hover { border-color: var(--ink); }

.empty { text-align: center; padding: 56px 16px; }
.empty svg { margin: 0 auto 1rem; color: var(--line-2); }
.empty h2 { font-size: 20px; }
.empty p { color: var(--muted); max-width: 420px; margin: 0 auto 1.25rem; }

/* ---------- product page (PDP) ---------- */
.pdp { display: grid; grid-template-columns: 1fr; gap: 24px; padding-bottom: 32px; }
@media (min-width: 1024px) { .pdp { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; } }
.gallery { display: grid; gap: 8px; }
.gallery__main { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-sm); background: var(--bg-soft); cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease-out; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gallery__main.is-zoom img { transform: scale(2); }
.gallery__thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 72px; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-soft); }
.gallery__thumbs button.is-active { border-color: var(--brand); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
    .gallery { grid-template-columns: 84px 1fr; align-items: start; position: sticky; top: calc(var(--header-h) + 16px); }
    .gallery__thumbs { grid-auto-flow: row; grid-auto-columns: auto; order: -1; max-height: 640px; overflow-y: auto; }
}

.buybox h1 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; margin-bottom: .2rem; }
.buybox__team { font-size: 15px; color: var(--muted); margin-bottom: .6rem; }
.ratingpill { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .6rem; border: 1px solid var(--line); border-radius: 4px; font-weight: 700; font-size: 13px; margin-bottom: 1rem; }
.ratingpill svg { color: var(--green); }
.ratingpill span { color: var(--muted); font-weight: 500; border-left: 1px solid var(--line-2); padding-left: .45rem; }
.buybox hr { border: 0; border-top: 1px solid var(--line); margin: 1rem 0; }
.bigprice { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .75rem; font-size: 24px; }
.bigprice strong { font-weight: 800; }
.bigprice s { color: var(--muted); font-size: 18px; font-weight: 400; }
.bigprice .off { color: var(--warning); font-weight: 800; font-size: 18px; }
.taxnote { color: var(--green); font-weight: 600; font-size: 13px; margin: .3rem 0 0; }
.sizes-head { display: flex; justify-content: space-between; align-items: center; margin: 1.25rem 0 .7rem; }
.sizes-head h2 { font-size: 15px; text-transform: uppercase; margin: 0; letter-spacing: .03em; }
.sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size span { display: grid; place-items: center; min-width: 52px; height: 52px; padding: 0 .8rem; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; background: #fff; transition: .15s; }
.size input:checked + span { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.size input:disabled + span { color: var(--line-2); text-decoration: line-through; cursor: not-allowed; background: var(--bg-soft); }
.size input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.size small { position: absolute; left: 50%; bottom: -16px; translate: -50% 0; font-size: 10px; color: var(--warning); font-weight: 700; white-space: nowrap; }
.size-error { color: var(--danger); font-size: 13px; font-weight: 600; margin-top: .9rem; display: none; }
.size-error.is-visible { display: block; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.customize { margin-top: 1.5rem; border: 1px dashed var(--gold); background: #fffaf0; border-radius: var(--radius); padding: 1rem; }
.customize summary { cursor: pointer; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: .5rem; list-style: none; }
.customize summary::-webkit-details-marker { display: none; }
.customize .grid-2 { margin-top: .9rem; }
.jersey-preview { display: grid; place-items: center; margin: .5rem auto 0; width: 150px; aspect-ratio: 1; position: relative; }
.jersey-preview svg { width: 100%; height: 100%; }
.jersey-preview__name, .jersey-preview__num { position: absolute; left: 50%; translate: -50% 0; color: #fff; font-family: var(--display); font-weight: 800; text-transform: uppercase; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); white-space: nowrap; }
.jersey-preview__name { top: 30%; font-size: 15px; letter-spacing: .06em; }
.jersey-preview__num { top: 41%; font-size: 52px; line-height: 1; }

.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 1.75rem; }
.buy-actions .btn { min-height: 54px; }
.buy-actions .wish { background: #fff; color: var(--ink); border-color: var(--line-2); }
.buy-actions .wish.is-on svg { fill: var(--brand); stroke: var(--brand); }
@media (max-width: 1023px) {
    .buy-actions--sticky { position: fixed; left: 0; right: 0; bottom: 56px; z-index: 80; background: #fff; padding: 10px 16px; margin: 0; box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); }
}
.pin { display: flex; gap: .5rem; margin-top: .6rem; }
.pin .input { max-width: 220px; }
.pin-result { font-size: 13px; margin-top: .5rem; font-weight: 600; }
.pin-result.ok { color: var(--green); } .pin-result.err { color: var(--danger); }
.offers li { display: flex; gap: .6rem; padding: .45rem 0; font-size: 13px; }
.offers li svg { flex-shrink: 0; color: var(--green); margin-top: 2px; }
.offers code { font-weight: 800; color: var(--brand); background: var(--brand-50); padding: .05rem .35rem; border-radius: 4px; font-family: inherit; }
.perks { display: grid; gap: .5rem; font-size: 13px; color: var(--ink-2); }
.perks li { display: flex; gap: .5rem; align-items: center; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { padding: 1rem 0; font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .03em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--muted); }
.acc details[open] summary::after { content: "–"; }
.acc .acc__body { padding-bottom: 1rem; color: var(--ink-2); font-size: 14px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.5rem; }
.specs dt { font-size: 12px; color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: .4rem; }
.sizechart { width: 100%; border-collapse: collapse; font-size: 13px; }
.sizechart th, .sizechart td { border: 1px solid var(--line); padding: .5rem; text-align: center; }
.sizechart th { background: var(--bg-soft); }

.reviews { display: grid; gap: 24px; }
@media (min-width: 900px) { .reviews { grid-template-columns: 300px 1fr; } }
.rsummary__big { font: 800 48px/1 var(--display); display: flex; align-items: center; gap: .4rem; }
.rsummary__big svg { color: var(--green); width: 30px; height: 30px; }
.rbars { display: grid; gap: .35rem; margin-top: 1rem; }
.rbar { display: grid; grid-template-columns: 28px 1fr 36px; align-items: center; gap: .5rem; font-size: 12px; color: var(--muted); }
.rbar div { height: 5px; border-radius: 4px; background: var(--bg-soft); overflow: hidden; }
.rbar div i { display: block; height: 100%; background: var(--green); }
.review { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.review__stars { display: inline-flex; align-items: center; gap: .2rem; padding: .1rem .4rem; border-radius: 4px; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; }
.review__meta { color: var(--muted); font-size: 12px; margin-top: .4rem; }
.stars-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars-input input { position: absolute; opacity: 0; }
.stars-input label { font-size: 30px; color: var(--line-2); cursor: pointer; line-height: 1; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: var(--gold); }

/* ---------- cart & checkout ---------- */
.bag { display: grid; gap: 24px; padding: 20px 0 40px; }
@media (min-width: 1024px) { .bag { grid-template-columns: 1fr 380px; align-items: start; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
@media (min-width: 768px) { .card { padding: 1.25rem; } }
.card + .card { margin-top: 16px; }
.card__title { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1rem; }
.line { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line img { width: 96px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); background: var(--bg-soft); }
.line__title { font-weight: 700; margin: 0 0 .15rem; }
.line__sub { color: var(--muted); font-size: 13px; margin: 0 0 .5rem; }
.line__opts { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .5rem; }
.line__opts .select { width: auto; min-height: 32px; padding: .2rem 1.6rem .2rem .55rem; font-size: 13px; font-weight: 700; background-color: var(--bg-soft); border-color: transparent; }
.line__custom { font-size: 12px; background: #fffaf0; border: 1px dashed var(--gold); padding: .15rem .5rem; border-radius: 4px; }
.line__issue { color: var(--danger); font-weight: 600; font-size: 13px; }
.line__actions { display: flex; gap: 1rem; margin-top: .4rem; }
.line__actions button { border: 0; background: none; padding: 0; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.line__actions button:hover { color: var(--ink); }
.pricecard dl { display: grid; grid-template-columns: 1fr auto; gap: .6rem; margin: 0 0 1rem; font-size: 14px; }
.pricecard dt { color: var(--ink-2); }
.pricecard dd { margin: 0; text-align: right; }
.pricecard .save { color: var(--green); }
.pricecard .total { font-weight: 800; font-size: 16px; padding-top: .75rem; border-top: 1px solid var(--line); }
.coupon-form { display: flex; gap: .5rem; }
.coupon-form .input { text-transform: uppercase; }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; padding: .75rem; border-radius: var(--radius-sm); background: var(--green-50); color: var(--green); font-weight: 700; }
.savings-note { background: var(--green-50); color: var(--green); padding: .6rem .8rem; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; margin-bottom: 1rem; }
.free-ship { font-size: 13px; margin-bottom: 1rem; }
.free-ship__bar { height: 6px; border-radius: 9px; background: var(--bg-soft); overflow: hidden; margin-top: .4rem; }
.free-ship__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--gold)); border-radius: inherit; }

.steps { display: flex; justify-content: center; gap: .5rem; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 18px 0 0; }
.steps .is-active { color: var(--green); border-bottom: 2px solid var(--green); }
.steps i { width: 40px; border-top: 1px dashed var(--line-2); }
.addr { position: relative; display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1rem 1rem 2.75rem; margin-bottom: .75rem; cursor: pointer; transition: border-color .15s; }
.addr input { position: absolute; left: 1rem; top: 1.15rem; accent-color: var(--brand); width: 17px; height: 17px; }
.addr:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.addr strong { display: inline-block; margin-right: .5rem; }
.addr p { margin: .35rem 0 0; color: var(--ink-2); font-size: 13px; }
.pay-opt { display: flex; gap: .85rem; align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .75rem; cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.pay-opt input { accent-color: var(--brand); width: 18px; height: 18px; }
.pay-opt small { display: block; color: var(--muted); }
.secure { display: flex; align-items: center; justify-content: center; gap: .5rem; color: var(--muted); font-size: 12px; margin-top: .9rem; }

/* ---------- account ---------- */
.account { display: grid; gap: 24px; padding: 24px 0 48px; }
@media (min-width: 1024px) { .account { grid-template-columns: 240px 1fr; } }
.acc-nav { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
.acc-nav a, .acc-nav button { flex-shrink: 0; padding: .6rem .9rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; color: var(--ink-2); border: 0; background: none; text-align: left; }
.acc-nav a.is-active { background: var(--brand-50); color: var(--brand); }
@media (min-width: 1024px) { .acc-nav { flex-direction: column; border-right: 1px solid var(--line); padding-right: 16px; } }
.order-card { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .75rem; transition: box-shadow .15s; }
.order-card:hover { box-shadow: var(--shadow); }
.order-card img { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; background: var(--bg-soft); }
.order-card h3 { font-size: 15px; margin: 0 0 .2rem; }
.order-card p { margin: 0; color: var(--muted); font-size: 13px; }

.tracker { display: grid; grid-template-columns: repeat(5, 1fr); margin: 1.5rem 0 1rem; position: relative; }
.tracker li { text-align: center; font-size: 11px; font-weight: 600; color: var(--muted); position: relative; padding-top: 30px; }
.tracker li::before { content: ""; position: absolute; top: 6px; left: 50%; translate: -50% 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); z-index: 1; }
.tracker li::after { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 2px; background: var(--line-2); }
.tracker li:first-child::after { display: none; }
.tracker li.is-done { color: var(--ink); }
.tracker li.is-done::before { background: var(--green); border-color: var(--green); box-shadow: inset 0 0 0 3px #fff; }
.tracker li.is-done::after { background: var(--green); }
.timeline { border-left: 2px solid var(--line); margin-left: 6px; padding-left: 1.1rem; }
.timeline li { position: relative; padding-bottom: 1rem; font-size: 13px; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.1rem - 7px); top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px #fff; }
.timeline time { display: block; color: var(--muted); font-size: 12px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

/* ---------- auth ---------- */
.auth { min-height: 70vh; display: grid; place-items: center; padding: 32px 16px; background: linear-gradient(160deg, var(--brand-50), #fff 40%, var(--bg-soft)); }
.auth__card { width: 100%; max-width: 420px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 2rem 1.5rem; }
@media (min-width: 640px) { .auth__card { padding: 2.5rem; } }
.auth__card h1 { font: 800 italic 34px/1 var(--display); text-transform: uppercase; margin-bottom: .3rem; }
.auth__card .lead { color: var(--muted); margin-bottom: 1.5rem; }
.auth__alt { text-align: center; margin-top: 1.25rem; font-size: 14px; color: var(--muted); }
.auth__alt a { color: var(--brand); font-weight: 700; }

/* ---------- static pages ---------- */
.prose { max-width: 820px; margin: 0 auto; padding: 16px 0 48px; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.prose h1 { font: 800 italic 40px/1 var(--display); text-transform: uppercase; color: var(--ink); }
.prose h2 { font-size: 20px; margin-top: 1.8em; color: var(--ink); }
.prose a { color: var(--brand); text-decoration: underline; }
.prose ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1em; }

/* ---------- footer ---------- */
.footer { background: var(--bg-soft); margin-top: 32px; padding: 40px 0 24px; font-size: 13px; color: var(--ink-2); }
.footer__grid { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: repeat(3, 1fr) 1.6fr; } }
.footer h2 { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; color: var(--ink); }
.footer li { padding: .2rem 0; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer__news { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer__news { grid-column: auto; } }
.footer__news form { display: flex; gap: .5rem; margin: .75rem 0 1.25rem; }
.socials { display: flex; gap: .5rem; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); }
.footer__bottom { border-top: 1px solid var(--line-2); margin-top: 28px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 12px; }
.paylogos { display: flex; gap: .4rem; flex-wrap: wrap; }
.paylogos span { padding: .2rem .5rem; border: 1px solid var(--line-2); border-radius: 4px; font-weight: 800; font-size: 10px; letter-spacing: .04em; background: #fff; color: var(--ink-2); }

/* ---------- utilities ---------- */
.muted { color: var(--muted); }
.text-success { color: var(--green); }
.text-danger { color: var(--danger); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 1rem; }
.flex { display: flex; } .between { justify-content: space-between; } .center { align-items: center; } .gap { gap: .75rem; } .wrap { flex-wrap: wrap; }
.hide-mobile { display: none; }
@media (min-width: 1024px) { .hide-mobile { display: initial; } .hide-desktop { display: none !important; } }
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }
img[loading="lazy"] { transition: opacity .3s; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- print (invoice) ---------- */
@media print {
    .header, .footer, .appbar, .announce, .no-print, .toasts { display: none !important; }
    body { padding: 0; }
}

/* ---------- mobile filter sheet ---------- */
.filters__mbar { display: none; }
@media (max-width: 1023px) {
    .filters.is-open {
        display: block; position: fixed; inset: 0; z-index: 300; background: #fff; overflow-y: auto;
        padding: 16px 16px 96px; animation: sheetUp .25s ease;
    }
    .filters.is-open .filters__mbar {
        display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.08);
    }
}
@keyframes sheetUp { from { transform: translateY(30px); opacity: 0; } }

/* inline icons inside headings / summaries / labels */
h1 svg, h2 svg, h3 svg, .card__title svg, summary svg, .btn svg, .line__actions svg, .secure svg, .badge svg { display: inline-block; vertical-align: -3px; }
.customize summary > span:first-child { display: inline-flex; align-items: center; gap: .45rem; }
.cat__img svg { color: var(--brand); opacity: .85; }

/* Grid/flex children must be allowed to shrink below their content's min-width
   (long product names, sort controls) – otherwise "1fr" tracks overflow the viewport. */
.plp { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .plp { grid-template-columns: 252px minmax(0, 1fr); } }
.plp > *, .bag > *, .account > *, .pdp > *, .pgrid > * { min-width: 0; }
.pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .pgrid--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sortbar > * { min-width: 0; }
.sort .select { max-width: 100%; }
.applied { min-width: 0; flex: 1 1 auto; }

/* OTP entry */
.otp-input { font-size: 26px; letter-spacing: .6em; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.otp-input::placeholder { letter-spacing: .4em; color: var(--line-2); }
