/* Sabina Bistró — sitio público (claro/oscuro, estilo limpio tipo Apple) */
:root {
  --bg: #fbfbfd; --bg2: #ffffff; --bg3: #f2f2f5; --tx: #1d1d1f; --tx2: #6e6e73; --line: rgba(0,0,0,.09);
  --acc: #b8895a; --acc-tx: #ffffff; --ok: #1f9d55; --bad: #d92d20; --warn: #b7791f;
  --sh: 0 1px 2px rgba(0,0,0,.05), 0 8px 28px rgba(0,0,0,.07); --r: 18px; --nav: rgba(251,251,253,.78);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --serif: "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #000; --bg2: #1c1c1e; --bg3: #2c2c2e; --tx: #f5f5f7; --tx2: #a1a1a6; --line: rgba(255,255,255,.12);
  --sh: 0 1px 2px rgba(0,0,0,.5), 0 8px 28px rgba(0,0,0,.5); --nav: rgba(0,0,0,.72); } }
:root[data-theme="dark"] { --bg: #000; --bg2: #1c1c1e; --bg3: #2c2c2e; --tx: #f5f5f7; --tx2: #a1a1a6; --line: rgba(255,255,255,.12);
  --sh: 0 1px 2px rgba(0,0,0,.5), 0 8px 28px rgba(0,0,0,.5); --nav: rgba(0,0,0,.72); }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; padding-bottom: env(safe-area-inset-bottom); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.02em; }
.serif { font-family: var(--serif); }
.muted { color: var(--tx2); }

/* barra superior */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 14px; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 980px; font-size: .92rem; color: var(--tx2); }
.nav-links a:hover, .nav-links a.on { color: var(--tx); background: var(--bg3); }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg3); color: var(--tx); cursor: pointer; font-size: 1rem; display: inline-grid; place-items: center; }
@media (max-width: 640px) { .nav-links a.hide-s { display: none; } .nav-links a { padding: 8px 10px; } }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 600; padding: 12px 22px; border-radius: 980px; background: var(--acc); color: var(--acc-tx); transition: transform .12s, opacity .12s; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.soft { background: var(--bg3); color: var(--tx); }
.btn.out { background: transparent; color: var(--tx); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.sm { padding: 8px 16px; font-size: .9rem; }
.btn.block { width: 100%; }

/* portada */
.hero { position: relative; text-align: center; padding: 64px 0 56px; overflow: hidden; }
.hero.img { color: #fff; padding: 110px 0 96px; background: #111 center/cover; }
.hero.img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.6)); }
.hero .wrap { position: relative; }
.hero .logo { width: 108px; height: 108px; border-radius: 50%; margin: 0 auto 22px; box-shadow: var(--sh); }
.hero h1 { font-family: var(--serif); font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 600; max-width: 800px; margin: 0 auto 14px; }
.hero p { font-size: clamp(1rem, 2.4vw, 1.25rem); max-width: 620px; margin: 0 auto 26px; color: inherit; opacity: .8; }
.hero .acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 980px; font-size: .82rem; font-weight: 600; background: var(--bg3); }
.badge.ok { background: rgba(31,157,85,.14); color: var(--ok); } .badge.bad { background: rgba(217,45,32,.12); color: var(--bad); }
.hero.img .badge { background: rgba(255,255,255,.2); color: #fff; }
.sec { padding: 44px 0; }
.sec h2 { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 600; margin-bottom: 8px; }
.sec .lead { color: var(--tx2); margin: 0 0 24px; }
.card { background: var(--bg2); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.dish { display: flex; flex-direction: column; }
.dish .ph { aspect-ratio: 4/3; background: var(--bg3); display: grid; place-items: center; font-size: 3rem; overflow: hidden; }
.dish .ph img { width: 100%; height: 100%; object-fit: cover; }
.dish .bd { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.dish .nm { font-weight: 650; } .dish .ds { font-size: .88rem; color: var(--tx2); flex: 1; }
.price { font-weight: 650; } .price s { color: var(--tx2); font-weight: 400; margin-right: 6px; }
.dia { display: grid; grid-template-columns: 1.1fr 1fr; }
.dia .ph { min-height: 260px; background: var(--bg3) center/cover; display: grid; place-items: center; font-size: 5rem; }
.dia .bd { padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.dia .tag { color: var(--acc); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.dia h3 { font-family: var(--serif); font-size: 2rem; font-weight: 600; }
@media (max-width: 720px) { .dia { grid-template-columns: 1fr; } .dia .bd { padding: 22px; } }
.promos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.promo { padding: 18px; border-radius: var(--r); background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 22%, var(--bg2)), var(--bg2)); box-shadow: var(--sh); }
.promo b { display: block; margin-bottom: 4px; }
.two { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.hours { width: 100%; border-collapse: collapse; } .hours td { padding: 9px 0; border-bottom: 1px solid var(--line); } .hours tr.hoy td { font-weight: 700; color: var(--acc); } .hours td:last-child { text-align: right; }
.map { border: 0; width: 100%; min-height: 260px; border-radius: var(--r); }
.social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; } .social a { width: 42px; height: 42px; border-radius: 50%; background: var(--bg3); display: grid; place-items: center; font-size: 1.15rem; } .social a:hover { background: var(--acc); color: var(--acc-tx); }
.foot { padding: 34px 0 90px; color: var(--tx2); font-size: .88rem; border-top: 1px solid var(--line); text-align: center; }

/* menú */
.cats { position: sticky; top: 56px; z-index: 40; background: var(--nav); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.cats .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; } .cats .wrap::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 16px; border-radius: 980px; background: var(--bg3); font-size: .9rem; font-weight: 550; border: 0; color: var(--tx); cursor: pointer; }
.chip.on { background: var(--tx); color: var(--bg); }
.cat-t { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; margin: 34px 0 14px; scroll-margin-top: 120px; }
.row-item { display: flex; gap: 14px; padding: 14px; align-items: stretch; cursor: pointer; }
.row-item .th { width: 92px; height: 92px; border-radius: 14px; background: var(--bg3); display: grid; place-items: center; font-size: 2.2rem; flex: none; overflow: hidden; } .row-item .th img { width: 100%; height: 100%; object-fit: cover; }
.row-item .ri { flex: 1; min-width: 0; display: flex; flex-direction: column; } .row-item .ds { font-size: .86rem; color: var(--tx2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.row-item .ft { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.row-item.off { opacity: .55; cursor: default; }
.add { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--acc); color: var(--acc-tx); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.pill { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 980px; background: var(--acc); color: var(--acc-tx); display: inline-block; margin-left: 6px; vertical-align: middle; }
.pill.gray { background: var(--bg3); color: var(--tx2); }
.cartbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; max-width: 560px; margin: 0 auto; background: var(--tx); color: var(--bg); border-radius: 980px; padding: 14px 22px; display: none; justify-content: space-between; align-items: center; box-shadow: var(--sh); font-weight: 650; cursor: pointer; border: 0; width: calc(100% - 24px); font: inherit; }
.cartbar.show { display: flex; }

/* hojas (modal) */
.shade { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 80; display: none; } .shade.show { display: block; }
.sheet { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow: auto; background: var(--bg2); border-radius: 22px 22px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); max-width: 620px; margin: 0 auto; transform: translateY(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1); box-shadow: var(--sh); }
.sheet.show { transform: none; }
@media (min-width: 700px) { .sheet { bottom: auto; top: 50%; border-radius: 22px; max-height: 88vh; transform: translateY(-40%) scale(.97); opacity: 0; pointer-events: none; } .sheet.show { transform: translateY(-50%); opacity: 1; pointer-events: auto; } }
.sheet h3 { font-size: 1.35rem; margin-bottom: 4px; } .sheet .x { position: absolute; right: 14px; top: 14px; }
.grp { margin: 16px 0; } .grp h4 { margin: 0 0 6px; font-size: .95rem; } .grp small { color: var(--tx2); font-weight: 400; }
.opt { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); cursor: pointer; } .opt:last-child { border: 0; } .opt span { flex: 1; } .opt input { accent-color: var(--acc); width: 20px; height: 20px; }
.qty { display: inline-flex; align-items: center; gap: 14px; background: var(--bg3); border-radius: 980px; padding: 4px; } .qty button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--bg2); color: var(--tx); font-size: 1.1rem; cursor: pointer; } .qty b { min-width: 20px; text-align: center; }
.line { display: flex; gap: 10px; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); } .line small { display: block; color: var(--tx2); }
.sum { margin: 12px 0; } .sum div { display: flex; justify-content: space-between; padding: 3px 0; } .sum .t { font-weight: 700; font-size: 1.15rem; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 6px; }
label.f { display: block; font-size: .82rem; font-weight: 600; color: var(--tx2); margin: 12px 0 5px; }
.in, select.in, textarea.in { width: 100%; font: inherit; color: var(--tx); background: var(--bg3); border: 1.5px solid transparent; border-radius: 12px; padding: 12px 14px; outline: none; } .in:focus { border-color: var(--acc); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: var(--bg3); padding: 4px; border-radius: 14px; } .seg button { border: 0; background: transparent; color: var(--tx); font: inherit; font-weight: 600; padding: 10px; border-radius: 11px; cursor: pointer; } .seg button.on { background: var(--bg2); box-shadow: var(--sh); }
.alert { padding: 12px 14px; border-radius: 12px; font-size: .9rem; margin: 10px 0; background: rgba(217,45,32,.1); color: var(--bad); } .alert.info { background: var(--bg3); color: var(--tx); } .alert.warn { background: rgba(183,121,31,.14); color: var(--warn); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* seguimiento / reserva */
.track { max-width: 560px; margin: 28px auto; } .track .card { padding: 24px; }
.steps { display: flex; justify-content: space-between; margin: 24px 0 8px; position: relative; } .steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 15px; height: 3px; background: var(--bg3); }
.step { position: relative; text-align: center; flex: 1; font-size: .78rem; color: var(--tx2); } .step i { display: grid; place-items: center; width: 32px; height: 32px; margin: 0 auto 6px; border-radius: 50%; background: var(--bg3); font-style: normal; position: relative; }
.step.done i { background: var(--acc); color: var(--acc-tx); } .step.now { color: var(--tx); font-weight: 650; } .step.now i { box-shadow: 0 0 0 5px color-mix(in srgb, var(--acc) 30%, transparent); }
.big-ico { font-size: 3rem; text-align: center; }
.cal { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; margin-top: 8px; } .cal button { border: 1.5px solid var(--line); background: var(--bg2); color: var(--tx); border-radius: 12px; padding: 10px 0; font: inherit; font-weight: 600; cursor: pointer; } .cal button.on { background: var(--acc); color: var(--acc-tx); border-color: var(--acc); } .cal button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--tx); color: var(--bg); padding: 10px 18px; border-radius: 980px; z-index: 120; font-size: .9rem; opacity: 0; transition: opacity .2s; pointer-events: none; } .toast.show { opacity: 1; }

.sheet-open .cartbar { display: none !important; }

.opciones-dia { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 10px; } .opciones-dia .op { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); } .opciones-dia .op:last-child { border: 0; } .opciones-dia .op.off { opacity: .5; }

.icon-btn { position: relative; } .nbadge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--acc); color: var(--acc-tx); font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center; }
