:root {
  --bg: #0f1419;
  --surface: #1a222c;
  --surface2: #243040;
  --text: #f2f5f8;
  --muted: #9aabbc;
  --accent: #ff6b1a;
  --accent2: #00c853;
  --wa: #25d366;
  --border: #2e3c4d;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0,0,0,.35);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  -webkit-tap-highlight-color: transparent;
}
a { color: #7ec8ff; text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1100px, 100% - 1.5rem); margin-inline: auto; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,20,25,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; min-height: 56px; padding: .5rem 0;
}
.logo { font-weight: 800; font-size: 1.15rem; color: var(--text); letter-spacing: -.02em; }
.nav { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; font-size: .92rem; }
.nav a { color: var(--muted); }
.nav a:hover, .lang-switch { color: var(--text); }
.main { padding: 1.25rem 0 3rem; }

.hero { margin-bottom: 1.5rem; }
.hero h1 { margin: 0 0 .35rem; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.lead { color: var(--muted); margin: 0 0 1rem; font-size: 1.05rem; }
.hero-compact h1 { font-size: 1.4rem; }
.hero-compact h1 small { color: var(--muted); font-weight: 500; }

.search-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.search-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.search-main { margin-bottom: .85rem; }
.search-main input[type=search] {
  flex: 1 1 220px;
  min-height: 52px;
  font-size: 1.1rem;
  padding: .75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}
.search-filters label { display: flex; flex-direction: column; gap: .25rem; flex: 1 1 140px; font-size: .8rem; color: var(--muted); }
.search-filters select {
  min-height: 44px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); padding: .4rem .6rem; font-size: 1rem;
}
.chk { flex-direction: row !important; align-items: center; gap: .5rem !important; margin-top: 1.1rem; color: var(--text) !important; font-size: .95rem !important; }
.chk input { width: 1.2rem; height: 1.2rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem; min-height: 44px; padding: .65rem 1.1rem;
  border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none !important;
}
.btn-lg { min-height: 52px; padding-inline: 1.4rem; font-size: 1.05rem; }
.btn-primary { background: var(--accent); color: #111; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-call { background: var(--accent2); color: #06210f; flex: 1 1 auto; }
.btn-call:hover { filter: brightness(1.06); }
.btn-wa { background: var(--wa); color: #06210f; }
.btn-ghost { background: var(--surface2); color: var(--text); border-color: var(--border); }
.btn-huge {
  min-height: 64px; font-size: 1.25rem; width: 100%;
  box-shadow: 0 6px 20px rgba(0,200,83,.35);
}

.section { margin: 2rem 0; }
.section h2 { margin: 0 0 .85rem; font-size: 1.25rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.city-picks { display: flex; flex-wrap: wrap; gap: .5rem; }
.city-pill {
  background: var(--surface2); color: var(--text); border: 1px solid var(--border);
  padding: .55rem .9rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
}
.city-pill:hover { border-color: var(--accent); text-decoration: none; }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.shop-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem; display: flex; flex-direction: column; gap: .55rem;
}
.shop-card.is-featured { border-color: #c9892e; box-shadow: 0 0 0 1px rgba(201,137,46,.35); }
.shop-card-title { margin: 0; font-size: 1.05rem; }
.shop-card-title a { color: var(--text); }
.shop-meta { margin: 0; color: var(--muted); font-size: .92rem; }
.shop-card-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .35rem; }
.badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.badge {
  display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .03em; padding: .2rem .45rem; border-radius: 6px;
  background: var(--surface2); color: var(--muted);
}
.badge-sponsored { background: #5a3d12; color: #ffd58a; }
.badge-online { background: #123a28; color: #7dffb3; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.chip {
  font-size: .78rem; padding: .2rem .5rem; border-radius: 999px;
  background: #1e2a38; color: #c9d7e6; border: 1px solid var(--border);
}
.chip-part { background: #2a2238; color: #d8c9ff; }

.call-bar {
  position: sticky; bottom: 0; z-index: 40;
  display: flex; flex-wrap: wrap; gap: .6rem;
  padding: .75rem 0; margin: 1rem 0;
  background: linear-gradient(180deg, transparent, var(--bg) 30%);
}
.shop-detail-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .shop-detail-grid { grid-template-columns: 1.4fr .8fr; }
  .call-bar { position: static; background: none; }
}
.shop-aside {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem;
}
.shop-aside dl { margin: 0; }
.shop-aside dt { color: var(--muted); font-size: .8rem; margin-top: .65rem; }
.shop-aside dd { margin: .15rem 0 0; }
.prose { color: #d7e0ea; }
.crumb { color: var(--muted); font-size: .9rem; }
.ad-cards { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.homepage-ad {
  display: flex; flex-direction: column; gap: .35rem;
  background: linear-gradient(145deg, #3a2a12, #1a222c);
  border: 1px solid #c9892e; border-radius: var(--radius); padding: 1rem; color: var(--text);
}
.homepage-ad:hover { text-decoration: none; filter: brightness(1.05); }
.homepage-ad em { color: var(--muted); font-style: normal; font-size: .9rem; }

.ad-placeholder, .ad-unit {
  margin: 1rem 0; min-height: 70px; border: 1px dashed var(--border);
  border-radius: 10px; display: grid; place-items: center; color: var(--muted); font-size: .85rem;
  background: rgba(255,255,255,.02);
}
.flash { padding: .75rem 1rem; border-radius: 10px; margin-bottom: 1rem; }
.flash-ok { background: #123a28; color: #7dffb3; }
.flash-err { background: #3a1212; color: #ffb0b0; }
.prose-page { max-width: 640px; }
.contact-form { display: grid; gap: .75rem; margin-top: 1rem; }
.contact-form label { display: grid; gap: .3rem; color: var(--muted); font-size: .9rem; }
.contact-form input, .contact-form textarea {
  min-height: 44px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); padding: .6rem .75rem; font: inherit;
}
.site-footer { border-top: 1px solid var(--border); padding: 1.5rem 0 2.5rem; color: var(--muted); font-size: .9rem; }
.footer-meta a { color: var(--muted); }
.empty { color: var(--muted); padding: 2rem 0; }
.link-more { font-weight: 600; }

/* Admin */
.admin-body { background: #12161c; }
.admin-wrap { width: min(1000px, 100% - 1.5rem); margin: 1.5rem auto; }
.admin-nav { display:flex; gap:1rem; margin-bottom:1rem; flex-wrap:wrap; }
.table { width:100%; border-collapse: collapse; font-size:.9rem; }
.table th, .table td { border-bottom:1px solid var(--border); padding:.55rem .4rem; text-align:left; vertical-align:top; }
.table th { color: var(--muted); font-weight:600; }
.form-grid { display:grid; gap:.75rem; grid-template-columns:1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width:700px){ .form-grid { grid-template-columns:1fr; } .nav { font-size:.8rem; gap:.45rem; } }

/* Map page (Leaflet) */
.map-page { margin-bottom: 1rem; }
.map-page h1 { margin: 0 0 .35rem; font-size: clamp(1.4rem, 3vw, 1.8rem); }
.map-lead { color: var(--muted); margin: 0 0 1rem; }
.map-frame {
  height: min(70vh, 560px);
  min-height: 320px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.map-frame .leaflet-container { width: 100%; height: 100%; background: #1a222c; }
.map-meta { margin: .75rem 0 0; color: var(--muted); font-size: .9rem; }
.leaflet-popup-content { color: #1a1a1a; margin: .6rem .75rem; }
.leaflet-popup-content a { color: #0b5cab; font-weight: 600; }


/* SEO landing / hub (minimal) */
.landing-intro { max-width: 46rem; }
.related-block { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.related-title { margin: 0 0 .5rem; font-size: 1rem; color: var(--muted); font-weight: 600; }
.related-links { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem .85rem; }
.related-links a { color: var(--muted); font-size: .9rem; }
.related-links a:hover { color: var(--text); }
.hub-index { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.hub-index li { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: .65rem .85rem; display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.hub-index a { color: var(--text); font-weight: 600; }
.hub-meta { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.footer-browse { margin: .5rem 0 0; font-size: .85rem; color: var(--muted); }
.footer-browse a { color: var(--muted); }
