/* PRINCIPESSA beauty & shop
   Idea di layout: mobile-first, tutto ruota attorno alla forma ad arco (vetrina di boutique):
   immagini prodotto, hero, schede e pannelli condividono lo stesso profilo arrotondato in alto. */

:root {
  --crema: #FAF3E8;
  --crema-2: #F2E7D6;
  --rosa: #E9C7BF;
  --rosa-d: #9C544E;
  --salvia: #A3B8A0;
  --verde: #3E5A48;
  --ink: #25241F;
  --ink-2: #55504A;
  --line: #E4D6C2;
  --ok: #3E5A48;
  --err: #A33A3A;

  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --tick: 34px;
  --hdr: 80px;
  --r-arch: 999px 999px 16px 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--crema);
  color: var(--ink);
  font: 400 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
body.lock { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
button, input { font: inherit; color: inherit; }
img, svg { max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--rosa-d); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--ink-2); }
.fine { font-size: 14px; color: var(--ink-2); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rosa-d); }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Marchio ---------- */
.wordmark { font-family: var(--f-display); font-weight: 600; font-size: 20px; letter-spacing: .14em; line-height: 1; }
.wordmark-sub { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 16px; color: var(--verde); line-height: 1; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: background .2s, color .2s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--verde); color: var(--crema); }
.btn-primary:hover { background: #2F4637; }
.btn-soft { background: var(--rosa); color: var(--ink); }
.btn-soft:hover { background: #E0B6AC; }
.btn-line { background: transparent; color: var(--verde); box-shadow: inset 0 0 0 1.5px var(--verde); }
.btn-line:hover { background: var(--verde); color: var(--crema); }
.btn-lg { min-height: 52px; font-size: 16px; padding: 0 26px; }
.btn-block { display: flex; width: 100%; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; cursor: pointer;
}
.icon-btn:hover { background: var(--crema-2); }

/* ---------- Ingresso ---------- */
.gate {
  position: fixed; inset: 0; z-index: 200; overflow-y: auto;
  background: var(--crema); display: grid; place-items: center; padding: 28px 20px;
}
.gate-inner { width: 100%; max-width: 420px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gate-arch { width: 120px; height: auto; margin-bottom: 10px; }
.gate-mark { font-size: 26px; }
.gate-title { font-family: var(--f-display); font-weight: 600; font-size: 30px; line-height: 1.12; margin-top: 22px; }
.gate-sub { font-family: var(--f-display); font-style: italic; font-size: 19px; color: var(--rosa-d); }
.gate-text { color: var(--ink-2); margin-top: 8px; max-width: 34ch; }
.gate-form { width: 100%; margin-top: 22px; text-align: left; }
.gate-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.gate-demo { margin-top: 10px; font-size: 13px; color: var(--ink-2); text-align: center; }

/* ---------- Banner scorrevole ---------- */
.ticker {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--tick);
  background: var(--verde); color: var(--crema); overflow: hidden; display: flex; align-items: center;
}
.ticker-track { display: flex; width: max-content; animation: scorri var(--dur, 40s) linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.t-set { display: flex; flex: none; min-width: 100vw; }
.t-item { flex: none; padding: 0 22px; font-size: 14px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; display: inline-flex; align-items: center; gap: 22px; }
.t-item::after { content: ""; width: 5px; height: 5px; background: var(--salvia); transform: rotate(45deg); }
@keyframes scorri { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
#app { padding-top: var(--tick); }
.top { position: sticky; top: var(--tick); z-index: 50; height: var(--hdr); background: var(--crema); border-bottom: 1px solid var(--line); }
.top-in { height: 100%; max-width: 1080px; margin: 0 auto; padding: 0 8px 0 16px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.cart-btn { position: relative; width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; cursor: pointer; }
.cart-btn:hover { background: var(--crema-2); }
.cart-btn .icon { width: 26px; height: 26px; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--rosa-d); color: #fff; font-size: 12px; font-weight: 700;
  display: grid; place-items: center; font-variant-numeric: tabular-nums;
}

/* ---------- Hero ---------- */
.hero { padding: 26px 0 20px; }
.hero-in { display: grid; grid-template-columns: 1fr 92px; grid-template-areas: "head art" "body body"; column-gap: 14px; align-items: end; }
.hero-head { grid-area: head; }
.hero-body { grid-area: body; }
.hero-title { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(31px, 8.4vw, 46px); line-height: 1.08; margin: 10px 0 14px; }
.hero-text { color: var(--ink-2); max-width: 44ch; margin-bottom: 18px; }
.hero-note { font-size: 14px; color: var(--ink-2); margin-top: 10px; }
.hero-art { grid-area: art; width: 92px; height: auto; align-self: end; }
.hero-img { object-fit: contain; max-height: 240px; }

/* ---------- Filtri ---------- */
.filters { position: sticky; top: calc(var(--tick) + var(--hdr)); z-index: 40; background: var(--crema); padding: 10px 0 8px; border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips-sub { padding-top: 6px; }
.chip {
  flex: none; min-height: 42px; padding: 0 17px; border-radius: 999px; border: 1.5px solid var(--line);
  background: transparent; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; color: var(--ink);
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--salvia); }
.chip.is-on { background: var(--verde); border-color: var(--verde); color: var(--crema); }
.chips-sub .chip { min-height: 38px; padding: 0 14px; font-size: 14px; font-weight: 600; }
.chips-sub .chip.is-on { background: var(--rosa); border-color: var(--rosa); color: var(--ink); }

/* ---------- Catalogo ---------- */
.catalogo { scroll-margin-top: 96px; }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 22px 0 14px; }
.cat-title { font-family: var(--f-display); font-weight: 600; font-size: 28px; line-height: 1.1; }
.cat-count { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; padding-bottom: 36px; }
.grid-empty { grid-column: 1 / -1; padding: 30px 0; color: var(--ink-2); }

.card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.art { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-arch); overflow: hidden; background: var(--crema-2); }
.art svg, .art img { display: block; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.badges { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; flex-wrap: wrap; gap: 4px; }
.badge { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.b-new { background: var(--verde); color: var(--crema); }
.b-promo { background: var(--rosa-d); color: #fff; }
.b-gift { background: var(--crema); color: var(--verde); box-shadow: inset 0 0 0 1px var(--salvia); }
.card-body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sub { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.name { font-size: 16px; font-weight: 700; line-height: 1.25; }
.desc { font-size: 14px; color: var(--ink-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.price { font-size: 18px; font-weight: 700; }
.price.is-promo { color: var(--rosa-d); }
.price-old { font-size: 14px; color: var(--ink-2); text-decoration: line-through; }
.proof { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--rosa-d); }
.proof .icon { width: 14px; height: 14px; }
.slot { margin-top: auto; padding-top: 6px; }
.btn-add { width: 100%; min-height: 42px; }
.stepper { display: flex; align-items: center; justify-content: space-between; min-height: 42px; border-radius: 999px; background: var(--verde); color: var(--crema); padding: 0 4px; }
.stepper button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; }
.stepper button:hover { background: rgba(255,255,255,.14); }
.stepper .icon { width: 18px; height: 18px; }
.stepper span { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 24px; text-align: center; }

/* ---------- Foto e voce ---------- */
.art, .thumb, .toast-thumb { position: relative; }
.foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; display: block; }
.voice {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 5px 16px 5px 6px;
  border: 0; border-radius: 999px; background: var(--crema-2); color: var(--verde);
  font-weight: 700; font-size: 14px; line-height: 1.2; text-align: left; cursor: pointer;
  transition: background .2s;
}
.voice:hover { background: #EADCC8; }
.voice small { display: block; font-weight: 500; font-size: 11px; color: var(--ink-2); }
.voice-ic { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--verde); color: var(--crema); }
.voice-ic .icon { width: 14px; height: 14px; }
.voice.is-on { background: var(--rosa); }
.card .voice { align-self: flex-start; margin: 4px 0 2px; }
.hero-voice { margin: -6px 0 18px; }
.gate-inner .voice { margin-top: 6px; }
.res-head .voice { margin-top: 12px; }
.treat .voice { background: var(--crema); }

/* ---------- Fascia test ---------- */
.band { background: var(--crema-2); padding: 28px 0; }
.band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.band-title { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 24px; line-height: 1.15; }
.band-text { color: var(--ink-2); margin-top: 4px; max-width: 44ch; }

/* ---------- Piè di pagina ---------- */
.foot { padding: 34px 0 110px; border-top: 1px solid var(--line); }
.foot-mark { font-size: 17px; margin-bottom: 14px; }
.foot .fine { margin-top: 16px; }
.area-ris { color: var(--ink-2); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 8px 0; }

.shop { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.shop-name { font-weight: 700; }
.shop-box { margin-top: 22px; padding: 16px; border-radius: 16px; background: var(--crema-2); }

/* ---------- Barra carrello e avvisi ---------- */
.cartbar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; max-width: 560px; margin: 0 auto;
  min-height: 56px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--verde); color: var(--crema); box-shadow: 0 10px 28px rgba(44, 43, 39, .25);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600;
}
.cartbar-l, .cartbar-r { display: inline-flex; align-items: center; gap: 10px; }
.cartbar-r { font-variant-numeric: tabular-nums; }
.cartbar-go { padding: 6px 12px; border-radius: 999px; background: var(--crema); color: var(--verde); font-size: 13px; }

.toast {
  position: fixed; left: 12px; right: 12px; bottom: 80px; z-index: 150; max-width: 520px; margin: 0 auto;
  background: var(--ink); color: var(--crema); border-radius: 18px; padding: 12px 14px;
  box-shadow: 0 12px 32px rgba(44, 43, 39, .3); font-size: 14px;
  animation: sale .25s ease-out;
}
.toast-row { display: flex; align-items: center; gap: 12px; }
.toast-thumb { width: 44px; height: 54px; border-radius: 22px 22px 8px 8px; overflow: hidden; flex: none; }
.toast-thumb svg { display: block; width: 100%; height: 100%; }
.toast-txt { flex: 1; min-width: 0; }
.toast-k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--salvia); font-weight: 700; }
.toast-n { font-weight: 600; line-height: 1.25; }
.toast .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
.toast .btn-soft { background: var(--rosa); color: var(--ink); }
.toast-x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--crema); cursor: pointer; display: grid; place-items: center; flex: none; }
.toast-x .icon { width: 16px; height: 16px; }
@keyframes sale { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Pannelli (carrello e test) ---------- */
.sheet { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(44, 43, 39, .5); animation: appare .2s ease-out; }
.sheet-panel {
  position: relative; width: 100%; max-width: 560px; max-height: 94%; display: flex; flex-direction: column;
  background: var(--crema); border-radius: 28px 28px 0 0; box-shadow: 0 -10px 40px rgba(44, 43, 39, .25);
  animation: entra .3s cubic-bezier(.2, .8, .2, 1);
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 8px 8px 20px; border-bottom: 1px solid var(--line); flex: none; }
.sheet-head .icon-btn:first-child:not(:last-child) { margin-left: -12px; }
.sheet-title { font-family: var(--f-display); font-weight: 600; font-size: 22px; line-height: 1.15; flex: 1; }
.sheet-body { overflow-y: auto; padding: 18px 20px 28px; overscroll-behavior: contain; }
.sheet-full { align-items: stretch; background: var(--crema); }
.sheet-full .sheet-panel { max-width: 640px; max-height: none; height: 100%; border-radius: 0; box-shadow: none; animation: appare .25s ease-out; }
@keyframes entra { from { transform: translateY(40px); opacity: 0; } }
@keyframes appare { from { opacity: 0; } }

@media (min-width: 700px) {
  #cart.sheet { justify-content: flex-end; align-items: stretch; }
  #cart .sheet-panel { max-width: 480px; max-height: none; height: 100%; border-radius: 28px 0 0 28px; animation-name: entraLato; }
  @keyframes entraLato { from { transform: translateX(40px); opacity: 0; } }
}

/* ---------- Carrello ---------- */
.empty { padding: 28px 0; color: var(--ink-2); text-align: center; }
.lines { display: flex; flex-direction: column; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.thumb { width: 56px; height: 70px; border-radius: 28px 28px 10px 10px; overflow: hidden; background: var(--crema-2); }
.thumb svg, .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.line-info { min-width: 0; }
.line-name { font-size: 16px; font-weight: 700; line-height: 1.25; }
.line-meta { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.line-tag { display: inline-block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--rosa-d); }
.line-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.line-total { font-weight: 700; font-variant-numeric: tabular-nums; }
.mini-step { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.mini-step button { width: 34px; height: 34px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.mini-step button:hover { background: var(--crema-2); }
.mini-step .icon { width: 16px; height: 16px; }
.mini-step span { min-width: 20px; text-align: center; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.link-btn { border: 0; background: none; padding: 6px 0; color: var(--ink-2); font-size: 13px; text-decoration: underline; cursor: pointer; }

.upsell { margin-top: 20px; padding: 16px; border-radius: 20px 20px 16px 16px; background: var(--rosa); }
.up-title { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 22px; line-height: 1.15; }
.up-sub { font-size: 14px; margin-top: 2px; color: #5B3A36; }
.up-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.up-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; background: var(--crema); }
.up-item .thumb { width: 44px; height: 54px; border-radius: 22px 22px 8px 8px; }
.up-name { font-size: 15px; font-weight: 700; line-height: 1.25; }
.up-price { font-size: 14px; color: var(--rosa-d); font-weight: 700; font-variant-numeric: tabular-nums; }

.code { margin-top: 22px; }
.code label, .field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; min-width: 0; }
.code-msg { font-size: 14px; margin-top: 6px; min-height: 0; }
.code-msg.is-ok { color: var(--ok); font-weight: 600; }
.code-msg.is-err { color: var(--err); }

input[type="text"], input[type="tel"] {
  width: 100%; min-height: 48px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px;
  background: #fff; font-size: 16px;
}
input[type="text"]:focus, input[type="tel"]:focus { border-color: var(--verde); outline: none; box-shadow: 0 0 0 3px rgba(62, 90, 72, .2); }
input[aria-invalid="true"] { border-color: var(--err); }
.err { font-size: 14px; color: var(--err); margin-top: 6px; }

.totals { margin: 22px 0 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-variant-numeric: tabular-nums; }
.totals dt, .totals dd { margin: 0; }
.totals dd { text-align: right; font-weight: 600; }
.totals .t-disc { color: var(--rosa-d); }
.totals .t-grand { font-size: 18px; font-weight: 700; padding-top: 6px; }
.totals .t-grand-v { font-size: 22px; font-family: var(--f-display); padding-top: 4px; }

.checkout { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.co-title { font-family: var(--f-display); font-weight: 600; font-size: 22px; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.4; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--verde); }
.notice { margin: 18px 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--crema-2); border-left: 4px solid var(--rosa-d); font-size: 15px; }

/* ---------- Conferma ordine ---------- */
.done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding-top: 10px; }
.done-badge { width: 64px; height: 64px; border-radius: 50%; background: var(--verde); color: var(--crema); display: grid; place-items: center; }
.done-badge .icon { width: 30px; height: 30px; }
.done-title { font-family: var(--f-display); font-weight: 600; font-size: 28px; line-height: 1.1; }
.done-sum { width: 100%; text-align: left; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.done textarea { width: 100%; min-height: 150px; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; font: 13px/1.4 ui-monospace, Menlo, monospace; background: #fff; resize: vertical; }
.done .shop-box { width: 100%; text-align: left; }

/* ---------- Test ---------- */
.q-progress { display: flex; gap: 6px; margin-bottom: 20px; }
.q-progress i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.q-progress i.on { background: var(--verde); }
.q-step { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rosa-d); }
.q-text { font-family: var(--f-display); font-weight: 600; font-size: 28px; line-height: 1.12; margin: 8px 0 22px; }
.q-list { display: flex; flex-direction: column; gap: 10px; }
.q-opt {
  width: 100%; min-height: 58px; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 18px;
  background: #fff; text-align: left; font-size: 17px; font-weight: 600; cursor: pointer;
  transition: border-color .2s, background .2s, transform .1s;
}
.q-opt:hover { border-color: var(--verde); background: #F6F9F4; }
.q-opt:active { transform: scale(.99); }

.res-head { text-align: center; padding-bottom: 6px; }
.res-title { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 34px; line-height: 1.08; margin: 6px 0 8px; }
.res-text { color: var(--ink-2); }
.rows { display: flex; flex-direction: column; margin-top: 18px; }
.row { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.row-main { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.row-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.row .slot { padding-top: 0; margin-top: 0; width: 150px; }
.row .btn-add { min-height: 38px; font-size: 14px; }
.row .stepper { min-height: 38px; }
.res-sum { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 12px; font-variant-numeric: tabular-nums; }
.res-sum strong { font-size: 22px; font-family: var(--f-display); font-weight: 600; }
.treat { margin-top: 28px; padding: 26px 20px 22px; border-radius: 120px 120px 22px 22px; background: var(--rosa); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.treat .eyebrow { color: #5B3A36; }
.treat-name { font-family: var(--f-display); font-weight: 600; font-size: 24px; line-height: 1.15; max-width: 18ch; }
.treat-desc { font-size: 14px; max-width: 40ch; }
.treat-meta { font-weight: 700; font-variant-numeric: tabular-nums; }
.treat-note { font-size: 13px; color: #5B3A36; max-width: 38ch; }
.res-again { display: block; margin: 20px auto 0; }

/* ---------- Schermi larghi ---------- */
@media (min-width: 700px) {
  .hero-in { grid-template-columns: 1fr 190px; grid-template-areas: "head art" "body art"; column-gap: 40px; align-items: center; }
  .hero-art { width: 190px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
  .cat-title { font-size: 32px; }
}
@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 359px) {
  .wordmark { font-size: 17px; }
  .row .slot { width: 120px; }
}

/* ---------- Movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .ticker { overflow-x: auto; }
  .t-set[aria-hidden="true"] { display: none; }
  .sheet-panel, .sheet-backdrop, .toast { animation: none; }
}

/* ---------- logo ---------- */
.brand-logo, .gate-logo, .foot-logo, .a-logo, .a-mark-logo { display: block; height: auto; mix-blend-mode: multiply; }
.brand { justify-content: center; }
.brand-logo { width: 130px; }
.gate-logo { width: min(260px, 70vw); margin: 4px 0 6px; }
.gate-arch { display: none; }
.foot-logo { width: 150px; margin-bottom: 10px; }

/* ---------- regalo ---------- */
.gift { margin: 18px 0 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #FFFCF7; }
.gift-q { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; cursor: pointer; line-height: 1.35; }
.gift input[type="checkbox"] { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--verde); }
.gift-hint { margin: 10px 0 8px; color: var(--ink-2); font-size: 15px; }
.gift-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gift-item { padding: 10px 12px; border-radius: 12px; background: var(--crema-2); }
.gift-item > label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; line-height: 1.35; }
.gift-wrap { margin: 8px 0 0 32px; }
.gift-wrap label { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--rosa-d); font-weight: 600; cursor: pointer; }
.gift-tag { display: inline-block; margin-top: 4px; font-size: 13.5px; color: var(--rosa-d); font-weight: 600; }

/* ---------- fascia sezione Uomo ---------- */
.band-uomo { background: #E3ECDF; border-top: 1px solid var(--line); }
.band + .band { border-top: 1px solid var(--line); }

/* ---------- icone delle categorie ---------- */
.chip-cat { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding-left: 5px; min-height: 46px; }
.cat-wrap { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; flex: none; transition: background .2s; }
.cat-ic { width: 34px; height: 34px; display: block; }
.chip-cat.is-on .cat-wrap { background: #FFFBF4; }

/* ---------- categorie a medaglione (immagine tonda + nome) ---------- */
#cat-tabs { gap: 6px; padding: 4px 0 6px; }
.cat-tile { flex: none; display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 84px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink); }
.cat-img { display: block; width: 62px; height: 62px; border-radius: 50%; padding: 2px; background: #FFF9F2; border: 3px solid #A9B99C; box-shadow: 0 2px 6px rgba(62,90,72,.15); transition: border-color .2s, transform .2s; overflow: hidden; }
.cat-img img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.cat-img-ic { display: grid; place-items: center; }
.cat-img-ic .cat-ic { width: 44px; height: 44px; }
.cat-name { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 13.5px; line-height: 1; padding: 6px 9px; border-radius: 999px; background: #F5EBDD; border: 1.5px solid #DCCDB6; white-space: nowrap; transition: background .2s, color .2s; }
.cat-tile:hover .cat-img { transform: translateY(-2px); }
.cat-tile.is-on .cat-img { border-color: var(--verde); }
.cat-tile.is-on .cat-name { background: var(--verde); border-color: var(--verde); color: var(--crema); }
.cat-tile:focus-visible { outline: none; }
.cat-tile:focus-visible .cat-img { outline: 3px solid var(--rosa-d); outline-offset: 2px; }
@media (min-width: 700px) {
  .cat-tile { min-width: 100px; }
  .cat-img { width: 76px; height: 76px; }
  .cat-name { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .cat-img, .cat-name { transition: none; } .cat-tile:hover .cat-img { transform: none; } }

/* ---------- ricerca in alto ---------- */
.top-in { gap: 10px; }
.brand { flex: none; }
.search { flex: 1; min-width: 0; max-width: 420px; margin-left: auto; }
.search-in { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #FFFBF4; cursor: text; }
.search-in:focus-within { border-color: var(--verde); box-shadow: 0 0 0 3px rgba(62,90,72,.12); }
.search-ic { display: grid; place-items: center; color: var(--ink-2); flex: none; }
.search-ic .icon { width: 18px; height: 18px; }
.search-in input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 16px; color: var(--ink); outline: none; }
.search-in input::placeholder { color: var(--ink-2); }
@media (max-width: 420px) { .brand-logo { width: 104px; } .search-in { padding: 0 10px; } }
.catalogo.is-search #cat-tabs .cat-tile .cat-img { opacity: .8; }
#cat-count .link-btn { font-size: inherit; }

/* ---------- prodotto toccabile ---------- */
.art-btn { cursor: zoom-in; }
.art-zoom { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,251,244,.9); color: var(--verde); box-shadow: 0 2px 6px rgba(0,0,0,.12); opacity: 0; transition: opacity .2s; }
.art-zoom .icon { width: 18px; height: 18px; }
.art-btn:hover .art-zoom { opacity: 1; }
@media (hover: none) { .art-zoom { opacity: 1; } }
.name-btn { all: unset; cursor: pointer; }
.name-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.name-btn:focus-visible { outline: 3px solid var(--rosa-d); outline-offset: 2px; border-radius: 4px; }

/* ---------- scheda prodotto ingrandita ---------- */
.pd-panel { max-width: 860px; }
.pd-head { font-family: var(--f-body); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rosa-d); }
.pd { display: grid; gap: 18px; }
.pd-art { width: 100%; max-width: 420px; justify-self: center; aspect-ratio: 4 / 5; max-height: 54vh; }
.pd-info { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pd-nome { font-family: var(--f-display); font-weight: 600; font-size: 28px; line-height: 1.12; text-wrap: balance; }
.pd-price .price { font-size: 24px; }
.pd-desc { font-size: 16px; line-height: 1.6; color: var(--ink); white-space: pre-line; }
.pd-slot { margin-top: 6px; }
.pd-slot .btn-add, .pd-slot .stepper { width: 100%; max-width: 320px; min-height: 50px; }
.pd-note { font-size: 13px; color: var(--ink-2); }
@media (min-width: 760px) {
  .pd { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 28px; }
  .pd-art { max-height: none; }
  .sheet#prodotto { align-items: center; }
  .sheet#prodotto .sheet-panel { border-radius: 28px; max-height: 90%; }
}

/* ---------- avvisi nel carrello: omaggio e primo acquisto ---------- */
.cart-avvisi { display: grid; gap: 8px; margin: 10px 0 4px; }
.cart-avvisi:empty { display: none; }
.avv { font-size: 14px; line-height: 1.45; padding: 10px 12px; border-radius: 12px; background: var(--crema-2); color: var(--ink); }
.avv.ok { background: #E3ECDF; color: var(--verde); }
.avv-omaggio:not(.ok) { background: #FBEDE9; }
/* tessera fedeltà: timbri */
.avv-fed { display: grid; gap: 6px; }
.fed-timbri { display: flex; gap: 6px; flex-wrap: wrap; }
.fed-timbro { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--rosa-d); background: transparent; }
.fed-timbro.is-on { background: var(--rosa-d); }
.fed-timbro.is-premio { border-style: dashed; }
.check-promo { font-size: 14px; color: var(--ink); }

/* ---------- trattamenti in istituto (si prenotano, una volta) ---------- */
.tr-slot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tr-ok { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #46634F; }
.tr-ok .icon { width: 18px; height: 18px; }
