/* Jireh: what's new on the customer app (menu tabs, prices por confirmar, group orders)
   plus the light "printed menu" look. Colors come from brand/brand.css. */

body { background: var(--bg); color: var(--ink); }
body::before {
  /* Leaves in the corners, like the printed menu. */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background:
    radial-gradient(60px 26px at 0 0, rgba(122, 168, 63, .35), transparent 70%),
    radial-gradient(70px 30px at 100% 100%, rgba(122, 168, 63, .3), transparent 70%);
}
.app { position: relative; z-index: 1; }

/* Stripe: green, orange, cream, leaf. */
.stripe i:nth-child(1), .stripe i:nth-child(2) { background: var(--jr-green); }
.stripe i:nth-child(3) { background: var(--jr-orange); }
.stripe i:nth-child(4) { background: var(--jr-leaf); }
.stripe i:nth-child(5) { background: var(--jr-green-2); }
.gate-bar i:nth-child(-n+2) { background: var(--jr-green) !important; }
.gate-bar i:nth-child(3) { background: var(--jr-orange) !important; }
.gate-bar i:nth-child(n+4) { background: var(--jr-leaf) !important; }

/* Script titles, sans-bold sections. */
.tagline, .mtop h1, .ht, footer .h, .oh h3, #gateTitle { font-family: var(--script); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--jr-green); }
.mtop h1 { font-size: 34px; }
.ht { font-size: 30px; }
.oh h3 { font-size: 30px; }
.sh h2, .cat b, .hcat b { font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--jr-green); }
.sh h2 { display: inline-block; background: var(--jr-green); color: #fff; padding: 6px 16px 5px; border-radius: 999px; font-size: 22px; }
.tagline { font-size: 26px; line-height: 1.15; }

.logo { background: #f6d21a; }
.logo img, .mlogo { border-radius: 50%; }

.card-dark, .visit { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.btn.ghost { background: var(--surface); color: var(--jr-green); border: 1.5px solid var(--jr-green); }
.cartbar { color: #fff; background: var(--jr-green); box-shadow: 0 12px 28px rgba(31, 74, 44, .32); }
.cartbar .n { background: var(--jr-orange); color: #fff; }
.cartbar.grp { background: var(--jr-orange); }
.cartbar.grp .n { background: var(--jr-green); }
.order-now { box-shadow: 0 10px 24px rgba(240, 124, 30, .3); }
.inp { background: #fff; color: var(--ink); border-color: var(--line); }
.sheet { background: var(--bg); color: var(--ink); }
.sheet .ph { background: var(--surface-2); }
.tabbar { background: var(--glass); border-top: 1px solid var(--line); }

/* "Precio por confirmar" */
.pr.tbd, .bigp.tbd, b.tbd, .tbd { color: var(--muted); font-family: var(--body); font-weight: 800; font-size: 12px; line-height: 1.15; text-align: right; text-transform: none; }
.bigp.tbd { font-size: 17px; text-align: left; }

/* ── Menu tabs: Desayunos | Cena ── */
.mtabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 4px 16px 10px; padding: 5px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); }
.mtabs button { appearance: none; border: 0; background: transparent; color: var(--jr-green); border-radius: 14px; padding: 9px 6px 8px; display: grid; gap: 2px; cursor: pointer; font: inherit; transition: background .2s, color .2s, box-shadow .2s; }
.mtabs b { font-family: var(--script); font-weight: 400; font-size: 24px; line-height: 1; }
.mtabs small { font-size: 11px; font-weight: 700; color: var(--muted); line-height: 1.2; }
.mtabs button.on { background: var(--jr-green); color: #fff; box-shadow: 0 6px 16px rgba(31, 74, 44, .25); }
.mtabs button.on small { color: rgba(255, 255, 255, .85); }
.mtabs .live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5fd36b; margin-right: 5px; vertical-align: 1px; box-shadow: 0 0 0 3px rgba(95, 211, 107, .25); }
.minfo { margin: 0 16px 10px; padding: 10px 14px; border-radius: 14px; background: #fff4e6; border: 1px solid #f6cf9f; color: #7a3d06; font-size: 13.5px; line-height: 1.4; }
.minfo b { color: var(--jr-orange); }
.mgal { margin: 0 16px 12px; }
.mgal .gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mgal img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; display: block; }
.mgal p { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }

.closed { background: #fff4e6; color: #7a3d06; border: 1px solid #f6cf9f; }
.closed b { color: #b25808; }

/* ── Group orders ── */
.grp-start { margin-top: 8px; width: 100%; }
.grp-start small { font-weight: 600; opacity: .75; margin-left: 4px; }
.grp-cta { appearance: none; display: flex; gap: 12px; align-items: center; text-align: left; width: calc(100% - 32px); margin: 18px 16px 6px; padding: 14px 16px; border-radius: 18px; border: 1.5px dashed var(--jr-leaf); background: #f1f6e7; color: var(--ink); font: inherit; cursor: pointer; }
.grp-cta > span:first-child { font-size: 26px; }
.grp-cta b { display: block; color: var(--jr-green); font-size: 15px; }
.grp-cta small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 2px; }
.groupbar { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; padding: 9px 12px; border-radius: 14px; background: #fff1e2; border: 1px solid #f6cf9f; cursor: pointer; }
.groupbar[hidden] { display: none; }
.groupbar .gb-ic { font-size: 20px; }
.groupbar .gb-t { flex: 1; min-width: 0; }
.groupbar b { display: block; font-size: 14px; color: #8a4207; }
.groupbar small { display: block; font-size: 12px; color: var(--muted); }
.groupbar .gb-go { border: 0; border-radius: 999px; background: var(--jr-orange); color: #fff; font: inherit; font-weight: 800; font-size: 13px; padding: 6px 14px; }

.gsteps { margin: 4px 0 6px 20px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.4; }
.gsteps li::marker { color: var(--jr-orange); font-weight: 900; }
.gnote { font-size: 12.5px; color: var(--muted); margin: 10px 0; line-height: 1.4; }
.glink { margin-top: 10px; font-size: 12px; color: var(--muted); word-break: break-all; text-align: center; }
.gpeople { display: grid; gap: 10px; }
.gp { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.gp.gme { border-color: var(--jr-leaf); box-shadow: 0 0 0 2px rgba(122, 168, 63, .2); }
.gph { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.gph b { font-size: 15.5px; color: var(--jr-green); }
.gph em { font-style: normal; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; background: var(--jr-green); color: #fff; border-radius: 999px; padding: 2px 7px; margin-left: 4px; vertical-align: 2px; }
.gph em.you { background: var(--jr-orange); }
.gph > span { font-weight: 900; font-size: 14px; }
.gl { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 3px 0; }
.gl small { display: block; color: var(--muted); font-size: 12px; }
.gl b { white-space: nowrap; }
.gl.fee { border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 6px; color: var(--muted); }
.gl.muted { color: var(--muted); font-style: italic; }
.gp .btn.wa { margin-top: 8px; width: 100%; }
.glink-x { appearance: none; border: 0; background: none; color: var(--red); font: inherit; font-size: 12.5px; font-weight: 700; padding: 4px 0 0; cursor: pointer; }
.gshare { background: var(--jr-green); color: #fff; border-radius: 18px; padding: 16px; display: grid; gap: 4px; margin-bottom: 6px; }
.gshare small { opacity: .85; font-weight: 700; font-size: 12.5px; }
.gshare b { font-family: var(--display); font-size: 24px; line-height: 1.15; }
.gshare span { font-size: 13.5px; opacity: .92; line-height: 1.4; }
.gshare .btn.ghost { background: #fff; }
.gstatus { margin: 8px 0; font-size: 14px; }
.gcheck { margin-top: 6px; }
.gleave { display: block; margin: 16px auto 0; background: none; border: 0; color: var(--muted); text-decoration: underline; font: inherit; font-size: 13px; cursor: pointer; }
.seg button small { display: block; font-size: 10.5px; font-weight: 700; opacity: .7; }

/* ── Light overrides of the base's dark-only colors ── */
@media (min-width: 520px) { body { background: #efe3c7; } .app { box-shadow: 0 0 60px rgba(60, 40, 0, .15); } }
.gate { background: radial-gradient(120% 70% at 50% 0%, #fff6dc 0%, var(--bg) 60%), var(--bg); color: var(--ink); }
.gate-logo, .welcome img, .auth-head img, .nothing img, .mtop .mlogo, .logo { background: #f6d21a; }
.gate-logo { box-shadow: 0 18px 40px rgba(60, 40, 0, .2); }
.logo-card { box-shadow: 0 16px 40px rgba(60, 40, 0, .14); }
.cat, .item .th { box-shadow: 0 8px 22px rgba(60, 40, 0, .12); }
.sheet { box-shadow: 0 -20px 60px rgba(60, 40, 0, .22); }
.scrim { background: rgba(30, 30, 20, .45); }
.cartbar { box-shadow: 0 12px 28px rgba(31, 74, 44, .32); }
.ostatus, .warn, .chip.c-wait { background: #fff1d9; color: #7a4a06; border-color: #f2cd8d; }
.ostatus.st-ok { background: var(--ok-bg); color: #24501c; border-color: #a9cf86; }
.stages li i { color: #fff; }
.promo { background: linear-gradient(160deg, #fff3da, var(--surface) 55%); border-color: var(--line); }
.promo.soon { background: linear-gradient(160deg, #eaf3dc, var(--surface) 60%); border-color: #c5dca7; }
.opt.on, .seg button.on, .badge.gold, .pill-on, .steps div::before, .avatar { color: #fff; }
.seg button.on small { color: #fff; }
.hero::after { background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(251,243,226,.5) 80%, var(--bg) 100%); }
.btn { color: #fff; }
.btn.wa { background: var(--wa); color: #fff; }
.tabbar button { color: var(--muted); }
.lastorder b { color: var(--jr-orange); }
.nav { background: var(--glass); }
.mtop .mtxt { min-width: 0; }
.mtop .status { white-space: normal; line-height: 1.25; max-width: 100%; }
.status.closed { background: #fde7d6; color: #b4470c; }
.sheet .x { background: rgba(255,255,255,.92); color: var(--jr-green); border: 1px solid var(--line); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.gpeople, .gp { min-width: 0; }
.gl > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.gl b { white-space: normal; text-align: right; max-width: 45%; }
.gph b { flex: 1; min-width: 0; }
.gph > span { text-align: right; max-width: 45%; }
.gl b.tbd, .gph > span { font-size: 12.5px; }
.sheet .oh { padding-right: 60px; }
.sheet .oh .folio { overflow-wrap: anywhere; }
.groupbar { margin: 8px 16px 0; }
