/* =========================================================
   POLLO POP — stile comic / pop art
   Mobile first. Palette: rosso + giallo + nero + crema.
   ========================================================= */

:root {
  --red: #E30613;
  --red-dark: #B3040F;
  --yellow: #FFD60A;
  --yellow-soft: #FFEE88;
  --black: #0A0A0A;
  --cream: #FFF8E7;
  --ink: #111;
  --white: #fff;

  --font-display: "Bangers", "Luckiest Guy", system-ui, sans-serif;
  --font-body: "Work Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --outline: 3px solid var(--black);
  --shadow-hard: 6px 6px 0 var(--black);
  --shadow-hard-sm: 4px 4px 0 var(--black);
  --radius: 14px;

  --container: 1100px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Tipografia comic ---------- */
.section-head {
  text-align: center;
  padding: 2.5rem 1rem 1.25rem;
}
.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 4.2rem);
  letter-spacing: 2px;
  color: var(--red);
  -webkit-text-stroke: 2px var(--black);
  text-shadow: 4px 4px 0 var(--yellow), 4px 4px 0 var(--black);
  line-height: 1;
}
.section-head__title--light { color: var(--yellow); text-shadow: 4px 4px 0 var(--black); }
.section-head__sub { margin-top: .5rem; color: #555; font-size: .95rem; }

/* ---------- Halftone pattern (sfondo puntinato) ---------- */
.halftone-bg {
  background-image: radial-gradient(circle, var(--black) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  background-position: 0 0;
  opacity: .12;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem;
  background: var(--red);
  border-bottom: var(--outline);
  color: var(--white);
}
.logo-mini__text {
  font-family: var(--font-display);
  font-size: 1.6rem; letter-spacing: 1px; line-height: 1;
  display: inline-block;
  color: var(--yellow);
  -webkit-text-stroke: 1.5px var(--black);
  text-shadow: 2px 2px 0 var(--black);
}
.logo-mini__text span { color: var(--white); margin-left: 3px; }

.nav-toggle {
  width: 42px; height: 42px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  background: var(--yellow); border: var(--outline); border-radius: 8px;
  padding: 0;
}
.nav-toggle span {
  width: 20px; height: 3px; background: var(--black); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--yellow);
  border-bottom: var(--outline);
  display: none;
  flex-direction: column;
  padding: .5rem 1rem 1rem;
}
.nav.is-open { display: flex; }
.nav a {
  font-family: var(--font-display);
  font-size: 1.6rem; letter-spacing: 1px;
  padding: .6rem 0;
  color: var(--black);
  border-bottom: 2px solid rgba(0,0,0,.15);
}
.nav a:last-child { border-bottom: none; }
.nav__cta {
  margin-top: .5rem;
  background: var(--red); color: var(--white)!important;
  text-align: center; border-radius: 8px; border: var(--outline);
  padding: .7rem!important; box-shadow: var(--shadow-hard-sm);
}

/* Desktop nav */
@media (min-width: 820px) {
  .nav-toggle { display: none; }
  .nav {
    position: static; display: flex; flex-direction: row; gap: 1.5rem;
    background: transparent; border: none; padding: 0;
  }
  .nav a { color: var(--white); border: none; padding: .3rem .5rem; }
  .nav a:hover { color: var(--yellow); }
  .nav__cta { background: var(--yellow); color: var(--black)!important; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: calc(100svh - 64px);
  padding: 2rem 1rem 3rem;
  background: var(--red);
  color: var(--white);
  overflow: hidden;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero__halftone {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--yellow) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: .25;
  pointer-events: none;
}

.hero__logo {
  width: min(95vw, 580px);
  margin: 0 auto 1rem;
  filter: drop-shadow(8px 8px 0 rgba(0,0,0,.7));
}
.starburst__shadow { fill: var(--black); }
.starburst__fill {
  fill: var(--yellow);
  stroke: var(--black);
  stroke-width: 4;
  stroke-linejoin: round;
}
.starburst__title {
  font-family: var(--font-display);
  font-size: 78px;
  fill: var(--red);
  stroke: var(--black);
  stroke-width: 2.2;
  paint-order: stroke fill;
  letter-spacing: 3px;
}
.starburst__title--red { fill: var(--red); }
.starburst__sub {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  fill: var(--black);
  letter-spacing: 0;
}

.hero__tag {
  font-size: 1.05rem;
  max-width: 520px;
  margin: .5rem auto 1.5rem;
  line-height: 1.35;
}
.hero__tag strong { color: var(--yellow); font-weight: 800; }

.hero__ctas {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center;
}

/* Bangs decorativi */
.hero__bangs { position: absolute; inset: 0; pointer-events: none; }
.bang {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  letter-spacing: 2px;
  padding: .4em .8em;
  border: var(--outline);
  border-radius: 999px;
  box-shadow: var(--shadow-hard-sm);
  transform: rotate(-8deg);
}
.bang--yellow { background: var(--yellow); color: var(--black); }
.bang--red { background: var(--red); color: var(--yellow); border-color: var(--black); }
.bang--1 { top: 8%; left: 4%; transform: rotate(-14deg); }
.bang--2 { top: 14%; right: 4%; transform: rotate(12deg); }
.bang--3 { bottom: 14%; left: 6%; transform: rotate(-6deg); }

@media (max-width: 520px) {
  .bang--1 { top: 4%; font-size: 1.2rem; }
  .bang--2 { top: 6%; font-size: 1.2rem; }
  .bang--3 { display: none; }
}

.hero__scroll {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  font-size: 1.8rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--yellow); color: var(--black);
  border: var(--outline); border-radius: 50%;
  animation: bounce 1.6s infinite;
}
@keyframes bounce {
  0%,100% { transform: translate(-50%, 0); }
  50%     { transform: translate(-50%, -8px); }
}

/* =========================================================
   BOTTONI
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display);
  font-size: 1.35rem; letter-spacing: 1.5px;
  padding: .75rem 1.4rem;
  border: var(--outline); border-radius: 10px;
  box-shadow: var(--shadow-hard-sm);
  transition: transform .12s ease, box-shadow .12s ease;
  text-align: center;
}
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--black); }
.btn--red { background: var(--red); color: var(--white); }
.btn--yellow { background: var(--yellow); color: var(--black); }
.btn--ghost { background: var(--white); color: var(--black); }
.btn--block { display: flex; width: 100%; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--yellow);
  border-top: var(--outline);
  border-bottom: var(--outline);
  overflow: hidden;
  padding: .6rem 0;
}
.marquee__track {
  display: flex; gap: 2rem;
  font-family: var(--font-display);
  font-size: 1.6rem; letter-spacing: 2px;
  color: var(--black);
  white-space: nowrap;
  animation: scroll-left 24s linear infinite;
}
.marquee__track span { flex: none; }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   CHI SIAMO
   ========================================================= */
.about {
  background: var(--cream);
  border-top: var(--outline);
  border-bottom: var(--outline);
  padding: 1rem 0 2rem;
  background-image: radial-gradient(circle, rgba(227,6,19,.12) 1.4px, transparent 1.4px);
  background-size: 18px 18px;
}
.about__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}
.about__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .about__grid { grid-template-columns: 1.1fr 1fr; align-items: center; }
}
.about__text {
  background: var(--white);
  border: var(--outline); border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  padding: 1.4rem;
}
.about__lead {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-top: 0;
}
.about__lead strong { color: var(--red); }
.about__text p { margin: 0 0 .8rem; }
.about__text p:last-child { margin-bottom: 0; }

.about__pillars {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr 1fr;
}
.about__pillars li {
  background: var(--yellow);
  border: var(--outline); border-radius: var(--radius);
  box-shadow: var(--shadow-hard-sm);
  padding: 1rem .9rem;
  position: relative;
  overflow: hidden;
}
.about__pillars strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem; letter-spacing: 1px;
  color: var(--red);
  -webkit-text-stroke: 1px var(--black);
  line-height: 1;
  margin: .35rem 0 .2rem;
}
.about__pillars span:not(.pillar__bang) {
  display: block;
  font-size: .82rem; color: #333;
  line-height: 1.35;
}
.pillar__bang {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .85rem; letter-spacing: 1px;
  background: var(--red); color: var(--yellow);
  padding: .2rem .5rem;
  border: 2px solid var(--black);
  border-radius: 999px;
  transform: rotate(-6deg);
}

/* =========================================================
   BESTSELLER CARDS
   ========================================================= */
.bestsellers {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.cards {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 880px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--yellow); }

.card__img {
  aspect-ratio: 1 / 1;
  background: #f3f3f3;
  border-bottom: 3px solid var(--black);
  overflow: hidden;
}
.card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.card__body {
  padding: .9rem 1rem 1rem;
  display: flex; flex-direction: column; gap: .4rem;
  flex: 1;
}
.card__body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--red);
  -webkit-text-stroke: 1.2px var(--black);
  line-height: 1.1;
}
.card__body p {
  margin: 0;
  font-size: .9rem;
  color: var(--black);
  line-height: 1.4;
  flex: 1;
}
.card__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: .5rem;
  border-top: 1px dashed rgba(0,0,0,.15);
}
.card__cta {
  font-family: var(--font-display);
  font-size: 1rem; letter-spacing: 1px;
  background: var(--yellow); color: var(--black);
  padding: .35rem .7rem;
  border: 2px solid var(--black);
  border-radius: 6px;
  box-shadow: 3px 3px 0 var(--black);
  transition: transform .12s ease, box-shadow .12s ease;
}
.card__cta:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--black); }

/* =========================================================
   MENU
   ========================================================= */
.menu {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}

.menu__list { display: flex; flex-direction: column; gap: .9rem; }

.cat {
  background: var(--white);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}
.cat__head {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  background: var(--yellow);
  border-bottom: 3px solid transparent;
}
.cat__head::-webkit-details-marker { display: none; }
.cat[open] .cat__head { border-bottom-color: var(--black); }

.cat__name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5vw, 1.9rem);
  letter-spacing: 1.5px;
  color: var(--red);
  -webkit-text-stroke: 1.2px var(--black);
  flex: 1;
}
.cat__badge {
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 800;
  background: var(--red); color: var(--white);
  padding: .25rem .5rem;
  border-radius: 999px;
  border: 2px solid var(--black);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.cat__icon {
  font-family: var(--font-display);
  font-size: 1.8rem;
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--red); color: var(--yellow);
  border: var(--outline); border-radius: 50%;
  transition: transform .25s ease;
}
.cat[open] .cat__icon { transform: rotate(45deg); }

.cat__items { padding: .4rem 1.1rem 1rem; }
.cat__items li {
  display: flex; gap: .8rem; align-items: center;
  padding: .65rem 0;
  border-bottom: 1px dashed rgba(0,0,0,.15);
}
.cat__items li:last-child { border-bottom: none; }
.cat__items li > div { flex: 1; min-width: 0; }
.cat__items strong { display: block; font-weight: 800; font-size: 1rem; line-height: 1.25; }
.cat__items span {
  display: block;
  font-size: .88rem; color: var(--black);
  margin-top: .2rem;
  max-width: 34ch;
  line-height: 1.4;
}

.thumb {
  flex: none;
  width: 64px; height: 64px;
  object-fit: cover;
  border: 2px solid var(--black);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--black);
  background: #f0f0f0;
}
@media (min-width: 560px) {
  .thumb { width: 80px; height: 80px; }
}
.price {
  font-family: var(--font-display);
  font-size: 1.55rem; letter-spacing: .5px;
  color: var(--red);
  -webkit-text-stroke: 1.2px var(--black);
  flex: none;
  white-space: nowrap;
}

.menu__note {
  margin-top: 2rem; text-align: center;
  font-size: .8rem; color: #777;
  padding: 0 1rem;
}

/* =========================================================
   RECENSIONI
   ========================================================= */
.reviews {
  background: var(--yellow);
  border-top: var(--outline);
  border-bottom: var(--outline);
  padding: 2rem 1rem 3rem;
  position: relative;
}
.reviews::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--black) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: .08;
  pointer-events: none;
}
.reviews > * { position: relative; }

.reviews__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .reviews__grid { grid-template-columns: 1fr 1fr 1fr; } }

.quote {
  background: var(--white);
  border: var(--outline); border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  padding: 1.2rem 1.3rem;
  margin: 0;
  position: relative;
}
.quote::before {
  content: "“";
  position: absolute; top: -22px; left: 14px;
  font-family: var(--font-display);
  font-size: 5rem; line-height: 1;
  color: var(--red);
  -webkit-text-stroke: 2px var(--black);
}
.quote blockquote {
  margin: 0 0 .6rem; font-size: .98rem; line-height: 1.45;
}
.quote figcaption {
  font-weight: 800; font-size: .85rem; color: #555;
}

/* =========================================================
   FORM RECENSIONI
   ========================================================= */
.review-form-wrap {
  max-width: 640px;
  margin: 2.5rem auto 0;
  padding: 0 1rem;
}
.review-form__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  letter-spacing: 2px;
  color: var(--red);
  -webkit-text-stroke: 2px var(--black);
  text-shadow: 3px 3px 0 var(--yellow);
  text-align: center;
  margin-bottom: 1rem;
}
.review-form {
  background: var(--white);
  border: var(--outline); border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  padding: 1.3rem 1.2rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.review-form__field {
  display: flex; flex-direction: column; gap: .35rem;
}
.review-form__field > span {
  font-family: var(--font-display);
  font-size: 1rem; letter-spacing: 1px;
  color: var(--black);
}
.review-form input[type="text"],
.review-form textarea {
  width: 100%;
  padding: .7rem .9rem;
  background: #fff8e7;
  border: 2px solid var(--black);
  border-radius: 8px;
  font: inherit; font-size: 1rem;
}
.review-form input[type="text"]:focus,
.review-form textarea:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 1px;
}
.review-form textarea { resize: vertical; min-height: 90px; }

/* Star rating — radio invertito per hover trick */
.rating-stars {
  display: inline-flex; flex-direction: row-reverse; justify-content: flex-end;
  gap: .15rem;
  font-size: 2rem;
  width: fit-content;
}
.rating-stars input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.rating-stars label {
  cursor: pointer;
  color: #ddd;
  transition: color .12s ease, transform .12s ease;
  line-height: 1;
  user-select: none;
}
.rating-stars label:hover,
.rating-stars label:hover ~ label,
.rating-stars input:checked ~ label { color: #FFC700; }
.rating-stars input:focus-visible + label { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 3px; }
.rating-stars label:active { transform: scale(1.15); }

.cf-turnstile { align-self: center; min-height: 65px; }

.review-form__status {
  margin: 0;
  font-weight: 700;
  text-align: center;
  min-height: 1.2em;
  font-size: .95rem;
}
.review-form__status--ok  { color: #16a34a; }
.review-form__status--err { color: var(--red); }

/* =========================================================
   ORDINA (delivery)
   ========================================================= */
.order {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 3rem 1rem 4rem;
  overflow: hidden;
  text-align: center;
}
.order::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--yellow) 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  opacity: .08;
}
.order > * { position: relative; z-index: 1; }

.bang--big {
  display: inline-block;
  font-size: clamp(2rem, 8vw, 3.5rem);
  margin-bottom: .75rem;
  transform: rotate(-6deg);
}

.order__sub { color: #ccc; margin-bottom: 1.5rem; }

.order__grid {
  display: grid; gap: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

.platform {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 1.3rem;
  background: var(--white); color: var(--black);
  border: var(--outline); border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  font-family: var(--font-display);
  font-size: 1.7rem; letter-spacing: 1.5px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.platform:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--yellow); }
.platform:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--black); }
.platform__arrow { font-size: 2rem; }

.platform--deliveroo { background: #00CCBC; color: var(--white); }
.platform--justeat   { background: #FF8000; color: var(--white); }
.platform--glovo     { background: #FFC244; color: var(--black); }

/* =========================================================
   DOVE SIAMO
   ========================================================= */
.dove {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}
.dove__grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .dove__grid { grid-template-columns: 1fr 1.2fr; align-items: stretch; }
}

.dove__info {
  background: var(--yellow);
  border: var(--outline); border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  padding: 1.3rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.dove__addr { font-size: 1.05rem; line-height: 1.4; margin: 0; }
.dove__hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .35rem .75rem;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 10px;
  padding: .8rem 1rem;
  margin: 0;
  font-weight: 600;
}
.dove__hours dt { font-weight: 800; }
.dove__hours dd { margin: 0; }

.dove__map {
  border: var(--outline); border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
  min-height: 300px;
  background: #eee;
}
.dove__map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}
.faq__list { display: flex; flex-direction: column; gap: .7rem; }
.faq-item {
  background: var(--white);
  border: var(--outline); border-radius: var(--radius);
  box-shadow: var(--shadow-hard-sm);
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  padding: 1rem 1.1rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.25rem; letter-spacing: .8px;
  color: var(--black);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.8rem; line-height: 1;
  color: var(--red); transition: transform .25s ease;
  font-family: var(--font-display);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0; padding: 0 1.1rem 1.1rem;
  font-size: .95rem; line-height: 1.45;
}
.faq-item a { color: var(--red); font-weight: 800; text-decoration: underline; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--red);
  color: var(--white);
  padding: 2rem 1rem 1.2rem;
  border-top: var(--outline);
}
.footer__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 1.3rem; letter-spacing: 1px;
  color: var(--yellow);
  -webkit-text-stroke: 1px var(--black);
  margin-bottom: .4rem;
}
.footer__col p { margin: 0 0 .4rem; font-size: .92rem; line-height: 1.4; }
.footer__col a { color: var(--white); text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; }
.footer__col a:hover { color: var(--yellow); }

.footer__logo {
  font-family: var(--font-display);
  font-size: 2.2rem; letter-spacing: 1.5px;
  color: var(--yellow);
  -webkit-text-stroke: 1.5px var(--black);
  text-shadow: 3px 3px 0 var(--black);
  line-height: 1;
}
.footer__logo span { color: var(--white); margin-left: 4px; }
.footer__tag { margin: .3rem 0 0; font-size: .95rem; }

.footer__bar {
  max-width: var(--container);
  margin: 1.8rem auto 0;
  padding: 1rem 0 0;
  border-top: 2px dashed rgba(255,255,255,.25);
  display: flex; flex-direction: column; gap: .5rem;
  text-align: center;
  font-size: .82rem; opacity: .9;
}
@media (min-width: 720px) {
  .footer__bar { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer__links a { color: var(--yellow); margin: 0 .2rem; }

/* =========================================================
   PAGINA ALLERGENI
   ========================================================= */
.allergens {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}
.allergens__warn {
  background: var(--yellow);
  border: var(--outline); border-radius: var(--radius);
  box-shadow: var(--shadow-hard-sm);
  padding: 1rem 1.1rem;
  margin-bottom: 1.5rem;
  font-size: .95rem; line-height: 1.5;
}
.allergens__h {
  font-family: var(--font-display);
  font-size: 1.8rem; letter-spacing: 1px;
  color: var(--red);
  -webkit-text-stroke: 1.2px var(--black);
  margin: 2rem 0 .8rem;
}
.legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .4rem .8rem;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  font-size: .88rem;
}
.legend li b {
  display: inline-block;
  min-width: 28px;
  background: var(--red); color: var(--white);
  text-align: center;
  padding: .1rem .3rem;
  border-radius: 5px;
  font-weight: 800;
  margin-right: .4rem;
}
.allergens__legend-note {
  margin: .8rem 0 0;
  font-size: .85rem; color: #555;
}
.allergens__table-wrap {
  overflow-x: auto;
  border: 2px solid var(--black);
  border-radius: 10px;
  background: var(--white);
}
.allergens__table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.allergens__table th, .allergens__table td {
  padding: .6rem .75rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.allergens__table th {
  background: var(--red); color: var(--white);
  font-family: var(--font-display); letter-spacing: .5px;
  position: sticky; top: 0;
}
.allergens__table td:not(:first-child) { text-align: center; font-weight: 700; }
.allergens__table tbody tr:nth-child(even) { background: #fff8e7; }
.allergens__final {
  background: var(--white);
  border: var(--outline); border-radius: var(--radius);
  box-shadow: var(--shadow-hard-sm);
  padding: 1rem 1.1rem;
  margin-top: 2rem;
  font-size: .9rem;
}

/* =========================================================
   PAGINE LEGAL (privacy, cookie)
   ========================================================= */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}
.legal__wrap {
  background: var(--white);
  border: var(--outline); border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  padding: 1.5rem 1.3rem 2rem;
}
.legal__update { font-size: .8rem; color: #777; margin: 0 0 1.5rem; }
.legal h2 {
  font-family: var(--font-display);
  font-size: 1.4rem; letter-spacing: .8px;
  color: var(--red);
  -webkit-text-stroke: 1px var(--black);
  margin: 1.8rem 0 .5rem;
  line-height: 1.1;
}
.legal h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 1rem 0 .4rem;
}
.legal p, .legal li { font-size: .93rem; line-height: 1.55; margin-bottom: .5rem; }
.legal ul { padding-left: 1.3rem; margin-bottom: .8rem; }
.legal a { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--red-dark); }
.legal code {
  background: var(--yellow-soft);
  padding: .1rem .35rem;
  border-radius: 4px;
  font-size: .88em;
  border: 1px solid rgba(0,0,0,.15);
}
.legal__back {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 1.1rem; letter-spacing: .8px;
  color: var(--red);
  text-decoration: none;
}
.legal__back:hover { color: var(--red-dark); }

/* =========================================================
   404
   ========================================================= */
.page404 {
  min-height: 100svh;
  background: var(--red);
  color: var(--white);
  padding: 2rem 1rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  position: relative;
  background-image: radial-gradient(circle, var(--yellow) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
}
.page404__bang { margin-bottom: 1.5rem; }
.page404__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 28vw, 14rem);
  color: var(--yellow);
  -webkit-text-stroke: 4px var(--black);
  text-shadow: 10px 10px 0 var(--black);
  line-height: .9;
  margin: 0;
}
.page404__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  letter-spacing: 1px;
  margin: 1rem 0 .5rem;
  line-height: 1.2;
}
.page404__sub { font-size: 1rem; opacity: .9; margin-bottom: 2rem; max-width: 420px; }
.page404__ctas {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center;
}

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 1rem; left: 1rem; right: 1rem;
  z-index: 100;
  background: var(--white);
  border: var(--outline); border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--black);
  padding: 1rem 1.1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .25s ease, transform .25s ease;
}
.cookie-banner.is-visible { opacity: 1; transform: none; }

.cookie-banner__inner {
  display: flex; flex-direction: column; gap: .8rem;
}
@media (min-width: 780px) {
  .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; max-width: 560px; }
  .cookie-banner__inner { flex-direction: row; align-items: center; }
}
.cookie-banner__text { flex: 1; }
.cookie-banner__text strong {
  font-family: var(--font-display);
  font-size: 1.15rem; letter-spacing: .5px;
  color: var(--red);
  -webkit-text-stroke: 1px var(--black);
  display: block;
  margin-bottom: .2rem;
}
.cookie-banner__text p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.4;
}
.cookie-banner__text a { color: var(--red); font-weight: 700; text-decoration: underline; }
.cookie-banner__ctas {
  display: flex; gap: .5rem; flex-wrap: wrap;
}
.cookie-banner__ctas .btn { font-size: 1rem; padding: .5rem 1rem; flex: 1; min-width: 120px; }
@media (min-width: 780px) {
  .cookie-banner__ctas { flex-direction: column; }
  .cookie-banner__ctas .btn { flex: none; min-width: 140px; }
}

/* =========================================================
   Accessibility helpers
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms!important; transition-duration: .01ms!important; scroll-behavior: auto!important; }
  .hero__scroll, .marquee__track { animation: none!important; }
}
