/* Glotón Burgers — identidad: amarillo #FFBA1F, turquesa #1AADA9, petróleo #124444, negro #2B2B2B, crema #F9F2E6 */
:root {
  --yellow: #ffba1f;
  --yellow-d: #f0a800;
  --teal: #1aada9;
  --teal-d: #124444;
  --ink: #2b2b2b;
  --cream: #f9f2e6;
  --cream-2: #f3e7d0;
  --paper: #fffaf1;
  --muted: #6c6357;
  --wa: #1fae5b;
  --r: 18px;
  --line: 2.5px solid var(--ink);
  --pop: 4px 4px 0 var(--ink);
  --pop-lg: 6px 6px 0 var(--ink);
  --wrap: 1180px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .9, .25, 1.25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); font-size: 15.5px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
[hidden] { display: none !important; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border: var(--line); border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; letter-spacing: .01em; box-shadow: var(--pop); transition: transform .15s var(--ease), box-shadow .15s; background: var(--paper); white-space: nowrap; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn svg { width: 20px; height: 20px; stroke-width: 2.6; }
.btn-xl { min-height: 52px; padding: 0 24px; font-size: 16.5px; font-variation-settings: 'wdth' 110; }
.btn-yellow { background: var(--yellow); }
.btn-dark { background: var(--ink); color: var(--yellow); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-ghost { background: var(--paper); }
.btn-ghost img { width: 28px; height: 28px; margin-left: -6px; }
.btn-wa { width: 100%; background: var(--wa); color: #fff; min-height: 58px; font-size: 17px; }
.btn-wa svg { width: 22px; height: 22px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- aviso + header ---------- */
.aviso { background: var(--ink); color: var(--yellow); text-align: center; font-weight: 700; font-size: 14.5px; padding: 9px 16px; }
.top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 18px; padding: 10px max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); background: color-mix(in srgb, var(--cream) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 2.5px solid transparent; transition: border-color .2s, background .2s; }
.top.scrolled { border-bottom-color: var(--ink); background: color-mix(in srgb, var(--cream) 96%, transparent); }
.top-logo img { width: 112px; height: auto; transition: transform .3s var(--ease); }
.top-logo:hover img { transform: rotate(-4deg) scale(1.05); }
.top-nav { display: flex; gap: 6px; margin-left: auto; }
.top-nav a { text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: 999px; transition: background .15s; }
.top-nav a:hover { background: var(--cream-2); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 14px; border: var(--line); border-radius: 999px; background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); font-weight: 800; transition: transform .15s var(--ease); }
.cart-btn svg { width: 22px; height: 22px; stroke-width: 2.4; }
.cart-btn:hover { transform: translate(-1px, -1px) rotate(-2deg); }
.cart-n { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 99px; background: var(--ink); color: var(--yellow); font-size: 13.5px; }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.18) rotate(-6deg); } 60% { transform: scale(.95) rotate(3deg); } 100% { transform: scale(1); } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 10px 0 0; background:
  radial-gradient(circle at 78% 42%, color-mix(in srgb, var(--yellow) 55%, transparent) 0 20%, transparent 46%), var(--cream); }
.hero-in { max-width: var(--wrap); margin: 0 auto; padding: 14px 20px 60px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); font-weight: 800; font-size: 13.5px; text-transform: uppercase; letter-spacing: .06em; }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 30%, transparent); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }
.hero-h1 { margin: 0; font-weight: 900; font-variation-settings: 'wdth' 125; text-transform: uppercase; line-height: .9; letter-spacing: -.01em; font-size: clamp(34px, 5vw, 66px); }
.hero-h1 span { display: block; opacity: 0; transform: translateY(30px) rotate(-2deg); animation: rise .8s var(--ease) forwards; }
.hero-h1 .l2 { animation-delay: .1s; }
.hero-h1 .l3 { animation-delay: .2s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-h1 em { font-style: normal; color: var(--yellow); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink); display: inline-block; transform: rotate(-3deg); }
.hero-sub { max-width: 500px; font-size: 16.5px; color: #4a443c; margin: 16px 0 20px; }
.hero-sub b { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.hero-tags li { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; padding: 6px 12px; border-radius: 8px; background: var(--teal-d); color: var(--cream); }
.hero-tags li:nth-child(2) { background: var(--teal); }
.hero-tags li:nth-child(3) { background: var(--ink); color: var(--yellow); }

.hero-art { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; justify-self: center; }
.ring { position: absolute; inset: 4%; border-radius: 50%; background: var(--teal); border: 3px solid var(--ink); box-shadow: inset 0 0 0 16px var(--teal), inset 0 0 0 19px var(--ink), inset 0 0 0 1000px var(--teal-d), var(--pop-lg); }
.ring-text { position: absolute; inset: -1%; width: 102%; height: 102%; animation: spin 28s linear infinite; }
.ring-text text { fill: var(--cream); stroke: none; font-weight: 900; font-size: 21px; letter-spacing: 4.2px; font-family: var(--font); font-variation-settings: 'wdth' 110; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-burger { position: absolute; left: -4%; width: 108%; max-width: none; top: 22%; filter: drop-shadow(0 26px 22px rgba(30, 20, 5, .35)); animation: float 5s ease-in-out infinite; will-change: transform; transition: translate .25s ease-out; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-1.5deg); } }
.sticker { position: absolute; border: var(--line); box-shadow: var(--pop); font-weight: 900; text-transform: uppercase; line-height: 1; font-variation-settings: 'wdth' 115; }
.s-amor { top: 8%; right: -2%; background: var(--teal); color: var(--cream); padding: 9px 11px; border-radius: 12px; font-size: 12.5px; transform: rotate(9deg); -webkit-text-stroke: 0; animation: wobble 4s ease-in-out infinite; }
.s-price { bottom: 14%; left: 2%; background: var(--paper); padding: 8px 14px 10px; border-radius: 12px; font-size: 30px; transform: rotate(-7deg); }
.s-price small { display: block; font-size: 13px; letter-spacing: .1em; color: var(--teal-d); margin-bottom: 2px; }
@keyframes wobble { 50% { transform: rotate(4deg) scale(1.04); } }
.hero-mascot { position: absolute; right: -4%; bottom: -2%; width: 30%; transform: rotate(8deg); filter: drop-shadow(4px 4px 0 var(--ink)); animation: peek 3.5s ease-in-out infinite; }
@keyframes peek { 50% { transform: rotate(2deg) translateY(-6px); } }

.checker { --s: 24px; height: var(--s); background: repeating-conic-gradient(var(--yellow) 0 25%, var(--teal) 0 50%) 0 0 / calc(var(--s) * 2) calc(var(--s) * 2); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.checker-hero { position: absolute; left: 0; right: 0; bottom: 0; }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; background: var(--ink); color: var(--yellow); padding: 9px 0; border-bottom: 3px solid var(--ink); }
.ticker-track { display: flex; gap: 26px; width: max-content; animation: ticker 26s linear infinite; font-weight: 900; text-transform: uppercase; font-size: clamp(17px, 2.2vw, 24px); font-variation-settings: 'wdth' 125; line-height: 1; }
.ticker-track i { font-style: normal; color: var(--teal); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- bloques ---------- */
.block { padding: 48px 0; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.h2 { margin: 0; font-weight: 900; font-variation-settings: 'wdth' 125; text-transform: uppercase; font-size: clamp(26px, 3.6vw, 42px); line-height: .95; letter-spacing: -.01em; }
.hl { color: var(--yellow); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink); }
.head-note { max-width: 380px; margin: 0; color: var(--muted); font-size: 14.5px; }
.loading { padding: 60px 0; text-align: center; font-weight: 800; color: var(--muted); }

/* destacadas */
.favs { padding-bottom: 20px; }
.favs-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.fav { position: relative; border: var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--pop); overflow: hidden; text-align: left; padding: 0; transition: transform .2s var(--ease), box-shadow .2s; }
.fav:hover { transform: translate(-3px, -4px) rotate(-1deg); box-shadow: 9px 10px 0 var(--ink); }
.fav-media { height: 140px; position: relative; overflow: hidden; border-bottom: var(--line); }
.fav-body { padding: 10px 12px 12px; }
.fav-name { margin: 0; font-weight: 900; font-size: 17px; text-transform: uppercase; font-variation-settings: 'wdth' 118; line-height: 1; }
.fav-desc { margin: 5px 0 10px; color: var(--muted); font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fav-foot { display: flex; align-items: center; justify-content: space-between; }

/* precio estilo menú (cinta amarilla) */
.price { display: inline-block; background: var(--yellow); border: 2px solid var(--ink); border-radius: 8px; padding: 2px 9px 3px; font-weight: 900; font-size: 16.5px; line-height: 1.1; transform: rotate(-2deg); font-variation-settings: 'wdth' 112; white-space: nowrap; }
.plus { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: var(--line); background: var(--ink); color: var(--yellow); font-size: 26px; font-weight: 700; line-height: 1; box-shadow: 2px 2px 0 var(--teal); transition: transform .2s var(--ease); }
.fav:hover .plus, .card:hover .plus { transform: rotate(90deg) scale(1.08); }

/* imagen o ilustración */
.media-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.media-cut { width: 100%; height: 100%; object-fit: contain; padding: 10px; filter: drop-shadow(0 12px 10px rgba(0,0,0,.28)); transition: transform .4s var(--ease); }
.fav:hover .media-img, .card:hover .media-img { transform: scale(1.06); }
.fav:hover .media-cut, .card:hover .media-cut { transform: scale(1.08) rotate(-3deg); }
.ph { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.ph::before { content: ''; position: absolute; inset: -40%; background: repeating-conic-gradient(rgba(0,0,0,.07) 0 25%, transparent 0 50%) 0 0 / 44px 44px; transform: rotate(-8deg); }
.ph-y { background: var(--yellow); }
.ph-t { background: var(--teal); }
.ph-d { background: var(--teal-d); }
.ph-c { background: var(--cream-2); }
.ph svg { position: relative; width: 46%; max-width: 150px; height: auto; stroke: var(--ink); stroke-width: 3.2; filter: drop-shadow(4px 4px 0 rgba(0,0,0,.18)); transition: transform .4s var(--ease); }
.fav:hover .ph svg, .card:hover .ph svg { transform: rotate(-8deg) scale(1.1); }
.ph .ph-word { position: absolute; bottom: 8px; left: 12px; font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: .12em; opacity: .55; }
.tag { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ink); color: var(--yellow); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 5px 10px; border-radius: 8px; transform: rotate(-3deg); }
.soldout { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgba(43,43,43,.55); }
.soldout span { background: var(--paper); border: var(--line); padding: 6px 14px; border-radius: 10px; font-weight: 900; text-transform: uppercase; transform: rotate(-6deg); }

/* ---------- menú ---------- */
.search { display: flex; align-items: center; gap: 10px; min-width: min(340px, 100%); height: 46px; padding: 0 16px; background: var(--paper); border: var(--line); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); }
.search svg { width: 20px; height: 20px; stroke-width: 2.6; flex: none; }
.search input { border: 0; background: none; outline: none; width: 100%; font-weight: 600; }
.cats { position: sticky; top: 60px; z-index: 30; display: flex; flex-wrap: wrap; gap: 8px; padding: 8px max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); background: var(--cream); scrollbar-width: none; border-bottom: 2.5px solid var(--ink); margin-bottom: 10px; }
.cat { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px 0 5px; border: var(--line); border-radius: 999px; background: var(--paper); font-weight: 800; font-size: 14.5px; text-decoration: none; transition: background .15s, transform .15s var(--ease); }
.cat .ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cream-2); border: 2px solid var(--ink); }
.cat .ic svg { width: 18px; height: 18px; stroke-width: 2.4; }
.cat:hover { transform: translateY(-2px); }
.cat.on { background: var(--ink); color: var(--yellow); }
.cat.on .ic { background: var(--yellow); color: var(--ink); }

.cat-sec { padding: 26px 0 6px; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.cat-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; border: var(--line); box-shadow: var(--pop); background: var(--yellow); transform: rotate(-5deg); }
.cat-icon svg { width: 32px; height: 32px; stroke-width: 2.6; }
.cat-sec:nth-of-type(2n) .cat-icon { background: var(--teal); }
.cat-title { margin: 0; font-weight: 900; font-variation-settings: 'wdth' 125; text-transform: uppercase; font-size: clamp(26px, 3.6vw, 40px); line-height: .9; }
.cat-bajada { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.sub-title { display: inline-block; margin: 18px 0 10px; font-weight: 900; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; background: var(--yellow); border: 2px solid var(--ink); padding: 4px 11px; transform: rotate(-1.5deg); clip-path: polygon(1% 6%, 99% 0, 100% 92%, 0 100%); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.card { position: relative; display: flex; flex-direction: column; border: var(--line); border-radius: var(--r); background: var(--paper); box-shadow: var(--pop); overflow: hidden; text-align: left; padding: 0; transition: transform .2s var(--ease), box-shadow .2s; opacity: 0; transform: translateY(16px); }
.card.in { opacity: 1; transform: none; }
.card:hover { transform: translate(-2px, -3px); box-shadow: 7px 8px 0 var(--ink); }
.card-media { position: relative; height: 130px; border-bottom: var(--line); overflow: hidden; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 10px 12px 12px; }
.card-name { margin: 0; font-weight: 900; font-size: 16.5px; line-height: 1.05; text-transform: uppercase; font-variation-settings: 'wdth' 112; }
.card-desc { margin: 5px 0 10px; color: var(--muted); font-size: 13px; line-height: 1.35; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card .plus { width: 34px; height: 34px; font-size: 22px; }
.card.sold { pointer-events: none; }
.card.sold .card-body { opacity: .55; }
.cat-note { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; padding: 10px 14px; background: var(--yellow); border: var(--line); border-radius: 14px; box-shadow: var(--pop); font-weight: 800; font-size: 14.5px; transform: rotate(-.6deg); }
.cat-note img { width: 34px; flex: none; }
.empty { padding: 50px 0; text-align: center; color: var(--muted); font-weight: 700; }

/* ---------- random ---------- */
.random { background: var(--teal-d); color: var(--cream); position: relative; overflow: hidden; }
.random::before { content: ''; position: absolute; inset: 0; background: repeating-conic-gradient(rgba(255,255,255,.035) 0 25%, transparent 0 50%) 0 0 / 80px 80px; }
.random-in { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.random-mascot { width: clamp(110px, 16vw, 190px); filter: drop-shadow(6px 6px 0 var(--ink)); transition: transform .3s var(--ease); }
.random-mascot.chomp { animation: chomp .25s ease-in-out 6; }
@keyframes chomp { 50% { transform: rotate(-8deg) scale(1.06); } }
.h2-light { color: var(--cream); }
.random-copy p { font-size: 15.5px; opacity: .85; margin: 8px 0 16px; }
.slot { display: flex; align-items: center; min-height: 64px; padding: 0 18px; margin-bottom: 16px; background: var(--cream); color: var(--ink); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--yellow); overflow: hidden; }
.slot span { font-weight: 900; text-transform: uppercase; font-size: clamp(18px, 2.6vw, 28px); font-variation-settings: 'wdth' 118; line-height: 1.05; }
.slot.rolling span { filter: blur(1px); }
.slot .price { margin-left: auto; font-size: 22px; }
.random-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.g { position: relative; margin: 0; height: 260px; border: 2.5px solid var(--ink); border-radius: 16px; overflow: hidden; box-shadow: var(--pop); background: var(--ink); }
.g img { height: 100%; width: 100%; object-fit: cover; transition: transform .6s ease; }
.g:hover img { transform: scale(1.05); }
.g figcaption { position: absolute; left: 8px; bottom: 8px; background: var(--paper); border: 2px solid var(--ink); border-radius: 8px; padding: 3px 8px; font-weight: 800; font-size: 12px; box-shadow: 3px 3px 0 var(--ink); }

/* ---------- delivery ---------- */
.takeaway { background: var(--yellow); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.takeaway-in { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.takeaway-img { border: 3px solid var(--ink); border-radius: 24px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); transform: rotate(-2deg); }
.takeaway .hl { color: var(--paper); }
.pill-dark { display: inline-block; background: var(--ink); color: var(--yellow); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; padding: 6px 12px; border-radius: 8px; margin-bottom: 16px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: center; font-size: 15px; }
.steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); border: var(--line); font-weight: 900; font-size: 15px; box-shadow: 2px 2px 0 var(--ink); }

/* ---------- dónde ---------- */
.donde-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: stretch; }
.donde-card { background: var(--paper); border: 3px solid var(--ink); border-radius: 20px; box-shadow: var(--pop); padding: 22px; }
.donde-badge { width: 120px; margin: -6px 0 14px; transform: rotate(-6deg); }
.donde-card .h2 { font-size: clamp(24px, 3vw, 34px); }
.info { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 10px; }
.info li { display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 600; }
.info svg { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--teal); color: var(--paper); stroke-width: 2.4; border: 2px solid var(--ink); }
.info a { text-decoration: none; border-bottom: 2px solid var(--yellow); }
.donde-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.donde-map { border: 3px solid var(--ink); border-radius: 20px; overflow: hidden; box-shadow: var(--pop); min-height: 300px; background: var(--cream-2); }
.donde-map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; filter: saturate(.9) contrast(1.02); }

/* ---------- footer ---------- */
.foot { background: var(--teal-d); color: var(--cream); text-align: center; }
.checker-foot { --s: 26px; border-top: 0; }
.foot-in { padding: 36px 20px 30px; display: grid; justify-items: center; gap: 10px; }
.foot-lockup { width: min(300px, 80%); background: var(--cream); padding: 16px 22px; border-radius: 20px; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--yellow); }
.foot-claim { margin: 22px 0 0; font-weight: 900; text-transform: uppercase; font-variation-settings: 'wdth' 120; font-size: clamp(18px, 2.4vw, 24px); color: var(--yellow); }
.foot-small { margin: 0; opacity: .7; font-size: 14px; }
.madeby { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e4e1d8; font-size: 12.5px; color: #64757f; text-decoration: none; }
.madeby img { height: 16px; width: auto; display: block; }
.foot-admin { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 20px; background: var(--ink, #2b2b2b); color: #fff; font-weight: 800; font-size: 14px; text-decoration: none; border-top: 1px solid rgba(255,255,255,.15); }
.foot-admin svg { width: 17px; height: 17px; }
.foot-admin:hover { text-decoration: underline; }

/* ---------- barra flotante ---------- */
.cartbar { position: fixed; z-index: 45; left: 14px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 20px 0 10px; border: 3px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--cream); box-shadow: 4px 4px 0 var(--yellow); font-weight: 800; font-size: 17px; animation: barIn .4s var(--ease); max-width: 560px; margin: 0 auto; }
.cartbar-n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 17px; }
.cartbar b { margin-left: auto; color: var(--yellow); font-size: 19px; }
@keyframes barIn { from { transform: translateY(120%); } }

/* ---------- modal producto ---------- */
.sheet, .drawer { position: fixed; inset: 0; z-index: 60; }
.sheet-bg { position: absolute; inset: 0; background: rgba(28, 24, 18, .55); backdrop-filter: blur(3px); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, calc(100vw - 28px)); max-height: calc(100dvh - 40px); display: flex; flex-direction: column; background: var(--paper); border: 3px solid var(--ink); border-radius: 26px; box-shadow: 8px 8px 0 var(--ink); overflow: hidden; animation: pop .3s var(--ease); }
@keyframes pop { from { transform: translate(-50%, -46%) scale(.94); opacity: 0; } }
.x { position: absolute; top: 12px; right: 12px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; border: var(--line); background: var(--paper); font-size: 26px; line-height: 1; box-shadow: 2px 2px 0 var(--ink); }
.p-media { position: relative; height: 230px; flex: none; border-bottom: 3px solid var(--ink); overflow: hidden; }
.p-body { padding: 20px 22px 8px; overflow-y: auto; }
.p-tag { display: inline-block; background: var(--teal); color: var(--paper); font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 8px; margin-bottom: 8px; }
.p-title { margin: 0; font-weight: 900; text-transform: uppercase; font-size: 32px; line-height: 1; font-variation-settings: 'wdth' 118; }
.p-ing { list-style: none; padding: 0; margin: 12px 0 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.p-ing li { background: var(--cream); border: 1.5px solid #d9cbb1; border-radius: 99px; padding: 4px 11px; font-size: 14px; font-weight: 600; }
.p-ing.txt li { background: none; border: 0; padding: 0; font-size: 16px; font-weight: 500; color: var(--muted); }
.opt { margin: 20px 0 6px; }
.opt-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.opt-h b { font-weight: 900; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.opt-h small { color: var(--muted); font-weight: 700; font-size: 13px; }
.opt-h small.ok { color: var(--teal); }
.opt-list { display: grid; gap: 8px; }
.opt-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 2px solid #d9cbb1; border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.opt-row:has(input:checked) { border-color: var(--ink); background: color-mix(in srgb, var(--yellow) 22%, #fff); }
.opt-row input { appearance: none; flex: none; width: 24px; height: 24px; border: 2.5px solid var(--ink); border-radius: 7px; display: grid; place-items: center; background: #fff; margin: 0; }
.opt-row input[type=radio] { border-radius: 50%; }
.opt-row input:checked { background: var(--ink); }
.opt-row input:checked::after { content: ''; width: 10px; height: 6px; border-left: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow); transform: rotate(-45deg) translate(1px, -1px); }
.opt-row input[type=radio]:checked::after { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--yellow); transform: none; }
.opt-row span { flex: 1; font-weight: 600; }
.opt-row em { font-style: normal; font-weight: 800; color: var(--teal-d); white-space: nowrap; }
.opt-row .rec { font-size: 11px; font-weight: 800; text-transform: uppercase; background: var(--yellow); border-radius: 6px; padding: 2px 6px; margin-left: 6px; }
.opt-sub { margin: 12px 0 6px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick button { padding: 9px 14px; border: 2px solid #d9cbb1; border-radius: 99px; background: #fff; font-weight: 700; font-size: 14.5px; transition: all .15s var(--ease); }
.pick button.on { border-color: var(--ink); background: var(--ink); color: var(--yellow); transform: scale(1.04); }
.pick button.on::before { content: '✓ '; }
.pick.full button:not(.on) { opacity: .45; }
.field { display: grid; gap: 6px; margin: 18px 0 8px; }
.field > span { font-weight: 800; font-size: 14.5px; }
.field input, .field select, .field textarea { width: 100%; height: 50px; padding: 0 14px; border: 2px solid #cdbd9f; border-radius: 14px; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus { border-color: var(--ink); box-shadow: 3px 3px 0 var(--yellow); }
.p-foot { display: flex; gap: 12px; align-items: center; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 2.5px solid var(--ink); background: var(--cream); }
.qty { display: flex; align-items: center; border: var(--line); border-radius: 999px; background: var(--paper); height: 54px; }
.qty button { width: 46px; height: 100%; border: 0; background: none; font-size: 24px; font-weight: 800; }
.qty b { min-width: 26px; text-align: center; font-size: 18px; }
.p-add { flex: 1; min-height: 54px; font-size: 17px; justify-content: space-between; padding: 0 22px; }
.p-add b { font-size: 19px; }
.var-list { display: flex; gap: 10px; flex-wrap: wrap; }
.var-list label { flex: 1; min-width: 120px; }
.var-list input { position: absolute; opacity: 0; pointer-events: none; }
.var-list span { display: flex; flex-direction: column; align-items: center; padding: 12px; border: 2px solid #d9cbb1; border-radius: 14px; background: #fff; font-weight: 800; cursor: pointer; }
.var-list span small { font-size: 15px; color: var(--teal-d); }
.var-list input:checked + span { border-color: var(--ink); background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); }

/* ---------- carrito ---------- */
.drawer-card { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); display: flex; flex-direction: column; background: var(--cream); border-left: 3px solid var(--ink); animation: slide .3s cubic-bezier(.2,.8,.2,1); }
@keyframes slide { from { transform: translateX(100%); } }
.d-head { position: relative; padding: 20px 22px 16px; border-bottom: 2.5px solid var(--ink); background: var(--yellow); }
.d-head h3 { margin: 0; font-weight: 900; text-transform: uppercase; font-size: 28px; font-variation-settings: 'wdth' 120; }
.d-head .x { top: 14px; }
.d-body { flex: 1; overflow-y: auto; padding: 16px 20px 10px; }
.d-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: start; padding: 12px; margin-bottom: 10px; background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; }
.d-thumb { position: relative; width: 58px; height: 58px; border-radius: 12px; overflow: hidden; border: 2px solid var(--ink); }
.d-thumb .ph svg { width: 66%; stroke-width: 4; }
.d-thumb .ph .ph-word { display: none; }
.d-name { margin: 0; font-weight: 800; line-height: 1.2; }
.d-det { margin: 3px 0 8px; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.d-ctrl { display: flex; align-items: center; gap: 6px; }
.d-ctrl button { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; font-weight: 800; font-size: 17px; line-height: 1; }
.d-ctrl b { min-width: 22px; text-align: center; }
.d-ctrl .del { margin-left: 6px; width: auto; padding: 0 10px; border-radius: 99px; font-size: 12.5px; border-color: #cdbd9f; color: var(--muted); }
.d-price { font-weight: 900; white-space: nowrap; }
.d-empty { text-align: center; padding: 40px 10px 20px; }
.d-empty img { width: 140px; margin: 0 auto 10px; opacity: .9; }
.d-empty p { font-weight: 800; font-size: 18px; margin: 0 0 16px; }
.d-form { margin-top: 10px; padding-top: 6px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: var(--line); border-radius: 999px; overflow: hidden; background: var(--paper); margin-top: 6px; }
.seg input, .chips input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; height: 48px; font-weight: 800; cursor: pointer; transition: background .15s; }
.seg input:checked + span { background: var(--ink); color: var(--yellow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { display: inline-block; padding: 10px 16px; border: 2px solid #cdbd9f; border-radius: 99px; background: #fff; font-weight: 700; cursor: pointer; }
.chips input:checked + span { border-color: var(--ink); background: var(--yellow); }
.envio { margin: -2px 0 0; font-size: 13.5px; color: var(--muted); }
.d-foot { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 2.5px solid var(--ink); background: var(--paper); }
.d-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-weight: 900; text-transform: uppercase; }
.d-total b { font-size: 30px; font-variation-settings: 'wdth' 115; }
.d-small { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- toast + vuelo ---------- */
.toast { position: fixed; z-index: 80; left: 50%; top: 84px; transform: translate(-50%, -20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--yellow); font-weight: 800; padding: 12px 20px; border-radius: 999px; border: 2.5px solid var(--yellow); transition: all .3s var(--ease); white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.fly { position: fixed; z-index: 90; width: 54px; height: 54px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--yellow); display: grid; place-items: center; pointer-events: none; box-shadow: 3px 3px 0 var(--ink); }
.fly svg { width: 30px; height: 30px; stroke-width: 2.6; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; padding-bottom: 70px; gap: 10px; }
  .hero-art { max-width: 300px; order: -1; margin-top: -6px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery .g5 { display: none; }
  .hero-copy { text-align: left; }
  .takeaway-in, .donde-in { grid-template-columns: 1fr; gap: 34px; }
  .random-in { grid-template-columns: auto 1fr; text-align: left; gap: 16px; }
  .random-mascot { width: 90px; }
  .slot { width: 100%; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 124px; }
  .top { gap: 10px; padding: 8px 16px; }
  .top-nav { display: none; }
  .cart-btn { margin-left: auto; height: 44px; padding: 0 12px; }
  .cart-txt { display: none; }
  .top-logo img { width: 112px; }
  .hero { padding-top: 6px; }
  .hero-in { padding: 4px 16px 44px; }
  .hero-art { max-width: 230px; }
  .s-price { font-size: 21px; padding: 5px 10px 7px; }
  .s-price small { font-size: 10px; }
  .s-amor { font-size: 9.5px; padding: 6px 8px; }
  .ring-text text { font-size: 24px; }
  .hero-h1 { font-size: 31px; }
  .hero-sub { font-size: 15px; margin: 10px 0 14px; }
  .eyebrow { font-size: 11px; padding: 5px 10px; margin-bottom: 10px; }
  .hero-tags { display: none; }
  .btn-xl { min-height: 48px; font-size: 15.5px; padding: 0 18px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .wrap { padding: 0 16px; }
  .block { padding: 34px 0; }
  .cats { top: 58px; padding: 7px 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .cat { flex-direction: column; justify-content: center; height: auto; padding: 5px 2px; gap: 2px; border-radius: 12px; font-size: 11.5px; border-width: 2px; }
  .cat .ic { width: 26px; height: 26px; border-width: 1.5px; }
  .cat .ic svg { width: 17px; height: 17px; }
  .favs-track { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fav-media { height: 100px; }
  .fav-name { font-size: 14.5px; }
  .fav-desc { display: none; }
  .fav-body { padding: 8px 10px 10px; }
  .fav-body .fav-name { margin-bottom: 8px; }
  .fav .plus { width: 30px; height: 30px; font-size: 19px; }
  .fav .tag { font-size: 9.5px; padding: 3px 6px; top: 6px; left: 6px; }
  .grid { grid-template-columns: 1fr; gap: 10px; }
  .card { flex-direction: row; min-height: 0; border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); }
  .card-media { width: 92px; height: auto; min-height: 92px; flex: none; border-bottom: 0; border-right: var(--line); }
  .card-body { padding: 8px 10px 9px; }
  .card-name { font-size: 15px; }
  .card-desc { font-size: 12.5px; margin: 3px 0 7px; -webkit-line-clamp: 2; }
  .card .plus { width: 30px; height: 30px; font-size: 19px; }
  .card .ph .ph-word { display: none; }
  .price { font-size: 15px; }
  .card .tag { font-size: 8.5px; padding: 2px 5px; top: 5px; left: 5px; }
  .cat-icon { width: 42px; height: 42px; border-radius: 12px; }
  .cat-icon svg { width: 26px; height: 26px; }
  .cat-title { font-size: 26px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery .g5 { display: block; grid-column: 1 / -1; }
  .g { height: 150px; border-radius: 12px; }
  .slot { min-height: 52px; }
  .random-copy p { margin: 4px 0 10px; font-size: 14px; }
  .takeaway-in { gap: 22px; }
  .donde-map, .donde-map iframe { min-height: 220px; }
  .sheet-card { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; max-height: 92dvh; border-radius: 26px 26px 0 0; border-bottom: 0; box-shadow: none; animation: up .3s cubic-bezier(.2,.8,.2,1); }
  @keyframes up { from { transform: translateY(100%); } }
  .p-media { height: 200px; }
  .p-title { font-size: 27px; }
  .donde-card { padding: 22px; }
  .takeaway-img { transform: rotate(-1deg); }
  .toast { top: 76px; }
}
@media (min-width: 721px) { .cartbar { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-h1 span, .card { opacity: 1; transform: none; }
}
.g4 { background: var(--yellow); }
.g4 img { object-fit: contain; padding: 20px; }
.ph-d .ph-word { color: var(--cream); opacity: .6; }
.ph-d::before { background: repeating-conic-gradient(rgba(255,255,255,.06) 0 25%, transparent 0 50%) 0 0 / 44px 44px; }
@media (max-width: 720px) { .p-media { height: 170px; } }

/* ---------- panel nuevo: estado, colores de categoría, checkout ---------- */
.estado { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 99px; border: 2px solid var(--ink); font-weight: 800; font-size: 12.5px; text-decoration: none; white-space: nowrap; background: var(--paper); }
.estado i { width: 9px; height: 9px; border-radius: 50%; background: #9a9081; }
.estado.abierto i { background: #1f9d57; box-shadow: 0 0 0 3px rgba(31,157,87,.25); animation: pulse 1.8s infinite; }
.estado.cerrado { background: var(--cream-2); color: var(--muted); }
.cat-sec.tema-turquesa .cat-icon { background: var(--teal); }
.cat-sec.tema-petroleo .cat-icon { background: var(--teal-d); }
.cat-sec.tema-crema .cat-icon { background: var(--cream-2); }
.cat-sec.tema-amarillo .cat-icon { background: var(--yellow); }
.d-cerrado { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: var(--cream-2); border: 2px dashed var(--muted); font-weight: 700; font-size: 14px; }
.field-hint { color: var(--muted); font-size: 12.5px; }
.cupon-row { display: flex; gap: 8px; }
.cupon-row input { flex: 1; height: 48px; padding: 0 14px; border: 2px solid #cdbd9f; border-radius: 14px; background: #fff; outline: none; text-transform: uppercase; }
.cupon-row input:focus { border-color: var(--ink); }
.cupon-row .btn { min-height: 48px; box-shadow: 2px 2px 0 var(--ink); }
.cupon-msg { font-weight: 700; font-size: 13.5px; min-height: 1em; }
.cupon-msg.ok { color: #1f9d57; }
.cupon-msg.bad { color: #c0392b; }
.d-sub { display: grid; gap: 2px; margin-bottom: 6px; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.d-sub > div { display: flex; justify-content: space-between; }
.d-desc { color: #1f9d57; }
.opt-count { justify-content: space-between; cursor: default; }
.qty-sm { height: 40px; }
.qty-sm button { width: 38px; font-size: 20px; }
@media (max-width: 720px) {
  .estado { font-size: 11px; padding: 4px 9px; }
  .top-logo img { width: 96px; }
}
.steps li { align-items: flex-start; line-height: 1.4; }
.steps li::before { margin-top: -3px; }
.steps li span { flex: 1; min-width: 0; }
