/* Itali Pizza — estilo Kentucky (kentucky.com.ar) con la paleta de Itali.
   Franjas de color sólido con bordes de papel rasgado, medalla del logo colgando arriba,
   titulares condensados a mano en mayúsculas. Colores: tomate, albahaca, madera oscura y mozzarella.
   Titan One (logo) + Londrina Solid (titulares) + Oswald (etiquetas) + Figtree (texto largo).
   El diseño anterior quedó en respaldo-diseno-anterior/. */
:root {
    --white: #ffffff;
    --mozz: #fbf7f0;           /* fondo: mozzarella */
    --flour: #f3ece0;          /* secciones alternas: harina sobre la mesa */
    --green: #2f8a3a;          /* albahaca */
    --green-dk: #236b2c;
    --flag-g: #009246;         /* bandera: solo acentos */
    --flag-r: #ce2b37;
    --red: #c8372d;            /* tomate */
    --red-dk: #9e2620;
    --wood: #3b2416;
    --wood-2: #24150d;
    --basil: #2b1d14;          /* texto principal: café tostado */
    --basil-2: #6b5646;        /* texto secundario */
    --cheese: #f2b544;
    --mint: #f3ece0;
    --line: #e6dccb;
    --f-hand: 'Kalam', 'Comic Sans MS', cursive;
    --f-display: 'Londrina Solid', 'Oswald', Impact, sans-serif;   /* titulares condensados a mano (estilo Kentucky) */
    --f-cond: 'Oswald', 'Arial Narrow', sans-serif;                 /* etiquetas, botones y textos cortos */
    --f-stamp: var(--f-display);
    /* Textura de sello/tinta para los titulares (máscara de ruido) */
    --grunge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.09' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -40 28.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    --wood-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2200' height='1000'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.005 0.11' numOctaves='4' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.09  0 0 0 0 0.04  0 0 0 0 0.02  0 0 0 1.4 -0.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
    --wood-bg: var(--wood-grain), radial-gradient(ellipse 80% 60% at 70% 20%, rgba(255, 150, 70, .16), transparent 70%), linear-gradient(180deg, #4a2d1c, #2e1b11);

    --f-brand: 'Titan One', 'Arial Black', sans-serif;
    --f-text: 'Figtree', system-ui, sans-serif;
    --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--mozz); color: var(--basil); font: 17px/1.55 var(--f-text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.has-cart { padding-bottom: 96px; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--cheese); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 22px; border: 0; border-radius: 4px 9px 5px 8px; text-decoration: none;
    font: 600 16px/1.1 var(--f-cond); text-transform: uppercase; letter-spacing: .05em; transition: transform .12s ease, background .15s ease, color .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 0 var(--green-dk); }
.btn-green:hover { background: #359a41; }
.btn-tomato { background: var(--red); color: #fff; box-shadow: 0 6px 0 var(--red-dk); }
.btn-tomato:hover { background: #d6402f; }
.btn-tomato:active { box-shadow: 0 2px 0 var(--red-dk); transform: translateY(4px); }
.btn-green:active { box-shadow: 0 2px 0 var(--green-dk); transform: translateY(4px); }
.btn-ghost { background: #fff; color: var(--basil); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--basil); }
.btn-white { background: #fff; color: var(--red); box-shadow: 0 6px 0 rgba(0,0,0,.18); }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Logotipo (recreado del IG) ---------- */
.wm-itali, .mini-mark {
    font-family: var(--f-brand); letter-spacing: .01em;
    -webkit-text-stroke: .06em #fff; paint-order: stroke fill;
}
.wm-itali b { font-weight: 400; }
.g { color: var(--flag-g); }
.w { color: #fff; }
.r { color: var(--flag-r); }
.w { -webkit-text-stroke-color: var(--wood-2); }
.h-hand { display: block; font: 300 .55em/1 var(--f-display); letter-spacing: .02em; text-transform: uppercase; margin-bottom: .04em; }
.h2 { margin: 0; font: 400 clamp(44px, 9vw, 64px)/.9 var(--f-display); text-transform: uppercase; color: var(--basil); }
.lead { margin: 10px 0 0; max-width: 46ch; color: var(--basil-2); font-size: 18px; }

/* Línea tricolor fina (acento de bandera) */
.flagline { display: grid; grid-template-columns: repeat(3, 1fr); height: 6px; }
.flagline i:nth-child(1) { background: var(--flag-g); }
.flagline i:nth-child(2) { background: #fff; }
.flagline i:nth-child(3) { background: var(--flag-r); }

/* ================= PORTADA (estilo Kentucky con la paleta de Itali) =================
   Franjas de color sólido unidas con papel rasgado: crema (mozzarella), rojo (tomate),
   madera oscura (el "negro" de Kentucky) y verde (albahaca). Titulares condensados a mano. */

/* Textura de tinta/sello sobre los titulares grandes */
.hero-title, .lonja-word, .band-title, .crave-title, .house-title, .social-title, .mhead-title h1, .cat-head h2 {
    -webkit-mask: var(--grunge) 0 0 / 240px 240px; mask: var(--grunge) 0 0 / 240px 240px;
}

/* ---------- Barra superior + medalla del logo ---------- */
.kbar {
    position: absolute; top: 0; left: 0; right: 0; z-index: 30; pointer-events: none;
    display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter) 0;
}
.kbar > * { pointer-events: auto; }
.burger {
    position: relative; z-index: 45; width: 48px; height: 48px; padding: 12px 10px; border: 0; background: transparent;
    display: grid; align-content: center; gap: 6px;
}
.burger i { display: block; height: 3px; border-radius: 2px; background: #fff; transition: transform .25s ease, opacity .2s ease; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.kbar-cta, .kbar-back {
    padding: 8px 16px; border-radius: 4px 8px 5px 9px; text-decoration: none; color: #fff;
    font: 600 15px/1 var(--f-cond); text-transform: uppercase; letter-spacing: .06em;
    background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); backdrop-filter: blur(4px);
}
.kbar-cta:hover, .kbar-back:hover { background: rgba(255,255,255,.22); }

/* Medalla: el logo del IG (pizarra oscura, ITALI tricolor y "– PIZZA –") colgando del borde */
.badge {
    --bw: clamp(148px, 30vw, 200px);
    position: absolute; left: 50%; top: 0; z-index: 31; translate: -50% 0;
    width: var(--bw); height: calc(var(--bw) * .66); border-radius: 0 0 999px 999px;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: calc(var(--bw) * .1);
    background: var(--wood-grain), var(--wood-2); text-decoration: none; overflow: hidden;
    box-shadow: 0 10px 26px rgba(0,0,0,.35), inset 0 -4px 0 rgba(255,255,255,.06);
    transition: height .25s cubic-bezier(.3, 1.4, .5, 1);
}
.badge:hover { height: calc(var(--bw) * .7); }
.badge-leaf { position: absolute; width: 46%; top: -4%; right: -12%; transform: rotate(150deg) scaleY(-1); opacity: .95; pointer-events: none; }
.badge-mark {
    position: relative; font: 400 calc(var(--bw) * .25)/.9 var(--f-brand); letter-spacing: .01em;
    -webkit-text-stroke: .06em #fff; paint-order: stroke fill;
}
.badge-mark b { font-weight: 400; }
.badge-mark .w { -webkit-text-stroke-color: var(--wood-2); color: #fff; }
.badge-sub {
    position: relative; display: inline-flex; align-items: center; gap: .45em; margin-top: .25em;
    font: 700 calc(var(--bw) * .085)/1 var(--f-hand); color: var(--flag-r); letter-spacing: .2em; text-transform: uppercase;
    padding-left: .2em; -webkit-text-stroke: .08em #fff; paint-order: stroke fill;
}
.badge-sub::before, .badge-sub::after { content: ''; width: .8em; height: .2em; border-radius: 3px; background: var(--flag-r); box-shadow: 0 0 0 .07em #fff; }

/* Panel del menú hamburguesa */
.navpanel {
    position: fixed; inset: 0; z-index: 44; display: flex; flex-direction: column; justify-content: center;
    padding: 100px var(--gutter) 40px; background: var(--wood-grain), var(--red); color: #fff;
    clip-path: circle(0 at 40px 40px); transition: clip-path .35s cubic-bezier(.6, 0, .3, 1);
}
.navpanel.is-open { clip-path: circle(150% at 40px 40px); }
.nav-open body { overflow: hidden; }
.nav-open .burger { position: fixed; top: 18px; left: var(--gutter); }
/* La barra tiene su propio nivel (z-index 30): con el panel abierto sube por encima de él para que se vea la ✕,
   y se esconde lo demás de la barra (medalla y botón "Menú") */
.nav-open .kbar { z-index: 46; }
.nav-open .kbar > :not(.burger) { visibility: hidden; }
/* Con el panel abierto se cierra con el botón "✕ Cerrar" del propio panel; la hamburguesa se esconde para no duplicar */
.nav-open .burger { visibility: hidden; }
.burger::after {
    content: 'Cerrar'; position: absolute; left: 100%; top: 50%; translate: 0 -50%; margin-left: 4px;
    font: 600 15px/1 var(--f-cond); text-transform: uppercase; letter-spacing: .08em; color: #fff;
    opacity: 0; pointer-events: none; transition: opacity .2s;
}
.burger[aria-expanded="true"]::after { opacity: 1; }
.navpanel-close {
    position: absolute; top: 18px; right: var(--gutter); display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 8px 16px; border: 0; border-radius: 4px 8px 5px 9px; cursor: pointer; color: #fff;
    font: 600 16px/1 var(--f-cond); text-transform: uppercase; letter-spacing: .08em;
    background: rgba(0,0,0,.18); box-shadow: inset 0 0 0 2px rgba(255,255,255,.45);
}
.navpanel-close span { font-size: 20px; line-height: 1; }
.navpanel-close:hover, .navpanel-close:focus-visible { background: rgba(0,0,0,.32); }
.navpanel ul { list-style: none; margin: 0 auto; padding: 0; width: 100%; max-width: 640px; }
.navpanel li + li { border-top: 2px dashed rgba(255,255,255,.3); }
.navpanel ul a {
    display: block; padding: 10px 0; text-decoration: none;
    font: 400 clamp(38px, 9vw, 60px)/1 var(--f-display); text-transform: uppercase;
}
.navpanel ul a:hover { color: var(--cheese); }
.navpanel-foot { display: flex; gap: 20px; margin: 28px auto 0; width: 100%; max-width: 640px; font: 600 16px var(--f-cond); text-transform: uppercase; letter-spacing: .06em; }
.navpanel-foot a { color: #fff; }

/* ---------- Portada a pantalla completa ---------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center;
    min-height: min(100svh, 940px); padding: 150px var(--gutter) 90px;
    background: var(--wood-2); color: #fff; text-align: center;
}
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(ellipse 70% 60% at 50% 48%, rgba(24,14,8,.5), rgba(24,14,8,.82) 75%),
                linear-gradient(180deg, rgba(24,14,8,.55), transparent 30%);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; display: grid; place-items: center; overflow: hidden; }
.hero-bg-spin { width: max(125vw, 140vh); flex: none; will-change: transform; }
.hero-bg-spin svg { display: block; width: 100%; height: auto; filter: saturate(1.15); }
.hero-bg { animation: hero-zoom 1.6s cubic-bezier(.16, 1, .3, 1) both; }
.intro-on .hero-bg { animation-play-state: paused; }
@keyframes hero-zoom { from { transform: scale(1.18); filter: brightness(.4); } }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero.has-photo .hero-bg { display: none; }

.hero-in { position: relative; max-width: 900px; }
.hero-title {
    margin: 0; display: flex; flex-direction: column; align-items: center;
    font: 400 clamp(76px, 22vw, 176px)/.84 var(--f-display); text-transform: uppercase; letter-spacing: .005em;
    text-shadow: 0 8px 30px rgba(0,0,0,.45);
}
.ht-a i { font-style: normal; color: var(--flag-g); -webkit-text-stroke: .025em #fff; paint-order: stroke fill; }
.ht-b { font-size: .78em; }
.ht-b u { text-decoration: none; position: relative; display: inline-block; }
.ht-b u::after { content: ''; position: absolute; left: -.04em; right: -.04em; bottom: .02em; height: .1em; border-radius: 3px; background: var(--flag-r); transform: rotate(-2deg); }
.hero-sub { margin: 22px auto 0; max-width: 36ch; font: 400 clamp(18px, 2.4vw, 22px)/1.4 var(--f-cond); color: #f1e4d3; }
.hero .status { color: #e9d9c6; justify-content: center; }
.hero .status.is-open { color: #a6e3a1; }
.hero .status.is-open::before { background: #5fd35a; box-shadow: 0 0 0 4px rgba(95, 211, 90, .22); }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin: 26px auto 0; width: 100%; max-width: 340px; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; justify-content: center; max-width: none; } }
.hero .btn-ghost, .near .btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.45); }
.hero .btn-ghost:hover, .near .btn-ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
.hero-note { position: absolute; right: var(--gutter); bottom: 34px; margin: 0; color: #e9d9c6; }
.hero.torn-bottom { --torn-bottom: var(--mozz); }

.status { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; font: 500 15px/1.3 var(--f-cond); letter-spacing: .02em; color: var(--basil-2); }
.status::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #9aa89e; }
.status.is-open { color: var(--green-dk); }
.status.is-open::before { background: var(--green); box-shadow: 0 0 0 4px rgba(0, 146, 70, .18); }

/* ---------- Franjas cortas: palabra grande + sello ---------- */
.lonja { padding: 30px var(--gutter) 40px; background: var(--mozz); }
.lonja-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; text-decoration: none; text-align: center; }
.lonja-word { margin: 0; font: 400 clamp(42px, 9vw, 76px)/.95 var(--f-display); text-transform: uppercase; color: var(--red); }
.lonja-on-dark .lonja-word { color: #fff; }
.stamp {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 12px;
    font: 400 clamp(26px, 5vw, 36px)/1 var(--f-display); text-transform: uppercase; color: #fff;
    background: var(--wood-2); border-radius: 5px 12px 4px 10px; transform: rotate(-3deg);
    box-shadow: 0 5px 0 rgba(0,0,0,.2); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1);
}
.stamp svg { width: 1.35em; height: 1.35em; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.stamp-green { background: var(--green); box-shadow: 0 5px 0 var(--green-dk); }
.stamp-red { background: var(--red); box-shadow: 0 5px 0 var(--red-dk); }
.lonja-link:hover .stamp { transform: rotate(0) scale(1.06); }

/* ---------- La de la casa: bloque rojo ---------- */
.house {
    position: relative; overflow: hidden; padding: clamp(70px, 10vw, 120px) 0;
    background: radial-gradient(ellipse 60% 70% at 80% 40%, rgba(255,200,120,.16), transparent 70%), var(--red); color: #fff;
    --torn-top: var(--mozz); --torn-bottom: var(--wood-2);
}
.house::before, .house::after { z-index: 2; }
.house-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .house-grid { grid-template-columns: 1fr 1.05fr; gap: 40px; } }
.house-title { margin: 0; font: 400 clamp(56px, 14vw, 112px)/.86 var(--f-display); text-transform: uppercase; }
@media (min-width: 900px) { .house-title { font-size: clamp(72px, 7.6vw, 112px); } }
.house-title .h-hand { font-size: .38em; margin-bottom: .12em; color: #ffe2b8; }
.house-row { display: flex; align-items: center; gap: .14em; white-space: nowrap; }
.house-ico { flex: none; width: .78em; height: .78em; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-12deg); }
.house-desc { margin: 18px 0 22px; max-width: 40ch; font: 400 19px/1.45 var(--f-cond); color: #fff4e6; }
.house-prices { display: flex; gap: 10px; margin-bottom: 26px; }
.house-price {
    display: flex; flex-direction: column; align-items: center; min-width: 88px; padding: 10px 14px; border-radius: 5px 10px 4px 9px;
    text-decoration: none; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.45); transition: box-shadow .15s, background .15s;
}
.house-price:hover { box-shadow: inset 0 0 0 2px #fff; background: rgba(255,255,255,.1); }
.house-price span { font: 500 13px/1.2 var(--f-cond); text-transform: uppercase; letter-spacing: .06em; color: #ffe2b8; }
.house-price b { font: 400 30px/1.1 var(--f-display); }
.house-art { width: min(92%, 520px); justify-self: center; filter: drop-shadow(0 24px 34px rgba(60,10,5,.55)); }
.house-art svg { width: 100%; height: auto; transform-origin: 50% 50%; }
.house-art.is-waiting svg { opacity: 0; }
@media (min-width: 900px) { .house-art { margin-right: -60px; } }

/* ---------- Estamos en Socopó: franja oscura ---------- */
.near { position: relative; padding: 46px 0 clamp(60px, 9vw, 90px); background: var(--wood-grain), var(--wood-2); color: #fff; --torn-bottom: var(--wood-2); }
.near.torn-bottom::after { display: none; }
.loc { display: grid; gap: 24px; align-items: center; margin-top: 34px; }
@media (min-width: 900px) { .loc { grid-template-columns: 1fr 1.3fr; gap: 40px; } }
.near .lead { color: #f1e4d3; font: 400 20px/1.45 var(--f-cond); max-width: 34ch; margin: 0; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.loc-map { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px 12px 5px 10px; border: 4px solid #fff; transform: rotate(.8deg); box-shadow: 0 24px 40px -20px rgba(0,0,0,.7); }
.loc-map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Antójate: carrusel a todo lo ancho ---------- */
.crave {
    --slide: var(--red);
    position: relative; isolation: isolate; overflow: hidden; padding: 20px 0 clamp(70px, 9vw, 100px);
    background: var(--wood-grain), var(--wood-2); color: #fff; text-align: center;
}
.crave-band {
    position: absolute; inset: 22% 0 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.25)), var(--slide);
    clip-path: polygon(0 18%, 100% 0, 100% 82%, 0 100%); transition: background-color .6s ease;
}
.crave-title { margin: 0; display: flex; flex-direction: column; align-items: center; font: 400 clamp(84px, 21vw, 190px)/.82 var(--f-display); text-transform: uppercase; }
.ct-b { display: flex; align-items: center; gap: .18em; font: 900 .36em/1 var(--f-display); letter-spacing: .02em; }
.ct-b svg { width: 1.1em; height: 1.1em; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(14deg); }
.crave-foot { margin-top: 14px; }
.btn-stamp { transform: rotate(-2deg); font-size: 18px; padding: 15px 28px; }
.btn-stamp:hover { transform: rotate(0); }

.hero-slider { position: relative; z-index: 2; max-width: 560px; margin: 0 auto; padding: 0 var(--gutter); }
.hs-stage { position: relative; width: min(100%, 460px); margin: 4px auto 0; aspect-ratio: 1; display: grid; place-items: center; touch-action: pan-y; }
.hs-halo { position: absolute; inset: 5%; border-radius: 50%; background: rgba(255,255,255,.07); box-shadow: 0 0 0 16px rgba(255,255,255,.05); }
.hero-slider .hero-pizza { position: relative; z-index: 1; width: 80%; filter: drop-shadow(0 24px 34px rgba(0,0,0,.55)); }
.hs-pizza svg { display: block; width: 100%; height: auto; }
.hs-name {
    position: absolute; left: 50%; top: 52%; translate: -50% -50%; transform: rotate(-6deg); margin: 0; z-index: 2; pointer-events: none;
    font: 400 clamp(54px, 15vw, 104px)/1 var(--f-display); text-transform: uppercase; color: #fff; white-space: nowrap;
    text-shadow: 0 5px 0 rgba(0,0,0,.25), 0 16px 26px rgba(0,0,0,.5);
}
.hs-arrow {
    position: absolute; top: 50%; translate: 0 -50%; z-index: 3; display: grid; place-items: center;
    width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(20, 12, 8, .45); color: #fff; backdrop-filter: blur(4px); transition: background .15s, scale .15s;
}
.hs-arrow:hover { background: rgba(20, 12, 8, .7); }
.hs-arrow:active { scale: .92; }
.hs-arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.hs-prev { left: -6px; } .hs-next { right: -6px; }
@media (min-width: 900px) { .hs-prev { left: -40px; } .hs-next { right: -40px; } }
.hs-arrow:focus-visible, .hs-dots button:focus-visible, .hs-cta:focus-visible { outline: 3px solid var(--cheese); outline-offset: 3px; }
.hs-floats { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hs-float {
    position: absolute; display: grid; place-items: center; width: 62px; aspect-ratio: 1; border-radius: 50%;
    background: rgba(255,255,255,.14); box-shadow: 0 0 0 8px rgba(255,255,255,.06); backdrop-filter: blur(3px);
    animation: hs-bob 4.2s ease-in-out infinite;
}
.hs-float svg { width: 74%; height: 74%; overflow: visible; filter: drop-shadow(0 4px 4px rgba(0,0,0,.3)); }
.hs-float.f1 { top: 2%; left: 4%; }
.hs-float.f2 { top: 9%; right: 0; width: 52px; animation-delay: -1.2s; }
.hs-float.f3 { bottom: 6%; left: 0; width: 50px; animation-delay: -2.1s; }
.hs-float.f4 { bottom: 0; right: 8%; width: 58px; animation-delay: -3s; }
@keyframes hs-bob { 50% { translate: 0 -10px; } }
.hs-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin-top: 4px; }
.hs-price { font: 500 17px var(--f-cond); text-transform: uppercase; letter-spacing: .04em; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.35); }
.hs-price b { font: 400 34px/1 var(--f-display); margin-left: 2px; }
.hs-cta {
    display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 4px 9px 5px 8px;
    background: #fff; color: var(--wood-2); font: 600 15px/1 var(--f-cond); text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
    box-shadow: 0 8px 18px rgba(0,0,0,.28); transition: translate .15s;
}
.hs-cta::after { content: '→'; font-size: 18px; line-height: 1; }
.hs-cta:hover { translate: 0 -2px; }
.hs-dots { display: flex; justify-content: center; gap: 2px; margin-top: 12px; }
.hs-dots button { width: 30px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hs-dots button::before { content: ''; width: 9px; height: 9px; border-radius: 99px; background: rgba(255,255,255,.45); transition: width .3s, background .3s; }
.hs-dots button[aria-current="true"]::before { width: 24px; background: #fff; }
.crave .photo-note { color: #f1e4d3; }
@media (prefers-reduced-motion: reduce) { .hs-float { animation: none; } .crave-band { transition: none; } .hero-bg { animation: none; } }

/* ---------- Así se pide: bloque verde ---------- */
.how { position: relative; padding: clamp(70px, 10vw, 110px) 0; background: var(--green); color: #fff; --torn-top: var(--wood-2); --torn-bottom: var(--mozz); }
.how::before, .how::after { z-index: 2; }
.band-title { margin: 0; font: 400 clamp(56px, 12vw, 96px)/.86 var(--f-display); text-transform: uppercase; }
.band-title .h-hand { font-size: .45em; }
.how .band-title .h-hand { color: #d6f0d2; }
.band-title-red { color: var(--wood-2); }
.band-title-red .h-hand { color: var(--red); }
.steps { list-style: none; margin: 36px 0 34px; padding: 0; display: grid; gap: 28px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.steps li { position: relative; }
.steps h3 { margin: 0 0 4px; font: 400 32px/1 var(--f-display); text-transform: uppercase; }
.steps p { margin: 0; max-width: 32ch; font: 400 18px/1.4 var(--f-cond); }
.how .steps p { color: #e6f5e3; }
.step-ico { position: relative; display: inline-grid; place-items: center; width: 78px; height: 78px; margin-bottom: 12px;
            border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; background: #fff; color: var(--green-dk); transform: rotate(-4deg); }
.steps li:nth-child(2) .step-ico { color: var(--red); border-radius: 52% 48% 46% 54% / 48% 54% 46% 52%; transform: rotate(3deg); }
.steps li:nth-child(3) .step-ico { color: var(--wood); border-radius: 48% 52% 54% 46% / 54% 48% 52% 46%; }
.step-ico svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.step-ico b { position: absolute; top: -6px; right: -8px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
              background: var(--wood-2); color: #fff; font: 400 18px/1 var(--f-display); }

/* ---------- Te la llevamos: sellos redondos ---------- */
.block { padding: clamp(60px, 9vw, 96px) 0; }
#info { text-align: center; }
.info { display: grid; gap: 34px; margin: 38px 0 34px; }
@media (min-width: 760px) { .info { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.info-col { display: flex; flex-direction: column; align-items: center; }
.info-stamp {
    display: grid; place-items: center; width: 104px; height: 104px; margin-bottom: 14px; border-radius: 50%;
    background: var(--wood-grain), var(--wood-2); color: #fff; transform: rotate(-6deg);
    box-shadow: inset 0 0 0 5px var(--wood-2), inset 0 0 0 7px rgba(255,255,255,.75);
}
.info-col:nth-child(2) .info-stamp { background: var(--red); box-shadow: inset 0 0 0 5px var(--red), inset 0 0 0 7px rgba(255,255,255,.75); transform: rotate(5deg); }
.info-col:nth-child(3) .info-stamp { background: var(--green); box-shadow: inset 0 0 0 5px var(--green), inset 0 0 0 7px rgba(255,255,255,.75); }
.info-ico { width: 52px; height: 52px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.info-col h3 { margin: 0 0 4px; font: 600 15px/1 var(--f-cond); text-transform: uppercase; letter-spacing: .1em; color: var(--basil-2); }
.info-big { margin: 0 0 6px; font: 400 30px/1.05 var(--f-display); text-transform: uppercase; color: var(--wood-2); max-width: 16ch; }
.info-big a { text-decoration: none; }
.info-col p:not(.info-big):not(.status) { margin: 0; max-width: 30ch; color: var(--basil-2); font: 400 17px/1.4 var(--f-cond); }
.info-col .status { margin-top: 4px; }

/* ---------- Nuestras redes: franja roja ---------- */
.social { position: relative; padding: 56px 0 64px; background: var(--red); color: #fff; --torn-top: var(--mozz); }
.social-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 44px; }
.social-title { margin: 0; font: 400 clamp(46px, 9vw, 64px)/.88 var(--f-display); text-transform: uppercase; }
.social-title svg { display: inline-block; width: .7em; height: .7em; fill: #fff; stroke: #fff; stroke-width: 2; vertical-align: -.02em; }
.social-links { display: flex; gap: 22px; }
.social-links a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.social-links a:hover { transform: rotate(-6deg) scale(1.08); }
.social-links svg { width: 84px; height: 84px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.social-links span { font: 600 14px var(--f-cond); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Pie ---------- */
.kfoot { position: relative; background: var(--wood-grain), var(--wood-2); color: #f1e4d3; --torn-top: var(--red); }
.kfoot-in {
    max-width: 1180px; margin: 0 auto; padding: 70px var(--gutter) 0; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
.kfoot-side { margin: 0; font: 500 15px/1.3 var(--f-cond); text-transform: uppercase; letter-spacing: .08em; }
.kfoot-right { display: inline-flex; align-items: center; gap: 8px; }
.kfoot-right svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.kfoot-side a { color: #fff; text-decoration: none; }
.badge-foot { position: relative; left: auto; top: auto; translate: none; order: -1; height: var(--bw); border-radius: 50%; margin: 0 0 6px; padding-bottom: 0; justify-content: center; }
.badge-foot:hover { height: var(--bw); transform: rotate(-4deg); }
@media (min-width: 760px) {
    .kfoot-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; padding-top: 50px; }
    .kfoot-side { padding-bottom: 34px; text-align: left; }
    .kfoot-right { justify-self: end; }
    .badge-foot { order: 0; height: calc(var(--bw) * .82); border-radius: 999px 999px 0 0; margin: 0; padding-top: 8%; justify-content: center; }
    .badge-foot:hover { height: calc(var(--bw) * .86); transform: none; }
}

/* ================= MENÚ ================= */
.mhead { position: relative; background: var(--wood-grain), var(--wood-2); color: #fff; }
.kbar-menu { position: relative; height: 96px; padding-top: 0; align-items: center; }
.kbar-menu .badge { --bw: clamp(132px, 26vw, 176px); }
.mhead-title { position: relative; max-width: 1080px; margin: 0 auto; padding: 22px var(--gutter) 0; text-align: center; }
.mhead-title h1 { margin: 0; font: 400 clamp(64px, 15vw, 120px)/.85 var(--f-display); text-transform: uppercase; }
.mhead-title .h-hand { font-size: .4em; color: var(--cheese); }
.mhead .status { justify-content: center; color: #e9d9c6; }
.mhead .status.is-open { color: #a6e3a1; }
.mhead .status.is-open::before { background: #5fd35a; }
.mhead-note { max-width: 620px; margin: 0 auto; padding: 10px var(--gutter) 40px; text-align: center; color: #e9d9c6; font: 400 17px/1.45 var(--f-cond); }
.mhead-note.torn-bottom::after { left: calc(50% - 50vw); right: calc(50% - 50vw); }

.tabs {
    position: sticky; top: 0; z-index: 20; display: flex; gap: 8px;
    padding: 10px var(--gutter); background: rgba(251,247,240,.96); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none;
}
.page-menu .tabs { justify-content: center; }
.tabs a {
    flex: none; padding: 9px 16px; border-radius: 4px 9px 5px 8px; text-decoration: none;
    font: 600 15px/1.1 var(--f-cond); text-transform: uppercase; letter-spacing: .05em; color: var(--basil-2); background: var(--mint);
}
.tabs a[data-tab="clasicas"].is-active { background: var(--green); color: #fff; }
.tabs a[data-tab="premium"].is-active { background: var(--red); color: #fff; }
.tabs a[data-tab="base"].is-active { background: var(--wood); color: #fff; }

.mesa-banner {
    max-width: 1080px; margin: 14px auto 0; width: calc(100% - 2 * var(--gutter));
    padding: 12px 16px; border-radius: 14px; background: var(--cheese); font-weight: 800; text-align: center;
}

/* Sección con su color */
.cat { scroll-margin-top: 58px; }
.cat-head { position: relative; overflow: hidden; color: #fff; margin-top: 28px; background: var(--wood-grain), var(--wood-2); }
.cat-clasicas .cat-head { background: var(--green); }
.cat-premium .cat-head { background: radial-gradient(ellipse 60% 80% at 85% 50%, rgba(255,200,120,.16), transparent 70%), var(--red); }
.cat-head-inner { position: relative; max-width: 1080px; margin: 0 auto; padding: 46px var(--gutter) 48px; }
.cat-head h2 { margin: 0; font: 400 clamp(56px, 12vw, 92px)/.86 var(--f-display); text-transform: uppercase; }
.cat-head .h-hand { color: #fff; font-size: .42em; opacity: .9; }
.cat-premium .cat-head .h-big { color: #fff; }
.cat-head p { margin: 10px 0 0; max-width: 46ch; color: rgba(255,255,255,.88); font: 400 18px/1.4 var(--f-cond); }
.leaf-deco { position: absolute; right: -24px; top: 50%; width: 120px; transform: translateY(-50%) rotate(150deg); filter: drop-shadow(0 8px 10px rgba(0,0,0,.4)); pointer-events: none; }
@media (min-width: 900px) { .leaf-deco { right: var(--gutter); width: 140px; } }
.cat-premium .leaf-deco { transform: translateY(-50%) rotate(200deg) scaleY(-1); }

.board { max-width: 1080px; margin: 0 auto; padding: 4px var(--gutter) 12px; }
@media (min-width: 900px) { .cat:not(.cat-base) .board { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; } }

/* Fila de pizza */
.pizza { display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .pizza:nth-last-child(-n+2) { border-bottom: 0; } }
.board .pizza:last-child { border-bottom: 0; }
.pizza.is-target { animation: flash 1.6s ease .4s; border-radius: 16px; }
@keyframes flash { 20%, 60% { background: #fff6dd; box-shadow: 0 0 0 10px #fff6dd; } }
.pizza-art { width: 104px; aspect-ratio: 1; filter: drop-shadow(0 10px 12px rgba(20,48,31,.22)); }
.pizza-art svg { width: 100%; height: 100%; }
.pizza-art.is-pop { animation: pop .45s ease; }
@keyframes pop { 40% { transform: scale(1.1) rotate(16deg); } }
.pizza h3 { margin: 0; font: 400 34px/1 var(--f-display); text-transform: uppercase; }
.pizza-tag {
    display: inline-block; margin-left: 6px; padding: 3px 9px; border-radius: 999px; vertical-align: 4px;
    font: 800 12px/1.2 var(--f-text); background: var(--cheese); color: var(--basil);
}
.pizza-desc { margin: 2px 0 14px; color: var(--basil-2); font-size: 15.5px; }
.soldout { margin: 0; font-weight: 800; color: var(--red); }
.pizza.is-out .pizza-art { filter: grayscale(1); opacity: .5; }

/* Precios = botones */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 400px; }
.price-wrap { position: relative; }
.price-wrap .price { width: 100%; }
/* "−" para quitar una sin abrir el pedido: aparece solo cuando ese tamaño está en el pedido */
.price-minus {
    position: absolute; top: -11px; left: -7px; z-index: 1; display: grid; place-items: center;
    width: 30px; height: 30px; padding: 0 0 2px; border: 0; border-radius: 50%;
    background: #fff; color: var(--red); font: 800 22px/1 var(--f-text);
    box-shadow: 0 0 0 2px var(--red), 0 3px 8px -2px rgba(40,20,10,.35);
    animation: minus-in .2s ease;
}
.price-minus::before { content: ''; position: absolute; inset: -7px; } /* área de toque más grande */
.price-minus:hover { background: var(--red); color: #fff; }
.price-minus:active { transform: scale(.9); }
@keyframes minus-in { from { transform: scale(.4); opacity: 0; } }
.price {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px;
    padding: 8px 4px 9px; border-radius: 14px; border: 0; background: #fff;
    box-shadow: inset 0 0 0 2px var(--line); transition: background .15s, box-shadow .15s, transform .1s;
}
.price:hover { box-shadow: inset 0 0 0 2px var(--green); }
.cat-premium .price:hover { box-shadow: inset 0 0 0 2px var(--red); }
.price:active { transform: scale(.95); }
.price-size { font-size: 13px; font-weight: 700; color: var(--basil-2); }
.price-amt { font: 400 22px/1.1 var(--f-brand); color: var(--basil); }
.price-qty {
    position: absolute; top: -9px; right: -5px; display: none; min-width: 26px; height: 22px; padding: 0 6px;
    border-radius: 11px; background: var(--basil); color: #fff; font: 800 13px/22px var(--f-text);
}
.price.has-qty { background: var(--green); box-shadow: none; }
.cat-premium .price.has-qty { background: var(--red); }
.cat-base .price.has-qty { background: var(--wood); }
.cat-base .price.has-qty .price-qty { background: var(--red); }
.price.has-qty .price-size, .price.has-qty .price-amt { color: #fff; }
.price.has-qty .price-qty { display: block; }
.price:disabled { opacity: .4; cursor: not-allowed; }

/* Pídela como tú quieras */
.builder { display: grid; gap: 8px; padding: 24px 0 8px; }
.builder-art { width: 150px; margin: 0 auto; }
@media (min-width: 760px) {
    .builder { grid-template-columns: 220px 1fr; gap: 36px; align-items: center; }
    .builder-art { width: 220px; }
}
.step { display: flex; align-items: center; gap: 10px; margin: 16px 0 10px; font-weight: 800; }
.step span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--wood); color: #fff; font: 400 15px/1 var(--f-brand); }
.combos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 760px) { .combos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.combo { position: relative; }
.combo input { position: absolute; opacity: 0; pointer-events: none; }
.combo span {
    display: flex; align-items: center; height: 100%; padding: 11px 13px; border-radius: 14px; cursor: pointer;
    background: #fff; box-shadow: inset 0 0 0 2px var(--line); font-weight: 700; font-size: 15px;
}
.combo input:checked + span { background: var(--wood); color: #fff; box-shadow: none; }
.combo input:focus-visible + span { outline: 3px solid var(--cheese); outline-offset: 2px; }

.mfoot { margin-top: 48px; padding: 52px var(--gutter) 48px; text-align: center; background: var(--wood-grain), var(--wood-2); color: #e9d9c6; font: 500 15px/1.5 var(--f-cond); text-transform: uppercase; letter-spacing: .06em; }
.mfoot p { margin: 4px 0; }
.mfoot a { color: #fff; font-weight: 600; }

/* ---------- Barra del pedido ---------- */
.cartbar {
    position: fixed; z-index: 30; left: 50%; bottom: max(14px, env(safe-area-inset-bottom));
    transform: translateX(-50%); width: min(520px, calc(100% - 28px));
    display: flex; align-items: center; gap: 12px; padding: 9px 20px 9px 9px;
    border: 0; border-radius: 999px; background: var(--red); color: #fff;
    box-shadow: 0 6px 0 var(--red-dk), 0 18px 30px -12px rgba(40,20,10,.5); animation: rise .3s ease;
}
.cartbar-count { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--red-dk); font-weight: 800; }
.cartbar-label { flex: 1; text-align: left; font-weight: 800; }
.cartbar-total { font: 400 22px/1 var(--f-brand); }
@keyframes rise { from { transform: translate(-50%, 30px); opacity: 0; } }

/* ---------- Hoja del pedido ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(36, 21, 13, .55); opacity: 0; transition: opacity .25s; }
.sheet {
    position: fixed; z-index: 41; left: 50%; bottom: 0; width: min(540px, 100%); max-height: 92vh;
    display: flex; flex-direction: column; background: #fff; overflow: hidden;
    border-radius: 22px 22px 0 0; transform: translate(-50%, 100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.sheet::before { content: ''; flex: none; height: 6px; background: linear-gradient(90deg, var(--flag-g) 0 33.3%, #fff 33.3% 66.6%, var(--flag-r) 66.6%); }
.sheet-open .sheet { transform: translate(-50%, 0); }
.sheet-open .sheet-backdrop { opacity: 1; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 4px; }
.sheet-head h2 { margin: 0; font: 400 40px/1 var(--f-display); text-transform: uppercase; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--mint); }
.sheet-body { overflow-y: auto; padding: 0 20px calc(22px + env(safe-area-inset-bottom)); }

.lines { list-style: none; margin: 0 0 6px; padding: 0; }
.line { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line-art svg { width: 48px; height: 48px; }
.line-info b { display: block; line-height: 1.25; font-weight: 800; }
.line-info span { font-size: 14px; color: var(--basil-2); }
.qty { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--mint); }
.qty button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #fff; font-size: 18px; line-height: 1; }
.qty output { min-width: 22px; text-align: center; font-weight: 800; }
.empty { padding: 20px 0; text-align: center; color: var(--basil-2); }

.order-form { margin-top: 12px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 16px; padding: 0; border: 0; }
.seg legend { padding: 0; margin-bottom: 8px; font-weight: 800; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 11px 4px; border-radius: 999px; text-align: center; font-weight: 700; font-size: 15px; background: var(--mint); cursor: pointer; }
.seg input:checked + span { background: var(--wood); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--cheese); outline-offset: 2px; }
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; margin-bottom: 5px; font-weight: 800; font-size: 15px; }
.field em { font-weight: 400; color: var(--basil-2); }
.field input, .field textarea, .field select {
    width: 100%; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line);
    background: #fff; color: var(--basil); font: 16px/1.4 var(--f-text); resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); }

.locate { margin: -4px 0 14px; }
.btn-locate { width: 100%; padding: 12px; border-radius: 14px; border: 2px dashed #b8cdbd; background: #fff; font-weight: 800; }
.btn-locate.is-done { border-style: solid; border-color: var(--green); color: var(--green-dk); background: var(--mint); }
.locate-status { margin: 6px 2px 0; font-size: 14px; color: var(--basil-2); }
.locate-status.is-error { color: var(--red-dk); }
.pay-details { margin: -4px 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--mint); font-size: 15px; }
.pay-details p { margin: 0 0 6px; color: var(--basil-2); }
.pay-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.pay-row span { color: var(--basil-2); }
.pay-row b { font-weight: 700; word-break: break-all; text-align: right; }
.copy-btn { flex: none; padding: 5px 12px; border-radius: 999px; border: 0; background: var(--basil); color: #fff; font-size: 13px; font-weight: 800; }

.totals { margin: 16px 0 6px; padding-top: 14px; border-top: 2px solid var(--basil); }
.totals div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.totals dt { color: var(--basil-2); }
.totals dd { margin: 0; font-weight: 700; }
.totals .is-total { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.totals .is-total dt { color: var(--basil); font-weight: 800; }
.totals .is-total dd { font: 400 24px/1 var(--f-brand); color: var(--green-dk); }
.hint { margin: 0 0 16px; font-size: 14px; color: var(--basil-2); }
.link-btn { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--basil-2); text-decoration: underline; font-size: 15px; }

/* ---------- Aviso ---------- */
.toast {
    position: fixed; z-index: 60; left: 50%; top: 14px; transform: translate(-50%, -90px);
    max-width: calc(100% - 32px); padding: 11px 20px; border-radius: 999px; text-align: center;
    background: var(--basil); color: #fff; font-weight: 700; font-size: 15px;
    box-shadow: 0 12px 28px -10px rgba(20,48,31,.5); transition: transform .25s ease; pointer-events: none;
}
.toast.is-warn { background: var(--red); }
.toast.is-visible { transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

/* ---------- Bordes de papel rasgado (como Kentucky, con los materiales de Itali) ---------- */
.torn-top, .torn-bottom { position: relative; }
.torn-top::before, .torn-bottom::after {
    /* Un solo recorte a todo lo ancho (sin repetir), de ondas largas como el de Kentucky.
       En pantallas angostas se recorta al centro en vez de apretarse, para que no se vea tupido. */
    content: ''; position: absolute; left: 0; right: 0; height: clamp(24px, 2.6vw, 38px); z-index: 1; pointer-events: none;
    background: var(--torn, var(--mozz));
    -webkit-mask: url(../img/torn.svg) 50% 0 / max(100%, 1100px) 100% no-repeat; mask: url(../img/torn.svg) 50% 0 / max(100%, 1100px) 100% no-repeat;
}
.torn-top::before { -webkit-mask-image: url(../img/torn-2.svg); mask-image: url(../img/torn-2.svg); }
.torn-top::before { background: var(--torn-top, var(--torn, var(--mozz))); }
.torn-bottom::after { background: var(--torn-bottom, var(--torn, var(--mozz))); bottom: -1px; }
.torn-top::before { top: -1px; transform: scaleY(-1); }
.closing.torn-top { --torn: var(--flour); }
.hero-grid { z-index: 2; }
.cat-head .leaf-deco { z-index: 2; }
.mhead-note.torn-bottom { padding-bottom: 30px; }

/* ---------- Intro (solo portada, primera visita) ----------
   Mesa enharinada: la pizza llega deslizándose, el cortador la parte en 8
   y las rebanadas salen hacia los lados descubriendo la página. */
.intro { display: none; }
.intro-on body { overflow: hidden; }
.intro-on .intro {
    position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: clamp(14px, 3vh, 28px); overflow: hidden; pointer-events: auto;
}
.intro-bg { /* harina sobre la mesa; se desvanece al final */
    position: absolute; inset: 0;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 -22 7.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),
        radial-gradient(ellipse 45% 40% at 50% 46%, rgba(255,255,255,.75), transparent 75%),
        radial-gradient(ellipse 70% 65% at 50% 45%, #f8f1e4, var(--flour) 65%, #e4d6bf);
}
.intro-table { position: relative; width: clamp(230px, 56vmin, 460px); aspect-ratio: 1; }
.intro-pie, .intro-slice { position: absolute; inset: 0; }
.intro-pie { opacity: 0; } /* la animación de entrada la hace visible; antes no se ve la sombra sola */
.intro-slice { will-change: transform; }
.intro-slice > * { display: block; width: 100%; height: 100%; }
.intro-pie::before { /* sombra en la mesa (aparte, para no recalcular un filtro en cada cuadro) */
    content: ''; position: absolute; inset: 1.5%; border-radius: 50%; box-shadow: 0 18px 30px rgba(70, 40, 15, .35);
}
.intro.is-out .intro-pie::before { opacity: 0; transition: opacity .15s; }
.intro-cuts { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.intro-cuts line { stroke: rgba(60, 30, 10, .55); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; }
.intro-name { position: relative; margin: 0; overflow: hidden; padding: .08em .1em; }
.intro-name-in { display: block; font: 400 clamp(40px, 9vmin, 76px)/1 var(--f-brand); white-space: nowrap; transform: translateY(110%); }
.intro-name b { font-weight: 400; -webkit-text-stroke: .07em #fff; paint-order: stroke fill; }
.intro-name .g { color: var(--flag-g); } .intro-name .w { color: #fff; -webkit-text-stroke-color: var(--wood-2); } .intro-name .r { color: var(--flag-r); }
.intro-name i { font: 700 .5em/1 var(--f-hand); font-style: normal; color: var(--red); letter-spacing: .08em; text-transform: uppercase; margin-left: .15em; }

/* ---------- Ficha de pizza (js/ficha.js) ---------- */
/* El dibujo de cada pizza del menú es un botón que abre la ficha */
.pizza-open { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; transition: scale .15s; }
.pizza-open:hover { scale: 1.04; }
.pizza-open:focus-visible { outline: 3px solid var(--cheese); outline-offset: 4px; }
.pizza h3 { cursor: pointer; }

.ficha-open { overflow: hidden; }
.ficha { position: fixed; inset: 0; z-index: 50; display: flex; justify-content: center; align-items: stretch; background: rgba(36, 21, 13, 0); transition: background .24s; }
.ficha.is-open { background: rgba(36, 21, 13, .6); }
.fc-panel {
    position: relative; width: 100%; max-width: 480px; display: flex; flex-direction: column; overflow: hidden;
    background: var(--mozz); color: var(--basil);
    transform: translateY(40px); opacity: 0; transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s;
    padding-top: env(safe-area-inset-top);
}
.ficha.is-open .fc-panel { transform: none; opacity: 1; }
.fc-panel::before { content: ''; flex: none; height: 6px; background: linear-gradient(90deg, var(--flag-g) 0 33.3%, #fff 33.3% 66.6%, var(--flag-r) 66.6%); }
@media (min-width: 640px) {
    .ficha { align-items: center; padding: 24px; }
    .fc-panel { height: min(820px, 100%); border-radius: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.45); padding-top: 0; }
}

.fc-head { flex: none; display: grid; grid-template-columns: 44px 1fr 44px; align-items: start; gap: 8px; padding: 12px 14px 0; text-align: center; }
.fc-icon { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; color: var(--basil); box-shadow: 0 3px 10px rgba(60,30,10,.12); cursor: pointer; }
.fc-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fc-cart em { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff; font: 800 12px/20px var(--f-text); font-style: normal; }
.fc-cart em:empty { display: none; }
.fc-title { min-width: 0; padding-top: 2px; }
.fc-title h2 { margin: 0; font: 400 clamp(32px, 9vw, 40px)/1 var(--f-display); text-transform: uppercase; text-wrap: balance; }
.fc-tag { margin: 2px 0 0; font: 500 14px/1.2 var(--f-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.fc-tag.is-base { color: var(--green); }

.fc-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 8px; }
.fc-stage { position: relative; height: min(300px, 72vw); display: grid; place-items: center; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.fc-stage:active { cursor: grabbing; }
.fc-board {
    position: absolute; width: min(268px, 66vw); aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, transparent 62%, rgba(0,0,0,.18) 63%, transparent 66%),
                repeating-linear-gradient(82deg, #8a5a2e 0 9px, #9c6a38 9px 20px, #7d4f27 20px 25px);
    box-shadow: 0 18px 30px rgba(60,30,10,.35);
}
.fc-pizza { position: relative; width: min(248px, 61vw); aspect-ratio: 1; transition: scale .45s cubic-bezier(.3, 1.4, .5, 1); filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); }
.fc-pizza svg { display: block; width: 100%; height: 100%; overflow: visible; }
.fc-nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%;
          background: #fff; color: var(--basil); box-shadow: 0 4px 12px rgba(60,30,10,.22); cursor: pointer; }
.fc-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.fc-prev { left: 10px; } .fc-next { right: 10px; }
.fc-dots { display: flex; justify-content: center; gap: 5px; margin: 2px 0 0; }
.fc-dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--line); transition: width .25s, background .25s; }
.fc-dots i.on { width: 18px; background: var(--basil); }

.fc-price { margin: 10px 0 0; text-align: center; font: 400 40px/1 var(--f-brand); font-variant-numeric: tabular-nums; }
.fc-sizes { display: flex; justify-content: center; gap: 14px; margin-top: 14px; }
.fc-sizes button {
    width: 58px; height: 58px; display: grid; place-content: center; gap: 1px; border: 0; border-radius: 50%; cursor: pointer;
    background: #fff; color: var(--basil-2); box-shadow: 0 3px 10px rgba(60,30,10,.12); transition: background .2s, color .2s, scale .2s;
}
.fc-sizes b { font: 400 20px/1 var(--f-brand); }
.fc-sizes span { font-size: 10px; font-weight: 700; }
.fc-sizes button[aria-pressed="true"] { background: var(--cheese); color: var(--wood); scale: 1.08; }

.fc-picks { margin-top: 18px; }
.fc-picks-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 0 20px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--basil-2); }
.fc-picks-head span:last-child { text-transform: none; letter-spacing: 0; font-weight: 600; }
.fc-row { display: flex; gap: 8px; overflow-x: auto; padding: 8px 20px 10px; scroll-padding-inline: 20px; scrollbar-width: none; scroll-snap-type: x proximity; }
.fc-row::-webkit-scrollbar { display: none; }
.fc-chip {
    flex: none; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 3px;
    width: 86px; padding: 9px 4px 8px; border: 2px solid transparent; border-radius: 16px; background: #fff; color: var(--basil);
    font: 700 12px/1.15 var(--f-text); text-align: center; box-shadow: 0 3px 10px rgba(60,30,10,.1);
}
button.fc-chip { cursor: pointer; }
.fc-chip svg { width: 44px; height: 32px; overflow: visible; }
.fc-chip[aria-pressed="true"] { border-color: var(--green); background: #eef7ef; }
.fc-desc { margin: 10px 20px 0; color: var(--basil-2); font-size: 15px; text-align: center; text-wrap: pretty; }

.fc-foot { flex: none; padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); background: var(--mozz); box-shadow: 0 -10px 20px -14px rgba(60,30,10,.35); }
.fc-have { margin: 0 0 6px; min-height: 18px; text-align: center; font-size: 13px; font-weight: 700; color: var(--green-dk); }
.fc-add {
    width: 100%; height: 56px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 18px; cursor: pointer;
    background: var(--red); color: #fff; font: 800 17px var(--f-text); box-shadow: 0 5px 0 var(--red-dk); transition: translate .1s, box-shadow .1s;
}
.fc-add b { font: 400 20px var(--f-brand); font-variant-numeric: tabular-nums; }
.fc-add:active { translate: 0 3px; box-shadow: 0 2px 0 var(--red-dk); }
.fc-add.is-done { animation: fc-done .5s ease; }
@keyframes fc-done { 30% { background: var(--green); box-shadow: 0 5px 0 var(--green-dk); } }
.fc-add:disabled { background: var(--line); color: var(--basil-2); box-shadow: none; cursor: not-allowed; }
.ficha.is-out .fc-pizza { filter: grayscale(1); opacity: .55; }
.fc-icon:focus-visible, .fc-nav:focus-visible, .fc-sizes button:focus-visible, .fc-chip:focus-visible, .fc-add:focus-visible { outline: 3px solid var(--cheese); outline-offset: 3px; }
.fc-panel:focus { outline: none; }

/* ---------- Pizzas en foto (js/pizza-art.js) ---------- */
.pizza-svg.is-photo { overflow: visible; }
.pizza-svg.is-photo image { image-rendering: auto; }
/* "Imagen referencial": discreto, pero visible, mientras las fotos sean de banco */
.photo-note { margin: 6px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-align: center; color: var(--basil-2); opacity: .85; }
.photo-note:empty { display: none; }
.hero .photo-note { color: #e9d9c6; }
#favs-note { text-align: left; margin: 0 0 4px; }
.photo-note-inline { opacity: .8; font-size: .9em; }
.chip-icons { display: flex; align-items: center; justify-content: center; gap: 2px; height: 34px; }
.chip-icons svg { width: 30px; height: 30px; overflow: visible; }
.chip-icons .ing-photo { height: 34px; width: auto; max-width: 40px; object-fit: contain; }
.chip-icons .ing-photo + .ing-photo { margin-left: -6px; }
.hs-float .ing-photo { width: 84%; height: 84%; object-fit: contain; }
