/* ==========================================================================
   Guia Local (listagem, categoria, mapa e ficha) — design Love San Bernardino 2027
   Carregado por último ($lsbPageCss). Prefixos: .gl- (guia), .glm- (mapa), .place-show* (ficha, mantidos pelo JS).
   ========================================================================== */
:root { --gl-wa: #15763f; --gl-wa-dark: #0f5f33; }

/* --------------------------------------------------------------------------
   Capa com busca grande (índice) e capa de categoria
   -------------------------------------------------------------------------- */
.gl-hero .lsb-ph__title { max-width: 18ch; }
.gl-hero--cat .lsb-ph__title { max-width: 24ch; }
.gl-hero__row { display: flex; align-items: center; gap: clamp(14px, 3vw, 24px); }
.gl-hero__txt { min-width: 0; display: grid; gap: 10px; }
.gl-hero__ico { flex: none; display: grid; place-items: center; width: clamp(72px, 20vw, 104px); height: clamp(72px, 20vw, 104px); border-radius: 28px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .34); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .05); }
.gl-hero__ico .lsb-bi { width: 62%; height: 62%; }

.gl-search { display: flex; align-items: center; gap: 8px; width: min(100%, 760px); min-height: 66px; margin-top: 6px; padding: 7px 7px 7px 20px; border-radius: 999px; background: #fff; color: var(--lsb-lake-700); box-shadow: var(--lsb-shadow-2); }
.gl-search:focus-within { box-shadow: 0 0 0 4px rgba(246, 190, 69, .65), var(--lsb-shadow-2); }
.gl-search > svg { flex: none; }
body.lsb27 .gl-search input[type="search"] { flex: 1; min-width: 0; height: 52px; padding: 0 6px; border: 0; outline: 0; box-shadow: none; background: transparent; font: 500 1.1rem var(--lsb-font-body); color: var(--lsb-ink); -webkit-appearance: none; appearance: none; }
body.lsb27 .gl-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.gl-search input::placeholder { color: var(--lsb-ink-3); opacity: 1; }
.gl-search__clear { flex: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--lsb-lake-50); color: var(--lsb-lake-800); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.gl-search__clear[hidden] { display: none; }
.gl-search__go { flex: none; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--lsb-coral); color: #fff; font: 700 1.02rem var(--lsb-font-body); cursor: pointer; transition: background .2s; }
.gl-search__go:hover { background: var(--lsb-coral-700); }
.gl-search__hint { margin: -2px 0 0; padding-left: 20px; font-weight: 700; color: var(--lsb-sun-100); }
.gl-search__hint[hidden] { display: none; }
@media (max-width: 520px) {
    .gl-search { min-height: 60px; padding-left: 16px; }
    .gl-search__go { display: none; }   /* Enter / "Buscar" do teclado envia */
}

/* --------------------------------------------------------------------------
   Faixa de lista: pílulas de categoria (rolagem horizontal), ordenar, aviso
   -------------------------------------------------------------------------- */
.gl-band { background: #fff8ec; padding-bottom: clamp(36px, 6vw, 76px); }
.gl-band--cat { padding-top: clamp(8px, 2vw, 24px); }
.gl-pillbar { position: sticky; top: var(--lsb-header-h, 66px); z-index: 30; padding: 10px 0 6px; background: rgba(255, 248, 236, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--lsb-line); }
.gl-pills { position: relative; display: flex; gap: 8px; margin: 0; padding: 2px 2px 8px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.gl-pills::-webkit-scrollbar { display: none; }
.gl-pill { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px 0 12px; border-radius: 999px; background: #fff; border: 2px solid var(--lsb-line); color: var(--lsb-lake-900); font-weight: 700; font-size: .95rem; line-height: 1; text-decoration: none; white-space: nowrap; scroll-snap-align: start; transition: background .2s, border-color .2s, color .2s; }
.gl-pill .lsb-bi { width: 24px; height: 24px; }
.gl-pill small { padding: 3px 8px; border-radius: 999px; background: var(--lsb-lake-50); color: var(--lsb-ink-3); font-weight: 700; font-size: .78rem; }
.gl-pill:hover { border-color: var(--lsb-lake-500); }
.gl-pill.is-active { background: var(--lsb-lake-800); border-color: var(--lsb-lake-800); color: #fff; }
.gl-pill.is-active small { background: rgba(255, 255, 255, .22); color: #fff; }
.gl-pill.is-active .lsb-bi { --bi-stroke: #fff; --bi-lake: #7FA8C8; }
.gl-pills--wrap { flex-wrap: wrap; overflow: visible; padding: 0; }
@media (max-width: 720px) {
    .gl-pillbar .gl-pills { -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); padding-right: 28px; }
}

.gl-toolbar { display: grid; gap: 10px; margin: 18px 0 16px; }
.gl-count { margin: 0; font-weight: 600; color: var(--lsb-ink-2); line-height: 1.5; }
.gl-count strong { color: var(--lsb-lake-900); }
.gl-count a { display: inline-flex; align-items: center; min-height: 48px; color: var(--lsb-coral-700); font-weight: 700; text-underline-offset: 3px; }
.gl-toolbar__row { display: flex; align-items: flex-end; gap: 10px; }
.gl-sort { display: flex; flex-direction: column; gap: 4px; flex: 1 1 0; min-width: 0; color: var(--lsb-ink-3); font-weight: 700; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; }
body.lsb27 .gl-sort select { width: 100%; min-width: 0; text-overflow: ellipsis; min-height: 48px; padding: 0 12px; border: 2px solid var(--lsb-line); border-radius: 14px; background: #fff; color: var(--lsb-ink); font: 600 1rem var(--lsb-font-body); }
.gl-toolbar .lsb-btn { flex: none; min-height: 48px; padding: 0 18px; white-space: nowrap; }

/* Aviso: precisa de um profissional? */
.gl-pro { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; align-items: center; margin: 4px 0 24px; padding: 18px; border-radius: 22px; background: linear-gradient(135deg, #fff2d3 0%, #ffe3a6 100%); border: 1px solid #f4d58f; }
.gl-pro__ico { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; background: #fff; }
.gl-pro h2 { margin: 0; font-family: var(--lsb-font-display); font-weight: 650; font-variation-settings: 'SOFT' 100; font-size: 1.25rem; line-height: 1.2; color: var(--lsb-lake-950); }
.gl-pro p { margin: 4px 0 0; color: #4a3500; line-height: 1.5; }
.gl-pro .lsb-btn { grid-column: 1 / -1; background: var(--lsb-lake-800); color: #fff; }
.gl-pro .lsb-btn:hover { background: var(--lsb-lake-900); color: #fff; }
@media (min-width: 760px) {
    .gl-pro { grid-template-columns: auto minmax(0, 1fr) auto; padding: 20px 24px; }
    .gl-pro .lsb-btn { grid-column: auto; }
}

/* Botão flutuante "Ver no mapa" (celular), acima da barra inferior do site */
.guia-local-map-fab { display: none; position: fixed; right: 14px; bottom: calc(78px + env(safe-area-inset-bottom)); z-index: 880; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 999px; background: var(--lsb-lake-800); color: #fff; font-weight: 700; text-decoration: none; box-shadow: var(--lsb-shadow-2); transition: opacity .2s, visibility .2s, transform .2s, background .2s; }
.guia-local-map-fab:hover, .guia-local-map-fab:focus-visible { background: var(--lsb-lake-900); color: #fff; }
.guia-local-map-fab.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px); }
@media (max-width: 720px) { .guia-local-map-fab { display: inline-flex; } }

/* --------------------------------------------------------------------------
   Cartões de lugar (variante do guia: components/place-card-home7.php com $placeCardGuia)
   -------------------------------------------------------------------------- */
body.lsb27 .gl-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
@media (max-width: 600px) { body.lsb27 .gl-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
body.lsb27 .gl-card { border-radius: 22px; }
body.lsb27 .gl-card .place-card-home7__media { aspect-ratio: 16 / 10; }
body.lsb27 .gl-card .place-card-home7__category { max-width: calc(100% - 84px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .75rem; padding: 5px 12px; }
body.lsb27 .gl-card .place-card-home7__body { gap: 6px; padding: 16px 18px 18px; min-height: 0; }
body.lsb27 .gl-card .place-card-home7__meta { min-height: 0; }
body.lsb27 .gl-card .place-card-home7__meta:empty { display: none; }
body.lsb27 .gl-card .place-card-home7__title { min-height: 0; font-family: var(--lsb-font-display); font-weight: 650; font-variation-settings: 'SOFT' 100; font-size: 1.3rem; line-height: 1.2; }
body.lsb27 .gl-card .place-card-home7__desc { flex: 0 1 auto; min-height: 0; margin: 0; font-size: .98rem; -webkit-line-clamp: 2; }
body.lsb27 .gl-card .place-card-home7__title a { display: block; padding: 12px 0; margin: -12px 0; -webkit-line-clamp: unset; }
.gl-flag { position: absolute; bottom: 12px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; max-width: calc(100% - 28px); padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--lsb-lake-900); font-weight: 800; font-size: .78rem; line-height: 1.2; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.gl-flag--reco { background: var(--lsb-sun); color: var(--lsb-lake-950); }
.gl-flag svg { fill: currentColor; flex: none; }
.gl-card--top { border-color: #f1d28a; }

/* Painel de marca (sem foto): ícone da categoria sobre o lago */
.gl-brand { display: grid; place-items: center; width: 100%; height: 100%; background: url('../../brand/lsb-padrao-claro.svg') 0 0 / 190px repeat, linear-gradient(150deg, #12384F 0%, #2B5A75 72%, #3a7194 100%); }
.gl-brand--1 { background-image: url('../../brand/lsb-padrao-claro.svg'), linear-gradient(150deg, #0c3550 0%, #1b5c86 70%, #3a8bb8 100%); }
.gl-brand--2 { background-image: url('../../brand/lsb-padrao-claro.svg'), linear-gradient(150deg, #12466a 0%, #2B5A75 55%, #3a7194 100%); }
.gl-brand .lsb-bi { width: 74px; height: 74px; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .25)); }
body.lsb27 .gl-card--nophoto .place-card-home7:hover .gl-brand { transform: none; }

/* Botões grandes de contato (48px) */
.gl-actions { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
body.lsb27 .gl-actions .gl-act { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 0 14px; gap: 8px; border-radius: 999px; font-size: .98rem; white-space: nowrap; }
body.lsb27 .gl-actions .gl-act--wa { background: var(--gl-wa); border-color: var(--gl-wa); color: #fff; }
body.lsb27 .gl-actions .gl-act--wa:hover { background: var(--gl-wa-dark); border-color: var(--gl-wa-dark); }
body.lsb27 .gl-actions .gl-act--call { border-color: var(--lsb-lake-800); color: var(--lsb-lake-800); }
body.lsb27 .gl-actions .gl-act--call:hover { background: var(--lsb-lake-800); color: #fff; }
body.lsb27 .gl-actions .gl-act--ig { flex: 0 0 48px; width: 48px; padding: 0; }
body.lsb27 .gl-actions .gl-act--see { flex-basis: 100%; background: var(--lsb-lake-800); border-color: var(--lsb-lake-800); color: #fff; }
body.lsb27 .gl-actions .gl-act--see:hover { background: var(--lsb-lake-900); }

.gl-empty { display: grid; justify-items: center; gap: 12px; max-width: 34rem; margin: 10px auto; padding: 36px 22px; text-align: center; background: #fff; border: 1px solid var(--lsb-line); border-radius: 26px; box-shadow: var(--lsb-shadow-1); }
.gl-empty[hidden], .places-grid-home7[hidden] { display: none; }
.gl-empty p { margin: 0; color: var(--lsb-ink-2); font-size: 1.06rem; }

/* Explorar por categoria */
.gl-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .gl-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .gl-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.gl-cat { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 140px; height: 100%; padding: 16px; border-radius: 22px; background: #fff8ec; border: 1px solid var(--lsb-line); text-decoration: none; color: var(--lsb-ink); box-shadow: var(--lsb-shadow-1); transition: transform .22s var(--lsb-ease), box-shadow .22s, border-color .22s; }
.gl-cat:hover, .gl-cat:focus-visible { transform: translateY(-3px); box-shadow: var(--lsb-shadow-2); border-color: var(--lsb-lake-200); }
.gl-cat__ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: #eaf3fa; margin-bottom: 4px; }
.gl-cat--1 .gl-cat__ico { background: #fff2d3; }
.gl-cat--2 .gl-cat__ico { background: #ffe9e1; }
.gl-cat__name { font-weight: 700; line-height: 1.2; color: var(--lsb-lake-900); }
.gl-cat__n { font-size: .875rem; color: var(--lsb-ink-3); }
.gl-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   Página de categoria
   -------------------------------------------------------------------------- */
.gl-main { min-width: 0; display: grid; gap: clamp(24px, 4vw, 40px); align-content: start; }
.gl-listhead h2 { margin: 0 0 4px; font-family: var(--lsb-font-display); font-weight: 650; font-variation-settings: 'SOFT' 100; font-size: clamp(1.4rem, 4vw, 2rem); color: var(--lsb-lake-900); }
.gl-listhead p { margin: 0; color: var(--lsb-ink-2); }

.gl-ctas { display: grid; gap: 18px; }
.gl-ctas__intro { display: grid; justify-items: center; gap: 10px; text-align: center; }
.gl-ctas__ico { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 28px; background: #eaf3fa; }
.gl-ctas__intro h2 { margin: 0; font-family: var(--lsb-font-display); font-weight: 650; font-size: clamp(1.5rem, 4.4vw, 2.1rem); color: var(--lsb-lake-900); }
.gl-ctas__intro p { margin: 0; max-width: 40rem; color: var(--lsb-ink-2); font-size: 1.06rem; line-height: 1.6; }
.gl-ctas__grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .gl-ctas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gl-ctacard { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: clamp(18px, 3vw, 26px); border-radius: 24px; background: #fff; border: 1px solid var(--lsb-line); box-shadow: var(--lsb-shadow-1); }
.gl-ctacard--own { background: linear-gradient(135deg, #fff2d3 0%, #ffe3a6 100%); border-color: #f4d58f; }
.gl-ctacard__eyebrow { margin: 0; font-weight: 800; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lsb-coral-700); }
.gl-ctacard h3 { margin: 0; font-family: var(--lsb-font-display); font-weight: 650; font-variation-settings: 'SOFT' 100; font-size: 1.35rem; line-height: 1.2; color: var(--lsb-lake-950); }
.gl-ctacard p { margin: 0; color: var(--lsb-ink-2); line-height: 1.55; flex: 1; }
.gl-ctacard--own p { color: #4a3500; }
.gl-ctacard .lsb-btn { margin-top: 6px; }
.gl-ctacard--own .lsb-btn { background: var(--lsb-lake-800); color: #fff; }
.gl-ctacard--own .lsb-btn:hover { background: var(--lsb-lake-900); }

.gl-others h2 { margin: 0 0 12px; font-family: var(--lsb-font-display); font-weight: 650; font-size: 1.4rem; color: var(--lsb-lake-900); }
.gl-back { display: flex; justify-content: center; padding-top: 6px; }

/* Barra lateral (só telas largas) */
.gl-aside { display: none; }
@media (min-width: 980px) { .gl-aside { display: grid; position: sticky; top: calc(var(--lsb-header-h, 76px) + 16px); } }
.gl-aside__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.gl-aside__list a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 8px; margin-inline: -8px; border-radius: 12px; color: var(--lsb-ink); font-weight: 600; text-decoration: none; }
.gl-aside__list a:hover { background: var(--lsb-lake-50); }
.gl-aside__list a > span { flex: 1; min-width: 0; }
.gl-aside__list--posts a { flex-direction: column; align-items: flex-start; gap: 2px; padding-block: 10px; }
.gl-aside__list time { font-size: .8125rem; color: var(--lsb-ink-3); font-weight: 500; }
.gl-aside__ads p { margin: 0 0 12px; color: var(--lsb-ink-2); }

/* Modal "indicar negócio" e modais da ficha (mesmo componente) */
body.lsb27 .categoria-modal { z-index: 3000; padding: 12px; }
body.lsb27 .categoria-modal__panel { width: min(100%, 540px); max-height: min(94dvh, 760px); border-radius: 26px; padding: 30px 22px 22px; box-shadow: var(--lsb-shadow-2); }
body.lsb27 .categoria-modal__close { width: 48px; height: 48px; top: 10px; right: 10px; background: var(--lsb-lake-50); color: var(--lsb-lake-900); font-size: 1.8rem; }
body.lsb27 .categoria-modal__title { font-family: var(--lsb-font-display); font-weight: 650; font-variation-settings: 'SOFT' 100; font-size: 1.5rem; color: var(--lsb-lake-950); }
body.lsb27 .categoria-modal__lead { font-size: 1rem; color: var(--lsb-ink-2); }
body.lsb27 .categoria-modal__field label { font-size: .95rem; color: var(--lsb-lake-900); }
body.lsb27 .categoria-modal__field :is(input, select, textarea) { min-height: 52px; padding: 12px 14px; border: 2px solid var(--lsb-line); border-radius: 14px; font-size: 1.02rem; }
body.lsb27 .categoria-modal__field textarea { min-height: 96px; }
body.lsb27 .categoria-modal__field :is(input, select, textarea):focus { border-color: var(--lsb-lake-500); box-shadow: 0 0 0 4px rgba(58, 139, 184, .2); }
body.lsb27 .categoria-cta__btn-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.6rem; border-radius: 999px; background: var(--lsb-sun); color: var(--lsb-lake-950); font-weight: 700; }
body.lsb27 .categoria-cta__btn-primary:hover { background: #ffc257; color: var(--lsb-lake-950); }
body.lsb27 .categoria-cta__btn-secondary { min-height: 52px; border-radius: 999px; border: 2px solid var(--lsb-lake-800); color: var(--lsb-lake-800); background: #fff; font-weight: 700; }

/* --------------------------------------------------------------------------
   Ficha do lugar
   -------------------------------------------------------------------------- */
body.lsb27 .place-show { padding: 0 0 clamp(36px, 6vw, 72px); background: #fff8ec; }
body.lsb27 .place-show__container { max-width: 1240px; padding: 0; }
body.lsb27 .place-show__grid { display: block; }
body.lsb27 .place-show__stage { border-radius: 0; aspect-ratio: 4 / 3; max-height: min(78vw, 460px); background: var(--lsb-lake-100); box-shadow: none; }
body.lsb27 .place-show__stage--brand { max-height: none; aspect-ratio: auto; background: none; }
body.lsb27 .place-show__stage img { cursor: zoom-in; }
body.lsb27 .place-show__nav-btn { width: 48px; height: 48px; background: rgba(255, 255, 255, .95); color: var(--lsb-lake-800); }
body.lsb27 .place-show__thumbs { gap: 8px; padding: 10px var(--lsb-gutter) 2px; margin-top: 0; }
body.lsb27 .place-show__thumb { width: 64px; height: 64px; min-width: 48px; min-height: 48px; border-radius: 12px; border: 3px solid transparent; flex: none; }
body.lsb27 .place-show__thumb.is-active, body.lsb27 .place-show__thumb:focus-visible { border-color: var(--lsb-sun); }

.gl-brandstage { min-height: clamp(190px, 42vw, 300px); border-radius: 0; background: url('../../brand/lsb-padrao-claro.svg') 0 0 / 200px repeat, linear-gradient(150deg, #12384F 0%, #2B5A75 70%, #3a7194 100%); font-family: var(--lsb-font-display); font-size: 1.3rem; font-weight: 650; }
.gl-brandstage--1 { background-image: url('../../brand/lsb-padrao-claro.svg'), linear-gradient(150deg, #0c3550 0%, #1b5c86 70%, #3a8bb8 100%); }
.gl-brandstage--2 { background-image: url('../../brand/lsb-padrao-claro.svg'), linear-gradient(150deg, #12466a 0%, #2B5A75 55%, #3a7194 100%); }
.gl-brandstage small { font-family: var(--lsb-font-body); font-weight: 600; font-size: .9rem; opacity: .85; }

/* Resumo: sobe sobre a galeria no celular, como uma folha */
body.lsb27 .place-show__summary { position: relative; z-index: 1; margin-top: -22px; padding: 22px var(--lsb-gutter) 8px; border-radius: 26px 26px 0 0; background: #fff8ec; min-width: 0; }
.gl-flags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.gl-flags:empty { display: none; }
body.lsb27 .place-show__badge { margin: 0; padding: 6px 14px; font-size: .8125rem; letter-spacing: .03em; }
body.lsb27 .place-show__badge--escolha { background: var(--lsb-sun); color: var(--lsb-lake-950); }
body.lsb27 .place-show__badge svg { fill: currentColor; }
body.lsb27 .place-show__badge--patrocinado { background: var(--lsb-lake-800); color: #fff; }
.gl-status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: .875rem; line-height: 1.3; }
.gl-status i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex: none; }
.gl-status small { font-weight: 600; font-size: .875rem; }
.gl-status--open { background: #def5e7; color: #0d5a31; }
.gl-status--closed { background: var(--lsb-coral-100); color: #7a2208; }
.gl-status--block { margin: 0 0 12px; }
body.lsb27 .place-show__title { margin: 0 0 8px; font-family: var(--lsb-font-display); font-weight: 650; font-variation-settings: 'SOFT' 100; font-size: clamp(1.9rem, 7vw, 2.9rem); line-height: 1.08; letter-spacing: -.015em; color: var(--lsb-lake-950); text-wrap: balance; }
body.lsb27 .place-show__cats { margin: 14px 0 18px; gap: 8px; }
body.lsb27 .place-show__cats a { gap: 6px; min-height: 48px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--lsb-lake-50); border: 1px solid var(--lsb-lake-200); color: var(--lsb-lake-800); font-weight: 700; font-size: .9rem; }
body.lsb27 .place-show__cats a:hover { background: var(--lsb-lake-800); color: #fff; }
body.lsb27 .place-show__cats a .lsb-bi { width: 22px; height: 22px; }

/* Ações principais */
.gl-cta { display: grid; gap: 10px; margin: 4px 0 6px; }
.gl-cta__wa { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; border-radius: 20px; background: var(--gl-wa); color: #fff; font-weight: 800; font-size: 1.25rem; text-decoration: none; box-shadow: 0 10px 26px rgba(21, 118, 63, .32); transition: background .2s, transform .2s; }
.gl-cta__wa:hover, .gl-cta__wa:focus-visible { background: var(--gl-wa-dark); color: #fff; transform: translateY(-2px); }
.gl-cta__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 10px; }
.gl-cta__btn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px; padding: 0 6px; font-size: .9rem; line-height: 1.15; text-align: center; border-radius: 18px; background: #fff; border: 2px solid var(--lsb-lake-800); color: var(--lsb-lake-800); font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.gl-cta__btn svg { flex: none; width: 20px; height: 20px; }
.gl-cta__btn:hover, .gl-cta__btn:focus-visible { background: var(--lsb-lake-800); color: #fff; }

.gl-facts { list-style: none; margin: 20px 0 6px; padding: 0; border-top: 1px solid var(--lsb-line); }
.gl-facts li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--lsb-line); }
.gl-facts__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--lsb-lake-50); color: var(--lsb-lake-700); }
.gl-facts b { display: block; margin-bottom: 2px; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--lsb-ink-3); }
.gl-facts div > span, .gl-facts div > a { font-size: 1.02rem; line-height: 1.5; color: var(--lsb-ink); overflow-wrap: anywhere; }
.gl-facts a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; color: var(--lsb-lake-700); font-weight: 600; text-underline-offset: 3px; }

/* Painéis abaixo */
body.lsb27 .place-show__below { display: grid; gap: 18px; margin: 18px auto 0; padding: 0 var(--lsb-gutter); max-width: 920px; }
body.lsb27 .place-show__panel { padding: clamp(18px, 3.4vw, 28px); background: #fff; border: 1px solid var(--lsb-line); border-radius: 22px; box-shadow: var(--lsb-shadow-1); min-width: 0; }
body.lsb27 .place-show__panel-title { margin: 0 0 14px; gap: 10px; font-family: var(--lsb-font-display); font-weight: 650; font-variation-settings: 'SOFT' 100; font-size: clamp(1.35rem, 4vw, 1.7rem); color: var(--lsb-lake-900); }
body.lsb27 .place-show__panel-title .lsb-i { color: var(--lsb-lake-500); flex: none; }
body.lsb27 .place-show__description { font-size: 1.0625rem; line-height: 1.75; color: var(--lsb-ink); }
body.lsb27 .place-show__description p { max-width: none; margin: 0 0 1em; }
body.lsb27 .place-show__map-frame { border-radius: 18px; min-height: 240px; aspect-ratio: 4 / 3; }
body.lsb27 .place-show__map-actions { margin-top: 14px; }

/* Horários */
.place-show__schedule .place-schedule-season { margin: 0 0 10px; color: var(--lsb-ink-2); }
.place-show__schedule .place-schedule-days { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
body.lsb27 .place-show__schedule .place-schedule-days li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 14px; border: 0; border-radius: 14px; font-size: 1rem; background: var(--lsb-lake-50); }
body.lsb27 .place-show__schedule .place-schedule-day { min-width: 0; font-weight: 700; color: var(--lsb-lake-900); }
body.lsb27 .place-show__schedule .place-schedule-day em { margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--lsb-sun); color: var(--lsb-lake-950); font-style: normal; font-size: .75rem; font-weight: 800; }
body.lsb27 .place-show__schedule .place-schedule-hours { text-align: right; color: var(--lsb-ink); font-weight: 600; }
body.lsb27 .place-show__schedule .place-schedule-hours.is-closed { color: var(--lsb-ink-3); font-weight: 500; }
body.lsb27 .place-show__schedule .place-schedule-days li.is-today { background: var(--lsb-sun-50); box-shadow: inset 0 0 0 2px var(--lsb-sun); }
.gl-hours-text { margin: 0; font-size: 1.02rem; line-height: 1.7; }

/* Outros negócios e blog */
body.lsb27 .place-show__related-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; }
body.lsb27 .place-show__related-card { grid-template-columns: 76px minmax(0, 1fr); min-height: 88px; padding: 6px 12px 6px 6px; border-radius: 18px; background: var(--lsb-lake-50); border: 1px solid var(--lsb-lake-100); color: var(--lsb-lake-950); }
body.lsb27 .place-show__related-media { width: 76px; height: 76px; border-radius: 14px; }
.place-show__related-media.is-brand { display: grid; place-items: center; background: linear-gradient(150deg, #12384F, #2B5A75); }
body.lsb27 .place-show__related-body { flex-direction: column; align-items: flex-start; gap: 4px; }
body.lsb27 .place-show__related-name { font-weight: 700; font-size: 1rem; }
body.lsb27 .place-show__related-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: var(--lsb-sun-100); color: #7a4600; font-size: .75rem; font-weight: 800; }
body.lsb27 .place-show__related-badge svg { fill: currentColor; }
body.lsb27 .place-show__blog-list a { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 10px 14px; border-radius: 14px; background: var(--lsb-lake-50); font-weight: 700; }

/* Relatar / sugerir atualização (no fim) */
.gl-report .place-report-actions { margin: 0; padding: 0; border: 0; display: grid; gap: 12px; }
body.lsb27 .gl-report .place-report-actions__label { margin: 0; font-family: var(--lsb-font-display); font-weight: 650; font-size: 1.25rem; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--lsb-lake-900); text-align: left; }
body.lsb27 .gl-report .place-report-actions__btns { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; justify-content: stretch; }
body.lsb27 .gl-report .place-report-actions__btn { flex: 1 1 220px; width: auto; min-height: 52px; padding: 0 18px; border-radius: 999px; background: #fff; border: 2px solid var(--lsb-lake-800); color: var(--lsb-lake-800); font-weight: 700; font-size: .98rem; }
body.lsb27 .gl-report .place-report-actions__btn:hover { background: var(--lsb-lake-800); color: #fff; }

body.lsb27 .place-show__nav { padding-top: 6px; border: 0; gap: 10px; }
body.lsb27 .place-show__nav .lsb-btn { flex: 1 1 220px; }

/* Ficha no desktop: galeria à esquerda (fixa) e resumo à direita */
@media (min-width: 900px) {
    body.lsb27 .place-show__container { padding: 0 var(--lsb-gutter); }
    body.lsb27 .place-show__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 3.4vw, 48px); align-items: start; padding-top: 26px; }
    body.lsb27 .place-show__gallery { position: sticky; top: calc(var(--lsb-header-h, 76px) + 16px); }
    body.lsb27 .place-show__stage { border-radius: 26px; max-height: none; box-shadow: var(--lsb-shadow-1); }
    body.lsb27 .place-show__thumbs { padding: 12px 2px 4px; }
    .gl-brandstage { border-radius: 26px; }
    body.lsb27 .place-show__summary { margin-top: 0; padding: clamp(22px, 2.6vw, 32px); border-radius: 26px; background: #fff; border: 1px solid var(--lsb-line); box-shadow: var(--lsb-shadow-1); }
    body.lsb27 .place-show__below { margin-top: 32px; padding: 0; }
}

/* Barra de ações fixa (celular): deixa o conteúdo respirar acima dela */
@media (max-width: 720px) { body.lsb27 .place-show { padding-bottom: 20px; } }

/* --------------------------------------------------------------------------
   Mapa (/guia-local/mapa): capa compacta, pílulas, mapa em tela cheia e cartão inferior
   -------------------------------------------------------------------------- */
body.lsb27:has(.glm-app) { overflow: hidden; background: #e8eef4; padding-bottom: 0; }
body.lsb27:has(.glm-app) .site-breadcrumbs, body.lsb27:has(.glm-app) .alert-banner-slot { display: none !important; }

.glm-app { --glm-top: var(--lsb-header-h, 76px); --glm-bottom: 0px; display: flex; flex-direction: column; height: calc(100vh - var(--glm-top) - var(--glm-bottom)); height: calc(100dvh - var(--glm-top) - var(--glm-bottom)); background: #e8eef4; font-family: var(--lsb-font-body); }
@media (max-width: 720px) { .glm-app { --glm-bottom: calc(64px + env(safe-area-inset-bottom)); } }

.glm-toolbar { position: relative; z-index: 40; flex: none; display: grid; gap: 8px; padding: 8px var(--lsb-gutter) 10px; color: #fff; background: linear-gradient(160deg, #12384F 0%, #2B5A75 100%); }
.glm-toolbar__top { display: flex; align-items: center; gap: 8px; min-height: 48px; }
.glm-back { flex: none; display: inline-flex; align-items: center; gap: 2px; min-width: 48px; min-height: 48px; padding: 0 10px 0 4px; border-radius: 14px; color: #fff; font-weight: 700; text-decoration: none; }
.glm-back:hover, .glm-back:focus-visible { background: rgba(255, 255, 255, .14); }
.glm-heading { flex: 1; min-width: 0; display: grid; }
.glm-title { margin: 0; font-family: var(--lsb-font-display); font-weight: 650; font-variation-settings: 'SOFT' 100; font-size: 1.3rem; line-height: 1.15; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.glm-count { margin: 0; font-size: .875rem; font-weight: 600; color: rgba(255, 255, 255, .86); }
.glm-count:empty { display: none; }
.glm-mobile-toggle { flex: none; display: none; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.glm-toggle { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: #fff; font: 700 .95rem var(--lsb-font-body); cursor: pointer; }
.glm-toggle.is-active { background: #fff; color: var(--lsb-lake-900); }
.glm-toolbar__find { display: flex; }
.glm-searchbox { flex: 1; min-width: 0; max-width: 640px; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--lsb-lake-700); box-shadow: 0 6px 18px rgba(8, 40, 61, .22); }
.glm-searchbox svg { flex: none; }
body.lsb27 .glm-search { flex: 1; min-width: 0; height: 48px; max-width: none; padding: 0; border: 0; outline: 0; box-shadow: none; background: transparent; font: 500 1.05rem var(--lsb-font-body); color: var(--lsb-ink); -webkit-appearance: none; appearance: none; }
body.lsb27 .glm-search::-webkit-search-cancel-button { display: none; }
.glm-searchbox:focus-within { box-shadow: 0 0 0 4px rgba(246, 190, 69, .65); }

.glm-filters { flex: none; position: relative; z-index: 35; display: flex; gap: 8px; padding: 10px var(--lsb-gutter); overflow-x: auto; scrollbar-width: none; background: #fff8ec; border-bottom: 1px solid var(--lsb-line); -webkit-overflow-scrolling: touch; }
.glm-filters::-webkit-scrollbar { display: none; }
.glm-chip, .glm-check { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 2px solid var(--lsb-line); border-radius: 999px; background: #fff; color: var(--lsb-lake-900); font: 700 .95rem var(--lsb-font-body); line-height: 1; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.glm-chip:hover, .glm-check:hover { border-color: var(--lsb-lake-500); }
.glm-chip.is-active { background: var(--lsb-lake-800); border-color: var(--lsb-lake-800); color: #fff; }
.glm-chip__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.glm-chip.is-active .glm-chip__dot { box-shadow: 0 0 0 2px rgba(255, 255, 255, .55); }
.glm-chip__count { padding: 3px 8px; border-radius: 999px; background: var(--lsb-lake-50); color: var(--lsb-ink-3); font-size: .78rem; font-weight: 700; }
.glm-chip.is-active .glm-chip__count { background: rgba(255, 255, 255, .22); color: #fff; }
.glm-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--lsb-lake-800); }
.glm-check:has(input:checked) { background: var(--lsb-sun); border-color: var(--lsb-sun); color: var(--lsb-lake-950); }

.glm-split { flex: 1 1 auto; position: relative; display: grid; grid-template-columns: min(440px, 42vw) minmax(0, 1fr); min-height: 0; }
.glm-panel { display: flex; flex-direction: column; min-height: 0; background: #fff8ec; border-right: 1px solid var(--lsb-line); z-index: 30; }
.glm-panel__handle { display: none; }
.glm-panel__scroll { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 12px; outline: none; }
.glm-panel__scroll:focus-visible { box-shadow: inset 0 0 0 3px var(--lsb-lake-500); }
.glm-card { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; width: 100%; margin-bottom: 10px; padding: 10px; border: 2px solid var(--lsb-line); border-radius: 20px; background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.glm-card:hover, .glm-card:focus-visible { border-color: var(--lsb-lake-500); box-shadow: var(--lsb-shadow-1); outline: none; }
.glm-card.is-active { border-color: var(--lsb-coral); box-shadow: 0 0 0 3px rgba(214, 71, 31, .18); }
.glm-card__img { width: 92px; height: 92px; border-radius: 14px; object-fit: cover; background: var(--lsb-lake-100); }
.glm-card__body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.glm-card__cat { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.glm-card__name { margin: 0; font-family: var(--lsb-font-display); font-weight: 650; font-size: 1.1rem; line-height: 1.2; color: var(--lsb-lake-950); }
.glm-card__excerpt { margin: 0; font-size: .9rem; line-height: 1.4; color: var(--lsb-ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.glm-card__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.glm-mini { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--lsb-lake-50); border: 1px solid var(--lsb-lake-200); color: var(--lsb-lake-800); font-size: .85rem; font-weight: 700; text-decoration: none; }
.glm-mini:hover, .glm-mini:focus-visible { background: var(--lsb-lake-800); color: #fff; outline: none; }
.glm-section-title { margin: 16px 0 6px; font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--lsb-ink-3); }
.glm-section-hint { margin: 0 0 10px; font-size: .9rem; line-height: 1.45; color: var(--lsb-ink-3); }
.glm-empty { padding: 32px 16px; text-align: center; color: var(--lsb-ink-2); font-size: 1rem; }

.glm-map-wrap { position: relative; min-height: 0; min-width: 0; }
.glm-map { width: 100%; height: 100%; background: #d7e2ec; }
.glm-map__status { position: absolute; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; background: rgba(232, 238, 244, .94); color: var(--lsb-lake-900); font-weight: 700; pointer-events: none; }
.glm-map.is-ready .glm-map__status { display: none; }
.glm-search-area { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 800; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--lsb-lake-800); color: #fff; font: 700 .95rem var(--lsb-font-body); cursor: pointer; box-shadow: var(--lsb-shadow-2); }
.glm-search-area[hidden] { display: none; }
.glm-search-area:hover, .glm-search-area:focus-visible { background: var(--lsb-lake-900); }
.glm-marker { width: 24px; height: 24px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.glm-marker.is-active { width: 30px; height: 30px; box-shadow: 0 0 0 4px rgba(214, 71, 31, .4), 0 4px 12px rgba(0, 0, 0, .3); }
.glm-cluster { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; color: #fff; font-weight: 800; font-size: .85rem; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.glm-popup { min-width: 220px; font-family: var(--lsb-font-body); }
.glm-popup__media { display: block; width: 100%; height: 120px; object-fit: cover; border-radius: 12px 12px 0 0; }
.glm-popup__body { padding: 10px 2px 2px; }
.glm-popup__cat { display: block; margin-bottom: 2px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.glm-popup__name { margin: 0 0 4px; font-family: var(--lsb-font-display); font-weight: 650; font-size: 1.05rem; color: var(--lsb-lake-950); }
.glm-popup__addr { margin: 0 0 8px; font-size: .875rem; line-height: 1.4; color: var(--lsb-ink-2); }
.glm-popup__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.leaflet-container a.glm-mini { color: var(--lsb-lake-800); }
.leaflet-container a.glm-mini:hover { color: #fff; }

/* Cartão inferior do lugar selecionado (celular) */
.glm-sel { display: none; }
@media (max-width: 900px) {
    .glm-toolbar__find { order: 3; }
    .glm-mobile-toggle { display: inline-flex; }
    .glm-back__text { display: none; }
    .glm-back { padding: 0; justify-content: center; }
    .glm-split { grid-template-columns: minmax(0, 1fr); }
    .glm-map-wrap { grid-column: 1; grid-row: 1; }
    .glm-panel { position: absolute; inset: 0; z-index: 900; border: 0; transform: translateY(102%); visibility: hidden; transition: transform .28s var(--lsb-ease), visibility .28s; }
    .glm-app.is-list-view .glm-panel { transform: none; visibility: visible; }
    .glm-app.is-list-view .glm-map-wrap { visibility: hidden; pointer-events: none; }
    .glm-app.is-list-view .glm-search-area { display: none; }
    .leaflet-popup-pane { display: none; }
    .glm-sel { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 700; display: grid; gap: 12px; padding: 14px; border-radius: 24px; background: #fff; box-shadow: var(--lsb-shadow-2); animation: glm-sel-in .25s var(--lsb-ease); }
    .glm-sel[hidden] { display: none; }
    .glm-app.has-sel .leaflet-bottom { bottom: 190px; }
    .glm-sel__close { position: absolute; top: 6px; right: 6px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; color: var(--lsb-ink-3); font-size: 1.8rem; line-height: 1; cursor: pointer; }
    .glm-sel__top { display: flex; align-items: center; gap: 12px; padding-right: 40px; min-width: 0; }
    .glm-sel__img { flex: none; width: 72px; height: 72px; border-radius: 16px; object-fit: cover; background: var(--lsb-lake-100); }
    .glm-sel__txt { min-width: 0; display: grid; gap: 2px; }
    .glm-sel__cat { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
    .glm-sel__name { font-family: var(--lsb-font-display); font-weight: 650; font-size: 1.2rem; line-height: 1.2; color: var(--lsb-lake-950); }
    .glm-sel__actions { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
    .glm-sel__btn { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 8px; border-radius: 999px; background: #fff; border: 2px solid var(--lsb-lake-800); color: var(--lsb-lake-800); font-weight: 700; font-size: .92rem; text-align: center; text-decoration: none; }
    .glm-sel__btn--main { background: var(--lsb-lake-800); color: #fff; }
    .glm-sel__btn--wa { background: var(--gl-wa); border-color: var(--gl-wa); color: #fff; }
}
@keyframes glm-sel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 380px) { .glm-toggle { padding: 0 12px; } .glm-title { font-size: 1.15rem; } }

@media (prefers-reduced-motion: reduce) {
    .glm-panel, .glm-card, .glm-chip, .glm-sel { transition: none; animation: none; }
}
.gl-flag--sponsor { background: #fff; color: var(--lsb-lake-900); border: 1px solid rgba(0, 0, 0, .14); font-weight: 700; letter-spacing: .02em; }
