/* ZERO ELEMENTS — foglio di stile dello store
   Direzione: carta color osso, inchiostro nero, verdi camo ripresi dalla grafica della tee.
   Tipografia: Archivo (variabile, da stretto a largo), Pinyon Script per "elements", IBM Plex Mono per le etichette. */

@font-face { font-family: "Archivo"; src: url("/fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Pinyon Script"; src: url("/fonts/pinyon-script.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bone: #f3f1ea;
  --paper: #faf9f5;
  --stone: #e6e3d8;
  --line: #d6d3c6;
  --ink: #10110e;
  --ink-2: #4a4d43;
  --ink-3: #74776b;
  --olive: #4d5a39;
  --olive-deep: #1d2316;
  --sage: #aab18f;
  --warn: #f1e7c2;
  --error: #a3261a;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bone); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul, figure, fieldset, address { margin: 0; padding: 0; }
ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
::selection { background: var(--olive); color: var(--bone); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bone); padding: 10px 16px; }
.skip-link:focus { top: 12px; }

/* Zero barrato: una barra diagonale sopra la O, come nel logo */
.slashed { position: relative; display: inline-block; }
.slashed::after { content: ""; position: absolute; left: 50%; top: 50%; width: .085em; height: .98em; background: currentColor; transform: translate(-50%, -50%) rotate(34deg); }
.script { font-family: var(--script); font-weight: 400; }

.eyebrow { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); }
.eyebrow--light { color: var(--sage); }

/* ---------- Barra annuncio + header ---------- */
.announce { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 8px var(--gutter); background: var(--ink); color: var(--bone); font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; }
.announce__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 241, 234, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 68px; }
.wordmark { display: inline-flex; align-items: baseline; padding: 10px 0; text-decoration: none; justify-self: start; line-height: 1; }
.wordmark__zero { font-weight: 800; font-stretch: 112%; font-size: 1.375rem; letter-spacing: -.01em; }
.wordmark__script { font-family: var(--script); font-size: 1.75rem; color: var(--olive); margin-left: -.12em; transform: translateY(.12em) rotate(-5deg); }
.site-nav { display: flex; gap: clamp(18px, 3vw, 40px); }
.site-nav a, .cart-link { font-size: .8125rem; font-weight: 600; font-stretch: 108%; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 8px 0; }
.site-nav a { background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat; transition: background-size .3s var(--ease); }
.site-nav a:hover, .site-nav a[aria-current] { background-size: 100% 1.5px; }
.cart-link { justify-self: end; display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 44px; min-height: 44px; }
.cart-link__short { display: none; }
@media (max-width: 860px) { .cart-link__short { display: inline; } .cart-link--ig { padding: 0 10px; font-size: .75rem; letter-spacing: .06em; } }
.cart-link--ig { padding: 0 14px; border: 1.5px solid var(--ink); white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease); }
.cart-link--ig:hover { background: var(--ink); color: var(--bone); }
.cart-link__count { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; background: var(--ink); color: var(--bone); font-family: var(--mono); font-size: .75rem; letter-spacing: 0; transition: background .2s, transform .3s var(--ease); }
.cart-link__count.is-bumped { background: var(--olive); transform: scale(1.18); }
.icon-btn { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; margin-left: -10px; }
.nav-toggle__bars, .nav-toggle__bars::before { display: block; width: 22px; height: 2px; background: var(--ink); margin: 0 auto; transition: transform .25s var(--ease); }
.nav-toggle__bars::before { content: ""; transform: translateY(7px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(-90deg); }

@media (max-width: 860px) {
  .icon-btn { display: block; }
  .wordmark { justify-self: center; }
  .cart-link__label { display: none; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: var(--bone); border-bottom: 1px solid var(--line); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-nav a { font-size: 1.5rem; font-weight: 800; letter-spacing: 0; padding: 14px 0; border-bottom: 1px solid var(--line); background: none; }
}

/* ---------- Pulsanti e link ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 1.5px solid var(--ink); background: none; color: var(--ink); font-size: .8125rem; font-weight: 700; font-stretch: 110%; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn--solid { background: var(--ink); color: var(--bone); }
.btn--solid:hover { background: var(--olive); border-color: var(--olive); }
.btn--ghost:hover { background: var(--ink); color: var(--bone); }
.btn--light { border-color: var(--bone); background: var(--bone); color: var(--ink); }
.btn--light:hover { background: var(--sage); border-color: var(--sage); }
.btn--wide { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--stone); border-color: var(--stone); color: var(--ink-3); cursor: not-allowed; }
.link-arrow { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-underline-offset: 5px; }
.link-arrow::after { content: " →"; display: inline-block; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-plain { border: 0; background: none; padding: 0; font-size: .875rem; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.link-plain:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: var(--max); margin: 0 auto; }
.hero__copy { display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; padding: clamp(32px, 6vw, 80px) var(--gutter); }
.hero__title { position: relative; display: block; line-height: .8; margin: 8px 0 26px; }
.hero__zero { display: block; font-size: clamp(6.5rem, 17.5vw, 17rem); font-weight: 900; font-stretch: 68%; letter-spacing: -.03em; color: var(--olive); background: url("/img/camo.webp") center / 320px; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__zero .slashed::after { background: var(--ink); width: .07em; }
.hero__script { position: absolute; left: 32%; bottom: -.28em; font-family: var(--script); font-size: clamp(3.6rem, 9.5vw, 9.5rem); font-weight: 400; line-height: 1; transform: rotate(-7deg); white-space: nowrap; }
.hero__lead { max-width: 30ch; font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; overflow: hidden; background: var(--stone); max-height: calc(100vh - 100px); min-height: 520px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__tag { position: absolute; left: 16px; bottom: 16px; padding: 7px 10px; background: var(--bone); font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { order: -1; min-height: 0; max-height: none; aspect-ratio: 4 / 5; }
  .hero__copy { padding-top: 28px; padding-bottom: 44px; }
  .hero__script { left: 30%; }
}

.ticker { overflow: hidden; background: var(--ink); color: var(--bone); border-block: 1px solid var(--ink); }
.ticker__track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker span { display: inline-flex; align-items: center; padding: 15px 0; font-size: .875rem; font-weight: 700; font-stretch: 118%; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.ticker span::after { content: "Ø"; margin: 0 34px; color: var(--sage); font-weight: 400; }
@keyframes ticker { to { transform: translateX(-33.3333%); } }

/* ---------- Sezioni ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 120px) var(--gutter); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: clamp(24px, 3vw, 44px); }
.section__head h2, .page-head h1 { font-size: clamp(2.25rem, 5.4vw, 4.75rem); font-weight: 900; font-stretch: 70%; line-height: .92; letter-spacing: -.015em; text-transform: uppercase; }
.page-head { max-width: var(--max); margin: 0 auto; padding: clamp(36px, 6vw, 80px) var(--gutter) clamp(20px, 3vw, 36px); }
.page-head h1 { margin-top: 10px; font-size: clamp(3rem, 9vw, 8rem); }

/* ---------- Griglia e card prodotto ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(28px, 3vw, 44px) clamp(12px, 1.6vw, 24px); }
.product-grid--few { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 460px)); }
/* Un solo prodotto in catalogo: card larga, foto a sinistra e scheda a destra, senza colonne vuote */
.product-grid--single { grid-template-columns: 1fr; }
.product-grid--single .card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 64px); align-items: end; }
.product-grid--single .card__body { grid-template-columns: 1fr; gap: 12px; padding: 0 0 6px; border-top: 1.5px solid var(--ink); padding-top: 18px; }
.product-grid--single .card__name { font-size: clamp(2.25rem, 5.2vw, 5rem); font-weight: 900; font-stretch: 68%; line-height: .9; letter-spacing: -.01em; }
.product-grid--single .card__price { font-size: 1.25rem; }
.product-grid--single .card__meta { font-size: .8125rem; }
.product-grid--single .card__body::after { content: "Scopri il capo →"; margin-top: 10px; font-size: .8125rem; font-weight: 700; font-stretch: 110%; letter-spacing: .09em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 700px) { .product-grid--single .card { grid-template-columns: 1fr; } }
.card { position: relative; display: block; text-decoration: none; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--stone); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .45s var(--ease); }
.card__media img + img { opacity: 0; }
.card:hover .card__media img, .card:focus-visible .card__media img { transform: scale(1.035); }
.card:hover .card__media img + img, .card:focus-visible .card__media img + img { opacity: 1; }
.card__noimg { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; }
.badges { position: absolute; left: 10px; top: 10px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { padding: 5px 8px; background: var(--bone); font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; }
.badge--dark { background: var(--ink); color: var(--bone); }
.badge--camo { background: var(--olive); color: var(--bone); }
.card__body { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding-top: 14px; }
.card__name { font-size: 1rem; font-weight: 700; font-stretch: 106%; letter-spacing: .02em; text-transform: uppercase; }
.card__price { font-family: var(--mono); font-size: .9375rem; font-weight: 500; }
.card__meta { grid-column: 1 / -1; font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; color: var(--ink-3); }
.card.is-soldout .card__media img { filter: grayscale(1); opacity: .6; }
.card-skeleton { aspect-ratio: 3 / 4.4; background: linear-gradient(100deg, var(--stone) 30%, var(--paper) 50%, var(--stone) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
.empty { padding: 56px 0; display: grid; gap: 20px; justify-items: start; color: var(--ink-2); font-size: 1.125rem; }

/* ---------- Drop ---------- */
.drop { background: var(--olive-deep); color: var(--bone); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); padding: clamp(56px, 8vw, 120px) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.drop__head { align-self: start; position: sticky; top: 110px; display: grid; gap: 20px; justify-items: start; }
.drop__head h2 { font-size: clamp(3.5rem, 9vw, 9rem); font-weight: 900; font-stretch: 66%; line-height: .84; letter-spacing: -.02em; text-transform: uppercase; }
.drop__text { max-width: 34ch; font-size: 1.125rem; color: #cfd3bf; white-space: pre-line; }
.drop__shots { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 20px); align-items: start; }
.drop__shots figure:nth-child(2) { margin-top: clamp(32px, 6vw, 96px); }
.drop__shots a { display: block; overflow: hidden; background: #2a3220; }
.drop__shots img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .9s var(--ease); }
.drop__shots a:hover img { transform: scale(1.035); }
.drop__shots figcaption { display: flex; justify-content: space-between; padding-top: 10px; font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
@media (max-width: 860px) {
  .drop { grid-template-columns: 1fr; }
  .drop__head { position: static; }
}

/* ---------- Brand ---------- */
.brand { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(24px, 5vw, 80px); max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 140px) var(--gutter); }
.brand__mark { display: grid; place-items: center; overflow: hidden; padding: 6% 0; }
.mark { position: relative; display: inline-block; font-size: clamp(13rem, 30vw, 27rem); line-height: .78; }
.mark__zero { display: block; font-weight: 800; font-stretch: 92%; transform: skewX(-9deg); color: var(--olive); background: url("/img/camo.webp") center / 300px; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mark__band { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: .98em; height: .115em; background: url("/img/camo.webp") 30% 60% / 300px; box-shadow: 0 0 0 .014em var(--bone); transform: translate(-50%, -50%) rotate(-40deg); }
.mark__band span { font-family: var(--script); font-size: .125em; line-height: 1; color: var(--bone); transform: translateY(-.04em); }
.brand__copy { display: grid; gap: 22px; }
.brand__copy h2 { font-size: clamp(1.75rem, 3.4vw, 3.25rem); font-weight: 800; font-stretch: 88%; line-height: 1.04; letter-spacing: -.015em; text-wrap: balance; }
.brand__copy h2, .brand__text, .hero__lead, .maint h1, .maint__text { white-space: pre-line; }
.brand__copy > p:not(.eyebrow) { max-width: 52ch; font-size: 1.125rem; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; border-top: 1.5px solid var(--ink); }
.facts div { padding: 16px 16px 0 0; }
.facts dt { font-size: 2rem; font-weight: 900; font-stretch: 70%; line-height: 1; }
.facts dd { margin-top: 6px; font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; color: var(--ink-2); }
@media (max-width: 860px) {
  .brand { grid-template-columns: 1fr; }
  .brand__mark { padding: 0; }
  .facts { grid-template-columns: 1fr; }
  .facts div { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .facts dt { min-width: 2.2em; }
}

/* ---------- Instagram ---------- */
.insta { padding-top: 0; }
.insta__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(6px, .8vw, 12px); }
.insta__grid a { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.insta__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; }
.insta__grid a:hover img { transform: scale(1.05); filter: brightness(.82); }
.insta__grid a::after { content: "Vedi il post"; position: absolute; left: 10px; bottom: 10px; padding: 5px 8px; background: var(--bone); font-family: var(--mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.insta__grid a:hover::after, .insta__grid a:focus-visible::after { opacity: 1; transform: none; }
.insta__cta { margin-top: 28px; }
@media (max-width: 860px) {
  .insta__grid { grid-auto-flow: column; grid-auto-columns: 62%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
  .insta__grid a { scroll-snap-align: start; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--bone); }
.site-footer__top { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter) 40px; display: grid; gap: clamp(36px, 5vw, 64px); }
.site-footer__mark { font-size: clamp(3.5rem, 13vw, 12rem); font-weight: 900; font-stretch: 66%; line-height: .8; letter-spacing: -.02em; white-space: nowrap; }
.site-footer__mark .script { font-size: .62em; color: var(--sage); margin-left: -.18em; display: inline-block; transform: rotate(-6deg) translateY(.1em); letter-spacing: 0; }
.site-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.site-footer__cols h2 { margin-bottom: 14px; font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
.site-footer__cols a { display: block; width: fit-content; padding: 5px 0; color: var(--bone); text-decoration: none; }
.site-footer__cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ig-link { font-size: 1.25rem; font-weight: 700; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter) 28px; border-top: 1px solid #2c2e27; font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: #a2a595; }
.site-footer__credit { flex-basis: 100%; text-align: center; font-size: .625rem; letter-spacing: .12em; color: #8b8e80; }
.site-footer__credit a { display: inline-block; padding: 14px 4px; margin: -14px -2px; color: #c9ccbc; text-underline-offset: 3px; }
.site-footer__credit a:hover { color: var(--bone); }
@media (max-width: 720px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Shop ---------- */
.shop { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(64px, 8vw, 120px); }
.shop__bar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 20px; padding: 16px 0; border-block: 1px solid var(--line); }
.field { display: grid; gap: 4px; }
.field__label { font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.field select, .field input { height: 40px; min-width: 132px; padding: 0 10px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); }
.field--search { flex: 1 1 220px; }
.field--search input { width: 100%; }
.field select:hover, .field input:hover { border-color: var(--ink-3); }
.shop__count { padding: 16px 0 24px; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase; }

/* ---------- Pagina prodotto ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter); font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 72px); max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(48px, 7vw, 100px); }
.pdp__gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; }
.pdp__stage { grid-column: 2; grid-row: 1; position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--stone); }
.pdp__stage img { width: 100%; height: 100%; object-fit: cover; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.pdp__thumbs { grid-column: 1; grid-row: 1; display: grid; gap: 10px; }
.pdp__thumbs button { padding: 0; border: 1.5px solid transparent; background: var(--stone); aspect-ratio: 3 / 4; overflow: hidden; opacity: .65; transition: opacity .2s, border-color .2s; }
.pdp__thumbs button:hover { opacity: 1; }
.pdp__thumbs button[aria-pressed="true"] { border-color: var(--ink); opacity: 1; }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info { position: sticky; top: 100px; align-self: start; display: grid; gap: 18px; }
.pdp__badges { display: flex; gap: 6px; min-height: 22px; }
.pdp__info h1 { font-size: clamp(2.25rem, 4.4vw, 4rem); font-weight: 900; font-stretch: 70%; line-height: .92; text-transform: uppercase; letter-spacing: -.01em; }
.pdp__price { font-family: var(--mono); font-size: 1.25rem; font-weight: 500; }
.pdp__form { display: grid; gap: 20px; padding: 22px 0; border-block: 1px solid var(--line); }
.options legend { margin-bottom: 10px; font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.options legend span { color: var(--ink); }
.options__list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: grid; place-items: center; min-width: 54px; height: 50px; padding: 0 14px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 700; font-size: .875rem; letter-spacing: .04em; transition: border-color .15s, background .15s, color .15s; }
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.chip input:focus-visible + span { outline: 2px solid var(--olive); outline-offset: 3px; }
.chip input:disabled { cursor: not-allowed; }
.chip input:disabled + span { color: var(--ink-3); background: linear-gradient(to top right, transparent calc(50% - .75px), var(--line) calc(50% - .75px), var(--line) calc(50% + .75px), transparent calc(50% + .75px)) var(--bone); border-color: var(--line); }
.pdp__row { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.qty { display: grid; grid-template-columns: 44px 48px 44px; height: 52px; border: 1.5px solid var(--ink); }
.qty button { border: 0; background: none; font-size: 1.125rem; }
.qty button:hover { background: var(--stone); }
.qty input { width: 100%; border: 0; background: none; text-align: center; font-family: var(--mono); font-weight: 500; appearance: textfield; -moz-appearance: textfield; padding: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.pdp__stock { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; color: var(--ink-2); min-height: 1.2em; }
.pdp__desc { display: grid; gap: 10px; color: var(--ink-2); max-width: 54ch; }
.accordion { border-top: 1px solid var(--line); }
.accordion:last-of-type { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; justify-content: space-between; padding: 16px 0; font-size: .8125rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-family: var(--mono); font-weight: 400; font-size: 1.125rem; line-height: 1; }
.accordion[open] summary::after { content: "−"; }
.accordion > div { padding: 0 0 18px; color: var(--ink-2); display: grid; gap: 8px; white-space: pre-line; }
.form-error, .field-error { color: var(--error); font-size: .875rem; font-style: normal; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery { grid-template-columns: 1fr; margin-inline: calc(var(--gutter) * -1); }
  .pdp__stage { grid-column: 1; }
  .pdp__thumbs { grid-column: 1; grid-row: 2; grid-auto-flow: column; grid-auto-columns: 64px; justify-content: start; padding-inline: var(--gutter); }
  .pdp__info { position: static; }
}

/* ---------- Carrello, checkout, ordine ---------- */
.cart, .checkout, .order { display: grid; grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr); gap: clamp(24px, 4vw, 72px); align-items: start; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(64px, 8vw, 120px); }
.order { padding-top: clamp(40px, 6vw, 88px); }
.cart__lines { border-top: 1.5px solid var(--ink); }
.line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 6px 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line__img { grid-row: 1 / span 3; display: block; aspect-ratio: 3 / 4; background: var(--stone); overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__name { font-weight: 700; font-stretch: 106%; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; }
.line__name:hover { text-decoration: underline; text-underline-offset: 4px; }
.line__price { font-family: var(--mono); font-weight: 500; text-align: right; }
.line__meta { grid-column: 2 / -1; font-family: var(--mono); font-size: .75rem; letter-spacing: .05em; color: var(--ink-3); }
.line__tools { grid-column: 2 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.line__tools .qty { height: 40px; grid-template-columns: 36px 40px 36px; border-width: 1px; border-color: var(--line); }
.summary { position: sticky; top: 100px; display: grid; gap: 16px; padding: clamp(20px, 2.4vw, 32px); background: var(--paper); border: 1px solid var(--line); }
.summary h2 { font-size: 1.5rem; font-weight: 900; font-stretch: 72%; text-transform: uppercase; }
.summary h3 { margin-top: 6px; font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.summary__rows { display: grid; gap: 10px; }
.summary__rows div { display: flex; justify-content: space-between; gap: 16px; }
.summary__rows dd { font-family: var(--mono); text-align: right; }
.summary__total { padding-top: 14px; border-top: 1.5px solid var(--ink); font-size: 1.125rem; font-weight: 700; }
.summary__note { font-size: .8125rem; color: var(--ink-2); }
.summary__lines { display: grid; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.summary__lines li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; font-size: .875rem; }
.summary__lines img, .summary__lines .ph { width: 52px; aspect-ratio: 3 / 4; object-fit: cover; background: var(--stone); }
.summary__lines small { display: block; font-family: var(--mono); font-size: .6875rem; color: var(--ink-3); }
.summary__lines b { font-family: var(--mono); font-weight: 500; }
.notices { display: grid; gap: 8px; }
.notices:not(:empty) { margin-bottom: 16px; }
.notice { padding: 12px 14px; border: 1px solid var(--line); background: var(--paper); font-size: .9375rem; }
.notice--warn { border-color: #d9c98a; background: var(--warn); }
.checkout__form { display: grid; gap: 28px; }
.form-block legend { display: flex; align-items: center; gap: 12px; width: 100%; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1.5px solid var(--ink); font-size: 1.25rem; font-weight: 800; font-stretch: 84%; text-transform: uppercase; }
.step { display: grid; place-items: center; width: 26px; height: 26px; background: var(--ink); color: var(--bone); font-family: var(--mono); font-size: .75rem; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input { display: grid; gap: 6px; align-content: start; }
.input--full { grid-column: 1 / -1; }
.input > span { font-size: .8125rem; font-weight: 600; }
.input small { font-weight: 400; color: var(--ink-3); font-size: inherit; }
.input input, .input select, .input textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); transition: border-color .15s; }
.input input:hover, .input select:hover, .input textarea:hover { border-color: var(--ink-3); }
.input input:focus, .input select:focus, .input textarea:focus { outline: 2px solid var(--olive); outline-offset: 0; border-color: var(--olive); }
.input [aria-invalid="true"] { border-color: var(--error); }
.input em { color: var(--error); font-size: .8125rem; font-style: normal; }
.input em:empty { display: none; }
.methods { display: grid; gap: 10px; }
.method { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 16px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; }
.method:has(input:checked) { border-color: var(--ink); }
.method input { grid-row: 1 / span 2; margin: 2px 0 0; width: 22px; height: 22px; accent-color: var(--ink); }
.method b { font-weight: 700; }
.method small { grid-column: 2; color: var(--ink-2); font-size: .875rem; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; font-size: .9375rem; }
.check { align-items: start; min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.order__status { display: grid; gap: 18px; justify-items: start; }
.order__status h1 { font-size: clamp(2.5rem, 6.5vw, 6rem); font-weight: 900; font-stretch: 70%; line-height: .9; text-transform: uppercase; text-wrap: balance; }
.order__lead { max-width: 52ch; font-size: 1.125rem; color: var(--ink-2); }
.order__id { padding: 10px 14px; background: var(--ink); color: var(--bone); font-family: var(--mono); letter-spacing: .1em; }
.order__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 900px) {
  .cart, .checkout, .order { grid-template-columns: 1fr; }
  .summary { position: static; }
  .checkout .summary { order: -1; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .line { grid-template-columns: 76px minmax(0, 1fr) auto; }
  .pdp__row { grid-template-columns: 1fr; }
  .pdp__row .qty { width: 136px; }
}

/* ---------- Pagine di testo, 404 ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(64px, 8vw, 120px); display: grid; gap: 14px; }
.legal h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; font-stretch: 70%; line-height: .92; text-transform: uppercase; margin-bottom: 12px; }
.legal h2 { margin-top: 22px; font-size: 1.25rem; font-weight: 800; }
.legal ul { list-style: disc; padding-left: 20px; display: grid; gap: 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal [data-shipping-info], .legal [data-returns-info] { white-space: pre-line; color: var(--ink-2); }
.todo { padding: 10px 12px; border: 1px dashed var(--ink-3); font-family: var(--mono); font-size: .8125rem; }
.notfound { display: grid; gap: 18px; justify-items: start; max-width: var(--max); margin: 0 auto; padding: clamp(48px, 8vw, 120px) var(--gutter); }
.notfound__code { font-size: clamp(8rem, 28vw, 24rem); font-weight: 900; font-stretch: 64%; line-height: .8; color: var(--olive); background: url("/img/camo.webp") center / 320px; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.notfound__code .slashed::after { background: var(--ink); }
.notfound h1 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 800; }

/* ---------- Pagina di manutenzione ---------- */
.maint { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--olive-deep) url("/img/camo.webp") center / 520px; background-blend-mode: multiply; color: var(--bone); }
.maint__box { flex: 1; display: grid; align-content: center; justify-items: start; gap: 20px; width: 100%; max-width: 760px; margin: 0 auto; padding: clamp(32px, 8vw, 96px) var(--gutter); }
.maint__mark { margin-bottom: clamp(12px, 3vw, 28px); font-size: clamp(3.25rem, 13vw, 7rem); font-weight: 900; font-stretch: 66%; line-height: .8; letter-spacing: -.02em; white-space: nowrap; }
.maint__mark .script { display: inline-block; margin-left: -.18em; font-size: .62em; color: var(--sage); letter-spacing: 0; transform: rotate(-6deg) translateY(.1em); }
.maint h1 { font-size: clamp(2rem, 6.5vw, 4rem); font-weight: 900; font-stretch: 72%; line-height: .95; text-transform: uppercase; text-wrap: balance; }
.maint__text { max-width: 46ch; font-size: 1.125rem; color: #d5d9c6; }
.maint__unlock { width: 100%; max-width: 420px; margin-top: 18px; padding-top: 6px; border-top: 1px solid rgba(243, 241, 234, .25); }
.maint__unlock summary { display: flex; align-items: center; min-height: 48px; font-size: .875rem; color: #d5d9c6; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; list-style: none; }
.maint__unlock summary::-webkit-details-marker { display: none; }
.maint__unlock form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding-bottom: 8px; }
.maint__unlock input { min-height: 52px; min-width: 0; padding: 0 14px; border: 1.5px solid rgba(243, 241, 234, .5); border-radius: 0; background: rgba(16, 17, 14, .55); color: var(--bone); font-size: 1rem; }
.maint__unlock input::placeholder { color: #a9ad9b; }
.maint__unlock input:focus { outline: 2px solid var(--sage); outline-offset: 0; border-color: var(--sage); }
.maint__unlock input[aria-invalid="true"] { border-color: #ff9d8f; }
.maint__error { color: #ffb4a8; font-size: .9375rem; }
.maint__foot { padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px)); font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: #a9ad9b; text-align: center; }
.maint :focus-visible { outline-color: var(--sage); }

/* ---------- Toast e comparsa allo scroll ---------- */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 80; display: flex; align-items: center; gap: 18px; max-width: calc(100vw - 32px); padding: 14px 18px; background: var(--ink); color: var(--bone); font-size: .9375rem; transform: translate(-50%, 0); animation: toast-in .35s var(--ease); }
.toast a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; font-weight: 700; text-underline-offset: 4px; white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 14px); } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- Telefono: bersagli al tocco di almeno 44px, niente zoom sui campi, margini di sicurezza ---------- */
@media (max-width: 860px) {
  input, select, textarea { font-size: 1rem; }
  .site-header__inner { height: 60px; }
  .site-nav { max-height: calc(100dvh - 60px); overflow-y: auto; }
  .site-nav a { min-height: 56px; display: flex; align-items: center; }
  .site-footer__cols a { display: flex; align-items: center; min-height: 44px; padding: 0; }
  .site-footer__bottom { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  .crumbs { padding-block: 6px; gap: 4px 8px; align-items: center; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; margin-inline: -4px; }
  .link-plain { display: inline-flex; align-items: center; min-height: 44px; }
  .link-arrow { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
  .line__tools .qty { height: 44px; grid-template-columns: 44px 44px 44px; }
  .qty { grid-template-columns: 48px 48px 48px; }
  .chip span { min-width: 56px; height: 52px; }
  .accordion summary { min-height: 52px; align-items: center; }
  .section__head { align-items: center; }
  .pdp__stage { aspect-ratio: 4 / 5; }
  .hero__media { aspect-ratio: 4 / 5; max-height: 72vh; width: 100%; }
  .summary .btn + .link-plain { justify-content: center; }
}
@media (max-width: 560px) {
  .pdp__row .qty { width: auto; justify-self: start; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__title { margin: 4px 0 44px; }
  .hero__zero { font-size: 37vw; background-size: 240px; }
  .hero__script { font-size: 19vw; left: 22%; bottom: -.5em; }
  .drop__shots figcaption span:first-child { display: none; }
  .drop__shots figcaption { justify-content: flex-start; }
  .order__actions .btn, .empty .btn, .notfound .btn { width: 100%; }
  .toast { left: 16px; right: 16px; transform: none; justify-content: space-between; }
  @keyframes toast-in { from { opacity: 0; transform: translateY(14px); } }
}
