:root {
  --ink: #2b2827;
  --ink-soft: #5c5653;
  --muted: #8d8580;
  --bg: #faf6f1;
  --surface: #ffffff;
  --sand: #f1e9df;
  --blush: #e9d3c8;
  --accent: #9c6b5a;
  --line: #e4dbd1;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --radius: 4px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 300 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }
em { font-style: italic; color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }

.eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px; font-weight: 400;
}

/* Pulsanti */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border: 1px solid var(--ink); border-radius: var(--radius);
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400;
  transition: background .2s, color .2s;
}
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--block { width: 100%; }
.icon-btn {
  background: none; border: 0; padding: 8px; display: inline-grid; place-items: center; position: relative;
}
.icon-btn svg, .perk svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}

/* Header */
.topbar {
  background: var(--ink); color: var(--sand); text-align: center;
  font-size: 12px; letter-spacing: .08em; padding: 8px 16px;
}
.header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250, 246, 241, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  max-width: var(--max); margin: 0 auto; padding: 10px 24px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.nav { display: flex; gap: 28px; }
.nav a, .header__link {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; position: relative; padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transition: transform .25s;
}
.nav a:hover::after { transform: scaleX(1); }
.brand img { height: 58px; width: auto; }
.header__actions { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.header__link { margin-right: 10px; }
.menu-toggle { display: none; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--accent); color: #fff; font-size: 10px; line-height: 17px; font-weight: 500;
}
.searchbar { max-width: var(--max); margin: 0 auto; padding: 0 24px 14px; }
.searchbar input {
  width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); font: inherit; color: var(--ink);
}
.searchbar input:focus { outline: none; border-color: var(--accent); }

/* Hero */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 80px 24px 64px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.hero h1 { font-size: clamp(42px, 5vw, 66px); font-weight: 400; }
.hero__lead { color: var(--ink-soft); max-width: 470px; margin: 24px 0 34px; font-size: 17px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__visual { position: relative; aspect-ratio: 4 / 4.4; }
.hero__card { position: absolute; border-radius: var(--radius); }
.hero__card--a {
  inset: 0 12% 10% 0; overflow: hidden;
  background: linear-gradient(160deg, var(--blush), var(--sand) 70%);
  display: grid; place-items: end center;
}
.hero__card--a img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.hero__card--b {
  right: 0; bottom: 0; width: 52%; padding: 28px;
  background: var(--surface); box-shadow: 0 20px 50px -20px rgba(60, 40, 30, .25);
  display: flex; flex-direction: column; gap: 6px;
}
.hero__card--b span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.hero__card--b strong { font-family: var(--serif); font-size: 28px; font-weight: 500; }

/* Categorie */
.categories { max-width: var(--max); margin: 0 auto; padding: 0 24px 72px; }
.categories__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.cat-card {
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden;
  background: var(--sand); border-radius: var(--radius);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card__label {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 10px 14px;
  background: rgba(255, 255, 255, .94); border-radius: var(--radius);
  display: flex; flex-direction: column;
}
.cat-card__label strong { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.1; }
.cat-card__label small { font-size: 12px; color: var(--muted); }

/* Catalogo */
.catalog { max-width: var(--max); margin: 0 auto; padding: 0 24px 88px; scroll-margin-top: 90px; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(34px, 4vw, 48px); }
.toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line);
}
.filters { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip--small { padding: 6px 14px; font-size: 12px; }
.search-note { font-size: 14px; color: var(--ink-soft); margin: -12px 0 24px; }
.search-note button { background: none; border: 0; padding: 0; text-decoration: underline; color: var(--accent); }
.more { text-align: center; margin-top: 48px; }
.chip {
  border: 1px solid var(--line); background: transparent; border-radius: 40px;
  padding: 8px 18px; font-size: 13px; letter-spacing: .06em; transition: all .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.toolbar__right { display: flex; align-items: center; gap: 16px; }
.result-count { font-size: 13px; color: var(--muted); }
.select select {
  appearance: none; border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%232b2827'/%3E%3C/svg%3E") no-repeat right 14px center;
  padding: 9px 38px 9px 14px; border-radius: var(--radius); font: inherit; font-size: 13px; color: var(--ink);
}

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
.card { display: flex; flex-direction: column; }
.card__media {
  position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--sand);
}
.card__link { position: absolute; inset: 0; }
.card__media img.foto {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: opacity .4s, transform .6s;
}
.card__media img.foto--alt { opacity: 0; }
.card:hover .card__media img.foto--alt { opacity: 1; }
.card:hover .card__media img.foto { transform: scale(1.03); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--surface); padding: 4px 10px; border-radius: 2px;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
}
.badge--sale { background: var(--accent); color: #fff; }
.quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  background: rgba(255, 255, 255, .96); border-radius: var(--radius); padding: 12px;
  transform: translateY(calc(100% + 12px)); transition: transform .3s ease;
}
.card:hover .quick, .card:focus-within .quick { transform: none; }
.quick__label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size {
  min-width: 38px; padding: 6px 8px; border: 1px solid var(--line); background: var(--surface);
  border-radius: 2px; font-size: 12px; transition: all .15s;
}
.size:hover:not(:disabled) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.size:disabled { color: var(--muted); text-decoration: line-through; cursor: not-allowed; opacity: .6; }
.card__body { padding-top: 14px; }
.card__brand { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card__name { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.2; margin: 4px 0 6px; }
.card__price { font-size: 15px; font-weight: 400; }
.card__price s { color: var(--muted); margin-left: 8px; font-size: 13px; }
.card__price .sale { color: var(--accent); }
.card__name a:hover { color: var(--accent); }
.card__pack { margin-left: 8px; font-size: 12px; color: var(--muted); }
.swatches { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.swatch {
  width: 16px; height: 16px; border-radius: 50%; background-size: cover; background-position: center;
  box-shadow: 0 0 0 1px var(--line);
}
.swatch:hover { box-shadow: 0 0 0 1px var(--surface), 0 0 0 2px var(--ink); }
.swatch-more { font-size: 12px; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Servizi */
.perks {
  background: var(--sand); padding: 56px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.perks > .perk { max-width: 260px; justify-self: center; text-align: center; }
.perk svg { width: 28px; height: 28px; color: var(--accent); margin: 0 auto 12px; display: block; }
.perk h3 { font-size: 22px; }
.perk p { margin: 6px 0 0; font-size: 14px; color: var(--ink-soft); }

/* Negozio */
.store {
  max-width: var(--max); margin: 0 auto; padding: 96px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; scroll-margin-top: 90px;
}
.store h2 { font-size: clamp(38px, 4.5vw, 56px); font-weight: 400; }
.store__text > p { color: var(--ink-soft); max-width: 460px; margin: 20px 0 32px; }
.store__info { margin: 0; display: grid; gap: 18px; }
.store__info div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.store__info dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.store__info dd { margin: 0; }
.store__info a:hover { color: var(--accent); }
.store__map {
  aspect-ratio: 1; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center;
}
.store__map img { width: 55%; opacity: .9; }

/* Newsletter */
.newsletter { background: var(--ink); color: var(--bg); text-align: center; padding: 72px 24px; }
.newsletter h2 { font-size: clamp(30px, 3.5vw, 42px); font-weight: 400; }
.newsletter p { color: #c9bfb6; margin: 10px 0 28px; }
.newsletter__form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.newsletter__form input {
  flex: 1; min-width: 0; padding: 14px 16px; border: 1px solid #5a5452; background: transparent;
  color: var(--bg); border-radius: var(--radius); font: inherit;
}
.newsletter__form .btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.newsletter__form .btn:hover { background: var(--blush); border-color: var(--blush); }

/* Footer */
.footer { max-width: var(--max); margin: 0 auto; padding: 64px 24px 32px; text-align: center; }
.footer__logo { height: 70px; width: auto; margin: 0 auto 40px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: left; max-width: 760px; margin: 0 auto; }
.footer__cols h4 { margin: 0 0 12px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.footer__cols a { display: block; font-size: 14px; color: var(--ink-soft); padding: 3px 0; }
.footer__cols a:hover { color: var(--accent); }
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* Carrello */
.overlay { position: fixed; inset: 0; background: rgba(30, 24, 22, .4); z-index: 40; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 50;
  background: var(--bg); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s ease, visibility .35s;
  visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 26px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__empty { color: var(--muted); text-align: center; padding: 48px 0; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line__thumb { aspect-ratio: 4 / 5; border-radius: 2px; background: var(--sand); overflow: hidden; }
.line__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.line__name { display: block; font-family: var(--serif); font-size: 18px; line-height: 1.2; font-weight: 500; }
.line__meta { font-size: 12px; color: var(--muted); margin: 2px 0 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 2px; }
.qty button { background: none; border: 0; width: 28px; height: 28px; }
.qty span { min-width: 22px; text-align: center; font-size: 13px; }
.line__right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; font-size: 14px; }
.line__remove { background: none; border: 0; padding: 0; font-size: 12px; color: var(--muted); text-decoration: underline; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--surface); }
.ship-note { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.ship-bar { height: 3px; background: var(--line); border-radius: 2px; margin-top: 8px; overflow: hidden; }
.ship-bar i { display: block; height: 100%; background: var(--accent); transition: width .3s; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.drawer__total strong { font-family: var(--serif); font-size: 26px; font-weight: 500; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: var(--radius); font-size: 14px;
  transition: all .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Pagina prodotto */
.pdp { max-width: var(--max); margin: 0 auto; padding: 24px 24px 40px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--ink-soft); }
.pdp__main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; }

.gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; position: sticky; top: 100px; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumb {
  padding: 0; border: 1px solid transparent; border-radius: 2px; background: var(--sand);
  aspect-ratio: 1; overflow: hidden; opacity: .7; transition: opacity .2s, border-color .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb[aria-current] { opacity: 1; border-color: var(--ink); }
.gallery__stage {
  position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  aspect-ratio: 1; background: var(--sand); border-radius: var(--radius);
}
.gallery__stage::-webkit-scrollbar { display: none; }
.gallery__stage img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: start; }

.pdp__brand { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.pdp__title { font-size: clamp(34px, 3.4vw, 46px); font-weight: 500; margin-bottom: 14px; }
.badge--inline { position: static; display: inline-block; margin-bottom: 12px; background: var(--blush); }
.pdp__price { font-size: 22px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 0; }
.pdp__price s { color: var(--muted); margin-left: 10px; font-size: 16px; }
.pdp__price .sale { color: var(--accent); }
.pdp__price small { width: 100%; font-size: 12px; color: var(--muted); }
.pdp__pack { margin-left: 12px; font-size: 13px; color: var(--ink-soft); padding: 2px 10px; border: 1px solid var(--line); border-radius: 20px; }
.pdp__block { margin-top: 28px; }
.pdp__label { font-size: 14px; margin-bottom: 12px; color: var(--ink-soft); }
.pdp__label strong { color: var(--ink); font-weight: 500; }
.pdp__label--row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.link-btn {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0;
  font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: var(--ink);
}
.link-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.link-btn:hover { color: var(--accent); }

.pdp__colors { display: flex; flex-wrap: wrap; gap: 10px; }
.color-btn { width: 34px; height: 34px; padding: 3px; border-radius: 50%; border: 1px solid transparent; background: none; }
.color-btn span { display: block; width: 100%; height: 100%; border-radius: 50%; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.color-btn:hover { border-color: var(--line); }
.color-btn[aria-pressed="true"] { border-color: var(--ink); }

.pdp__sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 8px; }
.size-btn {
  position: relative; padding: 12px 6px; border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--radius); font-size: 14px; display: flex; flex-direction: column; align-items: center; line-height: 1.2;
  transition: border-color .15s, background .15s;
}
.size-btn small { font-size: 10px; color: var(--muted); margin-top: 2px; }
.size-btn:hover:not(:disabled) { border-color: var(--ink); }
.size-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.size-btn:disabled { color: var(--muted); background: transparent; cursor: not-allowed; text-decoration: line-through; }
.pdp__error { color: #b0413e; font-size: 13px; margin: 10px 0 0; }
.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }

.pdp__buy { display: flex; gap: 12px; margin-top: 28px; }
.qty--big { border-radius: var(--radius); }
.qty--big button { width: 44px; height: 52px; font-size: 18px; }
.qty--big span { min-width: 28px; font-size: 15px; }
.pdp__add { flex: 1; }

.pdp__service { list-style: none; padding: 20px 0 0; margin: 28px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.pdp__service li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.pdp__service strong { color: var(--ink); font-weight: 500; }
.pdp__service svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.accordion { margin-top: 28px; border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__item summary {
  list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after { content: "+"; font-size: 20px; font-weight: 300; transition: transform .2s; }
.accordion__item[open] summary::after { transform: rotate(45deg); }
.accordion__body { padding-bottom: 20px; font-size: 15px; color: var(--ink-soft); }
.accordion__body p { margin: 0 0 10px; }
.accordion__body strong { color: var(--ink); font-weight: 500; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ticks, .care { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li::before { content: "✓"; color: var(--accent); margin-right: 10px; }
.care li { padding-left: 16px; position: relative; font-size: 14px; }
.care li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--accent); }

.related { padding: 88px 0 40px; }
.pdp-missing { max-width: 600px; margin: 0 auto; padding: 120px 24px; text-align: center; }
.pdp-missing h1 { font-size: 44px; margin-bottom: 12px; }
.pdp-missing p { color: var(--ink-soft); margin-bottom: 28px; }

/* Modale guida taglie */
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 24px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(30, 24, 22, .45); }
.modal__panel {
  position: relative; width: min(820px, 100%); max-height: calc(100vh - 48px); overflow: auto;
  background: var(--bg); border-radius: var(--radius); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .35);
}
.modal__head {
  position: sticky; top: 0; z-index: 1; background: var(--bg);
  display: flex; justify-content: space-between; align-items: center; padding: 20px 28px; border-bottom: 1px solid var(--line);
}
.modal__head h2 { font-size: 30px; }
.modal__body { padding: 24px 28px 32px; }
.modal__body > .chips { margin-bottom: 20px; }
.size-table { overflow-x: auto; }
.size-table table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: center; min-width: 520px; }
.size-table th, .size-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.size-table th { font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); background: var(--sand); white-space: normal; }
.size-table tr.is-active td { background: var(--blush); color: var(--ink); font-weight: 500; }
.size-table__note { font-size: 13px; color: var(--ink-soft); margin: 10px 0 0; }
.measure { margin-top: 28px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; color: var(--ink-soft); }
.measure h3 { font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.measure ul { padding-left: 18px; margin: 10px 0; display: grid; gap: 4px; }
.measure strong { color: var(--ink); font-weight: 500; }
.measure p { margin: 0; }

/* Moduli */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-soft); }
.field small { color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); font: inherit; font-size: 15px; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field input:disabled { background: var(--sand); color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row--3 { grid-template-columns: 1fr 2fr 1fr; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); }
.check input { margin-top: 3px; accent-color: var(--ink); }
.form-error { color: #b0413e; font-size: 13px; margin: 0; }
.form-grid { display: grid; gap: 16px; max-width: 560px; }
.form-grid .btn { justify-self: start; }

/* Icona account */
.account-link.is-logged::after {
  content: ""; position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%;
  background: #5b8a63; box-shadow: 0 0 0 2px var(--bg);
}

/* Area clienti */
.account { max-width: var(--max); margin: 0 auto; padding: 48px 24px 96px; }
.account__head h1, .account__top h1 { font-size: clamp(36px, 4vw, 52px); font-weight: 400; }
.account__notice { margin: 16px auto 0; padding: 12px 18px; background: var(--blush); border-radius: var(--radius); display: inline-block; font-size: 14px; }
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 920px; margin: 0 auto; }
.auth__box { display: grid; gap: 16px; align-content: start; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.auth__box h2 { font-size: 28px; margin-bottom: 4px; }
.demo-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 28px; }
.account__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.account__layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.account__nav { display: flex; flex-direction: column; gap: 4px; }
.account__nav a { padding: 10px 14px; border-radius: var(--radius); font-size: 14px; color: var(--ink-soft); }
.account__nav a:hover { background: var(--sand); }
.account__nav a[aria-current] { background: var(--ink); color: var(--bg); }
.account__panel h2 { font-size: 30px; margin-bottom: 20px; }
.empty-box { padding: 32px; text-align: center; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-soft); }
.empty-box a { color: var(--accent); text-decoration: underline; }

.order { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.order summary { list-style: none; cursor: pointer; padding: 16px 20px; display: grid; grid-template-columns: auto 1fr auto auto; gap: 16px; align-items: center; }
.order summary::-webkit-details-marker { display: none; }
.order__num { font-weight: 500; }
.order__date { color: var(--muted); font-size: 14px; }
.order__body { padding: 4px 20px 16px; border-top: 1px solid var(--line); }
.order__line { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.order__line:last-child { border-bottom: 0; }
.order__line small { display: block; color: var(--muted); }
.order__note { font-size: 13px; color: var(--ink-soft); margin: 10px 0 0; }
.stato { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; background: var(--sand); white-space: nowrap; }
.stato--nuovo { background: #e8eef7; color: #2f4f7a; }
.stato--in-preparazione { background: #f6ecd8; color: #7a5a1e; }
.stato--pronto-per-il-ritiro, .stato--spedito { background: #e3f0e5; color: #2f6b3a; }
.stato--consegnato { background: var(--sand); color: var(--ink-soft); }
.stato--annullato { background: #f5e1e0; color: #8e3330; }

/* Checkout */
.co { max-width: var(--max); margin: 0 auto; padding: 36px 24px 96px; }
.co-steps { list-style: none; display: flex; justify-content: center; gap: 0; padding: 0; margin: 0 0 40px; counter-reset: step; }
.co-steps li { counter-increment: step; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.co-steps li::before {
  content: counter(step); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); font-size: 12px; background: var(--surface);
}
/* Trattino di collegamento tra un passaggio e l'altro */
.co-steps li + li { margin-left: 14px; padding-left: 50px; background: linear-gradient(var(--line), var(--line)) no-repeat left center / 36px 1px; }
.co-steps li.is-done { color: var(--ink-soft); }
.co-steps li.is-done::before { content: "✓"; background: var(--ink); border-color: var(--ink); color: var(--bg); }
.co-steps li.is-current { color: var(--ink); font-weight: 500; }
.co-steps li.is-current::before { border-color: var(--ink); }

.co__layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.co__form { display: grid; gap: 16px; }
.co-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.co-card h2 { font-size: 26px; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.co-card h2 span {
  width: 30px; height: 30px; border-radius: 50%; background: var(--sand); color: var(--accent);
  display: grid; place-items: center; font-family: var(--sans); font-size: 14px; font-weight: 500;
}
.co-grid { display: grid; gap: 14px; }
.co-hint { margin: 0; font-size: 13px; color: var(--muted); }
.co-hint a, .co-card .check a { color: var(--accent); text-decoration: underline; }
.co-address { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.co-options { display: grid; gap: 10px; }

.option { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 14px; cursor: pointer; }
.option:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.option input { accent-color: var(--ink); margin-top: 3px; }
.option small { color: var(--muted); }
.option--big { align-items: center; padding: 16px 18px; }
.option--big input { margin: 0; }
.option__icon { width: 64px; height: 44px; flex: none; border-radius: var(--radius); background: var(--sand); display: grid; place-items: center; }
.option__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.option__icon--text { font-size: 11px; font-weight: 500; color: var(--ink-soft); }
.option__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.option__text strong { font-weight: 500; }
.option__price { font-weight: 500; white-space: nowrap; }

.co-card-form { margin: -2px 0 6px; padding: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 12px; }
.fake-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-soft); }
.fake-field div { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--muted); letter-spacing: .1em; }

.co__submit { padding: 18px; font-size: 14px; }
.co-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; font-size: 12px; color: var(--muted); }
.co-secure svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.co__summary { position: sticky; top: 100px; display: grid; gap: 16px; }
.co-sum { background: var(--sand); border-radius: var(--radius); padding: 28px; }
.co-sum h2 { font-size: 26px; margin-bottom: 16px; }
.co-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; font-size: 14px; }
.co-line strong { font-weight: 500; display: block; line-height: 1.3; }
.co-line small { color: var(--ink-soft); font-size: 12px; }
.co-line__img { position: relative; width: 64px; height: 64px; border-radius: var(--radius); background: var(--surface); }
.co-line__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: var(--radius); }
.co-line__img span {
  position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 10px; padding: 0 5px;
  background: var(--ink-soft); color: #fff; font-size: 11px; display: grid; place-items: center;
}
.co-code { display: flex; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.co-code input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font: inherit; font-size: 14px; }
.co-code__msg { margin: 8px 0 0; font-size: 13px; }
.co-code__msg.is-ok { color: #2f6b3a; }
.co-code__msg.is-error { color: #b0413e; }
.co-totals { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
.co-totals div { display: flex; justify-content: space-between; }
.co-totals dt, .co-totals dd { margin: 0; }
.co-totals .is-discount { color: #2f6b3a; }
.co-totals__tot { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); align-items: baseline; }
.co-totals__tot dt small { color: var(--muted); font-size: 12px; }
.co-totals__tot dd { font-family: var(--serif); font-size: 30px; font-weight: 500; }
.co-trust { list-style: none; margin: 0; padding: 0 8px; display: grid; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.co-trust li::before { content: "✓"; color: var(--accent); margin-right: 8px; }
.co-user { display: flex; align-items: center; gap: 14px; }
.co-user__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; font-weight: 500; text-transform: uppercase; }
.co-user div { flex: 1; }
.co-user small { display: block; color: var(--muted); }

.co-empty { text-align: center; padding: 120px 24px; }
.co-empty h1 { font-size: 44px; margin-bottom: 10px; }
.co-empty p { color: var(--ink-soft); margin-bottom: 28px; }

.done { max-width: 720px; margin: 0 auto; text-align: center; }
.done__icon { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.done__icon svg { width: 34px; height: 34px; fill: none; stroke: var(--bg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.done h1 { font-size: clamp(40px, 5vw, 60px); font-weight: 400; }
.done__lead { color: var(--ink-soft); margin: 14px 0 40px; }
.timeline { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.timeline li { position: relative; padding-top: 30px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; top: 4px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); z-index: 1; }
.timeline li::after { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.timeline li:first-child::after { content: none; }
.timeline li.is-done::before { background: var(--accent); border-color: var(--accent); }
.timeline strong { font-weight: 500; }
.timeline small { color: var(--muted); font-size: 12px; padding: 0 8px; }
.done__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: left; }
.done__grid > div { background: var(--surface); padding: 20px; }
.done__grid h3 { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.done__grid p { margin: 0; font-size: 15px; }
.done__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.footer__legal a { text-decoration: underline; }

/* Pagine informative */
.info { padding-bottom: 96px; }
.info-hero { text-align: center; padding: 64px 24px 48px; max-width: 760px; margin: 0 auto; }
.info-hero h1 { font-size: clamp(40px, 5vw, 60px); font-weight: 400; }
.info-hero p:last-child { color: var(--ink-soft); margin: 14px 0 0; font-size: 17px; }
.info-layout { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.info-nav { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.info-nav a { padding: 10px 18px; font-size: 14px; color: var(--ink-soft); margin-left: -1px; border-left: 1px solid transparent; }
.info-nav a:hover { color: var(--ink); }
.info-nav a[aria-current] { color: var(--ink); border-left-color: var(--ink); font-weight: 500; }
.info-body { max-width: 860px; }
.info-section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.info-section:last-child { border-bottom: 0; }
.info-section h2 { font-size: 32px; margin-bottom: 14px; }
.info-section h2:not(:first-child) { margin-top: 32px; }
.info-section > p { color: var(--ink-soft); max-width: 640px; }
.info-section strong { color: var(--ink); font-weight: 500; }
.info-section .chips { margin: 20px 0 16px; }
.info-note { padding: 14px 18px; background: var(--sand); border-left: 2px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; font-size: 14px; color: var(--ink-soft); margin-top: 20px; }
.info-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px; background: var(--ink); color: var(--bg); border-radius: var(--radius); }
.info-cta h3 { font-size: 28px; font-weight: 400; }
.info-cta p { margin: 6px 0 0; color: #c9bfb6; font-size: 14px; }
.info-cta .btn { background: var(--bg); color: var(--ink); border-color: var(--bg); flex: none; }

.measure-guide { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.measure-guide__svg { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.measure-guide__svg path { fill: none; stroke: var(--ink-soft); stroke-width: 1.5; stroke-linecap: round; }
.measure-guide__svg .m-line path { stroke: var(--accent); stroke-dasharray: 4 3; }
.measure-guide__svg text { fill: var(--accent); font: 500 13px var(--sans); }
.measure-list { padding-left: 0; list-style: none; display: grid; gap: 10px; margin: 18px 0; }
.measure-list li { color: var(--ink-soft); font-size: 15px; }

.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.info-card svg, .contact-card svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.info-card h3 { font-size: 26px; }
.info-card__price { font-weight: 500; margin: 4px 0 12px; }
.info-card p { color: var(--ink-soft); font-size: 14px; }
.info-card small { color: var(--muted); font-size: 13px; }

.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 14px; margin-bottom: 14px; }
.steps h3 { font-size: 22px; margin-bottom: 6px; }
.steps p { margin: 0; font-size: 14px; color: var(--ink-soft); }

.pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pay { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.pay__logo { display: inline-block; padding: 6px 12px; border-radius: var(--radius); background: var(--sand); font-size: 12px; font-weight: 500; letter-spacing: .06em; margin-bottom: 14px; }
.pay h3 { font-size: 22px; }
.pay p { margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { display: block; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.contact-card:hover { border-color: var(--accent); }
.contact-card h3 { font-size: 22px; margin-bottom: 4px; }
.contact-card span { font-size: 14px; color: var(--ink-soft); }
.contact-form { display: grid; gap: 16px; max-width: 640px; }
.contact-form .btn { justify-self: start; }
.contact-form .check a { color: var(--accent); text-decoration: underline; }
.form-sent { padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.form-sent h3 { font-size: 28px; }
.form-sent p { color: var(--ink-soft); }
.form-sent small { color: var(--muted); }
.info-section .accordion a { color: var(--accent); text-decoration: underline; }

/* Pagina negozio */
.store-hero { max-width: var(--max); margin: 0 auto; padding: 64px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.store-hero h1 { font-size: clamp(42px, 5vw, 64px); font-weight: 400; }
.store-hero__text > p:not(.eyebrow) { color: var(--ink-soft); margin: 20px 0 32px; max-width: 480px; font-size: 17px; }
.photo-ph {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--sand) 0 14px, #ece3d8 14px 28px);
}
.photo-ph img { width: 28%; opacity: .35; }
.photo-ph span { position: absolute; bottom: 14px; left: 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: var(--surface); padding: 4px 10px; border-radius: 2px; }
.store-hero__img { aspect-ratio: 1; }
.values { max-width: var(--max); margin: 0 auto; padding: 48px 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values h3 { font-size: 26px; margin-bottom: 8px; }
.values p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.gallery-ph { max-width: var(--max); margin: 0 auto; padding: 64px 24px 0; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.gallery-ph .photo-ph { aspect-ratio: auto; min-height: 280px; }
.where { max-width: var(--max); margin: 0 auto; padding: 80px 24px 0; display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; scroll-margin-top: 90px; }
.where h2 { font-size: clamp(36px, 4vw, 48px); font-weight: 400; margin-bottom: 28px; }
.where .store__info a:hover { color: var(--accent); }
.map-ph { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #ece6dd; display: grid; place-items: center; }
.map-ph > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-ph > svg path { fill: none; stroke: #fff; stroke-width: 10; }
.map-ph__pin { position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .4); }
.map-ph__pin svg { width: 26px; height: 26px; fill: none; stroke: var(--bg); stroke-width: 1.5; }
.map-ph small { position: absolute; bottom: 14px; font-size: 12px; color: var(--muted); background: var(--surface); padding: 4px 10px; border-radius: 2px; }

/* Pagine legali */
.legal section { margin-bottom: 28px; }
.legal h2 { font-size: 26px; margin-bottom: 8px; }
.legal p { color: var(--ink-soft); }
.legal__draft { padding: 12px 16px; background: #f6ecd8; color: #7a5a1e; border-radius: var(--radius); font-size: 13px; margin: 0 0 32px; }
.legal__updated { font-size: 13px; color: var(--muted); }

/* 404 */
.not-found { text-align: center; padding: 120px 24px; }
.not-found img { width: 120px; margin: 0 auto 28px; opacity: .25; }
.not-found h1 { font-size: clamp(40px, 5vw, 56px); font-weight: 400; }
.not-found p { color: var(--ink-soft); margin: 12px 0 32px; }
.not-found__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Banner cookie */
.cookie {
  position: fixed; left: 24px; bottom: 24px; z-index: 65; width: min(420px, calc(100% - 32px));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  box-shadow: 0 20px 50px -20px rgba(60, 40, 30, .35); font-size: 14px; color: var(--ink-soft);
}
.cookie p { margin: 0 0 14px; }
.cookie strong { color: var(--ink); font-weight: 500; }
.cookie a { color: var(--accent); text-decoration: underline; }
.cookie__actions { display: flex; gap: 8px; justify-content: flex-end; }
.btn--small { padding: 9px 16px; font-size: 11px; }

/* Responsive */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .categories__grid { grid-template-columns: repeat(3, 1fr); }
  .cat-card { aspect-ratio: 1; }
  .nav { gap: 18px; }
  .header__link { display: none; }
}
@media (max-width: 820px) {
  .menu-toggle { display: inline-grid; justify-self: start; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header__inner { padding: 8px 16px; }
  .brand img { height: 46px; }
  .hero { grid-template-columns: 1fr; padding: 48px 16px; gap: 40px; }
  .hero__visual { max-width: 420px; width: 100%; margin: 0 auto; }
  .categories, .catalog { padding-left: 16px; padding-right: 16px; }
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .quick, .foto--alt { display: none; }
  .perks { grid-template-columns: repeat(2, 1fr); padding: 48px 16px; }
  .store { grid-template-columns: 1fr; padding: 72px 16px; gap: 40px; }
  .store__map { display: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .pdp { padding: 16px 16px 24px; }
  .pdp__main { grid-template-columns: 1fr; gap: 28px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .gallery__thumbs { order: 2; flex-direction: row; overflow-x: auto; }
  .thumb { flex: 0 0 60px; }
  .two-col { grid-template-columns: 1fr; gap: 8px; }
  .related { padding-top: 56px; }
  .modal { padding: 0; place-items: end stretch; }
  .modal__panel { width: 100%; max-height: 92vh; border-radius: 12px 12px 0 0; }
  .modal__head, .modal__body { padding-left: 16px; padding-right: 16px; }
  .account { padding: 32px 16px 64px; }
  .auth, .account__layout { grid-template-columns: 1fr; gap: 20px; }
  .auth__box { padding: 22px; }
  .account__nav { flex-direction: row; overflow-x: auto; }
  .account__nav a { white-space: nowrap; }
  .order summary { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .field-row, .field-row--3 { grid-template-columns: 1fr; }
  .co { padding: 24px 16px 64px; }
  .co__layout { grid-template-columns: 1fr; gap: 20px; }
  .co__summary { position: static; order: -1; }
  .co-card, .co-sum { padding: 20px; }
  .co-steps { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-bottom: 24px; }
  .co-steps::-webkit-scrollbar { display: none; }
  .co-steps li { white-space: nowrap; }
  .co-steps li + li { padding-left: 34px; background-size: 22px 1px; margin-left: 8px; }
  .timeline, .done__grid { grid-template-columns: 1fr; }
  .timeline { text-align: left; gap: 16px; }
  .timeline li { padding: 0 0 0 30px; }
  .timeline li::before { left: 0; top: 3px; margin: 0; }
  .timeline li::after { content: none; }
  .timeline small { padding: 0; }
  .cookie { left: 16px; bottom: 16px; }
  .info-hero { padding: 40px 16px 32px; }
  .info-layout { grid-template-columns: 1fr; gap: 24px; padding: 0 16px; }
  .info-nav { position: static; flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line); }
  .info-nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; margin: 0 0 -1px; padding: 10px 12px; }
  .info-nav a[aria-current] { border-bottom-color: var(--ink); }
  .measure-guide { grid-template-columns: 1fr; }
  .measure-guide__svg { max-width: 220px; }
  .info-cards, .steps, .pay-grid, .contact-cards, .values { grid-template-columns: 1fr; }
  .info-cta { flex-direction: column; align-items: flex-start; padding: 24px; }
  .store-hero, .where { grid-template-columns: 1fr; padding-left: 16px; padding-right: 16px; gap: 32px; }
  .store-hero { padding-top: 40px; }
  .values, .gallery-ph { padding-left: 16px; padding-right: 16px; }
  .gallery-ph { grid-template-columns: 1fr 1fr; }
  .gallery-ph .photo-ph:first-child { grid-column: 1 / -1; }
  .gallery-ph .photo-ph { min-height: 180px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; width: 100%; max-width: calc(100vw - 32px); }
  .filters { width: 100%; }
  .chip { flex: none; }
  .toolbar__right { justify-content: space-between; }
}
@media (max-width: 480px) {
  .card__name { font-size: 18px; }
  .size { min-width: 32px; padding: 5px 6px; font-size: 11px; }
  .newsletter__form { flex-direction: column; }
  .store__info div { grid-template-columns: 1fr; gap: 4px; }
}

/* Modalità modifica (admin) */
.photo-ph.has-foto { background-size: cover; background-position: center; }
.photo-ph.has-foto img, .photo-ph.has-foto span { display: none; }
.edit-bar {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 80;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; max-width: calc(100% - 24px);
  padding: 10px 16px; border-radius: 40px; background: var(--ink); color: var(--bg);
  font-size: 13px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .45);
}
.edit-bar__dot { width: 8px; height: 8px; border-radius: 50%; background: #7fbf8a; }
.edit-bar__switch { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.edit-bar__switch input { accent-color: var(--blush); width: 16px; height: 16px; }
.edit-bar__hint { color: #b9ada3; display: none; }
.is-editing .edit-bar__hint { display: inline; }
.edit-bar button, .edit-bar a { background: none; border: 0; color: var(--blush); font-size: 13px; text-decoration: underline; padding: 0; }
.edit-bar button { display: none; }
.is-editing .edit-bar button { display: inline; }
.is-editing [data-chiave] { outline: 1px dashed rgba(156, 107, 90, .55); outline-offset: 3px; border-radius: 2px; cursor: text; }
.is-editing [data-chiave]:hover { outline-color: var(--accent); background: rgba(233, 211, 200, .35); }
.is-editing [data-chiave]:focus { outline: 2px solid var(--accent); background: rgba(255, 255, 255, .7); }
.is-editing .btn[data-chiave] { cursor: text; }
.edit-img { position: absolute; top: 10px; right: 10px; z-index: 5; display: flex; gap: 6px; }
.edit-img button { padding: 7px 12px; border: 0; border-radius: 20px; background: var(--ink); color: var(--bg); font-size: 12px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); }
.edit-img button[data-originale-img] { background: var(--surface); color: var(--ink); }
@media (max-width: 820px) {
  .edit-bar { border-radius: 12px; bottom: 8px; gap: 8px 12px; }
  .is-editing .edit-bar__hint { display: none; }
}

/* Modalità manutenzione */
.pagina-manutenzione {
  min-height: 100vh; display: grid; place-items: center; padding: 48px 16px;
  background:
    radial-gradient(800px 600px at 10% 10%, rgba(233, 211, 200, .7), transparent 70%),
    radial-gradient(800px 600px at 90% 95%, rgba(241, 233, 223, .95), transparent 70%),
    var(--bg);
}
.mnt { width: min(620px, 100%); text-align: center; }
.mnt__logo { height: 110px; width: auto; margin: 0 auto 40px; }
.mnt h1 { font-size: clamp(40px, 6vw, 62px); font-weight: 400; }
.mnt__msg { color: var(--ink-soft); font-size: 18px; margin: 22px auto 0; max-width: 500px; }
.mnt__ritorno { display: inline-block; margin: 18px 0 0; padding: 8px 18px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.mnt__negozio { margin: 44px 0 0; padding: 26px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-align: left; }
.mnt__negozio h2 { font-size: 26px; margin-bottom: 14px; }
.mnt__negozio dl { margin: 0; display: grid; gap: 10px; font-size: 15px; }
.mnt__negozio dl div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; }
.mnt__negozio dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.mnt__negozio dd { margin: 0; }
.mnt__negozio a:hover { color: var(--accent); }
.mnt__accesso { margin-top: 28px; text-align: left; }
.mnt__accesso summary { cursor: pointer; text-align: center; font-size: 13px; color: var(--muted); list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.mnt__accesso summary::-webkit-details-marker { display: none; }
.mnt__accesso form { display: grid; gap: 14px; margin-top: 18px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.avviso-manutenzione { background: #f6ecd8; color: #7a5a1e; text-align: center; font-size: 13px; padding: 8px 16px; }
.avviso-manutenzione a { text-decoration: underline; margin-left: 6px; }
@media (max-width: 480px) { .mnt__negozio dl div { grid-template-columns: 1fr; gap: 2px; } }
.mnt__titolo-accesso { margin: 0; font-family: var(--serif); font-size: 22px; }
/* pallini e caselle dentro un .field non prendono lo stile dei campi di testo */
.field input[type="radio"], .field input[type="checkbox"] { width: auto; padding: 0; border: 0; flex: none; }
.field .option, .field .check { flex-direction: row; text-align: left; }
.field .option > span, .field .check > span { flex: 1; }
