/* ══════════════ Mariscos Sarrikobaso · pedidos ══════════════
   Claro y minimalista: blanco con tonos azules de la marca. */

:root{
  --bg:#f7fafd;
  --surface:#ffffff;
  --soft:#eaf2fa;
  --sky:#d3e4f4;
  --ink:#14263a;
  --muted:#6f7f8f;
  --line:#dfe7f0;
  --brand:#1c3a5c;
  --brand-2:#2c6aa0;
  --brand-ink:#ffffff;
  --wa:#1fa855;
  --alert:#b5473a;
  --serif:"Fraunces",Georgia,"Times New Roman",serif;
  --sans:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  --ease:cubic-bezier(.22,.8,.3,1);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--sans);font-size:16px;line-height:1.55;color:var(--ink);background:var(--bg);
  -webkit-font-smoothing:antialiased;min-height:100vh}
img{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3{font-family:var(--serif);font-weight:400;letter-spacing:-.01em;line-height:1.1;margin:0}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--brand);outline-offset:3px;border-radius:8px}
[hidden]{display:none !important}
svg{width:20px;height:20px;flex-shrink:0}

/* ── Cabecera ── */
.top{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:14px 20px;padding-top:max(14px, env(safe-area-inset-top));
  background:rgba(255,255,255,.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.top__brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-family:var(--serif);font-size:18px;letter-spacing:.01em;color:var(--brand)}
.top__brand b{font-weight:500}
.top__brand img{width:30px;height:30px;object-fit:contain}
.top__call{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-size:14px;color:var(--muted)}
.top__call:hover{color:var(--ink)}
.top__call svg{width:16px;height:16px}
@media (max-width:420px){.top__call span{display:none}}

main{max-width:640px;margin:0 auto;padding:12px 20px 120px}
.screen{animation:in .4s var(--ease) both}
@keyframes in{from{opacity:0;transform:translateY(6px)}}
@media (prefers-reduced-motion:reduce){.screen{animation:none}}

/* ── Inicio ── */
.hero{margin:16px -4px 0;padding:34px 24px 28px;border-radius:22px;background:linear-gradient(160deg, #e3eef9 0%, #f1f6fb 70%);border:1px solid #dbe8f5}
.hero h1{font-size:clamp(40px, 11vw, 56px);color:var(--brand)}
.lead{margin:14px 0 0;color:var(--muted);font-size:17px;max-width:30em}
.lead em{font-style:italic;font-family:var(--serif);color:var(--brand-2);font-size:1.05em}

.helps{margin-top:18px}
.hero .helps{margin-top:16px}
.help{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-size:14px;color:var(--muted)}
.help svg{width:15px;height:15px;color:var(--brand-2)}
.help b{font-weight:500;color:var(--brand)}
.help span{display:inline}
.help:hover b{text-decoration:underline;text-underline-offset:3px}

/* ── Productos ── */
.cat-title{margin:34px 0 4px;font-family:var(--sans);font-size:12px;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:var(--brand-2);scroll-margin-top:80px}

.prod{display:grid;grid-template-columns:56px 1fr auto;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.prod.on{background:var(--soft);margin:6px -12px;padding:14px 12px;border-radius:14px;border:1px solid var(--sky)}
.prod__img{width:56px;height:56px;border-radius:10px;object-fit:cover;background:var(--soft)}
.ph{display:grid;place-items:center;color:var(--muted)}
.ph svg{width:26px;height:26px}
.prod__name{font-family:var(--serif);font-size:19px;line-height:1.2}
.prod__info{margin:2px 0 0;font-size:13px;color:var(--muted)}
.prod.on:not(.open) .prod__info{color:var(--ink)}
.prod .falta{font-style:normal;color:var(--alert)}
.add{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1px solid var(--brand);background:var(--surface);color:var(--brand);font-size:22px;font-weight:300;line-height:1;cursor:pointer;transition:background .2s, color .2s}
.add:hover{background:var(--brand);color:#fff}

.stepper{display:inline-flex;align-items:center;border:1px solid var(--sky);border-radius:999px;background:var(--surface)}
.stepper button{width:36px;height:36px;border:0;background:none;font-size:18px;cursor:pointer;color:var(--brand);border-radius:50%}
.stepper button:hover{background:var(--soft)}
.stepper output{min-width:58px;text-align:center;font-weight:500;font-size:14px;font-variant-numeric:tabular-nums}

.prod__opts{grid-column:1 / -1;display:grid;gap:10px;padding:6px 0 2px}
.opt{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.opt > span{font-size:13px;color:var(--muted);margin-right:6px}
.opt button{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:7px 14px;font-size:14px;cursor:pointer;color:var(--ink)}
.opt button:hover{border-color:var(--brand-2)}
.opt button[aria-pressed="true"]{border-color:var(--brand);background:var(--brand);color:var(--brand-ink)}
.link{display:inline;border:0;background:none;padding:0;margin-top:2px;color:var(--brand-2);font-size:13px;font-weight:500;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.hecho{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:4px;border:0;border-radius:999px;padding:12px 18px;
  background:var(--brand);color:#fff;font-size:15px;font-weight:500;cursor:pointer;transition:background .2s}
.hecho:hover{background:var(--brand-2)}
.hecho svg{width:17px;height:17px}
@media (max-width:400px){.prod{grid-template-columns:48px 1fr auto;gap:12px}.prod__img{width:48px;height:48px}.stepper output{min-width:50px}}

/* ── Botones ── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:14px 24px;border-radius:999px;
  border:0;font-weight:500;font-size:15px;text-decoration:none;cursor:pointer;white-space:nowrap;transition:opacity .2s}
.btn:hover{opacity:.88}
.btn svg{width:16px;height:16px}
.btn--aqua{background:var(--brand);color:var(--brand-ink)}
.btn--wa{background:var(--wa);color:#fff}
.btn--wa svg{width:19px;height:19px}
.btn--block{width:100%}

/* ── Barra ── */
.bar{position:fixed;left:0;right:0;bottom:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 20px;padding-bottom:max(12px, env(safe-area-inset-bottom));
  background:rgba(255,255,255,.96);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--line)}
.bar__count{font-size:14px;color:var(--muted)}
.bar__count b{color:var(--ink);font-weight:600}
@media (min-width:700px){.bar{left:50%;right:auto;width:640px;transform:translateX(-50%);bottom:18px;border-radius:999px;border:1px solid var(--line);
  padding:8px 8px 8px 24px;box-shadow:0 10px 30px rgba(23,34,44,.08)}}

/* ── Terminar ── */
.back{display:inline-flex;align-items:center;gap:6px;margin:24px 0 18px;color:var(--muted);text-decoration:none;font-size:14px}
.back:hover{color:var(--ink)}
.back svg{width:15px;height:15px;transform:rotate(180deg)}
h2{font-size:clamp(34px, 9vw, 44px);color:var(--brand)}
.small{margin:10px 0 0;color:var(--muted);font-size:13px;text-align:center}

.resumen{list-style:none;margin:20px 0 0;padding:0;border-top:1px solid var(--line)}
.resumen li{padding:16px 0;border-bottom:1px solid var(--line)}
.linea{display:grid;gap:10px}
.linea__top{display:flex;align-items:center;gap:10px}
.linea__top b{flex:1;font-family:var(--serif);font-weight:400;font-size:19px;color:var(--brand)}
.linea .del{border:0;background:none;color:var(--muted);cursor:pointer;padding:8px;border-radius:8px}
.linea .del:hover{color:var(--alert)}
.linea .del svg{width:15px;height:15px}
.linea.sin-op .opt:nth-child(2) > span{color:var(--alert);font-weight:500}
.resumen .empty{display:block;color:var(--muted);text-align:center}

.form{display:grid;gap:16px;margin-top:28px}
.field{display:grid;gap:6px}
.field span{font-weight:500;font-size:14px}
.field i{font-style:normal;font-weight:400;color:var(--muted)}
.field input,.field select,.field textarea{width:100%;padding:13px 14px;border-radius:10px;border:1px solid var(--line);background:var(--surface);font-size:16px}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand-2);outline:0;box-shadow:0 0 0 3px var(--soft)}
.field select{appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--ink) 50%),linear-gradient(135deg,var(--ink) 50%,transparent 50%);
  background-position:calc(100% - 20px) 52%, calc(100% - 15px) 52%;background-size:5px 5px;background-repeat:no-repeat;padding-right:40px}
.field select:disabled{color:var(--muted)}
.field textarea{resize:vertical}
.field input::placeholder,.field textarea::placeholder{color:#a3a9ae}
.error{margin:0;padding:12px 14px;border-radius:10px;background:#f8ebe8;color:var(--alert);font-size:14px}

/* ── Pie ── */
.foot{max-width:640px;margin:40px auto 0;padding:40px 20px 120px;color:#c4d3e2;font-size:14px;line-height:1.6;background:var(--brand);
  box-shadow:0 0 0 100vmax var(--brand);clip-path:inset(0 -100vmax)}
.foot a{color:#fff;text-decoration:none}
.foot a:hover{text-decoration:underline;text-underline-offset:3px}
.foot__brand{display:flex;align-items:center;gap:12px;font-family:var(--serif);font-size:22px;color:#fff}
.foot__brand b{font-weight:500}
.foot__brand img{width:40px;height:40px;object-fit:contain}
.foot__grid{display:grid;grid-template-columns:1fr 1fr;gap:28px 24px;margin-top:30px;padding-top:28px;border-top:1px solid rgba(255,255,255,.14)}
.foot h4{margin:0 0 8px;font-family:var(--sans);font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#8fb0cf}
.horas{margin:0;display:grid;gap:6px}
.horas div{display:flex;justify-content:space-between;gap:12px;padding-bottom:6px;border-bottom:1px dashed rgba(255,255,255,.12)}
.horas div:last-child{border-bottom:0}
.horas dt{color:#c4d3e2}
.horas dd{margin:0;color:#fff;font-weight:500}
.redes{display:flex;flex-wrap:wrap;gap:8px}
.redes a{padding:6px 14px;border:1px solid rgba(255,255,255,.3);border-radius:999px;font-size:13px}
.redes a:hover{background:rgba(255,255,255,.1);text-decoration:none}
.foot__bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px 20px;margin-top:32px;padding-top:18px;
  border-top:1px solid rgba(255,255,255,.14);font-size:12px;color:#8fb0cf}
@media (max-width:480px){.foot__grid{grid-template-columns:1fr;gap:24px}}

/* ── WhatsApp directo ── */
.helps{display:flex;flex-wrap:wrap;gap:10px 20px}
.help--wa svg{color:var(--wa)}
.wa-float{position:fixed;right:18px;bottom:22px;z-index:31;display:grid;place-items:center;width:56px;height:56px;border-radius:50%;
  background:var(--wa);color:#fff;box-shadow:0 8px 24px rgba(20,38,58,.22);transition:transform .2s var(--ease), bottom .25s var(--ease)}
.wa-float:hover{transform:scale(1.06)}
.wa-float svg{width:28px;height:28px}
body.con-barra .wa-float{bottom:88px}
@media (min-width:700px){body.con-barra .wa-float{bottom:96px}}

/* ── Formatos y resumen ── */
.linea__txt{flex:1;display:grid}
.linea__txt b{font-family:var(--serif);font-weight:400;font-size:19px;color:var(--brand)}
.linea__txt span{font-size:13px;color:var(--muted)}
.opt > span.pide{color:var(--alert);font-weight:500}
.nota-formato{margin:0;font-size:13px;color:var(--muted)}
.creditos summary{cursor:pointer;color:#8fb0cf}
.creditos[open]{flex-basis:100%}
.creditos ul{margin:8px 0 0;padding-left:18px;font-size:12px;line-height:1.6}
.creditos a{text-decoration:underline;text-underline-offset:2px}

/* ── Otra cosa ── */
.otro{margin:30px 0 0;padding:22px 20px;border-radius:18px;background:var(--soft);border:1px solid var(--sky)}
.otro h3{font-size:22px;color:var(--brand)}
.otro p{margin:8px 0 14px;font-size:14px;color:var(--muted)}
.otro__row{display:flex;gap:8px}
.otro__row input{flex:1;min-width:0;padding:12px 14px;border-radius:10px;border:1px solid var(--line);background:var(--surface);font-size:16px}
.otro__row input:focus{border-color:var(--brand-2);outline:0;box-shadow:0 0 0 3px #fff}
.otro__row button{border:0;border-radius:10px;padding:0 18px;background:var(--brand);color:#fff;font-weight:500;cursor:pointer}
.otro__row button:hover{background:var(--brand-2)}
.otro__list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:6px}
.otro__list:empty{display:none}
.otro__list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-radius:10px;background:var(--surface);font-size:14px}
.otro__list button{border:0;background:none;color:var(--muted);font-size:20px;line-height:1;cursor:pointer}
.otro__list button:hover{color:var(--alert)}
.otro__wa{display:inline-flex;align-items:center;gap:8px;margin-top:14px;font-size:14px;color:var(--brand);text-decoration:none}
.otro__wa svg{width:16px;height:16px;color:var(--wa)}
.otro__wa:hover{text-decoration:underline;text-underline-offset:3px}

/* ── Otra cosa ── */
.otro{margin:30px 0 0;padding:22px 20px;border-radius:18px;background:var(--soft);border:1px solid var(--sky)}
.otro h3{font-size:22px;color:var(--brand)}
.otro p{margin:8px 0 14px;font-size:14px;color:var(--muted)}
.otro__row{display:flex;gap:8px}
.otro__row input{flex:1;min-width:0;padding:12px 14px;border-radius:10px;border:1px solid var(--line);background:var(--surface);font-size:16px}
.otro__row input:focus{border-color:var(--brand-2);outline:0}
.otro__row button{border:0;border-radius:10px;padding:0 18px;background:var(--brand);color:#fff;font-weight:500;cursor:pointer}
.otro__row button:hover{background:var(--brand-2)}
.otro__list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:6px}
.otro__list:empty{display:none}
.otro__list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-radius:10px;background:var(--surface);font-size:14px}
.otro__list button{border:0;background:none;color:var(--muted);font-size:20px;line-height:1;cursor:pointer}
.otro__list button:hover{color:var(--alert)}
.otro__wa{display:inline-flex;align-items:center;gap:8px;margin-top:14px;font-size:14px;color:var(--brand);text-decoration:none}
.otro__wa svg{width:16px;height:16px;color:var(--wa)}
.otro__wa:hover{text-decoration:underline;text-underline-offset:3px}
