/* Vi Presento Italia: written for this site. Tokens first, then layout, components, pages. */

@font-face { font-family: "Caslon"; src: url("/assets/fonts/caslon-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Caslon"; src: url("/assets/fonts/caslon-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Caslon"; src: url("/assets/fonts/caslon-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Franklin"; src: url("/assets/fonts/franklin-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --nebbia: #EEF0EE;
  --bianco: #FFFFFF;
  --ink: #1A1D22;
  --ardesia: #565C64;
  --cobalto: #1E4C8F;
  --cobalto-d: #163A6E;
  --limone: #ECCB3E;
  --limone-l: #F6E7A6;
  --linea: #CDD2CE;
  --linea-d: #8A9189;
  --on-cobalto: #E6ECF5;
  --on-cobalto-2: #D5DEEC;
  --error: #B3261E;
  --tint: #F6F7F6;

  --serif: "Caslon", "Iowan Old Style", Georgia, serif;
  --sans: "Franklin", "Helvetica Neue", Arial, sans-serif;

  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-lead: 1.25rem;
  --t-h3: 1.5rem;
  --t-h2: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  --t-h1: clamp(2.5rem, 1.6rem + 3.4vw, 4.75rem);
  --t-statement: clamp(2rem, 1.2rem + 3.2vw, 4.25rem);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;
  --sec: clamp(72px, 9vw, 144px);
  --gut: clamp(20px, 4vw, 64px);
  --rail: 264px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--nebbia); color: var(--ink);
  font-family: var(--sans); font-size: var(--t-base); line-height: 1.65; font-weight: 400;
  font-variant-numeric: lining-nums; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cobalto); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--cobalto-d); text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.25; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cobalto); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--bianco); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* ---------- Shell: left rail on desktop, top bar on mobile ---------- */
.topbar { display: none; }
.rail {
  position: fixed; inset: 0 auto 0 0; width: var(--rail); z-index: 40;
  background: var(--bianco); border-right: 1px solid var(--linea);
  display: flex; flex-direction: column; padding: 28px 28px 24px; overflow-y: auto;
}
.rail__logo img { width: 196px; height: auto; }
.rail__nav { margin-top: 44px; }
.rail__h { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 6px; color: var(--ink); }
.rail__nav ul { list-style: none; }
.rail__nav li a {
  display: block; padding: 5px 0 5px 14px; margin-left: -14px; color: var(--ink); text-decoration: none;
  border-left: 3px solid transparent; font-size: 1rem;
}
.rail__nav li a:hover { color: var(--cobalto); }
.rail__nav li a[aria-current="page"] { border-left-color: var(--limone); color: var(--cobalto); font-weight: 600; }
.rail__more { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--linea); }
.rail__more a { font-size: var(--t-sm) !important; color: var(--ardesia) !important; }
.rail__more a[aria-current="page"] { color: var(--cobalto) !important; }
.rail__foot { margin-top: auto; padding-top: 32px; font-size: var(--t-xs); color: var(--ardesia); line-height: 1.5; }
.rail__cart { width: 100%; justify-content: space-between; margin-bottom: 16px; }
.rail__today { margin-bottom: 4px; }
.rail__tel a { color: var(--ink); font-weight: 600; text-decoration: none; }
.rail-scrim { display: none; }

.main, .foot { margin-left: var(--rail); }
.sec { padding: var(--sec) var(--gut) 0; max-width: calc(var(--wrap) + 2 * var(--gut)); }
.main > .sec:last-child, .main > section:last-child { padding-bottom: var(--sec); }

.cart-count {
  display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px;
  border-radius: 999px; background: var(--limone); color: var(--ink); font-size: 0.8125rem; font-weight: 700;
}

@media (max-width: 1023px) {
  .main, .foot { margin-left: 0; }
  .topbar {
    display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 45;
    background: var(--bianco); border-bottom: 1px solid var(--linea); padding: 10px var(--gut);
  }
  .topbar__logo { margin-right: auto; }
  .topbar__logo img { width: 158px; }
  .topbar__cart { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-size: var(--t-sm); }
  .topbar__menu {
    border: 1.5px solid var(--ink); background: none; border-radius: 999px; padding: 6px 16px; font-size: var(--t-sm); cursor: pointer;
  }
  .rail__nav li a { padding-top: 9px; padding-bottom: 9px; }
  .rail { transform: translateX(-100%); visibility: hidden; width: min(320px, 86vw); padding-top: 22px; box-shadow: none; }
  .rail.is-open { transform: none; visibility: visible; }
  .rail-scrim.is-open { display: block; position: fixed; inset: 0; z-index: 39; background: rgb(26 29 34 / 0.35); }
  html { scroll-padding-top: 72px; }
}
@media (max-width: 1023px) and (prefers-reduced-motion: no-preference) {
  .rail { transition: transform 0.22s ease-out, visibility 0.22s; }
}

/* ---------- Buttons and links ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 13px 26px;
  font-weight: 600; font-size: var(--t-sm); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; line-height: 1.2;
}
.pill--solid { background: var(--cobalto); color: var(--bianco); }
.pill--solid:hover { background: var(--cobalto-d); color: var(--bianco); }
.pill--line { border-color: var(--cobalto); color: var(--cobalto); background: transparent; }
.pill--line:hover { background: var(--bianco); color: var(--cobalto-d); }
.tlink { color: var(--ink); font-weight: 600; text-decoration-line: underline; text-decoration-color: var(--limone); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.tlink:hover { color: var(--cobalto); text-decoration-color: var(--cobalto); text-decoration-thickness: 3px; }
.linkbtn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font-size: inherit; }

/* ---------- Section heading: heading left, intro right ---------- */
.shead { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s5) var(--s8); align-items: end; margin-bottom: var(--s8); }
.shead p { color: var(--ardesia); font-size: var(--t-lead); line-height: 1.55; max-width: 46ch; }
@media (max-width: 800px) {
  .shead { grid-template-columns: 1fr; margin-bottom: var(--s7); }
}

/* ---------- Masks ---------- */
.m-stadium { border-radius: 999px; overflow: hidden; }
.m-circle { border-radius: 50%; overflow: hidden; }
.m-leaf { border-radius: 42% var(--r-lg) 42% var(--r-lg) / 32% var(--r-lg) 32% var(--r-lg); overflow: hidden; }
img.m-stadium, img.m-circle, img.m-leaf { object-fit: cover; }

/* ---------- Hero: full-bleed photo, caption notched into the bottom-left corner ---------- */
.hero { padding: var(--gut) var(--gut) 0; }
.hero__fig { position: relative; margin: 0; }
.hero__fig > img { width: 100%; height: min(86vh, 900px); min-height: 520px; object-fit: cover; object-position: 62% 50%; border-radius: var(--r-lg); }
.hero__cap {
  position: absolute; left: 0; bottom: 0; max-width: min(640px, 62%);
  background: var(--nebbia); padding: 30px 40px 0 0; border-top-right-radius: var(--r-lg);
}
.hero__cap::before, .hero__cap::after { content: ""; position: absolute; width: var(--r-lg); height: var(--r-lg); background: radial-gradient(circle at 100% 0, transparent calc(var(--r-lg) - 0.5px), var(--nebbia) var(--r-lg)); }
.hero__cap::before { left: 0; top: calc(-1 * var(--r-lg)); }
.hero__cap::after { right: calc(-1 * var(--r-lg)); bottom: 0; }
.hero__cap h1 { font-size: clamp(1.875rem, 1.1rem + 2.3vw, 3.25rem); line-height: 1.1; }
.hero__cap p { margin-top: 18px; color: var(--ardesia); font-size: var(--t-base); max-width: 44ch; }
@media (max-width: 760px) {
  .hero__fig > img { height: 62vh; min-height: 380px; object-position: 70% 50%; }
  .hero__cap { position: static; max-width: none; padding: 26px 0 0; }
  .hero__cap::before, .hero__cap::after { display: none; }
}

/* ---------- Founder ---------- */
.founder__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); align-items: start; }
.founder__img { width: 100%; max-width: 420px; aspect-ratio: 2 / 3; object-position: 40% 30%; }
.founder__letter { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.75; max-width: 60ch; padding-top: var(--s6); }
.founder__sign { margin-top: var(--s6); font-size: 1.375rem; }
.founder__sign span { display: block; font-family: var(--sans); font-size: var(--t-sm); color: var(--ardesia); }
.founder__letter .tlink { font-family: var(--sans); font-size: var(--t-base); }
@media (max-width: 800px) {
  .founder__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .founder__img { max-width: 300px; }
  .founder__letter { padding-top: 0; font-size: 1.125rem; }
}

/* ---------- The one scroll-linked section ---------- */
.band { padding: var(--sec) var(--gut) 0; }
.band__in { background: var(--cobalto); color: var(--bianco); border-radius: var(--r-lg); padding: clamp(48px, 6vw, 96px) clamp(24px, 5vw, 80px); }
.band .shead p { color: var(--on-cobalto-2); }
.band__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s8); }
.band__frame { position: sticky; top: 12vh; height: 76vh; max-height: 760px; }
.band__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 46% 46% var(--r-lg) var(--r-lg) / 30% 30% var(--r-lg) var(--r-lg); }
.band__steps { list-style: none; }
.band__step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; max-width: 40ch; padding: var(--s6) 0; }
.band__step + .band__step { border-top: 1px solid rgb(255 255 255 / 0.18); }
.band__town { color: var(--limone); font-weight: 600; margin-bottom: 10px; }
.band__step h3 { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.25rem); margin-bottom: 18px; }
.band__step p { color: var(--on-cobalto); }
.band__step a { color: var(--bianco); text-decoration-color: var(--limone); text-decoration-thickness: 2px; }
.band__inline { display: none; }
.band { timeline-scope: --st1, --st2, --st3, --st4, --st5, --st6; }
.band__step:nth-child(1) { view-timeline-name: --st1; }
.band__step:nth-child(2) { view-timeline-name: --st2; }
.band__step:nth-child(3) { view-timeline-name: --st3; }
.band__step:nth-child(4) { view-timeline-name: --st4; }
.band__step:nth-child(5) { view-timeline-name: --st5; }
.band__step:nth-child(6) { view-timeline-name: --st6; }
@keyframes band-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
@supports (animation-timeline: view()) {
  @media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
    .band__frame img { animation: band-in linear both; animation-range: cover 18% cover 34%; }
    .band__frame img:nth-child(1) { animation: none; }
    .band__frame img:nth-child(2) { animation-timeline: --st2; }
    .band__frame img:nth-child(3) { animation-timeline: --st3; }
    .band__frame img:nth-child(4) { animation-timeline: --st4; }
    .band__frame img:nth-child(5) { animation-timeline: --st5; }
    .band__frame img:nth-child(6) { animation-timeline: --st6; }
  }
}
/* Fallback: no scroll timelines, small screens or reduced motion → one photo per story */
@supports not (animation-timeline: view()) {
  .band__frame { display: none; }
  .band__grid { grid-template-columns: 1fr; }
  .band__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s7); }
  .band__step { min-height: 0; border: 0 !important; }
  .band__inline { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); margin-bottom: var(--s5); }
}
@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .band__frame { display: none; }
  .band__grid { grid-template-columns: 1fr; }
  .band__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s7); }
  .band__step { min-height: 0; border: 0 !important; padding: 0; }
  .band__inline { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); margin-bottom: var(--s5); }
}

/* ---------- Chips (radio pills and filter buttons) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label, .chips button, .chips a {
  display: inline-block; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--linea-d);
  background: var(--bianco); font-size: var(--t-sm); cursor: pointer; color: var(--ink); text-decoration: none; line-height: 1.3;
}
.chips label:hover, .chips button:hover, .chips a:hover { border-color: var(--ink); }
.chips input:checked + label, .chips button[aria-pressed="true"], .chips a[aria-current="page"] { background: var(--limone); border-color: var(--limone); font-weight: 600; }
.chips input:focus-visible + label { outline: 3px solid var(--cobalto); outline-offset: 2px; }
.chips--filter { margin-bottom: var(--s6); }

/* ---------- Product rows ---------- */
.plist { border-bottom: 1px solid var(--linea); }
.prow {
  display: grid; grid-template-columns: 112px minmax(0, 1.5fr) minmax(0, 1.6fr) minmax(0, 0.9fr) 110px;
  gap: var(--s6); align-items: center; padding: 22px 0; border-top: 1px solid var(--linea); position: relative;
}
.prow__img { display: block; }
.prow__img img { width: 100%; object-fit: cover; }
.prow__img.m-stadium img { aspect-ratio: 4 / 5; }
.prow__img.m-circle img, .prow__img.m-leaf img { aspect-ratio: 1; }
.prow__img.m-stadium { border-radius: 999px; }
.prow__name h3 { font-size: 1.375rem; }
.prow__name h3 a { color: var(--ink); text-decoration: none; }
.prow__name h3 a::after { content: ""; position: absolute; inset: 0; }
.prow__name h3 a:hover { text-decoration: underline; text-decoration-color: var(--limone); text-decoration-thickness: 3px; }
.prow__name p, .prow__mat, .prow__sizes { color: var(--ardesia); font-size: var(--t-sm); margin: 4px 0 0; }
.prow__mat, .prow__sizes { margin: 0; }
.prow__price { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; margin: 0; }
.prow--s { grid-template-columns: 72px minmax(0, 1fr) auto; gap: var(--s5); padding: 16px 0; }
.prow--s .prow__name h3 { font-size: 1.1875rem; }
@media (max-width: 1100px) {
  .prow { grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1fr) 100px; }
  .prow__sizes { display: none; }
}
@media (max-width: 700px) {
  .prow { grid-template-columns: 84px minmax(0, 1fr); grid-template-areas: "img name" "img mat" "img price"; gap: 4px var(--s5); align-items: start; }
  .prow__img { grid-area: img; }
  .prow__name { grid-area: name; }
  .prow__mat { grid-area: mat; }
  .prow__price { grid-area: price; text-align: left; margin-top: 6px; }
  .prow--s { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "img name" "img price"; }
}
.collection__more { margin-top: var(--s6); }

/* ---------- Gift finder ---------- */
.gifts .gf, .gf--page { background: var(--limone); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 56px); }
.gf { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s7); }
.gf fieldset { border: 0; padding: 0; margin: 0 0 var(--s6); min-width: 0; }
.gf fieldset:last-child { margin-bottom: 0; }
.gf legend { font-family: var(--serif); font-size: 1.375rem; margin-bottom: 12px; padding: 0; }
.gf .chips label { border-color: var(--ink); background: transparent; }
.gf .chips input:checked + label { background: var(--ink); color: var(--bianco); border-color: var(--ink); }
.gf__out { background: var(--bianco); border-radius: var(--r-md); padding: var(--s6); }
.gf__lead { font-size: var(--t-sm); color: var(--ardesia); margin-bottom: 8px; }
.gf__list { list-style: none; }
.gf__list li { border-top: 1px solid var(--linea); }
.gf__list li:first-child { border-top: 0; }
.gf__item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: var(--s5); align-items: center; padding: 14px 0; text-decoration: none; color: var(--ink); }
.gf__item img { width: 76px; height: 76px; object-fit: cover; border-radius: 50%; }
.gf__item strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.1875rem; line-height: 1.25; }
.gf__meta { display: block; font-size: var(--t-sm); color: var(--ardesia); }
.gf__item:hover strong { text-decoration: underline; text-decoration-color: var(--limone); text-decoration-thickness: 3px; }
.gf__item b { font-variant-numeric: tabular-nums; }
.gifts__more { margin-top: var(--s6); }
@media (max-width: 900px) { .gf { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .gifts .gf, .gf--page { padding: 22px 18px; }
  .gf--page .gf { padding: 0; }
  .gf__out { padding: 16px 18px; }
  .gf__item { grid-template-columns: 56px minmax(0, 1fr); gap: 4px 14px; }
  .gf__item img { width: 56px; height: 56px; grid-row: span 2; }
  .gf__item b { grid-column: 2; }
}

/* ---------- Tables ---------- */
.tablewrap { overflow-x: auto; background: var(--bianco); border-radius: var(--r-md); border: 1px solid var(--linea); margin-bottom: var(--s6); }
.tablewrap table { min-width: 720px; }
.tablewrap th, .tablewrap td { text-align: left; vertical-align: top; padding: 18px 20px; border-top: 1px solid var(--linea); font-size: var(--t-sm); line-height: 1.55; }
.tablewrap thead th { border-top: 0; font-family: var(--serif); font-weight: 400; font-size: 1.125rem; background: var(--tint); }
.tablewrap tbody th { font-family: var(--serif); font-weight: 400; font-size: 1.125rem; white-space: nowrap; }

/* ---------- Visit + form ---------- */
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7); align-items: start; }
.visit__place > img { width: 100%; aspect-ratio: 3 / 2; margin-bottom: var(--s6); }
.visit__addr { font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; }
.hours { margin: var(--s5) 0; max-width: 440px; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-top: 1px solid var(--linea); font-weight: 400; font-size: var(--t-sm); vertical-align: top; }
.hours th { padding-right: var(--s5); color: var(--ardesia); }
.panel { background: var(--bianco); border: 1px solid var(--linea); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 48px); }
.panel > h3 { font-size: 1.875rem; margin-bottom: 8px; }
.panel > h3 + p { color: var(--ardesia); margin-bottom: var(--s6); }
@media (max-width: 900px) { .visit__grid { grid-template-columns: 1fr; } }

.form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s5); }
.field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.field--half { grid-column: span 1; }
.field label { font-weight: 600; font-size: var(--t-sm); }
.field input, .field textarea, .field select, .select {
  width: 100%; border: 1.5px solid var(--linea-d); border-radius: var(--r-sm); padding: 12px 14px; background: var(--bianco);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--cobalto); outline-offset: 1px; border-color: var(--cobalto); }
.field input::placeholder, .field textarea::placeholder { color: #61675F; }
.field.is-bad input, .field.is-bad textarea { border-color: var(--error); }
.field__err { color: var(--error); font-size: var(--t-xs); margin: 0; grid-column: 1 / -1; }
.check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-sm); line-height: 1.5; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--cobalto); }
.form__fields > .pill { justify-self: start; grid-column: 1 / -1; }
.form__note { grid-column: 1 / -1; font-size: var(--t-xs); color: var(--ardesia); }
.form__ok { background: var(--limone-l); border-radius: var(--r-md); padding: var(--s5) var(--s6); }
.form__ok-h { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 6px; }
@media (max-width: 560px) { .field--half { grid-column: 1 / -1; } }

/* ---------- Newsletter ---------- */
.letter__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7); align-items: end; border-top: 1px solid var(--linea); padding-top: var(--s8); }
.letter .shead { grid-template-columns: 1fr; margin: 0; }
.letter__form .form__fields { grid-template-columns: 1fr; }
.letter__field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; }
.letter__field label { grid-column: 1 / -1; }
.letter__field .field__err { grid-column: 1 / -1; grid-row: 3; }
@media (max-width: 900px) { .letter__grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .letter__field { grid-template-columns: 1fr; } .letter__field .pill { justify-self: start; } }

/* ---------- Footer ---------- */
.foot { padding: var(--sec) var(--gut) var(--s7); background: var(--bianco); border-top: 1px solid var(--linea); margin-top: var(--sec); }
.foot__statement { font-family: var(--serif); font-size: var(--t-statement); line-height: 1.12; letter-spacing: -0.015em; max-width: 24ch; margin-bottom: var(--s9); text-wrap: balance; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--s7) var(--s6); padding-top: var(--s7); border-top: 1px solid var(--linea); }
.foot__h { font-size: 1.25rem; margin-bottom: 14px; }
.foot address { font-style: normal; line-height: 1.75; }
.foot__small { font-size: var(--t-sm); color: var(--ardesia); margin-top: 14px; }
.foot ul { list-style: none; }
.foot__col li { padding: 3px 0; }
.foot__col a { color: var(--ink); text-decoration: none; }
.foot__col a:hover { color: var(--cobalto); text-decoration: underline; }
.foot__legal { margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--linea); font-size: var(--t-xs); color: var(--ardesia); }
.foot__legal ul { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 12px; }
.foot__legal a, .foot__legal .linkbtn { color: var(--ardesia); }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; width: min(440px, calc(100vw - 32px));
  background: var(--bianco); border: 1px solid var(--linea-d); border-radius: var(--r-lg); padding: 24px; font-size: var(--t-sm);
}
.cookie__t { font-family: var(--serif); font-size: 1.375rem; margin-bottom: 8px; }
.cookie__prefs { display: grid; gap: 10px; margin: 14px 0; }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 16px; }
.cookie__btns .pill { padding: 10px 20px; }

/* =========================================================
   Inner pages
   ========================================================= */
.main > .sec:first-child { padding-top: clamp(32px, 4vw, 56px); }
.crumbs { font-size: var(--t-xs); color: var(--ardesia); margin-bottom: var(--s6); }
.crumbs a { color: var(--ardesia); }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--ardesia); max-width: 52ch; }
.muted { color: var(--ardesia); font-size: var(--t-sm); }
.sec > h2:first-child, .sec > h2.quotes__h { margin-bottom: var(--s7); }

/* Shop */
.shop-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(180px, 22vw, 300px); gap: var(--s7); align-items: center; }
.shop-head h1 { margin-bottom: var(--s5); max-width: 16ch; }
.shop-head__img { width: 100%; aspect-ratio: 1; object-position: 50% 40%; }
.shop-list { padding-top: var(--s8); }
.shop-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s5); align-items: center; margin-bottom: var(--s5); }
.shop-sort { display: flex; align-items: center; gap: 10px; font-size: var(--t-sm); }
.shop-sort .select { width: auto; padding: 9px 12px; }
.shop-count { font-size: var(--t-sm); color: var(--ardesia); margin-bottom: var(--s4); }
.shop-makers__list { display: grid; gap: var(--s7); }
.mk-mini { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: var(--s6); max-width: 900px; }
.mk-mini img { width: 160px; aspect-ratio: 1; object-fit: cover; }
.mk-mini h3 { margin-bottom: 4px; }
.mk-mini p { max-width: 56ch; }
.mk-mini__where { color: var(--ardesia); font-size: var(--t-sm); }
.help-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); padding: var(--s6) 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); font-size: var(--t-sm); }
.help-strip strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.1875rem; margin-bottom: 4px; }
@media (max-width: 760px) {
  .shop-head__grid { grid-template-columns: 1fr; }
  .shop-head__img { width: 180px; order: -1; }
  .mk-mini { grid-template-columns: 96px minmax(0, 1fr); gap: var(--s5); }
  .mk-mini img { width: 96px; }
  .help-strip { grid-template-columns: 1fr; }
}

/* Product */
.pd__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s8); align-items: start; }
.pd__gallery { position: relative; padding-bottom: 90px; }
.pd__main { width: min(100%, 560px); aspect-ratio: 4 / 5; object-fit: cover; }
.pd__main--sq { aspect-ratio: 1; border-radius: var(--r-lg); width: min(100%, 620px); }
.pd__detail { position: absolute; right: 0; bottom: 0; width: clamp(150px, 18vw, 230px); margin: 0; }
.pd__detail img { width: 100%; aspect-ratio: 1; border: 6px solid var(--nebbia); }
.pd__detail figcaption { font-size: var(--t-xs); color: var(--ardesia); margin-top: 8px; text-align: right; }
.pd__buy h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); margin-bottom: var(--s4); }
.pd__maker { color: var(--ardesia); }
.pd__price { font-family: var(--serif); font-size: 2rem; margin: var(--s5) 0; }
.pd__price span { font-family: var(--sans); font-size: var(--t-xs); color: var(--ardesia); margin-left: 6px; }
.pd__form { margin: var(--s6) 0; padding: var(--s6) 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.pd__sizes { border: 0; padding: 0; margin: 0 0 var(--s5); min-width: 0; }
.pd__sizes legend { font-weight: 600; margin-bottom: 12px; padding: 0; }
.pd__sizes .chips label { min-width: 52px; text-align: center; }
.pd__fit { font-size: var(--t-sm); color: var(--ardesia); margin-top: 12px; }
.pd__add { margin-top: var(--s4); }
.pd__ok { margin-top: var(--s4); background: var(--limone-l); padding: 12px 16px; border-radius: var(--r-sm); font-size: var(--t-sm); }
.pd__terms { list-style: none; font-size: var(--t-sm); color: var(--ardesia); }
.pd__terms li { padding: 6px 0 6px 18px; position: relative; }
.pd__terms li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 7px; height: 7px; border-radius: 50%; background: var(--limone); }
.pd-info__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); }
.pd-info h2, .pd-rel h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); margin-bottom: var(--s6); }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 14px 0; border-top: 1px solid var(--linea); font-size: var(--t-sm); }
.spec th { font-weight: 400; color: var(--ardesia); width: 34%; padding-right: var(--s5); }
.pd-who img { width: 100%; max-width: 420px; aspect-ratio: 4 / 3; margin-bottom: var(--s5); }
.plist--two { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s7); border-bottom: 0; }
.plist--two .prow { border-bottom: 1px solid var(--linea); border-top: 0; }
@media (max-width: 900px) {
  .pd__grid, .pd-info__grid { grid-template-columns: 1fr; gap: var(--s7); }
  .plist--two { grid-template-columns: 1fr; }
}

/* Makers */
.mk-head h1 { max-width: 18ch; margin-bottom: var(--s7); }
.mk-head__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s8); }
.mk-index { list-style: none; border-top: 1px solid var(--linea); }
.mk-index li { display: grid; grid-template-columns: 120px 1fr; gap: var(--s4); padding: 10px 0; border-bottom: 1px solid var(--linea); font-size: var(--t-sm); }
.mk-index span { color: var(--ardesia); }
.mk-index__towns { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.mk__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s8); align-items: center; }
.mk--flip .mk__img { order: 2; }
.mk__img { width: 100%; aspect-ratio: 4 / 5; max-height: 640px; }
.mk__img.m-stadium { max-width: 440px; justify-self: center; }
.mk__where { color: var(--ardesia); font-size: var(--t-sm); margin-bottom: 10px; }
.mk__text h2 { margin-bottom: var(--s4); }
.mk__craft { font-family: var(--serif); font-size: 1.25rem; margin-bottom: var(--s5); }
.mk__text > p { max-width: 58ch; }
.mk__prods { list-style: none; margin-top: var(--s5); border-top: 1px solid var(--linea); max-width: 520px; }
.mk__prods li { display: flex; justify-content: space-between; gap: var(--s4); padding: 9px 0; border-bottom: 1px solid var(--linea); font-size: var(--t-sm); }
.mk__prods span { font-variant-numeric: tabular-nums; color: var(--ardesia); }
@media (max-width: 860px) {
  .mk-head__grid, .mk__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .mk--flip .mk__img { order: 0; }
  .mk__img { max-height: 460px; }
}

/* About */
.about-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(200px, 26vw, 360px); gap: var(--s7); align-items: center; }
.about-head__img { width: 100%; aspect-ratio: 1; object-position: 40% 50%; }
.about-head__lead { font-family: var(--serif); font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); line-height: 1.5; max-width: 44ch; margin-top: var(--s7); }
.tl { list-style: none; border-top: 1px solid var(--linea); }
.tl li { display: grid; grid-template-columns: clamp(110px, 16vw, 220px) minmax(0, 1fr); gap: var(--s6); padding: var(--s6) 0; border-bottom: 1px solid var(--linea); }
.tl__y { font-family: var(--serif); font-size: clamp(2.25rem, 1.6rem + 2vw, 3.5rem); line-height: 1; color: var(--cobalto); }
.tl h3 { margin-bottom: 8px; }
.tl p { max-width: 60ch; color: var(--ardesia); }
.team__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s8); align-items: start; }
.team__img { width: 100%; max-width: 340px; aspect-ratio: 2 / 3; }
.team__list > div { padding: var(--s5) 0; border-top: 1px solid var(--linea); }
.team__list dt { font-family: var(--serif); font-size: 1.5rem; }
.team__list dd { margin: 6px 0 0; max-width: 58ch; color: var(--ardesia); }
.nots__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s7); }
.nots__list li { padding: 18px 0; border-top: 1px solid var(--linea); }
.nots__list strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.quotes__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7); }
.quotes figure { margin: 0; }
.quotes blockquote { margin: 0 0 14px; font-family: var(--serif); font-style: italic; font-size: 1.375rem; line-height: 1.45; }
.quotes figcaption { font-size: var(--t-sm); color: var(--ardesia); }
@media (max-width: 860px) {
  .about-head__grid, .team__grid, .nots__list, .quotes__list { grid-template-columns: 1fr; }
  .about-head__img { width: 220px; }
  .tl li { grid-template-columns: 1fr; gap: 8px; }
}

/* Store */
.store-hero h1 { margin-bottom: var(--s6); }
.store-hero__img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-lg); }
.store-info__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); }
.store-info h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); margin-bottom: var(--s4); }
.howto > div { display: grid; grid-template-columns: 90px 1fr; gap: var(--s4); padding: 10px 0; border-top: 1px solid var(--linea); font-size: var(--t-sm); }
.howto dt { color: var(--ardesia); }
.howto dd { margin: 0; }
.howto { margin: 0 0 var(--s5); }
.svc { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s7); }
.svc li { padding: var(--s5) 0; border-top: 1px solid var(--linea); }
.svc h3 { font-size: 1.375rem; margin-bottom: 6px; }
.svc p { color: var(--ardesia); max-width: 52ch; }
.store-pics__grid { display: grid; grid-template-columns: 1.1fr 1fr 0.8fr; gap: var(--s6); align-items: end; }
.store-pics figure { margin: 0; }
.store-pics img { width: 100%; }
.store-pics .m-leaf { aspect-ratio: 4 / 5; }
.store-pics .m-circle { aspect-ratio: 1; }
.store-pics .m-stadium { aspect-ratio: 2 / 3; }
.store-pics figcaption { font-size: var(--t-xs); color: var(--ardesia); margin-top: 10px; }
@media (max-width: 860px) {
  .store-info__grid, .svc { grid-template-columns: 1fr; }
  .store-pics__grid { grid-template-columns: 1fr 1fr; }
  .store-hero__img { aspect-ratio: 4 / 3; }
}

/* Sizes */
.sz-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7); align-items: center; }
.sz-head h1 { margin-bottom: var(--s5); }
.sz-head__img { width: 100%; aspect-ratio: 3 / 2; }
.sz-calc h2 { margin-bottom: var(--s6); }
.calc { background: var(--bianco); border: 1px solid var(--linea); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 48px); max-width: 980px; }
.calc__tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--nebbia); border-radius: 999px; margin-bottom: var(--s6); }
.calc__tabs button { border: 0; background: none; padding: 9px 22px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: var(--t-sm); }
.calc__tabs button[aria-selected="true"] { background: var(--limone); }
.calc__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.calc__in .field:only-child { grid-column: span 2; }
.calc__out { margin-top: var(--s6); padding: var(--s5) var(--s6); border-radius: var(--r-md); background: var(--nebbia); min-height: 92px; }
.calc__out strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2rem; color: var(--cobalto); line-height: 1.2; }
.calc__out span { color: var(--ardesia); font-size: var(--t-sm); }
.sz-tables__h { margin: var(--s6) 0 var(--s4); font-size: 1.375rem; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s6); margin-bottom: var(--s6); }
.steps li { border-top: 1px solid var(--linea); padding-top: var(--s4); }
.steps h3 { font-size: 1.25rem; margin-bottom: 6px; }
.steps p { color: var(--ardesia); font-size: var(--t-sm); }
.sz-how h2 { margin-bottom: var(--s6); }
@media (max-width: 760px) {
  .sz-head__grid, .calc__in { grid-template-columns: 1fr; }
  .calc__in .field:only-child { grid-column: auto; }
}

/* Gifts page */
.gp-head { display: grid; grid-template-columns: minmax(0, 1fr); }
.gp-head .crumbs { order: -2; }
.gp-head__img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; object-position: 50% 45%; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 0; }
.gp-head__text { background: var(--nebbia); margin-top: -96px; width: min(720px, 92%); padding: 32px 40px 0 0; border-top-right-radius: var(--r-lg); position: relative; }
.gp-head__text h1 { margin-bottom: var(--s4); }
.gf--page { background: var(--limone); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 56px); }
.gp-extras__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7); align-items: start; }
.gp-wrap img { width: 220px; aspect-ratio: 1; margin-bottom: var(--s5); }
.gp-wrap h3, .gp-card h3 { margin-bottom: 10px; }
@media (max-width: 760px) {
  .gp-head__img { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
  .gp-head__text { margin-top: 0; width: 100%; padding: 24px 0 0; }
  .gp-extras__grid { grid-template-columns: 1fr; }
}

/* Care */
.care-head h1 { margin-bottom: var(--s6); }
.care-head__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: var(--s7); margin-bottom: var(--s7); }
.care-toc ul { list-style: none; columns: 2; column-gap: var(--s6); }
.care-toc li { padding: 4px 0; break-inside: avoid; }
.care-head__img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--r-lg); }
.cg { padding-top: var(--s8); }
.cg__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4fr); gap: var(--s7); padding-top: var(--s6); border-top: 1px solid var(--ink); }
.cg__name h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); margin-bottom: 10px; }
.cg__name p { color: var(--ardesia); font-size: var(--t-sm); }
.cg h3 { font-family: var(--sans); font-weight: 600; font-size: var(--t-base); margin-bottom: 10px; }
.cg ul { list-style: none; }
.cg li { padding: 8px 0 8px 20px; position: relative; border-top: 1px solid var(--linea); font-size: var(--t-sm); }
.cg__do li::before, .cg__dont li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 8px; border-radius: 50%; }
.cg__do li::before { background: var(--cobalto); }
.cg__dont li::before { border: 1.5px solid var(--ardesia); }
.care-fix__panel { max-width: 760px; }
.care-fix__panel h2 { margin-bottom: var(--s4); }
@media (max-width: 900px) {
  .care-head__grid, .cg__grid { grid-template-columns: 1fr; gap: var(--s5); }
  .care-head__img { aspect-ratio: 4 / 3; }
}

/* FAQ */
.faq-head h1 { margin-bottom: var(--s5); max-width: 18ch; }
.faq__grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--s8); align-items: start; }
.faq__toc { position: sticky; top: 32px; }
.faq__toc ul { list-style: none; }
.faq__toc li { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--linea); font-size: var(--t-sm); }
.faq__toc span { color: var(--ardesia); }
.faq__group { margin-bottom: var(--s8); max-width: 760px; }
.faq__group h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); margin-bottom: var(--s5); }
.faq details { border-top: 1px solid var(--linea); }
.faq details:last-child { border-bottom: 1px solid var(--linea); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-family: var(--sans); font-size: 1.5rem; color: var(--cobalto); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; max-width: 64ch; color: var(--ardesia); }
@media (max-width: 860px) {
  .faq__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .faq__toc { position: static; }
}

/* Contact */
.ct-head h1 { margin-bottom: var(--s5); }
.ways { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--s6); }
.ways li { border-top: 2px solid var(--ink); padding-top: var(--s5); }
.ways h2 { font-family: var(--sans); font-size: var(--t-sm); font-weight: 600; color: var(--ardesia); margin-bottom: 10px; }
.ways__big { font-family: var(--serif); font-size: clamp(1.25rem, 0.9rem + 1vw, 1.75rem); line-height: 1.25; overflow-wrap: anywhere; }
.ways__big a { color: var(--ink); text-decoration-color: var(--limone); text-decoration-thickness: 3px; }
.ways li > p:last-child { color: var(--ardesia); font-size: var(--t-sm); }
.ct-main__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s7); align-items: start; }
.ct-main__h { font-size: 1.875rem; margin-bottom: 6px; }
.ct-main .panel .muted { margin-bottom: var(--s6); }
.ct-side__img { width: 100%; aspect-ratio: 3 / 2; margin-bottom: var(--s6); }
.ct-side h2 { font-size: 1.375rem; margin: var(--s5) 0 0; }
@media (max-width: 900px) { .ways, .ct-main__grid { grid-template-columns: 1fr; } }

/* Cart */
.cart h1 { margin-bottom: var(--s6); }
.cart-empty .lead { margin-bottom: var(--s5); }
.cart-empty__h { font-size: 1.75rem; margin-bottom: 8px; }
.clines { list-style: none; border-top: 1px solid var(--linea); margin-bottom: var(--s7); }
.cline { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 110px auto; gap: var(--s5); align-items: center; padding: 18px 0; border-bottom: 1px solid var(--linea); }
.cline img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; }
.cline__main a { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); text-decoration: none; display: block; }
.cline__main span { font-size: var(--t-sm); color: var(--ardesia); }
.cline select { border: 1.5px solid var(--linea-d); border-radius: var(--r-sm); padding: 8px 10px; background: var(--bianco); }
.cline__price { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.cart__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s7); align-items: start; }
.totals dl { margin: 0 0 var(--s5); }
.totals dl > div { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--linea); }
.totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.totals__sum { font-family: var(--serif); font-size: 1.5rem; }
.totals__iva { font-size: var(--t-xs); color: var(--ardesia); }
.checkout__h { grid-column: 1 / -1; font-size: 1.875rem; }
.opts { border: 0; padding: 0; margin: 0; }
.opts legend { font-weight: 600; font-size: var(--t-sm); margin-bottom: 8px; padding: 0; }
.opts label { display: flex; gap: 10px; align-items: center; padding: 6px 0; font-size: var(--t-sm); }
.opts input { accent-color: var(--cobalto); width: 18px; height: 18px; }
@media (max-width: 900px) { .cart__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .cline { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "img main main" "img qty price" "img rm rm"; gap: 6px var(--s4); }
  .cline img { width: 64px; height: 64px; grid-area: img; }
  .cline__main { grid-area: main; } .cline__qty { grid-area: qty; } .cline__price { grid-area: price; } .cline .linkbtn { grid-area: rm; justify-self: start; font-size: var(--t-sm); }
}

/* Legal */
.legal__grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: var(--s8); align-items: start; }
.prose { max-width: 72ch; }
.prose h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.75rem); margin-bottom: var(--s5); }
.prose .lead { margin-bottom: var(--s7); }
.prose h2 { font-size: 1.75rem; margin: var(--s7) 0 var(--s4); }
.prose h3 { font-size: 1.25rem; margin: var(--s6) 0 var(--s3); }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }
.prose .tablewrap table { min-width: 560px; }
.legal__aside { position: sticky; top: 32px; font-size: var(--t-sm); padding: var(--s5); background: var(--bianco); border: 1px solid var(--linea); border-radius: var(--r-md); }
.formbox { background: var(--bianco); border: 1px dashed var(--linea-d); border-radius: var(--r-md); padding: var(--s5) var(--s6); font-size: var(--t-sm); }
@media (max-width: 960px) { .legal__grid { grid-template-columns: 1fr; } .legal__aside { position: static; } }

/* 404 */
.nf__grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: var(--s7); align-items: center; }
.nf h1 { margin-bottom: var(--s5); }
.nf__links { list-style: none; margin-top: var(--s5); display: grid; gap: 12px; }
.nf__img { width: 100%; aspect-ratio: 1; }
@media (max-width: 760px) { .nf__grid { grid-template-columns: 1fr; } .nf__img { width: 180px; } }

/* Critique fixes */
.checkout__sum { grid-column: 1 / -1; padding-top: var(--s4); border-top: 1px solid var(--linea); font-size: var(--t-sm); color: var(--ardesia); }
.checkout__sum strong { color: var(--ink); font-size: 1.125rem; }
.addr { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
@media (max-width: 560px) { .addr { grid-template-columns: 1fr; } }
.pd__form .field__err { font-size: var(--t-sm); font-weight: 600; margin-top: 10px; }
@media (max-width: 720px) {
  .pd__gallery { padding-bottom: 56px; }
  .pd__main { width: 74%; max-height: 62vh; }
  .pd__main--sq { width: 82%; }
  .pd__detail { width: 128px; }
  .pd__detail figcaption { display: none; }
}
