@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600&family=Nunito+Sans:opsz,wght@6..12,400;6..12,600;6..12,800&display=swap");
/* Identity: celeste (Argentine sky) + gourd brown. Ink-blue on cool white; the gourd colour is the only warm accent. */
:root {
  --yerba: #12304d; --yerba-2: #1b5e9b; --espuma: #f4f7fb; --tinta: #15212e; --muted: #566475; --line: #d3dce7;
  --agua: #4aa3df; --agua-d: #b8531c; --ok: #1f7a4d; --error: #b3382c; --paper: #ffffff; --focus: #0b63ce;
  --font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fredoka", "Nunito Sans", system-ui, sans-serif;
  --r-field: 12px; --r-panel: 20px;
}
@media (prefers-color-scheme: dark) {
  :root { --espuma: #0e1621; --tinta: #e9eff6; --muted: #9aaabd; --line: #263446; --paper: #162131; --yerba: #e9eff6; --yerba-2: #5aa9e6; --agua: #5aa9e6; --agua-d: #e08a52; --ok: #6fd0a0; --error: #ff8f82; --focus: #8ec1ff; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--espuma); color: var(--tinta); font: 400 1rem/1.5 var(--font); }
h1, h2, h3 { line-height: 1.15; margin: 0; font-family: var(--font-display); }
h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 600; }
h2 { font-size: 1.2rem; font-weight: 500; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header + footer */
.site-header { display: flex; align-items: center; gap: .5rem; padding: .55rem 1rem; background: var(--paper); color: var(--tinta); border-bottom: 1px solid var(--line); }
.logo { margin-right: auto; font: 600 1.5rem/1 var(--font-display); text-decoration: none; color: var(--yerba); min-height: 44px; display: inline-flex; align-items: center; }
.logo::before { content: ""; margin-right: .4rem; width: 2.6rem; height: 2.6rem; margin-block: -.25rem; background: url(/assets/logo-ny.png) center / contain no-repeat; flex: none; }
@media (min-resolution: 1.5dppx) { .logo::before { background-image: url(/assets/logo-ny-2x.png); } }
.logo b { font-weight: inherit; color: inherit; }
.site-nav { display: flex; gap: .5rem; }
.site-footer { margin-top: auto; padding: 1rem; font-size: .85rem; color: var(--muted); text-align: center; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; margin-bottom: .35rem; }
.site-footer a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.site-footer a:hover { text-decoration: underline; }

/* buttons: 48px touch targets */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .6rem 1.1rem; border-radius: 12px; border: 2px solid transparent; font: 800 1rem/1 var(--font); text-decoration: none; cursor: pointer; color: inherit; background: none; }
.btn-ghost { border-color: var(--line); color: var(--tinta); }
.btn-ghost:hover { background: color-mix(in srgb, var(--line) 45%, transparent); }
.btn-amber { background: var(--yerba-2); color: #fff; }
.btn-amber:hover { background: #144a7c; }
@media (prefers-color-scheme: dark) { .btn-amber { color: #07121d; } .btn-amber:hover { background: #7bbdf0; } }
.btn-primary { background: var(--yerba-2); color: #fff; }
.btn-primary:hover { background: #144a7c; }
@media (prefers-color-scheme: dark) { .btn-primary { color: #07121d; } .btn-primary:hover { background: #7bbdf0; } }
.btn-danger { border-color: var(--error); color: var(--error); }
.btn-danger:hover { background: color-mix(in srgb, var(--error) 12%, transparent); }
.btn-outline { border-color: var(--yerba-2); color: var(--yerba-2); }
.btn-block { width: 100%; font-size: 1.1rem; min-height: 56px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
@media (max-width: 420px) { .site-header .btn { padding: .5rem .75rem; font-size: .88rem; white-space: nowrap; } .logo { font-size: 1.25rem; } .site-nav { gap: .4rem; } }
.site-header .btn { white-space: nowrap; }

/* page layout */
.page { width: 100%; max-width: 62rem; margin: 0 auto; padding: 1.25rem 1rem 6.5rem; }
.page-head { margin-bottom: 1.25rem; }
.page-head p { color: var(--muted); margin-top: .35rem; }
.back { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; margin-bottom: .25rem; }
.back:hover { color: var(--tinta); }
.checkout-grid { display: grid; gap: 1.5rem; }
.details-area, .summary-area { padding-top: 1.5rem; border-top: 1px solid var(--line); }
@media (min-width: 52rem) {
  .checkout-grid { grid-template-columns: 1fr 1.05fr; grid-template-areas: "qty details" "summary details"; gap: 1.5rem 3rem; align-items: start; }
  .qty-area { grid-area: qty; } .details-area { grid-area: details; padding-top: 0; border-top: 0; } .summary-area { grid-area: summary; }
  .page { padding-bottom: 3rem; }
}
.section + .section { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.section > h2 { margin-bottom: .75rem; }

/* form */
label.field-label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field { width: 100%; min-height: 52px; padding: .7rem .9rem; border-radius: var(--r-field); border: 2px solid var(--line); background: var(--paper); color: var(--tinta); font: 400 1.05rem var(--font); }
.field:focus { outline: none; border-color: var(--yerba-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 35%, transparent); }
.field[aria-invalid="true"] { border-color: var(--error); }
.hint { color: var(--muted); font-size: .92rem; margin-top: .35rem; }
.error-text { color: var(--error); font-weight: 600; font-size: .95rem; margin-top: .4rem; }
.row { display: flex; gap: .6rem; align-items: stretch; }
.row .field { flex: 1; min-width: 0; }

/* thermos + quantity: the one expressive element */
.quantity { display: grid; grid-template-columns: 7rem 1fr; gap: 1.25rem; align-items: center; }
.termo-box { min-width: 0; }
.termo svg { width: 100%; height: auto; display: block; overflow: visible; }
.termo-cap { fill: var(--agua-d); } .termo-neck { fill: var(--yerba); }
.termo-glass { fill: color-mix(in srgb, var(--paper) 80%, var(--espuma)); }
.termo-water { fill: var(--agua); }
.termo-outline { fill: none; stroke: var(--yerba); stroke-width: 4; }
.termo-steam { fill: none; stroke: var(--agua-d); stroke-width: 3; stroke-linecap: round; opacity: .8; }
.termo-caption { margin-top: .4rem; min-height: 1.6em; white-space: nowrap; text-align: center; font: 500 1.05rem var(--font-display); color: var(--muted); }
.qty-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.qty-opt { min-height: 56px; border-radius: 12px; border: 2px solid var(--line); background: var(--paper); color: var(--tinta); font: 600 1.15rem var(--font-display); cursor: pointer; }
.qty-opt:hover { border-color: var(--yerba-2); }
.qty-opt[aria-checked="true"] { background: var(--yerba-2); border-color: var(--yerba-2); color: #fff; }
@media (prefers-color-scheme: dark) { .qty-opt[aria-checked="true"] { color: #07121d; } }
.over-note { color: var(--muted); font-size: .92rem; margin-top: .6rem; }

/* receipt: dotted leaders like a kiosk ticket */
.receipt { margin: 0; padding: 0; list-style: none; font-variant-numeric: tabular-nums; }
.receipt li { display: flex; align-items: baseline; gap: .5rem; padding: .3rem 0; }
.receipt li::after { content: ""; order: 1; flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-.3em); }
.receipt .label { order: 0; } .receipt .amount { order: 2; font-weight: 600; }
.receipt .discount .amount { color: var(--ok); }
.receipt .total { font: 600 1.5rem var(--font-display); padding-top: .7rem; margin-top: .4rem; border-top: 2px solid var(--tinta); }
.receipt .total::after { display: none; } .receipt .total .label { flex: 1; } .receipt .total .amount { font-weight: 800; }

/* notices */
.notice { padding: .8rem 1rem; border-radius: var(--r-field); border-left: 5px solid var(--agua-d); background: var(--paper); }
.notice.error { border-color: var(--error); } .notice.ok { border-color: var(--ok); }
.promo-applied { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem .9rem; border-radius: var(--r-field); background: color-mix(in srgb, var(--ok) 14%, var(--paper)); border: 2px solid var(--ok); font-weight: 600; }
.link-btn { background: none; border: 0; color: inherit; text-decoration: underline; font: 600 .95rem var(--font); cursor: pointer; min-height: 44px; padding: 0 .5rem; }

/* sticky pay bar on phones */
.paybar { position: fixed; inset: auto 0 0 0; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); background: var(--espuma); border-top: 1px solid var(--line); z-index: 5; }
.paybar .inner { max-width: 62rem; margin: 0 auto; display: grid; gap: .4rem; }
@media (min-width: 52rem) { .paybar { position: static; background: none; border: 0; padding: 0; backdrop-filter: none; } .paybar .inner { max-width: none; } }
.paybar-total { display: flex; justify-content: space-between; align-items: baseline; font-variant-numeric: tabular-nums; }
.paybar-total span:first-child { color: var(--muted); } .paybar-total output { font: 600 1.4rem var(--font-display); }
@media (min-width: 52rem) { .paybar-total { display: none; } }
.secure { color: var(--muted); font-size: .85rem; text-align: center; }

/* order page */
.ticket { background: var(--paper); border-radius: var(--r-panel); padding: 1.5rem 1.25rem; border: 2px dashed var(--line); text-align: center; }
.ticket .caption { color: var(--muted); font-weight: 600; }
.ticket .number { font: 600 clamp(2rem, 9vw, 3.2rem) var(--font-display); letter-spacing: .04em; font-variant-numeric: tabular-nums; margin: .15rem 0 .25rem; word-break: break-all; }
.status-title { margin-bottom: .5rem; }
.status-ok h1 { color: var(--ok); } .status-fail h1 { color: var(--error); }
.facts { display: grid; gap: .1rem 1rem; grid-template-columns: auto 1fr; margin: 1.25rem 0 0; text-align: left; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; font-weight: 600; text-align: right; }
.map-box { height: 17rem; border-radius: var(--r-panel); overflow: hidden; background: color-mix(in srgb, var(--line) 50%, var(--paper)); }
.directions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.spinner { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--agua-d); display: inline-block; vertical-align: -.2em; margin-right: .5rem; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
.order-grid { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .order-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; } }

/* map page */
.map-page { height: 100dvh; }
.map-page #map { flex: 1; min-height: 0; }
.map-notice { margin: 1rem; }
.biz-card { width: min(19rem, 78vw); font-family: var(--font); color: #15212e; }
.biz-card h3 { font: 600 1.15rem var(--font-display); margin: 0 0 .15rem; }
.biz-card .addr { color: #536459; margin-bottom: .5rem; font-size: .95rem; }
.biz-card img { width: 100%; height: 7rem; object-fit: cover; border-radius: 10px; margin-bottom: .5rem; }
.biz-card .meta { font-size: .9rem; color: #3d4d43; margin: .15rem 0; }
.biz-card .price { font-size: 1.25rem; font-weight: 800; margin: .5rem 0; font-variant-numeric: tabular-nums; }
.biz-card .btn { width: 100%; min-height: 50px; }
.maplibregl-popup-content { border-radius: 16px !important; padding: 1rem !important; }

/* list of locations (map alternative) */
.list-panel { background: var(--espuma); }
.list-panel.full { flex: 1; padding: 1rem; width: 100%; max-width: 40rem; margin: 0 auto; }
.list-box summary { cursor: pointer; padding: .75rem 1rem; min-height: 48px; font-weight: 600; display: flex; align-items: center; }
.list-panel.full .list-box summary { padding-left: 0; }
.loc-list { list-style: none; margin: 0; padding: 0 1rem 1rem; display: grid; gap: .25rem; }
.list-panel.full .loc-list { padding-left: 0; padding-right: 0; }
.loc-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.loc-list .btn { flex-shrink: 0; }
.map-page .site-footer { padding: .4rem 1rem; }

/* ---- forms (login, sumarme) ---- */
.page.narrow { max-width: 34rem; }
.form { display: grid; gap: 1rem; }
.form .row { display: grid; gap: .1rem; }
.field-error { color: var(--error); font-size: .92rem; margin-top: .3rem; font-weight: 600; }
textarea.field { min-height: 7rem; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- business dashboard ---- */
.page h2 { margin: 1.75rem 0 .75rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-field); padding: 1rem; margin-bottom: 1rem; }
.orders { list-style: none; padding: 0; display: grid; gap: .75rem; }
.order-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-field); padding: .9rem 1rem; display: grid; gap: .5rem; }
.order-top, .order-money { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem .9rem; }
.check { display: flex; gap: .6rem; align-items: center; min-height: 48px; font-weight: 600; }
.check input { width: 1.4rem; height: 1.4rem; }
.toast { position: sticky; top: .5rem; z-index: 20; padding: .8rem 1rem; border-radius: var(--r-field); background: #12304d; color: #fff; font-weight: 600; margin-bottom: 1rem; }
.toast.bad { background: var(--error); }
@media (min-width: 48rem) { .orders { grid-template-columns: 1fr 1fr; } }
.card h2, .card h3 { margin-top: 0; }

/* ---- admin ---- */
.page.wide { max-width: 72rem; }
.tabs { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.tab { flex: none; min-height: 44px; padding: .5rem .95rem; border-radius: 10px; border: 2px solid transparent; background: none; color: inherit; font: 600 .98rem var(--font); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--yerba-2); color: #fff; }
@media (prefers-color-scheme: dark) { .tab[aria-selected="true"] { color: #07121d; } }
.tab:focus-visible, .btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: .75rem; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-field); padding: .9rem 1rem; display: grid; gap: .2rem; }
.stat-v { font: 600 1.5rem var(--font-display); } .stat-l { color: var(--muted); font-size: .92rem; }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .75rem; align-items: end; margin-bottom: .75rem; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-field); background: var(--paper); }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tbl th, .tbl td { padding: .6rem .6rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl td:first-child, .tbl td .btn { white-space: nowrap; } .tbl td .btn { min-height: 40px; padding: .35rem .8rem; font-size: .92rem; }
.tbl th { font-size: .85rem; color: var(--muted); } .tbl tr:last-child td { border-bottom: 0; }
.tbl td .field { min-height: 44px; min-width: 6rem; padding: .4rem .6rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.loc-edit { margin: .5rem 0; } .loc-edit summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.quote { border-left: 4px solid var(--line); padding-left: .75rem; color: var(--muted); }
select.field { appearance: auto; }
.row-cards { list-style: none; padding: 0; display: grid; gap: .6rem; }
.row-card { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-field); padding: .75rem 1rem; }
.rc-main { display: grid; gap: .15rem; min-width: 12rem; flex: 1 1 14rem; } .rc-act { display: flex; gap: .5rem; align-items: center; flex: 0 1 auto; } .rc-act .field { width: 7.5rem; }

/* ---- reviews ---- */
.reviews-box { margin: .35rem 0 .6rem; } .reviews-box summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--yerba-2); }
.review { padding: .5rem 0; border-top: 1px solid var(--line); } .review-top { margin: 0 0 .2rem; } .review-top > span:first-child { color: var(--agua-d); letter-spacing: 1px; }
.stars { display: flex; gap: .25rem; } .star { width: 52px; height: 52px; border-radius: 12px; border: 2px solid var(--line); background: var(--paper); color: var(--line); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.star.on { color: var(--agua-d); border-color: var(--agua-d); } .star:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.review-form-box { max-width: 34rem; margin-top: 1.5rem; }
.legal { max-width: 46rem; } .legal h2 { margin: 1.6rem 0 .5rem; font-size: 1.2rem; } .legal p, .legal li { line-height: 1.6; } .legal ul { padding-left: 1.2rem; }
.legal .draft { border-left: 5px solid var(--agua); background: var(--paper); padding: .75rem 1rem; border-radius: var(--r-field); }
.faq details { border-bottom: 1px solid var(--line); padding: .25rem 0; } .faq summary { cursor: pointer; font-weight: 600; min-height: 48px; display: flex; align-items: center; }

.legal h1 { margin-bottom: 1rem; } .legal .draft { margin-bottom: 1.25rem; }

/* Pickup QR (customer) and scanner (business) */
.pickup-qr { margin-top: 1rem; padding: 1.25rem; border-radius: var(--r-panel); background: var(--paper); border: 2px solid var(--ok); text-align: center; }
.pickup-qr h2 { margin: 0 0 .75rem; }
.pickup-qr .qr { width: min(280px, 100%); height: auto; border-radius: 8px; background: #fff; }
.scan-box { margin-bottom: 1rem; }
.scan-video { width: 100%; max-height: 60vh; border-radius: var(--r-field); background: #000; margin-bottom: .75rem; }

/* "Estás acá" marker: the mate with the person's position at the bottom tip */
.me-marker { display: block; width: 56px; height: 65px; filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)); pointer-events: none; user-select: none; }

/* Filters on the home page */
.filters-box { margin: 0 1rem; border-bottom: 1px solid var(--line); }
.list-panel.full .filters-box { margin: 0 0 .5rem; }
.filters-box > summary { cursor: pointer; padding: .75rem 0; min-height: 48px; font-weight: 600; display: flex; align-items: center; }
.filters-body { display: grid; gap: .9rem; padding: 0 0 1rem; }
.filters-body .row { display: grid; gap: .3rem; }
.filters-body form.row { display: flex; gap: .5rem; align-items: stretch; }
.filters-body .notice { margin: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }

/* Business panel: status badge, sales bars, shop-window sign */
.badge { display: inline-block; vertical-align: middle; padding: .15rem .6rem; border-radius: 999px; font: 800 .8rem var(--font); }
.badge.ok { background: color-mix(in srgb, var(--ok) 18%, var(--paper)); color: var(--ok); } .badge.off { background: color-mix(in srgb, var(--error) 14%, var(--paper)); color: var(--error); }
.bar-cell { width: 40%; } .bar { height: .7rem; border-radius: 4px; background: var(--yerba-2); min-width: 2px; }
.poster { max-width: 22rem; margin: 0 auto; padding: 0 0 1.25rem; text-align: center; background: #fff; color: #15212e; border: 3px solid #12304d; border-radius: var(--r-panel); overflow: hidden; }
.poster-top { -webkit-print-color-adjust: exact; print-color-adjust: exact; background: #12304d; color: #fff; padding: 1.1rem 1.25rem 1.3rem; }
.poster-brand { margin: 0 0 .5rem; font: 600 1.1rem var(--font-display); color: #f0a36b; }
.poster-title { font: 600 1.7rem/1.1 var(--font-display); margin: 0; color: #fff; }
.poster-sub { margin: 1rem 1.25rem 0; color: #566475; }
.poster .qr { width: calc(100% - 3rem); max-width: 15rem; height: auto; margin: 1rem auto .25rem; display: block; padding: .6rem; border: 2px solid #12304d; border-radius: 16px; background: #fff; }
.poster-name { display: inline-block; font: 600 1.15rem var(--font-display); margin: .75rem 0 0; padding: .35rem 1rem; border-radius: 999px; background: #fbeadd; color: #8a3c0f; }
@media print {
  body > *:not(main), .site-header, .site-footer { display: none !important; }
  main > *:not(.poster-box) { display: none !important; }
  .poster-box > h2, .no-print { display: none !important; }
  .poster { border-width: 4px; max-width: none; width: 16cm; margin: 2cm auto; }
}

/* favourites, share, quick access */
.fav { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); color: var(--yerba-2); display: inline-grid; place-items: center; padding: 0; cursor: pointer; flex-shrink: 0; transition: background-color .15s, color .15s, border-color .15s; }
.fav svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.fav:hover { border-color: var(--yerba-2); background: var(--espuma); }
.fav:focus-visible { outline: 3px solid var(--agua); outline-offset: 2px; }
.fav[aria-pressed="true"] { background: var(--agua-d); border-color: var(--agua-d); color: #fff; }
.fav[aria-pressed="true"] svg { fill: currentColor; }
.loc-actions { display: flex; gap: .5rem; align-items: center; flex-shrink: 0; }
.card-tools { display: flex; gap: .5rem; align-items: center; justify-content: space-between; margin-top: .4rem; }
.quick { margin: 0 1rem; padding: .75rem 0; display: grid; gap: .75rem; border-bottom: 1px solid var(--line); }
.list-panel.full .quick { margin: 0; }
.quick h2 { font-size: 1.05rem; margin: 0 0 .25rem; }

/* information notice about cookies (shown only when COOKIE_NOTICE=1) */
.cookie-notice { position: fixed; inset: auto 0 0 0; z-index: 30; display: flex; gap: .75rem 1rem; align-items: center; flex-wrap: wrap; padding: .85rem 1rem calc(.85rem + env(safe-area-inset-bottom)); background: var(--paper); border-top: 2px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
.cookie-notice p { flex: 1 1 18rem; font-size: .95rem; }
.cookie-notice a { text-decoration: underline; }

/* local photo, order note, captcha */
.loc-photo-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; margin: 0 0 1rem; }
.loc-photo { display: block; width: 100%; height: auto; max-height: 14rem; object-fit: cover; border-radius: var(--r-panel); border: 1px solid var(--line); background: var(--espuma); }
.loc-photo-btn.big { cursor: zoom-out; } .loc-photo-btn.big .loc-photo { max-height: none; object-fit: contain; }
.loc-photo.small { max-width: 16rem; max-height: 9rem; margin-bottom: .5rem; }
.order-note { margin: .4rem 0; padding: .5rem .7rem; border-left: 4px solid var(--agua-d); background: color-mix(in srgb, var(--agua-d) 10%, var(--paper)); border-radius: 0 var(--r-field) var(--r-field) 0; overflow-wrap: anywhere; }
.captcha { min-height: 65px; }

/* Home: compact filters. On wide screens the list and filters sit in a side column next to the map; on phones the panel under the map scrolls instead of growing. */
.filters-body .pair { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.filters-body .field-label { font-size: .85rem; }
.filters-box > summary { padding: .5rem 0; min-height: 44px; font-size: .95rem; }
.list-panel:not(.full) { max-height: 45dvh; overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 52rem) {
  .map-page { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; grid-template-rows: auto minmax(0, 1fr) auto; }
  .map-page .site-header { grid-column: 1 / -1; grid-row: 1; }
  .map-page #map { grid-column: 1; grid-row: 2; }
  .map-page .list-panel:not(.full) { grid-column: 2; grid-row: 2; max-height: none; border-left: 1px solid var(--line); }
  .map-page .list-panel.full { grid-column: 1 / -1; grid-row: 2; }
  .map-page .site-footer { grid-column: 1 / -1; grid-row: 3; }
  .map-page .map-notice { grid-column: 1 / -1; grid-row: 2; }
}

/* Business panel: folded shop-window sign */
.poster-folded { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; }
.picker-map { height: 15rem; margin: .5rem 0; }

/* ---- Map card: compact, favourite top right, styled close button ---- */
.biz-card { position: relative; }
.biz-card .fav-corner { position: absolute; top: -.35rem; right: 2.35rem; }
.biz-card .fav { width: 38px; height: 38px; }
.biz-card h3 { padding-right: 5.2rem; min-height: 2.4rem; }
.biz-card .price { margin: .35rem 0 .5rem; }
.card-more { margin-top: .5rem; border-top: 1px solid #dbe5ef; padding-top: .35rem; }
.card-more > summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; color: #1b5e9b; font-weight: 700; font-size: .95rem; }
.maplibregl-popup-close-button { width: 36px; height: 36px; top: 8px; right: 8px; padding: 0 0 3px; border: 1.5px solid #c9d6e3; border-radius: 50%; background: #f4f7fb; color: #12304d; font: 400 1.5rem/1 var(--font); display: grid; place-items: center; cursor: pointer; transition: background-color .15s, color .15s; }
.maplibregl-popup-close-button:hover { background: #1b5e9b; border-color: #1b5e9b; color: #fff; }
.maplibregl-popup-close-button:focus-visible { outline: 3px solid #4aa3df; outline-offset: 1px; }

/* ---- Favourites: one compact row of chips (the map stays visible on phones) ---- */
.quick { gap: .5rem; padding: .5rem 0; }
.fav-row { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.fav-row-label { font-weight: 700; font-size: .9rem; color: var(--muted); flex-shrink: 0; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 .8rem; border-radius: 999px; border: 1.5px solid var(--yerba-2); color: var(--yerba-2); font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.chip:hover { background: var(--yerba-2); color: #fff; }

/* ---- Drop-down menu (top right) ---- */
.menu-wrap { position: relative; }
.menu-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 .9rem; border-radius: 12px; border: 2px solid var(--line); background: var(--paper); color: var(--tinta); font: 700 1rem var(--font); cursor: pointer; }
.menu-btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { border-color: var(--yerba-2); }
.menu-btn:focus-visible, .menu-pop a:focus-visible { outline: 3px solid var(--agua); outline-offset: 2px; }
.menu-pop { position: absolute; right: 0; top: calc(100% + .4rem); min-width: 15rem; display: grid; gap: .1rem; padding: .4rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 28px rgba(18, 48, 77, .2); z-index: 40; }
.menu-pop[hidden] { display: none; }
.menu-pop a { display: flex; align-items: center; min-height: 46px; padding: 0 .9rem; border-radius: 10px; color: var(--tinta); text-decoration: none; font-weight: 600; }
.menu-pop a:hover { background: var(--espuma); }
.menu-pop a:last-child { background: var(--yerba-2); color: #fff; margin-top: .3rem; justify-content: center; }
.menu-pop a:last-child:hover { background: var(--yerba); }

/* ---- Password with an "eye" ---- */
.pw-wrap { position: relative; }
.pw-wrap .field { padding-right: 3.2rem; }
.pw-eye { position: absolute; top: 50%; right: .35rem; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; }
.pw-eye svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pw-eye:hover { color: var(--yerba-2); }
.pw-eye:focus-visible { outline: 3px solid var(--agua); outline-offset: -2px; }

.notice + .btn { margin-top: 1rem; }
.announce { margin: 0 0 .75rem; border-left-color: var(--yerba-2); background: var(--paper); } .announce p { margin: .25rem 0 0; white-space: pre-line; }

/* map card: hours under the address, centred "Elegir", closing-soon notice */
.biz-card .hours { margin: .1rem 0 0; font-size: .92rem; color: var(--muted); }
.closing-soon { width: fit-content; max-width: 100%; margin: .4rem 0 0; padding: .45rem .65rem; border-radius: 10px; border-left: 4px solid var(--agua-d); background: color-mix(in srgb, var(--agua-d) 12%, var(--paper)); color: var(--tinta); font-weight: 700; font-size: .92rem; }
.biz-card .choose { display: flex; width: min(100%, 14rem); margin: .5rem auto 0; justify-content: center; text-align: center; }

.geo-btn { margin-top: 1rem; }

/* Botón de arrepentimiento */
.site-footer .withdrawal-link { font-weight: 600; text-decoration: underline; }
.withdrawal-code { font-size: 1.75rem; font-weight: 700; letter-spacing: .08em; text-align: center; padding: 1rem; margin: 1rem 0; border: 2px dashed currentColor; border-radius: 12px; user-select: all; }
.page-head .hours { margin: .1rem 0 0; font-size: .92rem; color: var(--muted); }

/* Contrato para negocios: pantalla de aceptación */
.contract-text { max-height: 22rem; overflow: auto; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.contract-text h1 { font-size: 1.3rem; }
.contract-card .check-row { display: flex; gap: .6rem; align-items: center; }
.contract-card .check-row input { width: 1.25rem; height: 1.25rem; flex: none; }
.sign-record { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; }
.sign-record th, .sign-record td { text-align: left; padding: .35rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.sign-record th { width: 11rem; font-weight: 600; }
@media print { .site-header, .site-footer { display: none; } }
