/* ── Self-hosted variable fonts ────────────────────────────
   Downloaded from Google Fonts. latin-ext covers Bosnian
   diacritics (š ć ž đ č). One file per subset — the font
   weight range is declared so all weights share one request.
   ─────────────────────────────────────────────────────────── */

/* Fraunces — display serif, opsz 9‥144, wght 400‥700 */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Manrope — body sans-serif, wght 400‥700 */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Caveat — accent cursive, wght 500‥700 */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/fonts/caveat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/fonts/caveat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─────────────────────────────────────────────────────────
   igraonice.ba — design tokens & components
   Aesthetic: "Sunčano dvorište" — warm coral primary,
   turquoise + butter + mint accents, cream off-white.
   Type: Fraunces display, Manrope body, Caveat accent.
   ───────────────────────────────────────────────────────── */

:root {
  /* Default palette (Sunčano dvorište) */
  --c-primary:    #EC6747;          /* coral — primary CTA + brand */
  --c-primary-d:  #D04E2E;
  --c-primary-s:  #FFEDE6;          /* soft tint */
  --c-acc-2:      #2BB3A8;          /* turquoise */
  --c-acc-2-d:    #1E8A82;
  --c-acc-2-s:    #DAF1EE;
  --c-acc-3:      #88C273;          /* mint/green */
  --c-acc-3-dark: #4B8C3C;
  --c-acc-3-s:    #E7F2DD;
  --c-acc-4:      #F4C24E;          /* butter yellow */
  --c-acc-4-d:    #C99A2D;
  --c-acc-4-s:    #FBEDC6;
  --c-star:       #E4A11B;

  /* Tile tones */
  --c-tile-1: #FFD7C7;
  --c-tile-2: #BFE6E2;
  --c-tile-3: #DDEBC8;
  --c-tile-4: #FBE3B3;

  /* Background system — warm cream */
  --c-bg:    #FBF7F0;
  --c-bg-2:  #FFFBF4;
  --c-bg-3:  #F3EDDF;
  --c-bg-d:  #2C2A24;
  --c-card:  #FFFFFF;

  /* Map */
  --c-map-bg:   #F1ECE0;
  --c-map-hill: rgba(136, 194, 115, 0.30);

  /* Ink */
  --c-ink-1: #1F1D18;
  --c-ink-2: #4A463D;
  --c-ink-3: #7A746A;
  --c-ink-4: #B0A99C;

  /* Lines */
  --c-line-1: #E8E1D2;
  --c-line-2: #D9CFB9;

  /* Type */
  --f-display: "Fraunces", Georgia, serif;
  --f-body:    "Manrope", system-ui, sans-serif;
  --f-accent:  "Caveat", cursive;

  /* Rhythm */
  --r-card: 18px;
  --r-pill: 999px;
  --r-input: 14px;
  --shadow-1: 0 1px 0 rgba(31,29,24,.04), 0 4px 14px rgba(31,29,24,.06);
  --shadow-2: 0 1px 0 rgba(31,29,24,.04), 0 18px 32px -8px rgba(31,29,24,.18);
  --max-w: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--c-bg);
  color: var(--c-ink-1);
  font-family: var(--f-body);
  font-size: 15.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; cursor: pointer; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }
img { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: pretty;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4rem); line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; }
h3 { font-size: 1.25rem; }
p  { margin: 0; }

/* ─────────────────────────────────────────────────────────
   TOP NAV
   ───────────────────────────────────────────────────────── */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.topnav.is-sticky { border-color: var(--c-line-1); }
.topnav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex; align-items: center; gap: 28px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-size: 1.35rem; font-weight: 600;
  color: var(--c-ink-1);
  letter-spacing: -0.02em;
}
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
}
.brand-dot { color: var(--c-primary); }
.topnav-links {
  display: flex; align-items: center; gap: 22px;
  margin-left: 18px;
}
.topnav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--c-ink-2);
  padding: 6px 0; position: relative;
}
.topnav-links a:hover { color: var(--c-ink-1); }
.topnav-links a.is-active { color: var(--c-ink-1); }
.topnav-links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: 2px;
  background: var(--c-primary);
}
.topnav-cta { margin-left: auto; }

/* ─────────────────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: var(--c-ink-1);
  color: var(--c-bg-2);
  box-shadow: 0 2px 0 rgba(0,0,0,.05);
}
.btn-primary:hover { background: var(--c-primary-d); }
.btn-coral {
  background: var(--c-primary);
  color: #fff;
}
.btn-coral:hover { background: var(--c-primary-d); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--c-ink-1);
  border: 1px solid var(--c-line-2);
}
.btn-ghost:hover { background: var(--c-bg-3); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-md { padding: 11px 20px; font-size: 14.5px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-ico { display: inline-flex; }
.btn-ico-r { margin-left: 2px; }

/* ─────────────────────────────────────────────────────────
   CHIPS
   ───────────────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-weight: 500;
  padding: 7px 14px;
  background: var(--c-bg-3);
  color: var(--c-ink-2);
  transition: background .15s ease, color .15s ease;
}
.chip-soft {
  background: var(--c-bg-2);
  border: 1px solid var(--c-line-1);
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 16px;
}
.chip-soft:hover { background: var(--c-primary-s); border-color: var(--c-primary); color: var(--c-ink-1); }
.chip-filter {
  background: var(--c-primary-s);
  color: var(--c-primary-d);
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid transparent;
}
.chip-filter .chip-x {
  margin-left: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(208, 78, 46, .15);
}
.chip-filter .chip-x:hover { background: var(--c-primary); color: #fff; }
.chip-md { font-size: 14px; }
.chip-sm { font-size: 12.5px; padding: 5px 10px; }

/* ─────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 56px 28px 72px;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative; z-index: 2;
}
.hero-copy { max-width: 600px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--c-ink-2);
  background: var(--c-bg-2);
  border: 1px solid var(--c-line-1);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 24px;
}
.hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-acc-3);
  box-shadow: 0 0 0 3px rgba(136, 194, 115, .25);
}
.hero h1 .h-accent {
  font-style: italic;
  color: var(--c-primary);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.hero-sub {
  font-size: 19px;
  color: var(--c-ink-2);
  margin: 22px 0 32px;
  max-width: 480px;
}
.hero-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--c-bg-2);
  border: 1px solid var(--c-line-1);
  border-radius: var(--r-pill);
  padding: 7px 8px 7px 22px;
  box-shadow: var(--shadow-1);
  max-width: 540px;
}
.hero-search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: 0;
  font-size: 15.5px;
  color: var(--c-ink-1);
  padding: 12px 4px;
  min-width: 0;
}
.hero-search input::placeholder { color: var(--c-ink-3); }
.hero-quick {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 20px;
}
.hero-quick-lbl {
  font-size: 13px; color: var(--c-ink-3);
  font-family: var(--f-accent);
  font-size: 18px;
}

.hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.bs { position: absolute; border-radius: 50%; filter: blur(2px); }
.bs-1 { width: 320px; height: 320px; background: var(--c-acc-2-s); top: -80px; right: 6%; opacity: .55; }
.bs-2 { width: 180px; height: 180px; background: var(--c-acc-4-s); top: 30%; right: 38%; opacity: .7; }
.bs-3 { width: 240px; height: 240px; background: var(--c-primary-s); bottom: -60px; left: 8%; opacity: .65; }
.bs-4 { width: 120px; height: 120px; background: var(--c-acc-3-s); top: 18%; left: 28%; opacity: .55; }
.bs-confetti { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Hero collage */
.hero-art {
  position: relative;
  height: 480px;
}
.hart-card {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-2);
  background: var(--c-card);
  border: 6px solid #fff;
}
.hart-card img { width: 100%; height: 100%; object-fit: cover; }
.hart-card-1 {
  top: 0; right: 8%; width: 280px; height: 340px;
  transform: rotate(2deg);
}
.hart-card-2 {
  top: 18%; left: 0; width: 230px; height: 180px;
  transform: rotate(-5deg);
}
.hart-card-3 {
  bottom: 6%; right: 0; width: 220px; height: 170px;
  transform: rotate(4deg);
}
.hart-badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 4px;
  background: #fff;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700;
  box-shadow: var(--shadow-1);
}
.hart-tag {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(255,255,255,.95);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600;
  color: var(--c-ink-1);
}
.hart-sticker {
  position: absolute;
  top: 56%; left: 30%;
  background: var(--c-acc-4);
  color: var(--c-ink-1);
  padding: 14px 18px;
  border-radius: 18px;
  font-family: var(--f-accent);
  font-size: 22px;
  display: flex; align-items: baseline; gap: 6px;
  box-shadow: var(--shadow-1);
  transform: rotate(-8deg);
  z-index: 3;
}
.hart-sticker b { font-family: var(--f-display); font-size: 32px; }
.hart-sticker span:last-child { font-size: 18px; }

/* ─────────────────────────────────────────────────────────
   SECTIONS
   ───────────────────────────────────────────────────────── */
.sect {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 28px;
}
.sect-head {
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
  margin-bottom: 32px;
}
.sect-head h2 { margin-bottom: 6px; }
.sect-head p { color: var(--c-ink-3); font-size: 15px; max-width: 480px; }
.sect-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600;
  color: var(--c-primary);
}
.sect-link:hover { color: var(--c-primary-d); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Location tiles */
.sect-loc { background: var(--c-bg); padding-top: 16px; }
.loc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.loc-tile {
  position: relative;
  text-align: left;
  background: var(--c-card);
  border: 1px solid var(--c-line-1);
  border-radius: 16px;
  padding: 22px 18px 16px;
  height: 140px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.loc-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--c-line-2);
}
.loc-tile-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.loc-tile-bg svg { width: 100%; height: 100%; position: absolute; bottom: 0; }
.loc-tile-body { position: relative; z-index: 1; }
.loc-tile-body h3 { font-size: 1.2rem; margin-bottom: 2px; }
.loc-tile-body span { font-size: 13px; color: var(--c-ink-3); font-weight: 500; }
.loc-tile > svg:last-child {
  position: absolute; bottom: 16px; right: 16px; z-index: 2;
}

/* Prigode */
.prigode {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.prigoda {
  text-align: left;
  display: flex; align-items: center; gap: 14px;
  background: var(--c-card);
  border: 1px solid var(--c-line-1);
  border-radius: 16px;
  padding: 18px;
  transition: transform .15s ease, box-shadow .2s ease;
}
.prigoda:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.prigoda-glyph {
  width: 60px; height: 60px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.prigoda-body h3 { font-size: 1.05rem; margin-bottom: 2px; }
.prigoda-body p { font-size: 13px; color: var(--c-ink-3); line-height: 1.4; }
.prigoda > svg:last-child { margin-left: auto; flex-shrink: 0; }

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tm {
  background: var(--c-card);
  border-radius: 18px;
  padding: 26px 24px;
  border: 1px solid var(--c-line-1);
  position: relative;
}
.tm::before {
  content: "“";
  position: absolute; top: 6px; left: 18px;
  font-family: var(--f-display);
  font-size: 64px;
  color: var(--tm-tone);
  line-height: 1;
}
.tm p {
  font-family: var(--f-display);
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--c-ink-1);
  margin-bottom: 18px;
  padding-top: 26px;
}
.tm-who { display: flex; align-items: center; gap: 10px; }
.tm-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 14px;
}
.tm-who div { display: flex; flex-direction: column; line-height: 1.2; }
.tm-who b { font-size: 14px; }
.tm-who span { font-size: 12px; color: var(--c-ink-3); }

/* Vlasnici CTA */
.vlasnici {
  background: var(--c-ink-1);
  color: var(--c-bg-2);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.vlasnici::before {
  content: ""; position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--c-primary);
  filter: blur(60px);
  opacity: .35;
  top: -100px; right: -80px;
}
.vlasnici h2 { color: #fff; margin-bottom: 12px; }
.vlasnici p { color: rgba(255,255,255,.75); font-size: 16px; max-width: 460px; margin-bottom: 24px; }
.vlasnici-cta { display: flex; gap: 10px; }
.vlasnici .btn-primary { background: var(--c-primary); color: #fff; }
.vlasnici .btn-primary:hover { background: var(--c-primary-d); }
.vlasnici .btn-ghost { color: #fff; border-color: rgba(255,255,255,.2); }
.vlasnici .btn-ghost:hover { background: rgba(255,255,255,.08); }
.vlasnici-art { display: grid; gap: 14px; position: relative; z-index: 1; }
.va-stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex; align-items: baseline; gap: 14px;
}
.va-stat b {
  font-family: var(--f-display);
  font-size: 2rem;
  color: var(--c-acc-4);
  font-variation-settings: "SOFT" 80;
}
.va-stat span { font-size: 14px; color: rgba(255,255,255,.7); }

/* ─────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────── */
.ft {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-line-1);
  margin-top: 40px;
  padding: 56px 28px 20px;
}
.ft-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.ft-col h5 {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink-3);
  margin: 0 0 14px;
}
.ft-col a {
  display: block;
  font-size: 14px;
  color: var(--c-ink-2);
  padding: 4px 0;
}
.ft-col a:hover { color: var(--c-ink-1); }
.ft-brand p {
  font-size: 14px;
  color: var(--c-ink-3);
  margin: 16px 0 0;
  max-width: 360px;
  line-height: 1.55;
}
.ft-base {
  max-width: var(--max-w);
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--c-line-1);
  display: flex; justify-content: space-between;
  font-size: 13px;
  color: var(--c-ink-3);
}

/* ─────────────────────────────────────────────────────────
   VENUE CARD
   ───────────────────────────────────────────────────────── */
.vcard {
  background: var(--c-card);
  border: 1px solid var(--c-line-1);
  border-radius: var(--r-card);
  overflow: hidden;
  cursor: pointer;
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.vcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--c-line-2);
}
.vcard-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-bg-3);
}
.vcard-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.vcard:hover .vcard-media img { transform: scale(1.04); }
.vcard-save {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.92);
  border: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  transition: transform .15s ease, background .2s ease;
}
.vcard-save:hover { transform: scale(1.08); background: #fff; }
.vcard-save.is-saved { background: #fff; }

.vcard-rating {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(255,255,255,.95);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.vcard-flag {
  position: absolute; top: 10px; left: 10px;
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--c-acc-4);
  color: var(--c-ink-1);
  font-size: 11px; font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--r-pill);
}

.vcard-body { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vcard-title {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
.vcard-loc {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13.5px;
  color: var(--c-ink-3);
  font-weight: 500;
}
.vcard-desc {
  font-size: 14px;
  color: var(--c-ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.vcard-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 2px;
}
.vtag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600;
  color: var(--c-ink-2);
  background: var(--c-bg-3);
  padding: 4px 10px 4px 8px;
  border-radius: var(--r-pill);
}
.vtag-more {
  background: transparent;
  border: 1px dashed var(--c-line-2);
  color: var(--c-ink-3);
}
.vcard-foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px dashed var(--c-line-1);
  padding-top: 12px;
  margin-top: auto;
}
.vcard-price {
  font-size: 13px;
  color: var(--c-ink-3);
}
.vcard-price b {
  font-family: var(--f-display);
  font-size: 1.25rem;
  color: var(--c-ink-1);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 3px;
}
.vcard-price-na { font-style: italic; }
.vcard-actions { display: flex; align-items: center; gap: 6px; }
.vcard-call {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--c-acc-3-s);
  color: var(--c-acc-3-dark);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent;
  transition: background .2s ease;
}
.vcard-call:hover { background: var(--c-acc-3); color: #fff; }
.vcard-detail {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--c-ink-1);
  color: var(--c-bg-2);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 0;
}
.vcard-detail:hover { background: var(--c-primary); }

/* compact card (map popup) */
.vcard-c {
  display: grid; grid-template-columns: 60px 1fr; gap: 10px;
  background: #fff; border-radius: 12px;
  padding: 10px; min-width: 220px;
  box-shadow: var(--shadow-2);
  cursor: pointer;
  border: 1px solid var(--c-line-1);
}
.vcard-c img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.vcard-c h4 { font-family: var(--f-display); font-size: 15px; font-weight: 600; margin: 0 0 2px; }
.vcard-c-loc { font-size: 11px; color: var(--c-ink-3); display: inline-flex; gap: 3px; align-items: center; margin-bottom: 2px; }

/* Rating */
.rating {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px;
}
.rating b { font-weight: 700; }
.rating-count { color: var(--c-ink-3); font-weight: 500; margin-left: 2px; }

/* ─────────────────────────────────────────────────────────
   BROWSE PAGE
   ───────────────────────────────────────────────────────── */
.bsearch {
  position: sticky; top: 67px; z-index: 30;
  background: rgba(251, 247, 240, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line-1);
  padding: 14px 28px;
}
.bsearch-inner { max-width: var(--max-w); margin: 0 auto; }
.bsearch-input {
  display: flex; align-items: center; gap: 10px;
  background: var(--c-bg-2);
  border: 1px solid var(--c-line-1);
  border-radius: 14px;
  padding: 0 14px;
}
.bsearch-input input {
  flex: 1;
  border: 0; background: transparent; outline: 0;
  font-size: 14.5px;
  padding: 12px 0;
  color: var(--c-ink-1);
}
.bsearch-input input::placeholder { color: var(--c-ink-3); }
.bsearch-clear {
  background: var(--c-line-1);
  border: 0;
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-ink-2);
}

.bcontainer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

/* Sidebar */
.bside {
  position: sticky; top: 138px;
  max-height: calc(100vh - 158px);
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}
.bside-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.bside-head h3 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.bside-badge {
  background: var(--c-primary);
  color: #fff;
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--r-pill);
}
.bside-reset {
  background: transparent; border: 0;
  font-size: 13px; color: var(--c-ink-3);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bside-reset:hover { color: var(--c-primary); }

.fpanel { display: flex; flex-direction: column; gap: 4px; }
.fac { border-bottom: 1px solid var(--c-line-1); padding: 4px 0; }
.fac-head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent; border: 0;
  padding: 12px 4px;
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--c-ink-1);
  font-weight: 600;
}
.fac-title { display: inline-flex; align-items: center; gap: 8px; }
.fac-emoji { font-size: 14px; }
.fac-icon { color: var(--c-ink-3); display: inline-flex; }
.fac.is-open .fac-head > svg:last-child { transform: rotate(180deg); }
.fac-head > svg:last-child { transition: transform .15s ease; }
.fac-body { padding: 2px 4px 12px; }

.chklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.chkrow {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 4px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--c-ink-2);
}
.chkrow:hover { background: var(--c-bg-3); }
.chkrow input { display: none; }
.chkbox {
  width: 16px; height: 16px;
  border-radius: 5px;
  border: 1.5px solid var(--c-line-2);
  background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .12s ease, border-color .12s ease;
}
.chkrow.is-on .chkbox { background: var(--c-primary); border-color: var(--c-primary); }
.chkrow.is-on .chklbl { color: var(--c-ink-1); font-weight: 600; }
.chklbl { flex: 1; }
.chkcount {
  font-size: 11px;
  color: var(--c-ink-4);
  font-weight: 600;
}

.pills {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.pill {
  background: var(--c-bg-2);
  border: 1px solid var(--c-line-1);
  border-radius: var(--r-pill);
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink-2);
  display: inline-flex; align-items: center; gap: 5px;
  transition: all .15s ease;
}
.pill:hover { border-color: var(--c-line-2); }
.pill.is-on {
  background: var(--c-ink-1);
  border-color: var(--c-ink-1);
  color: #fff;
  font-weight: 600;
}
.pill-ico { display: inline-flex; }

/* Browse main */
.bmain { min-width: 0; }
.btool {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  min-height: 32px;
}
.btool-l { flex: 1; min-width: 0; }
.btool-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.btool-clear {
  background: transparent; border: 0;
  color: var(--c-ink-3);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 6px;
}
.btool-clear:hover { color: var(--c-primary); }
.btool-empty {
  font-size: 13px; color: var(--c-ink-3);
  font-family: var(--f-accent);
  font-size: 17px;
}

.btool2 {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-line-1);
}
.btool2-l {
  font-size: 14px;
  color: var(--c-ink-3);
}
.btool2-l b {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--c-ink-1);
  margin-right: 6px;
}
.btool2-r { display: flex; align-items: center; gap: 10px; }

.sortbtn { position: relative; }
.btn-ghost-sm {
  background: var(--c-bg-2);
  border: 1px solid var(--c-line-1);
  border-radius: var(--r-pill);
  padding: 7px 12px;
  font-size: 13px;
  color: var(--c-ink-2);
  display: inline-flex; align-items: center; gap: 4px;
}
.btn-ghost-sm b { color: var(--c-ink-1); font-weight: 600; }
.btn-ghost-sm:hover { border-color: var(--c-line-2); }
.sortmenu {
  position: absolute; right: 0; top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--c-line-1);
  border-radius: 12px;
  box-shadow: var(--shadow-2);
  padding: 4px;
  display: flex; flex-direction: column;
  min-width: 200px;
  z-index: 10;
}
.sortmenu button {
  display: flex; align-items: center; justify-content: space-between;
  background: transparent; border: 0;
  text-align: left;
  padding: 8px 12px;
  font-size: 13.5px;
  color: var(--c-ink-2);
  border-radius: 8px;
}
.sortmenu button:hover { background: var(--c-bg-3); }
.sortmenu button.is-on { color: var(--c-primary); font-weight: 600; }

.vtoggle {
  display: inline-flex;
  background: var(--c-bg-2);
  border: 1px solid var(--c-line-1);
  border-radius: var(--r-pill);
  padding: 3px;
}
.vtoggle button {
  background: transparent;
  border: 0;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--c-ink-3);
  font-weight: 500;
}
.vtoggle button.is-on {
  background: var(--c-ink-1);
  color: #fff;
  font-weight: 600;
}

.bgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* Map view */
.mapwrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--c-line-1);
}
.map {
  position: relative;
  width: 100%;
  height: 620px;
  background: var(--c-map-bg);
}
.map-base {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.mpin {
  position: absolute;
  transform: translate(-50%, -100%);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}
.mpin-bubble {
  display: inline-flex; align-items: center; gap: 3px;
  background: var(--c-primary);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 8px 4px 7px;
  border-radius: var(--r-pill);
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.2);
  transition: transform .12s ease, background .12s ease;
}
.mpin-tip {
  display: block;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--c-primary);
  margin: -1px auto 0;
}
.mpin:hover .mpin-bubble { transform: scale(1.08); }
.mpin.is-sel { z-index: 4; }
.mpin.is-sel .mpin-bubble { background: var(--c-ink-1); }
.mpin.is-sel .mpin-tip { border-top-color: var(--c-ink-1); }
.mpopup {
  position: absolute;
  transform: translate(-50%, -100%) translateY(-18px);
  z-index: 5;
  animation: pop .15s ease;
}
@keyframes pop { from { opacity: 0; transform: translate(-50%, -100%) translateY(-8px); } }
.mpopup-x {
  position: absolute; top: -8px; right: -8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 0;
  background: var(--c-ink-1);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Empty state */
.empty {
  padding: 60px 20px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.empty-art { width: 200px; height: 140px; }
.empty h3 { font-size: 1.4rem; }
.empty p { color: var(--c-ink-3); }

/* Mobile sheet */
.fab-filter {
  display: none;
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: var(--c-ink-1); color: #fff;
  border: 0;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
  z-index: 40;
  align-items: center; gap: 8px;
}
.fab-badge {
  background: var(--c-primary);
  padding: 1px 7px;
  border-radius: var(--r-pill);
  font-size: 11px;
  margin-left: 4px;
}
.sheet-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 100;
  display: flex; align-items: flex-end;
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } }
.sheet {
  background: var(--c-bg);
  width: 100%;
  border-radius: 20px 20px 0 0;
  max-height: 88vh;
  display: flex; flex-direction: column;
  animation: slideup .25s ease;
}
@keyframes slideup { from { transform: translateY(100%); } }
.sheet-handle {
  width: 40px; height: 4px;
  background: var(--c-line-2);
  border-radius: 4px;
  margin: 10px auto 0;
}
.sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px 8px;
}
.sheet-head h3 { font-family: var(--f-display); font-size: 1.3rem; display: inline-flex; align-items: center; gap: 8px; }
.sheet-x {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--c-bg-3); border: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.sheet-body { flex: 1; overflow-y: auto; padding: 0 22px 16px; }
.sheet-foot {
  border-top: 1px solid var(--c-line-1);
  padding: 14px 22px;
  display: grid; grid-template-columns: 1fr 2fr; gap: 10px;
}

/* ─────────────────────────────────────────────────────────
   DETAIL PAGE
   ───────────────────────────────────────────────────────── */
.detail { padding-bottom: 80px; }
.dback {
  max-width: var(--max-w); margin: 0 auto;
  padding: 18px 28px 4px;
}
.dback-btn {
  background: transparent; border: 0;
  font-size: 14px; color: var(--c-ink-3);
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500;
  padding: 6px 4px;
}
.dback-btn:hover { color: var(--c-ink-1); }

.dgal {
  max-width: var(--max-w); margin: 0 auto;
  padding: 6px 28px 0;
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 8px;
  height: 460px;
}
.dgal.dgal-single {
  grid-template-columns: 1fr;
  height: 480px;
}
.dgal-main {
  position: relative;
  border-radius: 16px 6px 6px 16px;
  overflow: hidden;
  background: var(--c-bg-3);
}
.dgal-single .dgal-main {
  border-radius: 16px;
}
.dgal-main img { width: 100%; height: 100%; object-fit: cover; }
.dgal-save {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,.95);
  border: 0;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 13px;
  color: var(--c-ink-1);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.dgal-save.is-saved { color: var(--c-primary); }
.dgal-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dgal-thumb {
  background: var(--c-bg-3); border: 0;
  padding: 0; overflow: hidden;
  position: relative;
  cursor: pointer;
}
.dgal-thumb:nth-child(1) { border-radius: 6px 16px 6px 6px; }
.dgal-thumb:nth-child(2) { border-radius: 6px; }
.dgal-thumb:nth-child(3) { border-radius: 6px 6px 6px 6px; }
.dgal-thumb:nth-child(4) { border-radius: 6px 6px 16px 6px; }
.dgal-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.dgal-thumb:hover img { transform: scale(1.05); }
.dgal-thumb.is-on { outline: 3px solid var(--c-primary); outline-offset: -3px; }
.dgal-more {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(255,255,255,.95);
  border: 0;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  z-index: 2;
  display: none; /* shown only on last visible thumb */
}
.dgal-side .dgal-thumb:last-child .dgal-more { display: block; }

.dcontainer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 28px 0;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}
.dleft { min-width: 0; }
.dhead { margin-bottom: 24px; }
.dhead-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.dhead h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.05; margin-bottom: 12px; }
.dhead-sub {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  color: var(--c-ink-2);
  font-size: 14px;
}
.dhead-dot { color: var(--c-ink-4); }
.dhead-loc { display: inline-flex; align-items: center; gap: 4px; }
.dnote {
  margin-top: 16px;
  background: var(--c-acc-4-s);
  border-left: 3px solid var(--c-acc-4);
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--c-ink-2);
  border-radius: 6px;
  display: flex; gap: 10px;
}

.dtabs {
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--c-line-1);
  overflow-x: auto;
  margin: 16px 0 24px;
  scrollbar-width: none;
}
.dtabs::-webkit-scrollbar { display: none; }
.dtab {
  background: transparent;
  border: 0;
  padding: 14px 12px;
  font-size: 14px; font-weight: 500;
  color: var(--c-ink-3);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.dtab:hover { color: var(--c-ink-1); }
.dtab.is-on { color: var(--c-ink-1); font-weight: 600; border-bottom-color: var(--c-primary); }

.dtab-body { padding-bottom: 24px; }
.dlede {
  font-family: var(--f-display);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--c-ink-2);
  max-width: 620px;
  margin-bottom: 32px;
  letter-spacing: -0.005em;
}
.dh {
  font-family: var(--f-display);
  font-size: 1.3rem;
  margin: 28px 0 14px;
}
.dh-tight { margin-top: 8px; }

.amen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}
.amen {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--c-line-1);
  border-radius: 10px;
  font-size: 13.5px;
  background: var(--c-bg-2);
}
.amen.is-on { color: var(--c-ink-1); font-weight: 600; }
.amen.is-off { color: var(--c-ink-4); background: transparent; opacity: .65; }
.amen.is-off span { text-decoration: line-through; text-decoration-color: var(--c-ink-4); }
.amen > svg:last-child { margin-left: auto; }
.amen > span { flex: 1; }

.serv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px;
}
.serv {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0;
  font-size: 14px;
}
.serv.is-off { color: var(--c-ink-4); }
.serv.is-off span { text-decoration: line-through; }

.agebar {
  background: var(--c-bg-2);
  border: 1px solid var(--c-line-1);
  border-radius: 14px;
  padding: 20px 22px;
}
.agebar-track {
  position: relative;
  height: 10px;
  background: var(--c-line-1);
  border-radius: var(--r-pill);
  margin-bottom: 8px;
}
.agebar-fill {
  position: absolute;
  height: 100%;
  background: linear-gradient(90deg, var(--c-acc-2) 0%, var(--c-primary) 100%);
  border-radius: var(--r-pill);
}
.agebar-ticks {
  display: flex; justify-content: space-between;
  font-size: 11px;
  color: var(--c-ink-3);
  font-weight: 600;
}
.agebar-lbl {
  font-size: 13.5px;
  color: var(--c-ink-2);
  margin-top: 10px;
}

.rules { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.rules li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  color: var(--c-ink-2);
}
.rules-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-primary);
  margin-top: 9px; flex-shrink: 0;
}

.pricetab {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.pricetab th {
  text-align: left;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink-3);
  padding: 10px 0;
  border-bottom: 1px solid var(--c-line-1);
}
.pricetab th:last-child { text-align: right; }
.pricetab td {
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line-1);
  vertical-align: top;
}
.pricetab-num {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 600;
  text-align: right;
  color: var(--c-ink-1);
}
.pricetab-note { font-size: 12.5px; color: var(--c-ink-3); margin-top: 2px; font-weight: 500; }

.dprice-info {
  margin-top: 14px;
  display: flex; gap: 8px;
  background: var(--c-bg-2);
  border: 1px dashed var(--c-line-2);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--c-ink-2);
}

.hours { width: 100%; }
.hours td {
  padding: 12px 0;
  border-bottom: 1px solid var(--c-line-1);
  font-size: 14.5px;
}
.hours td:first-child { color: var(--c-ink-3); }
.hours td:last-child { text-align: right; }

.revsum {
  display: flex; align-items: center; gap: 22px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--c-line-1);
}
.revsum-big {
  display: inline-flex; align-items: center; gap: 4px;
}
.revsum-num {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
}
.revsum p { font-size: 14px; }
.revsum-meta { color: var(--c-ink-3); font-size: 12.5px; }

.rev-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 22px; }
.rev { border-bottom: 1px solid var(--c-line-1); padding-bottom: 18px; }
.rev:last-child { border-bottom: 0; }
.rev-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.rev-av {
  width: 36px; height: 36px;
  background: var(--c-acc-2-s); color: var(--c-acc-2-d);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.rev-head > div { line-height: 1.2; display: flex; flex-direction: column; }
.rev-head b { font-size: 14px; }
.rev-date { font-size: 12px; color: var(--c-ink-3); }
.rev-stars { margin-left: auto; display: inline-flex; gap: 1px; }
.rev p { font-size: 14px; color: var(--c-ink-2); line-height: 1.5; }

.gal-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.gal-full img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; border-radius: 10px;
}

/* Sticky sidebar */
.dside {
  position: sticky; top: 90px;
}
.dside-card {
  background: var(--c-card);
  border: 1px solid var(--c-line-1);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-1);
}
.dside-price {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 16px;
}
.dside-price b {
  font-family: var(--f-display);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.dside-price-from { color: var(--c-ink-3); font-size: 14px; }
.dside-price-unit { color: var(--c-ink-3); font-size: 14px; }
.dside-price-na { font-family: var(--f-display); font-size: 1.6rem; color: var(--c-ink-2); font-style: italic; }

.dside-call {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--c-primary);
  color: #fff;
  font-weight: 700;
  padding: 14px;
  border-radius: var(--r-pill);
  width: 100%;
  margin-bottom: 14px;
  font-size: 14.5px;
}
.dside-call:hover { background: var(--c-primary-d); }

.dside-links { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; padding-top: 4px; }
.dside-link {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--c-ink-2);
  border-bottom: 1px solid var(--c-line-1);
}
.dside-link:last-child { border-bottom: 0; }
.dside-link:hover { color: var(--c-primary); }

.dside-map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--c-line-1);
  margin: 14px 0 12px;
  background: var(--c-map-bg);
}
.dside-map svg { display: block; width: 100%; height: 140px; }
.dside-addr {
  background: #fff;
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--c-ink-2);
  display: flex; align-items: center; gap: 5px;
  border-top: 1px solid var(--c-line-1);
}

.dside-quick {
  display: flex; flex-direction: column; gap: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--c-line-1);
  margin-top: 4px;
}
.dside-quick > div {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--c-ink-3);
  padding: 6px 0;
}
.dside-quick b { color: var(--c-ink-1); font-weight: 600; }

.dsim {
  max-width: var(--max-w);
  margin: 60px auto 0;
  padding: 0 28px;
  border-top: 1px solid var(--c-line-1);
  padding-top: 48px;
}

.dsticky {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-line-1);
  padding: 12px 18px;
  z-index: 40;
  align-items: center; gap: 10px;
}
.dsticky-l {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-size: 13px; color: var(--c-ink-3);
}
.dsticky-l b {
  font-family: var(--f-display); font-size: 1.4rem; color: var(--c-ink-1); font-weight: 600;
}
.dsticky-call {
  margin-left: auto;
  background: var(--c-primary);
  color: #fff;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: 14px;
}
.dsticky-save {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-bg-3);
  border: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.dsticky-save.is-saved { background: var(--c-primary-s); }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { height: 360px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .loc-grid { grid-template-columns: repeat(3, 1fr); }
  .prigode { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .vlasnici { grid-template-columns: 1fr; padding: 36px; }
  .bcontainer { grid-template-columns: 1fr; }
  .bside { display: none; }
  .fab-filter { display: inline-flex; }
  .dcontainer { grid-template-columns: 1fr; }
  .dside { position: static; }
  .dgal { grid-template-columns: 1fr; height: auto; }
  .dgal-main { height: 320px; border-radius: 14px; }
  .dgal-side { height: 160px; }
  .ft-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .topnav-links { display: none; }
}

@media (max-width: 640px) {
  .topnav-inner { padding: 12px 18px; gap: 12px; }
  .topnav-cta .btn { display: none; }
  .hero { padding: 32px 18px 48px; }
  .hero-art { display: none; }
  .hero-search { flex-direction: column; align-items: stretch; padding: 8px; border-radius: 18px; }
  .hero-search input { padding: 8px 12px; }
  .hero-search .btn { width: 100%; justify-content: center; }
  .sect { padding: 36px 18px; }
  .grid-3 { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .prigode { grid-template-columns: 1fr; }
  .bsearch { top: 60px; padding: 10px 16px; }
  .bcontainer { padding: 18px 16px; }
  .bgrid { grid-template-columns: 1fr; }
  .btool2 { flex-direction: column; align-items: flex-start; gap: 10px; }
  .dback { padding: 14px 18px 0; }
  .dgal { padding: 6px 18px 0; }
  .dgal-main { height: 240px; }
  .dgal-side { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; height: 90px; }
  .dgal-side .dgal-thumb:nth-child(4) { display: none; }
  .dcontainer { padding: 24px 18px 0; gap: 28px; }
  .dsim { padding: 36px 18px; margin-top: 36px; }
  .dsticky { display: flex; }
  .detail { padding-bottom: 100px; }
  .ft-inner { grid-template-columns: 1fr; }
  .ft-base { flex-direction: column; gap: 4px; text-align: center; }
}

/* ─────────────────────────────────────────────────────────
   PALETTE VARIANTS (via [data-palette])
   ───────────────────────────────────────────────────────── */
[data-palette="livada"] {
  --c-primary:    #E47A3F;
  --c-primary-d:  #C45E27;
  --c-primary-s:  #FCE6D2;
  --c-acc-2:      #87A8C4;
  --c-acc-2-d:    #5E83A4;
  --c-acc-2-s:    #DEE9F2;
  --c-acc-3:      #C7836D;
  --c-acc-3-dark: #9A5B43;
  --c-acc-3-s:    #F1DDD4;
  --c-acc-4:      #EFC56A;
  --c-acc-4-s:    #F8E6BD;
  --c-bg:         #F6EFE3;
  --c-bg-2:       #FBF6EC;
  --c-bg-3:       #ECE2CE;
  --c-line-1:     #E2D6BD;
  --c-line-2:     #D2C2A2;
  --c-tile-1:     #F1D2B9;
  --c-tile-2:     #D7DFE9;
  --c-tile-3:     #EAD6C8;
  --c-tile-4:     #F4E1B0;
}
[data-palette="bajka"] {
  --c-primary:    #7A5BB5;
  --c-primary-d:  #5E4291;
  --c-primary-s:  #E8DFF3;
  --c-acc-2:      #1F6F6A;
  --c-acc-2-d:    #155350;
  --c-acc-2-s:    #C9E0DD;
  --c-acc-3:      #E7A099;
  --c-acc-3-dark: #B86E66;
  --c-acc-3-s:    #F6DCD8;
  --c-acc-4:      #F0D7A8;
  --c-acc-4-s:    #FAEFD7;
  --c-bg:         #FBF4EA;
  --c-bg-2:       #FFFAF1;
  --c-bg-3:       #F0E5D2;
  --c-tile-1:     #E2D2EF;
  --c-tile-2:     #CDE3DF;
  --c-tile-3:     #F2D6D0;
  --c-tile-4:     #F6E5C2;
}

/* ─────────────────────────────────────────────────────────
   COOKIE BANNER
   ───────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px;
  max-width: 560px;
  background: var(--c-ink-1);
  color: var(--c-bg-2);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: var(--shadow-2);
  z-index: 200;
  animation: slideup .3s ease;
}
.cookie-banner-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.cookie-banner p { font-size: 14px; color: rgba(255,255,255,.85); }
.cookie-banner a { color: var(--c-acc-4); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-banner .btn-ghost { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.2); }
.cookie-banner .btn-primary { background: var(--c-primary); }

/* ─────────────────────────────────────────────────────────
   MVC HELPERS
   ───────────────────────────────────────────────────────── */
.vcard-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.loc-tile { display: flex; flex-direction: column; justify-content: space-between; }
.sortmenu.open { display: flex; }
.sortmenu:not(.open) { display: none; }
.sortmenu a { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; font-size: 13.5px; color: var(--c-ink-2); border-radius: 8px; text-decoration: none; }
.sortmenu a:hover { background: var(--c-bg-3); }
.sortmenu a.is-on { color: var(--c-primary); font-weight: 600; }
.prigoda { text-decoration: none; color: inherit; }
.chkrow { text-decoration: none; color: inherit; }

/* ─────────────────────────────────────────────────────────
   LANGUAGE SWITCHER
   ───────────────────────────────────────────────────────── */
.lang-btn {
  background: none;
  border: none;
  padding: 3px 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-ink-3);
  cursor: pointer;
  border-radius: 4px;
  font-family: var(--f-body);
  transition: color .15s, background .15s;
}
.lang-btn:hover { color: var(--c-ink-1); background: var(--c-bg-3); }
.lang-btn.lang-active { color: var(--c-primary); font-weight: 700; }
