/* =========================================================
   PizVoilà — foglio di stile unico
   Crema calda, vermiglio, slab vintage per i lockup,
   grottesca bold per i titoli, scacchiera e bordi strappati.
   ========================================================= */

:root{
  color-scheme: light;

  /* colori */
  --crema:      #fff6ed;
  --crema-2:    #fdeede;
  --crema-3:    #f7e3ce;
  --carta:      #fffbf5;
  --avorio:     #fef7d8;

  --rosso:      #c32c04;
  --rosso-2:    #e2551f;
  --rosso-scuro:#9c2203;
  --pesca:      #fa855c;

  --ink:        #201c19;
  --ink-2:      #6e5b50;
  --ink-3:      #a08d7f;

  --linea:      #f0e4d5;
  --linea-2:    #e2d1bb;

  --verde:      #5b7a3a;
  --senape:     #e9a53b;
  --ok:         #4a7a3f;
  --ko:         #b3311a;

  /* misure */
  --r-sm: 12px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --pad:  16px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --tabh: 64px;
  --bar:  56px;

  --sh-1: 0 1px 2px rgba(32,28,25,.03), 0 3px 10px rgba(32,28,25,.04);
  --sh-2: 0 8px 26px rgba(32,28,25,.08);
  --sh-3: 0 -6px 24px rgba(32,28,25,.10);
  --sh-rosso: 0 10px 26px rgba(163,40,10,.22);

  --font:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --head:    'Archivo', 'Inter', system-ui, sans-serif;
  --display: 'Alfa Slab One', Georgia, 'Times New Roman', serif;

  /* scacchiera: due file di quadretti */
  --checker: repeating-conic-gradient(var(--rosso) 0% 25%, var(--crema) 0% 50%) 0 0 / 16px 16px;
}

*, *::before, *::after{ box-sizing: border-box; }
[hidden]{ display: none !important; }
html, body{ margin:0; padding:0; }

body{
  font-family: var(--font);
  background: var(--crema);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}

button, input, textarea, select{ font: inherit; color: inherit; }
button{ cursor: pointer; background: none; border: 0; padding: 0; text-align: left; }
button:disabled{ cursor: not-allowed; }
a{ color: inherit; }
ul, ol{ margin:0; padding:0; list-style: none; }
h1,h2,h3,p{ margin:0; }
svg.ic{ width: 20px; height: 20px; flex: none; }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* =========================================================
   Struttura
   ========================================================= */

.app{ min-height: 100dvh; }

.view{
  padding-top: calc(var(--bar) + var(--safe-t));
  padding-bottom: calc(var(--tabh) + var(--safe-b) + 18px);
  min-height: 100dvh;
}
.view.no-tabbar{ padding-bottom: calc(24px + var(--safe-b)); }
.view--home, .view--dine, .view--start, .view--lnp{ padding-top: 0; }
.view--cfg, .view--cart, .view--pren{
  padding-bottom: calc(var(--tabh) + var(--safe-b) + 96px);
}
body.senza-tabbar .view--cfg,
body.senza-tabbar .view--cart,
body.senza-tabbar .view--pren{ padding-bottom: calc(var(--safe-b) + 96px); }

.wrap{ padding: 0 var(--pad); max-width: 720px; margin: 0 auto; }

/* --- app bar --- */

.appbar{
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  height: calc(var(--bar) + var(--safe-t));
  padding-top: var(--safe-t);
  background: var(--crema);
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}
.appbar.scrolled{ border-bottom-color: var(--ink); }
.appbar__inner{
  height: var(--bar); max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 4px; padding: 0 10px 0 6px;
}
.appbar__inner--back{ padding-left: 2px; }
.appbar__spacer{ flex: 1 1 auto; }
.appbar__brand{ margin-left: 4px; }
.appbar__title{
  font-family: var(--head); font-size: 15px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .01em;
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.appbar__spacer{ display:block; }

.iconbtn{
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; position: relative; color: var(--ink);
}
.iconbtn:active{ background: var(--crema-3); }
.iconbtn--ghost{ background: var(--crema-2); color: var(--ink); border: 1px solid var(--linea); }
.dotbadge{
  position:absolute; top:-3px; right:-8px; min-width: 24px; height: 19px; padding: 0 6px;
  background: var(--ink); color: var(--crema); border-radius: 10px;
  font-family: var(--head); font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
}

/* --- tab bar --- */

.tabbar{
  position: fixed; z-index: 30;
  left: 14px; right: 14px; bottom: calc(var(--safe-b) + 12px);
  max-width: 460px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 4px;
  padding: 7px; border-radius: 999px;
  background: var(--carta); border: 1px solid var(--linea);
  box-shadow: 0 8px 26px rgba(32,28,25,.16);
}
.tab{
  flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 7px;
  color: var(--ink-3); padding: 11px 8px; border-radius: 999px;
  min-width: 0; transition: color .16s, background .16s, flex-grow .16s;
}
.tab__icon{ position: relative; display: grid; place-items: center; }
.tab__icon svg{ width: 21px; height: 21px; }
.tab__label{
  font-family: var(--head); font-size: 11.5px; font-weight: 700; line-height: 1;
  letter-spacing: .04em; text-transform: uppercase;
  max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0;
  transition: max-width .2s, opacity .16s;
}
.tab[aria-current="page"]{ background: var(--rosso); color: var(--crema); flex-grow: 1.9; }
.tab[aria-current="page"] .tab__label{ max-width: 120px; opacity: 1; }
.tab__badge{
  position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px;
  background: var(--rosso); color: var(--crema); border-radius: 9px; font-size: 10px;
  font-weight: 700; display: grid; place-items: center; padding: 0 4px;
}

/* la foto del locale in cima alla home: si vede dove si va di persona */
.pannello__foto{
  display: block; width: 100%; aspect-ratio: 5 / 2; border-radius: var(--r);
  background: var(--crema-3) center / cover no-repeat; margin: 14px 0 10px;
}

/* i profili social: bottoni tondi, tutti uguali */
.social{ display: flex; gap: 10px; flex-wrap: wrap; }
.social__b{
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--crema-2); color: var(--ink); border: 1px solid var(--linea);
}
.social__b svg{ width: 21px; height: 21px; }
.social__b:active{ background: var(--crema-3); }

/* nel profilo, cuore e matita stanno vicini */
.prof__cmd{ display: flex; gap: 4px; }

/* la pizza da zero non ha una foto da mostrare: resta solo il titolo */
.phero--senzafoto{ padding-top: 22px; }

/* un'icona caricata dal locale: si adatta allo spazio dell'icona disegnata */
.ic--file{ object-fit: contain; }

/* --- marchio: un solo file SVG, colorato con currentColor.
   Il file lo decide la pizzeria dalla dashboard: --logo lo sostituisce. --- */

:root{ --logo: url(/assets/logo.svg); }

.brand{
  display: inline-block; flex: none; color: var(--rosso);
  width: 104px; height: 21px; background: currentColor;
  -webkit-mask: var(--logo) left center / contain no-repeat;
  mask: var(--logo) left center / contain no-repeat;
}
.brand--su-rosso{ color: var(--rosso); }
.brand--ink{ color: var(--ink); }
.brand--xl{
  display: block; width: min(76vw, 300px); height: auto; aspect-ratio: 2009 / 400;
  -webkit-mask-position: center; mask-position: center;
}
.brand--solo{
  width: 26px; height: 26px;
  -webkit-mask-image: url(/assets/simbolo.svg); mask-image: url(/assets/simbolo.svg);
  -webkit-mask-position: center; mask-position: center;
}
.appbar__brand{ display: grid; place-items: center; }

/* --- titolo di pagina --- */

.pagehead{ padding: 10px 0 4px; }
.pagehead__t{
  font-family: var(--head); font-size: 22px; font-weight: 700; line-height: 1.1;
  letter-spacing: -.02em; text-transform: uppercase;
}
.pagehead .small{ margin-top: 4px; }

/* --- barra del carrello: fuori dalla tab bar, sempre raggiungibile --- */

.cartbar{
  position: fixed; z-index: 29;
  left: 14px; right: 14px; bottom: calc(var(--tabh) + var(--safe-b) + 16px);
  transition: bottom .2s;
  max-width: 696px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: 999px;
  background: var(--rosso); color: var(--crema);
  box-shadow: 0 10px 26px rgba(163,40,10,.34);
  animation: cartIn .24s cubic-bezier(.2,.8,.3,1) both;
}
@keyframes cartIn{ from{ opacity:0; transform: translateY(12px) } to{ opacity:1; transform:none } }
.cartbar__n{
  min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px;
  background: var(--crema); color: var(--rosso);
  display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 13px;
}
.cartbar__t{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head); font-size: 12.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
}
.cartbar__t svg{ width: 17px; height: 17px; }
.cartbar__p{ font-family: var(--head); font-weight: 800; font-size: 15px; }
body.has-cartbar .view{ padding-bottom: calc(var(--tabh) + var(--safe-b) + 76px); }
body.no-tabbar .cartbar{ bottom: calc(var(--safe-b) + 12px); }
body.no-tabbar.has-cartbar .view{ padding-bottom: calc(var(--safe-b) + 84px); }
body.has-cartbar .toast-root{ bottom: calc(var(--tabh) + var(--safe-b) + 76px); }

/* =========================================================
   Tipografia
   ========================================================= */

.display{
  font-family: var(--head); font-weight: 800; font-size: 29px; line-height: 1.04;
  letter-spacing: -.02em; text-transform: uppercase;
}
.display2{
  font-family: var(--head); font-weight: 800; font-size: 25px; line-height: 1.06;
  letter-spacing: -.02em; text-transform: uppercase;
}
.slab{ font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }
.h1{ font-family: var(--head); font-size: 20px; font-weight: 800; letter-spacing: -.015em; }
.h2{ font-family: var(--head); font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.h3{
  font-family: var(--head); font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-2);
}
.body{ font-size: 15px; color: var(--ink-2); }
.small{ font-size: 13px; color: var(--ink-2); }
.tiny{ font-size: 11.5px; color: var(--ink-3); }
.block{ display: block; }
.price{
  font-family: var(--head); font-weight: 700; color: var(--rosso);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.price.is-neg{ color: var(--ink-2); }
.link{
  color: var(--rosso); font-family: var(--head); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: .07em;
  display: inline-flex; align-items: center; gap: 4px;
}
.link--danger{ color: var(--ko); }
.grow{ flex: 1 1 auto; min-width: 0; }
.row{ display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stack{ display: flex; flex-direction: column; gap: 8px; }
.gap-sm{ gap: 8px; }
.mt-xs{ margin-top: 4px; } .mt-sm{ margin-top: 8px; }
.mt-md{ margin-top: 14px; } .mt-lg{ margin-top: 22px; }
.is-hidden{ display: none; }
.sec{ margin-top: 42px; }
.sec--first{ margin-top: 26px; }
.secbig{
  font-family: var(--head); font-size: 19px; font-weight: 700; line-height: 1.12;
  letter-spacing: -.015em; text-transform: uppercase; margin: 5px 0 16px;
}
.sechead{ display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sechead .h2{ text-transform: uppercase; letter-spacing: .01em; font-weight: 700; font-size: 15px; }
.sechead .h2::before{
  content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--rosso); margin-right: 8px; vertical-align: middle;
}
.legalnote{ font-size: 11.5px; color: var(--ink-3); margin-top: 26px; line-height: 1.5; }
.legalnote svg{ width: 14px; height: 14px; vertical-align: -2px; }

.grid{ display: grid; gap: 10px; }
.grid--2{ grid-template-columns: 1fr 1fr; }
.grid--3{ grid-template-columns: repeat(3, 1fr); }

/* etichetta con pallino, come nella reference */
.eyebrow{
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--head); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .13em; color: var(--rosso);
}
.eyebrow::before{ content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* scacchiera e strappo */
.checker{ height: 16px; background: var(--checker); }
.checker--tall{ height: 44px; }

.torn{ position: relative; }
.torn::before, .torn::after{
  content: ''; position: absolute; left: 0; right: 0; height: 12px; z-index: 2;
  background-repeat: repeat-x; background-size: 118px 12px;
}
.torn::before{
  top: -1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='118' height='12' viewBox='0 0 118 12'%3E%3Cpath d='M0 0h118v4l-8 2 -9-3 -7 4 -10-2 -8 3 -9-4 -8 2 -10-3 -8 4 -9-2 -8 3 -9-4 -7 2 -8-3Z' fill='%23fff6ed'/%3E%3C/svg%3E");
}
.torn::after{
  bottom: -1px; transform: scaleY(-1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='118' height='12' viewBox='0 0 118 12'%3E%3Cpath d='M0 0h118v5l-9 3 -8-4 -9 2 -8-3 -10 4 -8-2 -9 3 -8-4 -9 2 -8-3 -10 4 -7-2 -8 3 -9-4Z' fill='%23fff6ed'/%3E%3C/svg%3E");
}

/* =========================================================
   Schermata iniziale
   ========================================================= */

.start{
  min-height: 100dvh; padding: calc(var(--safe-t) + 54px) var(--pad) calc(var(--safe-b) + 26px);
  display: flex; flex-direction: column; gap: 26px; max-width: 720px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.start::after{
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 16px;
  background: var(--checker);
}
.start__top{ text-align: center; position: relative; }
.start__logo{ margin: 0; display: grid; place-items: center; }
.start__claim{
  margin-top: 10px; font-family: var(--head); font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2);
}
.start__cards{ display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }

.areacard{
  display: grid; grid-template-columns: 54px 1fr 20px; align-items: center; gap: 14px;
  padding: 18px 16px; border-radius: var(--r-lg);
  background: var(--carta); border: 1px solid var(--linea); color: var(--ink);
  box-shadow: var(--sh-1); transition: transform .12s;
}
.areacard:active{ transform: scale(.99); }
.areacard__ic{ width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; }
.areacard--rosso .areacard__ic{ background: var(--rosso); color: var(--crema); }
.areacard--verde .areacard__ic{ background: #3d2418; color: var(--crema); }
.areacard__ic svg{ width: 27px; height: 27px; }
.areacard__t{
  font-family: var(--head); font-size: 17px; font-weight: 800; display: block;
  text-transform: uppercase; letter-spacing: -.01em;
}
.areacard__s{ font-size: 13px; color: var(--ink-2); display: block; margin-top: 4px; }

.start__sede{
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: var(--r); margin-bottom: 4px;
  background: var(--crema-2); border: 1px dashed var(--linea-2); color: var(--ink);
}
.start__sede b{ font-family: var(--head); }
.start__legal{
  font-size: 11px; color: var(--ink-3); text-align: center; line-height: 1.5;
  padding-bottom: 34px; margin-top: auto;
}

/* =========================================================
   Testata delle home
   ========================================================= */

.hhead{
  padding: calc(var(--safe-t) + 14px) var(--pad) 8px;
  background: none; color: var(--ink);
  position: relative; max-width: 720px; margin: 0 auto;
}

.hhead--scuro{ background: none; }
.hhead__row{ display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.hhead__azioni{ display: flex; align-items: center; gap: 4px; }
.hhead .display{ font-size: 26px; }
.hhead__meta{
  color: var(--ink-2);
  margin-top: 14px; display: flex; align-items: flex-start; gap: 7px; font-size: 12.5px;
  line-height: 1.35;
}
.hhead__meta svg{ width: 15px; height: 15px; flex: none; margin-top: 2px; }

.ctxbtn{
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  padding: 7px 12px 7px 7px; border-radius: 999px; color: var(--ink);
  background: var(--crema-2); border: 1px solid var(--linea);
  min-width: 0; max-width: 100%;
}
.ctxbtn__ic{
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--rosso); color: var(--crema);
}
.hhead--scuro .ctxbtn__ic{ background: #3d2418; color: var(--crema); }
.ctxbtn__ic svg{ width: 17px; height: 17px; }
.ctxbtn__b{ min-width: 0; }
.ctxbtn__t{
  display: block; font-family: var(--head); font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ctxbtn__s{
  display: block; font-size: 11px; color: var(--ink-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ctxbtn svg:last-child{ width: 16px; height: 16px; }

.sedebtn{
  display: flex; align-items: center; gap: 8px; color: var(--crema);
  padding: 8px 14px 8px 11px; border-radius: 999px;
  background: rgba(255,246,237,.16); border: 1px solid rgba(255,246,237,.28);
}
.sedebtn b{ font-family: var(--head); font-size: 13px; font-weight: 700; }
.sedebtn .small{ color: color-mix(in srgb, var(--crema) 76%, transparent); font-size: 11.5px; }
.sedebtn svg{ width: 16px; height: 16px; }

/* segmenti */
.seg{
  display: flex; gap: 4px; padding: 4px; border-radius: 999px;
  background: rgba(255,246,237,.16); border: 1px solid rgba(255,246,237,.24);
}
.view--cart .seg, .view--profile .seg, .view--menu .seg{
  background: var(--crema-2); border: 2px solid var(--ink);
}
/* Quando il locale offre un modo solo, la scelta sparisce e resta il nome. */
.modofisso{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px;
  background: var(--crema-2); border: 2px solid var(--ink);
  font-family: var(--head); font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.modofisso svg{ width: 17px; height: 17px; }

.seg--scroll{ overflow-x: auto; scrollbar-width: none; }
.seg--scroll::-webkit-scrollbar{ display: none; }
.seg__i{
  flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px; white-space: nowrap;
  font-family: var(--head); font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: inherit; opacity: .78;
}
.seg__i svg{ width: 16px; height: 16px; }
.seg__i.is-on{ background: var(--crema); color: var(--rosso); opacity: 1; }
.view--cart .seg__i.is-on, .view--profile .seg__i.is-on, .view--menu .seg__i.is-on{
  background: var(--carta); color: var(--rosso); box-shadow: 0 1px 3px rgba(32,28,25,.12);
}
.view--menu .seg--categorie{ margin-top: 18px; }
.view--menu .sec{ margin-top: 30px; }
.seg--big .seg__i{ padding: 12px 14px; font-size: 12px; }

/* =========================================================
   Componenti di base
   ========================================================= */

.card{
  background: var(--carta); border: 0; border-radius: var(--r-lg);
  padding: 17px; box-shadow: var(--sh-1);
}
.card--on{ border-color: var(--rosso); }

.minirow{
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 4px; background: none; border: 0; text-decoration: none;
}
.stack > .minirow + .minirow{ border-top: 1px solid var(--linea); }
.minirow svg{ width: 17px; height: 17px; vertical-align: -3px; color: var(--rosso); }

.listrow{
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  width: 100%; padding: 15px 4px; background: none; border: 0;
  border-radius: 0; text-decoration: none;
}
.stack > .listrow + .listrow{ border-top: 1px solid var(--linea); }
.listrow:active{ opacity: .6; }
.listrow--manca{ border-color: var(--rosso); background: color-mix(in srgb, var(--rosso) 6%, var(--crema)); }
.listrow--manca .listrow__ico{ background: var(--rosso); color: var(--crema); }
.listrow__ico{
  width: 30px; height: 30px; display: grid; place-items: center; color: var(--rosso);
}
.listrow__ico svg{ width: 19px; height: 19px; }
.listrow__body{ min-width: 0; }
.listrow__title{ font-family: var(--head); display: block; font-weight: 700; font-size: 14.5px; }
.listrow__sub{ display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 1px; }
.listrow__chev{ color: var(--ink-3); display: grid; place-items: center; }

.note{
  display: flex; gap: 10px; align-items: flex-start; margin-top: 12px;
  padding: 12px 14px; border-radius: var(--r-sm);
  background: var(--crema-2); border: 1px dashed var(--linea-2);
  font-size: 13px; color: var(--ink-2); line-height: 1.45;
}
.note svg{ width: 18px; height: 18px; flex: none; color: var(--rosso); margin-top: 1px; }
.note b{ color: var(--ink); }

.infocard{
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  width: 100%; padding: 14px; border-radius: var(--r);
  background: var(--crema-2); border: 1px solid var(--linea);
}
.infocard svg{ color: var(--rosso); }
.infocard b{ font-family: var(--head); }
.infocard--slim{ margin-top: 16px; }

.banner{
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  width: 100%; padding: 14px; border-radius: var(--r); color: var(--crema);
}
.banner b{ font-family: var(--head); text-transform: uppercase; font-size: 13.5px; letter-spacing: .01em; }
.banner{ background: var(--ink); }
.banner--oro{ background: var(--senape); color: var(--ink); }
.banner .small{ color: inherit; opacity: .84; text-transform: none; }

.empty{
  display: grid; place-items: center; gap: 8px; text-align: center;
  padding: 46px 20px; color: var(--ink-3);
}
.empty svg{ width: 34px; height: 34px; }
.empty .h3{ color: var(--ink-2); text-transform: none; font-size: 15px; letter-spacing: 0; }

/* --- bottoni --- */

.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px; border-radius: 999px;
  font-family: var(--head); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  transition: transform .1s, filter .15s; white-space: nowrap;
}
.btn:active{ transform: scale(.98); }
.btn:disabled{ opacity: .42; }
.btn svg{ width: 17px; height: 17px; }
.btn--primary{ background: var(--rosso); color: var(--crema); }
.btn--primary:active{ background: var(--rosso-scuro); }
.btn--light{ background: var(--crema-3); color: var(--ink); }
.btn--danger{ background: var(--ko); color: #fff; }
.btn--block{ width: 100%; }
.btn--sm{ padding: 9px 14px; font-size: 11px; }
.btn--grande{ padding: 17px 22px; font-size: 13px; }

/* --- chip --- */

.chips{ display: flex; flex-wrap: wrap; gap: 7px; }
.chips--scroll{ flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips--scroll::-webkit-scrollbar{ display: none; }
.chips--tiny{ gap: 5px; }
.chip{
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  padding: 7px 12px; border-radius: 999px;
  font-family: var(--head); font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  background: var(--carta); border: 1px solid var(--linea-2); color: var(--ink-2);
}
.chip svg{ width: 14px; height: 14px; }
.chip.is-on{ background: var(--ink); border-color: var(--ink); color: var(--crema); }
.chip--tiny{ padding: 4px 8px; font-size: 9px; letter-spacing: .04em; }
.chip--tag{ background: none; border: 0; padding: 0 6px 0 0; color: var(--ink-3); font-weight: 500; letter-spacing: .02em; }
.chip--tag svg{ color: var(--verde); }
.chip--clear{ color: var(--ko); border-color: var(--ko); }

.badge{
  display: inline-block; padding: 4px 9px; border-radius: 999px;
  font-family: var(--head); font-size: 9.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--crema-3); color: var(--ink-2);
}
.badge--novita{ background: var(--verde); color: var(--crema); }
.badge--limitata{ background: var(--ink); color: var(--crema); }
.badge--mese{ background: var(--senape); color: var(--ink); }

.pill{
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px;
  border-radius: 999px; font-family: var(--head); font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  background: var(--crema-3); color: var(--ink);
}
.pill svg{ width: 13px; height: 13px; }
.pill--base{ background: var(--crema-3); color: var(--ink-2); }
.pill--gold{ background: var(--senape); color: var(--ink); }
.pill--vip{ background: var(--ink); color: var(--avorio); }

.media{ background-size: cover; background-position: center; border-radius: var(--r); }
.media--16x9{ aspect-ratio: 16/9; }
.media--21x9{ aspect-ratio: 21/9; }

/* --- piatto: la pizza, tonda, su fondo rosso --- */

.plate{
  display: grid; place-items: center; overflow: hidden; position: relative;
  background: radial-gradient(75% 75% at 50% 42%, var(--rosso) 0%, var(--rosso-scuro) 100%);
}
.plate__img{
  display: block; width: 88%; aspect-ratio: 1; border-radius: 50%;
  background-size: cover; background-position: center;
  box-shadow: 0 8px 18px rgba(60,14,4,.42);
}
.hero__plate .plate__img{ width: 92%; }

/* =========================================================
   Schede prodotto
   ========================================================= */

.pcard{
  position: relative; background: none; border: 0; border-radius: 0;
  padding: 16px 0; box-shadow: none;
}
.pcard + .pcard{ border-top: 1px solid var(--linea); }
.pcard__main{ display: grid; grid-template-columns: 72px 1fr; gap: 14px; width: 100%; align-items: center; }
.pcard__media{ width: 72px; height: 72px; border-radius: 50%; }
.pcard .plate__img{ width: 86%; box-shadow: none; }
.pcard__b{ padding: 0 44px 0 0; min-width: 0; display: block; }
.pcard__head{ display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.pcard__t{
  font-family: var(--head); font-size: 15px; font-weight: 700;
  letter-spacing: -.01em; color: var(--ink); text-transform: none;
}
.pcard__d{
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 12.5px; color: var(--ink-2); margin: 3px 0 7px; line-height: 1.4;
}
.pcard__foot{ display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.pcard__cta{
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--ink-3);
  text-transform: none;
}
.pcard__cta svg{ width: 13px; height: 13px; }
.pcard__fav{
  position: absolute; top: 16px; left: 46px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--crema); color: var(--ink-3); display: grid; place-items: center;
  border: 1px solid var(--linea-2);
}
.pcard__fav.is-on{ color: var(--rosso); border-color: var(--rosso); }
.pcard__fav svg{ width: 14px; height: 14px; }
.pcard__add{
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--rosso); color: var(--crema); display: grid; place-items: center;
}
.pcard__add svg{ width: 20px; height: 20px; }
.pcard__add:active{ background: var(--rosso-scuro); }

.hscroll{
  display: flex; gap: 10px; overflow-x: auto; padding: 2px var(--pad) 6px;
  margin: 0 calc(var(--pad) * -1); scroll-snap-type: x mandatory; scrollbar-width: none;
}
.hscroll::-webkit-scrollbar{ display: none; }

.vcard{
  flex: 0 0 188px; scroll-snap-align: start; background: var(--carta);
  border: 1px solid var(--linea); border-radius: var(--r); padding: 10px;
  display: flex; flex-direction: column; gap: 6px; box-shadow: var(--sh-1);
}
.vcard--sm{ flex-basis: 142px; }
.vcard__media{ aspect-ratio: 4/3; border-radius: var(--r-sm); }
.vcard__t{
  font-family: var(--head); font-size: 13.5px; font-weight: 800;
  text-transform: uppercase; color: var(--rosso);
}
.vcard__d{
  font-size: 12px; color: var(--ink-2); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.tile{
  border-radius: var(--r); min-height: 92px;
  background: var(--carta); border: 1px solid var(--linea); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 10px; text-align: center;
}
.tile__ic{ display: grid; place-items: center; color: var(--rosso); }
.tile__ic svg{ width: 26px; height: 26px; stroke-width: 1.5; }
.tile__t{
  font-family: var(--head); font-weight: 700; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .03em;
}
.tile--act{
  background: var(--carta); color: var(--ink); align-items: center; justify-content: center;
  flex-direction: column; gap: 9px; padding: 18px 12px; text-align: center; min-height: 106px;
  box-shadow: var(--sh-1);
}
.tile--act svg{ width: 24px; height: 24px; color: var(--rosso); }
.tile--act span{ font-family: var(--head); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.tile--act:disabled{ opacity: .5; }

.quick{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quick__i{
  display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center;
  padding: 14px 6px; background: var(--carta); border: 1px solid var(--linea);
  border-radius: var(--r-sm); line-height: 1.2;
  font-family: var(--head); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; box-shadow: var(--sh-1);
}
.quick__i svg{ width: 21px; height: 21px; color: var(--rosso); }

.mese{
  display: grid; grid-template-columns: 124px 1fr; background: var(--ink); color: var(--crema);
  border-radius: var(--r-lg); overflow: hidden; width: 100%; box-shadow: var(--sh-2);
}
.mese__media{ background-size: cover; background-position: center; }
.mese__b{ padding: 14px; display: flex; flex-direction: column; gap: 5px; }
.mese__t{ font-family: var(--display); font-size: 22px; line-height: 1.05; color: var(--crema); }
.mese__d{ font-size: 12.5px; color: color-mix(in srgb, var(--crema) 72%, transparent); line-height: 1.38; }
.mese .price{ color: var(--senape); font-size: 16px; }
.mese .pcard__cta{ color: var(--crema); }

.sugg{
  flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 11px 15px;
  background: var(--carta); border: 1px solid var(--linea-2); border-radius: 999px;
}
.sugg b{ font-family: var(--head); font-size: 12.5px; }
.sugg__ic{ display: grid; place-items: center; color: var(--rosso); }

/* --- blocco primario: una sola cosa grande per sezione --- */

.hero{
  display: grid; grid-template-columns: 132px 1fr; width: 100%;
  background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-1);
  transition: transform .12s, box-shadow .12s;
}
.hero:active{ transform: translate(2px,2px); box-shadow: var(--sh-1); }
.hero__plate{ min-height: 100%; }
.hero__b{ padding: 15px; display: flex; flex-direction: column; gap: 9px; justify-content: center; }
.hero__d{ font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.hero__d b{ color: var(--ink); }
.hero__f{ display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.hero__f .price{ font-size: 19px; }
.hero--largo{ grid-template-columns: 1fr; }

/* --- allergeni numerati --- */

.allnum{
  display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 5px; background: transparent; border: 1px solid var(--linea-2);
  color: var(--ink-3); font-family: var(--head); font-size: 9.5px; font-weight: 600;
}
.allergeni b{
  display: inline-grid; place-items: center; min-width: 17px; height: 17px;
  border-radius: 5px; background: var(--crema-3); color: var(--ink);
  font-size: 10px; margin-right: 2px;
}

/* --- pannello di testata: emblema + dati + modalità + luogo, tutto in uno --- */

.pannello{
  position: relative; margin: 62px 0 4px; padding: 58px 16px 14px;
  background: var(--carta); border: 1px solid var(--linea);
  border-radius: var(--r-xl); box-shadow: var(--sh-1);
}
.pannello__bollo{
  position: absolute; top: -52px; left: 50%; transform: translateX(-50%);
  width: 104px; height: 104px; border-radius: 50%;
  background: var(--crema); border: 1px solid var(--linea);
  display: grid; place-items: center;
}
.pannello__logo{
  width: 76px; height: 76px; background: var(--rosso);
  -webkit-mask: url(/assets/simbolo.svg) center / contain no-repeat;
  mask: url(/assets/simbolo.svg) center / contain no-repeat;
  animation: gira 24s linear infinite;
}
.pannello__dati{ display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.pannello__dati span{
  display: flex; flex-direction: column; gap: 2px; padding: 0 4px;
  font-size: 10px; line-height: 1.2; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: .06em;
}
.pannello__dati span + span{ border-left: 1px solid var(--linea); }
.pannello__dati b{ font-family: var(--head); font-size: 16px; color: var(--ink); letter-spacing: -.01em; text-transform: none; }
.pannello__link{
  display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%;
  margin-top: 14px; padding: 4px; color: var(--rosso);
  font-family: var(--head); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
}
.pannello__link svg{ width: 14px; height: 14px; }
.pannello__sep{ height: 1px; background: var(--linea); margin: 14px -16px; }
.pannello .seg{ background: var(--crema-2); border: 1px solid var(--linea); }
.pannello .seg__i{ color: var(--ink-2); }
.pannello .seg__i.is-on{ background: var(--rosso); color: var(--crema); }
.pannello .luogo{
  margin-top: 10px; padding: 11px 4px 2px; background: none; border: 0; color: var(--ink);
}
.pannello .luogo__ic{ color: var(--rosso); }
.pannello .luogo__s{ color: var(--ink-2); }
.pannello .luogo__go{ color: var(--rosso); }

/* --- dove consegniamo / dove ritiri --- */

.luogo{
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  width: 100%; margin-top: 10px; padding: 12px 14px; border-radius: var(--r);
  background: rgba(255,246,237,.14); border: 1px solid rgba(255,246,237,.24); color: var(--crema);
}
.luogo__ic{ display: grid; place-items: center; }
.luogo__b{ min-width: 0; }
.luogo__t{
  display: block; font-family: var(--head); font-weight: 700; font-size: 13.5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.luogo__s{
  display: block; font-size: 11.5px; color: color-mix(in srgb, var(--crema) 74%, transparent);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.luogo__go{
  font-family: var(--head); font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--rosso);
}

/* --- cosa manca per poter inviare --- */

.manca{
  padding: 18px; border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--rosso) 7%, var(--crema));
  border: 1px solid color-mix(in srgb, var(--rosso) 28%, transparent);
}
.manca__t{
  display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
  font-family: var(--head); font-size: 14.5px; font-weight: 700; color: var(--rosso);
}
.manca__t svg{ width: 18px; height: 18px; }

/* --- fascia dei filtri: distinta dai tab delle categorie --- */

.filtri{
  display: flex; align-items: center; gap: 10px;
  margin: 22px -16px 0; padding: 12px 16px;
  border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea);
  background: color-mix(in srgb, var(--crema-2) 60%, transparent);
}
.filtri__et{
  font-family: var(--head); font-size: 10px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3); flex: none;
}
.filtri .chips{ margin: 0; }

/* --- banner fisso "crea la tua pizza" --- */

.creabanner{
  position: sticky; top: calc(var(--bar) + var(--safe-t) + 8px); z-index: 12;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  width: 100%; margin-top: 28px; padding: 12px 16px 12px 12px; border-radius: var(--r-lg);
  background: var(--carta); color: var(--ink); border: 1px dashed var(--linea-2);
  box-shadow: 0 6px 18px rgba(32,28,25,.07);
}
.creabanner__ic{
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--rosso); color: var(--crema);
}
.creabanner__ic svg{ width: 24px; height: 24px; }
.creabanner b{ font-family: var(--head); font-size: 13px; text-transform: uppercase; }
.creabanner > svg{ color: var(--rosso); }

/* --- riga di profilo senza box --- */

.voce{ display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.voce .secbig{ margin: 0 0 2px; }

/* --- la margherita che gira, in testa alle home --- */

.gira{
  display: grid; grid-template-columns: 98px 1fr; align-items: center; gap: 13px;
  width: 100%; margin-top: 16px; padding: 14px;
  border-radius: var(--r-lg); background: rgba(255,246,237,.12);
  border: 1px solid rgba(255,246,237,.24); color: var(--crema);
}
.gira__plate{ width: 98px; aspect-ratio: 1; border-radius: 50%; background: transparent; }
.gira__plate .plate__img{ width: 100%; box-shadow: 0 10px 22px rgba(40,10,2,.45); animation: gira 24s linear infinite; }
.gira__b{ display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.gira__b .eyebrow{ color: var(--senape); }
.gira__t{ font-family: var(--display); font-size: 16px; line-height: 1.18; font-weight: 400; }
.gira__chips{ display: flex; flex-wrap: wrap; gap: 5px; }
.gira__chips .chip{ padding: 3px 8px; font-size: 9px; letter-spacing: .04em; gap: 3px; }
.gira__chips .chip svg{ width: 11px; height: 11px; }
.gira__chips .chip{ background: rgba(255,246,237,.16); border-color: rgba(255,246,237,.28); color: var(--crema); }
.gira__b .link{ color: var(--senape); }

/* --- promo "come la facciamo" con la pizza che gira --- */

.promo{
  display: grid; grid-template-columns: 1fr 128px; align-items: center; gap: 12px;
  width: 100%; padding: 18px; border-radius: var(--r-lg);
  background: var(--ink); color: var(--crema); overflow: hidden; position: relative;
}
.promo__b{ display: flex; flex-direction: column; gap: 7px; }
.promo__b .eyebrow{ color: var(--senape); }
.promo__t{ font-family: var(--display); font-size: 20px; line-height: 1.12; font-weight: 400; }
.promo__b .small{ color: color-mix(in srgb, var(--crema) 70%, transparent); }
.promo__b .link{ color: var(--senape); }
.promo__plate{
  width: 128px; aspect-ratio: 1; border-radius: 50%; background: transparent;
}
.promo__plate .plate__img{ width: 100%; box-shadow: none; }
.promo__plate--gira .plate__img{ animation: gira 22s linear infinite; }
@keyframes gira{ to{ transform: rotate(360deg) } }

/* --- menu del locale in pdf --- */

.pdfcard{
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 16px; border-radius: var(--r-lg); text-decoration: none;
  background: var(--carta); border: 1px solid var(--linea); box-shadow: var(--sh-1);
}
.pdfcard__ic{
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--rosso); color: var(--crema);
}
.pdfcard__b b{ font-family: var(--head); font-size: 15px; text-transform: uppercase; }
.pdfcard__go{
  font-family: var(--head); font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--rosso); display: inline-flex; align-items: center; gap: 4px;
}
.pdfcard__go svg{ width: 14px; height: 14px; }

/* --- punti in evidenza --- */

.puntibox{
  display: flex; flex-direction: column; gap: 9px; width: 100%; padding: 17px;
  background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.puntibox__head{ display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.puntibox__n{ display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.puntibox__n b{ font-family: var(--display); font-size: 34px; line-height: 1; color: var(--rosso); }
.puntibox__n > span{ font-family: var(--head); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.puntibox__cred{ margin-left: auto; font-family: var(--head); font-size: 12px; font-weight: 700; color: var(--verde); }

/* =========================================================
   Configuratore
   ========================================================= */

.phero{
  position: relative; background: none; color: var(--ink);
  padding: 8px 0 18px;
  display: flex; flex-direction: column; align-items: center;
}
.phero__plate{
  width: min(54vw, 210px); aspect-ratio: 1; border-radius: 50%; background: transparent;
}
.phero__plate .plate__img{ width: 100%; box-shadow: 0 14px 30px rgba(80,20,5,.4); }
.phero__b{ position: relative; padding: 16px var(--pad) 0; max-width: 720px; margin: 0 auto; width: 100%; text-align: center; }
.phero__b .display2{ color: var(--ink); }
.phero__d{ font-size: 13px; color: var(--ink-2); margin-top: 8px; line-height: 1.45; }
.phero .badge{ margin-bottom: 9px; }
.appbar .iconbtn svg{ color: var(--ink); }
.appbar [data-act="cfgFav"] svg{ color: var(--rosso); }

.opt{
  display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 12px;
  width: 100%; padding: 13px 14px; background: var(--carta);
  border: 1px solid var(--linea); border-radius: var(--r-sm);
}
.opt__mark{
  width: 22px; height: 22px; border-radius: 50%; border: 1.6px solid var(--linea-2);
  display: grid; place-items: center; color: transparent;
}
.opt__mark svg{ width: 14px; height: 14px; }
.opt[aria-checked="true"]{ border-color: var(--rosso); background: color-mix(in srgb, var(--rosso) 7%, var(--crema)); }
.opt[aria-checked="true"] .opt__mark{ background: var(--rosso); border-color: var(--rosso); color: var(--crema); }
.opt__t{ font-family: var(--head); display: block; font-weight: 700; font-size: 14px; }
.opt__s{ display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.opt__s.is-warn{ color: var(--ko); }
.opt__p{ font-family: var(--head); font-size: 12.5px; font-weight: 700; color: var(--rosso); white-space: nowrap; }
.opt__warn{ display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ko); margin-top: 5px; }
.opt__warn svg{ width: 13px; height: 13px; }
.opt--dis{ opacity: .6; background: var(--crema-2); }
.opt__edit{ display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink-3); }

.switchrow{
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 13px 14px; background: var(--carta); border: 1px solid var(--linea);
  border-radius: var(--r-sm); margin-top: 8px;
}
.switchrow > span:first-child{ display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.switchrow > span:first-child > svg{ grid-row: span 2; color: var(--rosso); }
.switchrow b{ font-family: var(--head); font-size: 14px; }
.switchrow:disabled{ opacity: .55; }
.switch{
  width: 48px; height: 28px; border-radius: 999px; background: var(--crema-3);
  border: 1px solid var(--linea-2); position: relative; flex: none; transition: background .2s;
}
.switch::after{
  content: ''; position: absolute; top: 2px; left: 2px; width: 21px; height: 21px;
  border-radius: 50%; background: var(--carta); box-shadow: var(--sh-1); transition: transform .2s;
}
.switch.is-on{ background: var(--rosso); border-color: var(--rosso); }
.switch.is-on::after{ transform: translateX(20px); }

.ingrow{
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 6px;
  background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r-sm);
  padding: 4px 8px 4px 4px;
}
.ingrow.is-off{ background: var(--crema-2); }
.ingrow.is-off b{ text-decoration: line-through; color: var(--ink-3); }
.ingrow__tog{ display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; padding: 9px 6px; min-width: 0; }
.ingrow b{ font-family: var(--head); font-size: 13.5px; font-weight: 700; }
.cbox{
  width: 25px; height: 25px; border-radius: 8px; background: var(--rosso); color: var(--crema);
  display: grid; place-items: center;
}
.cbox svg{ width: 15px; height: 15px; }
.ingrow.is-off .cbox{ background: var(--crema-3); color: var(--ink-3); }
.cbox--plus{ background: var(--verde); }
.ingrow__mod{
  font-family: var(--head); font-size: 10.5px; font-weight: 700; color: var(--rosso);
  text-transform: uppercase; letter-spacing: .08em; padding: 8px 6px;
}
.ingrow__mod:disabled{ color: var(--ink-3); }
.ingrow__p{ font-family: var(--head); font-size: 12.5px; font-weight: 700; color: var(--rosso); }
.ingrow__del{ width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink-3); }
.ingrow__del svg{ width: 17px; height: 17px; }

.addrow{
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px;
  width: 100%; padding: 12px 14px; background: var(--carta);
  border: 1px solid var(--linea); border-radius: var(--r-sm);
}
.addrow b{ font-family: var(--head); font-size: 13.5px; }
.addrow.is-on{ border-color: var(--verde); background: color-mix(in srgb, var(--verde) 8%, var(--crema)); }
.addrow__p{ font-family: var(--head); font-size: 12.5px; font-weight: 700; color: var(--rosso); }
.addrow__ic{ width: 28px; height: 28px; border-radius: 50%; background: var(--crema-3); display: grid; place-items: center; color: var(--ink-2); }
.addrow.is-on .addrow__ic{ background: var(--verde); color: var(--crema); }

.riep{ background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r); padding: 13px 15px; }
.riep__r{ display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; }
.riep__r--sub{ font-size: 12.5px; color: var(--ink-2); padding-left: 10px; }
.riep__r--tot{
  border-top: 2px dashed var(--linea-2); margin-top: 7px; padding-top: 11px;
  font-family: var(--head); font-weight: 800; font-size: 16px; text-transform: uppercase;
}
.riep__r--pt{ color: var(--verde); font-size: 12.5px; font-weight: 600; }
.riep__r--pt svg{ width: 14px; height: 14px; vertical-align: -2px; }
.riep__r.is-sconto{ color: var(--verde); }

.allerg{
  margin-top: 12px; padding: 13px 15px; border-radius: var(--r-sm);
  background: var(--crema-2); border: 1px dashed var(--linea-2);
}
.allerg b{ display: flex; align-items: center; gap: 6px; font-family: var(--head); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
.allerg svg{ width: 15px; height: 15px; color: var(--rosso); }
.allergeni{ margin-top: 6px; display: flex; gap: 6px; align-items: flex-start; }
.allergeni svg{ width: 14px; height: 14px; flex: none; margin-top: 2px; }

.infolist{ display: flex; flex-direction: column; gap: 14px; }
.infolist__r{ display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: flex-start; }
.infolist__r svg{ color: var(--rosso); margin-top: 2px; }
.infolist__r b{ font-family: var(--head); }

/* barra inferiore fissa */
.stick{
  position: fixed; z-index: 29;
  left: 12px; right: 12px; bottom: calc(var(--tabh) + var(--safe-b) + 14px);
  max-width: 696px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 999px;
  background: var(--carta); border: 1px solid var(--linea);
  box-shadow: 0 10px 28px rgba(32,28,25,.16);
}
body.senza-tabbar .stick{ bottom: calc(var(--safe-b) + 12px); }
.stick__tot{ padding-left: 8px; }
.stick__tot{ display: flex; flex-direction: column; line-height: 1.15; }
.stick__tot b{ font-family: var(--head); font-size: 16px; font-weight: 800; }

.stepper{
  display: inline-flex; align-items: center; gap: 2px; background: var(--crema-3);
  border-radius: 999px; padding: 4px;
}
.stepper button{ width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--carta); }
.stepper span{ min-width: 28px; text-align: center; font-family: var(--head); font-weight: 700; }
.stepper--sm button{ width: 30px; height: 30px; }
.stepper--sm span{ min-width: 22px; font-size: 14px; }

/* =========================================================
   Carrello
   ========================================================= */

.crow{
  background: var(--carta); border: 1px solid var(--linea);
  border-radius: var(--r); padding: 14px 15px;
}
.crow__top{ display: grid; grid-template-columns: auto 1fr auto; gap: 10px; }
.crow__q{ font-family: var(--head); font-weight: 800; color: var(--rosso); }
.crow__b{ min-width: 0; }
.crow__b b{ font-family: var(--head); font-size: 14px; text-transform: uppercase; }
.crow__p{ font-family: var(--head); font-weight: 700; font-variant-numeric: tabular-nums; }
.crow__mods{ margin-top: 6px; display: flex; flex-direction: column; gap: 2px; }
.crow__mods li{ font-size: 12.5px; color: var(--ink-2); padding-left: 13px; position: relative; }
.crow__mods li::before{ content: '·'; position: absolute; left: 3px; }
.crow__mods li.is-meno{ color: var(--ko); }
.crow__mods li.is-meno::before{ content: '−'; }
.crow__mods li.is-piu{ color: var(--verde); }
.crow__mods li.is-piu::before{ content: '+'; }
.crow__note{ margin-top: 6px; font-size: 12.5px; color: var(--ink-2); display: flex; gap: 5px; }
.crow__note svg{ width: 14px; height: 14px; flex: none; margin-top: 2px; }
.crow__act{ display: flex; align-items: center; gap: 14px; margin-top: 11px; padding-top: 11px; border-top: 1px dashed var(--linea-2); }
.crow--ro .crow__act{ display: none; }

.searchbox{
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px;
  background: var(--carta); border: 1px solid var(--linea-2); border-radius: 999px; padding: 0 16px;
}
.searchbox svg{ color: var(--ink-3); }
.searchbox .input{ border: 0; padding: 12px 0; background: none; }

.field{ display: block; }
.label{
  display: block; font-family: var(--head); font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin-bottom: 6px;
}
.input{
  width: 100%; padding: 12px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--linea-2); background: var(--carta); font-size: 15px;
}
.input:focus{ outline: 2px solid color-mix(in srgb, var(--rosso) 45%, transparent); outline-offset: 1px; border-color: var(--rosso); }
textarea.input{ resize: vertical; line-height: 1.45; }
.range{ accent-color: var(--rosso); }

.slots{ display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot{
  padding: 11px 6px; border-radius: var(--r-sm); background: var(--carta);
  border: 1px solid var(--linea); text-align: center;
  font-family: var(--head); font-weight: 700; font-size: 14px;
}
.slot.is-on{ background: var(--rosso); color: var(--crema); border-color: var(--rosso); }
.slot.is-full{ opacity: .45; background: var(--crema-2); }
.slot .tiny{ display: block; }

/* =========================================================
   Ordini
   ========================================================= */

.tracker{
  display: flex; flex-direction: column; gap: 10px; width: 100%;
  padding: 16px; background: var(--carta); border: 1px solid var(--linea);
  border-radius: var(--r); box-shadow: var(--sh-1);
}
.tracker__top{ display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.tracker__top b{ font-family: var(--head); text-transform: uppercase; font-size: 14px; }
.tracker__ic{
  width: 42px; height: 42px; border-radius: 13px; background: var(--rosso); color: var(--crema);
  display: grid; place-items: center;
}
.progress{ height: 8px; border-radius: 999px; background: var(--crema-3); overflow: hidden; display: block; }
.progress__bar{ display: block; height: 100%; background: var(--rosso); border-radius: 999px; transition: width .4s; }

.statebox{
  text-align: center; padding: 28px 18px; border-radius: var(--r-lg);
  background: var(--rosso); color: var(--crema);
}
.statebox.is-ok{ background: var(--verde); }
.statebox.is-ko{ background: var(--ink); }
.statebox .h1{ font-size: 23px; text-transform: uppercase; }
.statebox__ic{
  width: 58px; height: 58px; border-radius: 50%; background: rgba(255,246,237,.18);
  display: grid; place-items: center; margin: 0 auto 12px;
}
.statebox__ic svg{ width: 28px; height: 28px; }
.statebox .small{ color: color-mix(in srgb, var(--crema) 82%, transparent); }
.statebox__eta{ margin-top: 14px; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.statebox__eta svg{ width: 16px; height: 16px; }

.timeline{ display: flex; flex-direction: column; }
.tl{ display: grid; grid-template-columns: auto 1fr; gap: 12px; padding-bottom: 16px; position: relative; }
.tl::before{ content: ''; position: absolute; left: 16px; top: 32px; bottom: 0; width: 2px; background: var(--linea-2); }
.tl:last-child::before{ display: none; }
.tl__dot{
  width: 34px; height: 34px; border-radius: 50%; background: var(--crema-3); color: var(--ink-3);
  display: grid; place-items: center; z-index: 1;
}
.tl__dot svg{ width: 16px; height: 16px; }
.tl b{ font-family: var(--head); font-size: 13.5px; }
.tl.is-done .tl__dot{ background: var(--verde); color: var(--crema); }
.tl.is-now .tl__dot{ background: var(--rosso); color: var(--crema); }
.tl.is-now b{ color: var(--rosso); }

.window{
  padding: 15px; border-radius: var(--r); background: color-mix(in srgb, var(--rosso) 8%, var(--crema));
  border: 1.5px dashed var(--rosso);
}
.window b{ font-family: var(--head); font-variant-numeric: tabular-nums; }

.hrow{
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r-sm); padding: 11px 13px;
}
.hrow__b{ display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; min-width: 0; }
.hrow__b b{ font-family: var(--head); font-size: 13.5px; }
.hrow__ic{ width: 36px; height: 36px; border-radius: 11px; background: var(--crema-3); display: grid; place-items: center; color: var(--rosso); }

/* =========================================================
   Tavolo
   ========================================================= */

.locale{
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px;
  width: 100%; padding: 15px; background: var(--carta); border: 1px solid var(--linea);
  border-radius: var(--r); box-shadow: var(--sh-1);
}
.locale b{ font-family: var(--head); font-size: 14.5px; text-transform: uppercase; }
.locale.is-on{ border-color: var(--rosso); }
.mapbox{ width: 100%; border-radius: var(--r); border: 1px solid var(--linea); background: var(--crema-2); }

.ticket{
  background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r-lg);
  padding: 18px; text-align: center; box-shadow: var(--sh-1);
}
.ticket__top{ display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
.ticket__top b{ font-family: var(--head); text-transform: uppercase; }
.ticket__code{
  font-family: var(--display); font-size: 19px; color: var(--rosso);
  background: var(--crema-2); border-radius: var(--r-sm); padding: 7px 13px;
}
.ticket__qr{ width: 172px; margin: 16px auto 8px; }
.ticket__qr svg{ width: 100%; height: auto; display: block; }

/* =========================================================
   Punti
   ========================================================= */

.card--tessera{
  display: block; width: 100%; background: var(--rosso); color: var(--crema);
  border: 0; border-radius: var(--r-lg); padding: 18px 18px 30px; position: relative;
  box-shadow: var(--sh-2); overflow: hidden;
}
.card--tessera .progress,
.card--tessera > .small{ max-width: calc(100% - 96px); }
.card--tessera::after{
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  background: repeating-conic-gradient(var(--crema) 0% 25%, transparent 0% 50%) 0 0 / 14px 14px;
  opacity: .9;
}
.tessera__top{ display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tessera__top .tiny{ color: color-mix(in srgb, var(--crema) 74%, transparent); }
.tessera__punti{ display: flex; align-items: baseline; gap: 7px; margin: 16px 0 10px; }
.tessera__punti b{ font-family: var(--display); font-size: 40px; line-height: 1; }
.tessera__punti span{ color: color-mix(in srgb, var(--crema) 74%, transparent); font-size: 13px; }
.card--tessera .progress{ background: rgba(255,246,237,.26); }
.card--tessera .progress__bar{ background: var(--avorio); }
.card--tessera .small{ color: color-mix(in srgb, var(--crema) 80%, transparent); margin-top: 8px; }
.card--tessera .link{ color: var(--avorio); margin-top: 14px; display: inline-flex; }
.tessera__qr{
  position: absolute; right: 16px; bottom: 30px; width: 76px; padding: 6px;
  background: var(--crema); border-radius: 10px;
}
.tessera__qr svg{ width: 100%; height: auto; display: block; }

.statcard{
  background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r-sm);
  padding: 13px 10px; text-align: center;
}
.statcard b{ display: block; font-family: var(--display); font-size: 18px; color: var(--rosso); }
.statcard span{ font-family: var(--head); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }

.stamps{ display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.stamp{
  width: 27px; height: 27px; border-radius: 50%; border: 1px dashed var(--linea-2);
  display: grid; place-items: center; font-family: var(--head); font-size: 11px; color: var(--ink-3);
}
.stamp.is-on{ background: var(--rosso); border-style: solid; border-color: var(--rosso); color: var(--crema); }
.stamp svg{ width: 14px; height: 14px; }
.stamps--big .stamp{ width: 36px; height: 36px; font-size: 12px; }

.loyalty{
  display: flex; flex-direction: column; gap: 9px; width: 100%; padding: 16px;
  background: var(--carta); border: 2px solid var(--ink); border-radius: var(--r);
  box-shadow: var(--sh-1);
}
.loyalty__top{ display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.loyalty__top b{ font-family: var(--head); font-size: 15px; }

.premio{
  flex: 0 0 172px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px;
  padding: 14px; background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r);
  box-shadow: var(--sh-1);
}
.premio b{ font-family: var(--head); font-size: 13px; text-transform: uppercase; }
.premio__ic{ width: 38px; height: 38px; border-radius: 12px; background: var(--crema-3); display: grid; place-items: center; color: var(--rosso); }
.premio__costo{ margin-top: 6px; font-family: var(--head); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rosso); }
.premio.is-off{ opacity: .5; }

.premiorow{
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px;
  padding: 12px 14px; background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r-sm);
}
.premiorow b{ font-family: var(--head); font-size: 13.5px; }
.premiorow.is-off{ opacity: .55; }

.coupon{
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center;
  padding: 13px 14px; background: var(--carta); border: 1px dashed var(--linea-2); border-radius: var(--r-sm);
}
.coupon b{ font-family: var(--head); font-size: 13.5px; }
.coupon__l{ width: 38px; height: 38px; border-radius: 11px; background: var(--crema-3); display: grid; place-items: center; color: var(--rosso); }
.coupon--gift .coupon__l{ color: var(--senape); }

.ticks li{ display: flex; gap: 7px; font-size: 13px; color: var(--ink-2); padding: 2px 0; }
.ticks svg{ width: 15px; height: 15px; color: var(--verde); flex: none; margin-top: 2px; }

.codebox{
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 15px; border-radius: var(--r-sm); background: var(--crema-2); border: 1px dashed var(--linea-2);
}
.codebox b{ font-family: var(--display); font-size: 17px; color: var(--rosso); }

.bigcard{
  background: var(--rosso); color: var(--crema);
  border-radius: var(--r-xl); padding: 22px; box-shadow: var(--sh-2); margin-top: 8px;
  position: relative; overflow: hidden;
}
.bigcard--gold{ background: linear-gradient(150deg, #b8801f, #e0a93f); color: var(--ink); }
.bigcard--vip{ background: var(--ink); }
.bigcard__head{ display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.bigcard__head svg{ width: 18px; height: 18px; vertical-align: -3px; }
.bigcard__qr{ width: 206px; margin: 22px auto; padding: 12px; background: var(--crema); border-radius: var(--r); }
.bigcard__qr svg{ width: 100%; height: auto; display: block; }
.bigcard__b{ text-align: center; }
.bigcard__b b{ font-family: var(--head); font-size: 16px; text-transform: uppercase; }
.bigcard__b .small{ color: color-mix(in srgb, currentColor 70%, transparent); }
.bigcard__f{
  display: flex; justify-content: space-around; gap: 10px; margin-top: 18px; padding-top: 16px;
  border-top: 1.5px dashed color-mix(in srgb, currentColor 40%, transparent);
  font-size: 12px; text-transform: uppercase; font-family: var(--head); letter-spacing: .06em;
}
.bigcard__f b{ font-family: var(--display); font-size: 18px; display: block; letter-spacing: 0; }

/* =========================================================
   Profilo
   ========================================================= */

.prof{
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 16px; background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r);
  box-shadow: var(--sh-1);
}
.prof__av{
  width: 54px; height: 54px; border-radius: 50%; background: var(--rosso); color: var(--crema);
  display: grid; place-items: center; font-family: var(--display); font-size: 19px;
}
.prof .h2{ text-transform: uppercase; }

/* =========================================================
   La nostra pizza
   ========================================================= */

.lnp{
  background: none; color: var(--ink); text-align: center;
  padding: calc(var(--safe-t) + 14px) var(--pad) 26px; position: relative;
  max-width: 720px; margin: 0 auto;
}
.lnp__bar{
  display: grid; grid-template-columns: 42px 1fr 42px; align-items: center;
  margin-bottom: 10px;
}
.lnp__back{
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--crema-2); border: 1px solid var(--linea); color: var(--ink);
}
.lnp__gira{ display: grid; place-items: center; margin: 6px 0 18px; }
.lnp__logo{
  display: block; width: min(52vw, 210px); aspect-ratio: 1; background: var(--rosso);
  -webkit-mask: url(/assets/simbolo.svg) center / contain no-repeat;
  mask: url(/assets/simbolo.svg) center / contain no-repeat;
  animation: gira 26s linear infinite;
}
.lnp__eyebrow{ justify-content: center; }
.lnp__t{ font-family: var(--display); font-size: 28px; line-height: 1.1; margin-top: 8px; color: var(--rosso); }
.lnp__s{ font-size: 13px; color: var(--ink-2); margin-top: 12px; }

.numlist{ display: flex; flex-direction: column; gap: 10px; }
.numrow{
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 15px; background: var(--carta); border: 1px solid var(--linea); border-radius: var(--r);
}
.numrow__n{ font-family: var(--display); font-size: 20px; color: var(--crema-3); }
.numrow__b b{ font-family: var(--head); font-size: 14.5px; text-transform: uppercase; }
.numrow__ic{ color: var(--rosso); display: grid; place-items: center; }

/* =========================================================
   Sheet, overlay, toast
   ========================================================= */

.backdrop{
  position: fixed; inset: 0; background: rgba(32,28,25,.5); z-index: 60;
  animation: fadeIn .2s ease both;
}
@keyframes fadeIn{ from{ opacity: 0 } to{ opacity: 1 } }

.sheet{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 61;
  max-height: 88dvh; display: flex; flex-direction: column;
  background: var(--crema); border-radius: var(--r-xl) var(--r-xl) 0 0;
  border-top: 2px solid var(--ink);
  box-shadow: var(--sh-3); animation: sheetUp .26s cubic-bezier(.2,.8,.3,1) both;
  max-width: 720px; margin: 0 auto;
}
.sheet--full{ height: 88dvh; }
@keyframes sheetUp{ from{ transform: translateY(100%) } to{ transform: translateY(0) } }
.sheet__grab{ width: 40px; height: 4px; border-radius: 2px; background: var(--linea-2); margin: 9px auto 0; flex: none; }
.sheet__head{
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px var(--pad) 8px; flex: none;
}
.sheet__head .h2{ text-transform: uppercase; font-weight: 800; }
.sheet__body{ padding: 4px var(--pad) 20px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sheet__foot{
  padding: 12px var(--pad) calc(14px + var(--safe-b)); border-top: 1.5px solid var(--linea);
  background: var(--crema); flex: none;
}

.toast-root{
  position: fixed; left: 0; right: 0; bottom: calc(var(--tabh) + var(--safe-b) + 14px);
  z-index: 80; display: flex; flex-direction: column; align-items: center; gap: 8px;
  pointer-events: none; padding: 0 var(--pad);
}
.toast{
  display: flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 999px;
  background: var(--ink); color: var(--crema);
  font-family: var(--head); font-size: 12.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  box-shadow: var(--sh-2); animation: toastIn .24s cubic-bezier(.2,.8,.3,1) both; max-width: 100%;
}
.toast svg{ width: 17px; height: 17px; color: var(--senape); flex: none; }
.toast.out{ animation: toastOut .24s ease forwards; }
@keyframes toastIn{ from{ opacity: 0; transform: translateY(10px) } to{ opacity: 1; transform: none } }
@keyframes toastOut{ to{ opacity: 0; transform: translateY(8px) } }

/* =========================================================
   Adattamenti
   ========================================================= */

@media (min-width: 560px){
  .pcard__main{ grid-template-columns: 112px 1fr; }
  .display{ font-size: 33px; }
  .start .display{ font-size: 54px; }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------------------------------------------------------
   La gift card pronta da mandare: sta in fondo perché deve
   vincere sullo stile generale della card.
   --------------------------------------------------------- */

.card.card--regalo{
  display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center;
  padding: 26px 20px; background: var(--rosso); color: var(--crema); border-color: var(--rosso);
}
.card--regalo .eyebrow,
.card--regalo .small,
.card--regalo .tiny{ color: rgba(255,246,237,.82); }
.card--regalo .eyebrow::before{ background: var(--crema); }
.card--regalo .codice{
  font-family: var(--head); font-weight: 800; letter-spacing: .14em; font-size: 17px;
  padding: 8px 14px; border-radius: 10px; background: rgba(255,246,237,.18); margin: 6px 0;
}
