/* Esempio Pole — homepage
   Visual system: elayadesign/landing-page-design (Part B), applied literally.
   Type scale, spacing and radius resolve only through the skill's tables.
   Self-hosted Manrope (latin subset, variable 400..800), no remote font call. */

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* B4 — dark mode backgrounds, these six and nothing else */
  --black: #000000;
  --s-1: #181818;
  --s-2: #1f1f1f;
  --s-3: #272727;
  --s-4: #313131;
  --warm: #131209;

  --text: #ffffff;
  --text-2: #c9c9c9;
  --text-3: #9b9b9b;

  /* The store's own accent: #ffb400 is --nav-hover-accent-color,
     --section-heading-accent and --so-color in the live theme settings
     (esempio.it, captured 2026-09-14). This build uses it as a
     micro-accent only — never as a button fill. */
  --accent: #ffb400;
  /* The store's own button fill: --button-color in the live theme settings
     (esempio.it, captured 2026-09-14). */
  --button: #393939;
  --button-text: #ffffff;

  --hair: rgba(255, 255, 255, 0.4);
  --hair-soft: rgba(255, 255, 255, 0.1);

  /* B3 — radius, Tailwind values only */
  --r-sm: 2px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-2xl: 16px;
  --r-3xl: 24px;
  --r-full: 9999px;

  /* B7 — fluid motion, never a default transition */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);

  --gutter: 24px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* B1: one typeface. Form controls do not default to the system font. */
button,
input,
select,
textarea { font-family: inherit; }

img,
video { display: block; max-width: 100%; height: auto; }

/* Author `display` values must not beat the hidden attribute */
[hidden] { display: none !important; }

/* B9 — visible focus everywhere, keyboard only */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

a { color: inherit; }

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
fieldset,
legend { margin: 0; padding: 0; }

h1,
h2,
h3 { text-wrap: balance; font-weight: 700; }
p { text-wrap: pretty; }

fieldset { border: 0; }

/* text-6xl / text-5xl / text-4xl / text-3xl / text-2xl / text-base / text-sm / text-xs */
.h1 { font-size: 36px; line-height: 40px; }
.h2 { font-size: 30px; line-height: 36px; }
.h3 { font-size: 24px; line-height: 32px; }
.h4 { font-size: 20px; line-height: 28px; font-weight: 600; }
.body { font-size: 16px; line-height: 24px; color: var(--text-2); }
.small { font-size: 14px; line-height: 20px; }
.label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.sr-only {
  position: absolute;
  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: var(--gutter);
  top: 8px;
  z-index: 100;
  transform: translateY(-200%);
  background: var(--text);
  color: var(--black);
  padding: 8px 12px;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 700ms var(--ease);
}
.skip:focus { transform: translateY(0); }

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { scroll-margin-top: 96px; }

.band { padding: 64px 0; }
.band--tight { padding: 40px 0; }

.section-head { max-width: 680px; margin-bottom: 24px; }
.section-head .label { display: block; margin-bottom: 8px; }
.section-head h2 { margin-bottom: 8px; }

/* ---------- Buttons (B2: 8px vertical, 12px horizontal) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  background: var(--button);
  color: var(--button-text);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 700ms var(--ease), color 700ms var(--ease),
    transform 700ms var(--ease), border-color 700ms var(--ease);
}
.btn:hover { background: var(--accent); color: var(--black); }
.btn:active { transform: scale(0.98); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--hair);
}
.btn--ghost:hover { background: var(--s-3); color: var(--text); }

.btn--sm { font-size: 14px; line-height: 20px; }

.btn[disabled],
.btn[aria-disabled="true"] {
  background: var(--s-2);
  color: var(--text-3);
  border-color: var(--hair-soft);
  cursor: not-allowed;
  transform: none;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background-color 700ms var(--ease), transform 700ms var(--ease);
}
.icon-btn:hover { background: var(--s-3); }
.icon-btn:active { transform: scale(0.98); }
.icon-btn svg { width: 24px; height: 24px; }
#wishlist-toggle[aria-pressed="true"] svg { fill: currentColor; }

/* ---------- Announcement ---------- */
.announce {
  background: var(--warm);
  color: var(--text-2);
  font-size: 14px;
  line-height: 20px;
  padding: 8px 0;
}
.announce .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  text-align: center;
}
.announce b { color: var(--text); font-weight: 600; }

/* ---------- B7 fluid island nav ---------- */
.site-head { position: sticky; top: 0; z-index: 60; padding-bottom: 12px; }
.nav {
  position: relative;
  margin: 24px auto 0;
  width: max-content;
  max-width: calc(100% - 48px);
  border-radius: var(--r-full);
  background: rgba(24, 24, 24, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--hair);
}
.nav__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 16px;
}
.nav__logo {
  display: block;
  width: 96px;
  padding: 8px 4px;
}
.nav__logo img { width: 100%; height: auto; filter: invert(1); }
.nav__menu {
  display: none;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__tools { display: flex; align-items: center; gap: 4px; }
.nav__cart-count {
  position: absolute;
  transform: translate(14px, -14px);
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: var(--r-full);
  background: var(--accent);
  color: var(--black);
  font-size: 12px;
  line-height: 20px;
  font-weight: 700;
  text-align: center;
}
.nav__cart-wrap { position: relative; display: inline-flex; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 700ms var(--ease), color 700ms var(--ease);
}
.nav__link:hover { background: var(--s-3); color: var(--text); }
.nav__link[aria-current="page"],
.nav__link[aria-expanded="true"] { color: var(--text); background: var(--s-2); }
.nav__link svg { width: 16px; height: 16px; transition: transform 700ms var(--ease); }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav__hamburger {
  display: inline-flex;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}
.nav__hamburger:hover { background: var(--s-3); }
.nav__hamburger i {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 700ms var(--ease), opacity 700ms var(--ease);
}
.nav__hamburger i:nth-child(1) { top: 16px; }
.nav__hamburger i:nth-child(2) { top: 22.5px; }
.nav__hamburger[aria-expanded="true"] i:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav__hamburger[aria-expanded="true"] i:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* Mega panel (desktop category reveal) */
.mega {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -8px);
  top: calc(100% + 8px);
  width: min(900px, calc(100vw - 48px));
  background: var(--s-1);
  border: 1px solid var(--hair);
  border-radius: var(--r-3xl);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 220px;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease),
    visibility 0s linear 700ms;
}
.mega[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), visibility 0s;
}
.mega h3 { margin-bottom: 8px; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--r-lg);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  color: var(--text-2);
  transition: background-color 700ms var(--ease), color 700ms var(--ease);
}
.mega a:hover { background: var(--s-3); color: var(--text); }
.mega__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-xl);
}
.mega__media {
  display: grid;
  gap: 8px;
  align-content: start;
}
.mega__media p { font-size: 12px; line-height: 16px; color: var(--text-3); }

/* Mobile overlay menu (B7: heavy glass, staggered mask reveal) */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  padding: 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms var(--ease), visibility 0s linear 700ms;
}
.sheet[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transition: opacity 700ms var(--ease), visibility 0s;
}
.sheet__top { display: flex; align-items: center; justify-content: space-between; }
.sheet__top img { width: 104px; filter: invert(1); }
.sheet nav ul { list-style: none; margin: 0; padding: 0; }
.sheet nav li { overflow: hidden; padding: 2px 0; }
.sheet nav a {
  display: inline-block;
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  padding: 4px 0;
  transform: translateY(48px);
  opacity: 0;
  transition: transform 800ms var(--ease), opacity 800ms var(--ease),
    color 700ms var(--ease);
}
.sheet nav a:hover { color: var(--text-3); }
.sheet[data-open="true"] nav a { transform: translateY(0); opacity: 1; }
.sheet[data-open="true"] nav li:nth-child(1) a { transition-delay: 100ms; }
.sheet[data-open="true"] nav li:nth-child(2) a { transition-delay: 150ms; }
.sheet[data-open="true"] nav li:nth-child(3) a { transition-delay: 200ms; }
.sheet[data-open="true"] nav li:nth-child(4) a { transition-delay: 250ms; }
.sheet[data-open="true"] nav li:nth-child(5) a { transition-delay: 300ms; }
.sheet[data-open="true"] nav li:nth-child(6) a { transition-delay: 350ms; }
.sheet[data-open="true"] nav li:nth-child(7) a { transition-delay: 400ms; }
.sheet__sub { color: var(--text-3); font-size: 14px; line-height: 20px; }
.sheet__sub a { color: var(--text-2); }

/* Search panel */
.search {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 65;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  padding: 24px 0 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms var(--ease), visibility 0s linear 700ms;
}
.search[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transition: opacity 700ms var(--ease), visibility 0s;
}
.search__form { display: flex; gap: 8px; align-items: center; }
.search input {
  flex: 1;
  font-family: inherit;
  font-size: 20px;
  line-height: 28px;
  padding: 8px 12px;
  color: var(--text);
  background: var(--s-1);
  border: 1px solid var(--hair);
  border-radius: var(--r-xl);
}
.search input::placeholder { color: var(--text-3); }
.search__results { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 2px; }
.search__results a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
  border-radius: var(--r-xl);
  text-decoration: none;
  transition: background-color 700ms var(--ease);
}
.search__results a:hover { background: var(--s-2); }
.search__results img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--s-2);
}
.search__results .small { color: var(--text-3); }
.search__empty {
  margin-top: 16px;
  padding: 24px;
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-2xl);
  background: var(--s-1);
  color: var(--text-2);
}

/* ---------- Hero ---------- */
.hero { padding: 48px 0 64px; }
.hero__grid { display: grid; gap: 40px; }
.hero__copy { max-width: 680px; display: grid; gap: 16px; align-content: start; }
.hero h1 {
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -0.01em;
  background-image: linear-gradient(to right, #ffffff, #9b9b9b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub { font-size: 18px; line-height: 28px; color: var(--text-2); max-width: 680px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: var(--text-3);
  font-size: 14px;
  line-height: 20px;
}
.hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 16px; height: 16px; color: var(--accent); }
.hero__media {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--s-1);
  border: 1px solid var(--hair-soft);
}
.hero__media video,
.hero__media img.hero__poster {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero__media video { display: none; }
.hero__media[data-video="on"] img.hero__poster { display: none; }
.hero__media[data-video="on"] video { display: block; }
.hero__tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  right: 8px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}
.hero__tag p {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--r-full);
  padding: 8px 12px;
  font-size: 12px;
  line-height: 16px;
  color: var(--text-2);
}

/* ---------- Product card ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.grid--wide { gap: 24px; }

.card {
  background: var(--s-1);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-2xl);
  padding: 8px;
  display: grid;
  gap: 8px;
  align-content: start;
  transition: border-color 700ms var(--ease), transform 700ms var(--ease);
}
.card:hover { border-color: var(--hair); }
.card__media {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--s-2);
}
.card__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.card__media img + img {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.card:hover .card__media img + img,
.card__media:focus-visible img + img { opacity: 1; }
.card:hover .card__media img:first-child { transform: scale(1.02); }
.card__badge {
  position: absolute;
  left: 8px;
  top: 8px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: var(--text);
  padding: 2px 8px;
  border-radius: var(--r-full);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}
.card__body { display: grid; gap: 8px; padding: 0 8px 8px; }
.card__head {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: baseline;
}
.card__head h3 { font-size: 16px; line-height: 24px; font-weight: 600; }
.card__head a { text-decoration: none; }
.card__head a:hover { text-decoration: underline; }
.card__head .price { font-size: 14px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.price { font-variant-numeric: tabular-nums; }
.card__meta { font-size: 14px; line-height: 20px; color: var(--text-3); }
.card__sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.chip { position: relative; display: inline-flex; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 4px 8px;
  border-radius: var(--r-full);
  border: 1px solid var(--hair);
  color: var(--text-2);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  transition: background-color 700ms var(--ease), color 700ms var(--ease),
    border-color 700ms var(--ease);
}
.chip input:hover + span { background: var(--s-3); color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip input:checked + span { background: var(--text); color: var(--black); border-color: var(--text); }
.chip input:disabled + span { color: var(--text-3); border-color: var(--hair-soft); text-decoration: line-through; }
.card__foot { display: grid; gap: 8px; }
.card__note {
  font-size: 12px;
  line-height: 16px;
  color: var(--accent);
  min-height: 16px;
}
.card__state { font-size: 12px; line-height: 16px; color: var(--text-3); }
.card--soldout .card__media img { opacity: 0.55; }

/* ---------- Luxe Line pairs ---------- */
.pairs {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--hair) var(--s-2);
  scrollbar-width: thin;
}
.pairs::-webkit-scrollbar { height: 10px; }
.pairs::-webkit-scrollbar-track { background: var(--s-2); border-radius: 999px; }
.pairs::-webkit-scrollbar-thumb { background: var(--hair); border-radius: 999px; }
.pair {
  flex: 0 0 min(78vw, 640px);
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  background: var(--s-2);
  border: 1px solid var(--hair);
  border-radius: var(--r-3xl);
}
.pair--solo { flex-basis: min(78vw, 320px); grid-template-columns: minmax(0, 1fr); justify-items: center; }
.pair--solo .card { width: 50%; }

/* Band under the hero: lifted contrast, spacing and hierarchy. The band order
   and its art direction are unchanged; the panel, the frames and the rail get
   a clearer three step ground (black hero -> s-1 panel -> s-2 frames -> s-1
   cards) and more air above the rail. */
#luxe-line { background: var(--s-1); }
#luxe-line .section-head { margin-bottom: 40px; }
#luxe-line .section-head h2 { margin-bottom: 12px; }
#luxe-line .pairs { gap: 32px; padding: 8px 8px 24px; }

/* ---------- Tagline reveal (B11) ---------- */
.tagline { background: var(--warm); }
.tagline__inner { max-width: 680px; display: grid; gap: 16px; }
.tagline p {
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tagline .tagline__two { color: var(--text-2); font-weight: 400; }
.js .tagline .w {
  opacity: 0.3;
  transition: opacity 800ms var(--ease);
}
.js .tagline .w.on { opacity: 1; }

/* ---------- Benefits / steps ---------- */
.split { display: grid; gap: 40px; }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
.benefits li { display: grid; gap: 8px; }
.benefits h3 { font-size: 18px; line-height: 28px; font-weight: 600; }
.benefits p { font-size: 16px; line-height: 24px; color: var(--text-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li {
  background: var(--s-1);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-2xl);
  padding: 16px;
  display: grid;
  gap: 8px;
}
.steps h3 { font-size: 16px; line-height: 24px; font-weight: 600; }
.steps p { font-size: 14px; line-height: 20px; color: var(--text-2); }
.steps .n {
  width: 24px;
  height: 24px;
  border-radius: var(--r-full);
  background: var(--text);
  color: var(--black);
  font-size: 12px;
  line-height: 24px;
  text-align: center;
  font-weight: 700;
}
.media-strip { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.media-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-2xl);
  background: var(--s-1);
}

/* ---------- Categories ---------- */
.cats { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cat {
  position: relative;
  display: block;
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--hair-soft);
  text-decoration: none;
}
.cat img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.cat:hover img { transform: scale(1.02); }
.cat__label {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--r-lg);
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.cat__label span:first-child { font-size: 16px; font-weight: 600; }
.cat__label .small { color: var(--text-3); }

/* ---------- Trust ---------- */
.trust { display: grid; gap: 12px; }
.trust__card {
  background: var(--s-1);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-2xl);
  padding: 24px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.trust__card h3 { font-size: 16px; line-height: 24px; font-weight: 600; }
.trust__card p { font-size: 14px; line-height: 20px; color: var(--text-2); }
.trust__card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.trust__card li {
  border: 1px solid var(--hair);
  border-radius: var(--r-full);
  padding: 2px 8px;
  font-size: 12px;
  line-height: 16px;
  color: var(--text-2);
}
.trust__card a { color: var(--text); }
.trust__icon { color: var(--accent); }
.trust__icon svg { width: 24px; height: 24px; }

/* ---------- Community ---------- */
.community { display: grid; gap: 24px; }
.frames { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.frames img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-xl);
  background: var(--s-1);
}
.community blockquote {
  font-size: 18px;
  line-height: 28px;
  color: var(--text-2);
  border: 1px solid var(--hair);
  border-radius: var(--r-2xl);
  padding: 16px;
}
.community__side { display: grid; gap: 16px; align-content: start; }
.provisional {
  font-size: 12px;
  line-height: 16px;
  color: var(--text-3);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-2xl);
  padding: 16px;
  background: var(--s-1);
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 2px; }
.faq details {
  background: var(--s-1);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-2xl);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  transition: background-color 700ms var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--s-2); }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--text-3); transition: transform 700ms var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq__a { padding: 0 24px 24px; color: var(--text-2); display: grid; gap: 8px; }
.faq .faq__a p { font-size: 16px; line-height: 24px; }

/* ---------- Final CTA ---------- */
.final {
  background: var(--s-1);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-3xl);
  padding: 40px 24px;
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}
.final p { max-width: 680px; color: var(--text-2); }

/* ---------- Newsletter ---------- */
.news { background: var(--s-1); border-top: 1px solid var(--hair-soft); border-bottom: 1px solid var(--hair-soft); }
.news__grid { display: grid; gap: 24px; }
.news__form { display: grid; gap: 8px; }
.news__row { display: flex; flex-wrap: wrap; gap: 8px; }
.news input {
  flex: 1;
  min-width: 220px;
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--r-xl);
  border: 1px solid var(--hair);
  background: var(--black);
  color: var(--text);
}
.news input::placeholder { color: var(--text-3); }
.news input[aria-invalid="true"] { border-color: var(--accent); }
.news__msg { font-size: 14px; line-height: 20px; min-height: 20px; }
.news__msg--err { color: var(--accent); }
.news__msg--ok { color: var(--text); }

/* ---------- Footer ---------- */
.foot { padding: 48px 0 64px; }
.foot__grid { display: grid; gap: 32px; }
.foot h2 { font-size: 14px; line-height: 20px; font-weight: 600; margin-bottom: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
  padding: 4px 0;
  display: inline-block;
  transition: color 700ms var(--ease);
}
.foot a:hover { color: var(--text); text-decoration: underline; }
.foot__logo { width: 120px; filter: invert(1); }
.foot__legal {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--hair-soft);
  display: grid;
  gap: 8px;
  color: var(--text-3);
  font-size: 12px;
  line-height: 16px;
}

/* ---------- Cart drawer ---------- */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms var(--ease), visibility 0s linear 700ms;
}
.scrim[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transition: opacity 700ms var(--ease), visibility 0s;
}

.cart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: min(420px, 100%);
  background: var(--s-1);
  border-left: 1px solid var(--hair);
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 700ms var(--ease), visibility 0s linear 700ms;
}
.cart[data-open="true"] {
  transform: translateX(0);
  visibility: visible;
  transition: transform 700ms var(--ease), visibility 0s;
}
.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--hair-soft);
}
.cart__head h2 { font-size: 20px; line-height: 28px; font-weight: 600; }
.cart__body { overflow: auto; padding: 16px 24px; display: grid; gap: 16px; align-content: start; }
.cart__empty {
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-2xl);
  padding: 24px;
  display: grid;
  gap: 16px;
  justify-items: start;
  background: var(--s-2);
}
.cart__empty h3 { font-size: 18px; line-height: 28px; font-weight: 600; }
.cart__line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
}
.cart__line img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--s-2);
}
.cart__line-main { display: grid; gap: 8px; }
.cart__line-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.cart__line-top h3 { font-size: 16px; line-height: 24px; font-weight: 600; }
.cart__line-top span { font-size: 14px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; gap: 4px; }
.qty button {
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  border: 1px solid var(--hair);
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  transition: background-color 700ms var(--ease), transform 700ms var(--ease);
}
.qty button:hover { background: var(--s-3); }
.qty button:active { transform: scale(0.98); }
.qty output { min-width: 32px; text-align: center; font-size: 14px; font-weight: 600; }
.cart__link {
  background: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  font-family: inherit;
  font-size: 12px;
  line-height: 16px;
  color: var(--text-3);
  cursor: pointer;
  justify-self: start;
  transition: color 700ms var(--ease);
}
.cart__link:hover { color: var(--text); text-decoration: underline; }
.cart__foot {
  border-top: 1px solid var(--hair-soft);
  padding: 16px 24px 24px;
  display: grid;
  gap: 8px;
  background: var(--s-1);
}
.cart__row { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; line-height: 24px; }
.cart__row--muted { color: var(--text-3); font-size: 14px; line-height: 20px; }
.cart__row .cart__total { font-weight: 700; }
.cart__ship {
  font-size: 12px;
  line-height: 16px;
  color: var(--text-3);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-xl);
  padding: 8px 12px;
}
.cart__ship b { color: var(--text); font-weight: 600; }
/* Threshold progress: track + fill, fill width set by the runtime. */
.cart__shipbar {
  height: 4px;
  margin-top: 8px;
  border-radius: var(--r-full);
  background: var(--s-3);
  overflow: hidden;
}
.cart__shipbar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: var(--r-full);
  background: var(--text);
  transition: width 700ms var(--ease);
}
.cart__pay { font-size: 12px; line-height: 16px; color: var(--text-3); }
.cart__foot .btn { width: 100%; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 8px);
  z-index: 95;
  background: var(--text);
  color: var(--black);
  border-radius: var(--r-full);
  padding: 8px 16px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease),
    visibility 0s linear 700ms;
}
.toast[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), visibility 0s;
}

/* ---------- B7 scroll interpolation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(64px);
  filter: blur(8px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease),
    filter 800ms var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ---------- Larger viewports ---------- */
@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .band { padding: 96px 0; }
  .h1 { font-size: 60px; line-height: 1; }
  .h2 { font-size: 36px; line-height: 40px; }
  .h3 { font-size: 30px; line-height: 36px; }
  .hero { padding: 64px 0 96px; }
  .hero h1 { font-size: 60px; line-height: 1; }
  .tagline p { font-size: 48px; line-height: 1; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frames { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pairs { padding-bottom: 20px; }
  .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .final { padding: 64px 40px; }
  .foot__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
  .hero__tag { left: 16px; right: 16px; bottom: 16px; }
}

@media (min-width: 1024px) {
  .nav__menu { display: flex; }
  .nav__hamburger { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) 480px; gap: 64px; align-items: center; }
  .hero__media video,
  .hero__media img.hero__poster { aspect-ratio: 3 / 4; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .split--media { grid-template-columns: 480px minmax(0, 1fr); }
  .community { grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: start; }
  .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .news__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
}

/* ---------- Mobile hero: product visual clears the fold at 390x844 ---------- */
@media (max-width: 720px) {
  .hero { padding: 24px 0 40px; }
  .hero__grid { gap: 24px; }
  .hero__media video,
  .hero__media img.hero__poster {
    aspect-ratio: 16 / 9;
    object-position: 50% 6%;
  }
  /* The desktop mega panel is closed but still laid out, so it overflows a
     320px viewport (GAP-CHECK-E part 4, §5.12). */
  .mega { display: none; }
  /* Mobile-only sticky add-to-cart. */
  .pdp__buy {
    position: sticky;
    bottom: 0;
    z-index: 40;
    background: var(--black);
    padding: 8px 0;
  }
}

/* ---------- Reduced motion: fully usable, nothing hidden ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal,
  .js .tagline .w { opacity: 1; transform: none; filter: none; }
  .skip:focus { transform: none; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs { padding: 16px 0 0; }
.crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-3);
}
.crumbs li { display: inline-flex; gap: 8px; }
.crumbs li:not(:last-child)::after { content: "/"; color: var(--text-3); }
.crumbs a { color: var(--text-3); text-decoration: none; transition: color 700ms var(--ease); }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--text-2); }

/* ---------- PLP: toolbar, filters, count, empty ---------- */
.plp__bar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.plp__panel {
  min-width: 0;
  background: var(--s-1);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-2xl);
  padding: 16px 24px;
}
.plp__summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
.plp__summary::-webkit-details-marker { display: none; }
.plp__groups { display: grid; gap: 16px; padding-top: 16px; }
.plp__checks { display: flex; flex-wrap: wrap; gap: 4px; }
.plp__group { min-width: 0; }
.plp__group .label { display: block; margin-bottom: 8px; }
.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border: 1px solid var(--hair);
  border-radius: var(--r-full);
  font-size: 14px;
  line-height: 20px;
  color: var(--text-2);
  cursor: pointer;
  transition: background-color 700ms var(--ease), color 700ms var(--ease),
    border-color 700ms var(--ease);
}
.check:hover { background: var(--s-3); color: var(--text); }
.check:has(input:checked) { background: var(--s-2); color: var(--text); border-color: var(--hair); }
.check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.check input:checked + span { color: var(--text); font-weight: 600; }
.facet__swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  vertical-align: -1px;
}
/* Applied-filter summary above the grid; chips are rebuilt by the runtime. */
.filters__applied { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filters__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--hair);
  border-radius: var(--r-full);
  background: transparent;
  color: var(--text-2);
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
  transition: background-color 700ms var(--ease), color 700ms var(--ease),
    border-color 700ms var(--ease);
}
.filters__chip:hover { background: var(--s-3); color: var(--text); }
.plp__right {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.plp__sort { display: inline-flex; align-items: center; gap: 8px; }
.plp__sort select {
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  padding: 8px 12px;
  color: var(--text);
  background: var(--s-1);
  border: 1px solid var(--hair);
  border-radius: var(--r-full);
  cursor: pointer;
}
.plp__count { font-size: 14px; line-height: 20px; color: var(--text-3); margin-bottom: 16px; }
.plp__empty {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: 32px;
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-2xl);
  background: var(--s-1);
}

/* ---------- PDP ---------- */
.pdp__grid { display: grid; gap: 40px; }
.pdp__gallery { display: grid; gap: 8px; align-content: start; }
.pdp__stage {
  position: relative;
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--s-1);
}
.pdp__stage img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pdp__zoom {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--r-full);
  background: rgba(0, 0, 0, 0.72);
  color: var(--text);
  cursor: zoom-in;
  transition: background-color 700ms var(--ease), transform 700ms var(--ease);
}
.pdp__zoom:hover { background: var(--s-3); }
.pdp__zoom:active { transform: scale(0.98); }
.pdp__zoom svg { width: 24px; height: 24px; }
.pdp__thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp__thumb {
  width: 72px;
  padding: 0;
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--s-1);
  cursor: pointer;
  transition: border-color 700ms var(--ease), transform 700ms var(--ease);
}
.pdp__thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pdp__thumb:hover { border-color: var(--hair); }
.pdp__thumb[aria-pressed="true"] { border-color: var(--text); }
/* Full-size zoom layer (opened/closed by the runtime; Esc restores focus). */
.zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
  cursor: zoom-out;
}
.zoom-overlay img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--r-lg);
}
.pdp__info { display: grid; gap: 16px; align-content: start; }
.pdp__price { font-size: 20px; line-height: 28px; font-weight: 700; }
.pdp__buy { display: grid; gap: 8px; }
.pdp__buy .btn { width: 100%; }
.pdp__state { font-size: 14px; line-height: 20px; color: var(--text-3); }
.pdp__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-3);
}
.pdp__points li { display: flex; align-items: center; gap: 8px; }
.pdp__points svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.pdp__spec { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pdp__spec li { display: flex; justify-content: space-between; gap: 16px; }
.pdp__spec span:first-child { color: var(--text-3); }
.pdp__acc { grid-template-columns: minmax(0, 1fr); }
.trust--three { grid-template-columns: minmax(0, 1fr); }

@media (min-width: 768px) {
  .plp__groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .pdp__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
}

/* ---------- T4/T5: cart, checkout, search, account, content pages ---------- */
.cta-row { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.page-risk { margin-top: 8px; color: var(--text-3); }

.prose { max-width: 680px; display: grid; gap: 16px; }
.prose p { font-size: 16px; line-height: 24px; color: var(--text-2); }
.prose a { color: var(--text); }
.prose .small { color: var(--text-3); }
.section-head + .prose { margin-top: 8px; }

.community__quote {
  font-size: 18px;
  line-height: 28px;
  color: var(--text-2);
  border: 1px solid var(--hair);
  border-radius: var(--r-2xl);
  padding: 16px;
}

.frames figure { display: grid; gap: 8px; }
.frames figcaption { color: var(--text-3); }

/* Forms */
.form { display: grid; gap: 16px; max-width: 680px; }
.form__row { display: flex; flex-wrap: wrap; gap: 8px; }
.form__row input { flex: 1; min-width: 220px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; line-height: 20px; font-weight: 600; }
.field input,
.field textarea {
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--text);
  background: var(--s-1);
  border: 1px solid var(--hair);
  border-radius: var(--r-xl);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-3); }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--accent); }
.form__msg { font-size: 14px; line-height: 20px; min-height: 20px; }
.form__msg--err { color: var(--accent); }
.form__msg--ok { color: var(--text); }

/* Cart and checkout surfaces */
.cartpage { display: grid; gap: 24px; align-items: start; }
.cartpage__main { display: grid; gap: 16px; }
.cartpage__lines { display: grid; gap: 24px; }
.cartpage__side {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 24px;
  background: var(--s-1);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-2xl);
}
.cartpage__row { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; line-height: 24px; }
.cartpage__row span:last-child { font-weight: 700; }
.cartpage__ship {
  font-size: 12px;
  line-height: 16px;
  color: var(--text-3);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-xl);
  padding: 8px 12px;
}
.cartpage__ship b { color: var(--text); font-weight: 600; }
.cartpage__empty {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: 32px;
  background: var(--s-1);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-2xl);
}
.cartpage__pay { margin-top: 24px; color: var(--text-3); }

/* Search results */
.resultlist { display: grid; gap: 8px; }
.resultlist a {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 8px;
  background: var(--s-1);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-2xl);
  text-decoration: none;
  transition: background-color 700ms var(--ease), border-color 700ms var(--ease);
}
.resultlist a:hover { background: var(--s-2); border-color: var(--hair); }
.resultlist img { width: 72px; height: 90px; object-fit: cover; border-radius: var(--r-lg); background: var(--s-2); }
.resultlist .small { color: var(--text-3); }
.searchpage__suggest { margin-top: 40px; display: grid; gap: 16px; }

.linklist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.linklist a {
  display: inline-flex;
  padding: 4px 12px;
  border: 1px solid var(--hair);
  border-radius: var(--r-full);
  font-size: 14px;
  line-height: 20px;
  color: var(--text-2);
  text-decoration: none;
  transition: background-color 700ms var(--ease), color 700ms var(--ease);
}
.linklist a:hover { background: var(--s-3); color: var(--text); }

/* Size and fit list */
.sizelist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sizelist__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 16px;
  background: var(--s-1);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-2xl);
}
.sizelist__row h3 a { text-decoration: none; }
.sizelist__row h3 a:hover { text-decoration: underline; }
.sizelist__row .small { color: var(--text-3); }
.sizelist__sizes { font-size: 14px; line-height: 20px; color: var(--text-2); }
#runs-title ~ * { min-width: 0; }

/* Lines comparison */
.compare { display: grid; gap: 24px; }
.compare__card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 24px;
  background: var(--s-1);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-2xl);
}
.compare__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.compare__facts li { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 20px; }
.compare__facts span:first-child { color: var(--text-3); }
.compare__card .btn { justify-self: start; }

/* Contact cards */
.contact__grid { display: grid; gap: 12px; }

@media (min-width: 768px) {
  .contact__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sizelist__row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
  .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .cartpage { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
}
