/* =====================================================================
   HF Copisteria — shop.css (stampa online: catalogo, configuratore,
   carrello, pagamento dimostrativo, conferma). Solo token di base.css.
   ===================================================================== */

.shop { --lnav-h: 52px; --sticky-top: calc(var(--nav-h) + var(--lnav-h) + 24px); }
@media (max-width: 833px) { .shop { --lnav-h: 48px; } }

/* vista iniziale (JS attivo): niente lampo del catalogo se l'URL chiede altro */
html.js .shop[data-initial]:not([data-initial="catalogo"]) .view--catalogo { display: none; }
.view { min-height: 62vh; }
.view:focus { outline: none; }
.shop h1:focus, .shop h1:focus-visible { outline: none; }

/* ---------- Local nav (sotto l'header globale) ---------- */
.lnav {
  position: sticky; top: var(--nav-h);
  z-index: 95;
  height: var(--lnav-h);
}
.lnav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
  box-shadow: 0 1px 0 var(--line);
}
.lnav-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 100%;
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.lnav-title { font-size: clamp(19px, 17.9px + .29vw, 21px); line-height: 1.2; font-weight: 600; letter-spacing: -.012em; color: var(--ink); white-space: nowrap; }
.lnav-title:hover { text-decoration: none; color: #000; }
.lnav-end { display: flex; align-items: center; gap: 10px; }
/* lo stato completo compare qui solo dove l'header globale mostra la versione corta */
.lnav-status { display: none; }
@media (min-width: 600px) and (max-width: 1067px) { .lnav-status { display: inline-flex; } }
.lnav-cart {
  position: relative;
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-right: -10px;
  color: var(--ink); border-radius: 50%;
}
.lnav-cart:hover { color: #000; text-decoration: none; background: rgba(0,0,0,.04); }
.lnav-cart svg { width: 22px; height: 22px; }
.lnav-badge {
  position: absolute; top: 6px; right: 5px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: var(--ink); color: #fff; box-shadow: 0 0 0 2px #fff;
  font-size: 10px; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums;
}

/* ---------- Mini-carrello ---------- */
.mcart {
  position: absolute; top: calc(100% + 8px);
  right: max(var(--gutter), (100% - var(--container)) / 2);
  width: 360px; max-width: calc(100% - 24px);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
  box-shadow: 0 16px 48px rgba(0,0,0,.14), 0 0 0 .5px rgba(0,0,0,.1);
}
@media (max-width: 599px) { .mcart { left: 12px; right: 12px; width: auto; max-width: none; } }
.mcart-inner { padding: 20px; }
.mcart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mcart-title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.mcart-ok { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--open); color: #fff; }
.mcart-ok svg { width: 14px; height: 14px; }
.mcart-close, .sum-close, .file-rm {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ctrl); color: var(--ink-2);
  position: relative;
}
.mcart-close::before, .sum-close::before, .file-rm::before { content: ""; position: absolute; inset: -6px; }
.mcart-close:hover, .sum-close:hover, .file-rm:hover { background: #dcdce1; color: var(--ink); }
.mcart-close svg, .sum-close svg, .file-rm svg { width: 12px; height: 12px; }
.mcart-line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mcart-thumb { width: 56px; height: 56px; flex: none; border-radius: 12px; background: var(--bg-alt); overflow: hidden; }
.mcart-thumb svg { width: 100%; height: 100%; }
.mcart-body { display: grid; gap: 2px; min-width: 0; flex: 1; }
.mcart-name { font-size: 14px; font-weight: 600; line-height: 1.25; }
.mcart-qty { font-size: 12px; color: var(--ink-2); }
.mcart-price { font-size: 14px; font-weight: 600; }
.mcart-sub { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.mcart-sub strong { color: var(--ink); }
.mcart-btns { display: grid; gap: 10px; margin-top: 16px; }

/* ---------- Catalogo ---------- */
.shop-hero { padding-block: clamp(44px, 6.5vw, 96px) clamp(32px, 4vw, 56px); }
.shop-hero-title { max-width: 12ch; }
.shop-hero-sub { margin-top: 14px; max-width: 30ch; color: var(--ink-2); }
.shop-hero-status { margin-top: 24px; }
.shop-noscript { margin-bottom: 24px; padding: 16px 20px; border-radius: var(--r-md); background: var(--bg-alt); }

.pgrid { display: grid; grid-template-columns: 1fr; gap: var(--gap-card); list-style: none; padding: 0; }
@media (min-width: 600px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1068px) {
  .pgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pcard { grid-column: span 2; }
  .pcard--lg { grid-column: span 3; }
}
.pcard {
  position: relative;
  border-radius: var(--r-card);
  background: var(--bg-alt);
  overflow: hidden;
  transition: transform .3s var(--ease-card);
  isolation: isolate;
}
@media (hover: hover) { .pcard:not(.pcard--eco):hover { transform: scale(1.016); } }
.pcard-link { display: flex; flex-direction: column; height: 100%; color: var(--ink); }
.pcard-link:hover { text-decoration: none; }
.pcard-link:focus-visible { outline-offset: -3px; border-radius: var(--r-card); }
.pcard-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e8e8ed; }
.pcard--lg .pcard-media { aspect-ratio: 16 / 9; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 22px 24px 24px; }
.pcard-title { display: block; font-size: var(--fs-h4); line-height: 1.14; font-weight: 600; letter-spacing: -.006em; }
.pcard--lg .pcard-title { font-size: clamp(24px, 21.8px + .57vw, 32px); }
.pcard-desc { display: block; font-size: 15px; line-height: 1.4; color: var(--ink-2); letter-spacing: -.008em; }
.pcard-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 18px; }
.pcard-meta { display: grid; gap: 4px; min-width: 0; }
.pcard-price { font-size: 17px; line-height: 1.24; font-weight: 600; }
.pcard-time { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 1.29; color: var(--ink-2); }
.pcard-time svg { width: 14px; height: 14px; flex: none; }
.pcard-go { flex: none; }
.pcard-go svg { width: 14px; height: 14px; }
/* telefono: le card piccole diventano righe compatte (foto a sinistra) */
@media (max-width: 599px) {
  .pcard:not(.pcard--lg):not(.pcard--eco) .pcard-link { flex-direction: row; min-height: 176px; }
  .pcard:not(.pcard--lg):not(.pcard--eco) .pcard-media { flex: 0 0 34%; aspect-ratio: auto; }
  .pcard:not(.pcard--lg):not(.pcard--eco) .pcard-body { padding: 18px 16px 16px 18px; gap: 4px; min-width: 0; }
  .pcard:not(.pcard--lg):not(.pcard--eco) .pcard-title { font-size: 19px; }
  .pcard:not(.pcard--lg):not(.pcard--eco) .pcard-desc { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pcard:not(.pcard--lg):not(.pcard--eco) .pcard-foot { padding-top: 10px; gap: 10px; }
  .pcard:not(.pcard--lg):not(.pcard--eco) .pcard-price { font-size: 15px; }
  .pcard:not(.pcard--lg):not(.pcard--eco) .pcard-time { font-size: 13px; }
  .pcard:not(.pcard--lg):not(.pcard--eco) .pcard-go { width: 30px; height: 30px; }
  .pcard-eco { min-height: 0; padding: 26px 22px; }
}
.pcard--eco { background: rgba(47,125,50,.07); }
.pcard-eco { display: flex; flex-direction: column; justify-content: center; gap: 8px; height: 100%; min-height: 240px; padding: 32px 28px; }
.pcard-eco-icon { width: 48px; height: 48px; color: var(--eco); margin-bottom: 8px; }
.pcard-eco-icon svg { width: 100%; height: 100%; }
.pcard--eco .pcard-price { font-size: 14px; font-weight: 400; color: var(--ink-2); margin-top: 4px; }

.shop-steps {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  list-style: none; padding: 0;
  margin-block: clamp(64px, 8vw, 112px) clamp(72px, 9vw, 128px);
}
@media (min-width: 834px) { .shop-steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.shop-steps li { display: grid; gap: 6px; padding-top: 22px; border-top: 1px solid var(--line); }
.shop-step-n {
  display: grid; place-items: center;
  width: 30px; height: 30px; margin-bottom: 8px;
  border-radius: 50%;
  font-size: 14px; font-weight: 600;
  background: #fff;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px transparent;
  position: relative;
}
.shop-step-n::before {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  background: var(--spectrum);
  -webkit-mask: radial-gradient(circle, transparent 14.2px, #000 14.8px); mask: radial-gradient(circle, transparent 14.2px, #000 14.8px);
}
.shop-step-title { font-size: 21px; line-height: 1.19; font-weight: 600; }
.shop-step-text { color: var(--ink-2); max-width: 34ch; }

/* ---------- Configuratore: struttura ---------- */
.cfg { padding-bottom: clamp(80px, 9vw, 128px); }
.crumbs { padding-top: 22px; font-size: 12px; line-height: 1.33; color: var(--ink-2); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 0; }
.crumbs li + li::before { content: "\203A"; margin: 0 8px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.cfg-head { margin: clamp(20px, 3vw, 36px) 0 clamp(32px, 4vw, 52px); }
.cfg-title { max-width: 18ch; }
.cfg-edit { color: var(--ink-3); }
.cfg-lead { margin-top: 12px; max-width: 46ch; font-size: clamp(17px, 16.26px + .19vw, 19px); line-height: 1.42; color: var(--ink-2); }
.cfg-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
@media (min-width: 900px) { .cfg-grid { grid-template-columns: minmax(0, 1fr) clamp(330px, 31vw, 400px); gap: clamp(40px, 5vw, 80px); } }
.cfg-opts { display: grid; gap: 40px; min-width: 0; }
.cfg-mpreview { position: relative; height: clamp(220px, 58vw, 300px); border-radius: var(--r-card); background: var(--bg-alt); overflow: hidden; }
@media (min-width: 900px) { .cfg-mpreview { display: none; } }

/* anteprima (livelli per la dissolvenza) */
.pv-layer { position: absolute; inset: 0; display: grid; place-items: center; }
.pv-layer svg { width: 100%; height: 100%; }

/* ---------- Gruppi ---------- */
.grp { position: relative; min-width: 0; }
.grp + .grp { padding-top: 40px; border-top: 1px solid var(--line); }
.grp-set { border: 0; padding: 0; margin: 0; min-width: 0; }
.grp-legend {
  display: block; width: 100%;
  padding: 0; margin-bottom: 20px;
  font-size: clamp(21px, 19.9px + .29vw, 24px); line-height: 1.2; font-weight: 600; letter-spacing: -.012em;
}
.grp-num {
  display: inline-grid; place-items: center; vertical-align: 3px;
  width: 26px; height: 26px; margin-right: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--ink-3);
  font-size: 13px; line-height: 1; font-weight: 600; color: var(--ink-2); letter-spacing: 0;
}
.grp-title { color: var(--ink); }
.grp-ask { color: var(--ink-3); margin-left: .3em; }
.grp.is-flash { animation: grp-flash 1.4s var(--ease-out); }
@keyframes grp-flash { 0% { background: rgba(0,113,227,.08); box-shadow: 0 0 0 12px rgba(0,113,227,.08); } 100% { background: transparent; box-shadow: 0 0 0 12px transparent; } }
.ctl.is-flash { animation: grp-flash 1.4s var(--ease-out); border-radius: 12px; }

.grp-body--pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; }
.grp-body--pair > .ctl + .ctl { margin-top: 0; }
.ctl + .ctl { margin-top: 20px; }
.ctl--nested {
  margin-top: 16px !important;
  padding: 18px 20px 20px;
  border-radius: var(--r-md);
  background: var(--bg-alt);
}
.ctl-label { display: block; margin-bottom: 10px; font-size: 14px; line-height: 1.29; font-weight: 600; color: var(--ink-2); }
.ctl--nested .ctl-label { font-size: 17px; color: var(--ink); margin-bottom: 12px; }
.ctl-hint { margin-top: 10px; font-size: 14px; line-height: 1.38; color: var(--ink-2); }
.ctl-hint:empty { display: none; }
.ctl-why { margin-top: 8px; font-size: 12px; line-height: 1.33; color: var(--closed); }
.ctl-note {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 12px; padding: 10px 14px;
  border-radius: var(--r-sm);
  background: rgba(0,113,227,.07);
  font-size: 14px; line-height: 1.38; color: var(--ink);
}
.ctl-note svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--action); }

/* segmented: tutta la larghezza, niente testi tagliati */
.cfg .seg--block { display: grid; }
.cfg .seg-opt span { padding-inline: 10px; }

/* radio card */
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
@media (max-width: 599px) { .opt-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); } }
.opt-grid.opt-grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cfg .opt { min-height: 64px; padding: 15px 16px; align-items: flex-start; }
.cfg .opt-title { font-size: 16px; }
.cfg .opt-desc { font-size: 13px; line-height: 1.33; }
.opt-price:empty { display: none; }
.opt .opt-price { font-size: 13px; color: var(--ink-2); }
.opt-media--svg { width: 56px; height: 56px; border-radius: 10px; background: var(--bg-alt); }
.opt-media--svg svg { width: 100%; height: 100%; }
.opt-media--icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--bg-alt); color: var(--ink); }
.opt-media--icon svg { width: 24px; height: 24px; }
.ctl--nested .opt, .pill-panel .opt { background: #fff; }

/* swatch colori */
.sw { display: flex; flex-wrap: wrap; gap: 6px; }
.sw-opt { position: relative; display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
.sw-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.sw-dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--sw);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.14);
  transition: box-shadow .2s var(--ease-ui), transform .2s var(--ease-out);
}
.sw-dot--light { box-shadow: inset 0 0 0 1px rgba(0,0,0,.22); }
.sw-dot--clear { background: conic-gradient(#e3e3e8 25%, #fff 0 50%, #e3e3e8 0 75%, #fff 0) 0 0 / 10px 10px; }
.sw-opt input:checked + .sw-dot { box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 0 0 3px #fff, 0 0 0 5px var(--action); }
.ctl--nested .sw-opt input:checked + .sw-dot { box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 0 0 3px var(--bg-alt), 0 0 0 5px var(--action); }
.sw-opt input:focus-visible + .sw-dot { outline: 2px solid var(--action); outline-offset: 6px; }
.sw-opt input:disabled { cursor: not-allowed; }
.sw-opt input:disabled + .sw-dot { opacity: .3; }
.sw + .ctl-hint { margin-top: 6px; font-size: 14px; color: var(--ink); }

/* input numerico */
.num {
  display: flex; align-items: center; gap: 8px;
  height: 52px; max-width: 240px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ink-3);
  transition: box-shadow .15s var(--ease-ui);
}
.num:focus-within { box-shadow: inset 0 0 0 2px var(--action); }
.num-input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; background: transparent; padding: 0;
  font-size: 21px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.num-input:focus, .num-input:focus-visible { outline: none; }
.num-unit { font-size: 17px; color: var(--ink-2); }
.grp-body--pair .num { max-width: none; }

/* scaglioni a tabella */
.tiers { border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--ink-3); overflow: hidden; background: #fff; }
.tier {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(84px, auto); align-items: center; gap: 12px;
  min-height: 56px; padding: 12px 18px 12px 48px;
  border-top: 1px solid var(--line);
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: background-color .15s var(--ease-ui);
}
.tier:first-child { border-top: 0; }
.tier input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.tier::before {
  content: ""; position: absolute; left: 18px; top: 50%;
  width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--ink-3);
  transition: box-shadow .15s var(--ease-ui);
}
.tier:hover { background: var(--bg-soft); }
.tier.is-checked { background: rgba(0,113,227,.06); }
.tier.is-checked::before { box-shadow: inset 0 0 0 5.5px var(--action); }
.tier:has(input:focus-visible) { outline: 2px solid var(--action); outline-offset: -2px; }
.tier--head { min-height: 0; padding-block: 10px; cursor: default; font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--bg-soft); }
.tier--head::before { display: none; }
.tier--head:hover { background: var(--bg-soft); }
.tier--head span:nth-child(n+2), .tier-unit, .tier-total { text-align: right; }
.tier-qty { font-size: 17px; font-weight: 600; }
.tier-qty .tag { margin-left: 6px; font-weight: 600; }
.tier-unit { font-size: 14px; color: var(--ink-2); }
.tier-total { font-size: 17px; font-weight: 600; }
@media (max-width: 420px) { .tier { padding-left: 42px; gap: 8px; } .tier::before { left: 14px; } .tier-qty .tag { display: block; margin: 2px 0 0; } }

/* carta ecologica */
.eco {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px 14px 14px;
  border-radius: var(--r-sm);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ink-3);
  cursor: pointer;
  transition: box-shadow .15s var(--ease-ui), background-color .15s var(--ease-ui);
}
.eco.is-checked { box-shadow: inset 0 0 0 2px var(--eco); background: rgba(47,125,50,.05); }
.eco.is-disabled { cursor: not-allowed; background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--line); }
.eco-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: rgba(47,125,50,.1); color: var(--eco); }
.eco-icon svg { width: 22px; height: 22px; }
.eco.is-disabled .eco-icon { background: var(--ctrl); color: var(--ink-3); }
.eco-body { display: grid; gap: 2px; flex: 1; min-width: 0; }
.eco-title { font-size: 16px; font-weight: 600; }
.eco-desc { font-size: 13px; color: var(--ink-2); }
.eco.is-disabled .eco-title { color: var(--ink-3); }
.eco.is-disabled .opt-why { display: block; }
.switch {
  -webkit-appearance: none; appearance: none;
  position: relative; flex: none;
  width: 51px; height: 31px; margin: 0;
  border-radius: 31px;
  background: #e3e3e8;
  cursor: pointer;
  transition: background-color .25s var(--ease-ui);
}
.switch::before {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 27px; height: 27px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.18), 0 0 0 .5px rgba(0,0,0,.04);
  transition: transform .3s var(--ease-out);
}
.switch:checked { background: var(--eco); }
.switch:checked::before { transform: translateX(20px); }
.switch:disabled { cursor: not-allowed; opacity: .45; }
.switch:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }

/* "Altre opzioni": pillole (+) stile product viewer */
.grp--more { display: grid; gap: 6px; }
.grp-more-title { font-size: clamp(21px, 19.9px + .29vw, 24px); line-height: 1.2; font-weight: 600; letter-spacing: -.012em; }
.grp-more-sub { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.pills { display: grid; gap: 10px; }
.grp--pill { border-radius: var(--r-card); transition: background-color .3s var(--ease-ui); }
.grp--pill + .grp--pill { padding-top: 0; border-top: 0; }
.grp--pill.is-open { background: var(--bg-alt); }
.pill {
  display: flex; align-items: center; gap: 12px;
  width: 100%; min-height: 56px;
  padding: 8px 20px 8px 14px;
  border-radius: var(--r-card);
  background: var(--bg-alt);
  text-align: left;
  font-size: 17px; line-height: 1.24; font-weight: 600; color: var(--ink);
  transition: background-color .15s var(--ease-ui);
}
.pill:hover { background: #ededf0; }
.grp--pill.is-open .pill { background: transparent; }
.pill-icon {
  display: grid; place-items: center; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--ink);
  transition: transform .35s var(--ease-out);
}
.pill-icon svg { width: 13px; height: 13px; }
.pill[aria-expanded="true"] .pill-icon { transform: rotate(45deg); }
.pill-value { margin-left: auto; min-width: 0; font-size: 14px; font-weight: 400; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill-panel { padding: 4px 20px 22px; }

/* file */
.grp--file .grp-body { display: flex; flex-direction: column; }
.grp--file .file-mode { order: 0; }
.grp--file .files { order: 1; }
.grp--file .drop, .grp--file .file-alt { order: 2; }
.grp--file .file-msg, .grp--file .file-ask { order: 3; }
.grp--file .grp-body > .ctl-hint { order: 4; }
.grp--file .files:not([hidden]) { margin: 0 0 12px; }
.file-mode { margin-bottom: 14px; }
.file-mode .seg-opt span { padding-inline: 6px; }
.drop {
  display: grid; justify-items: center; gap: 4px;
  padding: 30px 20px 26px;
  border-radius: var(--r-md);
  border: 1.5px dashed #c7c7cc;
  background: var(--bg-soft);
  text-align: center;
  cursor: pointer;
  transition: border-color .2s var(--ease-ui), background-color .2s var(--ease-ui), transform .3s var(--ease-out);
}
.drop:hover { border-color: var(--ink-3); }
.drop.is-drag { border-color: var(--action); background: rgba(0,113,227,.05); transform: scale(1.01); }
.drop-icon { width: 40px; height: 40px; color: var(--ink-2); margin-bottom: 4px; }
.drop-icon svg { width: 100%; height: 100%; }
.drop.is-drag .drop-icon { color: var(--action); }
/* file già caricato: riga compatta "Sostituisci" */
.drop.is-compact { grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-items: start; gap: 12px; padding: 12px 12px 12px 18px; text-align: left; }
.drop.is-compact .drop-icon, .drop.is-compact .drop-or, .drop.is-compact .drop-formats { display: none; }
.drop.is-compact .drop-title { font-size: 14px; font-weight: 400; color: var(--ink-2); }
.file-ask:focus { outline: none; }
.drop-title { font-size: 17px; font-weight: 600; }
.drop-or { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.drop-formats { margin-top: 10px; font-size: 12px; color: var(--ink-2); }
.file-alt { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); background: var(--bg-alt); font-size: 15px; line-height: 1.42; }
.file-alt-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: #fff; }
.file-alt-icon svg { width: 20px; height: 20px; }
.files { display: grid; gap: 8px; margin-top: 12px; list-style: none; padding: 0; }
.file { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: var(--r-sm); background: var(--bg-alt); }
.file.has-warn { background: rgba(252,209,22,.16); }
.file-thumb { width: 44px; height: 44px; flex: none; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-ico { display: grid; place-items: center; align-content: center; gap: 1px; width: 100%; height: 100%; color: var(--ink-2); }
.file-ico svg { width: 18px; height: 18px; }
.file-ico span { font-size: 8px; font-weight: 600; letter-spacing: .02em; }
.file-body { display: grid; gap: 1px; flex: 1; min-width: 0; }
.file-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-meta { font-size: 12px; color: var(--ink-2); }
.file-warn { display: flex; gap: 6px; align-items: flex-start; margin-top: 4px; font-size: 12px; line-height: 1.33; color: #7a4a00; }
.file-warn svg { width: 14px; height: 14px; flex: none; margin-top: 1px; }
.file-msg, .file-ask, .sum-info, .pay-ship-note {
  display: grid; gap: 12px;
  margin-top: 12px; padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 14px; line-height: 1.38;
}
.file-msg { display: flex; align-items: flex-start; gap: 10px; background: rgba(191,72,0,.08); color: #8a3300; }
.file-msg svg, .file-ask svg, .sum-info svg, .pay-ship-note svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.file-ask { background: rgba(252,209,22,.18); color: var(--ink); }
.file-ask p, .sum-info p { display: flex; align-items: flex-start; gap: 10px; }
.file-ask.is-ok { background: rgba(29,138,58,.08); color: var(--open-ink); }
.file-ask-btns { display: flex; flex-wrap: wrap; gap: 10px; padding-left: 26px; }
.file-msg[hidden], .file-ask[hidden], .sum-info[hidden] { display: none; }

/* ---------- Riepilogo (colonna destra) ---------- */
.sum {
  position: sticky; top: var(--sticky-top);
  display: flex; flex-direction: column;
  max-height: calc(100svh - var(--sticky-top) - 16px);
  border-radius: var(--r-card);
  background: var(--bg-alt);
  overflow: hidden;
}
.sum-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 24px 20px; scrollbar-width: thin; }
.sum-scroll.has-more { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent); }
.sum-foot { flex: none; padding: 16px 24px 22px; border-top: 1px solid var(--line); background: var(--bg-alt); }
.sum-sheet-head { display: none; }
.sum-preview { position: relative; height: clamp(150px, 24vh, 230px); margin: 0 -8px; border-radius: 20px; background: #fff; overflow: hidden; }
/* schermi bassi (portatili 768–950 px): anteprima più corta, così scelte, data e consegna restano visibili */
@media (min-width: 900px) and (max-height: 950px) {
  .sum-preview { height: clamp(120px, 17vh, 170px); }
  .sum-title { margin-top: 14px; }
  .sum-ready, .sum-delivery { margin-top: 14px; }
  .sum-foot { padding-block: 14px 18px; }
}
.sum-title { margin-top: 18px; font-size: 21px; line-height: 1.19; font-weight: 600; letter-spacing: -.01em; }
.sum-chips { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.chip {
  display: inline; padding: 0; text-align: left;
  font-size: 14px; line-height: 1.5; color: var(--ink);
  text-decoration: underline; text-decoration-color: rgba(0,0,0,.2); text-decoration-style: dotted; text-underline-offset: 3px;
}
.chip:hover { color: var(--link); text-decoration-color: currentColor; }
.chip:focus-visible { outline-offset: 1px; }
.sum-qty { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.sum-total { font-size: clamp(34px, 29.8px + .76vw, 40px); line-height: 1.05; }
.is-bump { animation: price-bump .5s var(--ease-out); }
@keyframes price-bump { 0% { opacity: .55; } 100% { opacity: 1; } }
.sum-unit { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.sum-esempio-btn { font-size: 14px; color: var(--ink-2); text-decoration: underline dotted; text-underline-offset: 3px; }
.sum-esempio-btn:hover { color: var(--ink); }
.sum-esempio-note { margin-top: 8px; font-size: 12px; line-height: 1.33; color: var(--ink-2); }
.sum-hint { margin-top: 12px; padding: 10px 12px; border-radius: var(--r-sm); background: #fff; font-size: 14px; line-height: 1.38; }
.sum-lines { margin-top: 12px; font-size: 14px; }
.sum-lines summary { cursor: pointer; color: var(--link); list-style: none; display: inline-flex; align-items: center; gap: 4px; min-height: 32px; }
.sum-lines summary::-webkit-details-marker { display: none; }
.sum-lines summary::after { content: "\203A"; transform: rotate(90deg); transition: transform .2s var(--ease-out); }
.sum-lines[open] summary::after { transform: rotate(-90deg); }
.sum-lines ul { display: grid; gap: 6px; margin-top: 6px; list-style: none; padding: 0; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.sum-lines li span:last-child { color: var(--ink); white-space: nowrap; }
.sum-info { background: rgba(252,209,22,.18); }
.sum-ready, .cart-ready { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; }
.sum-ready-icon, .cart-ready > svg { flex: none; }
.sum-ready-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--open-ink); }
.sum-ready-icon svg { width: 18px; height: 18px; }
.sum-ready p, .cart-ready p { display: grid; gap: 2px; font-size: 14px; line-height: 1.33; color: var(--ink-2); }
.sum-ready strong, .cart-ready strong { font-size: 17px; line-height: 1.24; color: var(--ink); font-weight: 600; }
.sum-delivery { margin-top: 18px; }
.sum-delivery .seg { background: var(--ctrl); }
.sum-ship { margin-top: 8px; font-size: 13px; line-height: 1.38; color: var(--ink-2); text-align: center; }
.sum-cta { margin-top: 14px; }
.sum-file { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 13px; line-height: 1.38; color: var(--ink-2); }
.sum-file svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.sum-file span { min-width: 0; overflow-wrap: anywhere; }
.linkish { color: var(--link); font-size: inherit; }
.linkish:hover { text-decoration: underline; }

/* barra prezzo e foglio del riepilogo (mobile) */
.mbar { display: none; }
.sheet-backdrop { display: none; }
@media (max-width: 899px) {
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.88);
    -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
    box-shadow: 0 -1px 0 var(--line);
  }
  .mbar-price { display: grid; justify-items: start; min-height: 44px; text-align: left; }
  .mbar-total { font-size: 21px; line-height: 1.1; }
  .mbar-label { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--link); }
  .mbar-label svg { width: 12px; height: 12px; }
  .mbar-cta { flex: none; }
  .shop-is-config .gfoot { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .shop-is-config .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }

  .sum {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 150;
    max-height: min(88svh, 760px);
    border-radius: var(--r-card) var(--r-card) 0 0;
    background: var(--bg-alt);
    box-shadow: 0 -12px 48px rgba(0,0,0,.16);
    transform: translateY(104%);
    visibility: hidden;
    transition: transform .45s var(--ease-out), visibility 0s linear .45s;
  }
  .sum.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease-out), visibility 0s; }
  .sum-sheet-head {
    position: relative;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 16px 6px 24px;
  }
  .sum-grip { position: absolute; left: 50%; top: 7px; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: #c7c7cc; }
  .sum-sheet-title { font-size: 17px; font-weight: 600; }
  .sum-scroll { padding: 4px 24px 20px; }
  .sum-foot { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .sum-preview { height: 170px; }
  .sheet-backdrop { display: block; position: fixed; inset: 0; z-index: 140; background: rgba(0,0,0,.32); opacity: 0; transition: opacity .3s var(--ease-ui); }
  .sheet-backdrop.is-on { opacity: 1; }
  .sheet-backdrop[hidden] { display: none; }
}
html.shop-sheet-on, html.shop-sheet-on body { overflow: hidden; }

/* ---------- Carrello ---------- */
.cart, .pay { padding-bottom: clamp(80px, 9vw, 128px); }
.view-head { margin: clamp(28px, 4vw, 52px) 0 clamp(24px, 3vw, 40px); }
.view-sub { margin-top: 8px; font-size: 17px; color: var(--ink-2); }
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
@media (min-width: 900px) { .cart-grid { grid-template-columns: minmax(0, 1fr) clamp(330px, 31vw, 390px); gap: clamp(40px, 5vw, 72px); } }
.cart-lines { list-style: none; padding: 0; }
.cline { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.cline:first-child { border-top: 0; padding-top: 4px; }
.cline-thumb { display: block; width: 112px; height: 112px; border-radius: var(--r-md); background: var(--bg-alt); overflow: hidden; }
.cline-thumb svg { width: 100%; height: 100%; }
.cline-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.cline-title { font-size: 21px; line-height: 1.19; font-weight: 600; letter-spacing: -.01em; }
.cline-price { font-size: 21px; line-height: 1.19; white-space: nowrap; }
.cline-opts { margin-top: 6px; font-size: 14px; line-height: 1.43; color: var(--ink-2); }
.cline-qty { margin-top: 2px; font-size: 14px; color: var(--ink-2); }
.cline-file, .cline-ready { display: flex; align-items: flex-start; gap: 6px; margin-top: 8px; font-size: 14px; line-height: 1.36; color: var(--ink); }
.cline-ready { margin-top: 4px; color: var(--ink-2); }
.cline-file svg, .cline-ready svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--ink-2); }
.cline-file span { min-width: 0; overflow-wrap: anywhere; }
.cline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: 14px; }
.cline-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--link); }
.cline-link:hover { text-decoration: underline; }
@media (max-width: 599px) {
  .cline { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 22px 0; }
  .cline-thumb { width: 76px; height: 76px; border-radius: 14px; }
  .cline-title, .cline-price { font-size: 17px; }
  .cline-actions { gap: 4px 16px; }
}
.stepper--sm { height: 36px; }
.stepper--sm .stepper-btn { width: 32px; height: 32px; font-size: 19px; position: relative; }
.stepper--sm .stepper-btn::before { content: ""; position: absolute; inset: -4px -2px; }
.stepper--sm input { height: 32px; min-width: 40px; width: 3.4ch; font-size: 15px; }
.qsel select {
  -webkit-appearance: none; appearance: none;
  height: 36px; padding: 0 34px 0 14px;
  border: 0; border-radius: var(--r-pill);
  background: var(--ctrl) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%231d1d1f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 12px;
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.qsel select:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.cart-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.4; color: var(--ink-2); }
.cart-note svg { width: 14px; height: 14px; flex: none; margin-top: 1px; }
.cart-sum { position: sticky; top: var(--sticky-top); padding: 26px 24px 24px; border-radius: var(--r-card); background: var(--bg-alt); }
@media (max-width: 899px) { .cart-sum { position: static; } }
.cart-sum-title { font-size: 21px; line-height: 1.19; font-weight: 600; margin-bottom: 18px; }
.cart-legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.cart-delivery { gap: 10px; }
.cart-delivery .opt { background: #fff; align-items: center; padding: 12px 14px; }
.cart-delivery .opt-title { font-size: 15px; }
.cart-delivery .opt-desc { font-size: 12px; }
.cart-delivery .opt-price { font-size: 14px; font-weight: 600; padding-top: 0; }
.cart-delivery .opt-media--icon { background: var(--bg-alt); }
.totals { margin-top: 20px; }
.totals > div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; font-size: 14px; }
.totals dt { color: var(--ink-2); }
.totals dd { margin: 0; color: var(--ink); white-space: nowrap; }
.totals .totals-total { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); align-items: baseline; }
.totals-total dt { font-size: 17px; font-weight: 600; color: var(--ink); }
.totals-total dd { font-size: 24px; }
.totals-iva { font-size: 12px; color: var(--ink-2); text-align: right; }
.cart-hint { margin-top: 12px; padding: 10px 12px; border-radius: var(--r-sm); background: #fff; font-size: 14px; }
.cart-ready { margin: 18px 0 20px; }
.cart-ready > svg { width: 20px; height: 20px; margin-top: 2px; color: var(--open-ink); }
.cart-esempio, .pay-fine { margin-top: 12px; font-size: 12px; line-height: 1.4; color: var(--ink-2); }

/* carrello vuoto */
.empty { display: grid; justify-items: center; text-align: center; padding-block: clamp(48px, 7vw, 96px) clamp(80px, 9vw, 128px); }
.empty-art { width: 220px; }
.empty-art svg { width: 100%; height: auto; }
.empty h1 { margin-top: 20px; }
.empty .t-lead { margin-top: 10px; max-width: 34ch; }
.empty p:last-child { margin-top: 28px; }

/* ---------- Pagamento (dimostrativo) ---------- */
.demo-banner {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 24px; padding: 12px 16px;
  border-radius: 14px;
  background: rgba(182,68,0,.08); color: #8f3600;
  font-size: 14px; line-height: 1.4;
}
.demo-banner svg { width: 18px; height: 18px; flex: none; margin-top: 0; }
.pay .crumbs { padding-top: 18px; }
.pay-main { display: grid; gap: 44px; }
.opt-grid.opt-grid--pay { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.opt--pay { align-items: center; min-height: 76px; }
.pay-name .grp-legend { display: block; }
.field {
  display: block; width: 100%; max-width: 380px; height: 52px;
  padding: 0 16px;
  border: 0; border-radius: var(--r-sm);
  background: #fff; box-shadow: inset 0 0 0 1px var(--ink-3);
  font-size: 17px;
  transition: box-shadow .15s var(--ease-ui);
}
.field:focus, .field:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--action); }
.field::placeholder { color: var(--ink-3); }
.pay-ship-note { display: flex; align-items: flex-start; gap: 10px; background: var(--bg-alt); margin-top: 0; }
.pay-lines, .confirm-lines { list-style: none; padding: 0; }
.pay-lines li, .confirm-lines li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pay-lines li > .t-num, .confirm-lines li > .t-num { font-weight: 600; white-space: nowrap; }
.pay-thumb { width: 52px; height: 52px; flex: none; border-radius: 12px; background: #fff; overflow: hidden; }
.pay-thumb svg { width: 100%; height: 100%; }
.pay-line-body { display: grid; gap: 1px; flex: 1; min-width: 0; }
.pay-line-name { font-weight: 600; }
.pay-line-qty { font-size: 12px; line-height: 1.33; color: var(--ink-2); }
.pay-action { margin-top: 20px; }
.pay-progress {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; padding: 0 20px;
  border-radius: var(--r-pill); background: #fff;
  font-size: 15px; font-weight: 600;
}
.pay-progress[hidden] { display: none; }
.ring {
  width: 24px; height: 24px; flex: none; border-radius: 50%;
  background: var(--spectrum);
  -webkit-mask: radial-gradient(circle, transparent 8.5px, #000 9px); mask: radial-gradient(circle, transparent 8.5px, #000 9px);
  animation: ring-spin 1s cubic-bezier(.45,.05,.55,.95) infinite;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ring { animation: none; } }

/* ---------- Conferma ---------- */
.confirm { padding-bottom: clamp(80px, 9vw, 128px); }
.confirm-top { display: grid; justify-items: center; text-align: center; padding-top: clamp(40px, 6vw, 80px); }
.confirm-check { width: 88px; height: 88px; }
.confirm-check svg { width: 100%; height: 100%; }
.ck-ring { stroke-dasharray: 252; stroke-dashoffset: 252; transform: rotate(-90deg); transform-origin: 50% 50%; animation: ck-draw .9s var(--ease-out) .15s forwards; }
.ck-mark { stroke-dasharray: 60; stroke-dashoffset: 60; animation: ck-draw .5s var(--ease-out) .85s forwards; }
@keyframes ck-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ck-ring, .ck-mark { animation: none; stroke-dashoffset: 0; } }
html.reduced-motion .ck-ring, html.reduced-motion .ck-mark { animation: none; stroke-dashoffset: 0; }
.confirm-title { margin-top: 24px; max-width: 16ch; text-wrap: balance; }
/* il numero d'ordine non si spezza mai: su telefono il titolo si adatta alla larghezza */
.confirm-title .nowrap { white-space: nowrap; }
@media (max-width: 599px) { .confirm-title { font-size: min(32px, 8.4vw); max-width: none; } }
.confirm-when { margin-top: 12px; max-width: 34ch; }
.confirm-demo { margin-top: 12px; font-size: 14px; color: var(--ink-2); max-width: 44ch; }
.confirm-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; margin-top: 28px; }
.confirm-actions .btn svg { width: 18px; height: 18px; }
.confirm-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap-card); margin-top: clamp(48px, 6vw, 80px); max-width: 1060px; margin-inline: auto; }
@media (min-width: 834px) { .confirm-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.confirm-h { font-size: 21px; line-height: 1.19; font-weight: 600; margin-bottom: 12px; }
.confirm-name { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.confirm-addr { font-size: 17px; line-height: 1.47; }
.confirm-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px; }
.confirm-links a { min-height: 32px; align-items: center; }
.confirm-status { margin-top: 18px; }
.confirm-hours { margin-top: 8px; }
.confirm-hours .hours-row { font-size: 15px; padding: 9px 0; }
.mcart-title:focus, .mcart-title:focus-visible { outline: none; }
/* card strette (2 colonne su telefono): il prezzo va sotto, i titoli non si spezzano */
@media (max-width: 599px) {
  .cfg .opt-grid:not(.opt-grid--wide) .opt { flex-wrap: wrap; align-content: flex-start; row-gap: 2px; }
  .cfg .opt-grid:not(.opt-grid--wide) .opt-body { flex-basis: 100%; }
  .cfg .opt-grid:not(.opt-grid--wide) .opt-price { order: 3; padding-top: 0; }
}
.cart-top-cta { margin-top: 18px; }
@media (min-width: 900px) { .cart-top-cta { display: none; } }
/* nel catalogo lo stato è già nell'hero: niente doppione nella local nav */
.shop[data-current="catalogo"] .lnav-status, .shop[data-initial="catalogo"] .lnav-status { display: none; }
.chip-w { white-space: nowrap; }
/* touch: controlli segmentati alti almeno 44 px */
@media (pointer: coarse) { .shop .seg-opt span { min-height: 42px; } }
