/* ════════════════════════════════════════════════════════════════════
   Bali Weddings — hand-written CSS (no build step).
   Romantic tropical palette. Playfair Display headings, Inter body.
   ════════════════════════════════════════════════════════════════════ */

:root {
  --radius: 10px;

  /* Brand — OKLCH (with hex fallbacks applied via the @supports block below) */
  --gold: oklch(0.78 0.12 85);
  --gold-light: oklch(0.92 0.06 85);
  --greenery: oklch(0.55 0.12 145);
  --greenery-light: oklch(0.75 0.10 150);
  --greenery-dark: oklch(0.35 0.10 145);

  --background: oklch(0.995 0.002 90);
  --foreground: oklch(0.20 0.02 60);
  --card: oklch(1 0 0);
  --muted: oklch(0.96 0.008 90);
  --muted-foreground: oklch(0.50 0.02 60);
  --secondary: oklch(0.96 0.01 90);
  --border: oklch(0.91 0.01 85);
  --accent: oklch(0.94 0.03 85);
  --destructive: oklch(0.58 0.24 27);

  --shadow-sm: 0 1px 2px rgba(40, 30, 10, 0.06);
  --shadow-md: 0 4px 14px rgba(40, 30, 10, 0.08);
  --shadow-lg: 0 12px 30px rgba(40, 30, 10, 0.12);

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', ui-serif, Georgia, serif;
}

/* Hex fallback for browsers without OKLCH (older Safari/Firefox). */
@supports not (color: oklch(0.5 0.1 145)) {
  :root {
    --gold: #c79a3e;
    --gold-light: #ecdcb0;
    --greenery: #4a7c52;
    --greenery-light: #9cc4a0;
    --greenery-dark: #2e5135;
    --background: #fdfcf9;
    --foreground: #2e2a23;
    --card: #ffffff;
    --muted: #f3f1ec;
    --muted-foreground: #7c756a;
    --secondary: #f3f1ec;
    --border: #e7e3da;
    --accent: #f0e8d8;
    --destructive: #c0392b;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); line-height: 1.2; font-weight: 700; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Global default size for inline SVG icons — context rules below override. */
svg { width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: middle; }

/* ── Layout helpers ──────────────────────────────────────────────── */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.site-main { flex: 1 0 auto; }
.section { padding: 3.5rem 0; }
.section--white { background: #fff; }
.section--muted { background: color-mix(in oklch, var(--secondary) 30%, transparent); }
@supports not (color: oklch(0.5 0.1 145)) { .section--muted { background: #f7f5f0; } }

.text-center { text-align: center; }
.section-head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.6rem; }
.section-head p { color: var(--muted-foreground); font-size: 1.05rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1023px) { .grid-4, .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; } }

.muted { color: var(--muted-foreground); }
.serif { font-family: var(--font-serif); }
.gold-text { color: var(--gold); }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 500;
  padding: 0.6rem 1.1rem; border-radius: calc(var(--radius) - 2px);
  border: 1px solid transparent; cursor: pointer; transition: all 0.2s ease;
  background: var(--secondary); color: var(--foreground); line-height: 1;
}
.btn:hover { filter: brightness(0.97); }
.btn-greenery { background: var(--greenery); color: #fff; }
.btn-greenery:hover { background: var(--greenery-dark); filter: none; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { filter: brightness(0.95); }
.btn-outline { background: transparent; border-color: var(--greenery); color: var(--greenery); }
.btn-outline:hover { background: var(--greenery); color: #fff; }
.btn-ghost { background: transparent; color: var(--muted-foreground); }
.btn-ghost:hover { background: var(--muted); color: var(--foreground); }
.btn-lg { padding: 0.8rem 1.5rem; font-size: 1rem; }
.btn-sm { padding: 0.45rem 0.8rem; font-size: 0.82rem; }
.btn-block { width: 100%; }
.btn-danger { background: var(--destructive); color: #fff; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.btn svg { width: 1em; height: 1em; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 999px;
  background: transparent; border: none; cursor: pointer; color: var(--muted-foreground);
  transition: all 0.2s ease;
}
.icon-btn:hover { background: var(--muted); color: var(--gold); }

/* ── Badges ──────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.72rem; font-weight: 600; padding: 0.22rem 0.55rem;
  border-radius: 999px; line-height: 1; white-space: nowrap;
}
.badge svg { width: 0.85em; height: 0.85em; }
.badge-gold { background: var(--gold); color: #fff; }
.badge-greenery { background: var(--greenery); color: #fff; }
.badge-secondary { background: var(--secondary); color: var(--foreground); text-transform: capitalize; }
.badge-budget { background: #dcfce7; color: #166534; }
.badge-mid-range { background: #dbeafe; color: #1e40af; }
.badge-luxury { background: #fef3c7; color: #92400e; }

/* ── Header / Navbar ─────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in oklch, var(--border) 50%, transparent);
}
@supports not (color: oklch(0.5 0.1 145)) { .navbar { border-bottom: 1px solid #eee; } }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-mark {
  width: 2rem; height: 2rem; border-radius: 999px; background: var(--greenery);
  display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0;
}
.logo-mark svg { width: 1rem; height: 1rem; fill: #fff; }
.logo-word { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.logo-word span { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  font-size: 0.9rem; font-weight: 500; color: var(--muted-foreground);
  padding: 0.5rem 0.85rem; border-radius: calc(var(--radius) - 2px); transition: all 0.15s;
}
.nav-link:hover { color: var(--foreground); background: var(--muted); }
.nav-link.active { color: var(--greenery-dark); background: color-mix(in oklch, var(--greenery-light) 20%, transparent); }
@supports not (color: oklch(0.5 0.1 145)) { .nav-link.active { background: #e8f0e9; } }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-account { position: relative; }
.nav-account-btn { display: flex; align-items: center; gap: 0.5rem; background: transparent; border: none; cursor: pointer; padding: 0.4rem 0.6rem; border-radius: var(--radius); font-size: 0.9rem; color: var(--foreground); }
.nav-account-btn:hover { background: var(--muted); }
.nav-avatar { width: 1.75rem; height: 1.75rem; border-radius: 999px; background: color-mix(in oklch, var(--greenery) 10%, transparent); display: flex; align-items: center; justify-content: center; color: var(--greenery); }
@supports not (color: oklch(0.5 0.1 145)) { .nav-avatar { background: #e8f0e9; } }
.dropdown { position: absolute; right: 0; top: calc(100% + 0.4rem); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); min-width: 12rem; padding: 0.4rem; display: none; }
.nav-account:hover .dropdown, .nav-account:focus-within .dropdown { display: block; }
.dropdown a, .dropdown button { display: flex; align-items: center; gap: 0.5rem; width: 100%; padding: 0.55rem 0.7rem; border-radius: 6px; font-size: 0.88rem; color: var(--foreground); background: transparent; border: none; cursor: pointer; text-align: left; }
.dropdown a:hover, .dropdown button:hover { background: var(--muted); }
.dropdown .sep { height: 1px; background: var(--border); margin: 0.3rem 0; }
.dropdown .danger { color: var(--destructive); }
.dropdown svg, .nav-actions svg, .nav-link svg { width: 1.1em; height: 1.1em; }

.nav-toggle { display: none; background: transparent; border: none; cursor: pointer; padding: 0.5rem; color: var(--foreground); }
.mobile-nav { display: none; flex-direction: column; gap: 0.25rem; padding: 0.5rem 0 1rem; border-top: 1px solid var(--border); }
.mobile-nav a, .mobile-nav button { padding: 0.7rem 0.5rem; border-radius: 6px; font-size: 0.95rem; background: transparent; border: none; text-align: left; cursor: pointer; color: var(--foreground); display: flex; gap: 0.5rem; align-items: center; }
.mobile-nav a:hover { background: var(--muted); }
#mobile-toggle { display: none; }
#mobile-toggle:checked ~ .mobile-nav { display: flex; }

@media (max-width: 767px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ── Cards ───────────────────────────────────────────────────────── */
.card {
  background: var(--card); border: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
  border-radius: var(--radius); overflow: hidden; transition: all 0.3s ease;
}
@supports not (color: oklch(0.5 0.1 145)) { .card { border-color: #eceae3; } }
.card-body { padding: 1rem; }
.card-pad { padding: 1.5rem; }

/* ── Vendor card ─────────────────────────────────────────────────── */
.vendor-card { position: relative; }
.vendor-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.vendor-card .cover { position: relative; height: 13rem; overflow: hidden; display: block; }
.vendor-card.compact .cover { height: 10rem; }
.vendor-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.vendor-card:hover .cover img { transform: scale(1.05); }
.cover-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.3), transparent); }
.card-badges { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; gap: 0.4rem; }
.card-fav { position: absolute; top: 0.75rem; right: 0.75rem; width: 2rem; height: 2rem; border-radius: 999px; background: rgba(255,255,255,0.9); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; box-shadow: var(--shadow-sm); }
.card-fav svg { width: 1rem; height: 1rem; color: #6b7280; }
.card-fav.is-fav svg { color: #ef4444; fill: #ef4444; }
.card-price { position: absolute; bottom: 0.75rem; right: 0.75rem; }
.vendor-card h3 { font-size: 1.15rem; margin-bottom: 0.2rem; transition: color 0.2s; }
.vendor-card:hover h3 { color: var(--greenery-dark); }
.vendor-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.82rem; color: var(--muted-foreground); margin-bottom: 0.5rem; }
.vendor-cat { color: var(--gold); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; }
.vendor-meta .loc { display: inline-flex; align-items: center; gap: 0.25rem; }
.vendor-meta svg { width: 0.85em; height: 0.85em; }
.vendor-desc { font-size: 0.88rem; color: var(--muted-foreground); margin-bottom: 0.75rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Star rating ─────────────────────────────────────────────────── */
.stars { display: inline-flex; align-items: center; gap: 0.05rem; }
.stars svg { width: 0.95rem; height: 0.95rem; color: #e5e7eb; }
.stars svg.on { color: var(--gold); fill: var(--gold); }
.stars.lg svg { width: 1.6rem; height: 1.6rem; }
.rating-num { font-size: 0.85rem; font-weight: 600; margin-left: 0.3rem; }
.rating-count { font-size: 0.75rem; color: var(--muted-foreground); }
.star-input { display: inline-flex; flex-direction: row-reverse; }
.star-input input { display: none; }
.star-input label { cursor: pointer; color: #e5e7eb; padding: 0 0.05rem; }
.star-input label svg { width: 1.8rem; height: 1.8rem; }
.star-input input:checked ~ label svg,
.star-input label:hover svg, .star-input label:hover ~ label svg { color: var(--gold); fill: var(--gold); }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2)); }
.hero-inner { position: relative; z-index: 1; padding: 6rem 0; }
@media (min-width: 768px) { .hero-inner { padding: 9rem 0; } }
.hero-content { max-width: 40rem; color: #fff; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); color: #fff; margin-bottom: 1.25rem; line-height: 1.1; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; }
.hero-search { display: flex; gap: 0.5rem; background: rgba(255,255,255,0.95); backdrop-filter: blur(6px); border-radius: var(--radius); padding: 0.5rem; box-shadow: var(--shadow-lg); max-width: 36rem; }
.hero-search .field { flex: 1; display: flex; align-items: center; gap: 0.5rem; padding: 0 0.75rem; }
.hero-search input { border: none; outline: none; width: 100%; font-size: 1rem; background: transparent; color: var(--foreground); }
.hero-search .field svg { width: 1.25rem; height: 1.25rem; color: var(--muted-foreground); flex-shrink: 0; }
.hero-badge svg { width: 0.9rem; height: 0.9rem; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2rem; }
.hero-stat .n { font-size: 1.5rem; font-weight: 700; color: #fff; font-family: var(--font-serif); }
.hero-stat .l { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.hero-badge { display: inline-flex; align-items: center; gap: 0.35rem; background: rgba(199,154,62,0.92); color: #fff; padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600; margin-bottom: 1.5rem; }

/* Hero feature spotlight card (flagship venue) */
.hero-feature-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius);
  padding: 0.9rem 1rem; margin-bottom: 1.5rem; max-width: 36rem;
}
.hero-feature-text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.hero-feature-eyebrow { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-light); }
.hero-feature-eyebrow svg { width: 0.85rem; height: 0.85rem; }
.hero-feature-card strong { font-family: var(--font-serif); font-size: 1.15rem; color: #fff; font-weight: 600; line-height: 1.2; }
.hero-feature-sub { font-size: 0.82rem; color: rgba(255,255,255,0.8); }
.hero-feature-card .btn { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 575px) {
  .hero-feature-card { flex-direction: column; align-items: flex-start; }
  .hero-feature-card .btn { width: 100%; }
}

/* ── Category & location tiles ───────────────────────────────────── */
.cat-tile { text-align: center; padding: 1.5rem 1rem; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.cat-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cat-icon { width: 3.5rem; height: 3.5rem; border-radius: 999px; background: color-mix(in oklch, var(--greenery) 10%, transparent); color: var(--greenery); display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
@supports not (color: oklch(0.5 0.1 145)) { .cat-icon { background: #e8f0e9; } }
.cat-tile:hover .cat-icon { background: var(--greenery); color: #fff; }
.cat-icon svg { width: 1.6rem; height: 1.6rem; }
.cat-tile h3 { font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600; }
.cat-tile .count { font-size: 0.75rem; color: var(--muted-foreground); }

.loc-tile { position: relative; border-radius: var(--radius); overflow: hidden; height: 12rem; }
.loc-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.loc-tile:hover img { transform: scale(1.1); }
.loc-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1) 60%, transparent); }
.loc-tile .label { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem; z-index: 1; color: #fff; }
.loc-tile .label h3 { font-size: 1.1rem; color: #fff; }
.loc-tile .label p { font-size: 0.75rem; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 0.25rem; }
.loc-tile .label svg { width: 0.8em; height: 0.8em; }

/* ── CTA band ────────────────────────────────────────────────────── */
.cta { background: var(--greenery-dark); color: #fff; position: relative; overflow: hidden; padding: 3.5rem 0; }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.cta p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 1.5rem; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 767px) { .cta-grid { grid-template-columns: 1fr; gap: 2rem; } }
.cta-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cta-tile { background: rgba(255,255,255,0.1); backdrop-filter: blur(4px); border-radius: var(--radius); padding: 1.5rem; text-align: center; }
.cta-tile .big { font-size: 1.8rem; font-weight: 700; color: var(--gold); font-family: var(--font-serif); }
.cta-tile .sm { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

/* ── Footer ──────────────────────────────────────────────────────── */
.footer { background: var(--greenery-dark); color: rgba(255,255,255,0.9); margin-top: auto; }
.footer-inner { padding: 3.5rem 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: 1.05rem; color: var(--gold-light); margin-bottom: 1rem; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer a { font-size: 0.88rem; color: rgba(255,255,255,0.7); transition: color 0.15s; }
.footer a:hover { color: var(--gold); }
.footer .brand-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.footer .brand-row .logo-mark { background: var(--gold); }
.footer .brand-row .logo-word { color: #fff; }
.footer .brand-row .logo-word span { color: #fff; }
.footer p.tag { font-size: 0.88rem; color: rgba(255,255,255,0.7); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 3rem; padding-top: 2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ── Forms ───────────────────────────────────────────────────────── */
.field-group { margin-bottom: 1rem; }
.field-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.4rem; }
.input, select.input, textarea.input {
  width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px); font-family: var(--font-sans);
  font-size: 0.92rem; background: #fff; color: var(--foreground); transition: border 0.15s, box-shadow 0.15s;
}
.input:focus, select.input:focus, textarea.input:focus { outline: none; border-color: var(--greenery); box-shadow: 0 0 0 3px color-mix(in oklch, var(--greenery) 15%, transparent); }
@supports not (color: oklch(0.5 0.1 145)) { .input:focus { box-shadow: 0 0 0 3px rgba(74,124,82,0.15); } }
textarea.input { resize: vertical; min-height: 5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 575px) { .form-row { grid-template-columns: 1fr; } }

/* ── Flash messages ──────────────────────────────────────────────── */
.flash-wrap { position: fixed; top: 4.5rem; right: 1rem; z-index: 100; display: flex; flex-direction: column; gap: 0.5rem; max-width: 22rem; }
.flash { padding: 0.8rem 1rem; border-radius: var(--radius); box-shadow: var(--shadow-md); font-size: 0.9rem; color: #fff; animation: flash-in 0.25s ease; }
.flash.success { background: var(--greenery); }
.flash.error { background: var(--destructive); }
.flash.info { background: var(--gold); }
@keyframes flash-in { from { opacity: 0; transform: translateX(1rem); } to { opacity: 1; transform: none; } }

/* ── Vendor detail ───────────────────────────────────────────────── */
.detail-hero { position: relative; height: 22rem; overflow: hidden; }
@media (min-width: 768px) { .detail-hero { height: 28rem; } }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.1) 60%, transparent); }
.detail-hero .overlay { position: absolute; bottom: 0; left: 0; right: 0; z-index: 1; padding-bottom: 2rem; }
.detail-hero .overlay-top { display: flex; justify-content: space-between; align-items: flex-start; }
.detail-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0.5rem 0; }
.detail-hero .meta { display: flex; flex-wrap: wrap; gap: 1rem; color: rgba(255,255,255,0.85); font-size: 0.9rem; align-items: center; }
.detail-hero .meta .cat { color: var(--gold); font-weight: 600; }
.detail-hero .meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.detail-hero .meta svg { width: 1em; height: 1em; }
.detail-fav { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: #fff; }

.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; padding: 2rem 0; }
@media (max-width: 1023px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-main h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.detail-section { margin-bottom: 2rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
@media (max-width: 575px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-grid a { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-grid a:hover img { transform: scale(1.05); }
.about-text { color: var(--muted-foreground); white-space: pre-line; }
.offers { border: 1px solid color-mix(in oklch, var(--gold) 30%, transparent); background: color-mix(in oklch, var(--gold) 5%, transparent); }
@supports not (color: oklch(0.5 0.1 145)) { .offers { border-color: #e6d3a3; background: #fdf8ec; } }
.offers h3 { color: var(--gold); }

.review-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem; margin-bottom: 1rem; }
.review-item .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4rem; }
.review-item .date { font-size: 0.75rem; color: var(--muted-foreground); }
.review-item h4 { font-family: var(--font-sans); font-size: 0.95rem; margin-bottom: 0.2rem; }
.review-item p { font-size: 0.9rem; color: var(--muted-foreground); }
.review-item .by { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.5rem; }

.sidebar-card { position: sticky; top: 5rem; }
.contact-row { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--muted-foreground); padding: 0.3rem 0; }
.contact-row:hover { color: var(--foreground); }
.contact-row svg { width: 1.1em; height: 1.1em; color: var(--greenery); flex-shrink: 0; }
.sep { height: 1px; background: var(--border); margin: 1rem 0; }
.price-row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 0.2rem 0; }

/* ── Filters bar (vendors listing) ──────────────────────────────── */
.filters { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; margin-bottom: 1.5rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto; gap: 0.75rem; align-items: end; }
@media (max-width: 1023px) { .filters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .filters { grid-template-columns: 1fr; } }
.filters .field-group { margin: 0; }
.filters label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted-foreground); }

.results-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; flex-wrap: wrap; gap: 0.5rem; }
.results-head .count { color: var(--muted-foreground); font-size: 0.9rem; }

/* ── Pagination ──────────────────────────────────────────────────── */
.pagination { display: flex; gap: 0.4rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 0.45rem 0.8rem; border-radius: 6px; border: 1px solid var(--border); font-size: 0.88rem; background: #fff; }
.pagination a:hover { border-color: var(--greenery); color: var(--greenery); }
.pagination .current { background: var(--greenery); color: #fff; border-color: var(--greenery); }
.pagination .disabled { opacity: 0.4; pointer-events: none; }

/* ── Blog ────────────────────────────────────────────────────────── */
.blog-card .cover { height: 12rem; overflow: hidden; display: block; }
.blog-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .cover img { transform: scale(1.05); }
.blog-card .cat { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gold); font-weight: 600; }
.blog-card h3 { font-size: 1.2rem; margin: 0.4rem 0; }
.blog-card p { font-size: 0.88rem; color: var(--muted-foreground); }
.article { max-width: 46rem; margin: 0 auto; }
.article .cover { border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0; }
.article-body h1 { font-size: 2rem; margin: 1.5rem 0 1rem; }
.article-body h2 { font-size: 1.5rem; margin: 1.5rem 0 0.75rem; }
.article-body h3 { font-size: 1.2rem; margin: 1.25rem 0 0.5rem; }
.article-body p { margin-bottom: 1rem; color: var(--foreground); }
.article-body ul, .article-body ol { margin: 0 0 1rem 1.5rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body strong { font-weight: 600; }

/* ── Admin ───────────────────────────────────────────────────────── */
.admin-layout { display: grid; grid-template-columns: 14rem 1fr; gap: 2rem; padding: 2rem 0; }
@media (max-width: 767px) { .admin-layout { grid-template-columns: 1fr; } }
.admin-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.admin-nav a { padding: 0.6rem 0.85rem; border-radius: 6px; font-size: 0.9rem; color: var(--muted-foreground); display: flex; align-items: center; gap: 0.5rem; }
.admin-nav a:hover { background: var(--muted); color: var(--foreground); }
.admin-nav a.active { background: var(--greenery); color: #fff; }
.admin-nav svg { width: 1.1em; height: 1.1em; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
@media (max-width: 767px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card { padding: 1.25rem; }
.stat-card .n { font-size: 2rem; font-weight: 700; font-family: var(--font-serif); color: var(--greenery-dark); }
.stat-card .l { font-size: 0.82rem; color: var(--muted-foreground); }

.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { padding: 0.7rem 0.85rem; text-align: left; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
.table th { background: var(--muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted-foreground); }
.table tr:last-child td { border-bottom: none; }
.table .actions { display: flex; gap: 0.4rem; }
.table-wrap { overflow-x: auto; }

/* ── Auth pages ──────────────────────────────────────────────────── */
.auth-wrap { max-width: 26rem; margin: 3rem auto; }
.auth-card { padding: 2rem; }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 0.4rem; text-align: center; }
.auth-card .sub { text-align: center; color: var(--muted-foreground); margin-bottom: 1.5rem; font-size: 0.9rem; }
.auth-alt { text-align: center; margin-top: 1.25rem; font-size: 0.88rem; color: var(--muted-foreground); }
.auth-alt a { color: var(--greenery); font-weight: 600; }

/* ── Lightbox ────────────────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.92); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255,255,255,0.12); border: none; color: #fff; cursor: pointer; width: 2.75rem; height: 2.75rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: rgba(255,255,255,0.25); }
.lightbox button svg { width: 1.4rem; height: 1.4rem; }
.lb-close { top: 1.25rem; right: 1.25rem; }
.lb-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.5); color: #fff; font-size: 0.85rem; padding: 0.3rem 0.8rem; border-radius: 999px; }

/* ── Misc ────────────────────────────────────────────────────────── */
.page-head { padding: 2.5rem 0 1rem; }
.page-head h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted-foreground); }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.hide-mobile { } @media (max-width: 767px) { .hide-mobile { display: none; } }
