/* Homepage + menu page */
:root {
  --ivory: #f6f1e7; --paper: #fbf8f2; --card: #fff; --jade-950: #0a2c26; --jade-900: #0e3b33; --jade-700: #1f5e52;
  --jade-500: #2e7d6b; --jade-100: #e2eee9; --brass: #93703c; --brass-light: #c9a66b; --brass-text: #7d5e2e; --brass-100: #f3e9d6;
  --ink: #17211d; --muted: #4b534c; --line: #e6dfcf; --red: #a4372b;
  --serif: "Fraunces", Georgia, serif; --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --logo-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--ivory); color: var(--ink); font: 16px/1.45 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mono { font-family: var(--mono); }
.lang { border: 1px solid rgba(246,241,231,.3); background: none; color: var(--ivory); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; min-height: 34px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: rgba(246,241,231,.1); color: var(--ivory); }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7fd1ae; box-shadow: 0 0 0 3px rgba(127,209,174,.25); }
.pill.closed::before { background: #e59b8f; box-shadow: 0 0 0 3px rgba(229,155,143,.25); }
.pill.later::before { background: var(--brass-light); box-shadow: 0 0 0 3px rgba(201,166,107,.25); }

/* ---------- Homepage ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--jade-900); color: var(--ivory);
  padding: 14px 24px 34px; display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero::before {
  content: ""; position: absolute; left: 50%; bottom: -320px; width: 900px; height: 520px; transform: translateX(-50%);
  background: repeating-radial-gradient(ellipse at 50% 100%, transparent 0 22px, rgba(201,166,107,.10) 22px 23.5px);
  pointer-events: none;
}
/* Top row: small logo + name on the left, language button on the right (same look as the Menu page header) */
.htop { position: relative; z-index: 2; width: 100%; display: flex; align-items: center; gap: 11px; text-align: left; }
.htop .logo { flex: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(201,166,107,.6); }
.htop h1 { font: 600 22px/1 var(--serif); letter-spacing: -.01em; }
.htop .sub { display: block; font: 500 9.5px var(--logo-mono); letter-spacing: .26em; text-transform: uppercase; color: var(--brass-light); margin-top: 6px; }
.htop .lang { margin-left: auto; }
/* Dish photo carousel is the first thing under the header: full width of the green hero, next card peeks in */
.hero .dishes { position: relative; z-index: 1; width: calc(100% + 48px); margin: 0 -24px; padding: 18px 0 0; }
.hero .dtrack { gap: 12px; padding: 4px 24px 12px; scroll-padding: 0 24px; }
.hero .dcard { flex-basis: 84%; box-shadow: 0 14px 34px rgba(0,0,0,.32); }
.hero .ddots i { background: rgba(246,241,231,.28); }
.hero .ddots i.on { background: var(--brass-light); }
/* Arrow buttons + drag: only for a mouse (touch screens swipe, so they never see these) */
.dnav { display: none; }
@media (hover: hover) and (pointer: fine) {
  .hero .dnav { position: absolute; z-index: 3; top: calc(22px + 31.5vw - 26px); width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center;
    background: var(--ivory); color: var(--jade-900); box-shadow: 0 8px 22px rgba(0,0,0,.35); cursor: pointer; transition: transform .12s, opacity .15s; }
  .hero .dnav:hover { transform: scale(1.06); }
  .hero .dnav:focus-visible { outline: 3px solid var(--brass-light); outline-offset: 3px; }
  .hero .dnav[hidden] { display: none; }
  .hero .dnav.prev { left: 14px; }
  .hero .dnav.next { right: 14px; }
  .hero .dtrack { cursor: grab; }
  .hero .dtrack.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
  .hero .dtrack.dragging .dcard { pointer-events: none; }
  .hero .dcard img { -webkit-user-drag: none; user-select: none; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 760px) {
  .hero .dnav { top: calc(22px + 120px - 26px); }
}
@media (min-width: 760px) {
  .hero .dtrack { padding-left: 32px; padding-right: 32px; scroll-padding: 0 32px; }
  .hero .dcard { flex-basis: 320px; }
}
.hero .status { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 26px; padding: 10px 18px 11px; border-radius: 16px; background: rgba(246,241,231,.1); }
/* Address, phones, pickup and minimum: one tidy left-aligned list, centered as a block */
.facts { position: relative; list-style: none; display: grid; gap: 11px; margin: 22px auto 0; padding: 15px 2px; max-width: 360px; width: 100%; text-align: left;
  border-top: 1px solid rgba(201,166,107,.28); border-bottom: 1px solid rgba(201,166,107,.28); }
.facts li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; line-height: 1.35; text-wrap: pretty; color: rgba(246,241,231,.94); }
.facts li[hidden] { display: none; }
.facts svg { flex: none; color: var(--brass-light); margin-top: 0; }
.facts a.addr { border-bottom: 1px dotted rgba(246,241,231,.45); }
.facts .phones { font: 500 14px var(--mono); color: var(--ivory); white-space: nowrap; }
.facts .phones a { border-bottom: 1px dotted rgba(246,241,231,.45); }
.facts .phones i { font-style: normal; color: rgba(246,241,231,.45); margin: 0 7px; }
.hero .status .pill { background: none; padding: 0; }
.hero .banner { position: relative; margin-top: 14px; max-width: 420px; background: var(--brass-light); color: #231a0b; font-weight: 600; font-size: 15px; border-radius: 14px; padding: 10px 16px; }
.hours-line { font-size: 13.5px; color: rgba(246,241,231,.92); font-weight: 400; }
.hours-line span { color: rgba(246,241,231,.8); font-weight: 400; }
.ctas { position: relative; width: 100%; max-width: 420px; display: grid; gap: 12px; padding-top: 20px; }
.btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 68px; border-radius: 999px; padding: 0 22px; font-weight: 700; font-size: 19px; transition: transform .12s; }
.btn:active { transform: scale(.98); }
.btn small { display: block; font-size: 13px; font-weight: 600; opacity: .95; margin-top: 2px; }
.btn .t { text-align: center; padding: 0 30px; text-transform: uppercase; letter-spacing: .05em; text-shadow: 0 1px 2px rgba(0,0,0,.35), 0 2px 8px rgba(0,0,0,.2); }
.btn .t small { font-size: 11px; letter-spacing: .06em; }
.btn svg { flex: none; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.btn.primary { background: var(--brass); color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.btn.secondary { background: transparent; color: var(--ivory); border: 1.5px solid rgba(246,241,231,.45); }
.info { padding: 26px 20px 8px; display: grid; gap: 12px; max-width: 460px; margin: 0 auto; }
.card { background: var(--card); border-radius: 16px; padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; box-shadow: 0 1px 2px rgba(14,59,51,.06), 0 6px 18px rgba(14,59,51,.06); }
.ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--jade-100); color: var(--jade-700); display: grid; place-items: center; }
.card h3 { font: 700 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-text); margin-bottom: 3px; }
.card p { font-size: 15.5px; }
.card .muted { color: var(--muted); font-size: 14px; }
.card .act { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip-link { font-size: 13.5px; font-weight: 600; color: var(--jade-700); border: 1.5px solid #cfe0d8; border-radius: 10px; padding: 6px 12px; }
.hours-list { font-size: 14.5px; margin-top: 4px; }
.hours-list div { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; }
.hours-list .today { font-weight: 700; color: var(--jade-900); }
/* Dish photos: swipe carousel of regular combo dishes, between the hero and "how it works" */
.dishes { padding: 40px 0 6px; text-align: center; }
.dishes h2 { font: 600 30px/1.1 var(--serif); color: var(--jade-900); letter-spacing: -.01em; padding: 0 22px; }
.dishes-sub { margin-top: 6px; color: var(--muted); font-size: 15px; padding: 0 22px; }
.dtrack { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 22px; padding: 22px 22px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.dtrack::-webkit-scrollbar { display: none; }
.dcard { flex: 0 0 82%; max-width: 360px; display: flex; flex-direction: column; scroll-snap-align: center; background: var(--card); border-radius: 22px; overflow: hidden; text-align: left; box-shadow: 0 1px 2px rgba(14,59,51,.06), 0 10px 26px rgba(14,59,51,.10); transition: transform .12s; }
.dcard:active { transform: scale(.985); }
.dcard:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.dcard img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--line); }
.dcard .meta { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 16px; }
.dcard .dname { min-width: 0; }
.dcard b { display: block; font-weight: 600; font-size: 17px; line-height: 1.25; color: var(--ink); }
.dcard .pr { display: block; color: var(--jade-700); font-weight: 600; font-size: 15px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.dcard .go { flex: none; display: inline-flex; align-items: center; gap: 6px; background: var(--jade-900); color: var(--ivory); border-radius: 999px; padding: 0 14px; min-height: 40px; font-weight: 600; font-size: 14px; }
.ddots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
.ddots i { width: 7px; height: 7px; border-radius: 99px; background: var(--line); transition: width .2s, background .2s; }
.ddots i.on { width: 22px; background: var(--brass); }
@media (min-width: 760px) {
  .dishes { padding-top: 56px; }
  .dtrack { padding-left: max(22px, calc((100% - 1100px) / 2)); scroll-padding-left: max(22px, calc((100% - 1100px) / 2)); }
  .dcard { scroll-snap-align: start; }
  .dcard { flex-basis: 320px; }
}

/* How it works: three numbered steps under the hero (one column on phones, three across on wide screens) */
.how { max-width: 460px; margin: 0 auto; padding: 40px 22px 14px; text-align: center; }
.how h2 { font: 600 30px/1.1 var(--serif); color: var(--jade-900); letter-spacing: -.01em; }
.how-sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
.how-steps { list-style: none; margin: 24px 0 0; display: grid; gap: 0; text-align: left; }
.how-steps li { position: relative; display: flex; gap: 14px; padding-bottom: 20px; }
.how-steps li:last-child { padding-bottom: 0; }
.how-steps li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 4px; width: 2px; background: var(--line); }
.how-steps .n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--jade-900); color: var(--ivory); display: grid; place-items: center; font: 600 16px var(--serif); box-shadow: 0 0 0 3px var(--ivory), 0 0 0 4.5px rgba(147,112,60,.45); }
.how-steps b { display: block; font-size: 16.5px; font-weight: 600; color: var(--jade-900); margin-top: 6px; }
.how-steps p { font-size: 14.5px; line-height: 1.45; color: var(--muted); margin-top: 2px; text-wrap: pretty; }
.how-cta { margin: 26px auto 0; display: inline-flex; align-items: center; gap: 10px; background: var(--jade-900); color: var(--ivory); border-radius: 999px; padding: 0 24px; min-height: 50px; font-weight: 600; font-size: 16px; }
@media (min-width: 760px) {
  .how { max-width: 880px; padding-top: 56px; }
  .how-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; text-align: center; }
  .how-steps li { flex-direction: column; align-items: center; padding-bottom: 0; }
  .how-steps li:not(:last-child)::before { left: calc(50% + 30px); right: calc(-50% + 16px); top: 17px; bottom: auto; width: auto; height: 2px; }
}
footer.home { text-align: center; color: var(--muted); font-size: 12.5px; padding: 18px 20px calc(30px + var(--safe-b)); }
footer.home img { width: 28px; height: 28px; border-radius: 50%; opacity: .8; display: block; margin: 0 auto 8px; }

/* ---------- Menu page ---------- */
.mtop { background: var(--jade-900); color: var(--ivory); padding: 14px 16px 18px; }
.mtop-row { display: flex; align-items: center; gap: 12px; }
.back { width: 38px; height: 38px; border-radius: 50%; background: rgba(246,241,231,.1); display: grid; place-items: center; flex: none; }
.mbrand { display: flex; align-items: center; gap: 10px; }
.mbrand img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(201,166,107,.55); }
.mbrand b { font: 600 19px/1 var(--serif); }
.mtop .lang { margin-left: auto; }
.mtop h1 { font: 600 34px/1 var(--serif); margin-top: 18px; letter-spacing: -.01em; }
.mtop p { color: rgba(246,241,231,.85); font-size: 14px; margin-top: 6px; }
.mchips { position: sticky; top: 0; z-index: 5; background: rgba(246,241,231,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); display: flex; gap: 8px; padding: 10px 16px; overflow-x: auto; scrollbar-width: none; }
.mchips::-webkit-scrollbar { display: none; }
.mchips button { flex: none; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 500; color: var(--jade-900); min-height: 36px; }
.mchips button.on { background: var(--jade-900); color: var(--ivory); border-color: var(--jade-900); }
.mlist { max-width: 720px; margin: 0 auto; padding: 6px 16px calc(120px + var(--safe-b)); }
.mlist section { padding-top: 22px; scroll-margin-top: 64px; }
.mlist h2 { font: 600 22px var(--serif); color: var(--jade-900); letter-spacing: -.01em; }
.mlist .desc { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.mlist ul { list-style: none; margin-top: 10px; background: var(--card); border-radius: 14px; box-shadow: 0 1px 2px rgba(14,59,51,.06), 0 6px 18px rgba(14,59,51,.06); }
.mlist li { display: flex; align-items: baseline; gap: 10px; padding: 13px 16px; border-top: 1px solid #f0ebe0; }
.mlist li:first-child { border-top: 0; }
.mlist .n { font: 500 11.5px var(--mono); color: var(--brass-text); width: 22px; flex: none; }
.mlist .nm { font-weight: 500; font-size: 15.5px; }
.mlist .dots { flex: 1; border-bottom: 1.5px dotted #d9d0bd; transform: translateY(-4px); min-width: 12px; }
.mlist .pr { font: 500 15px var(--mono); color: var(--jade-900); white-space: nowrap; }
.mlist li.out { opacity: .5; }
.mlist .tag-best { display: flex; width: max-content; align-items: center; gap: 4px; margin-top: 4px; font: 700 10px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #7a5a24; background: var(--brass-100); border: 1px solid #e6d3ae; border-radius: 999px; padding: 2px 8px; }
.mlist li.na .nm { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.mlist li.out .pr { font: 700 11px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.mcta { position: fixed; left: 0; right: 0; bottom: 0; padding: 14px 16px calc(18px + var(--safe-b)); background: linear-gradient(to top, var(--ivory) 70%, rgba(246,241,231,0)); }
.mcta a { max-width: 688px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; background: var(--brass); color: #fff; border-radius: 16px; min-height: 60px; padding: 0 22px; font-weight: 700; font-size: 18px; box-shadow: 0 10px 28px rgba(10,44,38,.28); }
/* Shorter phones: tighten the top so both buttons stay on the first screen */
@media (max-height: 760px) {
  .facts { gap: 9px; padding: 12px 2px; margin-top: 18px; }
  .ctas { padding-top: 16px; }
  .hero .dishes { padding-top: 14px; }
  .hero .status { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Prices, dish numbers and phones: digits line up in columns */
.mono, .num, .item-price, .price, .cartbar .total, .stepper output, .btn .amt, .line-price, .totals dd, .extra, .ordnum, .callno, .fullno, .pickup-box .big, .hero-phones, .phones, .mlist .pr, .mlist .n { font-variant-numeric: tabular-nums; }
/* Narrow phones: keep the button's small line on one line */
@media (max-width: 380px) {
  .btn .t { padding: 0 26px; }
  .btn .t small { font-size: 10.5px; letter-spacing: .03em; white-space: nowrap; }
}
.mlist .idesc { display: block; font-size: 13px; line-height: 1.35; color: var(--muted); font-weight: 400; margin-top: 2px; }

.mlist .cat-note { margin: 2px 0 8px; font-size: 13.5px; color: var(--muted); }

/* Menu list: small square photo at the end of each row (same photos as the ordering page) */
.mlist li.has-photo { align-items: center; padding-top: 10px; padding-bottom: 10px; }
.mlist li.has-photo .dots { transform: none; }
.mlist .mthumb { flex: none; width: 60px; height: 60px; border-radius: 12px; object-fit: cover; background: var(--line); margin-left: 4px; }
.mlist li.out .mthumb { filter: grayscale(1); }
@media (max-width: 560px) {
  .mlist li.has-photo .dots { display: none; }
  .mlist li.has-photo .nm { flex: 1; min-width: 0; }
}
@media (max-width: 380px) { .mlist .mthumb { width: 52px; height: 52px; } }
.mlist .mthumb-btn { flex: none; padding: 0; border: 0; background: none; border-radius: 12px; cursor: zoom-in; display: block; }
.mlist .mthumb-btn:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

/* Social links (Facebook / Instagram): homepage footer and the bottom of the menu page */
.social { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 6px 0 22px; }
.social-lbl { font: 600 11.5px var(--logo-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--brass-text); }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.social-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--jade-900); color: var(--ivory); font: 600 14.5px var(--sans); transition: transform .12s; }
.social-links a:active { transform: scale(.97); }
.social-links a:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.social-links svg { flex: none; }
.mlist.has-social { padding-bottom: 8px; }
.msocial { padding: 18px 16px calc(112px + var(--safe-b)); }

/* Menu page: "Los más pedidos" cards at the top (tap opens the dish on the order page) */
.mchips button svg { width: 12px; height: 12px; margin-right: 5px; vertical-align: -1px; color: var(--brass); }
.mchips button.on svg { color: var(--brass-light); }
.mbest h2 { display: flex; align-items: center; gap: 8px; }
.mbest h2 svg { width: 17px; height: 17px; color: var(--brass); }
.mbest-wrap { position: relative; }
.mbest-row { display: flex; gap: 10px; overflow-x: auto; margin: 10px -16px 0; padding: 2px 16px 12px; scroll-snap-type: x proximity; scroll-padding: 0 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mbest-row::-webkit-scrollbar { display: none; }
.mbest-card { flex: none; width: 150px; scroll-snap-align: start; background: var(--card); border-radius: 14px; border-top: 3px solid var(--brass); box-shadow: 0 1px 2px rgba(14,59,51,.06), 0 6px 18px rgba(14,59,51,.06); overflow: hidden; display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.mbest-ph { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--jade-100); }
.mbest-ph.empty { display: grid; place-items: center; background: var(--brass-100); }
.mbest-ph.empty img { width: 42px; height: 42px; opacity: .55; border-radius: 50%; }
.mbest-txt { flex: 1; display: flex; flex-direction: column; gap: 3px; padding: 10px 12px 12px; }
.mbest-txt .n { width: auto; }
.mbest-txt b { font: 600 15.5px/1.2 var(--serif); color: var(--jade-900); }
.mbest-txt .pr { margin-top: auto; padding-top: 4px; font-size: 14px; }
.mbest-nav { position: absolute; top: -38px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--jade-900); display: none; place-items: center; box-shadow: 0 2px 8px rgba(14,59,51,.12); cursor: pointer; }
.mbest-nav.prev { right: 42px; }
.mbest-nav.next { right: 0; }
.mbest-nav:hover { background: var(--jade-900); color: #fff; border-color: var(--jade-900); }
@media (hover: hover) and (pointer: fine) { .mbest-nav { display: grid; } .mbest-nav[hidden] { visibility: hidden; } .mbest-card:hover { box-shadow: 0 2px 4px rgba(14,59,51,.08), 0 10px 24px rgba(14,59,51,.12); } }
