/* =========================================================
   Tati Café — Estilos
   ========================================================= */
:root {
  --bg: #faf5ee;
  --soft: #f3eadf;
  --surface: #fffdf9;
  --ink: #2a1b12;
  --ink-2: #5a4636;
  --muted: #8b7766;
  --line: #e8dccd;
  --coffee: #6b4226;
  --caramel: #c9843f;
  --cream: #f3e3cc;
  --sage: #6f8f5e;
  --wa: #25d366;
  --danger: #c4493c;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(42, 27, 18, .05), 0 12px 32px -16px rgba(42, 27, 18, .25);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Geist', system-ui, -apple-system, sans-serif;
  --header-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 60px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -.015em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
p { margin: 0 0 1em; }
em { font-style: italic; }
:focus-visible { outline: 3px solid var(--caramel); outline-offset: 2px; border-radius: 8px; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--caramel); margin-bottom: 12px; }
.eyebrow--light { color: #e7b27a; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; border: 1.5px solid transparent; transition: transform .15s, background .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--primary { background: var(--ink); color: var(--cream); }
.btn--primary:hover { background: var(--coffee); box-shadow: 0 10px 24px -10px rgba(107, 66, 38, .8); }
.btn--ghost { border-color: var(--line); background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { filter: brightness(1.05); }
.btn--lg { padding: 15px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.link { color: var(--coffee); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; padding: 8px 0; }

/* Estado */
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: rgba(196, 73, 60, .1); color: var(--danger); }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--open { background: rgba(111, 143, 94, .15); color: #4e7340; }
.status--open .dot { animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: rgba(250, 245, 238, .88); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; }
.logo__mark svg { width: 30px; height: 30px; }
.logo__mark path { fill: var(--cream); }
.logo__mark .handle { fill: none; stroke: var(--cream); stroke-width: 4; }
.logo__mark .steam { fill: none; stroke: var(--caramel); stroke-width: 3; stroke-linecap: round; }
.logo__text { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; }
.logo__text em { font-weight: 500; color: var(--caramel); margin-left: 2px; }
.logo--light .logo__text { color: var(--cream); }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 500; color: var(--ink-2); font-size: .95rem; }
.nav a:hover { background: var(--soft); color: var(--ink); }
.header__status { margin-left: auto; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 600; font-size: .92rem; }
.cart-btn svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linejoin: round; }
.cart-btn__count { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--caramel); color: #fff; font-size: .75rem; display: grid; place-items: center; border: 2px solid var(--bg); transform: scale(0); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.cart-btn__count.is-visible { transform: scale(1); }
.cart-btn.bump { animation: bump .45s; }
@keyframes bump { 35% { transform: scale(1.1) rotate(-4deg); } 70% { transform: scale(.97); } }

/* Hero */
.hero { padding: 56px 0 40px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(3.2rem, 8vw, 6rem); line-height: .95; letter-spacing: -.035em; margin-bottom: 22px; }
.hero h1 em { color: var(--caramel); font-weight: 500; }
.hero__copy p { font-size: 1.12rem; color: var(--ink-2); max-width: 480px; margin-bottom: 28px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__status { margin-top: 26px; }
.hero__art { position: relative; aspect-ratio: 1; max-width: 480px; justify-self: center; width: 100%; }
.hero__circle { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f7e6cf, #e2c094); }
.hero__cup { position: absolute; inset: 12%; border-radius: 50%; overflow: hidden; animation: float 7s ease-in-out infinite; box-shadow: 0 40px 60px -30px rgba(107, 66, 38, .55); }
.hero__cup svg { width: 100%; height: 100%; transform: scale(1.25); }
.hero__chip { position: absolute; background: var(--surface); border-radius: 999px; padding: 10px 16px; font-size: .88rem; font-weight: 600; box-shadow: var(--shadow); white-space: nowrap; }
.hero__chip--a { left: -4%; bottom: 18%; animation: float 6s ease-in-out -2s infinite; }
.hero__chip--b { right: -2%; top: 12%; animation: float 8s ease-in-out -4s infinite; }
@keyframes float { 50% { translate: 0 -10px; } }

/* Secciones */
.section { padding: 80px 0; }
.section--tight { padding: 16px 0 40px; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: var(--cream); }
.section-head { margin-bottom: 28px; }
.lead { font-size: 1.1rem; opacity: .85; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps__n { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--cream); color: var(--coffee); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.steps strong { font-family: var(--serif); font-size: 1.2rem; }
.steps p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }

/* Tabs */
.tabs-wrap { position: sticky; top: var(--header-h); z-index: 30; background: rgba(250, 245, 238, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s; }
.tab:hover { border-color: var(--ink-2); }
.tab.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Carta */
.menu-cat { padding-top: 28px; }
.menu-cat__title { font-size: 1.6rem; margin-bottom: 16px; }
.items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.item { display: flex; gap: 16px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.item:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.item__body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.item__tags { display: flex; gap: 6px; flex-wrap: wrap; min-height: 0; }
.item__tags:not(:empty) { margin-bottom: 6px; }
.tag { font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--coffee); }
.tag--vegano { background: #e5eedc; color: #4e7340; }
.tag--nuevo { background: var(--caramel); color: #fff; }
.tag--favorito { background: #fbe4d6; color: #a4512b; }
.item h3 { font-size: 1.25rem; margin-bottom: 4px; }
.item p { color: var(--muted); font-size: .9rem; margin: 0 0 10px; flex: 1; }
.item__price { display: flex; align-items: baseline; gap: 8px; }
.item__price strong { font-size: 1.05rem; }
.item__price small { font-weight: 500; color: var(--muted); font-size: .78rem; }
.item__price s { color: var(--muted); font-size: .85rem; }
.item__art { position: relative; flex: none; width: 128px; height: 128px; border-radius: 16px; overflow: hidden; }
.item__art svg, .item__art img { width: 100%; height: 100%; object-fit: cover; }
.add { position: absolute; right: 8px; bottom: 8px; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); box-shadow: 0 4px 12px rgba(42, 27, 18, .2); display: grid; place-items: center; transition: transform .15s, background .2s; }
.add:hover { background: var(--ink); color: var(--cream); }
.add:active { transform: scale(.88); }
.add svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }

/* Sobre */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.about h2 { margin-bottom: 18px; color: #fff8ee; }
.about__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.about__list li { display: flex; gap: 12px; align-items: center; }
.about__list span { width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.stamp-card { background: var(--cream); color: var(--ink); border-radius: 26px; padding: 28px; transform: rotate(2deg); box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .6); }
.stamp-card__head { display: flex; flex-direction: column; margin-bottom: 18px; }
.stamp-card__head strong { font-family: var(--serif); font-size: 1.6rem; }
.stamp-card__head span { color: var(--ink-2); font-size: .9rem; }
.stamp-card__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 14px; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 2px dashed #c9a988; display: grid; place-items: center; font-size: 1.2rem; }
.stamp.is-on { border-style: solid; border-color: var(--coffee); background: #fffaf2; }
.stamp--gift { border-color: var(--caramel); background: #fff; }

/* Local */
.local { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.local h2 { margin-bottom: 14px; }
.local__address { font-size: 1.05rem; margin: 18px 0; }
.hours { list-style: none; padding: 0; margin: 0 0 24px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.local__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.map { width: 100%; height: 420px; border: 0; border-radius: var(--radius); background: var(--soft); }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
.faq summary { padding: 18px 22px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 18px; color: var(--ink-2); margin: 0; }

/* Footer */
.footer { background: var(--ink); color: #cdb9a5; padding: 48px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer__inner p { margin: 8px 0 0; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a:hover { color: var(--cream); }
.footer__bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }

/* Barra inferior mobile */
.sticky-cart { display: none; }

/* Sheets */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(42, 27, 18, .45); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 60; }
.sheet-backdrop.is-open { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; z-index: 70; background: var(--bg); display: flex; flex-direction: column; box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .4); visibility: hidden; transition: transform .38s cubic-bezier(.2, .8, .2, 1), visibility .38s, opacity .3s; }
.sheet.is-open { visibility: visible; }
#productSheet { left: 50%; top: 50%; width: min(520px, calc(100vw - 32px)); max-height: min(760px, calc(100vh - 48px)); border-radius: 28px; transform: translate(-50%, -46%) scale(.96); opacity: 0; overflow: hidden; }
#productSheet.is-open { transform: translate(-50%, -50%); opacity: 1; }
.sheet--side { right: 0; top: 0; bottom: 0; width: min(440px, 100vw); transform: translateX(100%); }
.sheet--side.is-open { transform: none; }
.sheet__grip { display: none; }
.sheet__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 253, 249, .92); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); font-size: .95rem; }
.sheet__close--static { position: static; box-shadow: none; background: var(--soft); flex: none; }
.sheet__back { width: 38px; height: 38px; border-radius: 50%; background: var(--soft); font-size: 1.1rem; flex: none; }
.sheet__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.sheet__head h2 { font-size: 1.5rem; flex: 1; }
.sheet__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.sheet__art { aspect-ratio: 16 / 10; overflow: hidden; }
.sheet__art svg, .sheet__art img { width: 100%; height: 100%; object-fit: cover; }
.sheet__content { padding: 22px 24px 8px; }
.sheet__content h2 { font-size: 1.9rem; margin-bottom: 6px; }
.sheet__foot { display: flex; gap: 12px; align-items: center; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.sheet__foot--col { flex-direction: column; align-items: stretch; gap: 10px; }
.sheet__foot p { margin: 0; }

.opt-group { border: 0; padding: 0; margin: 20px 0 0; }
.opt-group legend { display: flex; justify-content: space-between; width: 100%; font-weight: 700; margin-bottom: 8px; }
.opt-group legend span { font-weight: 500; font-size: .78rem; color: var(--muted); background: var(--soft); padding: 3px 10px; border-radius: 999px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__mark { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cdb9a5; flex: none; transition: all .15s; }
.opt input[type="checkbox"] + .opt__mark { border-radius: 7px; }
.opt input:checked + .opt__mark { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 4px var(--bg); }
.opt input[type="checkbox"]:checked + .opt__mark { box-shadow: none; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' stroke='%23f3e3cc' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.opt input:focus-visible + .opt__mark { outline: 3px solid var(--caramel); outline-offset: 2px; }
.opt__name { flex: 1; }
.opt__extra { color: var(--muted); font-size: .9rem; }
.note { display: flex; flex-direction: column; gap: 6px; margin: 22px 0 16px; font-weight: 700; }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 50px; background: var(--bg); }
.stepper button { width: 44px; height: 100%; font-size: 1.3rem; border-radius: 999px; }
.stepper button:hover { background: var(--soft); }
.stepper span { min-width: 24px; text-align: center; font-weight: 700; }
.stepper--sm { height: 34px; margin-top: 8px; align-self: flex-start; }
.stepper--sm button { width: 32px; font-size: 1rem; }

.lines { list-style: none; margin: 0; padding: 8px 20px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line__art { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; }
.line__art svg, .line__art img { width: 100%; height: 100%; object-fit: cover; }
.line__info { display: flex; flex-direction: column; min-width: 0; }
.line__price { white-space: nowrap; }
.lines + .link { margin: 4px 20px 20px; display: inline-block; }
.row { display: flex; justify-content: space-between; align-items: baseline; }
.total { font-family: var(--serif); font-size: 1.7rem; }

.form { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.form label, .note { font-size: .9rem; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.form label .muted { font-weight: 400; }
input:not([type="radio"]):not([type="checkbox"]), select, textarea { width: 100%; border: 1.5px solid var(--line); background: var(--surface); border-radius: 14px; padding: 13px 14px; font-weight: 400; font-size: 1rem; outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--coffee); box-shadow: 0 0 0 4px rgba(201, 132, 63, .18); }
textarea { resize: vertical; }
select { appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%232a1b12' stroke-width='2' fill='none'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 40px; cursor: pointer; }
.is-invalid { border-color: var(--danger) !important; box-shadow: 0 0 0 4px rgba(196, 73, 60, .14) !important; }
.pay { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pay legend { font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.pay__opt { flex-direction: column !important; align-items: center; text-align: center; gap: 4px !important; padding: 12px 6px; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 600 !important; font-size: .8rem !important; cursor: pointer; background: var(--surface); transition: border-color .2s, background .2s; }
.pay__opt span { font-size: 1.4rem; }
.pay__opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay__opt:has(input:checked) { border-color: var(--ink); background: var(--cream); }
.pay__opt:has(input:focus-visible) { outline: 3px solid var(--caramel); }
.notice { margin: 16px 20px 0; padding: 12px 14px; border-radius: 14px; background: #fbefd9; color: #7a4e17; font-size: .9rem; }

.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 64px 24px; }
.empty p { margin: 0 0 14px; }
.empty__icon { font-size: 3rem; }
.done { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 24px; gap: 10px; overflow-y: auto; }
.done__cup { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; margin-bottom: 8px; animation: pop .5s cubic-bezier(.3, 1.5, .5, 1); }
.done__cup svg { width: 100%; height: 100%; transform: scale(1.3); }
.done h3 { font-size: 2rem; }
.done .eyebrow { margin: 0; }
@keyframes pop { from { transform: scale(0); } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 160%); z-index: 90; background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 16px; display: flex; gap: 14px; align-items: center; font-size: .92rem; box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2, .8, .2, 1); max-width: calc(100vw - 32px); }
.toast.is-visible { transform: translate(-50%, 0); }
.toast button { color: #e7b27a; font-weight: 700; white-space: nowrap; }

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

/* Responsive */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero__inner, .about, .local { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero__art { max-width: 380px; }
  .items { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --header-h: 60px; }
  .container { padding: 0 16px; }
  .header__inner { gap: 10px; }
  .header__status .status { font-size: .7rem; padding: 5px 9px; }
  .cart-btn__label { display: none; }
  .cart-btn { padding: 10px 12px; }
  .hero h1 { font-size: 3.4rem; }
  .hero__chip { font-size: .78rem; padding: 8px 12px; }
  .section { padding: 56px 0; }
  .item { padding: 12px; gap: 12px; }
  .item__art { width: 104px; height: 104px; }
  .item h3 { font-size: 1.1rem; }
  .map { height: 300px; }
  .pay { grid-template-columns: 1fr 1fr 1fr; }
  .footer { padding-bottom: 96px; }

  .sticky-cart:not([hidden]) { display: flex; align-items: center; gap: 12px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; background: var(--ink); color: var(--cream); padding: 14px 18px; border-radius: 18px; font-weight: 600; box-shadow: 0 16px 32px -12px rgba(42, 27, 18, .7); animation: pop-up .35s cubic-bezier(.2, .8, .2, 1); }
  .sticky-cart span:nth-child(2) { flex: 1; text-align: left; }
  .sticky-cart__count { background: var(--caramel); color: #fff; min-width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: .85rem; }
  @keyframes pop-up { from { transform: translateY(120%); } }
  .toast { bottom: 90px; }

  #productSheet { left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 92vh; border-radius: 26px 26px 0 0; transform: translateY(100%); opacity: 1; }
  #productSheet.is-open { transform: none; }
  .sheet__grip { display: block; position: absolute; top: 8px; left: 50%; translate: -50% 0; width: 40px; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .8); z-index: 3; }
}

/* Aviso (toast): oculto del todo cuando no se muestra */
.toast { opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 16px); transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .25s, visibility .3s; }
.toast.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.tabs { position: relative; }
