/* ============ RESET ============ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
:root {
  --font: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --ink-900:#1a1d23;
  --ink-700:#3b4252;
  --ink-500:#64748b;
  --ink-400:#94a3b8;
  --ink-300:#cbd5e1;
  --ink-200:#e2e8f0;
  --ink-100:#f1f5f9;
  --ink-50:#f8fafc;
  --bg:#f3f5f7;
  --accent:#1e7ac9;
  --accent-dark:#0a5591;
  --red:#e53935;
  --red-soft:#fdecea;
  --green:#25d366;
  --green-dark:#1ea956;
  --success:#16a34a;
  --warning:#f59e0b;
  --radius-sm:6px;
  --radius-md:10px;
  --radius-lg:14px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.07), 0 2px 4px rgba(15,23,42,0.04);
  --shadow-lg: 0 12px 28px rgba(15,23,42,0.12), 0 4px 10px rgba(15,23,42,0.06);
}
html, body { overflow-x: clip; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink-700);
  font-size:14px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
/* Prevent grid/flex children from overflowing their containers */
.content, .container { min-width: 0; }
.content > * { min-width: 0; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
img { max-width:100%; display:block; }
button { font-family: inherit; }

/* ============ SUPER BANNER ============ */
.super-banner-wrap {
  background: #f3f3f3;
  padding: 14px 24px;
  display: flex;
  justify-content: center;
}
.super-banner {
  width: 728px;
  max-width: 100%;
  height: 90px;
  border-radius: 4px;
  overflow: hidden;
  display: block;
  line-height: 0;
  transition: transform .15s ease, box-shadow .15s ease;
}
.super-banner:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.super-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ============ HEADER (dark) ============ */
.site-header {
  background: #000;
  color: #fff;
}
.header-inner {
  max-width: 1248px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 24px 18px;
}

/* Logo (image from guiasaoroque.com.br) */
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: #fff;
}
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

/* Search bar — white, rounded, same height as logo */
.search-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  background: #fff;
  border: none;
  border-radius: 6px;
  padding: 0;
  max-width: 720px;
  height: 48px;
  overflow: hidden;
  transition: box-shadow .15s;
}
.search-wrapper:focus-within {
  box-shadow: 0 0 0 3px rgba(26,115,216,0.25);
}
.search-wrapper input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 18px;
  height: 100%;
  font-size: 14.5px;
  outline: none;
  color: #333;
  font-family: inherit;
}
.search-wrapper input::placeholder {
  color: #aaa;
  font-size: 14.5px;
}
.search-wrapper button {
  background: transparent;
  border: none;
  padding: 0 18px;
  height: 100%;
  color: #999;
  font-size: 16px;
  cursor: pointer;
  transition: color .15s;
}
.search-wrapper button:hover { color: #555; }

/* Weather widget */
.weather {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 160px;
}
.weather-icon {
  position: relative;
  width: 46px;
  height: 38px;
  display: inline-block;
  flex-shrink: 0;
}
.weather-cloud {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 30px;
  color: #e0e0e0;
  z-index: 2;
}
.weather-sun {
  position: absolute;
  top: 0;
  right: 2px;
  font-size: 22px;
  color: #f5a623;
  z-index: 1;
}
.weather-info strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .5px;
  line-height: 1;
  margin-bottom: 4px;
}
.weather-temps {
  display: flex;
  gap: 6px;
  align-items: baseline;
}
.weather-temps span {
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}
.temp-min { color: #f5d94e; }
.temp-max { color: #ff8a3d; }
.weather-temps em {
  font-style: normal;
  font-size: 9px;
  color: #fff;
  font-weight: 700;
  letter-spacing: .5px;
}

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background .15s;
  flex-shrink: 0;
}
.nav-toggle:hover { background: rgba(255,255,255,0.08); }
.nav-toggle-bars {
  display: inline-block;
  position: relative;
  width: 22px;
  height: 16px;
}
.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, top .25s ease, opacity .15s ease;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 7px; }
.nav-toggle-bars span:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

/* Main nav (dark) */
.main-nav {
  background: #000;
  border-top: 1px solid #1a1a1a;
}
.main-nav ul {
  max-width: 1248px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 0;
  padding: 0 24px;
}
.main-nav li {
  flex: 1;
  border-left: 1px solid #1a1a1a;
}
.main-nav li:first-child { border-left: none; }
.main-nav a {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 8px;
  transition: color .15s, background .15s;
}
.main-nav a:hover { color: #f5a623; background: #0a0a0a; }
.main-nav a i { font-size: 14px; }
.main-nav a i.fa-caret-down { font-size: 12px; margin-left: 2px; color: #fff; transition: transform .2s; }

/* Dropdowns (desktop) */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(0,0,0,0.22);
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 200;
}
.dropdown-wide { min-width: 580px; }

.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.has-dropdown:hover .caret { transform: rotate(180deg); }

/* Header tooltip (black bar at top of dropdown) */
.dropdown-header {
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 9px 18px;
  letter-spacing: .2px;
}

/* Generic list (single column) */
.dropdown-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  display: block;
}
.dropdown-list li { flex: none; border: none; display: block; }
.dropdown-list a {
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  white-space: nowrap;
  background: transparent;
}
.dropdown-list a i {
  color: #666;
  font-size: 13px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}
.dropdown-list a:hover { background: #f5f5f5; color: #f5a623; }
.dropdown-list a:hover i { color: #f5a623; }

/* Grid (2 columns) — for wider dropdowns */
.dropdown-grid {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.dropdown-grid li { flex: none; border: none; display: block; }
.dropdown-grid a {
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  white-space: nowrap;
  background: transparent;
}
.dropdown-grid a i {
  color: #666;
  font-size: 13px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}
.dropdown-grid a:hover { background: #f5f5f5; color: #f5a623; }
.dropdown-grid a:hover i { color: #f5a623; }

/* Footer CTA (wide dropdown) */
.dropdown-footer {
  background: #f7f7f7;
  padding: 14px 20px;
  border-top: 1px solid #ececec;
}
.dropdown-footer strong {
  display: block;
  font-size: 13px;
  color: #222;
  font-weight: 700;
  margin-bottom: 6px;
}
.dropdown-cta {
  font-size: 13px;
  color: #333;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dropdown-cta span {
  color: #f5a623;
  font-weight: 900;
}
.dropdown-cta em {
  font-style: normal;
  color: #ccc;
  margin: 0 2px;
}
.dropdown-cta:hover { color: #f5a623; }

/* ============ PAGE ============ */
.page {
  padding:20px 0 40px;
  overflow-x: clip;
}
.site-header,
.super-banner-wrap,
.site-footer { overflow-x: clip; }
.container {
  max-width:1248px; margin:0 auto;
  display:grid;
  grid-template-columns: 220px 1fr;
  gap:24px;
  padding:0 24px;
  align-items:flex-start;
  min-width: 0;
}
.content { display:flex; flex-direction:column; gap:16px; }

/* ============ SIDEBAR ============ */
.sidebar {
  background:#fff;
  border:1px solid var(--ink-200);
  border-radius: var(--radius-md);
  position:sticky;
  top:14px;
  box-shadow: var(--shadow-xs);
  display:flex;
  flex-direction:column;
  max-height: calc(100vh - 28px);
  overflow:hidden;
}

/* Panel wrapper: transparent on desktop (uses display: contents),
   turns into a card on mobile when sidebar is collapsed/expanded */
.sidebar-panel {
  display: contents;
}

/* Mobile toggle button — hidden on desktop */
.sidebar-toggle { display: none; }

.sidebar-header {
  padding:12px 10px 10px;
  flex-shrink:0;
  background:#fff;
  border-bottom:1px solid var(--ink-100);
  z-index:2;
}
.sidebar-title {
  font-size:14px;
  font-weight:800;
  color: var(--ink-900);
  margin-bottom:10px;
}
.sidebar-search {
  position:relative;
}
.sidebar-search > i {
  position:absolute;
  left:10px;
  top:50%;
  transform:translateY(-50%);
  color: var(--ink-400);
  font-size:12px;
  pointer-events:none;
}
.sidebar-search input {
  width:100%;
  border:1px solid var(--ink-200);
  border-radius:8px;
  padding:9px 32px 9px 30px;
  font-size:13px;
  outline:none;
  color: var(--ink-900);
  font-family: inherit;
  background:#fff;
  transition: border-color .15s, box-shadow .15s;
}
.sidebar-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30,122,201,0.12);
}
.sidebar-search input::placeholder { color: var(--ink-400); }
.clear-filter {
  position:absolute;
  right:6px;
  top:50%;
  transform:translateY(-50%);
  width:22px; height:22px;
  border-radius:50%;
  border:none;
  background: var(--ink-100);
  color: var(--ink-500);
  cursor:pointer;
  font-size:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition: background .12s;
}
.clear-filter:hover { background: var(--ink-200); color: var(--ink-700); }

.category-scroll {
  flex:1 1 auto;
  overflow-y:auto;
  overflow-x:hidden;
  padding: 4px 4px 4px 6px;
  min-height: 120px;
  scrollbar-width: thin;
  scrollbar-color: #a9d0ef transparent;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}
.category-scroll::-webkit-scrollbar {
  width:6px;
}
.category-scroll::-webkit-scrollbar-track {
  background:transparent;
  margin:4px 0;
}
.category-scroll::-webkit-scrollbar-thumb {
  background: #a9d0ef;
  border-radius:4px;
  transition: background .15s;
}
.category-scroll::-webkit-scrollbar-thumb:hover {
  background: #7fb8e3;
}

.category-list {
  display:flex;
  flex-direction:column;
}
.category-list li {
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  transition: background .12s, color .12s;
  position: relative;
  white-space: nowrap;
  margin-bottom: 1px;
}
.category-list li:hover {
  background: #dbeafe;
}
.category-list li:hover a {
  color: var(--accent-dark);
  font-weight: 700;
}
.category-list a {
  color: var(--ink-700);
  font-weight:500;
  display:block;
  line-height:1.3;
  overflow: hidden;
  text-overflow: ellipsis;
}
.category-list li.active {
  background: #e8f2fb;
}
.category-list li.active::before {
  content:'';
  position:absolute;
  left:-6px;
  top:4px; bottom:4px;
  width:3px;
  background: var(--accent);
  border-radius:0 3px 3px 0;
}
.category-list li.active a { color: var(--accent); font-weight:800; }
.category-list li.active:hover { background: #d4e8fa; }
.category-list li.fade a { color: var(--ink-300); }
.category-list li[hidden] { display:none; }

/* Highlight (<mark>) used by filter */
.category-list mark {
  background: #fff3c4;
  color: inherit;
  padding:0 1px;
  border-radius:2px;
}

.category-empty {
  text-align:center;
  padding:30px 16px;
  color: var(--ink-400);
}
.category-empty i {
  font-size:28px;
  margin-bottom:8px;
  display:block;
  color: var(--ink-300);
}
.category-empty p {
  font-size:13px;
  margin-bottom:12px;
  font-weight:600;
}
.btn-ghost-sm { padding:6px 12px; font-size:12px; }


/* =========================================================
   CATEGORY LANDING (index.html) — populares + banner + destaques
   ========================================================= */

/* Shared section heading */
.section-head {
  margin-bottom: 14px;
  padding-bottom: 0;
}
.section-head h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink-900);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -.2px;
}
.sh-ico {
  color: var(--accent);
  font-size: 16px;
}

/* Populares — mini-cards grid */
.populares {
  margin-bottom: 24px;
}
.popular-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.popular-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  padding: 16px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  text-align: center;
  transition: transform .15s, box-shadow .18s, border-color .18s;
  min-height: 120px;
}
.popular-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink-300);
}
.pc-pin {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e6f1fb;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 2px;
  transition: transform .15s;
}
.popular-card:hover .pc-pin { transform: scale(1.08); }
.pc-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-700);
  line-height: 1.2;
}
.pc-count {
  font-size: 11px;
  color: var(--ink-500);
  font-weight: 600;
}

/* Featured banner (rotating) */
.featured-banner-wrap {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.fb-carousel {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 950 / 100;
  background: var(--ink-100);
}
.featured-banner {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.featured-banner.active {
  opacity: 1;
  pointer-events: auto;
}
.featured-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.fb-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-300);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .15s, transform .15s;
}
.fb-dot:hover { background: var(--ink-400); }
.fb-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* Destaques — featured companies grid */
.destaques {
  margin-bottom: 8px;
}
.destaque-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.destaque-card {
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: 12px;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: box-shadow .18s, border-color .18s, transform .1s;
}
/* Stretched link: cobre o card inteiro tornando-o clicável.
   Os links internos (.dc-name a, .dc-tags a, .dc-actions .btn, .tel-link)
   ficam acima do overlay via z-index. */
.dc-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.destaque-card .dc-name a,
.destaque-card .dc-tags a,
.destaque-card .dc-meta a,
.destaque-card .dc-actions .btn { position: relative; z-index: 2; }
.destaque-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--ink-300);
}
.dc-logo-wrap {
  background: #fff;
  border-radius: 8px;
  padding: 6px;
  display: inline-flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink-200);
}
.dc-logo {
  max-width: 200px;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.dc-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-900);
  text-align: center;
  line-height: 1.25;
  letter-spacing: -.2px;
  margin-top: 4px;
}
.dc-name a {
  color: inherit;
  transition: color .15s;
}
.dc-name a:hover { color: var(--accent); }

.dc-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12.5px;
}
.dc-tags a {
  color: var(--accent);
  font-weight: 600;
  transition: color .15s;
}
.dc-tags a:hover { color: var(--accent-dark); text-decoration: underline; }
.dc-sep {
  color: var(--ink-300);
  font-weight: 700;
}

.dc-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 4px;
  margin: 0;
}
.dc-meta li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-700);
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}
.dc-meta li i {
  color: var(--accent);
  font-size: 13px;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.dc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}
.dc-actions .btn {
  min-width: 0;
  padding: 10px 14px;
  font-size: 13px;
  justify-content: center;
}

/* Category title bar — mobile only, blue bar between header and content */
.category-title-bar { display: none; }

/* Destaque carousel wrapper (relative positioning for nav arrows) */
.destaque-carousel {
  position: relative;
}
.dc-nav { display: none; } /* Hidden on desktop */

/* Responsive */
@media (max-width: 1024px) {
  .popular-grid { grid-template-columns: repeat(4, 1fr); }
  .destaque-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  /* === Category landing page mobile layout ===
     - Category title bar shown as a blue strip between header and content
     - Populares + rotating banner hidden
     - Destaques become a horizontal logo-only carousel with arrows
     - Former sidebar subcategories become main-content list with + icons
     - Content (destaques) reordered above sidebar (subcategory list) */

  /* Cola o footer logo após a lista (sem espaço cinza) */
  .page { padding-bottom: 0; }
  .site-footer { margin-top: 0; }

  /* Lista de subcategorias só aparece na index (.page-category-landing) */
  body:not(.page-category-landing) .sidebar { display: none; }

  .category-title-bar {
    display: block;
    background: var(--accent);
    color: #fff;
    text-align: center;
    padding: 12px 16px;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: 0;
    margin: -20px -16px 0;
  }

  /* Hide populares and rotating banner on mobile */
  .populares,
  .featured-banner-wrap { display: none; }

  /* Reorder: content (destaques + title) comes before sidebar (category list) */
  .container { gap: 8px; }
  .container .content { order: 1; }
  .container .sidebar { order: 2; margin-top: 0; }

  /* Destaques: logo-only horizontal carousel */
  .destaques .section-head h2 { font-size: 15px; }
  .destaque-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 12px;
    padding: 4px 16px;
    margin: 0 -16px;
    scrollbar-width: none;
  }
  .destaque-grid::-webkit-scrollbar { display: none; }
  .destaque-card {
    flex: 0 0 32%;
    scroll-snap-align: center;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--ink-200);
  }
  /* Hide everything except the logo on mobile */
  .destaque-card .dc-name,
  .destaque-card .dc-tags,
  .destaque-card .dc-meta,
  .destaque-card .dc-actions { display: none; }
  .destaque-card .dc-logo-wrap {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    min-height: 0;
  }
  .destaque-card .dc-logo { max-height: 80px; }

  /* Navigation arrows for destaque carousel */
  .dc-nav {
    display: inline-flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 24px; height: 24px;
    border-radius: 0;
    border: none;
    background: transparent;
    color: var(--accent);
    align-items: center;
    justify-content: center;
    font-size: 22px;
    padding: 0;
    cursor: pointer;
    box-shadow: none;
    transition: color .15s, transform .15s;
  }
  .dc-nav:hover { background: transparent; color: var(--accent-dark); }
  .dc-nav:active { transform: translateY(-50%) scale(0.92); }
  .dc-prev { left: 0; }
  .dc-next { right: 0; }

  /* Sidebar transforms: panel becomes main list, header/search hidden */
  .sidebar { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; }
  .sidebar-toggle { display: none !important; }
  .sidebar-panel {
    display: flex !important;
    flex-direction: column;
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 -16px !important;
    max-height: none !important;
    overflow: visible !important;
    animation: none;
  }
  .sidebar-header,
  .sidebar-search,
  .category-empty { display: none; }
  .category-scroll {
    overflow: visible;
    max-height: none;
    padding: 0;
    min-height: 0;
  }
  .category-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
  }
  .category-list li {
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--ink-200);
    border-radius: 0;
    white-space: normal;
    transition: background .15s;
  }
  .category-list li:last-child { border-bottom: none; }
  .category-list li:hover { background: transparent; }
  .category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 800;
    color: var(--ink-700);
    text-transform: uppercase;
    letter-spacing: .3px;
    gap: 12px;
  }
  .category-list li a::after {
    content: "+";
    color: var(--accent);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    flex-shrink: 0;
  }
  .category-list li:hover a { color: var(--accent-dark); }
}
@media (max-width: 640px) {
  .popular-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .popular-card { padding: 12px 6px; min-height: 108px; }
  .pc-pin { width: 34px; height: 34px; font-size: 16px; }
  .pc-name { font-size: 12px; }
  .pc-count { font-size: 10.5px; }
  .section-head h2 { font-size: 16px; }
  .destaque-card { flex: 0 0 36%; }
}
@media (max-width: 420px) {
  .popular-grid { grid-template-columns: repeat(2, 1fr); }
  .destaque-card { flex: 0 0 42%; }
}

/* =========================================================
   LISTING PAGE (listagem.html) — business cards grid
   ========================================================= */
.listing-head {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.listing-title {
  font-size: 22px;
  font-weight: 800;
  color: #3b4252;
  letter-spacing: -.3px;
  line-height: 1.2;
}
.listing-count {
  font-size: 13px;
  color: var(--ink-500);
  margin-top: 4px;
}
.listing-count strong { color: var(--ink-900); font-weight: 800; }

.listing-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-700);
  font-weight: 600;
}
.listing-sort select {
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  padding: 8px 32px 8px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath fill='%2364748b' d='M6 7 0 1 1 0l5 5 5-5 1 1z'/%3E%3C/svg%3E") no-repeat right 12px center;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color .15s;
}
.listing-sort select:hover { border-color: var(--ink-300); }
.listing-sort select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,122,201,0.15); }

/* Cards list */
.listing-cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.listing-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .18s, border-color .18s, transform .1s;
}
.listing-card:hover {
  box-shadow: 0 4px 14px rgba(15,23,42,0.07), 0 1px 3px rgba(15,23,42,0.04);
  border-color: var(--ink-300);
}

.lc-head {
  display: grid;
  grid-template-columns: 150px 1fr 32px;
  gap: 18px;
  align-items: start;
}
.lc-head.no-logo {
  grid-template-columns: 1fr 32px;
}

/* Logo box — native size 150x100 (real logos are delivered in this size) */
.lc-logo {
  width: 150px;
  height: 100px;
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  overflow: hidden;
  display: block;
  background: #fff;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color .15s, transform .15s;
}
.lc-logo:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.lc-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.lc-logo:hover img {
  transform: scale(1.04);
}
.lc-logo-filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lc-body { min-width: 0; padding-top: 2px; }
.lc-name {
  font-size: 23px;
  font-weight: 800;
  color: #4b5563;
  margin-bottom: 6px;
  line-height: 1.2;
  letter-spacing: -.3px;
}
.lc-name a {
  color: inherit;
  transition: color .15s;
}
.lc-name a:hover { color: var(--accent); }

.lc-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  padding: 0;
}
.lc-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-500);
  font-weight: 500;
  line-height: 1.35;
  flex-wrap: nowrap;
}
.lc-meta li i {
  font-size: 13px;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}
/* Allow text children to shrink below their intrinsic min-content size
   so the icon never gets pushed to its own line */
.lc-meta li > span,
.lc-meta li > a {
  min-width: 0;
  overflow-wrap: anywhere;
}
.lc-ico-red { color: var(--ink-400); }
.lc-ico-gray { color: var(--ink-400); }
.lc-ico-green { color: #16a34a; }

.lc-phone-extra {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid var(--ink-200);
}

.lc-menu {
  background: transparent;
  border: none;
  color: var(--ink-400);
  font-size: 16px;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  justify-self: end;
  transition: background .12s, color .12s;
}
.lc-menu:hover { background: var(--ink-100); color: var(--ink-700); }

.lc-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.lc-actions .btn {
  min-width: 0;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
}
.lc-actions .btn-whatsapp { min-width: 128px; }

/* Primary (blue) button — "Ver detalhes" (flows naturally after other buttons) */
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-primary i { font-size: 11px; margin-left: 2px; transition: transform .15s; }
.btn-primary:hover i { transform: translateX(2px); }

/* =====================================================
   TIER BADGES (ouro / prata / bronze / plus)
   ===================================================== */
.listing-card { position: relative; }

/* Selo flutua no começo do bloco do nome: a 1ª linha de um nome longo para antes
   dele (era absolute e o nome passava por baixo); -10px encosta no ⋮ como antes. */
.lc-badge {
  float: right;
  margin: 4px -10px 6px 12px;
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #fff;
  border-radius: 999px;
  line-height: 1;
  z-index: 2;
}

.lc-badge-ouro   { background: #f5a623; }
.lc-badge-prata  { background: #64748b; }
.lc-badge-bronze { background: #b45309; }
.lc-badge-plus   { background: #1e7ac9; }

/* Card accent border by tier */
.listing-card.is-ouro {
  border-color: #f5a623;
}
.listing-card.is-ouro:hover {
  border-color: #e89510;
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.14);
}
.listing-card.is-prata {
  border-color: #a1a6b0;
}
.listing-card.is-prata:hover {
  border-color: #8a8f99;
  box-shadow: 0 6px 16px rgba(138, 143, 153, 0.12);
}
.listing-card.is-bronze {
  border-color: #c08752;
}
.listing-card.is-bronze:hover {
  border-color: #8f5a2a;
  box-shadow: 0 6px 16px rgba(184, 115, 51, 0.12);
}
.listing-card.is-plus {
  border-color: #7cb8ed;
}
.listing-card.is-plus:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 16px rgba(30, 122, 201, 0.12);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 24px 0 8px;
  flex-wrap: wrap;
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-700);
  background: #fff;
  border: 1px solid var(--ink-200);
  transition: background .15s, border-color .15s, color .15s;
}
.page-link:hover {
  background: var(--ink-50);
  border-color: var(--ink-300);
}
.page-link.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 2px 6px rgba(30,122,201,0.25);
}
.page-link.active:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.page-link[aria-disabled="true"] {
  opacity: .45;
  pointer-events: none;
}
.page-prev, .page-next { padding: 0 14px; }
.page-dots {
  color: var(--ink-400);
  font-weight: 700;
  padding: 0 4px;
}

/* Responsive */
@media (max-width: 760px) {
  /* Listing head: strip card chrome and shrink title/count for a
     discreet intro right under the breadcrumb */
  .listing-head {
    flex-direction: column;
    align-items: stretch;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 2px 2px 0;
    gap: 10px;
  }
  .listing-title { font-size: 17px; font-weight: 700; letter-spacing: 0; }
  .listing-count { font-size: 12px; margin-top: 2px; }
  .listing-count strong { font-weight: 700; }

  .lc-head { grid-template-columns: 120px 1fr 28px; gap: 14px; }
  .lc-head.no-logo { grid-template-columns: 1fr 28px; }
  .lc-logo { width: 120px; height: 80px; }
  .lc-name { font-size: 17px; }
  .lc-meta li { font-size: 12.5px; }
  .lc-phone-extra {
    margin-left: 4px;
    padding-left: 8px;
    border-left: 1px solid var(--ink-200);
  }
  .listing-card { padding: 14px 16px; }
  .lc-actions { gap: 6px; }
  .lc-actions .btn {
    flex: 1 1 calc(50% - 3px);
    min-width: 0;
    justify-content: center;
    padding: 9px 10px;
    font-size: 12.5px;
  }
  .btn-primary { margin-left: 0; flex-basis: 100%; }
}

/* Mobile: hide tier badge (colored card border remains as the tier indicator) */
@media (max-width: 640px) {
  .lc-badge { display: none; }
}

/* =====================================================
   COMPACT INLINE SORT (mobile only)
   Sits just above the cards list, discreetly — no card
   chrome, small type, native select for OS picker on tap.
   ===================================================== */

/* Burger "Categorias" — só aparece no mobile */
.listing-cat-toggle { display: none; }

@media (max-width: 760px) {
  /* Linha única: Ordenar (esquerda) + Categorias burger (direita) */
  .listing-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    align-self: stretch;
    width: 100%;
  }
  .listing-sort {
    gap: 6px;
    font-size: 12px;
    color: var(--ink-500);
    font-weight: 500;
  }
  .listing-sort > span { font-size: 12px; }
  .listing-sort select {
    padding: 6px 26px 6px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    background-size: 9px;
    background-position: right 10px center;
  }
  .listing-cat-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-700);
    cursor: pointer;
    transition: border-color .15s, background .15s;
  }
  .listing-cat-toggle:hover { border-color: var(--ink-300); background: var(--ink-50); }
  .listing-cat-toggle i { font-size: 14px; color: var(--accent); }
}

/* === Accordion de categorias (mobile, listagem & anuncio) ===
   Quando o burger é clicado, este painel expande inline, full-width,
   empurrando o conteúdo abaixo para baixo (como um acordeão).
   ============================================================== */
.cat-accordion { display: none; }
.mobile-cat-bar { display: none; }

@media (max-width: 820px) {
  .cat-accordion {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    background: #fff;
    margin: 0 -16px;
  }
  .cat-accordion.is-open {
    /* Alto o suficiente para todas as ~75 subcategorias caberem
       sem scroll interno — o conteúdo da página é empurrado para baixo */
    max-height: 6000px;
    border-top: 1px solid var(--ink-200);
    border-bottom: 1px solid var(--ink-200);
  }
  .cat-accordion .category-list {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .cat-accordion .category-list li {
    border-bottom: 1px solid var(--ink-200);
    list-style: none;
  }
  .cat-accordion .category-list li:last-child { border-bottom: none; }
  .cat-accordion .category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink-700);
    text-transform: uppercase;
    letter-spacing: .3px;
    text-decoration: none;
  }
  .cat-accordion .category-list li a::after {
    content: "+";
    color: var(--accent);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
  }
  .cat-accordion .category-list li:hover a { color: var(--accent-dark); }

  /* Bar do burger no anuncio.html (sem ordenar, só burger à direita) */
  .mobile-cat-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 8px 0;
  }
}
@media (min-width: 821px) {
  .listing-cat-toggle,
  .mobile-cat-bar,
  .cat-accordion { display: none !important; }
}

/* Listagem mobile: aproxima primeiro card da barra de Ordenar/Menu */
@media (max-width: 760px) {
  .page-listing .content { gap: 8px; }
}

/* =====================================================
   FEATURED CARD MOBILE LAYOUT (logo on top, stacked body,
   WhatsApp prominent + icon-only outline buttons + full
   "Ver detalhes" primary CTA)
   ===================================================== */
@media (max-width: 560px) {
  .listing-card { padding: 14px; }

  /* Featured cards: stack logo on top, body below (menu dots go absolute) */
  .listing-card:not(.lc-simple) .lc-head {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 14px;
  }
  .listing-card:not(.lc-simple) .lc-logo {
    width: 150px;
    height: 100px;
    max-width: 100%;
    margin: 0 auto;
    grid-column: 1;
    grid-row: 1;
  }
  .listing-card:not(.lc-simple) .lc-body {
    grid-column: 1;
    grid-row: 2;
    padding-top: 0;
    padding-left: 5px;
    padding-right: 5px;
  }
  .listing-card:not(.lc-simple) .lc-menu {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  }
  .listing-card:not(.lc-simple) .lc-menu:hover {
    background: #fff;
  }

  /* Name: bigger + uppercase like the print */
  .listing-card:not(.lc-simple) .lc-name {
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-bottom: 10px;
  }

  /* Meta rows: slightly larger */
  .listing-card:not(.lc-simple) .lc-meta li { font-size: 13.5px; }

  /* Actions layout */
  .listing-card:not(.lc-simple) .lc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  /* Default: WhatsApp + 1 outline share row 50/50 (text + icon visible) */
  .listing-card:not(.lc-simple) .lc-actions .btn-whatsapp,
  .listing-card:not(.lc-simple) .lc-actions .btn-route,
  .listing-card:not(.lc-simple) .lc-actions .btn-links {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 12px 10px;
    font-size: 13.5px;
  }
  .listing-card:not(.lc-simple) .lc-actions .btn-route i,
  .listing-card:not(.lc-simple) .lc-actions .btn-links i {
    color: var(--ink-500);
  }

  /* When BOTH Como chegar + Links are present: outlines become icon-only squares
     and WhatsApp grows to fill remaining space */
  .listing-card:not(.lc-simple) .lc-actions:has(.btn-route):has(.btn-links) .btn-whatsapp {
    flex: 1 1 auto;
  }
  .listing-card:not(.lc-simple) .lc-actions:has(.btn-route):has(.btn-links) .btn-route,
  .listing-card:not(.lc-simple) .lc-actions:has(.btn-route):has(.btn-links) .btn-links {
    flex: 0 0 auto;
    width: 54px;
    padding: 12px;
    font-size: 0;
  }
  .listing-card:not(.lc-simple) .lc-actions:has(.btn-route):has(.btn-links) .btn-route i,
  .listing-card:not(.lc-simple) .lc-actions:has(.btn-route):has(.btn-links) .btn-links i {
    font-size: 16px;
    margin: 0;
  }
  /* Ver detalhes — full width, uppercase, stronger presence */
  .listing-card:not(.lc-simple) .lc-actions .btn-primary {
    flex: 1 1 100%;
    justify-content: center;
    padding: 13px 14px;
    font-size: 13.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
  }
  .listing-card:not(.lc-simple) .lc-actions .btn-primary i { display: none; }
}

/* Clickable phone numbers (tel: links) — inherit card typography,
   discreet hover, clear tap feedback on mobile */
.tel-link {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(30, 122, 201, 0.18);
  transition: color .15s;
}
.tel-link:hover,
.tel-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (hover: none) {
  /* Mobile: suggest interactivity with subtle underline on tap */
  .tel-link:active { color: var(--accent); }
}

/* Simple cards: flexible action row supporting 0/1/2 buttons
   - 0 buttons → hidden (:empty)
   - 1 button  → ~50% width, left-aligned (matches print)
   - 2 buttons → 50/50 split, icon + text visible */
.lc-simple .lc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lc-simple .lc-actions:empty { display: none; }

@media (max-width: 560px) {
  .lc-simple .lc-actions .btn {
    flex: 0 1 calc(50% - 4px);
    min-width: 0;
    justify-content: center;
    padding: 10px 14px;
    font-size: 13.5px;
  }
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
  font-size:13px;
  color: var(--ink-500);
  display:flex;
  gap:6px;
  align-items:center;
  flex-wrap:wrap;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration:underline; }
.breadcrumb .current { color: var(--ink-500); }

/* Mobile: hide the current page (business name) and the separator before it —
   it's already visible in the card header right below */
@media (max-width: 640px) {
  .breadcrumb .current,
  .breadcrumb > span:nth-last-child(2) { display: none; }
}

/* =========================================================
   BUSINESS HEADER CARD (identical to reference print)
   ========================================================= */
.biz-header-card {
  background:#fff;
  border:1px solid #ececec;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.03);
  padding: 22px 26px 22px;
  position: relative;
  min-width: 0;
  max-width: 100%;
}
.bhc-main {
  display:grid;
  grid-template-columns: auto 1fr 32px;
  gap: 24px;
  align-items: start;
}
/* Anúncio gratuito/whatsapp: card inicial sem logo */
.bhc-main.no-logo { grid-template-columns: 1fr 32px; }
/* Logo sempre na caixa padrão 150x100: o arquivo vem em tamanhos diferentes (300x200,
   150x100...) e aparecia no tamanho natural. contain = não corta nem deforma quando a
   proporção é outra. */
.bhc-logo {
  width: 150px;
  height: 100px;
  margin-top: 2px;
  flex-shrink: 0;
}
.biz-logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.bhc-info { padding-top: 4px; min-width: 0; }
.bhc-name {
  font-size: 26px;
  font-weight: 700;
  color: #4b5563;
  letter-spacing: -.2px;
  margin-bottom: 5px;
  line-height: 1.2;
}
.bhc-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.bhc-meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-500);
  font-weight: 400;
  line-height: 1.3;
}
.bhc-ico {
  width: 18px;
  text-align: center;
  font-size: 15px;
  flex-shrink: 0;
}
.bhc-ico-red { color: var(--ink-400); }
.bhc-ico-gray { color: var(--ink-400); }
.bhc-ico-green { color: #16a34a; }
.bhc-hours { font-variant-numeric: tabular-nums; }

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  margin-left: 6px;
  letter-spacing: 0;
}
.status-open { background: #e6f7ec; color: #1ea956; }
.status-closed { background: #fde8e8; color: #d93636; }

.bhc-menu {
  background: transparent;
  border: none;
  color: #9aa0ab;
  font-size: 16px;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .12s, color .12s;
  margin-top: 2px;
  justify-self: end;
}
.bhc-menu:hover { background: #f1f3f5; color: #3b4252; }

.bhc-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, transform .1s, box-shadow .15s;
  min-width: 130px;
  line-height: 1;
}
.btn:active { transform: scale(.98); }
.btn-whatsapp {
  background: #22c55e;
  color: #fff;
  border-color: #22c55e;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.btn-whatsapp:hover { background: #16a34a; border-color: #16a34a; }
.btn-whatsapp i { font-size: 17px; }
.btn-outline {
  background: #fff;
  border-color: #e5e7eb;
  color: #565b66;
}
.btn-outline:hover { background: #f9fafb; border-color: #d1d5db; }
.btn-outline i { font-size: 14px; color: #8a8f99; }

/* =========================================================
   BUSINESS CONTENT CARD (banners + description + hours)
   ========================================================= */
.biz-content-card,
.gallery-card,
.contact-card,
.location-card {
  background:#fff;
  border:1px solid var(--ink-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding:24px 26px;
  min-width: 0;
  max-width: 100%;
}

.info-title {
  font-size:13px;
  font-weight:800;
  color: var(--ink-900);
  letter-spacing:.8px;
  padding-bottom:12px;
  border-bottom:1px solid var(--ink-100);
  margin-bottom:18px;
  text-transform:uppercase;
}

/* ========== BANNER 1 - DISTRIBUIDORA ========== */
.banner {
  border-radius: var(--radius-md);
  overflow:hidden;
  margin-bottom:18px;
  border:1px solid #d9e8f2;
}
.banner-distribuidora {
  background: linear-gradient(180deg, #bfe0f4 0%, #9cd0ee 100%);
  padding:18px 22px 22px;
}
.banner-top { display:flex; align-items:center; gap:18px; margin-bottom:16px; position:relative; }
.banner-char { width:90px; height:110px; position:relative; flex-shrink:0; }
.water-mascot { width:100%; height:100%; position:relative; }
.bottle-body {
  position:absolute; left:50%; top:15px; transform:translateX(-50%);
  width:58px; height:82px;
  background: linear-gradient(180deg, #a8e1ff 0%, #4cb8ef 100%);
  border-radius:14px 14px 10px 10px;
  border:2px solid #2996d8;
}
.bottle-body::before { content:''; position:absolute; left:50%; top:-8px; transform:translateX(-50%); width:24px; height:12px; background:#2996d8; border-radius:3px; }
.bottle-face { position:absolute; left:50%; top:48px; transform:translateX(-50%); width:40px; height:22px; z-index:2; }
.eye { position:absolute; top:0; width:9px; height:9px; background:#fff; border:2px solid #0a2f6f; border-radius:50%; }
.eye-l { left:2px; } .eye-r { right:2px; }
.mouth { position:absolute; bottom:-2px; left:50%; transform:translateX(-50%); width:16px; height:7px; border-bottom:2px solid #0a2f6f; border-radius:0 0 12px 12px; }
.arm { position:absolute; top:56px; width:20px; height:6px; background:#4cb8ef; border:2px solid #2996d8; border-radius:10px; }
.arm-l { left:0; transform:rotate(-30deg); } .arm-r { right:0; transform:rotate(30deg); }

.banner-titles { flex:1; text-align:center; }
.brand-name { font-family:'Brush Script MT', cursive; font-size:56px; color:#0a2f6f; font-weight:700; line-height:1; letter-spacing:1px; text-shadow:1px 1px 0 #fff; }
.brand-sub { font-size:18px; color:#0a2f6f; font-weight:800; margin-top:2px; letter-spacing:1px; }
.brand-site { font-size:13px; color:#0a2f6f; margin-top:6px; font-weight:600; }

.brands-grid { display:grid; grid-template-columns:repeat(7, 1fr); gap:10px; margin-bottom:16px; }
.brand-tile { background:#fff; border:2px solid #bcd5e4; border-radius:6px; padding:10px 6px; text-align:center; height:90px; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:2px; }
.brand-tile .b-sub { font-size:8px; color:#0a5591; font-weight:700; }
.brand-tile strong { font-size:12px; line-height:1.1; font-weight:800; }
.brand-tile em { font-style:italic; font-size:10px; }
.brand-raiz { background: linear-gradient(180deg, #fff 0%, #d6f0ff 60%, #0a3c76 60%, #0a5591 100%); }
.brand-raiz strong { color:#0a3c76; font-family:'Brush Script MT', cursive; font-size:16px; text-shadow:1px 1px 0 #fff; }
.brand-serranegra strong { color:#0a3c76; font-size:11px; }
.brand-elovitta .b-sub { color:#0a5591; font-style:italic; }
.brand-elovitta strong { color:#0a5591; font-size:22px; font-family:'Brush Script MT', cursive; font-weight:700; }
.brand-ibira { background: linear-gradient(180deg, #e8f7ff 0%, #b4e1f5 100%); }
.brand-ibira strong { color:#167a42; font-family:'Brush Script MT', cursive; font-size:18px; }
.brand-ibira em { color:#0a5591; font-size:7px; margin-top:2px; }
.brand-aquamaer strong { color:#0a5591; font-size:13px; letter-spacing:.5px; }
.brand-vivaleve strong { color:#1e7ac9; font-size:14px; font-family:'Brush Script MT', cursive; }
.brand-lindoya strong { color:#f29f1f; font-size:12px; letter-spacing:.5px; }
.brand-lindoya em { color:#d9782a; font-size:9px; }

.banner-bottom {
  display:grid; grid-template-columns:1fr 140px 1fr; gap:12px; align-items:center;
  background: rgba(255,255,255,0.35); border-radius:6px; padding:12px;
}
.bb-left h3, .bb-right h3 { font-size:15px; color:#0a2f6f; font-weight:800; text-align:center; line-height:1.15; letter-spacing:.5px; }
.bb-left .tagline { text-align:center; font-size:11px; margin-top:6px; color:#0a2f6f; font-weight:700; }
.bb-mid .dispenser-illustration {
  width:100px; height:110px; margin:0 auto;
  background: radial-gradient(ellipse at 50% 18%, #fff 0 14px, transparent 15px), linear-gradient(180deg, #d6ecf8 0%, #9fd1ef 100%);
  border-radius:12px 12px 8px 8px; border:2px solid #2996d8; position:relative;
}
.bb-mid .dispenser-illustration::before { content:''; position:absolute; top:-14px; left:50%; transform:translateX(-50%); width:36px; height:36px; background:#fff; border-radius:50%; border:3px solid #2996d8; }

/* ========== BANNER 2 - LOCAÇÃO ========== */
.banner-locacao {
  background: linear-gradient(180deg, #c4dbef 0%, #a0c3df 100%);
  padding:18px 22px 22px;
}
.loc-chairs-illustration {
  width:110px; height:90px;
  background: linear-gradient(45deg, transparent 40%, #c0392b 40% 60%, transparent 60%), linear-gradient(135deg, transparent 40%, #c0392b 40% 60%, transparent 60%);
  background-size: 60% 60%, 60% 60%; background-position: 0 100%, 100% 100%; background-repeat: no-repeat;
  position:relative;
}
.loc-chairs-illustration::before, .loc-chairs-illustration::after {
  content:''; position:absolute; bottom:4px; width:40px; height:38px;
  background: linear-gradient(180deg, #fff 0%, #d7dce0 100%); border:2px solid #8b9aa7; border-radius:4px 4px 2px 2px;
}
.loc-chairs-illustration::before { left:6px; }
.loc-chairs-illustration::after { right:6px; }
.chairs-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:10px; margin-bottom:10px; }
.chairs-grid-2 { grid-template-columns:repeat(3, 1fr); max-width:75%; margin:0 auto; }
.chair-tile { aspect-ratio:1/1; border-radius:6px; border:2px solid #fff; position:relative; overflow:hidden; display:flex; align-items:flex-end; background:#e9eef3; }
.chair-tile span { display:block; width:100%; text-align:center; background: linear-gradient(180deg, #1e4a84 0%, #0a2f6f 100%); color:#fff; font-weight:800; font-size:13px; padding:6px 4px; letter-spacing:.5px; }
.chair-plastica { background: linear-gradient(135deg, #e0e4ea 0%, #f5f7fa 40%, #c7cfd8 100%); }
.chair-plastica::before { content:''; position:absolute; inset:12px 14px 34px; background: linear-gradient(180deg, transparent 60%, #a7b0bc 60% 65%, transparent 65%), radial-gradient(circle at 50% 30%, #fff 0 18px, transparent 19px); }
.chair-ferro { background: linear-gradient(135deg, #e9dcc4 0%, #d6c19b 100%); }
.chair-ferro::before { content:''; position:absolute; inset:8px 14px 32px; background: linear-gradient(90deg, #6b4a2b 0 2px, transparent 2px calc(100% - 2px), #6b4a2b calc(100% - 2px) 100%); }
.chair-madeira { background: linear-gradient(135deg, #d4b480 0%, #a47748 100%); }
.chair-madeira::before { content:''; position:absolute; inset:10px 12px 32px; background: repeating-linear-gradient(0deg, #7a5226 0 3px, #9e6d3a 3px 14px); border-radius:3px; }
.chair-ombrelones { background: linear-gradient(180deg, #a3d9c9 0%, #6fb497 100%); }
.chair-ombrelones::before { content:''; position:absolute; inset:10px 10px 38px; background: radial-gradient(ellipse at 50% 80%, #fff 0 50%, transparent 51%); }
.chair-bistro { background: linear-gradient(135deg, #f0e0c2 0%, #c7a26a 100%); }
.chair-bistro::before { content:''; position:absolute; inset:8px 20px 32px; background: linear-gradient(180deg, #7a5226 0 40%, transparent 40% 60%, #7a5226 60% 100%); border-radius:4px; }
.chair-infantil { background: linear-gradient(135deg, #f2f4f6 0%, #d7dce0 100%); }
.chair-infantil::before { content:''; position:absolute; inset:14px 16px 32px; background: radial-gradient(circle at 50% 30%, #c0392b 0 10px, transparent 11px), linear-gradient(180deg, transparent 60%, #c0392b 60% 70%, transparent 70%); }
.chair-rechaud { background: linear-gradient(135deg, #e8ddc2 0%, #b99a63 100%); }
.chair-rechaud::before { content:''; position:absolute; inset:18px 14px 34px; background: radial-gradient(ellipse at 50% 40%, #c0392b 0 30%, transparent 31%), linear-gradient(180deg, transparent 50%, #8b9aa7 50% 60%, transparent 60%); }

/* ========== DESCRIPTION ========== */
.biz-description { font-size:14px; color: var(--ink-700); padding:8px 0 18px; }
.biz-description p { margin-bottom:10px; }
.biz-description strong { color: var(--ink-900); font-weight:800; font-size:14px; }

.ibira-title { text-align:center; font-size:15px; font-weight:800; color: var(--ink-900); margin:14px 0 10px; }
.ibira-banner {
  background: linear-gradient(180deg, #b4dff3 0%, #6ab8e0 100%);
  border-radius: var(--radius-md); padding:24px;
  display:grid; grid-template-columns: 1fr 1fr; align-items:center; gap:20px;
  margin-bottom:18px; position:relative; overflow:hidden; min-height:210px;
}
.ibira-banner::before { content:''; position:absolute; top:0; left:0; right:0; height:30px; background: linear-gradient(180deg, #fff, transparent); opacity:.5; }
.ibira-bottles { height:180px;
  background:
    radial-gradient(ellipse at 20% 70%, #4a87c4 0 40px, transparent 41px),
    radial-gradient(ellipse at 40% 80%, #6fa2cf 0 30px, transparent 31px),
    radial-gradient(ellipse at 65% 75%, #4a87c4 0 35px, transparent 36px),
    radial-gradient(ellipse at 85% 82%, #6fa2cf 0 26px, transparent 27px);
  position:relative;
}
.ibira-bottles::before { content:'💧💧💧'; font-size:40px; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; letter-spacing:10px; }
.ibira-text { color:#fff; }
.ibira-logo { font-family:'Brush Script MT', cursive; font-size:32px; color:#167a42; background:#fff; display:inline-block; padding:4px 14px; border-radius:20px; margin-bottom:10px; }
.ibira-text h3 { font-size:34px; font-weight:900; line-height:1.05; color:#fff; text-shadow:1px 1px 2px rgba(0,0,0,.1); }
.ibira-text p { margin-top:8px; font-size:12px; letter-spacing:2px; font-weight:700; }

/* ========== HOURS BANNER ========== */
.hours-banner {
  background: linear-gradient(180deg, #bfe0f4 0%, #8ec6e8 100%);
  border-radius: var(--radius-md);
  padding:16px 20px 20px;
  margin-bottom:4px;
  border:1px solid #79b0d2;
}
.hours-top { display:flex; align-items:center; justify-content:space-between; background:#fff; border:1px solid #d9e4ed; border-radius:8px; padding:10px 18px; margin-bottom:12px; }
.hours-left h4 { font-size:16px; font-weight:800; color:#0a2f6f; margin-bottom:2px; }
.hours-left p { font-size:13px; color:#0a2f6f; font-weight:600; }
.desde { font-size:10px; font-weight:800; color:#0a2f6f; text-align:center; letter-spacing:1px; }
.desde strong { font-size:16px; letter-spacing:1px; }
.disk-row { text-align:center; }
.disk-row h3 { font-size:22px; font-weight:900; color:#0a2f6f; letter-spacing:1px; margin-bottom:4px; }
.disk-phones { display:flex; justify-content:center; gap:30px; margin-bottom:6px; flex-wrap:wrap; }
.disk-phones span { color: var(--red); font-weight:900; font-size:24px; letter-spacing:.5px; }
.disk-phones i { color: var(--red); margin-right:4px; }
.disk-phones .fa-whatsapp { color: var(--green); }
.address-line { font-size:14px; color:#0a2f6f; font-weight:700; margin-top:6px; }

/* =========================================================
   GALLERY — mobile-first, elegant, up to 30 photos + lightbox
   ========================================================= */
.gallery-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-bottom:12px;
  border-bottom:1px solid var(--ink-100);
  margin-bottom:16px;
  gap:12px;
  flex-wrap:wrap;
}
.gallery-header h3 {
  font-size:16px;
  font-weight:800;
  color: var(--ink-900);
  display:flex;
  align-items:center;
  gap:8px;
}
.gallery-count {
  font-size:12px;
  font-weight:700;
  color: var(--accent);
  background:#e8f2fb;
  padding:2px 10px;
  border-radius:999px;
}

.btn-ghost {
  background:transparent;
  border:1px solid var(--ink-200);
  color: var(--ink-700);
  font-weight:700;
  font-size:13px;
  padding:8px 14px;
  border-radius:8px;
  cursor:pointer;
  display:inline-flex;
  gap:6px;
  align-items:center;
  transition: background .15s, border-color .15s;
  font-family: inherit;
}
.btn-ghost:hover { background: var(--ink-50); border-color: var(--ink-300); }

/* ===== BOOKING-STYLE HERO MOSAIC (1 big + 4 small, last with +N overlay) ===== */
.gallery-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  aspect-ratio: 2.2 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.gm-tile {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--ink-100);
  border: none;
  padding: 0;
  font-family: inherit;
  isolation: isolate;
  transition: filter .2s;
}
.gm-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .25s;
}
.gm-tile:hover img { transform: scale(1.04); filter: brightness(1.03); }
.gm-tile:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.gm-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 65%, rgba(0,0,0,0.25));
  opacity: 0; transition: opacity .25s;
  pointer-events: none;
}
.gm-tile:hover::after { opacity: 1; }
.gm-hero {
  grid-column: 1;
  grid-row: 1 / 3;
}
.gm-overlay {
  position: absolute; inset: 0;
  background: rgba(10,15,20,0.62);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.5px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 3;
  pointer-events: none;
  transition: background .2s;
}
.gm-overlay small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-top: 4px;
  text-transform: uppercase;
  opacity: .9;
}
.gm-more:hover .gm-overlay { background: rgba(10,15,20,0.72); }

/* ===== FULLSCREEN MODAL WITH CATEGORY TABS ===== */
.photos-modal {
  position: fixed;
  inset: 0;
  background: #0b0c0e;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity .2s ease;
  overscroll-behavior: contain;
}
.photos-modal[data-open="true"] { opacity: 1; }
.photos-modal[hidden] { display: none; }

.pm-head {
  flex-shrink: 0;
  padding: 16px 24px;
  background: rgba(11,12,14,0.9);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pm-title strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.2px;
}
.pm-title span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  margin-top: 3px;
}
.pm-close {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, transform .1s;
}
.pm-close:hover { background: rgba(255,255,255,0.2); }
.pm-close:active { transform: scale(.94); }

.pm-tabs {
  display: none;
}
.pm-tabs::-webkit-scrollbar { display: none; }
.pm-tab {
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid transparent;
  color: rgba(255,255,255,0.75);
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.pm-tab:hover { color: #fff; background: rgba(255,255,255,0.1); }
.pm-tab.active {
  background: #fff;
  color: #0b0c0e;
  border-color: #fff;
}
.pm-tab .count {
  font-weight: 600;
  opacity: .7;
  margin-left: 4px;
}
.pm-tab.active .count { opacity: .6; }

.pm-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 24px;
  scrollbar-width: auto;
  scrollbar-color: rgba(255,255,255,0.75) rgba(255,255,255,0.08);
  /* Smoother wheel experience + keep scroll contained inside */
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}
.pm-body::-webkit-scrollbar { width: 14px; }
.pm-body::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.08);
  border-radius: 0;
}
.pm-body::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.55);
  border-radius: 8px;
  border: 3px solid transparent;
  background-clip: padding-box;
  min-height: 50px;
}
.pm-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.85);
  background-clip: padding-box;
}
.pm-body::-webkit-scrollbar-thumb:active {
  background: rgba(255,255,255,1);
  background-clip: padding-box;
}

/* Justified grid — rows with equal height, widths vary by aspect ratio */
.pm-justified {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pm-row {
  display: flex;
  gap: 6px;
  width: 100%;
}
.pm-item {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: rgba(255,255,255,0.04);
  border: none;
  padding: 0;
  border-radius: 4px;
  isolation: isolate;
  transition: transform .2s;
}
.pm-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .25s;
}
.pm-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.45));
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.pm-item:hover::after { opacity: 1; }
.pm-item:hover img { transform: scale(1.04); }
.pm-item .pm-cap {
  position: absolute; left: 12px; bottom: 10px; right: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.pm-item:hover .pm-cap { opacity: 1; transform: translateY(0); }

/* Empty category state */
.pm-empty {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  font-weight: 600;
}


/* ========== LIGHTBOX ========== */
.lightbox {
  position:fixed;
  inset:0;
  background: rgba(5, 10, 18, 0.94);
  z-index: 1100;
  display:grid;
  grid-template-rows: 56px 1fr auto auto;
  opacity:0;
  transition: opacity .2s ease;
  overscroll-behavior: contain;
}
.lightbox[data-open="true"] { opacity:1; }
.lightbox[hidden] { display:none; }

.lightbox-topbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 16px;
  color:#fff;
  z-index:2;
}
.lightbox-counter { font-size:13px; font-weight:600; color: rgba(255,255,255,0.85); letter-spacing:.3px; }
.lightbox-top-actions { display:flex; gap:8px; }
.lb-icon {
  background: rgba(255,255,255,0.08);
  border:none;
  width:40px; height:40px;
  border-radius:50%;
  color:#fff;
  font-size:15px;
  cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center;
  transition: background .15s, transform .1s;
}
.lb-icon:hover { background: rgba(255,255,255,0.18); }
.lb-icon:active { transform: scale(.94); }
.lb-close { background: rgba(255,255,255,0.1); }

.lightbox-stage {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding: 0 16px;
  touch-action: pan-y;
}
.lightbox-slide {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  position:relative;
}
#lightboxImage {
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  opacity:0;
  transition: opacity .2s ease;
  -webkit-user-select:none;
  user-select:none;
  -webkit-user-drag: none;
}
#lightboxImage.loaded { opacity:1; }
.lightbox-loader {
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%,-50%);
  opacity:1;
  transition: opacity .2s;
}
.lightbox-loader.hidden { opacity:0; }
.lightbox-loader span {
  display:block;
  width:42px; height:42px;
  border:3px solid rgba(255,255,255,0.2);
  border-top-color:#fff;
  border-radius:50%;
  animation: spin 0.85s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.lb-nav {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:48px; height:48px;
  border-radius:50%;
  background: rgba(255,255,255,0.12);
  border:none;
  color:#fff;
  font-size:18px;
  cursor:pointer;
  z-index:3;
  display:inline-flex; align-items:center; justify-content:center;
  transition: background .15s, transform .1s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lb-nav:hover { background: rgba(255,255,255,0.25); }
.lb-nav:active { transform: translateY(-50%) scale(.95); }
.lb-prev { left:16px; }
.lb-next { right:16px; }

.lightbox-caption {
  color: rgba(255,255,255,0.85);
  font-size:13px;
  text-align:center;
  padding:10px 16px 6px;
  min-height: 24px;
}

.lightbox-thumbs {
  display:flex;
  gap:8px;
  padding:10px 16px 16px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}
.lightbox-thumbs::-webkit-scrollbar { height:6px; }
.lightbox-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius:4px; }
.lb-thumb {
  flex: 0 0 auto;
  width:72px; height:72px;
  border-radius:6px;
  overflow:hidden;
  cursor:pointer;
  opacity:0.55;
  border:2px solid transparent;
  background: none;
  padding:0;
  transition: opacity .15s, border-color .15s, transform .15s;
}
.lb-thumb:hover { opacity:0.85; }
.lb-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.lb-thumb.active { opacity:1; border-color:#fff; transform: scale(1.04); }

/* ========== CONTACT FORM ========== */
.form-title {
  font-size:16px; font-weight:800;
  color: var(--ink-900);
  padding-bottom:10px;
  border-bottom:1px solid var(--ink-100);
  margin-bottom:6px;
}
.form-sub { font-size:13px; color: var(--ink-500); margin-bottom:16px; }
.contact-form { display:flex; flex-direction:column; gap:14px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-field label { display:block; font-size:12px; color: var(--ink-700); font-weight:700; margin-bottom:4px; }
.form-field input, .form-field textarea {
  width:100%;
  border:1px solid var(--ink-200);
  border-radius:8px;
  padding:10px 12px;
  font-size:14px;
  font-family:inherit;
  outline:none;
  color: var(--ink-900);
  background:#fff;
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus, .form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30,122,201,0.12);
}
.form-field textarea { min-height:96px; resize:vertical; }
.field-hint {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--ink-500);
  font-weight: 500;
}

/* WhatsApp indicator checkbox (below phone input) */
.whatsapp-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  cursor: pointer;
  user-select: none;
  padding: 4px 0;
  width: fit-content;
}
.whatsapp-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wc-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--ink-300);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  transition: background .15s, border-color .15s;
  flex-shrink: 0;
}
.wc-box i { opacity: 0; transition: opacity .12s; }
.whatsapp-check input:checked ~ .wc-box {
  background: #25d366;
  border-color: #25d366;
}
.whatsapp-check input:checked ~ .wc-box i { opacity: 1; }
.whatsapp-check input:focus-visible ~ .wc-box {
  box-shadow: 0 0 0 3px rgba(37,211,102,0.25);
}
.wc-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-700);
}
.wc-label i.fa-whatsapp { color: #25d366; font-size: 14px; }
.whatsapp-check:hover .wc-label { color: var(--ink-900); }

.btn-submit {
  align-self:flex-start;
  background: var(--accent); color:#fff;
  border:none;
  padding:11px 22px;
  border-radius:8px;
  font-size:14px; font-weight:700;
  cursor:pointer;
  transition: background .15s, transform .1s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-submit i { font-size: 13px; }
.btn-submit:hover { background: var(--accent-dark); }
.btn-submit:active { transform: scale(.98); }

/* =========================================================
   LOCATION / MAP CARD — directory-grade map experience
   ========================================================= */
.location-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-bottom:14px;
  border-bottom:1px solid var(--ink-100);
  margin-bottom:18px;
  gap:12px;
  flex-wrap:wrap;
}
.location-header h3 {
  font-size:16px; font-weight:800;
  color: var(--ink-900);
}
.location-sub {
  font-size:13px;
  color: var(--ink-500);
  margin-top:2px;
}
.location-status {
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#e6f9ef;
  color: var(--success);
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
}
.status-dot {
  width:8px; height:8px;
  border-radius:50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(22,163,74,0.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(22,163,74,0.18); }
  50% { box-shadow: 0 0 0 6px rgba(22,163,74,0.06); }
}

.location-body {
  display:flex;
  flex-direction: column;
  gap: 16px;
}
.map-wrapper {
  position:relative;
  border-radius: var(--radius-md);
  overflow:hidden;
  border:1px solid var(--ink-200);
  min-height: 440px;
  background: var(--ink-100);
  width: 100%;
}
.map-embed {
  width:100%;
  height:100%;
  border:0;
  display:block;
  position:absolute; inset:0;
}

/* Address + actions strip below the map */
.location-aside {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
}
.location-aside > .addr-block {
  flex: 1 1 260px;
  min-width: 0;
}
.location-aside > .location-actions {
  flex: 0 1 auto;
  min-width: 0;
}
.addr-block {
  display:grid;
  grid-template-columns: 42px 1fr;
  gap:12px;
  background: transparent;
  border: none;
  padding: 0;
}
.addr-icon {
  width:42px; height:42px;
  background:#fff;
  border:1px solid var(--ink-200);
  border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  color: var(--red);
  font-size:17px;
  box-shadow: var(--shadow-xs);
}
.addr-text strong { font-size:14px; color: var(--ink-900); font-weight:800; display:block; margin-bottom:3px; }
.addr-text p { font-size:13px; color: var(--ink-700); line-height:1.45; }
.addr-cep { font-size:12px; color: var(--ink-500); font-weight:600; margin-top:4px; display:inline-block; }

.location-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.loc-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  background:#fff;
  border:1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  color: var(--ink-700);
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  text-align:center;
  transition: background .15s, border-color .15s, transform .1s, box-shadow .15s;
  font-family: inherit;
  white-space: nowrap;
}
.loc-btn:hover {
  background: var(--ink-50);
  border-color: var(--ink-300);
  box-shadow: var(--shadow-xs);
}
.loc-btn:active { transform: scale(.98); }
.loc-btn i { width:16px; text-align:center; color: var(--ink-500); }
.loc-btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color:#fff;
  font-weight:800;
  padding: 10px 18px;
  box-shadow: 0 2px 6px rgba(30,122,201,0.25);
}
.loc-btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.loc-btn-primary i { color:#fff; }

/* =====================================================
   HOURS CARD (anuncio.html — above map)
   ===================================================== */
.hours-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px 26px;
}
.hours-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-100);
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.hours-card-head h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -.2px;
}
.hours-card-sub {
  font-size: 12.5px;
  color: var(--ink-500);
  margin-top: 2px;
}
.hours-card-head .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
}
.hours-card-head .status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.hours-table tr {
  border-bottom: 1px solid var(--ink-100);
}
.hours-table tr:last-child { border-bottom: none; }
.hours-table th,
.hours-table td {
  text-align: left;
  padding: 11px 4px;
  font-weight: 500;
  color: var(--ink-700);
  vertical-align: middle;
}
.hours-table th {
  text-transform: none;
  font-weight: 600;
  color: var(--ink-700);
  width: 50%;
}
.hours-table td {
  text-align: right;
  color: var(--ink-900);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.hours-table tr.is-today {
  background: #eaf5fe;
  border-radius: 6px;
}
.hours-table tr.is-today th,
.hours-table tr.is-today td {
  color: var(--accent-dark);
  font-weight: 700;
}
.today-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  border-radius: 999px;
  vertical-align: middle;
}

.hours-table tr.is-closed th,
.hours-table tr.is-closed td {
  color: var(--ink-400);
}
.hours-closed {
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.hours-range {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
  .hours-card { padding: 18px 16px; }
  .hours-card-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hours-table { font-size: 13px; }
  .hours-table th, .hours-table td { padding: 10px 2px; }
}

/* =====================================================
   FLOATING WHATSAPP BUTTON (anuncio.html, bottom-right)
   ===================================================== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 12px;
  background: #1ea956;
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(30, 169, 86, 0.35), 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.wa-float:hover {
  background: #158845;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(30, 169, 86, 0.45), 0 4px 6px rgba(0, 0, 0, 0.1);
  animation-play-state: paused;
}
.wa-float:active { transform: translateY(-1px); }

.wa-float-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.wa-float-label { white-space: nowrap; }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(30, 169, 86, 0.35), 0 2px 4px rgba(0,0,0,0.1), 0 0 0 0 rgba(30, 169, 86, 0.4); }
  50%      { box-shadow: 0 8px 22px rgba(30, 169, 86, 0.35), 0 2px 4px rgba(0,0,0,0.1), 0 0 0 14px rgba(30, 169, 86, 0); }
}

@media (max-width: 640px) {
  .wa-float {
    bottom: 16px;
    right: 16px;
    padding: 0;
    gap: 0;
    width: 56px;
    height: 56px;
    justify-content: center;
    align-items: center;
  }
  .wa-float-label { display: none; }
  .wa-float-icon { width: 56px; height: 56px; font-size: 24px; background: transparent; }
}

/* =====================================================
   ACTION MODALS — Como chegar / Links (shared structure)
   ===================================================== */
.action-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: am-fade .18s ease;
}
.action-modal[hidden] { display: none; }
@keyframes am-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.am-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  animation: am-pop .18s ease;
}
@keyframes am-pop {
  from { transform: scale(.96); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.am-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ink-100);
}
.am-head strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -.2px;
}
.am-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--ink-100);
  color: var(--ink-500);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
}
.am-close:hover { background: var(--ink-200); color: var(--ink-900); }

.am-options { display: flex; flex-direction: column; }
.am-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-900);
  text-decoration: none;
  border-bottom: 1px solid var(--ink-100);
  transition: background .15s, color .15s;
}
.am-opt:last-child { border-bottom: none; }
.am-opt:hover { background: var(--ink-50); }
.am-opt i {
  font-size: 18px;
  width: 22px;
  text-align: center;
  color: var(--ink-500);
  transition: color .15s;
}
/* Brand-colored icons (subtle on default, stronger on hover) */
.am-opt .fa-facebook   { color: #1877f2; }
.am-opt .fa-instagram  { color: #e1306c; }
.am-opt .fa-waze       { color: #33ccff; }
.am-opt .fa-diamond-turn-right,
.am-opt .fa-location-dot { color: var(--accent); }
.am-opt .fa-globe      { color: var(--ink-700); }

/* Button variant (for expandable triggers) */
.am-opt-btn {
  background: transparent;
  border: none;
  font-family: inherit;
  width: 100%;
  cursor: pointer;
  text-align: left;
}

/* Expandable section (Comunicar Erro) */
.am-expand {
  border-bottom: 1px solid var(--ink-100);
  transition: background .18s, border-color .18s;
}
.am-expand .am-expand-trigger {
  border-bottom: none;
}
.am-expand .am-chev {
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-500);
  transition: transform .22s ease;
}
.am-expand[data-open="true"] {
  background: #eef5fd;
  border: 1px solid #bfdbf6;
  border-radius: 10px;
  margin: 6px 14px 4px;
  overflow: hidden;
}
.am-expand[data-open="true"] .am-expand-trigger {
  background: transparent;
  color: var(--accent-dark);
}
.am-expand[data-open="true"] .am-expand-trigger .fa-triangle-exclamation {
  color: var(--accent);
}
.am-expand[data-open="true"] .am-chev {
  transform: rotate(180deg);
  color: var(--accent);
}

.am-submenu {
  display: block;
  max-height: 0;
  overflow: hidden;
  background: #f6faff;
  transition: max-height .28s ease;
}
.am-expand[data-open="true"] .am-submenu {
  max-height: 260px;
}

.am-opt-sub {
  padding: 12px 22px 12px 46px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-700);
  border-bottom: none;
}
.am-opt-sub i {
  font-size: 15px;
  color: var(--ink-400);
}
.am-opt-sub:hover {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink-900);
}
.am-opt-sub:hover i { color: var(--ink-700); }

/* Top-level options inside the options modal */
.am-opt .fa-triangle-exclamation { color: var(--accent); }
.am-opt .fa-share-nodes { color: var(--ink-700); }
.am-opt .fa-headset { color: var(--accent); }

/* Toast */
.toast {
  position:fixed;
  bottom:24px; left:50%;
  transform: translateX(-50%) translateY(40px);
  background: var(--ink-900);
  color:#fff;
  padding:12px 18px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  gap:8px;
  box-shadow: var(--shadow-lg);
  opacity:0;
  transition: opacity .2s, transform .25s;
  z-index: 1100;
  pointer-events:none;
}
.toast[data-show="true"] {
  opacity:1;
  transform: translateX(-50%) translateY(0);
  pointer-events:auto;
}
.toast i { color: var(--success); font-size:15px; }

/* ============ FOOTER (matches guiasaoroque.com.br reference) ============ */
.site-footer {
  background: #1a1a1a;
  color: #fff;
  padding: 56px 0 0;
  margin-top: 28px;
  font-family: var(--font);
}
.footer-inner {
  max-width: 1248px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 56px;
  padding: 0 24px 60px;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0;
  line-height: 1.3;
}
.footer-col h4 a {
  color: #f5a623;
  font-weight: 700;
  transition: color .15s, opacity .15s;
}
.footer-col h4 a:hover { color: #fff; }
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-col li {
  padding: 0;
  line-height: 1.3;
}
.footer-col a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  transition: color .15s;
  display: inline-block;
}
.footer-col a:hover { color: #f5a623; }

/* Bottom section: DOGUS logo + links + copyright, centered */
.footer-bottom {
  padding: 40px 24px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.dogus-logo {
  display: inline-flex;
  align-items: center;
}
.dogus-img {
  height: 60px;
  width: auto;
  display: block;
}

.footer-links {
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: #fff;
  font-weight: 700;
  transition: color .15s;
}
.footer-links a:hover { color: #f5a623; }
.footer-links .sep { color: #666; }

.copyright {
  font-size: 12px;
  color: #8a8a8a;
  font-weight: 400;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .gallery-mosaic { aspect-ratio: 2 / 1; }
  .gm-overlay { font-size: 20px; }
  .map-wrapper { min-height: 360px; }
  .brands-grid { grid-template-columns:repeat(4, 1fr); }
}
@media (max-width: 760px) {
  .location-aside { grid-template-columns: 1fr; gap: 14px; }
  .location-actions { justify-content: stretch; }
  .location-actions .loc-btn { flex: 1 1 calc(50% - 4px); justify-content: center; }
  .location-actions .loc-btn-primary { flex-basis: 100%; }
  .map-wrapper { min-height: 320px; }
}

@media (max-width: 820px) {
  .container { grid-template-columns: 1fr; padding:0 16px; }

  /* ====== Collapsible sidebar on mobile ====== */
  .sidebar {
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    max-height: none;
    display: block;
    padding: 0;
  }
  .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-md);
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink-900);
    cursor: pointer;
    font-family: inherit;
    box-shadow: var(--shadow-xs);
    transition: border-color .15s, background .15s;
  }
  .sidebar-toggle:hover { background: var(--ink-50); }
  .sidebar-toggle .toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .sidebar-toggle .toggle-label i { color: var(--ink-700); font-size: 14px; }
  .sidebar-toggle .toggle-chev {
    color: var(--ink-500);
    font-size: 13px;
    transition: transform .25s ease;
  }
  .sidebar-toggle[aria-expanded="true"] .toggle-chev {
    transform: rotate(180deg);
  }

  /* Panel (content) becomes its own card below the toggle */
  .sidebar-panel {
    display: none;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    margin-top: 10px;
    max-height: 45vh;
    overflow: hidden;
    animation: panel-fade .18s ease;
  }
  .sidebar[data-open="true"] .sidebar-panel {
    display: flex;
  }

  @keyframes panel-fade {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .header-inner { flex-wrap: wrap; padding: 12px 14px; gap: 10px; align-items: center; }
  .logo { min-width: auto; order: 1; flex: 0 0 auto; }
  .logo-img { height: 42px; }

  /* Hamburger visible on mobile, positioned to the right */
  .nav-toggle { display: inline-flex; order: 2; margin-left: auto; }

  /* Search spans full width on a second line */
  .search-wrapper { order: 3; flex-basis: 100%; max-width: 100%; }

  /* Weather hidden on mobile (no room) */
  .weather { display: none; }

  /* Super banner is desktop-only */
  .super-banner-wrap { display: none; }

  /* Main nav is collapsed by default; the burger opens it */
  .main-nav {
    display: none;
    animation: nav-slide .22s ease;
  }
  .site-header[data-menu-open="true"] .main-nav { display: block; }
  @keyframes nav-slide {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }
  .main-nav li {
    flex: 1 1 auto;
    border-left: none;
    border-bottom: 1px solid #1a1a1a;
  }
  .main-nav li:last-child { border-bottom: none; }
  .main-nav a {
    padding: 14px 20px;
    font-size: 14px;
    justify-content: flex-start;
    gap: 12px;
  }
  .main-nav a i.fa-caret-down { margin-left: auto; }

  /* Dropdowns inline on mobile (inside hamburger menu) */
  .has-dropdown { position: static; }
  .dropdown {
    position: static;
    min-width: 0;
    width: 100%;
    background: #0a0a0a;
    border-radius: 0;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    display: none;
    transition: none;
  }
  .dropdown-wide { min-width: 0; }
  .has-dropdown.open > .dropdown { display: block; }
  .has-dropdown:hover > .dropdown {
    visibility: hidden;
    opacity: 0;
    display: none;
  }
  .has-dropdown.open:hover > .dropdown,
  .has-dropdown.open > .dropdown { display: block; visibility: visible; opacity: 1; }

  .dropdown-header {
    background: #1a1a1a;
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 10px 24px;
  }
  .dropdown-list, .dropdown-grid {
    grid-template-columns: 1fr;
    padding: 4px 0;
    background: #0a0a0a;
  }
  .dropdown-list a, .dropdown-grid a {
    color: #fff;
    padding: 12px 32px;
    font-size: 13px;
  }
  .dropdown-list a i, .dropdown-grid a i { color: #888; }
  .dropdown-list a:hover, .dropdown-grid a:hover { background: #1a1a1a; color: #f5a623; }
  .dropdown-list a:hover i, .dropdown-grid a:hover i { color: #f5a623; }

  .dropdown-footer {
    background: #111;
    border-top: 1px solid #1a1a1a;
    padding: 14px 24px;
  }
  .dropdown-footer strong { color: #fff; }
  .dropdown-cta { color: #ccc; }
  .dropdown-cta em { color: #555; }

  /* Rotate caret when parent li is open */
  .has-dropdown.open > a .caret { transform: rotate(180deg); }
  .footer-inner { grid-template-columns:repeat(2, 1fr); }
  .biz-header-card,
  .biz-content-card,
  .gallery-card,
  .contact-card,
  .location-card { padding:18px 16px; }

  /* Header card stacks cleanly on mobile */
  .bhc-main { grid-template-columns: auto 1fr auto; gap:14px; }
  .bhc-main.no-logo { grid-template-columns: 1fr auto; }
  .bhc-name { font-size:18px; margin-bottom:10px; }
  .bhc-meta li { font-size:13px; }
  .bhc-actions .btn { flex:1; min-width:0; padding:10px 12px; }

  /* Banners — tighter paddings on mobile and word-break safety */
  .brand-name { font-size:40px; overflow-wrap: anywhere; }
  .banner-distribuidora,
  .banner-locacao { padding: 14px 12px 18px; }
  .ibira-banner { padding: 18px 14px; }
  .hours-banner { padding: 14px 14px 18px; }
  .hours-top { padding: 10px 12px; }
  .banner-bottom { grid-template-columns:1fr; text-align:center; }
  .ibira-banner { grid-template-columns:1fr; }
  .chairs-grid, .chairs-grid-2 { grid-template-columns:repeat(2, 1fr); max-width:none; }
  .biz-description,
  .biz-description p { overflow-wrap: anywhere; word-break: break-word; }

  /* Form */
  .form-row { grid-template-columns:1fr; }

  /* Gallery goes to 3 cols on tablet */
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap:6px; }
}

@media (max-width: 560px) {
  /* Mobile mosaic: hero full width + 4 smalls in 2x2 below */
  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    aspect-ratio: auto;
    gap: 4px;
  }
  .gm-hero {
    grid-column: 1 / 3;
    grid-row: 1;
    aspect-ratio: 16 / 10;
  }
  .gm-tile:not(.gm-hero) {
    aspect-ratio: 1 / 1;
  }
  .gm-overlay { font-size: 18px; }
  .gm-overlay small { font-size: 9px; }

  .pm-head { padding: 12px 16px; }
  .pm-tabs { padding: 10px 16px; }
  .pm-body { padding: 12px; }

  .gallery-header { flex-wrap:wrap; gap:8px; }
  .gallery-header h3 { font-size:15px; }
  .btn-ghost { font-size:12px; padding:7px 12px; }

  /* Header card - matches featured listing card mobile layout
     (logo on top centered, body below, menu absolute top-right,
     WhatsApp prominent + icon-only outline buttons) */
  .biz-header-card { padding: 14px; }

  .bhc-main {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 14px;
  }
  .bhc-logo {
    width: 150px;
    height: 100px;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 0;
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .bhc-info {
    grid-column: 1;
    grid-row: 2;
    padding-top: 0;
  }
  .bhc-menu {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    margin-top: 0;
  }
  .bhc-menu:hover { background: #fff; }

  .bhc-name {
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-bottom: 10px;
    line-height: 1.3;
  }
  .bhc-meta li { font-size: 13.5px; }

  /* Actions: WhatsApp + outlines (icon-only when both route+links) */
  .bhc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
  }
  .bhc-actions .btn-whatsapp,
  .bhc-actions .btn-route,
  .bhc-actions .btn-links {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 12px 10px;
    font-size: 13.5px;
  }
  .bhc-actions .btn-route i,
  .bhc-actions .btn-links i {
    color: var(--ink-500);
  }
  .bhc-actions:has(.btn-route):has(.btn-links) .btn-whatsapp {
    flex: 1 1 auto;
  }
  .bhc-actions:has(.btn-route):has(.btn-links) .btn-route,
  .bhc-actions:has(.btn-route):has(.btn-links) .btn-links {
    flex: 0 0 auto;
    width: 54px;
    padding: 12px;
    font-size: 0;
  }
  .bhc-actions:has(.btn-route):has(.btn-links) .btn-route i,
  .bhc-actions:has(.btn-route):has(.btn-links) .btn-links i {
    font-size: 16px;
    margin: 0;
  }

  .location-actions { grid-template-columns:1fr; }
  .loc-btn-primary { grid-column: auto; }

  .lb-nav { width:40px; height:40px; font-size:15px; }
  .lb-prev { left:8px; }
  .lb-next { right:8px; }
  .lb-thumb { width:60px; height:60px; }
  .lightbox { grid-template-rows: 50px 1fr auto auto; }
  .lightbox-topbar { padding:8px 12px; }
  .lightbox-thumbs { padding:8px 12px 12px; }

  .hours-top { flex-direction:column; gap:8px; text-align:center; }
  .disk-phones { gap:14px; }
  .disk-phones span { font-size:20px; }

  .brands-grid { grid-template-columns:repeat(3, 1fr); }
}

@media (max-width: 400px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap:6px; }
  .brands-grid { grid-template-columns:repeat(2, 1fr); }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation:none !important; transition:none !important; }
}
