/* Al Toque Venezolano — negro, amarillo y blanco, con poco rojo.
   Layout: portada con el Salto Ángel, carta tipo app con barra de secciones fija y hojas que suben desde abajo. */
:root {
  --negro: #0b0b0a;
  --negro-2: #151410;
  --negro-3: #24211a;
  --linea: #2f2b21;
  --amarillo: #ffc21a;
  --amarillo-2: #ffd862;
  --blanco: #fffdf6;
  --gris: #a8a28f;
  --rojo: #e1262c;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --accent: "Fraunces", Georgia, serif;
  --top: env(safe-area-inset-top, 0px);
  --bottom: env(safe-area-inset-bottom, 0px);
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--negro); color: var(--blanco);
  font-family: var(--body); font-size: 16px; line-height: 1.5;
  padding-bottom: calc(90px + var(--bottom));
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: var(--top); background: var(--negro); z-index: 60; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--amarillo); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { max-width: 1100px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.price { font-variant-numeric: tabular-nums; font-weight: 800; }
.eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--amarillo); }
.h-sec { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 6vw, 52px); line-height: 1; margin: 0 0 18px; letter-spacing: .01em; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 22px; font-weight: 800; text-decoration: none; border: 0; transition: transform .2s var(--ease), background .2s; white-space: nowrap; }
.btn:active { transform: scale(.96); }
.btn-yellow { background: var(--amarillo); color: var(--negro); }
.btn-yellow:hover { background: var(--amarillo-2); }
.btn-line { background: transparent; color: var(--blanco); box-shadow: inset 0 0 0 1.5px var(--blanco); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--amarillo); color: var(--amarillo); }
.is-closed .xmas-card .btn, .btn[disabled] { background: var(--negro-3); color: var(--gris); cursor: not-allowed; }

/* Barra superior */
.topbar { position: sticky; top: var(--top); z-index: 50; background: color-mix(in srgb, var(--negro) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 44px; height: 44px; }
.brand span { font-family: var(--display); text-transform: uppercase; font-size: 20px; line-height: .95; letter-spacing: .02em; }
.brand em { display: block; font-family: var(--accent); font-style: italic; text-transform: none; font-size: 15px; color: var(--amarillo); letter-spacing: 0; }
.status { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--linea); background: var(--negro-2); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 700; min-width: 0; }
.status span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52vw; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--gris); flex: none; }
.status.open i { background: var(--amarillo); box-shadow: 0 0 0 0 rgba(255,194,26,.7); animation: pulse 2s infinite; }
.status.open { color: var(--amarillo); border-color: #5a4710; }
.status.closed i { background: var(--rojo); }
.status.closed { color: #ffb4b0; border-color: #4a1d1b; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255,194,26,0); } 100% { box-shadow: 0 0 0 0 rgba(255,194,26,0); } }

/* Portada */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--linea); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.hero-photo { object-fit: cover; object-position: 42% 40%; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,10,.92) 0%, rgba(11,11,10,.7) 38%, rgba(11,11,10,.1) 75%), linear-gradient(0deg, rgba(11,11,10,.85) 0%, rgba(11,11,10,0) 30%); pointer-events: none; }
.hero-in { position: relative; z-index: 2; padding-block: 48px 64px; }
.hero-copy { max-width: 640px; }
.hero h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(48px, 9vw, 96px); line-height: .92; margin: 6px 0 16px; letter-spacing: .005em; text-wrap: balance; }
.hero h1 span { color: var(--amarillo); }
.lead { color: #d9d4c4; font-size: 18px; max-width: 46ch; margin: 0 0 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-logo { width: 130px; height: auto; margin-bottom: 14px; filter: drop-shadow(0 14px 30px rgba(0,0,0,.6)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1.5deg); } }
.stars { display: flex; gap: 8px; margin-top: 28px; }
.stars i { width: 12px; height: 12px; background: var(--amarillo); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); opacity: .85; }
@media (max-width: 760px) {
  .hero-in { padding-block: 24px 36px; }
  .hero-logo { width: 96px; }
  .hero::after { background: linear-gradient(180deg, rgba(11,11,10,.25) 0%, rgba(11,11,10,.6) 40%, rgba(11,11,10,.94) 78%); }
  .hero-photo { object-position: 40% 30%; }
  .lead { font-size: 16px; }
}

/* Navidad */
.xmas { position: relative; padding-block: 52px 48px; background: radial-gradient(120% 90% at 0% 0%, #3b0d0e 0%, #1a0a0a 45%, var(--negro) 100%); border-bottom: 1px solid var(--linea); overflow: hidden; }
.lights { position: absolute; inset: 0 0 auto; height: 28px; background-image: radial-gradient(circle, var(--amarillo-2) 0 3px, transparent 4px); background-size: 34px 28px; background-position: 0 6px; animation: twinkle 2.4s ease-in-out infinite; opacity: .8; }
.lights::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, var(--rojo) 0 3px, transparent 4px); background-size: 34px 28px; background-position: 17px 14px; animation: twinkle 2.4s ease-in-out 1.2s infinite; }
@keyframes twinkle { 50% { opacity: .35; } }
.xmas-title { font-family: var(--accent); font-style: italic; font-weight: 700; font-size: clamp(40px, 7vw, 64px); line-height: 1; margin: 0 0 8px; color: var(--blanco); }
.xmas-note { color: #e8d9c8; margin: 0 0 24px; max-width: 60ch; }
.xmas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.xmas-card { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; background: rgba(11,11,10,.55); border: 1px solid #5b2422; border-radius: 18px; padding: 14px; }
.xmas-card h3 { margin: 0 0 4px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 26px; line-height: 1; letter-spacing: .01em; }
.xmas-card p { margin: 0 0 12px; color: #d9cfc0; font-size: 14px; }
.xmas-card .btn { padding: 10px 16px; font-size: 14px; }
.xmas-card .ph, .xmas-card img { width: 112px; height: 112px; border-radius: 14px; object-fit: cover; }

.xmas-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .32; }
.xmas::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,10,10,.95) 0%, rgba(26,10,10,.6) 60%, rgba(26,10,10,.35) 100%); }
.xmas > .wrap, .lights { position: relative; z-index: 1; }
.lights { position: absolute; }
.credit-img { margin: 18px 0 0; font-size: 11px; color: #b9a99a; }

/* Venezuela */
.vzla { padding-block: 72px 24px; }
.postales { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 14px; }
.postal { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; background: var(--negro-2); }
.postal:first-child { aspect-ratio: auto; }
.postal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.postal:hover img { transform: scale(1.05); }
.postal figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 16px; background: linear-gradient(0deg, rgba(11,11,10,.92), rgba(11,11,10,0)); font-size: 14px; color: #e3ddcc; }
.postal strong { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 24px; line-height: 1; color: var(--amarillo); margin-bottom: 4px; letter-spacing: .02em; }
@media (max-width: 760px) {
  .postales { grid-template-columns: repeat(3, 78%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-1 * var(--gutter-r)); padding-right: var(--gutter-r); }
  .postales::-webkit-scrollbar { display: none; }
  .postal { scroll-snap-align: start; }
  .postal:first-child { aspect-ratio: 4 / 5; }
}
.tonada { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: center; margin-top: 40px; padding: 24px; border: 1px solid var(--linea); border-radius: 22px; background: linear-gradient(120deg, var(--negro-2), #1d170a); }
.tonada img { width: 100%; height: auto; border-radius: 16px; background: #fff; transform: rotate(-2deg); box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.tonada h3 { margin: 0 0 10px; font-family: var(--accent); font-style: italic; font-weight: 700; font-size: clamp(28px, 4vw, 40px); line-height: 1.05; }
.tonada p:last-child { color: #d9d4c4; margin: 0; max-width: 52ch; }
@media (max-width: 760px) { .tonada { grid-template-columns: 1fr; gap: 20px; } .tonada img { max-width: 240px; } }

/* Promos */
.promos { padding-block: 44px 8px; }
.promo-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 380px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
.promo-track::-webkit-scrollbar { display: none; }
.promo { scroll-snap-align: start; position: relative; border-radius: 18px; overflow: hidden; background: var(--amarillo); color: var(--negro); min-height: 170px; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo.has-img { color: var(--blanco); }
.promo.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,.05) 70%); z-index: 1; }
.promo > div { position: relative; z-index: 2; }
.promo h3 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 30px; line-height: 1; }
.promo p { margin: 6px 0 0; font-weight: 600; }
.promo .until { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--negro); color: var(--amarillo); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }

/* Almuerzo */
.lunch { padding-block: 32px 0; }
.lunch-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border: 1.5px dashed var(--amarillo); border-radius: 18px; padding: 20px; background: var(--negro-2); }
.lunch-card h2 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 32px; line-height: 1; }
.lunch-card p { margin: 6px 0 0; color: #d9d4c4; }
.lunch-buy { display: flex; align-items: center; gap: 14px; }
.lunch-buy .price { font-size: 24px; color: var(--amarillo); }

/* Carta */
.menu { padding-top: 48px; }
.menu-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.menu-head .h-sec { margin-bottom: 0; }
.search { flex: 1 1 280px; max-width: 420px; display: flex; align-items: center; gap: 10px; background: var(--negro-2); border: 1px solid var(--linea); border-radius: 999px; padding: 0 16px; }
.search:focus-within { border-color: var(--amarillo); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--gris); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; padding: 12px 0; outline: none; font-size: 16px; }
.cats { position: sticky; top: calc(var(--top) + 61px); z-index: 40; background: color-mix(in srgb, var(--negro) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea); margin-top: 18px; }
.cats-in { max-width: 1100px; margin: 0 auto; display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--gutter-r) 12px var(--gutter-l); scrollbar-width: none; scroll-behavior: smooth; }
.cats-in::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--linea); background: var(--negro-2); border-radius: 999px; padding: 8px 15px; font-size: 14px; font-weight: 700; color: #d9d4c4; transition: background .25s var(--ease), color .25s, border-color .25s, transform .2s; }
.chip:active { transform: scale(.95); }
.chip.on { background: var(--amarillo); color: var(--negro); border-color: var(--amarillo); }
.chip.xmas-chip { border-color: #5b2422; }
.chip.xmas-chip.on { background: var(--rojo); color: var(--blanco); border-color: var(--rojo); }

.msec { padding-top: 34px; scroll-margin-top: calc(var(--top) + 130px); }
.msec-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.msec h3 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 32px; line-height: 1; letter-spacing: .01em; }
.msec h3::after { content: ""; display: block; height: 3px; width: 48px; margin-top: 8px; background: var(--amarillo); }
.msec .count { color: var(--gris); font-size: 13px; font-weight: 600; }
.msec-note { color: var(--gris); margin: 6px 0 0; font-size: 14px; }
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 8px; }
@media (max-width: 760px) { .items { grid-template-columns: minmax(0, 1fr); } }

.item { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--linea); text-align: left; background: none; border-left: 0; border-right: 0; border-top: 0; width: 100%; color: inherit; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.item.in { opacity: 1; transform: none; }
.item:hover h4 { color: var(--amarillo); }
.item h4 { margin: 0 0 4px; font-size: 17px; font-weight: 800; line-height: 1.25; transition: color .2s; }
.item p { margin: 0 0 8px; color: var(--gris); font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.item .price { color: var(--blanco); font-size: 16px; }
.badge { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--negro-3); color: var(--amarillo); }
.badge.nuevo { background: var(--rojo); color: var(--blanco); }
.badge.picante { background: #3a1210; color: #ff8a80; }
.badge.agotado { background: var(--negro-3); color: var(--gris); }
.thumb { position: relative; width: 104px; height: 104px; }
.thumb img, .ph { width: 104px; height: 104px; border-radius: 16px; object-fit: cover; }
.ph { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #2e2610, var(--negro-2) 70%); border: 1px solid var(--linea); color: var(--amarillo); }
.ph svg { width: 42%; height: 42%; opacity: .7; }
.add { position: absolute; right: -6px; bottom: -6px; width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--negro); background: var(--amarillo); color: var(--negro); display: grid; place-items: center; transition: transform .2s var(--ease); }
.add svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 3; fill: none; stroke-linecap: round; }
.item:hover .add { transform: scale(1.08); }
.is-closed .add, .item.soldout .add { background: var(--negro-3); color: var(--gris); }
.item.soldout h4, .item.soldout .price { color: var(--gris); }
.item.soldout .thumb img { filter: grayscale(1) brightness(.6); }
.empty-search { color: var(--gris); padding: 40px 0; text-align: center; }
.loading { color: var(--gris); padding: 40px 0; }

/* Horario y ubicación */
.visit { padding-block: 64px 48px; margin-top: 48px; border-top: 1px solid var(--linea); background: linear-gradient(180deg, var(--negro-2), var(--negro)); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .visit-grid { grid-template-columns: 1fr; gap: 28px; } }
.week { list-style: none; margin: 0; padding: 0; }
.week li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--linea); font-variant-numeric: tabular-nums; }
.week li span:first-child { text-transform: capitalize; font-weight: 700; }
.week li.today { color: var(--amarillo); }
.week li .off { color: var(--gris); }
.addr { font-size: 20px; font-weight: 700; margin: 0 0 18px; max-width: 30ch; }
.visit-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.phone { color: var(--gris); margin-top: 18px; }
.phone strong { color: var(--blanco); user-select: all; }

.foot { border-top: 1px solid var(--linea); }
.foot-in { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 28px; color: var(--gris); font-size: 14px; }
.foot-in p { margin: 2px 0; }
.foot-in strong { color: var(--blanco); }
.social a { color: var(--amarillo); text-decoration: none; margin-right: 12px; font-weight: 700; }
.credit { margin-left: auto !important; }
.credit a { color: var(--blanco); font-weight: 700; }

/* Barra del carrito */
.cartbar { position: fixed; z-index: 55; left: 50%; bottom: calc(14px + var(--bottom)); transform: translateX(-50%); width: min(560px, calc(100% - 32px)); display: flex; align-items: center; gap: 12px; border: 0; border-radius: 18px; padding: 14px 18px; background: var(--amarillo); color: var(--negro); font-weight: 800; font-size: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.55); animation: rise .4s var(--ease); }
.cartbar strong { margin-left: auto; }
.cart-count { background: var(--negro); color: var(--amarillo); border-radius: 10px; min-width: 30px; height: 30px; display: grid; place-items: center; font-size: 14px; }
.cartbar.bump { animation: bump .45s var(--ease); }
.cartbar.closed { background: var(--negro-3); color: var(--gris); }
@keyframes rise { from { transform: translate(-50%, 120%); } }
@keyframes bump { 30% { transform: translateX(-50%) scale(1.06); } 60% { transform: translateX(-50%) scale(.98); } }
.fly { position: fixed; z-index: 90; width: 18px; height: 18px; border-radius: 50%; background: var(--amarillo); box-shadow: 0 0 0 4px rgba(255,194,26,.25); pointer-events: none; }

/* Hoja inferior */
.sheet-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.65); opacity: 0; transition: opacity .3s; }
.sheet-scrim.on { opacity: 1; }
.sheet { position: fixed; z-index: 80; left: 50%; bottom: 0; width: min(560px, 100%); max-height: calc(92vh - var(--top)); display: flex; flex-direction: column; background: var(--negro-2); border: 1px solid var(--linea); border-bottom: 0; border-radius: 24px 24px 0 0; transform: translate(-50%, 100%); transition: transform .38s var(--ease); padding-bottom: var(--bottom); }
.sheet.on { transform: translate(-50%, 0); }
@media (min-width: 760px) { .sheet { bottom: 50%; border-radius: 24px; border-bottom: 1px solid var(--linea); transform: translate(-50%, 60%) scale(.96); opacity: 0; transition: transform .3s var(--ease), opacity .3s; } .sheet.on { transform: translate(-50%, 50%); opacity: 1; } }
.sheet-grab { width: 44px; height: 5px; border-radius: 3px; background: var(--negro-3); margin: 10px auto 0; flex: none; }
.sheet-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(11,11,10,.75); display: grid; place-items: center; }
.sheet-x svg { width: 18px; height: 18px; stroke: var(--blanco); stroke-width: 2.4; stroke-linecap: round; }
.sheet-body { overflow-y: auto; padding: 8px 20px 20px; overscroll-behavior: contain; }
.sheet-photo { margin: 6px -20px 16px; aspect-ratio: 16 / 10; max-width: none; width: calc(100% + 40px); }
.sheet-photo img, .sheet-photo .ph { width: 100%; height: 100%; border-radius: 0; object-fit: cover; border: 0; }
.sheet-photo.empty { aspect-ratio: auto; height: 120px; }
.sheet-sec { margin: 0; color: var(--amarillo); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sheet h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 32px; line-height: 1; margin: 6px 0 8px; padding-right: 40px; }
.sheet-desc { color: #d9d4c4; margin: 0 0 16px; }
.opts { display: grid; gap: 8px; margin: 0 0 16px; border: 0; padding: 0; }
.opts legend { font-weight: 800; margin-bottom: 8px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--linea); border-radius: 12px; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--amarillo); background: #1f1a0b; }
.opt input { accent-color: var(--amarillo); width: 18px; height: 18px; }
.opt span:last-child { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; }
.field { display: grid; gap: 6px; margin-bottom: 14px; font-size: 14px; font-weight: 700; color: #d9d4c4; }
.field input, .field textarea, .field select { width: 100%; background: var(--negro); border: 1px solid var(--linea); border-radius: 12px; padding: 12px 14px; font-size: 16px; font-weight: 500; color: var(--blanco); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--amarillo); }
.field textarea { resize: vertical; min-height: 60px; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.seg label { display: block; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 11px 8px; border: 1px solid var(--linea); border-radius: 12px; font-weight: 800; color: #d9d4c4; }
.seg input:checked + span { background: var(--amarillo); color: var(--negro); border-color: var(--amarillo); }
.seg input:focus-visible + span { outline: 2px solid var(--amarillo); outline-offset: 2px; }
.sheet-foot { display: flex; align-items: center; gap: 12px; padding-top: 6px; }
.stepper { display: flex; align-items: center; gap: 4px; background: var(--negro); border: 1px solid var(--linea); border-radius: 999px; padding: 4px; }
.stepper button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--negro-3); font-size: 20px; font-weight: 800; line-height: 1; }
.stepper span { min-width: 30px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.sheet-foot .btn { flex: 1; padding: 15px 18px; }
.sheet-foot .btn .price { margin-left: auto; }
.closed-note { background: #2a1212; border: 1px solid #4a1d1b; color: #ffcdc9; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin: 0 0 14px; }

.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--linea); }
.cart-line h4 { margin: 0; font-size: 16px; }
.cart-line small { color: var(--gris); display: block; }
.cart-line .price { align-self: center; grid-row: 1 / span 2; grid-column: 2; }
.cart-line .stepper { justify-self: start; padding: 2px; }
.cart-line .stepper button { width: 32px; height: 32px; font-size: 17px; }
.totals { display: flex; justify-content: space-between; font-size: 20px; font-weight: 800; padding: 16px 0 4px; }
.totals .price { color: var(--amarillo); }
.small { color: var(--gris); font-size: 13px; margin: 0 0 16px; }
.err { color: #ff8a80; font-size: 14px; margin: -4px 0 12px; }

.toast { position: fixed; z-index: 95; left: 50%; bottom: calc(92px + var(--bottom)); transform: translateX(-50%); background: var(--blanco); color: var(--negro); font-weight: 800; padding: 11px 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.5); max-width: calc(100% - 32px); text-align: center; font-size: 14px; }

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