/* ==========================================================================
   Zero Grados · Tienda en línea
   Paleta: azul hielo sobre noche profunda + ámbar cerveza para comprar
   ========================================================================== */
:root {
  --night: #040a17;
  --night-2: #081430;
  --night-3: #0d1d44;
  --panel: rgba(140, 200, 255, .06);
  --panel-2: rgba(140, 200, 255, .1);
  --line: rgba(150, 205, 255, .16);
  --ice: #6fd0ff;
  --ice-2: #2d8cff;
  --ice-3: #1652c9;
  --frost: #eaf6ff;
  --text: #e9f3ff;
  --muted: #93abcc;
  --amber: #ffc53d;
  --amber-2: #ff9d1e;
  --amber-ink: #2b1700;
  --ok: #34e3a0;
  --warn: #ffb547;
  --danger: #ff5a6a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  --display: "Russo One", "Arial Black", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--night); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(45, 140, 255, .22), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(111, 208, 255, .10), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 55%, var(--night) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ice); text-decoration: none; }
a:hover { color: #fff; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.display { font-family: var(--display); letter-spacing: .01em; font-weight: 400; }

/* ---------- Avisos superiores ---------- */
.topbar {
  background: linear-gradient(90deg, var(--ice-3), var(--ice-2));
  color: #fff; font-size: .86rem; font-weight: 600;
}
.topbar .wrap { display: flex; gap: 18px; justify-content: center; align-items: center; padding: 7px 0; flex-wrap: wrap; text-align: center; }
.topbar.closed { background: linear-gradient(90deg, #4a2a00, #7a4a00); }
.topbar b { color: var(--amber); }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(4, 10, 23, .78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand img { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 0 24px rgba(111, 208, 255, .35); }
.brand span { font-family: var(--display); font-size: 1.25rem; line-height: 1; letter-spacing: .02em; }
.brand small { display: block; font-family: var(--body); font-size: .68rem; letter-spacing: .18em; color: var(--ice); margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a.on { color: #fff; background: var(--panel-2); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.status-chip { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.status-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 10px var(--danger); }
.status-chip.open i { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: #fff; cursor: pointer; position: relative; }
.icon-btn:hover { background: var(--panel-2); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-btn { width: auto; padding: 0 14px 0 12px; gap: 8px; display: inline-flex; align-items: center; background: linear-gradient(180deg, var(--amber), var(--amber-2)); color: var(--amber-ink); border: 0; font-weight: 800; }
.cart-btn:hover { background: linear-gradient(180deg, #ffd462, var(--amber)); }
.cart-btn .count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--amber-ink); color: var(--amber); font-size: .8rem; display: grid; place-items: center; }
.menu-btn { display: none; }

/* ---------- Botones ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: 14px; font-weight: 800; border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .2s; text-align: center; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-buy { background: linear-gradient(180deg, var(--amber), var(--amber-2)); color: var(--amber-ink); box-shadow: 0 10px 28px -10px rgba(255, 170, 40, .7); }
.btn-buy:hover { color: var(--amber-ink); background: linear-gradient(180deg, #ffd462, var(--amber)); }
.btn-ice { background: var(--panel-2); color: #fff; border-color: var(--line); }
.btn-ice:hover { color: #fff; background: rgba(140, 200, 255, .16); }
.btn-ghost { background: transparent; color: var(--ice); border-color: var(--line); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 46px 0 34px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.3rem, 5.4vw, 4.3rem); line-height: 1.02; margin: 0 0 14px; letter-spacing: .005em;
  background: linear-gradient(180deg, #fff 0%, #cfeeff 55%, var(--ice) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: #c3d6ef; max-width: 36ch; margin: 0 0 24px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.perks { display: flex; gap: 10px; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.perks li { display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: #d7e7fb; }
.perks svg { width: 18px; height: 18px; color: var(--ice); flex: none; }
.hero-art { position: relative; justify-self: center; width: min(420px, 100%); }
.hero-art img { border-radius: 28px; box-shadow: 0 0 0 1px var(--line), 0 30px 80px -20px rgba(45, 140, 255, .55); }
.hero-art::before { content: ""; position: absolute; inset: -14% -10%; background: radial-gradient(closest-side, rgba(111, 208, 255, .35), transparent); z-index: -1; filter: blur(10px); }
.frost { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.frost span { position: absolute; width: 46px; height: 46px; border-radius: 10px; border: 1px solid rgba(190, 230, 255, .35); background: linear-gradient(135deg, rgba(255,255,255,.25), rgba(111,208,255,.05)); transform: rotate(18deg); opacity: .5; animation: float 9s ease-in-out infinite; }
.frost span:nth-child(1) { top: 12%; left: 46%; }
.frost span:nth-child(2) { top: 70%; left: 6%; width: 30px; height: 30px; animation-delay: -3s; }
.frost span:nth-child(3) { top: 18%; right: 4%; width: 26px; height: 26px; animation-delay: -6s; }
@keyframes float { 50% { transform: translateY(-14px) rotate(32deg); } }
@media (prefers-reduced-motion: reduce) { .frost span { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Secciones ---------- */
.section { padding: 34px 0; }
.section-head { flex-wrap: wrap; display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; line-height: 1.1; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.eyebrow { font-size: .76rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ice); }

/* ---------- Promociones (póster generado) ---------- */
.promo-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 360px); gap: 16px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.promo-rail.grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); grid-auto-columns: unset; overflow: visible; }
.promo {
  --p1: #0c2a6b; --p2: #1a63d6; --acc: var(--ice);
  scroll-snap-align: start; position: relative; overflow: hidden; border-radius: 22px; min-height: 300px;
  padding: 20px 20px 18px; display: flex; flex-direction: column;
  background: radial-gradient(120% 90% at 100% 0%, var(--p2), transparent 60%), linear-gradient(160deg, var(--p1), #050c1f 80%);
  border: 1px solid rgba(160, 215, 255, .25); box-shadow: var(--shadow);
}
.promo.t-fuego { --p1: #5a0d12; --p2: #e2332e; --acc: #ffd166; }
.promo.t-oro   { --p1: #4a2c00; --p2: #e1a21a; --acc: #fff2c2; }
.promo.t-verde { --p1: #053a22; --p2: #12a35a; --acc: #c9ffe3; }
.promo::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.025) 22px 23px); pointer-events: none; }
.promo .tag { align-self: flex-start; font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; }
.promo h3 { font-family: var(--display); font-weight: 400; font-size: 1.55rem; line-height: 1.05; margin: 12px 0 4px; max-width: 12ch; text-shadow: 0 2px 0 rgba(0,0,0,.25); position: relative; z-index: 1; }
.promo .sub { color: rgba(255,255,255,.82); font-size: .92rem; margin: 0; max-width: 22ch; position: relative; z-index: 1; }
.promo .cond { display: inline-block; margin-top: 12px; background: #e3262f; color: #fff; font-weight: 900; font-size: .84rem; padding: 6px 10px; border-radius: 8px; transform: rotate(-2deg); align-self: flex-start; position: relative; z-index: 1; }
.promo .price { margin-top: auto; display: flex; align-items: baseline; gap: 6px; position: relative; z-index: 1; }
.promo .price b { font-family: var(--display); font-weight: 400; font-size: 3.1rem; line-height: 1; color: #fff; text-shadow: 0 0 22px rgba(111, 208, 255, .65); }
.promo .price span { color: var(--acc); font-weight: 800; }
.promo .price s { color: rgba(255,255,255,.55); font-weight: 700; margin-left: 6px; }
.promo .art { position: absolute; right: 8px; top: 46px; display: flex; align-items: flex-end; height: 170px; filter: drop-shadow(0 16px 18px rgba(0,0,0,.5)); }
.promo .art img { height: 100%; width: auto; }
.promo .art img + img { margin-left: -34px; height: 88%; }
.promo .bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.promo.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,10,23,.05) 30%, rgba(4,10,23,.85)); z-index: 0; }
.promo .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; position: relative; z-index: 1; }
.promo .since { font-size: .75rem; color: rgba(255,255,255,.65); }
.promo .btn { padding: 10px 14px; border-radius: 12px; }

/* Bloque de respaldo cuando no hay promociones: nunca deja hueco */
.fallback { display: grid; grid-template-columns: 1fr 1.6fr; gap: 18px; align-items: stretch; }
.fallback .claim { border-radius: 22px; padding: 26px; background: radial-gradient(120% 90% at 0% 0%, rgba(45,140,255,.45), transparent 60%), linear-gradient(160deg, #0c2a6b, #050c1f); border: 1px solid rgba(160,215,255,.25); display: flex; flex-direction: column; justify-content: center; }
.fallback .claim h3 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1.05; margin: 8px 0; }
.fallback .claim p { color: #c3d6ef; margin: 0 0 16px; }

/* ---------- Categorías ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.cat { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); color: #fff; font-weight: 700; transition: transform .15s, background .2s; }
.cat:hover { transform: translateY(-2px); background: var(--panel-2); color: #fff; }
.cat svg { width: 30px; height: 30px; color: var(--ice); }
.cat small { color: var(--muted); font-weight: 600; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chips a { white-space: nowrap; padding: 9px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: #d6e6fb; font-weight: 700; font-size: .92rem; }
.chips a.on { background: var(--ice); color: #03142e; border-color: var(--ice); }

/* ---------- Tarjeta de producto ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 14px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: linear-gradient(180deg, rgba(140,200,255,.09), rgba(140,200,255,.03)); border: 1px solid var(--line); overflow: hidden; transition: transform .15s, border-color .2s; }
.card:hover { transform: translateY(-2px); border-color: rgba(150, 205, 255, .32); }
.card .pic { height: 178px; display: grid; place-items: center; padding: 14px 0 6px; background: radial-gradient(60% 60% at 50% 70%, rgba(111, 208, 255, .22), transparent 70%); }
.card .pic img { height: 158px; width: auto; filter: drop-shadow(0 10px 12px rgba(0,0,0,.45)); }
.card .pic img.photo { width: 100%; height: 158px; object-fit: contain; }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card h3 { font-size: 1.02rem; margin: 0; line-height: 1.2; }
.card .pres { font-size: .85rem; color: var(--muted); }
.card .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.card .price { font-family: var(--display); font-size: 1.55rem; line-height: 1; }
.card .badge { position: absolute; top: 10px; left: 10px; z-index: 1; font-size: .74rem; font-weight: 900; padding: 5px 9px; border-radius: 8px; background: var(--amber); color: var(--amber-ink); box-shadow: 0 6px 16px -6px rgba(255,170,40,.8); max-width: calc(100% - 20px); }
.card .ret { position: absolute; top: 10px; right: 10px; font-size: .68rem; font-weight: 800; padding: 4px 7px; border-radius: 7px; background: rgba(52, 227, 160, .15); color: var(--ok); border: 1px solid rgba(52, 227, 160, .35); }
.card.soldout { opacity: .55; }
.card.soldout .badge { background: #555; color: #fff; }
.add { height: 42px; min-width: 42px; padding: 0 14px; border-radius: 12px; border: 0; cursor: pointer; font-weight: 900; background: linear-gradient(180deg, var(--amber), var(--amber-2)); color: var(--amber-ink); display: inline-flex; align-items: center; gap: 6px; }
.add svg { width: 18px; height: 18px; }
.stepper { display: inline-flex; align-items: center; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid var(--line); height: 42px; }
.stepper button { width: 36px; height: 40px; border: 0; background: transparent; color: #fff; font-size: 1.2rem; font-weight: 800; cursor: pointer; }
.stepper output, .stepper input { width: 34px; text-align: center; font-weight: 800; background: transparent; border: 0; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- Cómo funciona / info ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step { padding: 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ice-2); color: #fff; font-family: var(--display); margin-bottom: 10px; }
.step h3 { margin: 0 0 4px; font-size: 1.02rem; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }
.band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.band > div { padding: 18px; border-radius: 16px; background: linear-gradient(160deg, rgba(45,140,255,.16), rgba(45,140,255,.04)); border: 1px solid var(--line); }
.band h3 { margin: 0 0 6px; font-size: 1rem; display: flex; gap: 8px; align-items: center; }
.band h3 svg { width: 20px; height: 20px; color: var(--amber); }
.band p { margin: 0; color: #c3d6ef; font-size: .93rem; }

/* ---------- Ubicación ---------- */
.location { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 340px; background: var(--night-3); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: saturate(.9) contrast(1.05); }
.info-card { padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.info-card h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.4rem; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 700; }
.hours tr.today td { color: var(--amber); }
.contact-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Pie ---------- */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: rgba(2, 6, 15, .6); padding: 30px 0 90px; font-size: .92rem; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.site-footer h4 { color: #fff; margin: 0 0 8px; font-size: .95rem; }
.site-footer p { margin: 0 0 6px; }
.legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 14px; font-size: .82rem; }

/* ---------- Carrito lateral ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 60; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #071229; border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .25s ease, visibility 0s linear .25s; visibility: hidden; z-index: 61; display: flex; flex-direction: column; overscroll-behavior: contain; }
body.cart-open .drawer { transform: none; visibility: visible; transition: transform .25s ease; }
body.cart-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer header { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer header h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.drawer .lines { flex: 1; overflow-y: auto; padding: 8px 18px; }
.drawer footer { padding: 16px 18px 20px; border-top: 1px solid var(--line); background: rgba(4, 10, 23, .6); }
.line { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line img { width: 54px; height: 64px; object-fit: contain; }
.line .n { font-weight: 700; line-height: 1.2; }
.line .p { color: var(--muted); font-size: .84rem; }
.line .promo-hit { color: var(--amber); font-size: .78rem; font-weight: 800; }
.line .t { text-align: right; font-weight: 800; }
.line .t s { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; }
.line .stepper { height: 34px; margin-top: 6px; }
.line .stepper button { width: 30px; height: 32px; }
.totals { display: grid; gap: 6px; margin-bottom: 14px; }
.totals div { display: flex; justify-content: space-between; }
.totals .save { color: var(--amber); font-weight: 700; }
.totals .grand { font-size: 1.25rem; font-weight: 900; padding-top: 8px; border-top: 1px solid var(--line); }
.note { font-size: .85rem; color: var(--muted); padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.note.warn { color: #ffe3b0; background: rgba(255, 181, 71, .1); border-color: rgba(255, 181, 71, .35); }
.note.ok { color: #c9ffe9; background: rgba(52, 227, 160, .08); border-color: rgba(52, 227, 160, .3); }
.note.err { color: #ffd0d5; background: rgba(255, 90, 106, .1); border-color: rgba(255, 90, 106, .35); }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.25fr .95fr; gap: 22px; align-items: start; padding: 26px 0; }
.box { padding: 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); margin-bottom: 16px; }
.box h2 { margin: 0 0 14px; font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.box h2 .n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ice-2); font-family: var(--display); font-size: .95rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg.three { grid-template-columns: repeat(3, 1fr); }
.opt { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: rgba(255,255,255,.03); cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt b { font-size: .98rem; display: flex; align-items: center; gap: 8px; }
.opt b svg, .box h2 svg, .note svg { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: -4px; }
.opt span { font-size: .82rem; color: var(--muted); }
.opt:has(input:checked) { border-color: var(--ice); background: rgba(111, 208, 255, .1); box-shadow: 0 0 0 3px rgba(111, 208, 255, .12); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; color: #cfe1f7; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 13px; border-radius: 12px; border: 1px solid var(--line); background: rgba(3, 9, 22, .6); color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #6f86a7; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 3px rgba(111, 208, 255, .15); }
.field .err { color: var(--danger); font-size: .8rem; margin-top: 4px; display: none; }
.field.has-err input { border-color: var(--danger); }
.field.has-err .err { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--amber); flex: none; }
.summary { position: sticky; top: 86px; }
.hidden { display: none !important; }
.hp { position: absolute; left: -9999px; }

/* ---------- Seguimiento ---------- */
.track { max-width: 760px; margin: 26px auto; }
.track-head { text-align: center; padding: 26px 18px; border-radius: 22px; background: radial-gradient(120% 90% at 50% 0%, rgba(45,140,255,.4), transparent 60%), var(--panel); border: 1px solid var(--line); }
.track-head .folio { font-family: var(--display); font-size: 2.2rem; color: #fff; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 22px 0; }
.timeline div { text-align: center; font-size: .8rem; color: var(--muted); font-weight: 700; }
.timeline div::before { content: ""; display: block; height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); margin-bottom: 8px; }
.timeline div.done { color: #fff; }
.timeline div.done::before { background: linear-gradient(90deg, var(--ice-2), var(--ice)); box-shadow: 0 0 12px rgba(111,208,255,.6); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 140%); background: #0f2a5c; color: #fff; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 80; font-weight: 700; display: flex; gap: 12px; align-items: center; transition: transform .25s, visibility .25s; max-width: calc(100% - 32px); visibility: hidden; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: var(--amber); }

/* Barra móvil para ir al carrito */
.mobile-cart { display: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { width: min(220px, 60%); order: -1; }
  .hero { padding-top: 24px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .location, .checkout, .fallback { grid-template-columns: 1fr; }
  .summary { position: static; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #050d20; border-bottom: 1px solid var(--line); padding: 10px 16px 16px; margin: 0; }
  body.menu-open .nav { display: flex; }
  .nav a { padding: 12px; }
  .menu-btn { display: grid; }
  .status-chip { display: none; }
  .cart-btn .lbl { display: none; }
  .brand small { display: none; }
  .band { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card .pic { height: 140px; }
  .card .pic img, .card .pic img.photo { height: 124px; }
  .card .price { font-size: 1.3rem; }
  .card .row { flex-direction: column; align-items: stretch; }
  .card .add { justify-content: center; }
  .card .stepper { justify-content: space-between; }
  .fields { grid-template-columns: 1fr; }
  .seg.three { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(5, 1fr); }
  .timeline div { font-size: .66rem; }
  .mobile-cart { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; }
  .mobile-cart .btn { width: 100%; justify-content: space-between; }
  body.cart-empty .mobile-cart, body.on-cart .mobile-cart { display: none; }
  /* espacio para que la barra flotante "Ver pedido" no tape el final de la página */
  body:not(.cart-empty):not(.on-cart) { padding-bottom: 84px; }
  /* botones + / − del carrito cómodos para el pulgar (mín. 40 px) */
  .line .stepper { height: 42px; }
  .line .stepper button { width: 42px; height: 40px; }
  .icon-btn { min-width: 44px; min-height: 44px; }
}
@media (max-width: 400px) {
  .steps { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .card .body { padding: 10px; }
}
