/* =========================================================
   directory.css — Guía de comercios Zeus (docs/plans/guia-comercios.md).
   Tarjeta del comercio (también la vista previa en Pedidos en línea) y
   las páginas públicas /guia. Colores con tokens --gd-*: claros por
   defecto, oscuros con el sistema (páginas públicas) o con
   data-theme="dark" (la app).
   ========================================================= */
:root {
  --gd-bg: #F4F6FB;
  --gd-surface: #FFFFFF;
  --gd-surface-2: #F2F4F8;
  --gd-line: #DCE2EE;
  --gd-line-soft: #EEF1F6;
  --gd-ink: #13213F;
  --gd-ink-soft: #56627E;
  --gd-ink-mid: #3B4A6B;
  --gd-navy: #13213F;
  --gd-sky: #A5BBE9;
  --gd-accent: #3157D5;
  --gd-accent-2: #4A6FF0;
  --gd-accent-tint: #E9EEFC;
  --gd-accent-ink: #23409F;
  --gd-ok: #16936A;
  --gd-ok-ink: #0F6E50;
  --gd-ok-tint: #E3F4EE;
  --gd-warn: #D98A00;
  --gd-warn-ink: #8A5300;
  --gd-warn-tint: #FFF1D6;
  --gd-danger: #E5484D;
  --gd-pill-bg: rgba(255, 255, 255, .95);
  --gd-shadow: 0 6px 20px rgba(19, 33, 63, .08);
  --gd-shadow-sm: 0 2px 10px rgba(19, 33, 63, .06);
  --gd-photo: linear-gradient(135deg, #E8EEFF, #F3EEFE);
  --gd-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.gd-page {
    --gd-bg: #0B1324;
    --gd-surface: #121C33;
    --gd-surface-2: #18243F;
    --gd-line: #26334F;
    --gd-line-soft: #1E2A45;
    --gd-ink: #EEF2FA;
    --gd-ink-soft: #A3AECA;
    --gd-ink-mid: #C3CCE0;
    --gd-navy: #1D2F57;
    --gd-accent: #3C5FD8;
    --gd-accent-tint: #1C2A52;
    --gd-accent-ink: #86A0F4;
    --gd-ok-ink: #5FD3A6;
    --gd-ok-tint: #12352A;
    --gd-warn-ink: #F2C46B;
    --gd-warn-tint: #3A2C10;
    --gd-pill-bg: rgba(18, 28, 51, .92);
    --gd-shadow: 0 6px 20px rgba(0, 0, 0, .35);
    --gd-shadow-sm: 0 2px 10px rgba(0, 0, 0, .3);
    --gd-photo: linear-gradient(135deg, #1C2A52, #261F45);
  }
}

:root[data-theme="dark"] {
  --gd-bg: #0B1324;
  --gd-surface: #121C33;
  --gd-surface-2: #18243F;
  --gd-line: #26334F;
  --gd-line-soft: #1E2A45;
  --gd-ink: #EEF2FA;
  --gd-ink-soft: #A3AECA;
  --gd-ink-mid: #C3CCE0;
  --gd-navy: #1D2F57;
  --gd-accent: #3C5FD8;
  --gd-accent-tint: #1C2A52;
  --gd-accent-ink: #86A0F4;
  --gd-ok-ink: #5FD3A6;
  --gd-ok-tint: #12352A;
  --gd-warn-ink: #F2C46B;
  --gd-warn-tint: #3A2C10;
  --gd-pill-bg: rgba(18, 28, 51, .92);
  --gd-shadow: 0 6px 20px rgba(0, 0, 0, .35);
  --gd-shadow-sm: 0 2px 10px rgba(0, 0, 0, .3);
  --gd-photo: linear-gradient(135deg, #1C2A52, #261F45);
}

/* ---------- Tarjeta del comercio ---------- */
.gd-card { position: relative; background: var(--gd-surface); border-radius: 26px; overflow: hidden; box-shadow: var(--gd-shadow); color: var(--gd-ink); font-family: Inter, system-ui, sans-serif; }
.gd-card__link { display: block; color: inherit; text-decoration: none; }
.gd-card__link:focus-visible { outline: 3px solid var(--gd-accent); outline-offset: -3px; border-radius: 26px; }
.gd-card__photo { position: relative; height: 172px; background: var(--gd-photo); overflow: hidden; }
.gd-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gd-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-size: 46px; color: var(--gd-accent); opacity: .55; }
.gd-card__status { position: absolute; left: 10px; top: 10px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--gd-pill-bg); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 2px 8px rgba(19, 33, 63, .12); }
.gd-card__status.is-open { color: var(--gd-ok-ink); }
.gd-card__status.is-closed { color: var(--gd-warn-ink); }
.gd-dot { width: 8px; height: 8px; border-radius: 99px; background: currentColor; flex: none; }
.gd-card__status.is-open .gd-dot { background: var(--gd-ok); }
.gd-card__status.is-closed .gd-dot { background: var(--gd-warn); }
.gd-card__star { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(19, 33, 63, .82); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-card__body { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.gd-card__head { display: flex; gap: 10px; align-items: flex-end; margin-top: -22px; position: relative; z-index: 1; }
.gd-card__logo { width: 46px; height: 46px; border-radius: 14px; border: 3px solid var(--gd-surface); background: var(--gd-navy); color: #fff; display: grid; place-items: center; font: 800 15px var(--gd-head); flex: none; overflow: hidden; box-shadow: 0 4px 10px rgba(19, 33, 63, .15); }
.gd-card__logo img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.gd-card__name { margin: 0; font: 800 17px var(--gd-head); line-height: 1.2; padding-bottom: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gd-card__sub { margin: 0; font-size: 13px; color: var(--gd-ink-soft); }
.gd-card__feats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.gd-card__feats li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--gd-ink-mid); }
.gd-card__feats i { font-size: 13px; color: var(--gd-ink-soft); }
.gd-card__save { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 99px; border: 0; background: var(--gd-pill-bg); color: var(--gd-ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(19, 33, 63, .12); font-size: 17px; }
.gd-card__save.is-saved { color: var(--gd-danger); }
.gd-card__save:focus-visible { outline: 3px solid var(--gd-accent); outline-offset: 2px; }

.gd-card--mini { width: 250px; flex: none; border-radius: 22px; }
.gd-card--mini .gd-card__photo { height: 130px; }
.gd-card--mini .gd-card__head { margin-top: 10px; align-items: center; }
.gd-card--mini .gd-card__logo { width: 38px; height: 38px; border-width: 0; border-radius: 12px; font-size: 13px; }
.gd-card--mini .gd-card__name { font-size: 15px; }
.gd-card--mini .gd-card__body { gap: 4px; padding-bottom: 12px; }

.gd-card--preview { box-shadow: 0 4px 14px rgba(19, 33, 63, .08); }
.gd-card--preview .gd-card__photo { height: 140px; }

/* ---------- Página pública /guia ---------- */
body.gd-page { margin: 0; background: var(--gd-bg); color: var(--gd-ink); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.gd-page *, .gd-page *::before, .gd-page *::after { box-sizing: border-box; }
.gd-page [x-cloak] { display: none !important; }
.gd-page a { color: var(--gd-accent); }
.gd-only-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .gd-page .gd-only-light { display: none; }
  .gd-page .gd-only-dark { display: inline; }
}
@media (max-width: 1023.98px) {
  .gd-only-desktop { display: none !important; }
}
@media (min-width: 1024px) {
  .gd-only-mobile { display: none !important; }
}

/* Encabezado */
.gd-top { position: sticky; top: 0; z-index: 30; background: var(--gd-surface); box-shadow: 0 2px 12px rgba(19, 33, 63, .06); }
.gd-top__inner { max-width: 1360px; margin: 0 auto; padding: 12px 16px; display: grid; gap: 10px 8px; grid-template-columns: 1fr auto; grid-template-areas: "brand saved" "where where" "search search"; align-items: center; }
.gd-brand { grid-area: brand; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.gd-brand__logo { height: 26px; width: auto; display: block; }
.gd-brand__tag { font: 800 15px var(--gd-head); color: var(--gd-accent); }
.gd-where { grid-area: where; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0; border: 0; background: none; color: var(--gd-ink); text-align: left; cursor: pointer; font: inherit; }
.gd-where__ic { width: 40px; height: 40px; border-radius: 13px; background: var(--gd-accent-tint); color: var(--gd-accent); display: grid; place-items: center; flex: none; }
.gd-where__text { flex: 1; min-width: 0; line-height: 1.25; }
.gd-where__text small { display: block; font-size: 12px; color: var(--gd-ink-soft); font-weight: 600; }
.gd-where__text b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-where__change { font-size: 13px; font-weight: 700; color: var(--gd-accent); }
.gd-search { grid-area: search; display: flex; gap: 8px; margin: 0; }
.gd-search__box { flex: 1; min-width: 0; height: 50px; border-radius: 999px; background: var(--gd-surface-2); display: flex; align-items: center; gap: 10px; padding: 0 16px; color: var(--gd-ink-soft); }
.gd-search__box input { border: 0; outline: 0; flex: 1; min-width: 0; font: 500 15px Inter, sans-serif; background: transparent; color: var(--gd-ink); }
.gd-search__box:focus-within { box-shadow: 0 0 0 3px var(--gd-accent-tint); }
.gd-zeus-btn { position: relative; width: 50px; height: 50px; flex: none; border-radius: 999px; background: #fff; border: 2px solid var(--gd-accent); display: grid; place-items: center; padding: 0; cursor: pointer; }
.gd-zeus-btn img { width: 36px; height: 36px; }
.gd-zeus-btn__badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--gd-accent); color: #fff; border: 2px solid var(--gd-surface); font-size: 10.5px; font-weight: 800; display: grid; place-items: center; }
.gd-pill-link { grid-area: saved; height: 42px; padding: 0 14px; border-radius: 999px; background: var(--gd-surface-2); color: var(--gd-ink) !important; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.gd-cta-link { display: none; }

/* Contenido */
.gd-wrap { max-width: 1360px; margin: 0 auto; padding: 0 16px 120px; }
.gd-title { padding-top: 18px; }
.gd-crumbs { font-size: 13px; color: var(--gd-ink-soft); display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.gd-crumbs a { text-decoration: none; }
.gd-title h1 { margin: 0; font: 800 24px var(--gd-head); }
.gd-title p { margin: 6px 0 0; font-size: 14.5px; color: var(--gd-ink-mid); }
.gd-sec { margin-top: 22px; }
.gd-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.gd-sec__head a, .gd-sec__head button { font: 700 13.5px Inter, sans-serif; text-decoration: none; color: var(--gd-accent); background: none; border: 0; cursor: pointer; padding: 6px 0; }
.gd-sec__title { margin: 0 0 12px; font: 800 18px var(--gd-head); }
.gd-sec__head .gd-sec__title { margin: 0; }
.gd-sec__title span { color: var(--gd-ink-soft); font-weight: 600; font-size: 15px; }

/* Rubros en mosaico */
.gd-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 8px; }
.gd-cat { display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; color: var(--gd-ink) !important; font: 700 12.5px Inter, sans-serif; text-align: center; background: none; border: 0; padding: 0; cursor: pointer; }
.gd-cat__ic { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; font-size: 26px; box-shadow: var(--gd-shadow-sm); transition: transform .15s; }
.gd-cat:hover .gd-cat__ic { transform: translateY(-2px); }
.gd-cat.is-on .gd-cat__ic { box-shadow: 0 0 0 3px var(--gd-accent); }
.gd-cat__name { line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gd-cat__ic.is-orange { background: #FFE9D6; color: #C2410C; }
.gd-cat__ic.is-blue { background: #E8EEFF; color: #3157D5; }
.gd-cat__ic.is-brown { background: #F3EDE6; color: #7A4B24; }
.gd-cat__ic.is-purple { background: #F1E9FF; color: #6D4BD8; }
.gd-cat__ic.is-red { background: #FDE8E8; color: #B42318; }
.gd-cat__ic.is-green { background: #E3F4EE; color: #0F6E50; }
.gd-cat__ic.is-amber { background: #FFF4E2; color: #B5791A; }
.gd-cat__ic.is-navy { background: var(--gd-navy); color: #fff; }

/* Filtros rápidos (pick-pills) */
.gd-quick { display: flex; gap: 8px; margin-top: 20px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; align-items: center; }
.gd-quick::-webkit-scrollbar { display: none; }
.gd-pick { height: 42px; padding: 0 14px 0 8px; border-radius: 999px; border: 1.5px solid var(--gd-line); background: var(--gd-surface); color: var(--gd-ink) !important; font: 600 13.5px Inter, sans-serif; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; flex: none; text-decoration: none; cursor: pointer; }
.gd-pick__check { width: 24px; height: 24px; border-radius: 99px; border: 1.5px solid var(--gd-line); display: grid; place-items: center; color: transparent; font-size: 11px; }
.gd-pick.is-selected { border-color: var(--gd-accent); background: var(--gd-accent-tint); }
.gd-pick.is-selected .gd-pick__check { background: var(--gd-accent); border-color: var(--gd-accent); color: #fff; }
.gd-quick__sort { margin-left: auto; font-size: 14px; color: var(--gd-ink-soft); white-space: nowrap; }
.gd-quick__sort button { border: 0; background: none; font: 800 14px Inter, sans-serif; color: var(--gd-accent); cursor: pointer; }

.gd-strip { margin-top: 16px; border-radius: 18px; background: var(--gd-accent-tint); padding: 10px 6px 10px 14px; display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--gd-accent-ink); font-weight: 600; }
.gd-strip span { flex: 1; }
.gd-strip button { width: 36px; height: 36px; border: 0; border-radius: 99px; background: transparent; color: inherit; cursor: pointer; }

.gd-row { display: flex; gap: 12px; overflow-x: auto; margin-right: -16px; padding: 2px 16px 8px 2px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gd-row::-webkit-scrollbar { display: none; }
.gd-row .gd-card { scroll-snap-align: start; }

/* Lista y mapa */
.gd-results { margin-top: 22px; }
.gd-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.gd-card.is-selected { box-shadow: 0 0 0 2.5px var(--gd-accent), 0 8px 24px rgba(49, 87, 213, .18); }
.gd-mapcol { position: sticky; top: 96px; }
.gd-map { width: 100%; height: 100%; min-height: 300px; border-radius: 28px; overflow: hidden; background: #E9EEE6; z-index: 0; }

.gd-empty { text-align: center; padding: 30px 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gd-empty img { width: 170px; height: auto; }
.gd-empty h3 { margin: 6px 0 0; font: 800 20px var(--gd-head); }
.gd-empty p { margin: 0; font-size: 14px; color: var(--gd-ink-soft); max-width: 360px; line-height: 1.5; }

.gd-join { margin-top: 36px; border-radius: 30px; background: var(--gd-navy); color: #fff; padding: 20px; display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; }
.gd-join img { width: 84px; height: auto; }
.gd-join div { flex: 1 1 260px; }
.gd-join h2 { margin: 0; font: 800 20px var(--gd-head); }
.gd-join p { margin: 4px 0 0; color: var(--gd-sky); font-size: 14px; line-height: 1.45; }
.gd-foot { display: flex; flex-wrap: wrap; gap: 24px; padding: 24px 0 10px; }
.gd-foot div { flex: 1 1 200px; }
.gd-foot h3 { margin: 0 0 6px; font-size: 12px; font-weight: 800; color: var(--gd-ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.gd-foot a { display: block; font-size: 13.5px; color: var(--gd-ink-mid); text-decoration: none; padding: 4px 0; }
.gd-foot a:hover { color: var(--gd-accent); }

/* Botones */
.gd-btn { height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--gd-line); background: var(--gd-surface); color: var(--gd-ink) !important; font: 800 14px Inter, sans-serif; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer; }
.gd-btn--primary { border: 0; background: linear-gradient(135deg, var(--gd-accent), var(--gd-accent-2)); color: #fff !important; box-shadow: 0 10px 22px rgba(49, 87, 213, .3); }
.gd-btn--light { border: 0; background: #fff; color: #13213F !important; }
.gd-btn--outline { border-color: var(--gd-accent); color: var(--gd-accent) !important; }
.gd-btn--block { width: 100%; height: 54px; font-size: 15px; }
.gd-btn:disabled { opacity: .6; cursor: default; }
.gd-link { border: 0; background: none; padding: 6px 0; font: 700 13.5px Inter, sans-serif; color: var(--gd-accent); cursor: pointer; }
.gd-link--muted { color: var(--gd-ink-soft); font-weight: 600; }
.gd-hint { display: block; font-size: 12.5px; color: var(--gd-ink-soft); margin-top: 6px; }
.gd-hint--center { text-align: center; margin-top: -4px; }

/* Botón flotante y mapa en el celular */
.gd-map-fab { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 25; height: 52px; padding: 0 22px; border-radius: 999px; border: 0; background: #13213F; color: #fff; font: 800 14.5px Inter, sans-serif; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 14px 30px rgba(19, 33, 63, .35); cursor: pointer; }
.gd-mapview { position: fixed; inset: 0; z-index: 60; background: var(--gd-bg); }
.gd-map--full { position: absolute; inset: 0; border-radius: 0; }
.gd-mapview__top { position: absolute; left: 16px; right: 16px; top: calc(16px + env(safe-area-inset-top, 0px)); z-index: 500; display: flex; }
.gd-mapview__list { height: 50px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--gd-surface); color: var(--gd-ink); font: 800 14px Inter, sans-serif; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 14px rgba(19, 33, 63, .18); cursor: pointer; }
.gd-mapview__me { position: absolute; right: 16px; bottom: 200px; z-index: 500; width: 50px; height: 50px; border-radius: 99px; border: 0; background: var(--gd-surface); color: var(--gd-ink); box-shadow: 0 4px 14px rgba(19, 33, 63, .18); font-size: 18px; cursor: pointer; }
.gd-mapcard { position: absolute; left: 12px; right: 12px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 500; background: var(--gd-surface); border-radius: 26px; box-shadow: 0 14px 34px rgba(19, 33, 63, .25); padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.gd-mapcard__row { display: flex; gap: 12px; }
.gd-mapcard__photo { width: 92px; height: 92px; border-radius: 18px; overflow: hidden; flex: none; background: var(--gd-photo); display: grid; place-items: center; font: 800 22px var(--gd-head); color: var(--gd-accent); }
.gd-mapcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.gd-mapcard__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.gd-mapcard__info b { font: 800 17px var(--gd-head); }
.gd-mapcard__info small { font-size: 12.5px; color: var(--gd-ink-soft); }
.gd-mapcard__info > span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; }
.gd-mapcard__info .is-open { color: var(--gd-ok-ink); }
.gd-mapcard__info .is-open .gd-dot { background: var(--gd-ok); }
.gd-mapcard__info .is-closed { color: var(--gd-warn-ink); }
.gd-mapcard__info .is-closed .gd-dot { background: var(--gd-warn); }
.gd-mapcard__actions { display: flex; gap: 8px; }
.gd-mapcard__actions .gd-btn { flex: 1; padding: 0 10px; }

/* Pines del mapa */
.gd-pin { background: none; border: 0; }
.gd-pin__in { position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.gd-pin__bub { height: 34px; padding: 0 10px 0 4px; border-radius: 999px; background: #fff; color: #13213F; display: flex; align-items: center; gap: 6px; font: 800 12px Inter, sans-serif; box-shadow: 0 4px 12px rgba(19, 33, 63, .22); white-space: nowrap; }
.gd-pin__bub i { width: 26px; height: 26px; border-radius: 99px; background: #13213F; color: #fff; display: grid; place-items: center; font-style: normal; font-size: 10px; overflow: hidden; }
.gd-pin__bub i img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.gd-pin__tail { width: 10px; height: 10px; background: #fff; transform: rotate(45deg); margin-top: -6px; }
.gd-pin__in.is-closed .gd-pin__bub { opacity: .75; }
.gd-pin__in.is-selected .gd-pin__bub { height: 40px; background: #13213F; color: #fff; font-size: 13px; }
.gd-pin__in.is-selected .gd-pin__bub i { background: #fff; color: #13213F; }
.gd-pin__in.is-selected .gd-pin__tail { background: #13213F; }

/* Hojas (filtros y ubicación) */
.gd-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(14, 26, 51, .45); }
.gd-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 71; max-height: 92vh; background: var(--gd-surface); color: var(--gd-ink); border-radius: 30px 30px 0 0; display: flex; flex-direction: column; margin: 0; box-shadow: 0 -10px 40px rgba(14, 26, 51, .2); }
.gd-sheet__grab { width: 44px; height: 5px; border-radius: 9px; background: var(--gd-line); margin: 10px auto 0; }
.gd-sheet__head { display: flex; align-items: center; gap: 8px; padding: 10px 18px 6px; }
.gd-sheet__head h2 { margin: 0; flex: 1; font: 800 20px var(--gd-head); }
.gd-sheet__close { width: 40px; height: 40px; border-radius: 99px; border: 0; background: var(--gd-surface-2); color: var(--gd-ink); cursor: pointer; }
.gd-sheet__body { flex: 1; overflow-y: auto; padding: 6px 18px 12px; display: flex; flex-direction: column; gap: 16px; }
.gd-sheet__foot { padding: 12px 18px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--gd-line-soft); }
.gd-field { display: flex; flex-direction: column; }
.gd-label { font-size: 12px; font-weight: 800; color: var(--gd-ink-soft); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.gd-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-toggle { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--gd-line-soft); cursor: pointer; }
.gd-toggle:last-child { border-bottom: 0; }
.gd-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.gd-toggle__copy { flex: 1; min-width: 0; }
.gd-toggle__copy strong { display: block; font-size: 14.5px; }
.gd-toggle__copy small { display: block; font-size: 12.5px; color: var(--gd-ink-soft); margin-top: 2px; }
.gd-switch { position: relative; width: 42px; height: 24px; border-radius: 999px; background: #D7DCE7; flex: none; transition: background .15s; }
.gd-switch::before { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 99px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .15s; }
.gd-switch.is-on { background: var(--gd-accent); }
.gd-switch.is-on::before { transform: translateX(18px); }
.gd-toggle input:focus-visible + .gd-switch { outline: 2px solid var(--gd-accent); outline-offset: 2px; }
.gd-combo { position: relative; }
.gd-combo__input { width: 100%; height: 48px; border-radius: 14px; border: 1.5px solid var(--gd-line); background: var(--gd-surface); color: var(--gd-ink); display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 14px; font: 600 14px Inter, sans-serif; cursor: pointer; }
.gd-combo__input.is-open { border-color: var(--gd-accent); box-shadow: 0 0 0 4px var(--gd-accent-tint); }
.gd-combo__panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5; background: var(--gd-surface); border: 1.5px solid var(--gd-line); border-radius: 16px; box-shadow: var(--gd-shadow); padding: 8px; }
.gd-combo__search { height: 40px; border-radius: 12px; background: var(--gd-surface-2); display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--gd-ink-soft); margin-bottom: 6px; }
.gd-combo__search input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; font: 500 14px Inter, sans-serif; color: var(--gd-ink); }
.gd-combo__list { max-height: 220px; overflow-y: auto; display: flex; flex-direction: column; }
.gd-combo__opt { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--gd-ink); font: 500 14px Inter, sans-serif; text-align: left; cursor: pointer; }
.gd-combo__opt small { color: var(--gd-ink-soft); font-size: 12px; white-space: nowrap; }
.gd-combo__opt:hover, .gd-combo__opt.is-on { background: var(--gd-accent-tint); color: var(--gd-accent-ink); font-weight: 700; }
.gd-combo__empty { padding: 10px 12px; font-size: 13px; color: var(--gd-ink-soft); }
.gd-country { border-radius: 20px; background: var(--gd-surface-2); padding: 12px 14px; display: flex; gap: 12px; align-items: center; }
.gd-country__tile { width: 42px; height: 42px; border-radius: 13px; background: #13213F; color: #fff; display: grid; place-items: center; font: 800 14px var(--gd-head); flex: none; }
.gd-country b { display: block; font-size: 14px; }
.gd-country small { display: block; font-size: 12.5px; color: var(--gd-ink-mid); line-height: 1.4; }
.gd-address { width: 100%; min-height: 48px; border-radius: 14px; border: 1.5px solid var(--gd-line); background: var(--gd-surface); color: var(--gd-ink); display: flex; align-items: center; gap: 10px; padding: 0 14px; font: 500 14px Inter, sans-serif; text-align: left; cursor: pointer; }
.gd-address i { color: var(--gd-ink-soft); }

/* Computadora (artboard 7) */
@media (min-width: 1024px) {
  .gd-top__inner { grid-template-columns: auto auto minmax(280px, 1fr) auto auto; grid-template-areas: "brand where search saved cta"; gap: 16px; padding: 12px 24px; min-height: 76px; }
  .gd-brand__logo { height: 30px; }
  .gd-brand__tag { font-size: 17px; }
  .gd-where { min-height: 46px; padding: 0 16px 0 6px; border-radius: 999px; background: var(--gd-surface-2); max-width: 360px; }
  .gd-where__ic { width: 34px; height: 34px; border-radius: 99px; background: transparent; }
  .gd-where__text small { display: none; }
  .gd-where__text b { font-size: 14px; }
  .gd-search__box { height: 48px; }
  .gd-zeus-btn { width: 48px; height: 48px; }
  .gd-cta-link { grid-area: cta; display: inline-flex; height: 46px; padding: 0 18px; border-radius: 999px; background: var(--gd-accent); color: #fff !important; font-weight: 800; font-size: 14px; align-items: center; text-decoration: none; white-space: nowrap; }
  .gd-wrap { padding: 0 24px 40px; }
  .gd-title { padding-top: 22px; }
  .gd-title h1 { font-size: 34px; }
  .gd-title p { font-size: 15.5px; }
  .gd-cats { display: flex; flex-wrap: wrap; gap: 14px; }
  .gd-cat { min-width: 92px; max-width: 110px; font-size: 13.5px; }
  .gd-cat__ic { width: 72px; height: 72px; border-radius: 24px; font-size: 28px; }
  .gd-strip { display: none; }
  .gd-results { display: flex; gap: 20px; align-items: flex-start; }
  .gd-list { flex: 999 1 560px; min-width: 0; }
  .gd-mapcol { flex: 1 1 440px; min-width: 0; height: calc(100vh - 120px); max-height: 860px; }
  .gd-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
  .gd-card__photo { height: 150px; }
  .gd-join { padding: 22px 26px; }
  .gd-join img { width: 96px; }
  .gd-join h2 { font-size: 22px; }
  .gd-sheet { left: 50%; right: auto; bottom: auto; top: 50%; transform: translate(-50%, -50%); width: 480px; max-height: 86vh; border-radius: 28px; }
  .gd-sheet__grab { display: none; }
}

/* ---------- Ficha del comercio (artboard 5) ---------- */
.gd-ficha { max-width: 720px; margin: 0 auto; padding-bottom: 110px; }
.gd-ficha__hero { position: relative; height: 240px; background: var(--gd-photo); overflow: hidden; }
.gd-ficha__photos { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gd-ficha__photos::-webkit-scrollbar { display: none; }
.gd-ficha__photos img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.gd-ficha__count { position: absolute; right: 14px; bottom: 40px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(19, 33, 63, .82); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; }
.gd-ficha__icon { width: 44px; height: 44px; border-radius: 99px; border: 0; background: var(--gd-pill-bg); color: var(--gd-ink) !important; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(19, 33, 63, .15); cursor: pointer; text-decoration: none; font-size: 16px; }
.gd-ficha__back { position: absolute; top: 14px; left: 14px; }
.gd-ficha__tools { position: absolute; top: 14px; right: 14px; display: flex; gap: 8px; }
.gd-ficha__tools .gd-card__save { position: static; }
.gd-ficha__body { position: relative; z-index: 1; margin-top: -26px; border-radius: 28px 28px 0 0; background: var(--gd-bg); padding: 0 16px; display: flex; flex-direction: column; gap: 14px; }
.gd-ficha__head { display: flex; gap: 12px; align-items: flex-end; margin-top: -30px; }
.gd-ficha__logo { width: 68px; height: 68px; border-radius: 21px; border: 4px solid var(--gd-bg); font-size: 22px; }
.gd-ficha__head h1 { margin: 0; font: 800 23px var(--gd-head); }
.gd-ficha__head p { margin: 2px 0 0; font-size: 13px; color: var(--gd-ink-soft); }
.gd-ficha__status { align-self: flex-start; height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.gd-ficha__status.is-open { background: var(--gd-ok-tint); color: var(--gd-ok-ink); }
.gd-ficha__status.is-open .gd-dot { background: var(--gd-ok); }
.gd-ficha__status.is-closed { background: var(--gd-warn-tint); color: var(--gd-warn-ink); }
.gd-ficha__status.is-closed .gd-dot { background: var(--gd-warn); }
.gd-ficha__stats { display: flex; gap: 8px; }
.gd-ficha__stats div { flex: 1; background: var(--gd-surface); border-radius: 18px; padding: 10px 8px; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; box-shadow: var(--gd-shadow-sm); }
.gd-ficha__stats i { color: var(--gd-accent); font-size: 17px; }
.gd-ficha__stats small { font-size: 11.5px; color: var(--gd-ink-soft); font-weight: 600; }
.gd-ficha__stats b { font-size: 14.5px; }
.gd-box { background: var(--gd-surface); border-radius: 24px; padding: 16px; box-shadow: var(--gd-shadow-sm); }
.gd-box h2, .gd-ficha__menu h2 { margin: 0 0 12px; font: 800 16px var(--gd-head); }
.gd-ficha__chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; }
.gd-ficha__chips::-webkit-scrollbar { display: none; }
.gd-chip { height: 42px; padding: 0 15px; border-radius: 999px; border: 0; background: var(--gd-surface); color: var(--gd-ink); font: 600 13.5px Inter, sans-serif; white-space: nowrap; flex: none; box-shadow: var(--gd-shadow-sm); cursor: pointer; }
.gd-chip.is-on { background: var(--gd-navy); color: #fff; }
.gd-ficha__products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.gd-prod { background: var(--gd-surface); border-radius: 20px; overflow: hidden; box-shadow: var(--gd-shadow-sm); text-decoration: none; color: var(--gd-ink) !important; display: flex; flex-direction: column; }
.gd-prod img { width: 100%; height: 110px; object-fit: cover; background: var(--gd-photo); }
.gd-prod span { padding: 9px 11px 11px; font-size: 13px; font-weight: 700; line-height: 1.3; }
.gd-prod b { display: block; font: 800 14px var(--gd-head); margin-top: 2px; }
.gd-ficha__pays { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-ficha__pays span { height: 36px; padding: 0 12px; border-radius: 999px; background: var(--gd-surface-2); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; }
.gd-ficha__map { height: 140px; border-radius: 16px; overflow: hidden; background: #E9EEE6; margin-bottom: 10px; z-index: 0; }
.gd-ficha__addr { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 14px; }
.gd-ficha__addr b { flex: 1; min-width: 0; }
.gd-ficha__addr a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.gd-ficha__hour { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 6px 0; }
.gd-ficha__hour span { color: var(--gd-ink-soft); }
.gd-ficha__hour.is-today span, .gd-ficha__hour.is-today b { color: var(--gd-accent); font-weight: 800; }
.gd-ficha__actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 14px calc(16px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, transparent, var(--gd-bg) 28%); display: flex; gap: 10px; max-width: 720px; margin: 0 auto; }
.gd-ficha__book { height: 58px; flex: none; }
.gd-ficha__order { flex: 1; height: 58px; font-size: 16px; }
@media (min-width: 1024px) {
  .gd-ficha { padding-top: 24px; }
  .gd-ficha__hero { border-radius: 30px; height: 320px; }
  .gd-ficha__products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
