/* ── DARK THEME (default) ─-─ */
:root {
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-dim: #8B7035;
  --crimson: #8B1A2E;
  --crimson-light: #A52040;
  --dark: #0D0D0D; /* fixed — used as text-on-gold, never changes */
  --radius: 12px;
  --radius-lg: 20px;
  --green: #2ECC71;
  --red: #E74C3C;

  /* Dark palette */
  --bg:         #0D0D0D;
  --bg-2:       #141414;
  --bg-3:       #1C1C1C;
  --bg-card:    #181818;
  --surface:    #222222;
  --surface-2:  #2A2A2A;
  --text:       #F0EDE6;
  --text-muted: #9A9589;
  --text-soft:  #6B6660;
  --border:     rgba(201,168,76,0.18);
  --border-soft: rgba(255,255,255,0.06);
  --shadow:     rgba(0,0,0,0.45);
  --navbar-bg:  rgba(13,13,13,0.92);
  --hero-grad-1:rgba(139,26,46,0.22);
  --hero-grad-2:rgba(201,168,76,0.10);
  --hero-grid:  rgba(201,168,76,0.04);
  --hero-base-from: #0D0D0D;
  --hero-base-to:   #111111;
  --scrollbar-thumb: #8B7035;
  --input-bg:   #222222;
  --option-bg:  #1C1C1C;
  --plan-fa-times: rgba(255,255,255,0.2);
  --footer-border: rgba(255,255,255,0.06);
  --offcanvas-bg: #141414;
}

.tooltip-dark .tooltip-inner {
  background-color: #1a1a1a !important;
  color: #ffffff !important;
  border: 1px solid #333333;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
  font-size: .75rem;
  font-weight: 500;
  padding: .4rem .75rem;
}



/* ── Gold text selection site-wide ── */
::selection      { background: rgba(201,168,76,0.30); color: var(--text); }
::-moz-selection { background: rgba(201,168,76,0.30); color: var(--text); }

/* ── Default link colour gold (overridden per-context below) ── */
a { color: var(--gold); }
a:hover { color: var(--gold-light); }

.tooltip-dark.bs-tooltip-top .tooltip-arrow::before {
  border-top-color: #1a1a1a !important;
}

/* ── LIGHT THEME ── */
html.light {
  --bg:         #F7F5F0;
  --bg-2:       #EDEAE3;
  --bg-3:       #E4E0D8;
  --bg-card:    #FFFFFF;
  --surface:    #F0EDE6;
  --surface-2:  #E8E4DC;
  --text:       #1A1612;
  --text-muted: #6B6560;
  --text-soft:  #9A9590;
  --border:     rgba(139,90,30,0.2);
  --border-soft:rgba(0,0,0,0.07);
  --shadow:     rgba(0,0,0,0.12);
  --navbar-bg:  rgba(247,245,240,0.94);
  --hero-grad-1:rgba(139,26,46,0.10);
  --hero-grad-2:rgba(201,168,76,0.08);
  --hero-grid:  rgba(139,90,30,0.05);
  --hero-base-from: #F7F5F0;
  --hero-base-to:   #EDE9E0;
  --scrollbar-thumb: #C9A84C;
  --input-bg:   #EDEAE3;
  --option-bg:  #F0EDE6;
  --plan-fa-times: rgba(0,0,0,0.18);
  --footer-border: rgba(0,0,0,0.07);
  --offcanvas-bg: #EDEAE3;
}

/* ── SMOOTH TRANSITIONS BETWEEN THEMES ── */
*, *::before, *::after {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.2s ease, box-shadow 0.3s ease;
}
/* but NOT on animations, transforms, opacity from keyframes */
.fade-in-up, .hero-card-float, .prop-card, .why-card, .blog-card, .loc-card {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.2s ease,
              box-shadow 0.3s ease, transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* ── THEME TOGGLE BUTTON ── */
.theme-toggle {
  width: 42px; height: 24px;
  background: var(--surface-2);
  border: 1.5px solid var(--border-soft);
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s;
}
html.light .theme-toggle {
  background: rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.35);
}
.theme-toggle-thumb {
  width: 17px; height: 17px;
  background: var(--text-muted);
  border-radius: 50%;
  position: absolute;
  top: 50%; left: 3px;
  transform: translateY(-50%);
  transition: left 0.25s cubic-bezier(0.4,0,0.2,1), background 0.25s;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem; color: white;
}
html.light .theme-toggle-thumb {
  left: 20px;
  background: var(--gold);
  color: white;
}
.theme-toggle-icons {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem;
}
.theme-toggle-icons .fa-moon { color: var(--text-muted); }
.theme-toggle-icons .fa-sun  { color: var(--gold); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }


html, body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 3px; }

/* ── NAVBAR ── */
.navbar-blomset {
  background: var(--navbar-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ── NAVBAR TOGGLER — remove Bootstrap's default grey background ── */
.navbar-toggler {
  background-color: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

.navbar-brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text) !important;
  letter-spacing: -0.02em;
}
.navbar-brand-text span { color: var(--gold); }
.nav-link-custom {
  color: var(--text-muted) !important;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  padding: 0.4rem 0.9rem !important;
}
.nav-link-custom:hover { color: var(--gold) !important; }
.nav-link-custom.active { color: var(--gold) !important; }
.btn-nav-outline {
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
  border-radius: 8px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
}
.btn-nav-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-nav-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--dark);
  border: none;
  border-radius: 8px;
  padding: 0.4rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s;
}
.btn-nav-gold:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(201,168,76,0.35); color: var(--dark); }

/* ── HERO ── */
.hero {
  min-height: 92vh;
  background: var(--bg);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 65% 50%, var(--hero-grad-1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 20%, var(--hero-grad-2) 0%, transparent 50%),
    linear-gradient(180deg, var(--hero-base-from) 0%, var(--hero-base-to) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hero-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.hero-title .accent { color: var(--gold); }
.hero-title .line-2 { color: var(--text-muted); font-weight: 600; }
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat-item .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-item .stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-img-wrapper {
  position: relative;
}
.hero-card-float {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: floatCard 4s ease-in-out infinite;
}
.hero-card-float.top-left { top: 15%; left: -30px; }
.hero-card-float.bottom-right { bottom: 15%; right: -20px; animation-delay: 2s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-main-image {
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  border: 1px solid var(--border);
}




:root {
  /* DARK THEME — overlay stays on, sharp bottom edge slider */
  --hero-slide-overlay: linear-gradient(180deg,
    rgba(13,13,13,0.95) 0%,
    rgba(13,13,13,0.90) 40%,
    rgba(13,13,13,0.85) 70%,
    rgba(13,13,13,0.80) 100%
    );
}
 
html.light {
  /* LIGHT THEME — overlay disappears entirely. The photo shows at
     full brightness; legibility now comes entirely from the forced
     white text + text-shadow in .hero-has-slide below, not from a
     tint. */
  --hero-slide-overlay: none;
}
 
.hero-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-slide-bg picture,
.hero-slide-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-slide-overlay);
}
.hero .container {
  position: relative;
  z-index: 2;
}

.btn-nav-outline-gold {
  border: 1px solid rgba(201,168,76,0.55);
  color: var(--gold-light);
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-nav-outline-gold:hover {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
  color: var(--gold-light);
}
 
 
/* ── TEXT OVERRIDE — only applies when the <section class="hero"> has
   the extra "hero-has-slide" class (added in the blade change below).
   This is the actual fix for the invisible-in-light-theme text: hero
   copy stops inheriting var(--text) / var(--text-muted) entirely and
   always renders light, regardless of site theme, because it's now
   sitting on a photo instead of the page background. ── */
 
.hero.hero-has-slide .hero-badge {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.35);
  color: var(--gold-light);
}
.hero.hero-has-slide .hero-title {
  color: #FFFFFF;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}
.hero.hero-has-slide .hero-title .line-2 {
  color: rgba(255,255,255,0.78);
}
.hero.hero-has-slide .hero-desc {
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.hero.hero-has-slide .hero-stats {
  border-top-color: rgba(255,255,255,0.2);
}
.hero.hero-has-slide .stat-item .stat-label {
  color: rgba(255,255,255,0.72);
}
.hero.hero-has-slide .stat-item .stat-num {
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}

/* ── SEARCH BOX ── */
.search-section {
  padding: 3rem 0 0;
  position: relative;
}
.search-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.search-tabs .nav-link {
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.45rem 1.2rem;
  transition: all 0.2s;
}
.search-tabs .nav-link.active {
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.3);
  color: var(--gold);
}
.search-input-group {
  background: var(--input-bg);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.5rem;
}
.search-input-group i { color: var(--text-muted); font-size: 0.9rem; }
.search-input-group input, .search-input-group select {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  padding: 0.75rem 0.25rem;
  width: 100%;
}
.search-input-group select option { background: var(--option-bg); }
.search-divider { width: 1px; height: 28px; background: var(--border-soft); }
.btn-search {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--dark);
  border: none;
  border-radius: 10px;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s;
  white-space: nowrap;
}
.btn-search:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(201,168,76,0.35); color: var(--dark); }

/* ── SECTIONS ── */
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.section-title span { color: var(--gold); }
.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* ── PROPERTY CARD ── */
.prop-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  height: 100%;
}
.prop-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.1);
}
.prop-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.prop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.prop-card:hover .prop-img img { transform: scale(1.06); }
.prop-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
}
.prop-badge.for-rent { background: var(--crimson-light); color: white; }
.prop-badge.featured { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.prop-save {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  background: rgba(13,13,13,0.7);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.prop-save:hover { background: var(--crimson); color: white; border-color: var(--crimson); }
.prop-price-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: 1.5rem 1rem 0.75rem;
}
.prop-price { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--gold); }
.prop-body { padding: 1rem 1.25rem 1.25rem; }
.prop-title { font-weight: 600; font-size: 0.95rem; color: var(--text); margin-bottom: 0.35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prop-location { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.35rem; margin-bottom: 0.9rem; }
.prop-features { display: flex; gap: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--border-soft); }
.prop-feat { display: flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; color: var(--text-muted); }
.prop-feat i { color: var(--gold); font-size: 0.72rem; }
.prop-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--border-soft); }
.agent-mini { display: flex; align-items: center; gap: 0.5rem; }
.agent-mini img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--border); }
.agent-mini span { font-size: 0.77rem; color: var(--text-muted); }
.prop-views { font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.3rem; }

/* ── FEATURED SECTION CARD (Large) ── */
.featured-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 450px;
}
.featured-hero-card img { width: 100%; height: 100%; object-fit: cover; }
.featured-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2rem;
}

/* ── LOCATIONS CARD ── */
.loc-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
}
.loc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.loc-card:hover img { transform: scale(1.08); }
.loc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem;
  transition: background 0.3s;
}
.loc-card:hover .loc-overlay { background: linear-gradient(to top, rgba(139,26,46,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%); }
.loc-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: white; }
.loc-count { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin-top: 0.2rem; }

/* ── SUBSCRIPTION CARDS ── */
.plan-section { background: var(--bg-2); }
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all 0.3s;
  height: 100%;
}
.plan-card.featured-plan {
  background: linear-gradient(135deg, rgba(139,26,46,0.25) 0%, rgba(201,168,76,0.08) 100%);
  border-color: var(--gold);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--dark); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 1rem; border-radius: 100px; }
.plan-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.plan-price { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 800; color: var(--gold); line-height: 1; margin: 1rem 0 0.25rem; }
.plan-price sup { font-size: 1rem; vertical-align: super; }
.plan-price sub { font-size: 0.9rem; color: var(--text-muted); font-family: 'DM Sans', sans-serif; font-weight: 400; }
.plan-feature { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.6rem; }
.plan-feature i.fa-check { color: var(--gold); }
.plan-feature i.fa-times { color: var(--plan-fa-times); }
.btn-plan {
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
  border-radius: 10px;
  padding: 0.7rem;
  font-weight: 600;
  font-size: 0.88rem;
  width: 100%;
  transition: all 0.25s;
}
.btn-plan:hover { border-color: var(--gold); color: var(--gold); }
.btn-plan-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--dark);
  border: none;
  border-radius: 10px;
  padding: 0.7rem;
  font-weight: 700;
  font-size: 0.88rem;
  width: 100%;
  transition: all 0.25s;
}
.btn-plan-gold:hover { box-shadow: 0 6px 24px rgba(201,168,76,0.35); transform: translateY(-2px); color: var(--dark); }

/* ── WHY SECTION ── */
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.3s;
  height: 100%;
}
.why-card:hover { border-color: var(--border); transform: translateY(-3px); }
.why-icon {
  width: 50px; height: 50px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.why-title { font-weight: 600; font-size: 0.95rem; color: var(--text); margin-bottom: 0.5rem; }
.why-desc { font-size: 0.83rem; color: var(--text-muted); line-height: 1.65; }

/* ── BLOG ── */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  height: 100%;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--border); }
.blog-img { height: 180px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body { padding: 1.25rem; }
.blog-cat { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 0.5rem; }
.blog-title { font-weight: 600; font-size: 0.92rem; color: var(--text); line-height: 1.4; margin-bottom: 0.75rem; }
.blog-meta { font-size: 0.75rem; color: var(--text-muted); display: flex; gap: 1rem; }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--crimson) 0%, #5a1020 50%, var(--bg-2) 100%);
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  position: relative;
  overflow: hidden;
}
.cta-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(201,168,76,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* ── FOOTER ── */
footer { background: var(--bg-2); border-top: 1px solid var(--border-soft); }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--text); }
.footer-logo span { color: var(--gold); }
.footer-link { display: block; color: var(--text-muted); font-size: 0.85rem; text-decoration: none; padding: 0.3rem 0; transition: color 0.2s; }
.footer-link:hover { color: var(--gold); }
.footer-heading { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 1rem; }
.social-btn { width: 36px; height: 36px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.85rem; text-decoration: none; transition: all 0.2s; }
.social-btn:hover { background: rgba(201,168,76,0.12); border-color: var(--border); color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border-soft); }

/* ── UTILITIES ── */
.text-gold { color: var(--gold) !important; }
.bg-surface { background: var(--surface) !important; }
.border-gold { border-color: var(--border) !important; }
.badge-kyc { background: rgba(40,167,69,0.12); color: #4caf74; border: 1px solid rgba(40,167,69,0.25); font-size: 0.7rem; padding: 0.2rem 0.6rem; border-radius: 4px; font-weight: 600; }
.divider-gold { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); margin: 0; }

/* ── OFFCANVAS MOBILE MENU ── */
.offcanvas-dark { background: var(--offcanvas-bg) !important; border-right: 1px solid var(--border) !important; }
.offcanvas-dark .offcanvas-header { border-bottom: 1px solid var(--border); }
.offcanvas-dark .btn-close { filter: invert(1) brightness(0.5); }

/* ── FILTER SIDEBAR (Listing Page) ── */
.filter-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: 80px;
}
.filter-heading { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 0.75rem; }
.filter-label { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.filter-input {
  background: var(--input-bg);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.85rem;
  padding: 0.55rem 0.85rem;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.filter-input:focus { border-color: rgba(201,168,76,0.4); }
.filter-input option { background: var(--option-bg); }
.filter-check .form-check-input { background-color: var(--surface); border-color: var(--border-soft); }
.filter-check .form-check-input:checked { background-color: var(--gold); border-color: var(--gold); }
.filter-check .form-check-label { font-size: 0.84rem; color: var(--text-muted); }
.range-input { accent-color: var(--gold); }

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease forwards; }
.fade-in-up-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-up-2 { animation-delay: 0.25s; opacity: 0; }
.fade-in-up-3 { animation-delay: 0.4s; opacity: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .hero { min-height: auto; padding: 5rem 0 3rem; }
  .hero-img-wrapper { margin-top: 3rem; }
  .hero-card-float.top-left { display: none; }
  .hero-card-float.bottom-right { right: 0; }
}

/* ── LIGHT MODE OVERRIDES ── */
html.light body { background: var(--bg); color: var(--text); }
html.light ::-webkit-scrollbar-track { background: var(--bg-2); }

/* Navbar */
html.light .navbar-blomset { box-shadow: 0 1px 20px rgba(0,0,0,0.08); }
html.light .offcanvas-dark { background: var(--offcanvas-bg) !important; }
html.light .offcanvas-dark .btn-close { filter: none; }

/* Hero */
html.light .hero { background: var(--bg); }
html.light .hero-bg {
  background:
    radial-gradient(ellipse 60% 50% at 65% 50%, var(--hero-grad-1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 20%, var(--hero-grad-2) 0%, transparent 50%),
    linear-gradient(180deg, var(--hero-base-from) 0%, var(--hero-base-to) 100%);
}
html.light .hero-main-image { box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
html.light .hero-card-float { background: rgba(255,255,255,0.97); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }

/* Trust bar */
html.light .trust-bar-section { background: var(--bg-2); border-bottom-color: var(--border-soft); }

/* Search */
html.light .search-box { box-shadow: 0 8px 40px rgba(0,0,0,0.08); }
html.light .search-input-group { border-color: rgba(0,0,0,0.1); }
html.light .search-input-group input::placeholder { color: var(--text-soft); }
html.light .search-input-group select { color: var(--text-muted); }
html.light .search-tabs .nav-link { color: var(--text-muted); }

/* Page */

/* Property cards */
html.light .prop-card { box-shadow: 0 2px 16px rgba(0,0,0,0.07); }
html.light .prop-card:hover { box-shadow: 0 14px 40px rgba(0,0,0,0.12); }
html.light .prop-footer { border-top-color: rgba(0,0,0,0.07); }
html.light .prop-features { border-top-color: rgba(0,0,0,0.07); }
html.light .prop-price-overlay { background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%); }
html.light .prop-save { background: rgba(255,255,255,0.92); border-color: rgba(0,0,0,0.1); color: var(--text-muted); }
html.light .badge-kyc { background: rgba(40,167,69,0.1); }

/* verification Badge */

/* ================= BASE ================= */
.badge-verification {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    line-height: 1;
    white-space: nowrap;
}

/* ================= VERIFIED ================= */
.badge-verification.verified {
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
    border: 1px solid rgba(25, 135, 84, 0.3);
}

/* ================= UNVERIFIED ================= */
.badge-verification.unverified {
    background: rgba(255, 193, 7, 0.15);
    color: #b58105;
    border: 1px solid rgba(255, 193, 7, 0.4);
}

/* ================= HOVER ================= */
.badge-verification:hover {
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

/* ================= OPTIONAL PULSE ================= */
.badge-verification.unverified {
    animation: pulseWarning 2.5s infinite;
}

@keyframes pulseWarning {
    0% { box-shadow: 0 0 0 0 rgba(255,193,7,0.4); }
    70% { box-shadow: 0 0 0 6px rgba(255,193,7,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,193,7,0); }
}

/* Featured stacked side cards */
html.light .prop-card.d-flex { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }

/* Location cards — keep overlay dark since it sits over image */
html.light .loc-card { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); }

/* How it works / list section steps */
html.light .why-card { border-color: rgba(0,0,0,0.07); box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
html.light .why-card:hover { box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1); }

/* Blog */
html.light .blog-card { border-color: rgba(0,0,0,0.07); box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
html.light .blog-card:hover { box-shadow: 0 10px 32px rgba(0,0,0,0.1); }
html.light .blog-body { background: var(--bg-card); }

/* Pricing */
html.light .plan-card { border-color: rgba(0,0,0,0.08); box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
html.light .plan-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.12); }
html.light .plan-card.featured-plan { background: linear-gradient(135deg, rgba(139,26,46,0.06) 0%, rgba(201,168,76,0.08) 100%); }
html.light .btn-plan { border-color: rgba(0,0,0,0.15); color: var(--text-muted); }
html.light .btn-plan:hover { border-color: var(--gold); color: var(--gold); }

/* List section steps dark-numbered circles — make them visible */
html.light [style*="background:rgba(201,168,76,0.1);border:1px solid rgba(201,168,76,0.25);border-radius:50%"] {
  background: rgba(201,168,76,0.12) !important;
  border-color: rgba(201,168,76,0.35) !important;
}
html.light [style*="background:rgba(139,26,46,0.15);border:1px solid rgba(139,26,46,0.35)"] {
  background: rgba(139,26,46,0.1) !important;
  border-color: rgba(139,26,46,0.25) !important;
}
html.light [style*="background:rgba(46,204,113,0.1);border:1px solid rgba(46,204,113,0.25)"] {
  background: rgba(46,204,113,0.1) !important;
  border-color: rgba(46,204,113,0.3) !important;
}

/* Plan info box in list section */
html.light [style*="background:var(--bg-card);border:1px solid var(--border)"] { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }

/* CTA section — keep crimson, adjust */
html.light .cta-section { background: linear-gradient(135deg, var(--crimson) 0%, #7a0a1e 55%, rgba(201,168,76,0.1) 100%); }

/* Footer */
html.light .footer-logo { color: var(--text); }
html.light footer { border-top-color: var(--border-soft); }
html.light .social-btn { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); }
html.light .social-btn:hover { background: rgba(201,168,76,0.12); border-color: rgba(201,168,76,0.3); }

/* Dividers */
html.light .divider-gold { background: linear-gradient(90deg, transparent, rgba(139,90,30,0.18), transparent); }

/* Filter panel */
html.light .filter-panel { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
html.light .filter-check .form-check-input { background-color: var(--surface); border-color: rgba(0,0,0,0.2); }

/* Selects */
html.light select option { background: var(--option-bg); color: var(--text); }

/* Who-can-list pills in list section */
html.light [style*="background:rgba(201,168,76,0.07)"] { background: rgba(201,168,76,0.1) !important; }



/*find a seller*/

/* ── PAGE HEADER ── */
.page-header {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border-soft);
  padding: 3rem 0 0;
  position: relative;
  overflow: hidden;
}
.page-header-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
              radial-gradient(ellipse 40% 60% at 20% 50%, rgba(139,26,46,0.06) 0%, transparent 60%);
}
.section-label { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 0.5rem; }
.page-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--text); line-height: 1.15; letter-spacing: -0.02em; }
.page-title span { color: var(--gold); }
.page-subtitle { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; max-width: 520px; }

/* ── SEARCH + FILTER BAR ── */
.search-bar-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 40px var(--shadow);
}
.search-input-wrap {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  display: flex; align-items: center;
  padding: 0 1rem; gap: 0.6rem;
  flex: 1;
}
html.light .search-input-wrap { border-color: rgba(0,0,0,0.1); }
.search-input-wrap i { color: var(--text-muted); font-size: 0.88rem; }
.search-input-wrap input { background: transparent; border: none; outline: none; color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 0.9rem; padding: 0.75rem 0; width: 100%; }
.search-input-wrap input::placeholder { color: var(--text-soft); }
.filter-select {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  padding: 0.7rem 1rem;
  outline: none;
  cursor: pointer;
  min-width: 140px;
}
html.light .filter-select { border-color: rgba(0,0,0,0.1); }
.filter-select option { background: var(--option-bg); }

/* ── FILTER PILLS ── */
.filter-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-pill {
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.filter-pill:hover { border-color: var(--border); color: var(--text); }
.filter-pill.active { background: rgba(201,168,76,0.1); border-color: rgba(201,168,76,0.35); color: var(--gold); }

/* ── SORT + RESULTS BAR ── */
.results-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.results-count { font-size: 0.85rem; color: var(--text-muted); }
.results-count strong { color: var(--text); }
.sort-select { background: var(--bg-card); border: 1px solid var(--border-soft); color: var(--text-muted); font-family: 'DM Sans', sans-serif; font-size: 0.82rem; padding: 0.42rem 0.85rem; border-radius: 8px; outline: none; cursor: pointer; }
html.light .sort-select { border-color: rgba(0,0,0,0.1); }
.sort-select option { background: var(--option-bg); }

/* ── SELLER CARD ── */
.seller-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  height: 100%;
}
html.light .seller-card { box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.seller-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--shadow);
}
html.light .seller-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.12); }

.seller-card-header {
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  height: 72px;
  position: relative;
}
.seller-card-header-pattern {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}
.seller-avatar-wrap {
  position: absolute;
  bottom: -24px; left: 50%;
  transform: translateX(-50%);
}
.seller-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 3px solid var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0;
  position: relative;
}
.seller-verified-badge {
  position: absolute;
  bottom: -2px; right: -2px;
  width: 18px; height: 18px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.5rem; color: var(--dark);
}
.seller-card-body { padding: 2rem 1.25rem 1.25rem; text-align: center; }
.seller-name { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.2rem; }
.seller-type { font-size: 0.73rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.5rem; }
.seller-location { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; justify-content: center; gap: 0.3rem; margin-bottom: 0.9rem; }
.seller-rating { display: flex; align-items: center; justify-content: center; gap: 0.3rem; margin-bottom: 1rem; }
.seller-rating .stars { display: flex; gap: 2px; }
.seller-rating .stars i { font-size: 0.68rem; color: var(--gold); }
.seller-rating .rating-val { font-size: 0.78rem; font-weight: 600; color: var(--text); }
.seller-rating .rating-count { font-size: 0.72rem; color: var(--text-muted); }
.seller-stats { display: flex; gap: 0; border-top: 1px solid var(--border-soft); }
.seller-stat { flex: 1; padding: 0.75rem 0.5rem; text-align: center; border-right: 1px solid var(--border-soft); }
.seller-stat:last-child { border-right: none; }
.seller-stat-val { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--gold); display: block; }
.seller-stat-lbl { font-size: 0.62rem; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 0.1rem; }
.seller-card-footer { padding: 0.85rem 1.25rem; border-top: 1px solid var(--border-soft); display: flex; gap: 0.5rem; }
.btn-view-profile { flex: 1; background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.25); color: var(--gold); border-radius: 8px; padding: 0.55rem; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.2s; text-align: center; }
.btn-view-profile:hover { background: rgba(201,168,76,0.15); }
.btn-contact-seller { width: 36px; height: 36px; background: var(--surface); border: 1px solid var(--border-soft); color: var(--text-muted); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; cursor: pointer; flex-shrink: 0; }
.btn-contact-seller:hover { border-color: var(--border); color: var(--text); }

/* ── SELLER TYPE TAG COLORS ── */
.type-owner   { color: var(--gold); }
.type-landlord { color: #3498DB; }
.type-developer { color: #9B59B6; }
.type-realtor  { color: #2ECC71; }
.type-shortlet { color: #E67E22; }
.type-commercial { color: #E74C3C; }

/* ── FEATURED SELLER CARD (horizontal) ── */
.seller-card-featured {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex; align-items: center; gap: 1.5rem;
  cursor: pointer; position: relative; overflow: hidden;
}
html.light .seller-card-featured { box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.seller-card-featured:hover { border-color: var(--gold); box-shadow: 0 8px 32px var(--shadow); }
.seller-card-featured::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--crimson));
}
.featured-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1.3rem;
  flex-shrink: 0; position: relative;
  border: 2px solid var(--border);
}
.featured-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--gold); color: var(--dark);
  font-size: 0.55rem; font-weight: 700;
  padding: 0.1rem 0.35rem; border-radius: 4px;
  letter-spacing: 0.04em; text-transform: uppercase;
  white-space: nowrap;
}
.featured-info { flex: 1; min-width: 0; }
.featured-name { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 0.2rem; }
.featured-meta { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.featured-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.prop-tag { background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.2); color: var(--gold); font-size: 0.68rem; font-weight: 500; padding: 0.15rem 0.55rem; border-radius: 100px; }
.featured-right { text-align: right; flex-shrink: 0; }
.featured-listings-count { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.featured-listings-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── SIDEBAR FILTERS ── */
.filter-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: 80px;
}
html.light .filter-panel { box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.filter-group-title { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 0.85rem; }
.filter-group { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-soft); }
.filter-group:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.filter-check { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; cursor: pointer; }
.filter-check-left { display: flex; align-items: center; gap: 0.6rem; }
.filter-check-left input[type="checkbox"] { accent-color: var(--gold); width: 14px; height: 14px; cursor: pointer; }
.filter-check-label { font-size: 0.83rem; color: var(--text-muted); }
.filter-check-count { font-size: 0.72rem; color: var(--text-soft); background: var(--surface); padding: 0.1rem 0.5rem; border-radius: 100px; }
.range-slider { accent-color: var(--gold); width: 100%; margin: 0.5rem 0; }
.range-labels { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--text-muted); }

/* ── STAT CHIPS ── */
.stat-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
}
html.light .stat-chip { box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.stat-chip-val { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--gold); }
.stat-chip-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ── EMPTY STATE ── */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-icon { font-size: 3rem; color: rgba(201,168,76,0.12); margin-bottom: 1rem; }

/* ── PAGINATION ── */
.page-btn { width: 36px; height: 36px; background: var(--bg-card); border: 1px solid var(--border-soft); color: var(--text-muted); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.82rem; cursor: pointer; }
.page-btn:hover { border-color: var(--border); color: var(--text); }
.page-btn.active { background: rgba(201,168,76,0.1); border-color: rgba(201,168,76,0.35); color: var(--gold); font-weight: 600; }

/* ── PROFILE MODAL ── */
.profile-modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 1rem; backdrop-filter: blur(4px); }
.profile-modal-backdrop.open { display: flex; }
.profile-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 700px;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  animation: modalIn 0.28s cubic-bezier(0.4,0,0.2,1);
}
@keyframes modalIn { from { opacity:0; transform:translateY(20px) scale(0.97); } to { opacity:1; transform:none; } }
.profile-modal-header {
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  height: 120px; position: relative; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}
.profile-modal-header-pattern {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.profile-modal-close { position: absolute; top: 1rem; right: 1rem; width: 32px; height: 32px; background: rgba(0,0,0,0.3); border: none; border-radius: 50%; color: white; font-size: 0.8rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
html.light .profile-modal-close { background: rgba(0,0,0,0.15); }
.profile-modal-avatar-wrap { position: absolute; bottom: -32px; left: 2rem; }
.profile-modal-avatar { width: 72px; height: 72px; border-radius: 50%; border: 4px solid var(--bg-card); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.4rem; }
.profile-modal-body { padding: 3rem 2rem 2rem; }
.profile-modal-name { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 800; color: var(--text); }
.pm-stat { text-align: center; padding: 1rem; background: var(--surface); border-radius: var(--radius-sm); }
.pm-stat-val { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--gold); }
.pm-stat-lbl { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.listing-mini { display: flex; align-items: center; gap: 0.85rem; padding: 0.85rem 0; border-bottom: 1px solid var(--border-soft); }
.listing-mini:last-child { border-bottom: none; }
.listing-mini-thumb { width: 50px; height: 46px; border-radius: 8px; background: var(--surface); display: flex; align-items: center; justify-content: center; color: rgba(201,168,76,0.25); font-size: 1.1rem; flex-shrink: 0; border: 1px solid var(--border-soft); }
.listing-mini-title { font-size: 0.84rem; font-weight: 600; color: var(--text); }
.listing-mini-meta { font-size: 0.72rem; color: var(--text-muted); }
.listing-mini-price { font-family: 'Playfair Display', serif; font-size: 0.9rem; font-weight: 700; color: var(--gold); white-space: nowrap; }


/* ads design */
.blomset-ad-slot { position: relative; overflow: hidden; border-radius: 8px; }
.ad-sponsored-label { position: absolute; top: 5px; left: 8px; z-index: 3; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; background: rgba(0,0,0,0.4); color: rgba(255,255,255,0.75); padding: 0.12rem 0.45rem; border-radius: 3px; pointer-events: none; font-family: 'DM Sans', sans-serif; }
.ad-link { display: block; width: 100%; height: 100%; text-decoration: none; }
.ad-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-text-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(201,168,76,0.06), rgba(201,168,76,0.02)); border: 1px solid rgba(201,168,76,0.15); padding: 1rem; text-align: center; }
.ad-fallback-title { font-weight: 700; color: var(--text, #1a1a1a); margin-bottom: 0.25rem; font-size: 0.9rem; font-family: 'Playfair Display', serif; }
.ad-fallback-business { font-size: 0.72rem; color: var(--text-muted, #888); font-family: 'DM Sans', sans-serif; }
.ad-fallback-cta { margin-top: 0.5rem; background: #C9A84C; color: #1a1a1a; font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 5px; display: inline-block; font-family: 'DM Sans', sans-serif; }
.ad-carousel { width: 100%; height: 100%; position: relative; }
.ad-carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; }
.ad-carousel-slide:first-child { opacity: 1; }
.ad-hero-wrapper, .ad-sidebar-wrapper, .ad-footer-wrapper { margin-bottom: 1.5rem; }
.ad-in-content { margin: 1.5rem 0; max-height: 120px; }
.ad-in-listing { margin-bottom: 1rem; }


/* ════════════════════════════════════════════════════════════════
   GLOBAL TOAST
   ════════════════════════════════════════════════════════════════ */
#toastContainer {
  position: fixed;
  top: 1rem;
  right: 1rem;
  left: auto;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
  max-width: calc(100vw - 2rem);
}
.toast-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 260px;
  max-width: min(380px, calc(100vw - 2rem));
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  pointer-events: all;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  animation: toastIn 0.3s ease forwards;
  position: relative;
  overflow: hidden;
}
.toast-item.toast-success { background: rgba(20,40,25,0.97);  border: 1px solid rgba(46,204,113,0.35); color: #2ecc71; }
.toast-item.toast-error   { background: rgba(40,18,18,0.97);  border: 1px solid rgba(231,76,60,0.35);  color: #e74c3c; }
.toast-item.toast-info    { background: rgba(18,28,40,0.97);  border: 1px solid rgba(201,168,76,0.3);  color: #c9a84c; }
.toast-item.toast-warning { background: rgba(40,34,10,0.97);  border: 1px solid rgba(241,196,15,0.3);  color: #f1c40f; }
.toast-icon  { font-size: 1rem; flex-shrink: 0; margin-top: 0.05rem; }
.toast-body  { flex: 1; line-height: 1.45; min-width: 0; word-break: break-word; }
.toast-title { font-weight: 700; font-size: 0.78rem; margin-bottom: 0.15rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.05em; }
.toast-close { background: none; border: none; cursor: pointer; opacity: 0.5; font-size: 0.9rem; padding: 0; flex-shrink: 0; color: inherit; line-height: 1; }
.toast-close:hover { opacity: 1; }
.toast-progress {
  position: absolute; bottom: 0; left: 0;
  height: 3px; border-radius: 0 0 10px 10px;
  animation: toastProgress 4s linear forwards;
}
.toast-success .toast-progress { background: #2ecc71; }
.toast-error   .toast-progress { background: #e74c3c; }
.toast-info    .toast-progress { background: #c9a84c; }
.toast-warning .toast-progress { background: #f1c40f; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); max-height: 120px; }
  to   { opacity: 0; transform: translateX(40px); max-height: 0; padding: 0; margin: 0; }
}
@keyframes toastProgress {
  from { width: 100%; }
  to   { width: 0%; }
}
