/* ==========================================================================
   Edward's Jeans Outlet — site styles
   Brand red from the Edward's logo, deep indigo denim, contrast-stitch gold.
   ========================================================================== */

:root {
  --red: #e20613;          /* logo red — backgrounds, large display text */
  --red-ink: #c8000f;      /* red for small text (AA on paper) */
  --red-dark: #a8000c;
  --ink: #0d1424;
  --ink-2: #394257;
  --ink-3: #5c6477;
  --paper: #f6f3ee;
  --paper-2: #ece6dd;
  --line: #ddd5ca;
  --line-2: #cbc1b4;
  --denim-950: #070c17;
  --denim-900: #0b1220;
  --denim-800: #111b31;
  --denim-700: #1b2a4a;
  --denim-400: #5b7bb0;
  --thread: #e0a93b;       /* contrast stitching */
  --wa: #25d366;
  --wa-ink: #062e1b;
  --ok: #157347;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgb(13 20 36 / .06), 0 2px 8px rgb(13 20 36 / .06);
  --shadow: 0 2px 4px rgb(13 20 36 / .06), 0 14px 36px rgb(13 20 36 / .14);
  --font: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.has-dialog { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--denim-400); outline-offset: 2px; }
::selection { background: var(--red); color: #fff; }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.icon { flex: none; }

/* Market-specific content: only the active market's copy is shown. */
.mk { display: none; }
[data-market="mx"] .mk-mx, [data-market="us"] .mk-us { display: contents; }
[data-market="mx"] .only-us, [data-market="us"] .only-mx { display: none !important; }
.on-touch { display: none; }
@media (hover: none) { .on-hover { display: none; } .on-touch { display: inline; } }

/* ---------- Type ---------- */

.h1, .h2, .hero__title, .final__title, .fit-tile__name, .pdp__title, .fitcard__name, .drawer__title, .nf__code {
  font-stretch: 72%;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: .92;
}
.h1 { font-size: clamp(42px, 6.4vw, 88px); }
.h2 { font-size: clamp(34px, 4.8vw, 64px); }
.h2--sm { font-size: clamp(28px, 3.2vw, 42px); }
.h3 { font-size: 20px; font-weight: 750; line-height: 1.25; }
.h4 { font-size: 16px; font-weight: 750; }
.h1__count { font-size: .38em; vertical-align: super; color: var(--red-ink); font-stretch: 90%; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red-ink); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--thread); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
.note { font-size: 14px; color: var(--ink-3); }
.link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { color: var(--red-ink); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 750; text-decoration: none; padding-bottom: 3px; border-bottom: 2px solid var(--red);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.code { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */

.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  border: 1.5px solid transparent; border-radius: 6px;
  font-size: 15px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; font-stretch: 88%;
  text-decoration: none; line-height: 1.15; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.btn .icon { width: 20px; height: 20px; }
.btn:active { transform: translateY(1px); }
.btn--lg { --h: 56px; font-size: 16px; padding: 0 28px; }
.btn--block { display: flex; width: 100%; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--denim-700); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--paper-2); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { border-color: rgb(255 255 255 / .5); color: #fff; background: transparent; }
.btn--ghost-light:hover { border-color: #fff; background: rgb(255 255 255 / .08); }
.btn--whatsapp { background: var(--wa); color: var(--wa-ink); }
.btn--whatsapp:hover { background: #1fbd5b; }
.btn--text {
  --h: 36px; padding: 0 6px; background: none; border: 0;
  text-transform: none; letter-spacing: 0; font-stretch: 100%; font-weight: 650;
  text-decoration: underline; text-underline-offset: 3px;
}
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 0; background: transparent; border-radius: 50%; color: inherit;
}
.icon-btn:hover { background: rgb(13 20 36 / .06); }
.icon-btn .icon { width: 24px; height: 24px; }

/* ---------- Announcement bar ---------- */

.announce {
  display: flex; align-items: center; height: 36px; overflow: hidden;
  background: var(--denim-950); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.announce__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.announce:hover .announce__track { animation-play-state: paused; }
.announce__set { display: flex; }
.announce__item { display: inline-flex; align-items: center; gap: 16px; padding-inline: 22px; white-space: nowrap; }
.announce__item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Promotion bar (replaces the scrolling bar while a promotion runs) */
.promo-bar { background: var(--red); color: #fff; }
.promo-bar__inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 14px;
  min-height: 40px; margin: 0; padding: 6px var(--gutter); text-align: center;
  font-size: 13.5px; font-weight: 650; letter-spacing: .01em;
}
.promo-bar__name {
  padding: 3px 9px; border-radius: 3px; background: var(--ink); color: #fff;
  font-size: 12px; font-weight: 900; font-stretch: 80%; letter-spacing: .16em; text-transform: uppercase;
}
.promo-bar__deal { font-weight: 800; }
.promo-bar__time { font-variant-numeric: tabular-nums; font-weight: 800; opacity: .95; }
.promo-pill {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 18px; padding: 6px 14px 6px 6px;
  border-radius: 999px; background: var(--red); color: #fff;
  font-size: 12.5px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase;
}
.promo-pill b { padding: 3px 9px; border-radius: 999px; background: #fff; color: var(--red-ink); font-weight: 900; }

/* ---------- Header ---------- */

.header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(246 243 238 / .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgb(13 20 36 / .06); }
.header__bar { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.header__menu { display: none; margin-left: -10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo { width: auto; height: 21px; }
.brand__tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  background: var(--ink); color: #fff; border-radius: 3px;
  font-size: 11px; font-weight: 800; letter-spacing: .22em; font-stretch: 80%; text-transform: uppercase;
  outline: 1px dashed rgb(255 255 255 / .55); outline-offset: -4px; flex: none;
}
.brand__tag--light { background: #fff; color: var(--ink); outline-color: rgb(13 20 36 / .45); }
.nav { display: flex; gap: 2px; margin-inline: auto; }
.nav a { padding: 8px 12px; border-radius: 6px; text-decoration: none; font-size: 14.5px; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.nav a:hover { color: var(--ink); background: rgb(13 20 36 / .05); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.header__tools { display: flex; align-items: center; gap: 8px; }

.seg { display: inline-flex; padding: 3px; background: rgb(13 20 36 / .07); border-radius: 999px; }
.seg__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px;
  border: 0; border-radius: 999px; background: transparent;
  font-size: 12.5px; font-weight: 750; color: var(--ink-3);
}
.seg__btn[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.seg__sub { font-weight: 500; opacity: .75; }
.flag { width: 18px; height: 12px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgb(0 0 0 / .1); }
.flag--mx { background: linear-gradient(90deg, #006847 0 33.3%, #fff 33.3% 66.6%, #ce1126 66.6%); }
.flag--us { background: linear-gradient(#3c3b6e, #3c3b6e) 0 0 / 44% 54% no-repeat, repeating-linear-gradient(#b22234 0 1.85px, #fff 1.85px 3.7px); }
.lang {
  display: inline-grid; place-items: center; height: 38px; min-width: 44px; padding: 0 10px;
  border: 1.5px solid var(--line-2); border-radius: 999px;
  text-decoration: none; font-size: 13px; font-weight: 800; letter-spacing: .06em;
}
.lang:hover { border-color: var(--ink); }
.cart-btn { position: relative; }
.cart-btn__count {
  position: absolute; top: 3px; right: 1px; display: grid; place-items: center;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 800; line-height: 1;
}
.cart-btn.bump .cart-btn__count { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }

@media (max-width: 1120px) {
  .nav { display: none; }
  .header__menu { display: inline-grid; }
  .brand { margin-inline: auto; }
}
@media (max-width: 640px) {
  :root { --header-h: 58px; }
  .header__tools .seg, .header__tools .lang { display: none; }
  .header__bar { gap: 6px; }
  .logo { height: 16px; }
  .brand { gap: 8px; }
  .brand__tag { height: 19px; font-size: 9.5px; padding: 0 6px; }
}

/* ---------- Dialogs: drawers, quick add, lightbox ---------- */

dialog { border: 0; padding: 0; color: inherit; max-width: none; max-height: none; }
dialog::backdrop { background: rgb(7 12 23 / .55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.drawer[open] {
  display: flex; flex-direction: column;
  position: fixed; inset: 0 0 0 auto; width: min(440px, 100vw); height: 100%; margin: 0;
  background: var(--paper); box-shadow: var(--shadow);
  animation: drawer-in .32s var(--ease);
}
.drawer--menu[open] { inset: 0 auto 0 0; width: min(380px, 92vw); animation-name: drawer-in-left; }
@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes drawer-in-left { from { transform: translateX(-100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 22px; border-bottom: 1px solid var(--line); }
.drawer__title { font-size: 24px; }
.drawer__count { color: var(--ink-3); font-weight: 600; font-stretch: 90%; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px; }
.drawer__foot { border-top: 1px solid var(--line); background: #fff; padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); }

.menu-nav { display: flex; flex-direction: column; padding: 8px 10px; }
.menu-nav a { padding: 14px 12px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 26px; font-weight: 800; font-stretch: 75%; text-transform: uppercase; }
.menu-nav a[aria-current="page"] { color: var(--red-ink); }
.menu-prefs { display: grid; gap: 10px; justify-items: start; padding: 22px; }
.menu-prefs .eyebrow { margin: 8px 0 0; }

.sheet[open] {
  position: fixed; inset: auto 0 0 0; width: 100%; margin: 0;
  background: var(--paper); border-radius: 18px 18px 0 0;
  animation: sheet-in .3s var(--ease);
}
.sheet__inner { padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); display: grid; gap: 14px; }
@keyframes sheet-in { from { transform: translateY(100%); } }
@media (min-width: 700px) {
  .sheet[open] { inset: 0; margin: auto; width: 460px; height: fit-content; border-radius: 16px; animation: pop-in .25s var(--ease); }
}
@keyframes pop-in { from { opacity: 0; transform: scale(.96); } }
.quick__head { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; }
.quick__img { width: 64px; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--bg); }
.quick__img img { width: 100%; height: 100%; object-fit: cover; }
.quick__code { font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.quick__name { font-weight: 750; line-height: 1.3; }
.quick__label { font-weight: 750; }

.lightbox[open] { position: fixed; inset: 0; width: 100%; height: 100%; margin: 0; background: rgb(7 12 23 / .96); display: block; }
.lightbox__close { position: fixed; top: 12px; right: 12px; z-index: 2; color: #fff; background: rgb(255 255 255 / .14); }
.lightbox__close:hover { background: rgb(255 255 255 / .24); }
.lightbox__stage { width: 100%; height: 100%; overflow: auto; display: grid; place-items: center; cursor: zoom-in; }
.lightbox__stage img { width: auto; height: auto; max-width: 100vw; max-height: 100vh; max-height: 100svh; }
.lightbox__stage.is-zoomed { cursor: zoom-out; place-items: start; }
.lightbox__stage.is-zoomed img { max-width: none; max-height: none; width: 1122px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60;
  display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px;
  font-weight: 650; font-size: 14.5px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 16px);
  transition: opacity .25s, transform .3s var(--ease), visibility .3s;
}
.toast.is-in { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Cart ---------- */

.cart-list { display: grid; gap: 18px; }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: start; }
.cart-line__img { display: block; width: 76px; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--bg); }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__name { display: block; font-weight: 750; font-size: 15px; line-height: 1.3; text-decoration: none; }
.cart-line__name:hover { text-decoration: underline; }
.cart-line__meta { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.cart-line__actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.cart-line__price { text-align: right; font-weight: 800; font-size: 15px; white-space: nowrap; }
.cart-line__price s { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink-3); }
.cart-line__remove { border: 0; background: none; padding: 6px 0; font-size: 13px; color: var(--ink-3); text-decoration: underline; }
.cart-line__remove:hover { color: var(--red-ink); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; }
.qty button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; }
.qty button:hover:not(:disabled) { background: var(--paper-2); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty .icon { width: 16px; height: 16px; }
.qty output { min-width: 22px; text-align: center; font-weight: 750; font-size: 14px; }
.cart-empty { display: grid; justify-items: center; gap: 16px; text-align: center; padding: 48px 12px; color: var(--ink-2); }
.cart-empty .icon { width: 48px; height: 48px; color: var(--ink-3); }

.combo { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 10px; margin-bottom: 20px; }
.combo.is-max { border-color: rgb(21 115 71 / .35); background: #f1faf4; }
.combo__msg { font-size: 14px; font-weight: 700; }
.combo__bar { position: relative; height: 6px; margin: 12px 0 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.combo__fill { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: linear-gradient(90deg, var(--red), #ff6a3d); transition: width .45s var(--ease); }
.combo.is-max .combo__fill { background: var(--ok); }
.combo__steps { position: relative; height: 16px; font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.combo__steps span { position: absolute; top: 0; transform: translateX(-100%); white-space: nowrap; }
.combo__steps span.is-on { color: var(--ok); }

.sum { display: grid; gap: 8px; font-size: 15px; }
.sum > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sum dt { color: var(--ink-2); }
.sum dd { font-weight: 650; text-align: right; }
.sum__disc dt, .sum__disc dd { color: var(--ok); font-weight: 700; }
.sum__shipline.is-free dd { color: var(--ok); font-weight: 800; }
.sum__total { padding-top: 10px; margin-top: 4px; border-top: 1px dashed var(--line-2); font-size: 19px; }
.sum__total dt { color: var(--ink); font-weight: 800; }
.sum__total dd { font-weight: 850; }
.sum__total small { display: block; font-size: 12px; font-weight: 500; color: var(--ink-3); }
.sum__save { margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--ok); }
.sum__ship { margin: 4px 0 16px; font-size: 13px; color: var(--ink-3); }

/* ---------- Product cards ---------- */

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; } }

.card { position: relative; display: flex; flex-direction: column; }
.card__top { position: relative; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card__back { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.card:hover .card__media img { transform: scale(1.035); }
.card:hover .card__media.has-back .card__back { opacity: 1; }
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  display: inline-flex; align-items: center; height: 26px; padding: 0 8px; border-radius: 4px;
  font-size: 14px; font-weight: 850; font-stretch: 80%; letter-spacing: .02em;
}
.badge--off { background: var(--red); color: #fff; }
.badge--final, .badge--sold { left: auto; right: 10px; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.badge--sold { background: #fff; color: var(--ink); }
.is-soldout .card__media img { opacity: .55; filter: grayscale(.4); }
.card__add {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 10px;
  border: 0; border-radius: 999px; background: #fff; color: var(--ink);
  font-weight: 800; font-size: 13px; letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 4px 14px rgb(13 20 36 / .2);
  transition: background-color .2s, color .2s, opacity .2s, transform .25s var(--ease);
}
.card__add .icon { width: 18px; height: 18px; }
.card__add:hover { background: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .card__add { opacity: 0; transform: translateY(8px); }
  .card:hover .card__add, .card__add:focus-visible { opacity: 1; transform: none; }
}
@media (max-width: 520px) {
  .card__add { width: 40px; padding: 0; justify-content: center; }
  .card__add span { display: none; }
}
.card__body { display: grid; gap: 4px; padding-top: 12px; }
.card__meta { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.card__fit::before { content: '·'; margin-right: 8px; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18), 0 0 0 2px #fff; flex: none; }
.card__meta .swatch { margin-left: auto; }
.card__title { font-size: 16px; font-weight: 650; line-height: 1.3; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card__title a:focus-visible { outline: none; }
.card:has(.card__title a:focus-visible) .card__media { outline: 3px solid var(--denim-400); outline-offset: 3px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price__now { font-size: 18px; font-weight: 850; color: var(--red-ink); }
.price__was { font-size: 14px; color: var(--ink-3); }
.pack-chip {
  justify-self: start; display: inline-flex; align-items: center; margin-top: 4px; padding: 3px 8px; border-radius: 4px;
  background: #fde8e8; color: var(--red-ink); font-size: 12px; font-weight: 800; letter-spacing: .03em;
}
.pack-chip--lg { margin: 0; padding: 5px 10px; font-size: 14px; align-self: center; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(64px, 8vw, 120px); }
.section-head { max-width: 900px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; max-width: none; }
.hero, .bundle, .final { position: relative; isolation: isolate; overflow: hidden; }
.hero::before, .bundle::before, .final::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(-45deg, rgb(255 255 255 / .04) 0 1.5px, transparent 1.5px 6px);
}

/* ---------- Hero ---------- */

.hero { color: #fff; background: radial-gradient(120% 90% at 78% 28%, #213a6b 0%, #0f1a33 46%, #070c17 100%); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-height: min(780px, calc(100svh - 100px));
  padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 112px);
}
.hero__title { font-size: clamp(54px, 8.8vw, 132px); line-height: .86; margin-bottom: 24px; }
.hero__title span { display: block; }
.hero__accent { color: var(--red); }
.hero__sub { font-size: clamp(17px, 1.5vw, 20px); color: rgb(255 255 255 / .78); max-width: 52ch; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 16px 44px; padding-top: 26px; border-top: 1.5px dashed rgb(224 169 59 / .5); }
.hero__stats li { display: grid; }
.hero__stats b { font-size: clamp(32px, 3.2vw, 44px); font-weight: 850; font-stretch: 72%; line-height: 1; }
.hero__stats li > span { margin-top: 6px; font-size: 12.5px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .62); }

.hero__art { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1 / 1.02; justify-self: center; }
.hero__shot {
  position: absolute; width: 46%; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--bg);
  box-shadow: 0 30px 60px rgb(0 0 0 / .45), 0 0 0 1px rgb(255 255 255 / .08);
  transition: transform .7s var(--ease);
}
.hero__shot img { width: 100%; height: 100%; object-fit: cover; }
.hero__shot--1 { left: 0; top: 16%; transform: rotate(-7deg); }
.hero__shot--2 { left: 26%; top: 2%; width: 50%; z-index: 2; transform: rotate(1.5deg); }
.hero__shot--3 { right: 0; top: 22%; transform: rotate(7deg); }
.hero__art:hover .hero__shot--1 { transform: rotate(-9deg) translateX(-12px); }
.hero__art:hover .hero__shot--3 { transform: rotate(9deg) translateX(12px); }
.hero__tag { position: absolute; left: 10px; bottom: 10px; padding: 4px 8px; border-radius: 4px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 800; }
.stamp {
  position: absolute; right: 1%; bottom: 0; z-index: 3;
  display: grid; place-items: center; width: clamp(130px, 15vw, 188px); aspect-ratio: 1;
  border-radius: 50%; background: var(--red); color: #fff;
  box-shadow: 0 18px 44px rgb(226 6 19 / .38);
}
.stamp::after { content: ''; position: absolute; inset: 21%; border: 1.5px dashed rgb(255 255 255 / .6); border-radius: 50%; }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 28s linear infinite; }
.stamp text { fill: #fff; font-family: var(--font); font-size: 14px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.stamp__inner { display: grid; justify-items: center; line-height: 1; }
.stamp__inner small { font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.stamp__inner b { font-size: clamp(25px, 2.5vw, 35px); font-weight: 900; font-stretch: 68%; margin-top: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .hero__art { max-width: 520px; }
}
@media (max-width: 560px) {
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__stats { gap: 14px 26px; }
}

/* ---------- Denim spectrum ---------- */

.spectrum { padding-block: clamp(64px, 8vw, 120px) clamp(48px, 6vw, 80px); }
.spectrum__hint { margin-top: 10px; }
.spectrum__list { display: flex; height: clamp(240px, 26vw, 360px); max-width: 1640px; margin-inline: auto; padding-inline: var(--gutter); }
.spectrum__list li { flex: 1 1 0; min-width: 0; transition: flex-grow .55s var(--ease); }
.spectrum__list a { position: relative; display: block; height: 100%; overflow: hidden; background: var(--c); color: #fff; text-decoration: none; }
.spectrum__list li:first-child a { border-radius: 12px 0 0 12px; }
.spectrum__list li:last-child a { border-radius: 0 12px 12px 0; }
.spectrum__list a::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(-45deg, rgb(255 255 255 / .07) 0 1px, transparent 1px 4px); }
.spectrum__list picture { position: absolute; inset: 0; }
.spectrum__list img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; opacity: 0; transition: opacity .35s .08s; }
.spectrum__code {
  position: absolute; left: 50%; bottom: 14px; z-index: 1;
  writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg);
  font-size: 11px; font-weight: 750; letter-spacing: .12em; white-space: nowrap; opacity: .85;
  transition: opacity .2s;
}
.is-light .spectrum__code { color: var(--ink); }
.spectrum__info {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px;
  background: #fff; color: var(--ink); font-size: 13px; line-height: 1.25;
  opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease);
}
.spectrum__info b { font-size: 12.5px; }
.spectrum__info .price__now { font-size: 15px; }
.spectrum__info .price__was { font-size: 12px; }
@media (hover: hover) and (min-width: 761px) {
  .spectrum__list li:hover, .spectrum__list li:focus-within { flex-grow: 8; }
  .spectrum__list li:hover img, .spectrum__list li:focus-within img { opacity: 1; }
  .spectrum__list li:hover .spectrum__info, .spectrum__list li:focus-within .spectrum__info { opacity: 1; transform: none; }
  .spectrum__list li:hover .spectrum__code, .spectrum__list li:focus-within .spectrum__code { opacity: 0; }
}
@media (hover: none), (max-width: 760px) {
  .spectrum__list { height: 220px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .spectrum__list::-webkit-scrollbar { display: none; }
  .spectrum__list li { flex: 0 0 44px; scroll-snap-align: start; }
}
.spectrum__scale { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.spectrum__line { flex: 1; height: 2px; background: linear-gradient(90deg, #849dbd, #23324f, #0c1220); }

/* ---------- Fits ---------- */

.fits { padding-top: 0; }
.fits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fit-tile { position: relative; isolation: isolate; display: grid; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg); color: #fff; text-decoration: none; }
.fit-tile__media { position: absolute; inset: 0; z-index: -2; }
.fit-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.fit-tile:hover img { transform: scale(1.045); }
.fit-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(7 12 23 / .88) 0%, rgb(7 12 23 / .3) 42%, transparent 66%); }
.fit-tile__body { align-self: end; display: grid; gap: 8px; padding: clamp(18px, 2vw, 28px); }
.fit-tile__name { font-size: clamp(52px, 5.6vw, 80px); }
.fit-tile__text { max-width: 34ch; font-size: 15px; color: rgb(255 255 255 / .84); }
.fit-tile__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.fit-tile__cta .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.fit-tile:hover .fit-tile__cta .icon { transform: translateX(4px); }
@media (max-width: 900px) {
  .fits__grid, .fitcards {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 360px);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .fits__grid::-webkit-scrollbar, .fitcards::-webkit-scrollbar { display: none; }
  .fit-tile, .fitcard { scroll-snap-align: start; }
}

/* ---------- Featured ---------- */

.featured { padding-top: 0; }

/* ---------- Bundle (hang tags) ---------- */

.bundle { background: var(--denim-900); color: #fff; }
.bundle__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
.bundle__copy p { max-width: 46ch; margin: 18px 0 28px; font-size: 18px; color: rgb(255 255 255 / .76); }
.hangtags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 48px; }
.hangtag {
  position: relative; display: grid; gap: 8px; align-content: start; text-align: center;
  padding: 50px 16px 22px; color: var(--ink);
  filter: drop-shadow(0 18px 28px rgb(0 0 0 / .35));
}
.hangtag::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: #f4ecdc;
  clip-path: polygon(22% 0, 78% 0, 100% 13%, 100% 100%, 0 100%, 0 13%);
}
.hangtag::after { content: ''; position: absolute; inset: 40px 8px 8px; z-index: -1; border: 1.5px dashed rgb(13 20 36 / .18); }
.hangtag__hole { position: absolute; top: 18px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--denim-900); }
.hangtag__hole::after { content: ''; position: absolute; left: 50%; bottom: 50%; width: 1.5px; height: 64px; background: var(--thread); transform-origin: bottom; transform: translateX(-50%) rotate(16deg); }
.hangtag__qty { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.hangtag__price { font-size: clamp(36px, 3.6vw, 50px); font-weight: 900; font-stretch: 70%; line-height: .95; color: var(--ink); }
.hangtag--best .hangtag__price { color: var(--red-ink); }
.hangtag__best {
  position: absolute; left: 50%; bottom: -13px; z-index: 1; transform: translateX(-50%) rotate(-3deg);
  padding: 4px 10px; border-radius: 4px; background: var(--red); color: #fff; white-space: nowrap;
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.hangtag__ex { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.hangtag__ex s { color: var(--ink-3); }
.hangtag:nth-child(2) { transform: translateY(-16px) rotate(-1.5deg); }
.hangtag:nth-child(3) { transform: translateY(-32px) rotate(2deg); }
/* Four tags (e.g. during a promotion): two rows of two */
.hangtags[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 18px; max-width: 520px; justify-self: center; width: 100%; }
.hangtags[data-n="4"] .hangtag:nth-child(n) { transform: rotate(-1.2deg); }
.hangtags[data-n="4"] .hangtag:nth-child(even) { transform: translateY(-10px) rotate(1.5deg); }
@media (max-width: 960px) { .bundle__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .hangtags { grid-template-columns: 1fr; gap: 40px; padding-top: 32px; max-width: 340px; margin-inline: auto; }
  .hangtag:nth-child(n) { transform: none; }
}

/* ---------- Story ---------- */

.story { background: var(--paper-2); }
.story__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.story__year {
  display: grid; justify-items: center; line-height: .78;
  font-size: clamp(130px, 19vw, 300px); font-weight: 900; font-stretch: 62%; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 2px var(--ink);
}
.story__year span:last-child { color: var(--red); -webkit-text-stroke: 0; }
.story__copy .lead { margin-top: 18px; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 28px; margin: 34px 0; }
.values li { display: grid; gap: 4px; padding-top: 14px; border-top: 2px solid var(--ink); }
.values__n { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--red-ink); }
.values b { font-size: 18px; }
.values span:last-child { font-size: 15px; color: var(--ink-2); }
.why { background: #fff; border-radius: var(--radius); padding: 24px 26px; outline: 1.5px dashed var(--thread); outline-offset: -8px; }
.why h3 { font-size: 18px; margin-bottom: 6px; }
.why p { color: var(--ink-2); }
@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__year { grid-auto-flow: column; justify-content: start; font-size: clamp(110px, 30vw, 180px); }
}
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.steps__n { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 850; font-size: 18px; }
.steps h3 { margin-bottom: 8px; font-size: 19px; }
.steps p { color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq-sec { padding-top: 0; }
.faq-sec__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 88px); }
.faq-sec__grid .h2 { margin-bottom: 22px; }
.faq { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 750; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item p { max-width: 68ch; padding-bottom: 20px; color: var(--ink-2); }
@media (max-width: 860px) { .faq-sec__grid { grid-template-columns: 1fr; } }

/* ---------- Final call to action ---------- */

.final { background: var(--red); color: #fff; padding-block: clamp(60px, 8vw, 110px); }
.final__inner { display: grid; justify-items: start; gap: 18px; }
.final__title { max-width: 13ch; font-size: clamp(48px, 7.6vw, 118px); }
.final p { font-size: 18px; opacity: .92; }

/* ---------- Footer ---------- */

.footer { padding-top: clamp(56px, 6vw, 84px); background: var(--denim-950); color: rgb(255 255 255 / .72); font-size: 14.5px; }
.footer a { color: rgb(255 255 255 / .86); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; }
.footer__logo { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; max-width: 100%; }
.footer__logo .logo { height: 20px; max-width: 100%; object-fit: contain; object-position: left center; }
.footer__brand p { max-width: 36ch; margin: 18px 0; }
.footer__social { display: flex; gap: 8px; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .22); }
.footer__social a:hover { background: rgb(255 255 255 / .08); text-decoration: none; }
.footer__social .icon { width: 20px; height: 20px; }
.footer h2 { margin-bottom: 14px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.footer ul { display: grid; gap: 10px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1.5px dashed rgb(224 169 59 / .35); font-size: 13px; }
.footer__prefs { display: flex; align-items: center; gap: 10px; }
.footer .seg { background: rgb(255 255 255 / .1); }
.footer .seg__btn { color: rgb(255 255 255 / .72); }
.footer .seg__btn[aria-pressed="true"] { background: #fff; color: var(--ink); }
.footer .lang { border-color: rgb(255 255 255 / .3); color: #fff; }
.footer .lang:hover { border-color: #fff; text-decoration: none; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Page header + breadcrumbs ---------- */

.page-head { padding-block: clamp(26px, 4vw, 48px) clamp(22px, 3vw, 36px); }
.page-head .lead { margin-top: 16px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; font-size: 13px; color: var(--ink-3); }
body[data-page="product"] .crumbs { padding-top: 20px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); }

/* ---------- Catalog ---------- */

.catalog { padding-bottom: clamp(64px, 8vw, 112px); }
.toolbar { display: grid; gap: 16px; margin-bottom: 28px; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line-2); }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: -1px; padding: 12px 14px;
  border-bottom: 3px solid transparent; color: var(--ink-3); white-space: nowrap; text-decoration: none;
  font-size: 15px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; font-stretch: 85%;
}
.tab span { padding: 2px 7px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font-size: 12px; font-weight: 700; }
.tab:hover { color: var(--ink); }
.tab[aria-current="page"] { color: var(--ink); border-color: var(--red); }
.filters { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff;
  font-size: 14px; font-weight: 650; text-decoration: none; white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .swatch { width: 14px; height: 14px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .25); }
.filters__right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.select { position: relative; display: inline-flex; align-items: center; height: 40px; padding-left: 12px; border: 1.5px solid var(--line-2); border-radius: 8px; background: #fff; }
.select:focus-within { border-color: var(--ink); }
.select__label { margin-right: 2px; font-size: 11.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.select select { height: 100%; padding: 0 34px 0 6px; border: 0; background: transparent; font-size: 14px; font-weight: 650; cursor: pointer; appearance: none; -webkit-appearance: none; }
.select select:focus { outline: none; }
.select .icon { position: absolute; right: 10px; width: 16px; height: 16px; pointer-events: none; }
.search { position: relative; display: flex; align-items: center; min-width: min(260px, 100%); height: 40px; padding-left: 12px; border: 1.5px solid var(--line-2); border-radius: 8px; background: #fff; }
.search:focus-within { border-color: var(--ink); }
.search .icon { width: 18px; height: 18px; color: var(--ink-3); }
.search input { flex: 1; min-width: 0; height: 100%; padding: 0 12px 0 8px; border: 0; background: transparent; font-size: 14.5px; outline: none; }
.toolbar__count { font-size: 14px; font-weight: 650; color: var(--ink-3); }
.empty { display: grid; justify-items: center; gap: 16px; padding: 64px 0; text-align: center; color: var(--ink-2); }
.catalog__note { display: flex; align-items: center; gap: 10px; margin-top: 48px; }
.catalog__note .icon { width: 20px; height: 20px; }
@media (max-width: 700px) {
  .filters { display: grid; grid-template-columns: minmax(0, 1fr); }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .chips::-webkit-scrollbar { display: none; }
  .filters__right { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .select { min-width: 0; }
  .select select { flex: 1; min-width: 0; text-overflow: ellipsis; }
  .search { grid-column: 1 / -1; min-width: 0; }
}

/* ---------- Product page ---------- */

.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-bottom: clamp(56px, 7vw, 96px); }
.pdp__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pdp__shot { position: relative; }
.pdp__zoom { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg); cursor: zoom-in; }
.pdp__zoom img { width: 100%; height: 100%; object-fit: cover; }
.pdp__zoom-icon { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); opacity: 0; transition: opacity .2s; }
.pdp__zoom:hover .pdp__zoom-icon, .pdp__zoom:focus-visible .pdp__zoom-icon { opacity: 1; }
.pdp__zoom-icon .icon { width: 20px; height: 20px; }
.pdp__shot figcaption { margin-top: 8px; text-align: center; font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.pdp__dots { display: none; }
.pdp__info { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.pdp__kicker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.tag { padding: 3px 8px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .1em; }
.pdp__title { font-size: clamp(38px, 4.2vw, 60px); }
.pdp__tagline { font-size: 18px; color: var(--ink-2); }
.pdp__price { display: grid; gap: 6px; padding: 16px 0; border-block: 1.5px dashed var(--line-2); }
.pdp__price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp__now { font-size: clamp(36px, 3.4vw, 46px); font-weight: 900; font-stretch: 75%; line-height: 1; color: var(--red-ink); }
.pdp__now small { margin-left: 4px; font-size: 15px; font-weight: 750; font-stretch: 100%; color: var(--ink-2); }
.pdp__was { font-size: 18px; color: var(--ink-3); }
.pill-off { padding: 4px 9px; border-radius: 4px; background: var(--red); color: #fff; font-size: 14px; font-weight: 850; font-stretch: 85%; align-self: center; }
.pdp__save { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--ok); }
.pdp__tax { font-weight: 500; color: var(--ink-3); }
.pdp__form { display: grid; gap: 14px; }
.sizes-field { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.sizes-field legend { float: left; width: auto; padding: 0; font-weight: 800; }
.sizes-field legend .muted { font-weight: 500; font-size: 14px; }
.sizes-field__guide { display: inline-flex; align-items: center; gap: 6px; justify-self: end; margin-top: -36px; font-size: 14px; font-weight: 650; }
.sizes-field__guide .icon { width: 18px; height: 18px; }
.sizes-field .sizes { clear: both; }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; }
.size { position: relative; display: grid; }
.size input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.size span, button.size {
  display: grid; place-items: center; height: 48px; border: 1.5px solid var(--line-2); border-radius: 8px;
  background: #fff; color: var(--ink); font-size: 15px; font-weight: 750;
  transition: border-color .15s, background-color .15s, color .15s;
}
.size:hover span { border-color: var(--ink); }
.size input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.size input:focus-visible + span { outline: 3px solid var(--denim-400); outline-offset: 2px; }
.size.is-out span, button.size:disabled {
  color: var(--ink-3); border-color: var(--line); cursor: not-allowed;
  background: linear-gradient(to top right, transparent calc(50% - 1px), var(--line-2) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)), var(--paper-2);
}
.size.is-out input { cursor: not-allowed; }
button.size { width: 100%; padding: 0; }
button.size:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.sizes-msg { font-size: 14px; font-weight: 700; color: var(--red-ink); }
.sizes-msg:empty { display: none; }
.shake { animation: shake .42s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.packs { display: grid; gap: 10px; padding: 16px; border: 1.5px dashed var(--line-2); border-radius: 12px; background: #fff; }
.packs__title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; font-weight: 800; }
.packs__title .icon { width: 18px; height: 18px; color: var(--red-ink); }
.packs__title .muted { font-weight: 500; }
.packs__list { display: grid; gap: 8px; }
.packs__row { position: relative; display: grid; grid-template-columns: 72px auto 1fr; align-items: baseline; gap: 12px; padding: 10px 12px; border-radius: 8px; background: var(--paper); }
.packs__row.is-best { background: var(--ink); color: #fff; }
.packs__qty { font-size: 14px; font-weight: 700; }
.packs__price { font-size: 21px; font-weight: 900; font-stretch: 80%; }
.packs__per { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--ink-3); }
.packs__row.is-best .packs__per { color: rgb(255 255 255 / .75); }
.packs__per em { font-style: normal; font-weight: 800; color: var(--ok); }
.packs__row.is-best .packs__per em { color: #86e3ad; }
.packs__best { position: absolute; top: -9px; right: 10px; padding: 2px 8px; border-radius: 4px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.packs__extra { font-size: 13px; color: var(--ink-3); }
.perks { display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.perks li { display: flex; align-items: center; gap: 10px; }
.perks .icon { width: 20px; height: 20px; color: var(--ink); }
.acc { border-top: 1px solid var(--line-2); }
.acc details { border-bottom: 1px solid var(--line-2); }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.acc details[open] summary .icon { transform: rotate(180deg); }
.acc__body { display: grid; gap: 12px; padding-bottom: 18px; color: var(--ink-2); }
.bullets { display: grid; gap: 8px; }
.bullets li { position: relative; padding-left: 22px; }
.bullets li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 10px; height: 2px; background: var(--red); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 14.5px; }
.specs dt { font-weight: 600; color: var(--ink-3); }
.specs dd { font-weight: 650; color: var(--ink); }
.related { padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.buybar { display: none; }

@media (max-width: 960px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery { display: flex; gap: 0; margin-inline: calc(var(--gutter) * -1); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pdp__gallery::-webkit-scrollbar { display: none; }
  .pdp__shot { flex: 0 0 100%; scroll-snap-align: center; }
  .pdp__zoom { border-radius: 0; }
  .pdp__shot figcaption { display: none; }
  .pdp__dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
  .pdp__dots span { width: 8px; height: 8px; border-radius: 99px; background: var(--line-2); transition: width .25s var(--ease), background-color .25s; }
  .pdp__dots span.is-active { width: 22px; background: var(--ink); }
  .pdp__info { position: static; }
  .buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: flex; align-items: center; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(13 20 36 / .08);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .buybar.is-visible { transform: none; }
  .buybar__info { flex: 1; min-width: 0; }
  .buybar__name { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; font-weight: 750; }
  .buybar .price__now { font-size: 16px; }
  body[data-page="product"] .footer { padding-bottom: 76px; }
}

/* ---------- Checkout ---------- */

.checkout { padding-bottom: clamp(64px, 8vw, 112px); }
.checkout__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.checkout__form { display: grid; gap: 18px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.field label span { color: var(--red-ink); }
.field input, .field textarea, .select--field select {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1.5px solid var(--line-2); border-radius: 8px; background: #fff; font-size: 16px;
}
.field textarea { height: auto; min-height: 92px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus, .select--field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(91 123 176 / .25); }
.field [aria-invalid="true"] { border-color: var(--red-ink); background: #fff6f6; }
.select--field { display: block; height: auto; padding: 0; border: 0; background: none; }
.select--field select { padding-right: 40px; cursor: pointer; appearance: none; -webkit-appearance: none; }
.select--field .icon { top: 16px; right: 14px; }
.market-pill { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 10px; background: var(--paper); font-size: 14.5px; }
.market-pill .icon { width: 20px; height: 20px; }
.form-msg { font-size: 14.5px; font-weight: 700; color: var(--red-ink); }
.form-msg:empty, .co-status:empty { display: none; }
.co-status { padding: 12px 14px; border-radius: 10px; background: #eaf7ef; color: var(--ok); font-size: 14.5px; font-weight: 700; }
.checkout__aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.box { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.box > h2 { margin-bottom: 14px; }
.co-lines { display: grid; gap: 12px; margin-bottom: 16px; }
.co-line { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.co-line__img { width: 52px; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--bg); }
.co-line__img img { width: 100%; height: 100%; object-fit: cover; }
.co-line b { display: block; font-size: 14px; line-height: 1.3; }
.co-line__price { font-weight: 750; white-space: nowrap; }
.steps-mini { display: grid; gap: 10px; counter-reset: n; }
.steps-mini li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-size: 14.5px; color: var(--ink-2); counter-increment: n; }
.steps-mini li::before { content: counter(n); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); color: var(--ink); font-size: 13px; font-weight: 800; }
.field, .field input, .select--field select { min-width: 0; }
@media (max-width: 900px) {
  .checkout__grid { grid-template-columns: minmax(0, 1fr); }
  .checkout__aside { position: static; order: -1; }
}
@media (max-width: 560px) { .field-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Size guide + help ---------- */

.guide, .help { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 112px); }
.prose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); }
.block { display: grid; gap: 16px; align-content: start; }
.block > p { color: var(--ink-2); max-width: 62ch; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--paper); color: var(--ink-3); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody th { font-weight: 800; }
.howto { display: grid; gap: 12px; counter-reset: h; }
.howto li { position: relative; padding: 18px 18px 18px 64px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink-2); counter-increment: h; }
.howto li::before { content: counter(h); position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 800; }
.howto b { display: block; margin-bottom: 4px; color: var(--ink); }
.fitcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fitcard { display: grid; grid-template-rows: auto 1fr; align-content: start; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; }
.fitcard:hover .fitcard__name { color: var(--red-ink); }
.fitcard__img { display: block; aspect-ratio: 4 / 5; background: var(--bg); }
.fitcard__img img { width: 100%; height: 100%; object-fit: cover; }
.fitcard__body { display: grid; gap: 6px; padding: 18px; color: var(--ink-2); }
.fitcard__name { font-size: 34px; color: var(--ink); }
.rise-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rise-list div { padding: 18px; border-top: 2px solid var(--ink); }
.rise-list dt { margin-bottom: 4px; font-weight: 800; }
.rise-list dd { color: var(--ink-2); }
.help-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.help-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: var(--denim-900); color: #fff; }
.help-cta p { margin-top: 8px; color: rgb(255 255 255 / .76); }
.help-cta a:not(.btn) { color: #fff; }
.help-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) {
  .prose-grid, .rise-list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 404 ---------- */

.nf { padding-block: clamp(64px, 10vw, 140px); text-align: center; }
.nf__inner { display: grid; justify-items: center; gap: 18px; }
.nf__code { font-size: clamp(130px, 24vw, 260px); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.nf__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
