/* Atelier Olivo. Tema unico chiaro, angoli vivi, un solo accento (verde oliva). */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #EEEFEA;
  --paper-2: #E3E5DC;
  --paper-3: #D6D9CD;
  --field: #FAFAF7;
  --ink: #191B17;
  --ink-2: #33362F;
  --muted: #555950;
  --line: rgba(25, 27, 23, .16);
  --line-strong: #7D8175;
  --accent: #4A5726;
  --accent-hover: #3B461E;
  --accent-soft: #DCE1CC;
  --on-accent: #F4F5EF;
  --error: #9B2C1F;
  --serif: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 44px);
  --max: 1320px;
  --header-h: 80px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 24px 60px -24px rgba(38, 44, 22, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.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: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { top: 12px; }
.icon { flex: none; vertical-align: middle; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
h1, h2, .display { font-family: var(--serif); font-weight: 600; letter-spacing: -.03em; }
h1 { font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 2.9vw, 2.5rem); line-height: 1.12; }
h3 { font-size: 1.22rem; font-family: var(--sans); font-weight: 600; letter-spacing: -.005em; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.2rem); color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 500; color: var(--accent); margin-bottom: 18px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 120px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.surface { background: var(--paper-2); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { margin-top: 16px; color: var(--ink-2); max-width: 62ch; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-weight: 500; font-size: .95rem; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; border-radius: 0;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .15s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { border-color: var(--line-strong); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .9rem; }
.btn-wide { width: 100%; }
.btn-icon { width: 48px; padding: 0; border-color: var(--line-strong); color: var(--ink); }
.card-buy .btn-icon { width: 46px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.linklike:hover { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--line);
}
/* Sfondo sfocato su pseudo-elemento: un backdrop-filter sull'header renderebbe il menu mobile (fixed) relativo all'header. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(238, 239, 234, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.header-row { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.brand { justify-self: start; display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--accent); }
.brand img { height: 46px; width: 46px; }
.brand-word { font-family: var(--serif); font-size: 1.12rem; letter-spacing: .14em; font-weight: 600; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.brand-word small { display: block; font-family: var(--sans); font-size: .56rem; letter-spacing: .5em; margin-top: 6px; color: var(--ink-2); }
.brand:hover { color: var(--accent); }
.main-nav { justify-self: center; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 2.4vw, 36px); }
.main-nav a { position: relative; display: inline-block; text-decoration: none; font-size: .93rem; font-weight: 450; letter-spacing: .01em; color: var(--ink-2); padding-block: 8px; transition: color .25s var(--ease); }
.main-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .35s var(--ease); }
.main-nav ul a:hover { color: var(--ink); }
.main-nav ul a:hover::after, .main-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav ul a[aria-current="page"] { color: var(--accent); }
.nav-mobile-extra { display: none; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 20px; }
.header-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: transparent; border: 1px solid var(--line-strong); color: var(--accent); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.header-icon:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.header-cart { color: var(--ink); }
.cta-short { display: none; }
@media (max-width: 1319px) { .cta-long { display: none; } .cta-short { display: inline; } }
.cart-count {
  position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--on-accent); border: 2px solid var(--paper);
  font-size: .7rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums;
}
.header-cart:hover .cart-count { background: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .cart-count.bump { animation: bump .5s var(--ease); } }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
.header-actions { gap: 12px; }
.site-header { transition: box-shadow .3s var(--ease); }
.header-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
.site-header.is-stuck { box-shadow: 0 10px 30px -22px rgba(38, 44, 22, .45); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-strong); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1099px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .header-row { grid-template-columns: 1fr auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 39; justify-self: stretch;
    background: var(--paper); padding: 28px var(--gutter) 40px; overflow-y: auto;
    display: none; flex-direction: column; gap: 32px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav ul a { display: block; padding: 16px 0; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--ink); }
  .main-nav ul a::after { display: none; }
  .nav-mobile-extra a:not(.btn) { border: 0; text-decoration: underline; }
  .nav-mobile-extra { display: grid; gap: 20px; }
  .nav-mobile-extra .btn-solid { display: flex; align-items: center; justify-content: center; color: var(--on-accent); }
  .nav-mobile-extra p { color: var(--ink-2); line-height: 2; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 520px) {
  .header-row { gap: 10px; }
  .header-actions { gap: 8px; }
  .brand { gap: 9px; }
  .brand img { height: 36px; width: 36px; }
  .brand-word { font-size: .9rem; letter-spacing: .08em; }
  .brand-word small { letter-spacing: .42em; }
}
@media (max-width: 359px) { .header-tel { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy h1 { font-size: clamp(2.3rem, 4.3vw, 3.8rem); line-height: 1.06; padding-bottom: .06em; }
.hero-copy .lead { margin-top: 24px; max-width: 44ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; max-height: calc(100dvh - var(--header-h) - 60px); }
@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media img { aspect-ratio: 4 / 3.2; max-height: 56dvh; }
}

/* Fascia con i fatti */
.facts { border-block: 1px solid var(--line); }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-row > div { padding: 28px 24px 28px 0; display: flex; gap: 14px; align-items: flex-start; }
.facts-row > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts-row .icon { color: var(--accent); margin-top: 3px; }
.facts-row strong { display: block; font-weight: 600; }
.facts-row span { color: var(--muted); font-size: .92rem; }
@media (max-width: 899px) {
  .facts-row { grid-template-columns: 1fr 1fr; }
  .facts-row > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .facts-row { grid-template-columns: 1fr; }
  .facts-row > div, .facts-row > div + div { padding: 20px 0; border-left: 0; }
  .facts-row > div + div { border-top: 1px solid var(--line); }
}

/* ---------- Bento dei servizi ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(230px, auto); gap: 16px; }
.tile { position: relative; overflow: hidden; background: var(--paper-2); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 2.6vw, 36px); text-decoration: none; color: var(--ink); }
.tile h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: -.02em; }
.tile p { margin-top: 10px; max-width: 42ch; color: var(--ink-2); }
.tile .link-arrow { margin-top: 18px; align-self: flex-start; }
.tile-img { color: #F4F5EF; min-height: 520px; }
.tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 22, 16, 0) 35%, rgba(20, 22, 16, .78) 100%); }
.tile-img > :not(img) { position: relative; z-index: 1; }
.tile-img p { color: rgba(244, 245, 239, .9); }
.tile-img:hover { color: #F4F5EF; }
.tile-img:hover img { transform: scale(1.04); }
.tile-accent { background: var(--accent); color: var(--on-accent); }
.tile-accent p { color: rgba(244, 245, 239, .88); }
.tile-accent:hover { color: var(--on-accent); }
.tile-pattern { background-color: var(--paper-2); background-image: repeating-linear-gradient(45deg, rgba(74, 87, 38, .09) 0 1px, transparent 1px 12px), repeating-linear-gradient(-45deg, rgba(74, 87, 38, .09) 0 1px, transparent 1px 12px); }
.b-a { grid-column: span 7; grid-row: span 2; }
.b-b { grid-column: span 5; }
.b-c { grid-column: span 5; }
.b-d { grid-column: span 4; }
.b-e { grid-column: span 8; }
@media (max-width: 899px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .b-a, .b-b, .b-c, .b-d, .b-e { grid-column: auto; grid-row: auto; }
  .tile { min-height: 240px; }
  .tile-img { min-height: 420px; }
}

/* ---------- Schede prodotto ---------- */
.rail { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 23%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 899px) { .rail { grid-auto-columns: 72%; } }
.rail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.rail-head h2 { max-width: 20ch; }

.card { position: relative; display: flex; flex-direction: column; background: transparent; }
.card-media { position: relative; display: block; overflow: hidden; background: var(--paper-2); }
.card-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .5s var(--ease), transform 1s var(--ease); }
.card-media .img-alt { position: absolute; inset: 0; height: 100%; opacity: 0; }
.card:hover .card-media .img-alt { opacity: 1; }
.card:hover .card-media img:first-child { transform: scale(1.02); }
.card-body { padding-top: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: .82rem; color: var(--muted); }
.card-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.card-title a { text-decoration: none; }
.card-sub { color: var(--ink-2); font-size: .94rem; }
.card-desc { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.card-price { font-weight: 600; font-size: 1.08rem; margin-top: 6px; }
.card-price small { font-weight: 400; color: var(--muted); font-size: .8rem; margin-left: 4px; }
.card-buy { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; margin-top: auto; padding-top: 14px; align-items: end; }
.card-buy .field { gap: 4px; }
.card-buy label { font-size: .8rem; color: var(--muted); }
.card-buy select { min-height: 46px; height: 46px; }
.card-buy .btn { min-height: 46px; height: 46px; padding-block: 0; }
.card-more { font-size: .88rem; margin-top: 10px; align-self: flex-start; }

.grid-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
@media (max-width: 1023px) { .grid-products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .grid-products { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.pill { border: 1px solid var(--line-strong); background: transparent; padding: 9px 18px; min-height: 42px; cursor: pointer; font-size: .92rem; transition: background-color .2s, color .2s; }
.pill:hover { background: var(--paper-2); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-count { color: var(--muted); font-size: .9rem; margin: -20px 0 28px; }

/* ---------- Processo ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.process li { list-style: none; padding: 28px 24px 8px 0; }
.process li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.process h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin-bottom: 4px; }
.process .when { font-size: .85rem; color: var(--accent); font-weight: 500; margin-bottom: 12px; display: block; }
.process p { color: var(--ink-2); font-size: .96rem; }
.process-wrap { padding: 0; margin: 0; }
@media (max-width: 899px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .process li, .process li + li { padding: 24px 0; border-left: 0; }
  .process li + li { border-top: 1px solid var(--line); }
}

/* ---------- Split immagine e testo ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-media img { width: 100%; object-fit: cover; }
.split-copy h2 { margin-bottom: 20px; }
.split-copy p { color: var(--ink-2); max-width: 56ch; }
.split-copy .btn, .split-copy .link-arrow { margin-top: 18px; }
.split.reverse .split-media { order: 2; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--accent); margin-top: 3px; }
@media (max-width: 899px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

/* ---------- Marquee dei tessuti ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; background: var(--paper); }
.marquee-track { display: flex; gap: 48px; width: max-content; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 500; letter-spacing: -.01em; color: var(--ink-2); }
.marquee-track span { white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Citazione su immagine ---------- */
.quote-band { margin: 0; position: relative; min-height: clamp(420px, 60vw, 640px); display: flex; align-items: flex-end; color: #F4F5EF; overflow: hidden; }
.quote-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 20, 14, .82) 0%, rgba(18, 20, 14, .45) 55%, rgba(18, 20, 14, .1) 100%); }
.quote-band .wrap { position: relative; z-index: 1; width: 100%; padding-block: clamp(48px, 6vw, 88px); }
.quote-band blockquote { margin: 0; max-width: 30ch; font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.quote-band figcaption { margin-top: 20px; font-size: .95rem; color: rgba(244, 245, 239, .85); }

/* ---------- Testimonianze ---------- */
.voices { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.voice { background: var(--field); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--line); }
.voice:first-child { background: var(--accent-soft); border-color: transparent; }
.voice blockquote { margin: 0; font-size: 1.04rem; color: var(--ink); }
.voice:first-child blockquote { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.35; }
.voice figcaption { margin-top: auto; font-size: .9rem; color: var(--muted); }
.voice figcaption strong { color: var(--ink); font-weight: 600; display: block; }
@media (max-width: 899px) { .voices { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-weight: 500; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .3s var(--ease); color: var(--accent); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 0 24px; color: var(--ink-2); max-width: 70ch; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 899px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .section-head { position: static; } }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 18px; }

/* ---------- Form ---------- */
.form-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.form-panel-aside h2 { margin-bottom: 18px; }
.form-panel-aside p { color: var(--ink-2); }
.form-panel-aside .aside-img { margin-top: 32px; }
.form-panel-aside .aside-img img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.form-card { background: var(--field); border: 1px solid var(--line); padding: clamp(22px, 3vw, 40px); }
@media (max-width: 899px) { .form-panel { grid-template-columns: 1fr; } }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.span-2 { grid-column: 1 / -1; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label, .field .label { font-size: .9rem; font-weight: 500; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="password"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  background: #fff; border: 1px solid var(--line-strong); border-radius: 0;
  font-size: 1rem; line-height: 1.4; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 96px; }
select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23191B17' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
::placeholder { color: #6E7268; opacity: 1; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { color: var(--error); font-size: .86rem; margin: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); margin-top: 18px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.check + .field-error { margin-top: 6px; margin-left: 32px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 26px; }
.form-hint { color: var(--muted); font-size: .9rem; margin: 0; }
.alert { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--error); background: #FBEFEC; color: var(--error); padding: 14px 16px; margin-bottom: 22px; font-size: .94rem; }
.alert .icon { margin-top: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Intestazione pagine interne ---------- */
.page-head { padding-block: clamp(28px, 4vw, 48px) clamp(40px, 5vw, 72px); }
.page-head h1 { max-width: 24ch; }
.page-head .lead { margin-top: 20px; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero-img { margin-top: clamp(32px, 4vw, 56px); }
.page-hero-img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 640px) { .page-hero-img img { aspect-ratio: 4 / 3; } }

/* ---------- Scheda prodotto ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.pdp-gallery { display: grid; gap: 12px; }
.pdp-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper-2); }
.pdp-info { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp-info h1 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); }
.pdp-sub { color: var(--ink-2); font-size: 1.08rem; margin-top: 10px; }
.pdp-price { font-size: 1.6rem; font-weight: 600; margin-top: 18px; }
.pdp-price small { font-size: .85rem; font-weight: 400; color: var(--muted); margin-left: 6px; }
.pdp-short { margin-top: 18px; color: var(--ink-2); }
.pdp-buy { margin-top: 26px; display: grid; gap: 16px; }
.pdp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .pdp-actions { grid-template-columns: 1fr; } }
.size-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.size-pill { min-width: 56px; min-height: 46px; padding: 8px 14px; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; font-size: .95rem; transition: background-color .15s, color .15s; }
.size-pill:hover { border-color: var(--ink); }
.size-pill[aria-checked="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pdp-meta { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; font-size: .94rem; color: var(--ink-2); }
.pdp-meta li { display: flex; gap: 12px; align-items: flex-start; }
.pdp-meta .icon { color: var(--accent); margin-top: 2px; }
@media (max-width: 899px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp-info { position: static; }
  .pdp-gallery { grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; }
  .pdp-gallery img { scroll-snap-align: start; }
}
.pdp-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.pdp-story p { color: var(--ink-2); }
.spec-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.spec { background: var(--field); border: 1px solid var(--line); padding: 18px 20px; }
.spec dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.spec dd { margin: 0; font-weight: 500; }
.care-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.care-list li { display: flex; gap: 12px; }
.care-list .icon { color: var(--accent); margin-top: 3px; }
@media (max-width: 899px) { .pdp-story { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .spec-groups { grid-template-columns: 1fr; } }

/* ---------- Contenuti testuali e pagine legali ---------- */
.doc { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.doc-toc { position: sticky; top: calc(var(--header-h) + 28px); font-size: .9rem; border-top: 1px solid var(--ink); padding-top: 16px; }
.doc-toc p { font-weight: 600; margin-bottom: 10px; }
.doc-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--ink-2); }
.doc-toc a { text-decoration: none; }
.doc-toc a:hover { text-decoration: underline; }
@media (max-width: 899px) { .doc { grid-template-columns: 1fr; } .doc-toc { position: static; } }
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 48px 0 16px; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; display: grid; gap: 6px; }
.prose a { color: var(--accent); }
.prose .box { background: var(--paper-2); padding: 20px 24px; margin: 20px 0; }
.prose .box p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; vertical-align: top; }
.prose thead th { background: var(--paper-2); font-weight: 600; }
.prose tbody tr:nth-child(even) { background: rgba(227, 229, 220, .5); }
.table-wrap { overflow-x: auto; margin: 16px 0 24px; }
.updated { font-size: .9rem; color: var(--muted); margin-top: 16px; }
.modulo { border: 1px dashed var(--line-strong); padding: 20px 24px; background: var(--field); }

/* Tabelle taglie */
.size-block { margin-top: 56px; }
.size-block h2 { margin-bottom: 8px; }
.size-block > p { color: var(--ink-2); max-width: 64ch; }
.size-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: .95rem; min-width: 560px; }
.size-table th, .size-table td { padding: 12px 14px; text-align: center; }
.size-table thead th { background: var(--ink); color: var(--paper); font-weight: 500; }
.size-table tbody th { text-align: left; font-weight: 600; background: var(--paper-2); }
.size-table tbody tr:nth-child(even) td { background: rgba(227, 229, 220, .55); }

/* Card informative su griglia */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.info { background: var(--field); border: 1px solid var(--line); padding: clamp(22px, 2.4vw, 32px); }
.info .icon { color: var(--accent); margin-bottom: 14px; }
.info h3 { margin-bottom: 8px; }
.info p, .info li { color: var(--ink-2); font-size: .96rem; }
.info ul { padding-left: 18px; margin: 10px 0 0; display: grid; gap: 4px; }
.info-grid.three { grid-template-columns: 1.2fr 1fr 1fr; }
@media (max-width: 899px) { .info-grid, .info-grid.three { grid-template-columns: 1fr; } }

/* Prezzi su misura */
.tiers { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 0; border: 1px solid var(--ink); }
.tier { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; }
.tier + .tier { border-left: 1px solid var(--ink); }
.tier.featured { background: var(--accent); color: var(--on-accent); }
.tier.featured p, .tier.featured li { color: rgba(244, 245, 239, .9); }
.tier h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.tier .from { font-size: 1.5rem; font-weight: 600; }
.tier .from small { font-size: .85rem; font-weight: 400; }
.tier ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; font-size: .95rem; }
.tier li { display: flex; gap: 10px; }
.tier .icon { margin-top: 3px; flex: none; }
@media (max-width: 899px) { .tiers { grid-template-columns: 1fr; } .tier + .tier { border-left: 0; border-top: 1px solid var(--ink); } }

/* Contatti */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.contact-list .icon { color: var(--accent); margin-top: 3px; }
.contact-list strong { display: block; font-weight: 600; margin-bottom: 2px; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 500; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }

/* Grazie e 404 */
.thanks { max-width: 760px; }
.thanks .lead { margin-top: 20px; }
.receipt { margin-top: 32px; background: var(--field); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); }
.receipt dl { display: grid; grid-template-columns: 180px 1fr; gap: 10px 20px; margin: 0; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; font-weight: 500; }
.receipt-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.receipt-lines li { display: flex; justify-content: space-between; gap: 16px; }
.receipt-lines li span:last-child { white-space: nowrap; }
&

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 40px; padding-block: clamp(48px, 6vw, 80px) 40px; }
.footer-brand img { width: 220px; height: auto; }
.footer-brand > p { color: var(--ink-2); margin-top: 18px; max-width: 38ch; font-size: .95rem; }
.footer-contacts { font-style: normal; display: grid; gap: 10px; margin-top: 22px; font-size: .95rem; }
.footer-contacts span { display: flex; gap: 10px; align-items: flex-start; }
.footer-contacts .icon { color: var(--accent); margin-top: 3px; }
.footer-col h2 { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; margin-bottom: 16px; color: var(--ink); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.footer-col a, .footer-col .linklike { text-decoration: none; color: var(--ink-2); font-size: .95rem; }
.footer-col a:hover, .footer-col .linklike:hover { color: var(--accent); text-decoration: underline; }
.footer-legal { border-top: 1px solid var(--line); padding-block: 28px 36px; }
.legal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 28px; margin: 0; font-size: .84rem; }
.legal-grid dt { color: var(--muted); }
.legal-grid dd { margin: 2px 0 0; color: var(--ink); overflow-wrap: anywhere; }
.legal-grid .span-2 { grid-column: span 2; }
.copyright { margin-top: 24px; font-size: .84rem; color: var(--muted); }
@media (max-width: 1023px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .legal-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-grid .span-2 { grid-column: auto; }
}

/* ---------- Avviso cookie ---------- */
.cookie {
  position: fixed; z-index: 60; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 400px; background: var(--field); border: 1px solid var(--ink); box-shadow: var(--shadow);
  padding: 16px 16px 16px 18px; display: grid; grid-template-columns: 1fr auto; gap: 12px; font-size: .84rem; line-height: 1.5;
}
.cookie-title { font-weight: 600; margin-bottom: 4px; }
.cookie p { color: var(--ink-2); }
.cookie a { color: var(--accent); }
.cookie-actions { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 12px; }
.cookie-actions .btn { order: 2; }
.cookie-close { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--muted); order: 1; }
@media (max-width: 520px) { .cookie { left: 12px; right: 12px; max-width: none; grid-template-columns: 1fr; } .cookie-actions { flex-direction: row-reverse; align-items: center; } .cookie-close { display: none; } }

/* ---------- Cassetto «Acquista ora» ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(25, 27, 23, .45); }
.drawer {
  position: fixed; z-index: 71; top: 0; right: 0; bottom: 0; width: min(560px, 100%);
  background: var(--paper); box-shadow: var(--shadow); display: flex; flex-direction: column;
}
body.drawer-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .drawer.is-entering { animation: drawer-in .45s var(--ease); }
  .drawer-backdrop.is-entering { animation: fade-in .3s ease; }
}
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.drawer-head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer-title { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin: 0; }
.drawer-close { grid-column: 2; grid-row: 1; background: none; border: 1px solid var(--line-strong); width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.steps { grid-column: 1 / -1; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: .82rem; color: var(--muted); }
.steps li { border-top: 2px solid var(--paper-3); padding-top: 8px; }
.steps li[aria-current="step"], .steps li.done { border-top-color: var(--accent); color: var(--ink); font-weight: 500; }
.drawer-form { flex: 1; overflow-y: auto; padding: 24px; position: relative; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 18px; }
.step-legend { font-weight: 600; font-size: 1.02rem; padding: 0; margin: 0; }
legend.step-legend { margin-bottom: 18px; }
.order-item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.order-item img { width: 96px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper-2); }
.order-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin: 0; line-height: 1.2; }
.order-sub { color: var(--muted); font-size: .92rem; margin: 4px 0 0; }
.order-price { font-weight: 600; margin: 6px 0 0; }
.order-ships { display: flex; gap: 10px; font-size: .9rem; color: var(--ink-2); background: var(--paper-2); padding: 12px 14px; margin: 0; }
.qty { display: inline-grid; grid-template-columns: 44px 64px 44px; border: 1px solid var(--line-strong); width: max-content; background: #fff; }
.qty button { border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.qty button:hover { background: var(--paper-2); }
.qty input { border: 0; border-inline: 1px solid var(--line); text-align: center; min-height: 44px; padding: 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.totals { margin: 0; display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt { color: var(--ink-2); }
.totals dd { margin: 0; }
.totals .total { font-weight: 600; font-size: 1.12rem; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 2px; }
.totals .total dt { color: var(--ink); }
.totals .total small { font-weight: 400; color: var(--muted); font-size: .8rem; }
.totals-compact { border-top: 0; padding-top: 0; }
.totals-compact .total { border-top: 1px solid var(--line); }
.step-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 6px; }
.step-actions .btn-wide { flex: 1; }
.pay-box { border: 1px solid var(--ink); background: #fff; padding: 18px; display: grid; gap: 16px; }
.pay-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .88rem; font-weight: 500; }
.pay-head > span:first-child { display: inline-flex; gap: 8px; align-items: center; color: var(--accent); }
.pay-head .brands { color: var(--muted); font-weight: 400; }
.card-input { position: relative; }
.card-input input { padding-right: 110px; letter-spacing: .04em; }
.card-brand { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: .8rem; font-weight: 600; color: var(--accent); }
.pay-note { display: flex; gap: 8px; font-size: .84rem; color: var(--muted); margin: 0; }
.pay-note .icon { margin-top: 2px; color: var(--accent); }
.checks .check { margin-top: 0; }
.checks .check + .field-error { margin-bottom: 10px; }
.checks { display: grid; gap: 12px; }
.processing { position: absolute; inset: 0; background: rgba(238, 239, 234, .96); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 32px; text-align: center; }
.processing p { max-width: 30ch; font-weight: 500; }
.spinner-bar { width: 180px; height: 2px; background: var(--paper-3); position: relative; overflow: hidden; }
.spinner-bar::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--accent); animation: bar 1.1s ease-in-out infinite; }
@keyframes bar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@media (prefers-reduced-motion: reduce) { .spinner-bar::after { animation: none; width: 100%; } }
/* ---------- Carrello ---------- */
.cart { width: min(460px, 100%); }
.cart-title-count { color: var(--muted); font-weight: 500; }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; }
.cart-added { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 4px; padding: 12px 14px; background: var(--accent-soft); color: var(--ink); font-size: .9rem; font-weight: 500; }
.cart-added::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .55em; background: var(--accent); }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line-media img { width: 84px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper-2); display: block; }
.cart-line-name { font-weight: 600; text-decoration: none; line-height: 1.3; }
.cart-line-name:hover { color: var(--accent); }
.cart-line-meta { margin: 4px 0 0; font-size: .86rem; color: var(--muted); }
.cart-line-actions { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.cart-line-price { margin: 0; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.qty-sm { grid-template-columns: 34px 36px 34px; }
.qty-sm button { min-height: 34px; }
.qty-sm button[disabled] { color: var(--paper-3); cursor: default; background: transparent; }
.qty-sm output { display: flex; align-items: center; justify-content: center; border-inline: 1px solid var(--line); font-size: .9rem; font-variant-numeric: tabular-nums; }
.cart-remove { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; cursor: pointer; font-size: .84rem; color: var(--muted); }
.cart-remove:hover { color: var(--error); }
.cart-empty { text-align: center; padding: 56px 8px; display: grid; justify-items: center; gap: 12px; }
.cart-empty-icon { width: 72px; height: 72px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); color: var(--accent); margin-bottom: 8px; }
.cart-empty-title { font-size: 1.2rem; font-weight: 600; margin: 0; }
.cart-empty p:not(.cart-empty-title) { color: var(--ink-2); max-width: 34ch; margin: 0 0 12px; }
.cart-foot { border-top: 1px solid var(--line); background: var(--paper-2); padding: 18px 24px 22px; display: grid; gap: 10px; }
.cart-foot .totals { border-top: 0; padding-top: 0; margin-bottom: 4px; }
.cart-foot .totals div:first-child { font-weight: 600; font-size: 1.12rem; }
.cart-foot .totals div:first-child dt { color: var(--ink); }
.cart-foot .totals div + div { font-size: .88rem; }
.cart-note { display: flex; gap: 8px; align-items: center; margin: 0 0 6px; font-size: .84rem; color: var(--muted); }
.cart-note .icon { color: var(--accent); flex: none; }
.order-lines { list-style: none; margin: -14px 0 0; padding: 0; }
.order-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.order-line img { width: 64px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper-2); }
.order-line-name { margin: 0; font-weight: 600; }
.order-line-price { margin: 0; font-weight: 600; white-space: nowrap; }
.order-line-edit { padding-top: 12px; font-size: .9rem; }
@media (max-width: 560px) {
  .cart-body { padding: 4px 16px 20px; }
  .cart-foot { padding: 16px; }
  .cart-line { grid-template-columns: 72px 1fr; gap: 14px; }
  .cart-line-media img { width: 72px; }
  .cart-line-price { grid-column: 2; grid-row: 2; margin-top: -8px; }
}

@media (max-width: 560px) {
  .drawer-head { padding: 14px 16px; }
  .drawer-form { padding: 20px 16px; }
}

/* ---------- Comparsa allo scorrimento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-media img { animation: settle 1.4s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.pdp-story h2 { margin-bottom: 20px; }
.doc > * { min-width: 0; }
