/* Site v4: the calm look of the new home page (landing-v4.css) carried to every other page of the public web
 * (listing /explorar, venue page /local/..., map, contact, legal pages). Loaded LAST on those pages.
 * Same rules as the home: no hard offset shadows, no rotated stickers, thin borders, black or cream buttons,
 * soft shadows only on things that float (menus, sheets, dialogs). The yellow header and the black strip stay. */

:root { --outline: 1px; --line-soft: rgba(27, 20, 20, 0.16); --float: 0 18px 48px rgba(27, 20, 20, 0.16); }
html, body { background: var(--surface); }

/* ---------- header ---------- */
header.site { background: var(--sun); border-bottom: 0 !important; box-shadow: none; }
header.site.sr-scrolled { box-shadow: 0 1px 0 rgba(27, 20, 20, 0.12); }
header.site .btn-primary, .sr-dl-header, .sr-dl-mobile {
  background: var(--surface) !important; color: var(--ink) !important; border: 0 !important; box-shadow: none !important; border-radius: 999px; font-weight: 700;
}
header.site .btn-primary:hover, .sr-dl-header:hover { background: #fff !important; }

/* ---------- buttons, chips, pills ---------- */
.btn { box-shadow: none !important; }
.btn-primary { background: var(--ink); color: var(--surface); border: 0; border-radius: 999px; }
.btn-primary:hover { background: #3a2a2a; }
.btn:active { transform: scale(0.97); }
.chip { border: 1px solid var(--line-soft); box-shadow: none; }
.chip.active, .lang-switch a.active { background: var(--ink); color: var(--surface); border-color: var(--ink); box-shadow: none; }
.sticker { border-color: var(--line-soft); }
.sticker::after { display: none; }

/* ---------- listing: search pill, toolbar, cards ---------- */
.rest-hero { border-bottom: 0; }
.rest-pill { border: 0 !important; background: #fff; box-shadow: 0 10px 28px rgba(27, 20, 20, 0.12) !important; }
.rest-pill-go { background: var(--tomato) !important; color: var(--surface) !important; border: 0 !important; box-shadow: none !important; }
.rest-pill-go:active { transform: scale(0.97); }
.app-chip-btn { border: 1px solid var(--line-soft) !important; background: transparent; box-shadow: none !important; font-weight: 700; }
.app-chip-btn:hover { background: rgba(27, 20, 20, 0.05); }
.app-chip-btn.is-active { background: var(--ink) !important; color: var(--surface) !important; border-color: var(--ink) !important; }
.rest-menu, .pill-pop, .suggest, .rest-sheet, .when-calendar, .modal { border: 0 !important; box-shadow: var(--float) !important; border-radius: 18px; }
.pill-opt.is-selected, .when-day.is-selected, .rest-row input:checked { background: var(--ink) !important; border-color: var(--ink) !important; color: var(--surface); }
.rest-sheet-foot button { box-shadow: none !important; border: 1px solid var(--line-soft) !important; border-radius: 999px; }
.rest-sheet-foot button.is-primary { background: var(--ink) !important; color: var(--surface) !important; border-color: var(--ink) !important; }
.when-bar { box-shadow: none !important; border: 1px solid var(--line-soft) !important; }

.app-card { border: 0 !important; background: #fff !important; box-shadow: none !important; border-radius: 18px !important; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.app-card:hover { transform: translateY(-2px) !important; box-shadow: 0 12px 32px rgba(27, 20, 20, 0.1) !important; }
.app-card:active { transform: scale(0.99) !important; box-shadow: none !important; }
.app-card.is-flash { box-shadow: 0 0 0 3px var(--sun) !important; }
.app-photo { border: 0 !important; }
.app-badge, .venue-badge { transform: none !important; box-shadow: none !important; border: 0 !important; }
.app-photochip { border: 0 !important; box-shadow: none !important; }
.app-cta, html.sr-launch .app-cta { background: var(--ink) !important; color: var(--surface) !important; border: 0 !important; border-radius: 999px !important; box-shadow: none !important; }
.app-heart { border: 0 !important; box-shadow: 0 2px 8px rgba(27, 20, 20, 0.14); }

/* map */
.rest-map, .venue-map { border: 0 !important; box-shadow: none !important; border-radius: 18px !important; overflow: hidden; }
.map-pin-badge { box-shadow: 0 2px 8px rgba(27, 20, 20, 0.25) !important; border-width: 1px !important; }
.leaflet-bar { border: 0 !important; box-shadow: 0 4px 14px rgba(27, 20, 20, 0.16) !important; }

/* ---------- venue page ---------- */
.venue-hero-box, .venue-box, .venue-offer { border: 0 !important; box-shadow: none !important; border-radius: 18px !important; background: #fff; }
.venue-hero-box { background: transparent; overflow: hidden; }
.venue-offer-badge { box-shadow: none !important; transform: none !important; border: 0 !important; }
.venue-btn { box-shadow: none !important; border: 1px solid var(--line-soft) !important; border-radius: 999px !important; background: transparent; }
.venue-btn.is-primary { background: var(--ink) !important; color: var(--surface) !important; border-color: var(--ink) !important; }
.venue-btn:active { transform: scale(0.98); box-shadow: none !important; }
.venue-lock { background: var(--ink) !important; box-shadow: none !important; border: 0 !important; border-radius: 18px !important; }

/* ---------- old step badges and misc stickers ---------- */
.step-num { transform: none !important; box-shadow: none !important; }

/* ---------- footer: same black close as the home ---------- */
footer.site { background: var(--ink); color: rgba(255, 251, 240, 0.75); border: 0; padding: 32px max(var(--gutter), calc((100vw - 1180px) / 2)); font-size: 14px; }
footer.site a, footer.site .footer-links a { color: var(--surface); }
footer.site a:hover { color: var(--sun); }

/* ---------- keyboard focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.rest-pill .when-bar { border: 0 !important; }
html.sr-launch body.rest-page:not(.lp) header.site.sr-scrolled { box-shadow: 0 6px 20px rgba(27, 20, 20, 0.08) !important; }

/* rating star icon, readable "Google" attribution */
.sr-star { display: inline-block; vertical-align: -1px; margin-right: 3px; }
.app-rating small, .google-attr, .venue-rating small { font-size: 11.5px !important; }

/* download window on every page: light and compact, like on the home */
.sr-dl-overlay { background: rgba(27, 20, 20, 0.35) !important; }
.sr-dl-card { background: var(--surface) !important; color: var(--ink) !important; border-radius: 24px !important; box-shadow: 0 24px 64px rgba(27, 20, 20, 0.24) !important; grid-template-columns: 1fr !important; max-width: 460px !important; }
.sr-dl-art { display: none !important; }
.sr-dl-x { background: var(--ink) !important; color: var(--surface) !important; }
.sr-dl-later { color: var(--ink) !important; }
