/* TipoHome — 1:1 design tokens */
:root {
  --bg: #0c0c0c;
  --bg-elevated: #141414;
  --gold: #c5a059;
  --gold-hover: #d4b06a;
  --text: #ffffff;
  --text-muted: #9a9a9a;
  --text-soft: #b8b8b8;
  --border-gold: rgba(197, 160, 89, 0.55);
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.12);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --container: 1320px;
  --radius: 10px;
  --radius-lg: 12px;
  --header-h: 64px;
  --hero-h: 500px;
  --font: "Noto Sans Georgian", system-ui, sans-serif;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #eaecf0;
  --bg-elevated: #ffffff;
  --text: #1a1d24;
  --text-muted: #6b7280;
  --text-soft: #374151;
  --border-gold: rgba(197, 160, 89, 0.5);
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --surface-soft: rgba(15, 23, 42, 0.03);
  color-scheme: light;
}

[data-theme="light"] body { background: var(--bg); color: var(--text); }

/* --- Header --- */
[data-theme="light"] .header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
[data-theme="light"] .nav__link { color: #4b5563; }
[data-theme="light"] .nav__link:hover,
[data-theme="light"] .nav__link--active { color: #1a1d24; }
[data-theme="light"] .btn--ghost { border-color: rgba(0,0,0,0.14); color: var(--text); background: #fff; }
[data-theme="light"] .btn--ghost:hover { background: #f1f3f6; border-color: rgba(0,0,0,0.22); }

/* --- Hero overlay fades into page bg --- */
[data-theme="light"] .hero__overlay {
  background: linear-gradient(180deg,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.2) 35%,
    rgba(246,247,249,0.5) 78%,
    rgba(246,247,249,1) 100%);
}

[data-theme="light"] .hero__title,
[data-theme="light"] .hero__subtitle {
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

/* --- Search bar on hero (kept white) --- */
[data-theme="light"] .search2__tab {
  background: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.4);
  color: #1a1d24;
}
[data-theme="light"] .search2__tab:hover { background: #fff; }
[data-theme="light"] .search2__ai-label {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.55);
}

/* --- Cards (universal) --- */
[data-theme="light"] .top-card,
[data-theme="light"] .apt-card,
[data-theme="light"] .supervip-card,
[data-theme="light"] .similar-item,
[data-theme="light"] .info-card,
[data-theme="light"] .author-card,
[data-theme="light"] .apt-detail__section,
[data-theme="light"] .add-card,
[data-theme="light"] .type-card,
[data-theme="light"] .partner-card,
[data-theme="light"] .value-card,
[data-theme="light"] .agent-stat,
[data-theme="light"] .about-stat,
[data-theme="light"] .contact-info__block,
[data-theme="light"] .contact-form-wrap,
[data-theme="light"] .contact-quick__item,
[data-theme="light"] .my-listing,
[data-theme="light"] .msg,
[data-theme="light"] .report,
[data-theme="light"] .profile-sidebar__user,
[data-theme="light"] .profile-nav,
[data-theme="light"] .doc-toc,
[data-theme="light"] .faq {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.06), 0 12px 28px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .top-card:hover,
[data-theme="light"] .apt-card:hover,
[data-theme="light"] .supervip-card:hover,
[data-theme="light"] .similar-item:hover,
[data-theme="light"] .type-card:hover,
[data-theme="light"] .partner-card:hover,
[data-theme="light"] .value-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08), 0 18px 40px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(197, 160, 89, 0.35);
}

[data-theme="light"] .top-card__body,
[data-theme="light"] .apt-card__body,
[data-theme="light"] .supervip-card__body {
  background: #ffffff;
}

[data-theme="light"] .apt-card__media,
[data-theme="light"] .top-card__media,
[data-theme="light"] .supervip-card__media { background: #eef0f3; }

/* VIP highlighted */
[data-theme="light"] .vip-row .top-card {
  background: linear-gradient(165deg, rgba(197,160,89,0.06) 0%, #fff 100%);
  border-color: var(--gold);
}

/* Section title */
[data-theme="light"] .section__title { color: var(--gold); }

/* --- Inputs / form fields --- */
[data-theme="light"] .field__input,
[data-theme="light"] .auth__input,
[data-theme="light"] .contact-form__input,
[data-theme="light"] .check,
[data-theme="light"] .contact-social,
[data-theme="light"] .agent-tab,
[data-theme="light"] .profile-nav__item,
[data-theme="light"] .info-card__action,
[data-theme="light"] .info-card__message,
[data-theme="light"] .feature,
[data-theme="light"] .area-chip,
[data-theme="light"] .author-card__stats > div {
  background: #f8fafc;
  border-color: rgba(0,0,0,0.08);
  color: var(--text);
}

[data-theme="light"] .field__input:focus,
[data-theme="light"] .auth__input:focus,
[data-theme="light"] .contact-form__input:focus {
  border-color: var(--gold);
  background: #fff;
}

[data-theme="light"] .field__input::placeholder,
[data-theme="light"] .auth__input::placeholder,
[data-theme="light"] .contact-form__input::placeholder { color: #9aa3af; }

[data-theme="light"] .field__label,
[data-theme="light"] .auth__label,
[data-theme="light"] .contact-form__label,
[data-theme="light"] .top-card__city,
[data-theme="light"] .apt-card__city,
[data-theme="light"] .supervip-card__city,
[data-theme="light"] .similar-item__meta { color: var(--text-muted); }

[data-theme="light"] .my-listing__stats,
[data-theme="light"] .msg__text,
[data-theme="light"] .doc-prose p { color: var(--text-soft); }

/* --- Profile nav active --- */
[data-theme="light"] .profile-nav__item:hover { background: #f1f3f6; color: var(--text); }
[data-theme="light"] .profile-nav__item.is-active {
  background: rgba(197,160,89,0.12);
  color: var(--gold);
}

[data-theme="light"] .agent-tab { background: #fff; color: var(--text-soft); }
[data-theme="light"] .agent-tab:hover { color: var(--text); border-color: rgba(0,0,0,0.16); }
[data-theme="light"] .agent-tab.is-active { background: var(--gold); color: #0c0c0c; border-color: var(--gold); }

/* --- Reels --- */
[data-theme="light"] .reel-card__media { background: #eef0f3; border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .reel-card:hover .reel-card__media { box-shadow: 0 14px 36px rgba(0,0,0,0.12), 0 0 0 1px rgba(197,160,89,0.3); }

/* --- Dark footer on light theme (lux look) --- */
[data-theme="light"] .footer {
  background: linear-gradient(180deg, #1a1f2b 0%, #11151c 100%);
  border-top: 2px solid var(--gold);
  color: #d1d5db;
}
[data-theme="light"] .footer__logo .logo__word { color: #fff; }
[data-theme="light"] .footer__tagline { color: rgba(255, 255, 255, 0.7); }
[data-theme="light"] .footer__heading { color: var(--gold); }
[data-theme="light"] .footer__links a,
[data-theme="light"] .footer__contact li { color: rgba(255, 255, 255, 0.75); }
[data-theme="light"] .footer__links a:hover { color: var(--gold); }
[data-theme="light"] .footer__contact svg { color: var(--gold); }
[data-theme="light"] .footer__social-link {
  color: var(--gold);
  border-color: rgba(197, 160, 89, 0.4);
  background: rgba(255, 255, 255, 0.04);
}
[data-theme="light"] .footer__social-link:hover { background: var(--gold); color: #11151c; border-color: var(--gold); }
[data-theme="light"] .footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); }
[data-theme="light"] .footer__bottom-inner { color: rgba(255, 255, 255, 0.55); }
[data-theme="light"] .footer__legal a { color: rgba(255, 255, 255, 0.55); }
[data-theme="light"] .footer__legal a:hover { color: var(--gold); }

/* --- Ad banner accent (mid) — distinct gold tint --- */
[data-theme="light"] .ad-banner--mid {
  background: linear-gradient(180deg, transparent 0%, rgba(197, 160, 89, 0.06) 50%, transparent 100%);
  padding: 32px 0;
}
[data-theme="light"] .ad-banner--mid .ad-banner__slot {
  background: #ffffff;
  border-color: rgba(197, 160, 89, 0.4);
  border-style: dashed;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .ad-banner--top { background: transparent; }
[data-theme="light"] .ad-banner__slot {
  background: #ffffff;
  border-color: rgba(197, 160, 89, 0.4);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

/* --- Partners section — distinct band --- */
[data-theme="light"] .section--partners {
  background: linear-gradient(180deg, #ffffff 0%, #f4f6fa 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 36px;
  padding-bottom: 36px;
}

[data-theme="light"] .partner-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 6px 18px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .partner-card__name { color: var(--text); }

/* --- Partner logos --- */
[data-theme="light"] .partner-card__logo {
  background: linear-gradient(135deg, var(--gold), #a8843a);
  color: #fff;
}

/* --- Modals --- */
[data-theme="light"] .auth-modal__backdrop,
[data-theme="light"] .video-modal__backdrop { background: rgba(0,0,0,0.5); }
[data-theme="light"] .auth-modal__dialog,
[data-theme="light"] .video-modal__dialog { background: #fff; }
[data-theme="light"] .auth__divider span { background: #fff; }
[data-theme="light"] .auth__divider::before { background: rgba(0,0,0,0.08); }
[data-theme="light"] .auth__tabs { background: #f1f3f6; border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .auth__tab { color: var(--text-muted); }
[data-theme="light"] .auth-modal__close { background: #f1f3f6; border-color: rgba(0,0,0,0.08); color: var(--text); }

/* --- Logo --- */
[data-theme="light"] .logo__word { color: var(--text); }

/* --- Search bar (white search inputs) --- */
[data-theme="light"] .search2__main { background: #ffffff; border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .sb2-field { border-right-color: rgba(0,0,0,0.07); }
[data-theme="light"] .sb2-select,
[data-theme="light"] .sb2-input { color: #1a1d24; }
[data-theme="light"] .sb2-icon { color: #6b7280; }

/* --- TOC / sidebars --- */
[data-theme="light"] .doc-toc a { color: var(--text-soft); }
[data-theme="light"] .doc-toc a:hover { background: rgba(197,160,89,0.08); color: var(--gold); }

[data-theme="light"] .description:not(.is-expanded)::after {
  background: linear-gradient(180deg, transparent, #fff);
}

/* --- Detail row borders --- */
[data-theme="light"] .detail-row { border-bottom-color: var(--line); }
[data-theme="light"] .detail-row:nth-child(odd) { border-right-color: var(--line); }
[data-theme="light"] .detail-row span { color: var(--text-muted); }
[data-theme="light"] .detail-row strong { color: var(--text); }

/* --- Breadcrumbs --- */
[data-theme="light"] .apt-detail__breadcrumbs,
[data-theme="light"] .apt-detail__breadcrumbs a { color: var(--text-muted); }
[data-theme="light"] .apt-detail__breadcrumbs a:hover { color: var(--gold); }

/* --- Upload zones --- */
[data-theme="light"] .upload-zone { background: rgba(197,160,89,0.03); }
[data-theme="light"] .upload-zone:hover { background: rgba(197,160,89,0.06); }
[data-theme="light"] .upload-zone__title { color: var(--text); }

/* --- Hero text contrast (in light, hero image still dark-ish, keep white text with shadow) --- */
[data-theme="light"] .hero__title { color: #ffffff; }
[data-theme="light"] .hero__subtitle { color: rgba(255,255,255,0.92); }

/* --- Misc text --- */
[data-theme="light"] .agent-hero__bio,
[data-theme="light"] .about-mission__text { color: var(--text-soft); }
[data-theme="light"] .agent-hero { background: linear-gradient(180deg, rgba(197,160,89,0.05) 0%, transparent 100%); border-bottom: 1px solid var(--line); }
[data-theme="light"] .doc-hero { background: linear-gradient(180deg, rgba(197,160,89,0.05) 0%, transparent 100%); border-bottom: 1px solid var(--line); }
[data-theme="light"] .contact-hero { background: linear-gradient(180deg, rgba(197,160,89,0.05) 0%, transparent 100%); border-bottom: 1px solid var(--line); }
[data-theme="light"] .about-cta { background: linear-gradient(165deg, rgba(197,160,89,0.06) 0%, #fff 100%); border-color: var(--border-gold); }

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
select {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active { transform: translateY(1px); }

.btn--gold {
  background: var(--gold);
  color: #0c0c0c;
}

.btn--gold:hover {
  background: var(--gold-hover);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 12, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: box-shadow 0.25s, background 0.25s, border-color 0.25s;
}

.header--scrolled {
  background: rgba(12, 12, 12, 0.94);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  border-bottom-color: rgba(197, 160, 89, 0.18);
}

[data-theme="light"] .header { background: rgba(255, 255, 255, 0.85); }
[data-theme="light"] .header--scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.logo__word {
  color: var(--text);
  line-height: 1;
}

.logo__o {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin: 0 1px;
  border: 1.8px solid var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  top: -1px;
  box-sizing: border-box;
}

.logo__house {
  display: block;
  width: 10px;
  height: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
  margin-left: 28px;
  margin-right: auto;
}

.nav__link {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  transition: color 0.2s;
}

.nav__link:hover,
.nav__link--active {
  color: var(--text);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header__cta {
  flex-shrink: 0;
  gap: 5px;
  padding: 9px 16px;
  font-size: 12px;
  border-radius: 999px;
}

.header__cta svg { color: #0c0c0c; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
}

.header__login {
  flex-shrink: 0;
  gap: 6px;
  padding: 9px 16px;
  font-size: 12px;
  border-radius: 999px;
}

.header__login svg { color: currentColor; }

/* ============================================ */
/*  MOBILE BURGER + DRAWER                      */
/* ============================================ */

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  margin-left: 6px;
  transition: background 0.2s, border-color 0.2s;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.2s;
}

.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.burger:hover { border-color: var(--gold); }

[data-theme="light"] .burger { border-color: rgba(0,0,0,0.15); }

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100050;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-drawer.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100%;
  background: var(--bg-elevated);
  border-left: 1px solid var(--line-strong, rgba(255,255,255,0.08));
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}

.mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line, rgba(255,255,255,0.05));
}

.mobile-drawer__title {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-drawer__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong, rgba(255,255,255,0.1));
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.mobile-drawer__close:hover { background: var(--gold); border-color: var(--gold); color: #0c0c0c; }

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-bottom: 1px solid var(--line, rgba(255,255,255,0.05));
}

.mobile-drawer__nav .nav__link {
  display: flex;
  align-items: center;
  padding: 14px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}

.mobile-drawer__nav .nav__link:hover { background: var(--surface-soft, rgba(255,255,255,0.04)); color: var(--gold); }
.mobile-drawer__nav .nav__link--active { color: var(--gold); background: rgba(197, 160, 89, 0.08); }

.mobile-drawer__cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line, rgba(255,255,255,0.05));
}

.mobile-drawer__primary,
.mobile-drawer__secondary {
  width: 100%;
  justify-content: center;
  padding: 13px;
  font-size: 14px;
  border-radius: 10px;
}

.mobile-drawer__extra {
  display: flex;
  flex-direction: column;
  padding: 10px 14px 24px;
  gap: 2px;
}

.mobile-drawer__extra a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-soft, rgba(255,255,255,0.78));
  padding: 11px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.mobile-drawer__extra a:hover {
  color: var(--gold);
  background: rgba(197,160,89,0.08);
}

.mobile-drawer__extra a i {
  width: 18px;
  color: var(--gold);
  font-size: 13px;
}

.mobile-drawer__logout {
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 14px !important;
  color: #ff6b6b !important;
}
.mobile-drawer__logout i { color: #ff6b6b !important; }

/* Logged-in user card at top of drawer */
.mobile-drawer__user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(197,160,89,0.08), rgba(197,160,89,0.02));
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-drawer__user-info { flex: 1; min-width: 0; }
.mobile-drawer__user-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-drawer__user-link {
  font-size: 11.5px;
  color: var(--gold);
  text-decoration: none;
}
.mobile-drawer__user-link:hover { text-decoration: underline; }

.mobile-drawer__theme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 22px;
  border-top: 1px solid var(--line, rgba(255,255,255,0.05));
  margin-top: auto;
}

.mobile-drawer__theme-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.theme-toggle--drawer {
  width: 42px;
  height: 42px;
}

@media (max-width: 1024px) {
  .burger { display: inline-flex; }
  .header__actions .theme-toggle { display: none; }
  .header__actions .header__cta span,
  .header__actions .header__login {
    /* keep visible but compact handled by existing rules */
  }
}

@media (max-width: 640px) {
  .header__cta,
  .header__login { display: none; }
  .theme-toggle { width: 34px; height: 34px; }
}

/* ============================================ */
/*  DAILY BOOKING                               */
/* ============================================ */

/* Sidebar booking card */
.book-card {
  padding: 18px;
  background: linear-gradient(165deg, rgba(197,160,89,0.08) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
}

[data-theme="light"] .book-card { background: linear-gradient(165deg, rgba(197,160,89,0.08) 0%, #fff 100%); box-shadow: 0 4px 12px rgba(15,23,42,0.06); }

.book-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.book-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(197,160,89,0.12);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
}

.book-card__rating {
  font-size: 11px;
  color: var(--text-soft);
}

.book-card__rating i { color: var(--gold); }

.book-card__price {
  font-size: 14px;
  color: var(--text-muted);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.book-card__price strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}

[data-theme="light"] .book-card__price { border-bottom-color: rgba(15,23,42,0.06); }

.book-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.book-card__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-soft);
}

.book-card__features i {
  width: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

.book-card__btn {
  width: 100%;
  padding: 12px;
  font-size: 13px;
  border-radius: 10px;
  gap: 8px;
}

/* ----- Booking modal ----- */
.book-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.book-modal.is-open { opacity: 1; visibility: visible; }

.book-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.book-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  padding: 26px;
  background: linear-gradient(165deg, #1a1a1a 0%, #0c0c0c 100%);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.65);
  overflow-y: auto;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.book-modal.is-open .book-modal__dialog { transform: scale(1) translateY(0); }

[data-theme="light"] .book-modal__dialog { background: #fff; box-shadow: 0 24px 80px rgba(15,23,42,0.25); }

.book-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.book-modal__close:hover { background: var(--gold); color: #0c0c0c; border-color: var(--gold); }

[data-theme="light"] .book-modal__close { background: #f1f3f6; border-color: rgba(0,0,0,0.08); }

.book-step { display: none; }
.book-step.book-step--active { display: block; }

.book-modal__head { margin-bottom: 16px; padding-right: 40px; }

.book-modal__title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.book-modal__sub {
  font-size: 12px;
  color: var(--text-muted);
}

.book-modal__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  border-radius: 8px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  margin-bottom: 10px;
}

.book-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}

[data-theme="light"] .book-legend { background: #f8fafc; border-color: rgba(0,0,0,0.06); }

.book-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--text-soft);
}

.book-legend__dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  display: inline-block;
}

.book-legend__dot--free { background: rgba(46, 160, 67, 0.18); border: 1px solid rgba(46, 160, 67, 0.5); }
.book-legend__dot--booked { background: rgba(248, 81, 73, 0.18); border: 1px solid rgba(248, 81, 73, 0.5); }
.book-legend__dot--selected { background: var(--gold); }

/* Calendar */
.book-calendar {
  position: relative;
  margin-bottom: 16px;
}

.book-calendar__nav {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 4px;
  pointer-events: none;
}

.book-calendar__nav-btn {
  pointer-events: auto;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.book-calendar__nav-btn:hover { background: var(--gold); color: #0c0c0c; border-color: var(--gold); }
[data-theme="light"] .book-calendar__nav-btn { background: #f1f3f6; border-color: rgba(0,0,0,0.08); }

.book-calendar__months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.bcal-month__title {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.bcal-dows {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}

.bcal-dows span {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 0;
}

.bcal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.bcal-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.bcal-cell--empty { background: transparent; cursor: default; pointer-events: none; }

.bcal-cell--free {
  background: rgba(46, 160, 67, 0.1);
  color: #6ed080;
  border-color: rgba(46, 160, 67, 0.25);
}
.bcal-cell--free:hover {
  background: rgba(46, 160, 67, 0.25);
  transform: scale(1.05);
}

.bcal-cell--booked {
  background: rgba(248, 81, 73, 0.22);
  color: #ff5c5c;
  border-color: rgba(248, 81, 73, 0.5);
  cursor: not-allowed;
  text-decoration: line-through;
  font-weight: 600;
  position: relative;
}
.bcal-cell--booked::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(248, 81, 73, 0.4);
  border-radius: 4px;
  pointer-events: none;
}

.bcal-cell--past {
  background: transparent;
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.4;
}

.bcal-cell--checkin,
.bcal-cell--checkout {
  background: var(--gold) !important;
  color: #0c0c0c !important;
  border-color: var(--gold) !important;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(197,160,89,0.4);
}

.bcal-cell--in-range {
  background: rgba(197,160,89,0.18) !important;
  color: var(--gold) !important;
  border-color: rgba(197,160,89,0.3) !important;
}

[data-theme="light"] .bcal-cell { background: #f8fafc; }
[data-theme="light"] .bcal-cell--free { background: rgba(46, 160, 67, 0.08); color: #1f7a35; }
[data-theme="light"] .bcal-cell--booked { background: rgba(220, 38, 38, 0.18); color: #b91c1c; border-color: rgba(220, 38, 38, 0.5); }

/* Summary */
.book-summary {
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  margin-bottom: 14px;
}

[data-theme="light"] .book-summary { background: #f8fafc; border-color: rgba(0,0,0,0.06); }

.book-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 13px;
}

.book-summary__label { color: var(--text-muted); }
.book-summary__value { color: var(--text); font-weight: 600; }

.book-summary__row--total {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 9px;
  margin-top: 4px;
}

.book-summary__row--total .book-summary__label,
.book-summary__row--total .book-summary__value {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
}

.book-modal__next,
.book-modal__submit {
  width: 100%;
  padding: 13px;
  font-size: 14px;
  border-radius: 10px;
  gap: 8px;
}

.book-modal__next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Step 2 - recap */
.book-recap {
  padding: 14px 16px;
  background: rgba(197,160,89,0.06);
  border: 1px solid rgba(197,160,89,0.18);
  border-radius: 10px;
  margin-bottom: 16px;
}

.book-recap__row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 13px;
}

.book-recap__row span { color: var(--text-soft); }
.book-recap__row strong { color: var(--text); font-weight: 600; }

.book-recap__row--total {
  border-top: 1px solid rgba(197,160,89,0.2);
  padding-top: 8px;
  margin-top: 4px;
  font-size: 15px;
}

.book-recap__row--total strong { color: var(--gold); font-size: 17px; font-weight: 800; }

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.book-modal__terms {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.5;
  margin-bottom: 14px;
}

.book-modal__terms i { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.book-modal__terms strong { color: var(--gold); }

[data-theme="light"] .book-modal__terms { background: #f8fafc; border-color: rgba(0,0,0,0.06); }

/* Step 3 - success */
.book-success { text-align: center; padding: 30px 10px 14px; }

.book-success__icon {
  font-size: 64px;
  color: #6ed080;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 24px rgba(110, 208, 128, 0.4));
  animation: bookCheckIn 0.5s cubic-bezier(0.22, 1.4, 0.36, 1);
}

@keyframes bookCheckIn {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.book-success__title {
  font-size: 22px;
  font-weight: 800;
  color: #6ed080;
  margin-bottom: 8px;
}

.book-success__text {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 14px;
}

.book-success__id {
  display: inline-block;
  padding: 8px 14px;
  background: rgba(197,160,89,0.08);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.book-success__id strong { color: var(--gold); }

/* Responsive */
@media (max-width: 860px) {
  .booking-banner { grid-template-columns: 1fr; padding: 20px; }
}

@media (max-width: 640px) {
  .book-modal { padding: 0; align-items: stretch; }
  .book-modal__dialog {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
    padding: 22px 18px;
    border: none;
  }
  .book-calendar__months { grid-template-columns: 1fr; gap: 22px; }
  .book-grid { grid-template-columns: 1fr; }
}

/* ============================================ */
/*  MESSAGE MODAL                               */
/* ============================================ */

.msg-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.msg-modal.is-open { opacity: 1; visibility: visible; }

.msg-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.msg-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  padding: 28px 26px 24px;
  background: linear-gradient(165deg, #1a1a1a 0%, #0c0c0c 100%);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(197, 160, 89, 0.1);
  transform: scale(0.94) translateY(12px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 92vh;
  overflow-y: auto;
}

[data-theme="light"] .msg-modal__dialog {
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(197, 160, 89, 0.15);
}

.msg-modal.is-open .msg-modal__dialog { transform: scale(1) translateY(0); }

.msg-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.msg-modal__close:hover { background: var(--gold); border-color: var(--gold); color: #0c0c0c; }

[data-theme="light"] .msg-modal__close { background: #f1f3f6; border-color: rgba(0, 0, 0, 0.08); }

.msg-modal__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.06));
}

.msg-modal__avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.msg-modal__eyebrow {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.msg-modal__name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.msg-modal__role { font-size: 12px; color: var(--text-muted); }

.msg-modal__listing {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: rgba(197, 160, 89, 0.06);
  border: 1px solid rgba(197, 160, 89, 0.18);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 16px;
}

.msg-modal__listing svg { color: var(--gold); flex-shrink: 0; }

.msg-modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity 0.25s, transform 0.3s;
}

.msg-modal__form.is-hidden {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  position: absolute;
  width: calc(100% - 52px);
}

.msg-modal__field { display: flex; flex-direction: column; gap: 6px; }

.msg-modal__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.msg-modal__input {
  width: 100%;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
  transition: border-color 0.2s, background 0.2s;
}

.msg-modal__input::placeholder { color: rgba(255, 255, 255, 0.3); }
.msg-modal__input:focus { border-color: var(--gold); background: rgba(197, 160, 89, 0.04); }

[data-theme="light"] .msg-modal__input { background: #f8fafc; border-color: rgba(0, 0, 0, 0.08); }
[data-theme="light"] .msg-modal__input::placeholder { color: #9aa3af; }

.msg-modal__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.msg-modal__chip {
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.msg-modal__chip:hover {
  border-color: var(--border-gold);
  background: rgba(197, 160, 89, 0.06);
  color: var(--gold);
}

[data-theme="light"] .msg-modal__chip { background: #f8fafc; border-color: rgba(0,0,0,0.08); }

.msg-modal__submit {
  margin-top: 4px;
  padding: 13px;
  font-size: 14px;
  border-radius: 10px;
  gap: 8px;
}

/* Success state */
.msg-modal__success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 0 12px;
  color: #3b8a4e;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1.6, 0.36, 1);
}

.msg-modal__success.is-shown {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

.msg-modal__success svg {
  color: #3b8a4e;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 14px rgba(59, 138, 78, 0.4));
}

.msg-modal__success-title {
  font-size: 18px;
  font-weight: 800;
  color: #4cb364;
  margin-bottom: 4px;
}

.msg-modal__success-sub {
  font-size: 13px;
  color: var(--text-soft);
}

@media (max-width: 540px) {
  .msg-modal { padding: 14px; align-items: center; }
  .msg-modal__dialog {
    max-width: 100%;
    width: 100%;
    padding: 22px 18px 20px;
    border-radius: 16px;
    max-height: calc(100vh - 28px);
  }
  .msg-modal__head { gap: 12px; padding-bottom: 14px; margin-bottom: 12px; }
  .msg-modal__avatar { width: 48px; height: 48px; }
  .msg-modal__name { font-size: 15px; }
  .msg-modal__role { font-size: 11px; }
  .msg-modal__listing { padding: 10px 12px; font-size: 12px; margin-bottom: 14px; }
  .msg-modal__input { min-height: 100px; font-size: 13px; padding: 11px 12px; }
  .msg-modal__submit { padding: 12px; font-size: 14px; }
  .msg-modal__close { top: 12px; right: 12px; width: 32px; height: 32px; }
}

/* ============================================ */
/*  COOKIE BANNER                               */
/* ============================================ */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  padding: 14px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s;
  max-width: 720px;
  margin: 0 auto;
}

.cookie-banner--in { transform: translateY(0); opacity: 1; }
.cookie-banner--out { transform: translateY(140%); opacity: 0; }

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 250px;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}

.cookie-banner__text a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__text svg { flex-shrink: 0; }

.cookie-banner__actions {
  display: flex;
  gap: 8px;
}

@media (max-width: 540px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 12px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; }
}

/* Theme toggle button */
/* ===== Language switcher (Georgian / Russian / English) ===== */
.lang-switch { position: relative; display: inline-block; }
.lang-switch__btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--text-soft, rgba(255,255,255,0.78));
  font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.03em;
  cursor: pointer; transition: all 0.15s;
}
.lang-switch__btn:hover { border-color: rgba(197,160,89,0.4); color: #fff; }
.lang-switch__flag {
  width: 22px; height: 15px; border-radius: 3px;
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(0,0,0,0.06);
  display: block;
}
.lang-switch__chev { font-size: 9px; opacity: 0.6; transition: transform 0.18s; }
.lang-switch.is-open .lang-switch__chev { transform: rotate(180deg); }
[data-theme="light"] .lang-switch__btn {
  background: #f3f4f6; border-color: rgba(0,0,0,0.08); color: #1a1a1a;
}
[data-theme="light"] .lang-switch__btn:hover { background: #e9ecef; border-color: rgba(197,160,89,0.45); }

.lang-switch__menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 170px;
  background: #161b22;
  border: 1px solid rgba(197,160,89,0.25);
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.5);
  padding: 5px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.16s, transform 0.16s, visibility 0.16s;
  z-index: 1500;
}
.lang-switch.is-open .lang-switch__menu,
.lang-switch:hover .lang-switch__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
[data-theme="light"] .lang-switch__menu {
  background: #fff; border-color: rgba(0,0,0,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.lang-switch__opt {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 11px; border-radius: 7px;
  background: transparent; border: none; cursor: pointer;
  color: rgba(255,255,255,0.82); font-family: inherit; font-size: 13px; font-weight: 500;
  text-align: left; transition: background 0.13s, color 0.13s;
}
.lang-switch__opt:hover { background: rgba(255,255,255,0.05); color: #fff; }
.lang-switch__opt.is-active { color: var(--gold,#c5a059); font-weight: 700; }
.lang-switch__opt i { margin-left: auto; color: var(--gold,#c5a059); font-size: 11px; }
[data-theme="light"] .lang-switch__opt { color: #1a1a1a; }
[data-theme="light"] .lang-switch__opt:hover { background: #f3f4f6; }

@media (max-width: 480px) {
  .lang-switch__code { display: none; }
  .lang-switch__btn { padding: 0 9px; gap: 5px; }
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--gold);
  color: var(--gold);
  transform: rotate(20deg);
}

.theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle__moon { display: none; }
[data-theme="light"] .theme-toggle__sun { display: block; color: var(--gold); }
[data-theme="light"] .theme-toggle { border-color: rgba(0, 0, 0, 0.15); }
[data-theme="light"] .theme-toggle:hover { background: rgba(0, 0, 0, 0.04); }

/* Reply form (in messages) */
.msg-reply {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  background: rgba(197, 160, 89, 0.04);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  animation: msg-reply-in 0.3s ease;
}

@keyframes msg-reply-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.msg-reply__input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  resize: vertical;
  line-height: 1.5;
  transition: border-color 0.2s;
}

.msg-reply__input:focus { border-color: var(--gold); }

.msg-reply__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.msg-reply__sent {
  font-size: 13px;
  font-weight: 600;
  color: #6ed080;
  text-align: center;
  padding: 8px;
}

[data-theme="light"] .msg-reply__input { background: #fff; }

/* Hero — fixed 500px */
.hero {
  position: relative;
  height: var(--hero-h);
  /* No overflow:hidden so dropdowns from the search bar can spill below.
     No isolation either — dropdowns need to escape the hero's stacking context. */
  overflow: visible;
}
/* When a search dropdown is open, lift the hero above the following sections
   (reels/main) so the inline dropdown isn't painted under them. On DESKTOP we
   stay BELOW the sticky header (z 100) so it keeps showing while scrolling —
   the dropdown opens downward over the reels and never overlaps the header. */
.hero.dd-active {
  z-index: 30;
}
/* On MOBILE the bottom-sheet + its full-page backdrop must dim everything,
   including the bottom nav (.botnav z 3000) and the sticky header (z 100),
   like a native sheet. Stays below the location modal (hf-modal z 5000). */
@media (max-width: 768px) {
  .hero.dd-active { z-index: 4000; }
}

.hero__bg, .hero__overlay { z-index: 0; }
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  clip-path: inset(0);       /* visual clip without breaking child positioning */
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 12, 0.35) 0%,
    rgba(12, 12, 12, 0.15) 40%,
    rgba(12, 12, 12, 0.55) 75%,
    rgba(12, 12, 12, 0.92) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0;
  padding-bottom: 0;
}

.hero__stack {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.hero__text {
  max-width: 520px;
  flex-shrink: 0;
}

.hero__title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text);
}

.hero__subtitle {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
}

.hero__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  flex-shrink: 0;
}

.hero__panel {
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

/* Search bar — ერთიანი pill ზოლი, ფოტოს მიხედვით */
.search-bar {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 900px;
  min-height: 52px;
  padding: 5px 6px 5px 2px;
  gap: 0;
  background: rgba(16, 16, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.search-bar__field {
  position: relative;
  flex: 1;
  min-width: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.search-bar__select {
  width: 100%;
  appearance: none;
  background: transparent;
  border: none;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 400;
  padding: 12px 30px 12px 18px;
  outline: none;
  transition: color 0.2s;
  cursor: pointer;
}

.search-bar__select:hover,
.search-bar__select:focus {
  color: var(--text);
}

.search-bar__select option {
  background: #1a1a1a;
  color: var(--text);
}

.search-bar__chevron {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-bar__divider {
  display: block;
  width: 1px;
  height: 26px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
}

.search-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  margin-left: 4px;
  border: none;
  box-shadow: none;
}

.search-bar__btn svg {
  flex-shrink: 0;
}

/* Quick categories */
.quick-cats {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 36px;
  width: 100%;
  max-width: 900px;
  margin-top: 16px;
  padding-top: 0;
  border-top: none;
}

.quick-cats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  transition: transform 0.2s, opacity 0.2s;
}

.quick-cats__item:hover {
  opacity: 0.9;
}

.quick-cats__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: var(--gold);
  background: transparent;
  transition: border-color 0.2s, background 0.2s;
}

.quick-cats__label {
  font-size: 11px;
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* ============================================ */
/*  SEARCH BAR v2 (light + tabs + AI)           */
/* ============================================ */

.search2 {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 100%;
}

.search2__tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.search2__tab {
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.search2__tab:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.search2__tab.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0c0c0c;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.4);
}

.search2__ai {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search2__ai-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.search2__ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #1a1a1a;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
}

.search2__ai-btn:hover { background: #fff; transform: translateY(-1px); }

.search2__ai-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4b06a 0%, var(--gold) 60%, #a8843a 100%);
  color: #0c0c0c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.search2__main {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 6px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
  min-height: 56px;
}

.sb2-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  padding: 0 12px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.sb2-field:hover { background: rgba(0, 0, 0, 0.02); border-radius: 8px; }

.sb2-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b6b6b;
  flex-shrink: 0;
}

.sb2-select {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  padding: 8px 16px 8px 0;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: #1a1a1a;
  cursor: pointer;
  text-overflow: ellipsis;
}

.sb2-select option { background: #fff; color: #1a1a1a; }

.sb2-chev {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
}

.sb2-search {
  display: flex;
  align-items: center;
  flex: 1.5;
  min-width: 160px;
  padding: 0 14px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.sb2-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  font-family: inherit;
  color: #1a1a1a;
  padding: 8px 0;
}

.sb2-input::placeholder { color: #999; }

.sb2-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: auto;
  background: transparent;
  border: none;
  color: #6b6b6b;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.sb2-icon-btn + .sb2-icon-btn { margin-left: 2px; }

.sb2-icon-btn:hover {
  background: rgba(197, 160, 89, 0.12);
  color: var(--gold);
}

.sb2-submit {
  margin-left: 6px;
  padding: 0 28px;
  min-height: 44px;
  background: linear-gradient(135deg, #d4b06a 0%, var(--gold) 50%, #a8843a 100%);
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  color: #0c0c0c;
  cursor: pointer;
  flex-shrink: 0;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.15s, box-shadow 0.2s;
}

.sb2-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(197, 160, 89, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

@media (max-width: 1100px) {
  .search2__main { flex-wrap: wrap; }
  .sb2-search { flex: 1 1 100%; border-right: none; border-top: 1px solid rgba(0,0,0,0.08); padding-top: 4px; padding-bottom: 4px; margin-top: 4px; }
}

@media (max-width: 768px) {
  .search2 { gap: 10px; }
  .search2__ai { display: none; }

  /* Clean 2-col grid for the 4 main filters, full-width below */
  .search2__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
    min-height: 0;
  }
  /* Hidden inputs must never become grid items */
  .search2__main > input[type="hidden"] { display: none !important; }

  /* Each filter trigger = card */
  .sb2-dd,
  button.sb2-field {
    border: 1px solid rgba(0,0,0,0.08) !important;
    border-radius: 10px !important;
    background: rgba(0,0,0,0.02) !important;
    min-height: 50px;
  }
  .sb2-dd > .sb2-trigger,
  button.sb2-field { min-height: 50px; padding: 10px 12px; }
  .sb2-dd > .sb2-trigger:hover,
  button.sb2-field:hover { border-radius: 10px !important; }
  .sb2-trigger__value { font-size: 13px; font-weight: 700; }
  .sb2-trigger .sb2-chev { font-size: 11px; }
  /* The 5th item (ფასი) stays in its own row, left-aligned */
  /* nth-child counts include hidden inputs, so use the trigger class */
  .sb2-dd[data-dd="price"] { grid-column: 1 / -1; }

  /* Search input full row */
  .sb2-search {
    grid-column: 1 / -1;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    background: rgba(0,0,0,0.02);
    padding: 4px 12px;
    min-height: 44px;
  }
  .sb2-input { font-size: 13px; padding: 8px 0; }

  /* Hide the photo/map/filter icon buttons on mobile — they're not actions users need on a phone */
  .sb2-icon-btn { display: none; }

  /* Submit fills the row */
  .sb2-submit {
    grid-column: 1 / -1;
    width: 100%;
    margin-left: 0;
    margin-top: 2px;
    min-height: 52px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .search2__main { padding: 8px; gap: 6px; }
  .sb2-dd > .sb2-trigger,
  button.sb2-field { padding: 8px 10px; min-height: 46px; }
  .sb2-icon { width: 18px; }
}

/* Main sections */
.main {
  padding-bottom: 24px;
}

.section {
  padding-top: 36px;
}

.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.section__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  transition: opacity 0.2s;
}

.section__link:hover {
  opacity: 0.85;
}

.section__link svg {
  color: var(--gold);
}

/* REELS */
.reels-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.reel-card {
  min-width: 0;
}

.reel-card__trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
}

.reel-card__media {
  position: relative;
  aspect-ratio: 9 / 14;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.3s;
}

.reel-card:hover .reel-card__media {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(197, 160, 89, 0.25);
}

.reel-card__poster,
.reel-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-card__poster {
  z-index: 1;
  transition: opacity 0.3s ease;
}

.reel-card__video {
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #000;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.reel-card--playing .reel-card__video {
  opacity: 1;
  visibility: visible;
  z-index: 5;
}

.reel-card--playing .reel-card__poster {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.reel-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(197, 160, 89, 0.3);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.25s ease;
  pointer-events: none;
}

.reel-card__play svg {
  margin-left: 2px;
}

.reel-card:hover .reel-card__play {
  background: var(--gold);
  transform: translate(-50%, -50%) scale(1.1);
}

.reel-card--playing .reel-card__play {
  opacity: 0;
  visibility: hidden;
}

.reel-card__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.reel-card--playing .reel-card__progress {
  opacity: 1;
}

.reel-card__progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 0.1s linear;
}

.reel-card__views {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.reel-card__views svg { color: var(--gold); }

/* Overlay at the bottom of card — user + location + price */
.reel-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 26px 10px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 40%, rgba(0, 0, 0, 0.92) 100%);
  pointer-events: none;
}

.reel-card__user {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.reel-card__avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #fff;
  flex-shrink: 0;
}

.reel-card__handle {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.reel-card__location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 3px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.reel-card__location svg { color: var(--gold); flex-shrink: 0; }

.reel-card__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  max-height: 90vh;
  background: linear-gradient(165deg, #1a1a1a 0%, #0c0c0c 100%);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(197, 160, 89, 0.1);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-modal__main {
  position: relative;
  background: #000;
  overflow: hidden;
}

.vm-reel-hint {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.vm-reel-hint__cur { color: var(--gold); }

@keyframes vm-out-up   { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-8%); opacity: 0; } }
@keyframes vm-out-down { from { transform: translateY(0); opacity: 1; } to { transform: translateY(8%);  opacity: 0; } }
@keyframes vm-in-up    { from { transform: translateY(8%);  opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes vm-in-down  { from { transform: translateY(-8%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.vm-anim-out-up   { animation: vm-out-up   180ms cubic-bezier(0.4, 0, 0.6, 1) forwards; }
.vm-anim-out-down { animation: vm-out-down 180ms cubic-bezier(0.4, 0, 0.6, 1) forwards; }
.vm-anim-in-up    { animation: vm-in-up    260ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.vm-anim-in-down  { animation: vm-in-down  260ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }

.video-modal__overlay-info {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
  border-radius: 10px;
  pointer-events: none;
}

.video-modal__side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #0f0f0f;
  border-left: 1px solid rgba(197, 160, 89, 0.18);
  max-height: 90vh;
}

.vm-side__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vm-side__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.vm-side__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-gold);
  flex-shrink: 0;
}

.vm-side__author-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vm-side__name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.vm-side__verified { flex-shrink: 0; }

.vm-side__handle {
  font-size: 12px;
  color: var(--text-muted);
}

.vm-side__follow {
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #0c0c0c;
  background: var(--gold);
  border: none;
  border-radius: 999px;
  transition: background 0.2s;
}

.vm-side__follow:hover { background: var(--gold-hover); }

.vm-side__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vm-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 500;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.15s;
}

.vm-action:hover {
  color: var(--text);
  border-color: var(--border-gold);
}

.vm-action:active { transform: scale(0.96); }

.vm-action.is-active {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(197, 160, 89, 0.1);
}

.vm-action[data-action="like"].is-active svg {
  fill: var(--gold);
}

.vm-drawer {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.vm-drawer__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 0;
}

.vm-drawer__head .vm-side__heading {
  flex: 1;
  margin-bottom: 0;
}

.vm-drawer__handle { display: none; }

.vm-drawer__close {
  display: none;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-radius: 50%;
  transition: background 0.2s;
}

.vm-drawer__close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0c0c0c;
}

.vm-side__comments {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 18px 14px;
}

.vm-side__comments::-webkit-scrollbar { width: 6px; }
.vm-side__comments::-webkit-scrollbar-thumb { background: rgba(197, 160, 89, 0.3); border-radius: 3px; }

.vm-side__heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.vm-comments {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vm-comment {
  display: flex;
  gap: 10px;
}

.vm-comment__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.vm-comment__body { min-width: 0; flex: 1; }

.vm-comment__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.vm-comment__user {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.vm-comment__time {
  font-size: 11px;
  color: var(--text-muted);
}

.vm-comment__text {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.45;
  margin-top: 2px;
  word-break: break-word;
}

.vm-comment__reply {
  margin-top: 4px;
  padding: 0;
  font-size: 11px;
  color: var(--text-muted);
  background: none;
  border: none;
  font-weight: 600;
}

.vm-comment__reply:hover { color: var(--gold); }

.vm-compose {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #0c0c0c;
}

.vm-compose__input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.vm-compose__input:focus { border-color: var(--border-gold); }

.vm-compose__send {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #0c0c0c;
  border: none;
  border-radius: 50%;
  transition: background 0.2s;
}

.vm-compose__send:hover { background: var(--gold-hover); }

.video-modal.is-open .video-modal__dialog {
  transform: scale(1) translateY(0);
}

.video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.video-modal__close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0c0c0c;
}

/* Prev / Next nav buttons (outside dialog, desktop) */
.video-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.video-modal__nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0c0c0c;
  transform: translateY(-50%) scale(1.08);
}

.video-modal__nav--prev { left: 24px; }
.video-modal__nav--next { right: 24px; }

@media (max-width: 860px) {
  .video-modal__nav { display: none; }
}

.video-modal__player-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 90vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal__player {
  width: 100%;
  height: 100%;
  max-height: 90vh;
  object-fit: contain;
  background: #000;
  display: block;
}

.video-modal__title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.video-modal__price {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

/* Apartment card carousel */
.apt-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-elevated);
}

.apt-card__slides {
  position: absolute;
  inset: 0;
}

.apt-card__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
}

.apt-card__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.apt-card__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.apt-card:hover .apt-card__slide.is-active img {
  transform: scale(1.04);
}

.apt-card__lock {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
}

.apt-card__lock-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

.apt-card__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s;
}

.apt-card:hover .apt-card__nav { opacity: 1; }

.apt-card__nav:hover {
  background: var(--gold);
  color: #0c0c0c;
  border-color: var(--gold);
}

.apt-card__nav--prev { left: 8px; }
.apt-card__nav--next { right: 8px; }

.apt-card__counter {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.apt-card__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.apt-card__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}

.apt-card__dot.is-active {
  background: var(--gold);
  transform: scale(1.4);
}

/* Auth modal */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.auth-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.auth-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 32px 28px 28px;
  background: linear-gradient(165deg, #1a1a1a 0%, #0c0c0c 100%);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(197, 160, 89, 0.1);
  transform: scale(0.94) translateY(10px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-modal.is-open .auth-modal__dialog {
  transform: scale(1) translateY(0);
}

.auth-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-radius: 50%;
  transition: background 0.2s, border-color 0.2s;
}

.auth-modal__close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0c0c0c;
}

.auth__header { margin-bottom: 20px; text-align: center; }

.auth__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.auth__subtitle {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.auth__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  margin-bottom: 20px;
}

.auth__tab {
  padding: 9px 12px;
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.auth__tab.is-active {
  background: var(--gold);
  color: #0c0c0c;
}

.auth__pane {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.auth__pane.is-active { display: flex; }

.auth__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.auth__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.auth__input {
  width: 100%;
  box-sizing: border-box;
  height: 46px;                 /* uniform height for ALL inputs */
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  font-family: inherit;
}
.auth__input::placeholder { color: rgba(255, 255, 255, 0.32); }

.auth__input:focus {
  border-color: var(--gold, #c5a059);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.12);
}

.auth__submit {
  margin-top: 4px;
  padding: 13px;
  border-radius: 10px;
  font-size: 14px;
}

.auth__divider {
  position: relative;
  text-align: center;
  margin: 4px 0;
}

.auth__divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.auth__divider span {
  position: relative;
  display: inline-block;
  padding: 0 10px;
  background: #0f0f0f;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth__socials { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.auth__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}

.auth__social:hover {
  border-color: var(--border-gold);
  background: rgba(197, 160, 89, 0.06);
}

/* Mobile modal layout */
@media (max-width: 860px) {
  .video-modal { padding: 0; }

  .video-modal__dialog {
    display: block;
    grid-template-columns: none;
    grid-template-rows: none;
    max-width: 100%;
    width: 100%;
    max-height: 100vh;
    height: 100dvh;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: #000;
    overflow: hidden;
  }

  .video-modal__close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.18);
    z-index: 8;
  }

  .video-modal__main {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1;
  }

  .video-modal__player-wrap {
    width: 100%;
    height: 100%;
    max-height: none;
  }

  .video-modal__player {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
  }

  .vm-reel-hint {
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.5);
  }

  /* gradient overlay for legibility */
  .video-modal__main::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.8) 100%);
    pointer-events: none;
    z-index: 2;
  }

  .video-modal__overlay-info {
    left: 14px;
    right: 80px;
    bottom: 16px;
    padding: 0;
    background: none;
    border-radius: 0;
    z-index: 5;
  }

  .video-modal__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.85);
  }

  .video-modal__price {
    font-size: 14px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.85);
  }

  /* Side becomes an overlay layer over the video */
  .video-modal__side {
    position: absolute;
    inset: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-top: 0;
    border-radius: 0;
    max-height: none;
    min-height: 0;
    pointer-events: none;
    z-index: 6;
    display: block;
  }

  .video-modal__side::before { display: none; }

  /* Author floats above title at bottom-left over video */
  .vm-side__author {
    pointer-events: auto;
    position: absolute;
    left: 14px;
    right: 80px;
    bottom: 72px;
    padding: 0;
    border: none;
    background: none;
    gap: 10px;
    z-index: 7;
  }

  .vm-side__avatar {
    width: 38px;
    height: 38px;
    border: 1.5px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6);
  }

  .vm-side__name {
    color: #fff;
    font-size: 13px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  }

  .vm-side__handle {
    color: rgba(255,255,255,0.9);
    font-size: 11px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  }

  .vm-side__follow {
    padding: 6px 12px;
    font-size: 11px;
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .vm-side__follow:hover {
    background: rgba(255,255,255,0.15);
  }

  /* Vertical action column on right side over video */
  .vm-side__actions {
    pointer-events: auto;
    position: absolute;
    right: 10px;
    bottom: 70px;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    border: none;
    overflow: visible;
    z-index: 7;
  }

  .vm-action {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    gap: 0;
    border-radius: 50%;
    background: rgba(0,0,0,0.42);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    position: relative;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  }

  .vm-action__icon svg {
    width: 22px;
    height: 22px;
    display: block;
  }

  .vm-action:hover {
    background: rgba(0,0,0,0.6);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
  }

  .vm-action.is-active {
    background: rgba(197,160,89,0.2);
    border-color: var(--gold);
    color: var(--gold);
  }

  .vm-action__icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .vm-action__count {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.85);
    white-space: nowrap;
  }

  .vm-action[data-action="share"] .vm-action__count,
  .vm-action[data-action="save"] .vm-action__count {
    font-size: 9px;
  }

  /* Drawer (slide-up bottom sheet) */
  .vm-drawer {
    pointer-events: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 78vh;
    height: 78vh;
    background: #141414;
    border-radius: 20px 20px 0 0;
    transform: translateY(105%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 12;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -12px 40px rgba(0,0,0,0.55);
    border-top: 1px solid rgba(197, 160, 89, 0.18);
  }

  .video-modal.is-comments-open .vm-drawer {
    transform: translateY(0);
  }

  /* Backdrop when drawer is open */
  .video-modal.is-comments-open .video-modal__main::after {
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.8) 100%), rgba(0,0,0,0.5);
  }

  .vm-drawer__head {
    position: relative;
    padding: 16px 18px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .vm-drawer__handle {
    display: block;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.2);
  }

  .vm-drawer__close {
    display: inline-flex;
  }

  .vm-drawer__head .vm-side__heading {
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text);
    margin-top: 4px;
  }

  .vm-side__comments {
    padding: 12px 16px 12px;
  }

  .vm-comments { gap: 14px; }

  .vm-compose {
    padding: 10px 14px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .vm-compose__input {
    padding: 11px 14px;
    font-size: 14px;
  }
}

/* TOP listings */
.top-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.top-card {
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  transition: border-color 0.2s;
}

.top-card:hover {
  border-color: var(--gold);
}

.top-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.top-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ============ KEY BADGE — icon only, color distinguishes tier ============ */
.key-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.2s;
  backdrop-filter: blur(4px);
}
.key-badge:hover { transform: scale(1.1) rotate(-8deg); }
.key-badge i {
  font-size: 18px;
  transform: rotate(-45deg);
  color: #2a1d05;
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
}

.key-badge--floating i {
  font-size: 20px;
}

/* SUPER VIP — Pure shining gold */
.key-badge--super_vip {
  background: radial-gradient(circle at 30% 30%, #ffe89b 0%, #f4c33d 35%, #c5a059 70%, #8b6914 100%);
  box-shadow:
    0 0 0 1.5px #b8923c,
    0 0 14px rgba(244, 195, 61, 0.65),
    inset 0 2px 4px rgba(255,255,255,0.55),
    inset 0 -2px 3px rgba(0,0,0,0.2);
  animation: pulse-gold 2.5s ease-in-out infinite;
}
.key-badge--super_vip i {
  color: #3d2705;
  text-shadow: 0 1px 1px rgba(255,255,255,0.35);
}

/* PLATINUM — Cool icy platinum */
.key-badge--platinum {
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #dde3eb 25%, #a8b0bd 60%, #6c7484 100%);
  box-shadow:
    0 0 0 1.5px #8a93a3,
    0 0 14px rgba(168, 176, 189, 0.6),
    inset 0 2px 4px rgba(255,255,255,0.7),
    inset 0 -2px 3px rgba(0,0,0,0.15);
  animation: pulse-platinum 3s ease-in-out infinite;
}
.key-badge--platinum i {
  color: #2c3340;
  text-shadow: 0 1px 1px rgba(255,255,255,0.5);
}

/* GOLD — Solid warm gold */
.key-badge--gold {
  background: radial-gradient(circle at 30% 30%, #e9c987 0%, #c5a059 50%, #a8843a 100%);
  box-shadow:
    0 0 0 1.5px #a8843a,
    0 3px 10px rgba(197, 160, 89, 0.45),
    inset 0 2px 3px rgba(255,255,255,0.35);
}
.key-badge--gold i {
  color: #2a1d05;
}

/* SILVER — Brushed silver */
.key-badge--silver {
  background: radial-gradient(circle at 30% 30%, #e4e4e4 0%, #b8b8b8 50%, #7a7a7a 100%);
  box-shadow:
    0 0 0 1.5px #7a7a7a,
    0 3px 10px rgba(0, 0, 0, 0.25),
    inset 0 2px 3px rgba(255,255,255,0.4);
}
.key-badge--silver i {
  color: #2a2a2a;
}

/* Floating variant — on top-left of listing photos */
.key-badge--floating {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  width: 38px;
  height: 38px;
}
.key-badge--floating i { font-size: 16px }

/* Pulse animations */
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 1.5px #b8923c, 0 0 14px rgba(244, 195, 61, 0.65), inset 0 2px 4px rgba(255,255,255,0.55), inset 0 -2px 3px rgba(0,0,0,0.2); }
  50% { box-shadow: 0 0 0 1.5px #b8923c, 0 0 22px rgba(244, 195, 61, 0.9), inset 0 2px 4px rgba(255,255,255,0.7), inset 0 -2px 3px rgba(0,0,0,0.2); }
}
@keyframes pulse-platinum {
  0%, 100% { box-shadow: 0 0 0 1.5px #8a93a3, 0 0 14px rgba(168, 176, 189, 0.6), inset 0 2px 4px rgba(255,255,255,0.7), inset 0 -2px 3px rgba(0,0,0,0.15); }
  50% { box-shadow: 0 0 0 1.5px #8a93a3, 0 0 22px rgba(220, 230, 240, 0.85), inset 0 2px 4px rgba(255,255,255,0.85), inset 0 -2px 3px rgba(0,0,0,0.15); }
}

/* Old text-badge fallbacks (keep simple) */
.badge { display:inline-flex; align-items:center; gap:5px; padding:4px 10px; font-size:10px; font-weight:700; letter-spacing:0.06em; border-radius:999px; text-transform:uppercase }
.badge--platinum { background: linear-gradient(135deg, #e5e5e5, #a8b0bd); color: #1a1a1a; }
.badge--super_vip { background: linear-gradient(135deg, #f4d97a, #c5a059); color: #2a1d05; }
.badge--gold { background: linear-gradient(135deg, #a8843a, var(--gold)); color: #1a1408; }
.badge--silver { background: linear-gradient(135deg, #6b6b6b, #9a9a9a); color: #fff; }

.top-card__body {
  padding: 14px 14px 16px;
  background: #111111;
}

.top-card__price {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 4px;
}

.top-card__city {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.top-card__location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
}

.top-card__location svg {
  color: var(--gold);
  flex-shrink: 0;
}

.top-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.top-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
}

.top-card__meta-item svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Apartments grid — 6 per row, 12 total */
.section--apartments {
  padding-bottom: 48px;
}

.apartments-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.apt-card {
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111;
  transition: border-color 0.2s, transform 0.2s;
}

.apt-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.apt-card__link {
  display: block;
}

.apt-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-elevated);
}

.apt-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.apt-card:hover .apt-card__media img {
  transform: scale(1.04);
}

.apt-card__body {
  padding: 10px 11px 12px;
}

.apt-card__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 3px;
}

.apt-card__city {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.apt-card__location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.apt-card__location svg {
  color: var(--gold);
  flex-shrink: 0;
}

.apt-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.apt-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.apt-card__meta-item svg {
  flex-shrink: 0;
  color: var(--text-muted);
}

/* Footer */
.footer {
  margin-top: 20px;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
}

.footer__top {
  padding: 52px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer__tagline {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 280px;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  transition: background 0.2s, color 0.2s;
}

.footer__social-link:hover {
  background: var(--gold);
  color: #0c0c0c;
}

.footer__heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
}

.footer__links li + li {
  margin-top: 10px;
}

.footer__links a {
  font-size: 13px;
  color: var(--text-soft);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__contact {
  list-style: none;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.footer__contact svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: var(--gold);
}

/* Responsive — horizontal scroll on smaller screens */
@media (max-width: 1200px) {
  .nav {
    gap: 14px;
  }

  .nav__link {
    font-size: 12px;
  }
}

@media (max-width: 1280px) {
  .apartments-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .reels-row { grid-template-columns: repeat(5, 1fr); }
  .reels-row > :nth-child(6) { display: none; }
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .apartments-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .reels-row,
  .top-row {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .reels-row::-webkit-scrollbar,
  .top-row::-webkit-scrollbar { display: none; }

  .reel-card {
    flex: 0 0 150px;
    scroll-snap-align: start;
  }

  .top-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
  }

  .quick-cats {
    gap: 24px;
    overflow-x: auto;
    justify-content: flex-start;
    max-width: 100%;
    padding: 0 2px 6px;
    scrollbar-width: thin;
  }
}

@media (max-width: 768px) {
  /* Footer mobile polish */
  .footer__top { padding: 36px 0 24px; }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: left;
  }

  .footer__brand { text-align: center; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .footer__tagline { margin-left: auto; margin-right: auto; max-width: 320px; }
  .footer__social { justify-content: center; gap: 12px; }
  .footer__social-link { width: 42px; height: 42px; }

  .footer__col { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .footer__col:last-child { border-bottom: none; padding-bottom: 0; }

  .footer__heading {
    margin-bottom: 14px;
    padding-bottom: 8px;
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .footer__links li + li { margin-top: 12px; }
  .footer__links a { font-size: 14px; display: inline-block; padding: 2px 0; }
  .footer__contact li { font-size: 14px; }

  [data-theme="light"] .footer__col,
  [data-theme="light"] .footer__brand { border-bottom-color: rgba(255,255,255,0.08); }

  .container {
    padding: 0 14px;
  }

  .header__inner {
    height: 56px;
    gap: 10px;
  }

  .logo {
    font-size: 18px;
    letter-spacing: 0.03em;
  }

  .logo__o {
    width: 15px;
    height: 15px;
    border-width: 1.5px;
  }

  .logo__house {
    width: 8px;
    height: 8px;
  }

  .hero {
    height: auto;
    min-height: 0;
  }

  .hero__content {
    align-items: stretch;
    padding-top: 28px;
    padding-bottom: 32px;
  }

  .hero__stack {
    gap: 20px;
  }

  .hero__text {
    max-width: 100%;
  }

  .apartments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero__title {
    font-size: 32px;
    line-height: 1.15;
    margin-bottom: 8px;
  }

  .hero__subtitle {
    font-size: 12px;
    line-height: 1.55;
  }

  .search-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: linear-gradient(165deg, rgba(22, 22, 22, 0.92) 0%, rgba(10, 10, 10, 0.92) 100%);
    border: 1px solid rgba(197, 160, 89, 0.28);
    border-radius: 18px;
    padding: 10px;
    min-height: auto;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .search-bar__field--full {
    grid-column: 1 / -1;
  }

  .search-bar__divider {
    display: none;
  }

  .search-bar__field {
    min-height: 60px;
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    padding: 16px 12px 6px 38px;
    transition: border-color 0.2s, background 0.2s;
  }

  .search-bar__field:focus-within {
    border-color: var(--gold);
    background: rgba(197, 160, 89, 0.06);
  }

  .search-bar__field::before {
    content: attr(data-label);
    position: absolute;
    left: 38px;
    top: 7px;
    font-size: 9px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .search-bar__field::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.85;
  }

  .search-bar__field[data-label="ქალაქი"]::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M12 21s-7-4.5-7-10a7 7 0 0114 0c0 5.5-7 10-7 10z' stroke='%23c5a059' stroke-width='1.6'/><circle cx='12' cy='11' r='2.5' stroke='%23c5a059' stroke-width='1.6'/></svg>");
  }

  .search-bar__field[data-label="უბანი"]::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M3 10.5L12 3l9 7.5V21H3V10.5z' stroke='%23c5a059' stroke-width='1.6'/><path d='M9 21V12h6v9' stroke='%23c5a059' stroke-width='1.6'/></svg>");
  }

  .search-bar__field[data-label="ფასი"]::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M12 2v20M17 6H9.5a3.5 3.5 0 000 7h5a3.5 3.5 0 010 7H6' stroke='%23c5a059' stroke-width='1.6' stroke-linecap='round'/></svg>");
  }

  .search-bar__field[data-label="ოთახები"]::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M3 18v-3a4 4 0 014-4h10a4 4 0 014 4v3M4 12V9a8 8 0 0116 0v3' stroke='%23c5a059' stroke-width='1.6'/><path d='M7 18h10' stroke='%23c5a059' stroke-width='1.6'/></svg>");
  }

  .search-bar__chevron {
    right: 12px;
    color: var(--gold);
    opacity: 0.7;
  }

  .search-bar__btn {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 50px;
    margin: 4px 0 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #d4b06a 0%, var(--gold) 50%, #a8843a 100%);
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  .search-bar__select {
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
  }

  .quick-cats {
    gap: 12px;
    margin-top: 12px;
    padding-bottom: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .quick-cats__item {
    min-width: 64px;
    gap: 6px;
  }

  .quick-cats__icon {
    width: 42px;
    height: 42px;
    border-radius: 9px;
  }

  .quick-cats__label {
    font-size: 10px;
  }

  .header__cta,
  .header__login {
    font-size: 11px;
    padding: 7px 12px;
  }

  .header__actions { gap: 6px; }
}

@media (max-width: 560px) {
  .hero {
    height: auto;
  }

  .hero__content {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .hero__title {
    font-size: 28px;
  }

  .hero__subtitle {
    max-width: 95%;
  }

  .search-bar {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    padding: 9px;
    border-radius: 16px;
  }

  .search-bar__field {
    min-height: 56px;
    padding: 14px 10px 4px 34px;
    border-radius: 11px;
  }

  .search-bar__field::before {
    left: 34px;
  }

  .search-bar__field::after {
    left: 10px;
    width: 16px;
    height: 16px;
  }

  .search-bar__select {
    font-size: 13px;
  }

  .search-bar__btn {
    min-height: 46px;
    font-size: 13px;
  }

  .header__cta span,
  .header__login span { /* keep, but compact icons-only fallback handled separately */ }

  .header__cta {
    padding: 7px 10px;
  }

  .header__login {
    padding: 7px 10px;
  }

  .section {
    padding-top: 30px;
  }
}

/* Custom luxury cursor */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: none !important;
  }

  .cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000001;
    pointer-events: none;
    mix-blend-mode: normal;
  }

  .cursor__dot,
  .cursor__ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
  }

  .cursor__dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.65);
    transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, opacity 0.25s ease;
  }

  .cursor__ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(197, 160, 89, 0.75);
    background: rgba(197, 160, 89, 0.06);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.25s ease,
      background 0.25s ease,
      opacity 0.25s ease;
  }

  .cursor--hover .cursor__dot {
    width: 4px;
    height: 4px;
    background: #fff;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
  }

  .cursor--hover .cursor__ring {
    width: 52px;
    height: 52px;
    border-color: var(--gold);
    background: rgba(197, 160, 89, 0.12);
  }

  .cursor--click .cursor__ring {
    width: 28px;
    height: 28px;
    border-color: #fff;
    background: rgba(197, 160, 89, 0.25);
  }

  .cursor--click .cursor__dot {
    width: 3px;
    height: 3px;
  }

  .cursor--hidden {
    opacity: 0;
  }

  .cursor--hidden .cursor__dot,
  .cursor--hidden .cursor__ring {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: auto !important;
  }

  .cursor {
    display: none !important;
  }
}

/* Custom gold-circle cursor removed site-wide — classic native cursors only
   (UA arrow on plain elements, pointer where components set it, text on inputs).
   The dormant `.cursor` follower block above never activates because the
   `has-custom-cursor` class is never added by JS. */

/* ============================================ */
/*  APARTMENT DETAIL PAGE                       */
/* ============================================ */

.ad-banner {
  width: 100%;
  padding: 12px 0;
  background: #0a0a0a;
}

.ad-banner__slot {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.06) 0%, rgba(197, 160, 89, 0.02) 100%);
  border: 1px dashed rgba(197, 160, 89, 0.35);
  border-radius: 12px;
  color: var(--text-muted);
}

.ad-banner__slot--vertical { height: 200px; }

.ad-banner__label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(197, 160, 89, 0.65);
  font-weight: 600;
}

.ad-banner--side { padding: 0; background: none; margin-bottom: 18px; }
.ad-banner--side .ad-banner__slot { border-radius: var(--radius-lg); }

/* ===== TIPO CAR banner (detail-page top ad, 1320×90, refined) ===== */
.tipo-banner-link { display: block; text-decoration: none; }
/* Gradient border frame */
.tipo-frame {
  width: 1320px; max-width: 100%;
  padding: 2px; border-radius: 16px;
  background: linear-gradient(120deg, #0D3398 0%, #2B5BD7 38%, #D7172F 100%);
  box-shadow: 0 10px 30px -8px rgba(13,51,152,0.35), 0 2px 6px rgba(16,24,40,0.10);
  transition: box-shadow 0.2s, transform 0.2s;
}
.tipo-banner-link:hover .tipo-frame {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px -8px rgba(13,51,152,0.45), 0 2px 8px rgba(16,24,40,0.14);
}
.tipo-banner {
  height: 86px; position: relative; overflow: hidden;
  border-radius: 14px;
  background: radial-gradient(120% 160% at 0% 0%, #FFFFFF 0%, #F6F8FC 55%, #EEF2FA 100%);
  box-sizing: border-box; display: flex; align-items: center;
  font-family: 'Noto Sans Georgian', sans-serif;
}
/* Left accent */
.tipo-left { display: flex; align-items: center; gap: 24px; padding-left: 36px; z-index: 2; }
.tipo-logo {
  font-family: 'Archivo', sans-serif; font-weight: 900;
  font-size: 27px; letter-spacing: 0.4px; white-space: nowrap; line-height: 1;
  display: flex; align-items: center; gap: 7px;
}
.tipo-logo .t-blue { color: #0D3398; }
.tipo-logo .t-red  { color: #D7172F; }
.tipo-dot { width: 7px; height: 7px; border-radius: 50%; background: #D7172F; box-shadow: 0 0 0 3px rgba(215,23,47,0.15); }
.tipo-divider { width: 1px; height: 40px; background: linear-gradient(#0D3398, #D7172F); opacity: 0.35; }
/* Tagline — word reveal + glint */
.tipo-tagline {
  position: relative; font-weight: 600; font-size: 17.5px;
  white-space: nowrap; color: #16233F;
}
.tipo-tagline .word {
  display: inline-block; opacity: 0;
  transform: translateY(10px); filter: blur(4px);
  animation: tipoWord 0.7s cubic-bezier(0.22,0.61,0.36,1) forwards;
}
.tipo-tagline::after {
  content: ''; position: absolute; top: -6px; bottom: -6px; left: -60px; width: 50px;
  background: linear-gradient(100deg, transparent, rgba(43,91,215,0.55), transparent);
  filter: blur(6px); transform: skewX(-18deg);
  animation: tipoGlint 4.6s ease-in-out 1.6s infinite;
}
@keyframes tipoWord { to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes tipoGlint {
  0%   { left: -60px; opacity: 0; }
  12%  { opacity: 1; }
  34%  { left: 102%; opacity: 0; }
  100% { left: 102%; opacity: 0; }
}
/* Right photo block */
.tipo-photo-wrap { margin-left: auto; align-self: stretch; flex: none; position: relative; width: 400px; }
.tipo-photo-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0D3398 0%, #163F9E 100%);
  clip-path: polygon(64px 0, 100% 0, 100% 100%, 18px 100%);
}
.tipo-photo-edge { position: absolute; top: -6px; bottom: -6px; left: 44px; width: 10px; background: #D7172F; transform: skewX(-20deg); }
.tipo-photo-edge.thin { left: 60px; width: 3px; background: rgba(255,255,255,0.55); }
.tipo-photo {
  position: absolute; top: 3px; right: 56px; width: 220px; height: 80px; object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.28));
  animation: tipoCar 0.9s cubic-bezier(0.22,0.61,0.36,1) 0.2s both;
}
@keyframes tipoCar {
  from { opacity: 0; transform: translateX(26px); }
  to   { opacity: 1; transform: translateX(0); }
}

@media (max-width: 700px) {
  .tipo-frame { border-radius: 13px; }
  .tipo-banner { border-radius: 11px; height: 78px; }
  .tipo-left { gap: 12px; padding-left: 16px; }
  .tipo-logo { font-size: 20px; }
  .tipo-divider { height: 30px; }
  .tipo-tagline { font-size: 13px; }
  .tipo-photo-wrap { width: 180px; }
  .tipo-photo { width: 130px; right: 16px; top: 6px; height: 64px; }
  .tipo-photo-bg { clip-path: polygon(40px 0, 100% 0, 100% 100%, 12px 100%); }
}
@media (max-width: 460px) {
  .tipo-photo-wrap { display: none; }
  .tipo-tagline { white-space: normal; }
}

.apt-detail { padding-bottom: 32px; }

.apt-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  padding-top: 24px;
}

.apt-detail__main { min-width: 0; }

.apt-detail__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.apt-detail__breadcrumbs a { color: var(--text-muted); transition: color 0.2s; }
.apt-detail__breadcrumbs a:hover { color: var(--gold); }
.apt-detail__crumb-sep { color: rgba(255,255,255,0.18); }

.apt-detail__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 8px;
}

.apt-detail__subtitle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 20px;
}

.apt-detail__subtitle svg { flex-shrink: 0; }
.apt-detail__sub-divider { color: rgba(255,255,255,0.2); }

.apt-detail__id {
  color: var(--gold);
  font-weight: 600;
  font-size: 12px;
  padding: 3px 8px;
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 999px;
}

.apt-detail__views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-soft);
}

.apt-detail__views svg { color: var(--gold); }

.gallery {
  position: relative;
  margin-bottom: 16px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
}

.gallery__cell {
  position: relative;
  padding: 0;
  margin: 0;
  border: none;
  background: #111;
  overflow: hidden;
  cursor: pointer;
}

.gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.gallery__cell:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.gallery__cell--main {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.gallery__more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  pointer-events: none;
  transition: background 0.2s;
}

.gallery__cell:hover .gallery__more { background: rgba(0,0,0,0.5); }

.gallery__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 6px;
  background: linear-gradient(135deg, #5b7a9d, #8fa8c4);
  color: #fff;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
}

.gallery__view-all {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  z-index: 3;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.gallery__view-all:hover {
  background: var(--gold);
  color: #0c0c0c;
  border-color: var(--gold);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox__img {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
  transition: opacity 0.2s;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 50%;
  transition: background 0.2s, border-color 0.2s;
}

.lightbox__close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0c0c0c;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 50%;
  transition: background 0.2s, border-color 0.2s;
}

.lightbox__nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0c0c0c;
}

.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.lightbox__counter span:first-child { color: var(--gold); }

.info-card {
  padding: 18px 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.info-card--wide {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}

.info-card__col { min-width: 0; }
.info-card__col--price { padding-right: 22px; border-right: 1px solid rgba(255,255,255,0.06); }
.info-card__col--actions { padding-left: 4px; }

.info-card__price { font-size: 26px; font-weight: 700; color: var(--gold); letter-spacing: -0.01em; line-height: 1.1; }
.info-card__price-sqm { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.info-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  margin: 0;
}

.info-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
  flex-shrink: 0;
}

.info-card__author-info { min-width: 0; flex: 1; }
.info-card__author-name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.info-card__author-role { font-size: 11px; color: var(--text-muted); }

.info-card__all-listings {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--gold);
  font-weight: 500;
  transition: opacity 0.2s;
}

.info-card__all-listings:hover { opacity: 0.85; }

.info-card__contact {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.info-card__call-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
  display: flex;
}

.info-card__call { flex: 1; min-width: 0; }

.info-card__call {
  width: 100%;
  padding: 13px;
  gap: 8px;
  font-size: 14px;
  border-radius: 10px;
}

.info-card__show-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  background: var(--gold);
  color: #0c0c0c;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.info-card__show-number:hover { background: var(--gold-hover); }

.info-card__message {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.info-card__message:hover {
  border-color: var(--border-gold);
  background: rgba(197, 160, 89, 0.06);
}

.info-card__col--actions {
  display: flex;
  gap: 6px;
  padding-top: 0;
  border-top: none;
}

.info-card__action {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 64px;
  padding: 8px 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 500;
  border-radius: 10px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.info-card__action:hover { color: var(--text); border-color: var(--border-gold); }
.info-card__action.is-active { color: var(--gold); border-color: var(--gold); background: rgba(197, 160, 89, 0.08); }
.info-card__action svg { color: inherit; }

.apt-detail__section {
  margin-bottom: 24px;
  padding: 22px;
  background: var(--bg-elevated);
  border: 1px solid rgba(197, 160, 89, 0.18);
  border-radius: var(--radius-lg);
}

.apt-detail__h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.apt-detail__h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 22px 0 14px;
}

/* Spec chips — clean & minimal, divided columns (no boxy borders) */
.area-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
}

.area-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 18px;
  background: transparent;
  border: none;
  border-radius: 0;
  position: relative;
}
.area-chip + .area-chip::before {
  content: "";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  height: 30px; width: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.area-chip__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(197, 160, 89, 0.1);
  border: none;
  flex-shrink: 0;
}
.area-chip__icon svg { width: 19px; height: 19px; }

.area-chip__label { font-size: 11px; color: var(--text-muted); margin-bottom: 3px; letter-spacing: 0.01em; }
.area-chip__value { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1; }

.description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
  max-height: 140px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease;
}

.description.is-expanded { max-height: 2000px; }
.description p + p { margin-top: 10px; }

.description:not(.is-expanded)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--bg-elevated));
  pointer-events: none;
}

.description__more {
  margin-top: 12px;
  padding: 9px 18px;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}

.description__more:hover { background: rgba(197, 160, 89, 0.08); }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 13px;
}

.detail-row:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.04); padding-right: 16px; }
.detail-row:nth-child(even) { padding-left: 16px; }
.detail-row span { color: var(--text-muted); }
.detail-row strong { color: var(--text); font-weight: 600; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.feature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.feature:hover {
  border-color: var(--border-gold);
  background: rgba(197, 160, 89, 0.04);
}

.feature svg { flex-shrink: 0; }

.map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
}

.map-frame {
  display: block;
  width: 100%;
  height: 380px;
  border: none;
  filter: invert(0.9) hue-rotate(180deg) brightness(0.95) contrast(0.95) saturate(0.7);
}

.apt-detail__sidebar { min-width: 0; }

/* Author card in sidebar */
.author-card {
  padding: 18px;
  background: linear-gradient(165deg, rgba(197,160,89,0.06) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
}

.author-card__price-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* New layout: actions on top, price block below */
.author-card__quick-actions--top {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.author-card__quick-actions--left { justify-content: flex-start; }
.author-card__price-block {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.author-card__price {
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.01em;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.author-card__price-sqm {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.author-card__quick-actions {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.author-card__quick-actions .info-card__action {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 8px;
}

.author-card__quick-actions .info-card__action span { display: none; }

.author-card__top {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 14px;
}

.author-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.author-card__info { min-width: 0; flex: 1; }

.author-card__name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.author-card__role {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.author-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-soft);
}

.author-card__stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.author-card__stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 4px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
}

.author-card__stats strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}

.author-card__stats span {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.author-card__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.author-card__contact .info-card__call-wrap {
  width: 100%;
  min-width: 0;
}

.author-card__contact .info-card__call {
  width: 100%;
  padding: 12px;
  font-size: 14px;
}

.author-card__contact .info-card__message {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.author-card__contact .info-card__message:hover {
  border-color: var(--border-gold);
  background: rgba(197, 160, 89, 0.06);
}

.author-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  transition: background 0.2s;
}

.author-card__link:hover { background: rgba(197,160,89,0.08); }

.apt-detail__sidebar-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.similar-list { display: flex; flex-direction: column; gap: 12px; }

.similar-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  padding: 8px;
  background: var(--bg-elevated);
  border: 1px solid rgba(197, 160, 89, 0.18);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}

.similar-item:hover { border-color: var(--gold); transform: translateY(-1px); }

.similar-item__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}

.similar-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.similar-item__body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.similar-item__price { font-size: 14px; font-weight: 700; color: var(--gold); margin-bottom: 3px; }
.similar-item__title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.similar-item__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.section--supervip { padding-bottom: 12px; }

.section__title--supervip {
  background: linear-gradient(135deg, #d4b06a 0%, #c5a059 50%, #a8843a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.supervip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.supervip-card {
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(165deg, #1a1408 0%, #0c0c0c 100%);
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
}

.supervip-card:hover { border-color: var(--gold); transform: translateY(-3px); }

.supervip-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.supervip-card__media img { width: 100%; height: 100%; object-fit: cover; }

.badge--supervip {
  background: linear-gradient(135deg, #d4b06a, #a8843a);
  color: #1a1408;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.45);
}

.supervip-card__body { padding: 14px; }

.supervip-card__price {
  font-size: 17px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 3px;
}

.supervip-card__city { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }

.supervip-card__location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
}

.supervip-card__location svg { color: var(--gold); flex-shrink: 0; }

.supervip-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(197, 160, 89, 0.12);
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .apt-detail__layout { grid-template-columns: 1fr; }
  .supervip-row { grid-template-columns: repeat(3, 1fr); }

  .info-card--wide {
    grid-template-columns: auto 1fr;
    gap: 18px;
  }

  .info-card__col--price {
    padding-right: 18px;
  }

  .info-card__col--actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding-left: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
}

@media (max-width: 860px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-row:nth-child(odd) { border-right: none; padding-right: 0; }
  .detail-row:nth-child(even) { padding-left: 0; }
  .area-chips { grid-template-columns: repeat(2, 1fr); }
  .supervip-row { grid-template-columns: repeat(2, 1fr); }
  .apt-detail__title { font-size: 20px; }
  .apt-detail__section { padding: 16px; }

  .gallery__grid { aspect-ratio: 4 / 3; }

  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}

@media (max-width: 720px) {
  .info-card--wide { grid-template-columns: 1fr; }
  .info-card__col--price,
  .info-card__col--author {
    padding-bottom: 14px;
  }
  .info-card__contact { flex-wrap: wrap; }
  .info-card__call-wrap { min-width: 100%; }
}

/* ============================================ */
/*  BECOME AGENT PAGE                           */
/* ============================================ */

.agent-apply { padding-bottom: 40px; }

.agent-apply__hero {
  padding: 44px 0 28px;
  text-align: center;
  background: linear-gradient(180deg, rgba(197,160,89,0.06) 0%, transparent 100%);
  border-bottom: 1px solid var(--line, rgba(255,255,255,0.04));
}

.agent-apply__title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.agent-apply__sub {
  max-width: 620px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
}

.agent-apply__benefits { padding: 32px 0; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.benefit-card {
  padding: 24px 20px;
  background: var(--bg-elevated);
  border: 1px solid rgba(197,160,89,0.18);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}

.benefit-card:hover { border-color: var(--gold); transform: translateY(-4px); }

.benefit-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, rgba(197,160,89,0.18), rgba(197,160,89,0.06));
  border: 1px solid var(--border-gold);
  color: var(--gold);
  border-radius: 14px;
  font-size: 22px;
  margin-bottom: 14px;
}

.benefit-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.benefit-card p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

[data-theme="light"] .benefit-card { background: #fff; box-shadow: 0 4px 12px rgba(15,23,42,0.05); }

.agent-apply__how { padding: 28px 0; }

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
  position: relative;
}

.how-step {
  text-align: center;
  padding: 22px 16px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 2;
}

.how-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #d4b06a, var(--gold), #a8843a);
  color: #0c0c0c;
  font-weight: 800;
  font-size: 16px;
  border-radius: 50%;
  margin-bottom: 12px;
  box-shadow: 0 6px 16px rgba(197,160,89,0.35);
}

.how-step h3 { font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.how-step p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

[data-theme="light"] .how-step { background: #fff; border-color: rgba(15,23,42,0.08); box-shadow: 0 4px 12px rgba(15,23,42,0.04); }

/* Form section */
.agent-apply__form-section { padding: 28px 0; }

.agent-apply__form-wrap { max-width: 860px; }

.agent-apply__form-head { text-align: center; margin-bottom: 28px; }

.agent-apply__form-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.agent-apply__form-sub { font-size: 13px; color: var(--text-muted); }

/* Steps indicator */
.agent-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 22px;
  padding: 0 12px;
}

.agent-steps__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.agent-steps__num {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  font-weight: 800;
  border-radius: 50%;
  border: 2px solid transparent;
}

.agent-steps__item.is-active .agent-steps__num,
.agent-steps__item.is-done .agent-steps__num {
  background: var(--gold);
  color: #0c0c0c;
}

.agent-steps__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.agent-steps__item.is-active .agent-steps__label { color: var(--gold); }

.agent-steps__bar {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.08);
  margin: 0 8px;
  margin-bottom: 24px;
}

/* Testimonials */
.agent-apply__testimonials { padding: 36px 0; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.testimonial {
  padding: 22px;
  background: var(--bg-elevated);
  border: 1px solid rgba(197,160,89,0.18);
  border-radius: var(--radius-lg);
}

[data-theme="light"] .testimonial { background: #fff; box-shadow: 0 4px 12px rgba(15,23,42,0.05); }

.testimonial__stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 12px; font-size: 13px; }

.testimonial__text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__author img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--gold); }
.testimonial__author strong { display: block; font-size: 13px; font-weight: 700; }
.testimonial__author span { font-size: 11px; color: var(--text-muted); }

.agent-apply__success {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
}

[data-theme="light"] .agent-apply__success { background: #fff; }

/* ============================================ */
/*  REFUND PAGE EXTRAS                          */
/* ============================================ */

.refund-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
  padding: 20px;
  background: linear-gradient(165deg, rgba(197,160,89,0.06) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
}

[data-theme="light"] .refund-summary { background: linear-gradient(165deg, rgba(197,160,89,0.08) 0%, #fff 100%); }

.refund-summary__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.refund-summary__item i { color: var(--gold); font-size: 20px; margin-bottom: 4px; }
.refund-summary__item strong { font-size: 20px; font-weight: 800; color: var(--gold); letter-spacing: -0.01em; }
.refund-summary__item span { font-size: 12px; color: var(--text-muted); }

.refund-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 22px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
}

[data-theme="light"] .refund-table { background: #fff; border-color: rgba(15,23,42,0.08); }

.refund-table th,
.refund-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

[data-theme="light"] .refund-table th,
[data-theme="light"] .refund-table td { border-bottom-color: rgba(15,23,42,0.05); }

.refund-table thead th {
  background: rgba(197,160,89,0.06);
  color: var(--gold);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.refund-table tbody tr:last-child td { border-bottom: none; }

/* Responsive */
@media (max-width: 1024px) {
  .benefits-grid, .how-steps { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .agent-apply__title { font-size: 26px; }
  .benefits-grid, .how-steps { grid-template-columns: 1fr; }
  .refund-summary { grid-template-columns: 1fr; }
  .agent-steps__label { display: none; }
}

/* ============================================ */
/*  CONTACT PAGE                                */
/* ============================================ */

.contact-page { padding-bottom: 40px; }

.contact-hero {
  padding: 48px 0 36px;
  text-align: center;
  background: linear-gradient(180deg, rgba(197,160,89,0.04) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.contact-hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 5px 12px;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  background: rgba(197,160,89,0.05);
}

.contact-hero__title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
}

.contact-hero__subtitle {
  max-width: 620px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-soft);
}

/* Quick contact tiles */
.contact-quick {
  padding: 30px 0 10px;
}

.contact-quick__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.contact-quick__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: var(--bg-elevated);
  border: 1px solid rgba(197,160,89,0.2);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.contact-quick__item:not(.contact-quick__item--static):hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  background: linear-gradient(165deg, rgba(197,160,89,0.06) 0%, var(--bg-elevated) 100%);
}

.contact-quick__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(197,160,89,0.08);
  border: 1px solid rgba(197,160,89,0.22);
  color: var(--gold);
}

.contact-quick__label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.contact-quick__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.contact-quick__sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* Main grid: form + info */
.contact-main {
  padding: 36px 0 20px;
}

.contact-main__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-section__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.contact-section__subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

/* Form */
.contact-form-wrap {
  padding: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-form__input {
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
  width: 100%;
}

.contact-form__input::placeholder { color: rgba(255,255,255,0.3); }

.contact-form__input:focus {
  border-color: var(--gold);
  background: rgba(197,160,89,0.04);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

.contact-form__select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M6 9l6 6 6-6' stroke='%23c5a059' stroke-width='2' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 38px;
}

.contact-form__select option { background: #1a1a1a; color: var(--text); }

.contact-form__check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 2px;
}

.contact-form__check input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

.contact-form__check a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form__submit {
  align-self: flex-start;
  margin-top: 6px;
  padding: 13px 28px;
  font-size: 14px;
  border-radius: 10px;
  gap: 8px;
}

/* Info side */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info__block {
  padding: 20px;
  background: var(--bg-elevated);
  border: 1px solid rgba(197,160,89,0.18);
  border-radius: var(--radius-lg);
}

.contact-info__heading {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.contact-info__line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}

.contact-info__line svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.contact-info__sub {
  margin-top: 8px;
  padding-left: 26px;
  font-size: 11px;
  color: var(--text-muted);
}

.contact-info__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text);
  transition: color 0.2s;
}

.contact-info__link + .contact-info__link {
  border-top: 1px solid rgba(255,255,255,0.04);
}

.contact-info__link svg { color: var(--gold); flex-shrink: 0; }
.contact-info__link:hover { color: var(--gold); }

.contact-info__socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.contact-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.contact-social svg { color: var(--gold); flex-shrink: 0; }

.contact-social:hover {
  border-color: var(--gold);
  background: rgba(197,160,89,0.06);
  color: var(--gold);
}

/* Map */
.contact-map-section { padding: 14px 0 32px; }

.contact-map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
}

.contact-map-frame {
  display: block;
  width: 100%;
  height: 460px;
  border: none;
  filter: invert(0.9) hue-rotate(180deg) brightness(0.95) contrast(0.95) saturate(0.7);
}

.contact-map-pin {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--gold);
  border-radius: 10px;
  color: #0c0c0c;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.contact-map-pin svg { flex-shrink: 0; }
.contact-map-pin p { font-size: 13px; font-weight: 700; }
.contact-map-pin span { font-size: 11px; opacity: 0.85; }
.contact-map-pin div { display: flex; flex-direction: column; line-height: 1.3; }

/* Responsive */
@media (max-width: 1024px) {
  .contact-quick__grid { grid-template-columns: repeat(2, 1fr); }
  .contact-main__grid { grid-template-columns: 1fr; }
  .contact-hero__title { font-size: 28px; }
}

@media (max-width: 768px) {
  .contact-hero { padding: 32px 0 24px; }
  .contact-hero__title { font-size: 24px; }
  .contact-form-wrap { padding: 18px; }
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-info__socials { grid-template-columns: 1fr; }
  .contact-map-frame { height: 360px; }
  .contact-map-pin { top: 12px; left: 12px; padding: 8px 12px; }
}

@media (max-width: 560px) {
  .contact-quick__grid { grid-template-columns: 1fr; }
  .contact-form__submit { width: 100%; justify-content: center; }
  .contact-map-frame { height: 300px; }
}

@media (max-width: 560px) {
  .ad-banner__slot { height: 70px; }
  .info-card { padding: 14px; }
  /* Additional features: keep side by side (2 columns) to save space */
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .feature { font-size: 12px !important; padding: 9px 10px !important; }
  /* Spec chips: 2×2 grid with clean internal dividers */
  .area-chips { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .area-chip { padding: 13px 12px; gap: 9px; }
  .area-chip:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); }
  .area-chip:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.07); }
  .area-chip + .area-chip::before { display: none; }   /* use real borders instead */
  .area-chip__icon { width: 32px; height: 32px; }
  .area-chip__icon svg { width: 16px; height: 16px; }
  .area-chip__label { font-size: 10.5px; }
  .area-chip__value { font-size: 15px; }
  /* SUPER VIP listings: 2 per row on phones */
  .supervip-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .supervip-row .apt-card__body { padding: 10px !important; }
  .supervip-row .apt-card__price { font-size: 14px !important; }
  .supervip-row .apt-card__city,
  .supervip-row .apt-card__location { font-size: 11px !important; }
  .supervip-row .apt-card__meta { font-size: 10px !important; gap: 7px !important; }
  .map-frame { height: 280px; }

  .gallery__grid {
    aspect-ratio: 4 / 3;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.4fr 1fr 1fr;
  }

  .gallery__cell--main {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .gallery__cell:nth-child(4),
  .gallery__cell:nth-child(5) { display: none; }

  .gallery__view-all {
    bottom: 10px;
    right: 10px;
    padding: 7px 12px;
    font-size: 12px;
  }

  .info-card__col--actions { justify-content: space-between; }
  .info-card__action { flex: 1; }
}

/* ============================================ */
/*  ADD LISTING PAGE                            */
/* ============================================ */

.add-page { padding: 36px 0 40px; }

.add-page__head { text-align: center; margin-bottom: 32px; }

.add-page__eyebrow {
  display: inline-block;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(197,160,89,0.06);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  margin-bottom: 14px;
}

.add-page__title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.add-page__subtitle {
  max-width: 580px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

.add-step { display: none; }
.add-step.add-step--active { display: block; }

.add-step__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.add-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: #0c0c0c;
  font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
}

.add-step__title { font-size: 22px; font-weight: 700; }

.add-step__back {
  margin-left: auto;
  padding: 7px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
}

.add-step__back:hover { background: rgba(255,255,255,0.08); }

.type-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.type-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 14px 22px;
  background: var(--bg-elevated);
  border: 1px solid rgba(197,160,89,0.18);
  color: var(--text);
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.type-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  background: linear-gradient(165deg, rgba(197,160,89,0.06) 0%, var(--bg-elevated) 100%);
}

.type-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(197,160,89,0.08);
  border: 1px solid rgba(197,160,89,0.22);
  color: var(--gold);
  border-radius: 14px;
}

.type-card__title { font-size: 15px; font-weight: 700; }
.type-card__sub { font-size: 11px; color: var(--text-muted); }

.type-card--reels {
  background: linear-gradient(165deg, rgba(197,160,89,0.08) 0%, var(--bg-elevated) 100%);
  border-color: var(--border-gold);
}

.type-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--gold);
  color: #0c0c0c;
  border-radius: 999px;
}

.add-card {
  padding: 22px;
  background: var(--bg-elevated);
  border: 1px solid rgba(197,160,89,0.18);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.add-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.add-card__hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.add-card--danger { border-color: rgba(255,107,107,0.25); }

.add-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field--full { grid-column: 1 / -1; }

.field__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field__input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.field__input:focus {
  border-color: var(--gold);
  background: rgba(197,160,89,0.04);
}

.field__input::placeholder { color: rgba(255,255,255,0.3); }

select.field__input {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M6 9l6 6 6-6' stroke='%23c5a059' stroke-width='2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 34px;
  cursor: pointer;
}

select.field__input option { background: #1a1a1a; color: var(--text); }

.field__textarea { resize: vertical; min-height: 100px; line-height: 1.5; }

.field__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.field__row .field__input { flex: 1; }

.field__sep { color: var(--text-muted); font-weight: 700; }

.upload-zone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
  background: rgba(197,160,89,0.03);
  border: 2px dashed var(--border-gold);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background-size: cover;
  background-position: center;
  min-height: 180px;
}

.upload-zone:hover { border-color: var(--gold); background: rgba(197,160,89,0.06); }

.upload-zone--multi { margin-top: 12px; min-height: 100px; padding: 20px; }

.upload-zone--video { min-height: 240px; }

.upload-zone--filled {
  border-style: solid;
  border-color: var(--gold);
  min-height: 200px;
  background-color: #000;
}

.upload-zone--filled .upload-zone__placeholder {
  display: none;
}

.upload-zone__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-zone__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  pointer-events: none;
}

.upload-zone__icon {
  color: var(--gold);
  margin-bottom: 4px;
}

.upload-zone__title { font-size: 14px; font-weight: 700; color: var(--text); }
.upload-zone__sub { font-size: 12px; color: var(--text-muted); }

.video-preview {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9/16;
  margin: 12px auto 0;
  display: block;
  border-radius: var(--radius-lg);
  background: #000;
}

.photo-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.photo-thumb {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-gold);
}

.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }

.photo-thumb__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
}

.photo-thumb__remove:hover { background: #ff6b6b; }

.check-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.check:hover { border-color: var(--border-gold); }
.check input { accent-color: var(--gold); width: 16px; height: 16px; }
.check input:checked + span { color: var(--gold); font-weight: 600; }

.check__inline {
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
}

.add-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 18px 0;
}

.add-actions__submit, .add-actions__draft {
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 14px;
}

.add-actions__submit { gap: 8px; }

.btn--sm { padding: 7px 12px; font-size: 12px; }

/* ============================================ */
/*  AGENT PAGE                                  */
/* ============================================ */

.agent-hero {
  padding: 36px 0 28px;
  background: linear-gradient(180deg, rgba(197,160,89,0.05) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.agent-hero__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}

.agent-hero__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.agent-hero__avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 8px 30px rgba(197,160,89,0.25);
}

.agent-hero__online {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  background: #3b8a4e;
  border: 3px solid var(--bg);
  border-radius: 50%;
}

.agent-hero__role {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(197,160,89,0.08);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.agent-hero__name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.agent-hero__bio {
  max-width: 580px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}

.agent-hero__stats {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.agent-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  min-width: 90px;
}

.agent-stat strong { font-size: 18px; font-weight: 800; color: var(--gold); }
.agent-stat span { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }

.agent-hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.agent-hero__actions .btn { padding: 10px 18px; border-radius: 10px; gap: 8px; }

.agent-listings { padding: 32px 0 40px; }

.agent-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.agent-tabs::-webkit-scrollbar { display: none; }

.agent-tab {
  padding: 9px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.agent-tab:hover { color: var(--text); border-color: rgba(255,255,255,0.15); }
.agent-tab.is-active { background: var(--gold); border-color: var(--gold); color: #0c0c0c; }

/* ============================================ */
/*  DOC PAGES (FAQ, About, Terms, Community)    */
/* ============================================ */

.doc-page { padding-bottom: 40px; }

.doc-hero {
  padding: 44px 0 32px;
  text-align: center;
  background: linear-gradient(180deg, rgba(197,160,89,0.04) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.doc-hero__eyebrow {
  display: inline-block;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(197,160,89,0.06);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  margin-bottom: 14px;
}

.doc-hero__title { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.doc-hero__subtitle { max-width: 580px; margin: 0 auto; color: var(--text-soft); font-size: 14px; line-height: 1.6; }

.doc-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 480px;
  margin: 22px auto 0;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
}

.doc-search input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}

.doc-body { padding-top: 32px; }

.doc-body__grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: start;
}

.doc-toc {
  position: sticky;
  top: 16px;
  padding: 18px;
  background: var(--bg-elevated);
  border: 1px solid rgba(197,160,89,0.18);
  border-radius: var(--radius-lg);
}

.doc-toc h3 {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.doc-toc ul { list-style: none; }
.doc-toc li { margin: 4px 0; }
.doc-toc a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-soft);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.doc-toc a:hover { background: rgba(197,160,89,0.06); color: var(--gold); }

.doc-content { min-width: 0; }

.doc-h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 14px;
  letter-spacing: -0.01em;
}

.doc-h2:first-child { margin-top: 0; }

.faq {
  margin-bottom: 8px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  transition: border-color 0.2s;
}

.faq[open] { border-color: var(--border-gold); }

.faq summary {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 12px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.2s;
}

.faq[open] summary::after { content: "−"; }

.faq > div {
  padding: 0 18px 16px;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.65;
}

.doc-prose p { font-size: 14px; line-height: 1.7; color: var(--text-soft); margin-bottom: 12px; }
.doc-prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.doc-prose__contact { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.06); }

.doc-list {
  list-style: none;
  margin: 6px 0 18px;
}

.doc-list li {
  position: relative;
  padding: 6px 0 6px 22px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.doc-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* About page */
.about-stats { padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.about-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.about-stat {
  text-align: center;
  padding: 18px;
  background: var(--bg-elevated);
  border: 1px solid rgba(197,160,89,0.18);
  border-radius: var(--radius-lg);
}
.about-stat strong { display: block; font-size: 26px; font-weight: 800; color: var(--gold); margin-bottom: 4px; }
.about-stat span { font-size: 12px; color: var(--text-muted); }

.about-mission { padding: 44px 0; }
.about-mission__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.about-mission__title { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 18px; }
.about-mission__text { font-size: 14px; color: var(--text-soft); line-height: 1.7; margin-bottom: 14px; }
.about-mission__visual img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border-gold); }

.about-values { padding: 32px 0 44px; }
.about-values__title { font-size: 24px; font-weight: 800; text-align: center; margin-bottom: 28px; }
.about-values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-card {
  padding: 22px;
  background: var(--bg-elevated);
  border: 1px solid rgba(197,160,89,0.18);
  border-radius: var(--radius-lg);
  text-align: center;
}
.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(197,160,89,0.08);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  margin-bottom: 14px;
}
.value-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.value-card p { font-size: 12px; color: var(--text-muted); line-height: 1.55; }

.about-cta {
  padding: 44px 0;
  background: linear-gradient(165deg, rgba(197,160,89,0.08) 0%, var(--bg-elevated) 100%);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}
.about-cta__inner { text-align: center; }
.about-cta h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.about-cta p { color: var(--text-soft); margin-bottom: 22px; }
.about-cta__buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ============================================ */
/*  PROFILE PAGE                                */
/* ============================================ */

.profile-page { padding: 28px 0 40px; }

.profile-page__grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
}

.profile-sidebar {
  position: sticky;
  top: 16px;
  align-self: start;
}

.profile-sidebar__user {
  padding: 20px;
  background: linear-gradient(165deg, rgba(197,160,89,0.06) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: 14px;
}

.profile-sidebar__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--gold);
  margin: 0 auto 12px;
  display: block;
}

.profile-sidebar__name { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.profile-sidebar__email { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.profile-sidebar__badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 600;
  color: var(--gold);
  background: rgba(197,160,89,0.08);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.profile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
}

.profile-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: transparent;
  border: none;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s, color 0.2s;
}

.profile-nav__item:hover { background: rgba(255,255,255,0.04); color: var(--text); }

.profile-nav__item.is-active {
  background: rgba(197,160,89,0.1);
  color: var(--gold);
}

.profile-nav__item.is-active svg { color: var(--gold); }

.profile-nav__count {
  margin-left: auto;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border-radius: 999px;
}

.profile-nav__count--alert {
  background: var(--gold);
  color: #0c0c0c;
}

.profile-nav__item--danger { color: #ff6b6b; }

.profile-content { min-width: 0; }

.profile-pane { display: none; }
.profile-pane.is-active { display: block; }

.profile-pane__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.profile-pane__title { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.profile-pane__sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.my-listings { display: flex; flex-direction: column; gap: 12px; }

.my-listing {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 16px;
  padding: 12px;
  background: var(--bg-elevated);
  border: 1px solid rgba(197,160,89,0.18);
  border-radius: var(--radius-lg);
  align-items: center;
}

.my-listing > img { width: 140px; height: 100px; object-fit: cover; border-radius: 8px; }

.my-listing__status {
  display: inline-block;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 6px;
}

.my-listing__status--active { background: rgba(59,138,78,0.15); color: #6ed080; }
.my-listing__status--expired { background: rgba(255,107,107,0.12); color: #ff8b8b; }

.my-listing h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.my-listing__meta { font-size: 12px; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.my-listing__stats { font-size: 11px; color: var(--text-muted); }

.my-listing__actions { display: flex; flex-direction: column; gap: 6px; }

.msg-list { display: flex; flex-direction: column; gap: 10px; }

.msg {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  padding: 14px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  align-items: center;
  transition: border-color 0.2s, background 0.2s;
}

.msg:hover { border-color: var(--border-gold); }
.msg--new { border-color: var(--border-gold); background: linear-gradient(165deg, rgba(197,160,89,0.04) 0%, var(--bg-elevated) 100%); }

.msg > img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.msg__head { display: flex; gap: 8px; align-items: baseline; margin-bottom: 3px; }
.msg__head strong { font-size: 13px; font-weight: 700; }
.msg__head span { font-size: 11px; color: var(--text-muted); }
.msg__about { font-size: 11px; color: var(--gold); margin-bottom: 4px; }
.msg__text { font-size: 13px; color: var(--text-soft); line-height: 1.45; }

.report-list { display: flex; flex-direction: column; gap: 12px; }

.report {
  padding: 18px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,107,107,0.22);
  border-radius: var(--radius-lg);
}

.report__status {
  display: inline-block;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 10px;
}

.report__status--review { background: rgba(255,193,7,0.12); color: #ffc857; }
.report h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.report__meta { font-size: 11px; color: var(--text-muted); margin-bottom: 10px; }
.report__reason { font-size: 13px; color: var(--text-soft); margin-bottom: 8px; }
.report__msg { font-size: 12px; color: var(--text-muted); line-height: 1.5; padding: 10px 14px; background: rgba(0,0,0,0.2); border-radius: 8px; margin-bottom: 12px; }
.report__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ============================================ */
/*  PROFILE — BOOKINGS                          */
/* ============================================ */

.bookings-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line, rgba(255,255,255,0.06));
  overflow-x: auto;
  scrollbar-width: none;
}

.bookings-tabs::-webkit-scrollbar { display: none; }

.bookings-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
}

.bookings-tab:hover { color: var(--text); }

.bookings-tab.is-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.bookings-tab__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  border-radius: 999px;
}

.bookings-tab.is-active .bookings-tab__count {
  background: var(--gold);
  color: #0c0c0c;
}

.bookings-pane { display: none; }
.bookings-pane.is-active { display: block; }

.bookings-filters {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.bookings-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s;
}

[data-theme="light"] .booking-row { background: #fff; border-color: rgba(15,23,42,0.08); }

.booking-row:hover { border-color: var(--border-gold); }

.booking-row[data-bstatus="pending"] {
  border-color: rgba(255, 193, 7, 0.4);
  background: linear-gradient(165deg, rgba(255, 193, 7, 0.04) 0%, var(--bg-elevated) 100%);
}

.booking-row[data-bstatus="rejected"] {
  opacity: 0.6;
}

.booking-row__avatar,
.booking-row__thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
}

.booking-row__thumb { border-radius: 10px; }

.booking-row__body { min-width: 0; }

.booking-row__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.booking-row__head strong { font-size: 14px; font-weight: 700; color: var(--text); }

.booking-row__status {
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
}

.booking-row__status--pending { background: rgba(255, 193, 7, 0.16); color: #ffc857; }
.booking-row__status--confirmed { background: rgba(46, 160, 67, 0.18); color: #6ed080; }
.booking-row__status--rejected { background: rgba(248, 81, 73, 0.15); color: #ff8b8b; }

.booking-row__listing,
.booking-row__dates {
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 3px;
}

.booking-row__listing i,
.booking-row__dates i { color: var(--gold); margin-right: 6px; }

.booking-row__dates strong { color: var(--gold); font-weight: 700; }

.booking-row__meta { font-size: 11px; color: var(--text-muted); }

.booking-row__actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-row__actions .btn--sm { white-space: nowrap; }

/* Owner calendar (in profile) */
.bookings-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 11px;
  color: var(--text-soft);
}

.bookings-cal-legend span { display: inline-flex; align-items: center; gap: 6px; }

[data-theme="light"] .bookings-cal-legend { background: #fff; border-color: rgba(15,23,42,0.06); }

.bookings-cal-months {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 18px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
}

[data-theme="light"] .bookings-cal-months { background: #fff; border-color: rgba(15,23,42,0.06); }

.bcal-cell--pending {
  background: rgba(255, 193, 7, 0.16);
  color: #ffc857;
  border-color: rgba(255, 193, 7, 0.35);
}

.bcal-cell--manual {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

[data-theme="light"] .bcal-cell--manual {
  background: rgba(15, 23, 42, 0.1);
  color: var(--text);
  border-color: rgba(15, 23, 42, 0.18);
}

.bookings-cal-hint {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.bookings-cal-hint i { color: var(--gold); margin-right: 4px; }

@media (max-width: 860px) {
  .booking-row { grid-template-columns: 50px 1fr; }
  .booking-row__avatar, .booking-row__thumb { width: 50px; height: 50px; }
  .booking-row__actions { grid-column: 1 / -1; flex-direction: row; }
  .booking-row__actions .btn { flex: 1; }
  .bookings-cal-months { grid-template-columns: 1fr; padding: 14px; }
}

/* ============================================ */
/*  AUTH SIGNUP — extended (2-column rows)      */
/* ============================================ */

.auth__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.auth__forgot {
  align-self: flex-end;
  font-size: 11px;
  color: var(--gold);
  margin-top: -8px;
  transition: opacity 0.2s;
}

.auth__forgot:hover { opacity: 0.85; text-decoration: underline; }

.auth__back-link {
  display: inline-block;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  padding: 8px;
  transition: color 0.2s;
}

.auth__back-link:hover { color: var(--gold); }

.auth__hint {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
  margin-bottom: 4px;
}

/* ============================================ */
/*  404 PAGE                                    */
/* ============================================ */

.err-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 48px 16px;
}

.err-page__inner {
  text-align: center;
  max-width: 640px;
}

.err-page__code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.err-page__digit {
  font-size: 140px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--gold);
  line-height: 1;
  background: linear-gradient(135deg, #d4b06a 0%, var(--gold) 50%, #a8843a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.err-page__house {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 50%;
  padding: 18px;
  box-shadow: 0 0 0 8px rgba(197, 160, 89, 0.08), 0 14px 40px rgba(197, 160, 89, 0.25);
}

.err-page__house svg { width: 100%; height: 100%; }

.err-page__title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.err-page__subtitle {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 28px;
}

.err-page__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.err-page__actions .btn { padding: 12px 22px; border-radius: 10px; }

.err-page__suggestions {
  padding: 24px;
  background: var(--bg-elevated);
  border: 1px solid rgba(197, 160, 89, 0.18);
  border-radius: var(--radius-lg);
}

.err-page__sug-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.err-page__sug-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.err-page__sug-grid a {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-soft);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.err-page__sug-grid a:hover {
  border-color: var(--border-gold);
  background: rgba(197, 160, 89, 0.05);
  color: var(--gold);
}

[data-theme="light"] .err-page__sug-grid a { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.08); }

@media (max-width: 560px) {
  .err-page__digit { font-size: 96px; }
  .err-page__house { width: 80px; height: 80px; padding: 14px; }
  .err-page__title { font-size: 24px; }
  .err-page__sug-grid { grid-template-columns: 1fr 1fr; }
  .err-page__actions .btn { width: 100%; }
}

.auth__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-soft);
}

.auth__check input { width: 14px; height: 14px; accent-color: var(--gold); }
.auth__check a { color: var(--gold); text-decoration: underline; }

.auth-modal--wide .auth-modal__dialog { max-width: 480px; }

/* ============================================ */
/*  MAIN PAGE — VIP section + Partners + Ad     */
/* ============================================ */

.section--vip { padding-top: 30px; }

.vip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.vip-row .top-card {
  position: relative;
  background: linear-gradient(165deg, rgba(197,160,89,0.06) 0%, var(--bg-elevated) 100%);
  border-color: var(--gold);
  box-shadow: 0 6px 22px rgba(0,0,0,0.4), 0 0 0 1px rgba(197,160,89,0.15);
  transition: transform 0.25s, box-shadow 0.25s;
}

.vip-row .top-card::before {
  content: "VIP";
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 12px 4px 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0c0c0c;
  background: linear-gradient(135deg, #d4b06a, var(--gold));
  border-radius: 0 var(--radius-lg) 0 12px;
  z-index: 3;
}

.vip-row .top-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.5), 0 0 0 1px rgba(197,160,89,0.4);
}

.section__title--gold-grad {
  background: linear-gradient(135deg, #d4b06a 0%, #c5a059 50%, #a8843a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ad-banner--mid { padding: 24px 0; background: transparent; }
.ad-banner--mid .ad-banner__slot { height: 120px; }

.section--partners { padding: 18px 0 32px; }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 14px;
  background: var(--bg-elevated);
  border: 1px solid rgba(197,160,89,0.15);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.partner-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  background: linear-gradient(165deg, rgba(197,160,89,0.06) 0%, var(--bg-elevated) 100%);
}

.partner-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--gold) 0%, #a8843a 100%);
  color: #0c0c0c;
  font-size: 16px;
  font-weight: 800;
  border-radius: 12px;
  letter-spacing: -0.02em;
}

.partner-card__name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-soft);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ============================================ */
/*  DAILY RENTALS SECTION                       */
/* ============================================ */

.section--daily { padding: 22px 0 32px; }

.section__title--daily {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #d4b06a 0%, #c5a059 50%, #a8843a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.daily-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.daily-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid rgba(197, 160, 89, 0.18);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.3s;
}

[data-theme="light"] .daily-card { background: #fff; border-color: rgba(15,23,42,0.08); box-shadow: 0 4px 14px rgba(15,23,42,0.05); }

.daily-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(197,160,89,0.3);
}

[data-theme="light"] .daily-card:hover { box-shadow: 0 18px 40px rgba(15,23,42,0.12), 0 0 0 1px rgba(197,160,89,0.3); }

.daily-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.daily-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.daily-card:hover .daily-card__media img { transform: scale(1.08); }

.daily-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 40%, rgba(0,0,0,0.4) 65%, rgba(0,0,0,0.92) 100%);
  pointer-events: none;
}

/* Top-left VIP star */
.daily-card__vip {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #0c0c0c;
  background: linear-gradient(135deg, #d4b06a 0%, var(--gold) 50%, #a8843a 100%);
  border-radius: 50%;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.5), 0 0 0 3px rgba(197, 160, 89, 0.15);
  animation: vipPulse 2.5s ease-in-out infinite;
}

@keyframes vipPulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(197, 160, 89, 0.5), 0 0 0 3px rgba(197, 160, 89, 0.15); }
  50% { box-shadow: 0 6px 22px rgba(197, 160, 89, 0.7), 0 0 0 6px rgba(197, 160, 89, 0.2); }
}

/* Floating price chip */
.daily-card__price {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 9px 14px;
  background: rgba(12, 12, 12, 0.78);
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: 12px;
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  white-space: nowrap;
}

.daily-card__price strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.01em;
  line-height: 1;
}

.daily-card__price span {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
}

/* Bottom info over image */
.daily-card__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 14px 14px 12px;
}

.daily-card__location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.daily-card__location i { color: var(--gold); font-size: 11px; }

.daily-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
  flex-wrap: wrap;
}

.daily-card__meta i { color: var(--gold); }
.daily-card__meta em { font-style: normal; color: rgba(255,255,255,0.6); }
.daily-card__sep { color: rgba(255, 255, 255, 0.4); }

/* CTA strip below image */
.daily-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--bg-elevated);
  border-top: 1px solid rgba(197, 160, 89, 0.14);
  transition: background 0.25s, color 0.25s;
}

.daily-card__cta i { color: var(--gold); margin-right: 5px; font-size: 11px; }

.daily-card__book {
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.daily-card:hover .daily-card__cta {
  background: linear-gradient(135deg, rgba(197,160,89,0.16) 0%, rgba(197,160,89,0.06) 100%);
  color: var(--text);
}

[data-theme="light"] .daily-card__cta { background: #fff; }

/* Responsive */
@media (max-width: 1200px) {
  .daily-row { grid-template-columns: repeat(4, 1fr); }
  .daily-row > :nth-child(5) { display: none; }
}

@media (max-width: 900px) {
  .daily-row { grid-template-columns: repeat(3, 1fr); }
  .daily-row > :nth-child(n+4) { display: none; }
}

@media (max-width: 640px) {
  .daily-row {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .daily-row::-webkit-scrollbar { display: none; }
  .daily-row > * {
    flex: 0 0 240px;
    scroll-snap-align: start;
    display: flex !important;
  }
}

/* ============================================ */
/*  DAILY BOOKING — highlighted section          */
/* ============================================ */
.section--dbook {
  padding: 30px 0;
  scroll-margin-top: 84px;
  background: linear-gradient(180deg, rgba(197,160,89,0.06) 0%, transparent 55%);
}

.dbook {
  position: relative;
  overflow: hidden;
  padding: 28px 4px;
}
.dbook__glow {
  position: absolute; top: -30%; right: -6%;
  width: 460px; height: 460px; pointer-events: none;
  background: radial-gradient(circle, rgba(197,160,89,0.1) 0%, transparent 70%);
}

.dbook__head {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 20px;
}
.dbook__eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 999px;
  background: linear-gradient(135deg, #d4b06a, var(--gold));
  color: #0c0c0c; font-size: 11px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(197,160,89,0.4);
}
.dbook__title {
  margin: 12px 0 6px; font-size: 30px; font-weight: 800;
  letter-spacing: -0.02em; color: var(--text);
}
.dbook__subtitle { font-size: 14px; color: var(--text-muted); }
.dbook__all {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  background: rgba(197,160,89,0.12);
  border: 1px solid rgba(197,160,89,0.4);
  color: var(--gold); font-size: 13px; font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}
.dbook__all:hover { background: rgba(197,160,89,0.2); transform: translateX(2px); }

/* Toggle tabs */
.dbook__tabs {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px;
}
.dbook__tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-soft); font-family: inherit;
  font-size: 13px; font-weight: 700; cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
}
.dbook__tab i { font-size: 12px; opacity: 0.85; }
.dbook__tab:hover { border-color: rgba(197,160,89,0.55); color: var(--text); }
.dbook__tab.is-active {
  background: linear-gradient(135deg, #d4b06a, var(--gold));
  border-color: var(--gold); color: #0c0c0c;
  box-shadow: 0 6px 16px rgba(197,160,89,0.4);
}
.dbook__tab-n {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 18px; padding: 0 5px;
  border-radius: 999px; font-size: 11px; font-weight: 800;
  background: rgba(0,0,0,0.2); color: inherit;
}
[data-theme="light"] .dbook__tab { background: rgba(15,23,42,0.04); border-color: rgba(15,23,42,0.1); }

/* Cards row — 5 in one line */
.dbook__row {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.dbook__empty { grid-column: 1/-1; text-align: center; color: var(--text-muted); padding: 30px; }

.dbook-card {
  display: flex; flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.28);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s;
}
.dbook-card.is-hidden { display: none; }
.dbook-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}
[data-theme="light"] .dbook-card { border-color: rgba(15,23,42,0.06); box-shadow: 0 6px 20px rgba(15,23,42,0.07); }

.dbook-card__media {
  position: relative; display: block;
  aspect-ratio: 4/5; overflow: hidden;
}
.dbook-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.dbook-card:hover .dbook-card__media img { transform: scale(1.07); }

.dbook-card__free {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(22,163,74,0.92); color: #fff;
  font-size: 11px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.dbook-card__free i { font-size: 10px; }
.dbook-card__vip {
  position: absolute; top: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 9px; border-radius: 999px;
  background: linear-gradient(135deg, #d4b06a, var(--gold));
  color: #0c0c0c; font-size: 10px; font-weight: 800;
}
.dbook-card__rating {
  position: absolute; bottom: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(12,12,12,0.78); color: #fff;
  font-size: 12px; font-weight: 700;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.dbook-card__rating i { color: var(--gold); font-size: 11px; }

.dbook-card__body { display: flex; flex-direction: column; gap: 7px; padding: 14px; }
.dbook-card__title {
  font-size: 14px; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dbook-card__loc {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--text-muted);
}
.dbook-card__loc i { color: var(--gold); font-size: 11px; }
.dbook-card__meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  font-size: 11.5px; color: var(--text-soft);
}
.dbook-card__meta i { color: var(--gold); margin-right: 3px; font-size: 11px; }
.dbook-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-top: 6px; padding-top: 12px;
  border-top: 1px solid var(--line);
}
.dbook-card__price {
  display: flex; align-items: baseline; gap: 3px;
  white-space: nowrap; min-width: 0;
}
.dbook-card__price strong { font-size: 18px; font-weight: 800; color: var(--text); line-height: 1; }
.dbook-card__price span { font-size: 11px; color: var(--text-muted); }
.dbook-card__btn {
  flex-shrink: 0;
  padding: 9px 16px; border-radius: 10px;
  background: linear-gradient(135deg, #d4b06a, var(--gold));
  color: #0c0c0c; font-size: 13px; font-weight: 700;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.2s;
}
.dbook-card__btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(197,160,89,0.4); }

/* Responsive */
@media (max-width: 1200px) { .dbook__row { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 980px)  { .dbook__row { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 768px) {
  .dbook { padding: 22px 16px; border-radius: 20px; }
  .dbook__head { flex-direction: column; align-items: flex-start; }
  .dbook__title { font-size: 24px; }
  .dbook__row {
    display: flex; overflow-x: auto; gap: 12px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding-bottom: 6px; scrollbar-width: none;
  }
  .dbook__row::-webkit-scrollbar { display: none; }
  .dbook-card { flex: 0 0 235px; scroll-snap-align: start; }
}

/* ============================================ */
/*  RESPONSIVE                                  */
/* ============================================ */

@media (max-width: 1024px) {
  .type-grid { grid-template-columns: repeat(3, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .vip-row { grid-template-columns: repeat(3, 1fr); }
  .vip-row > :last-child { display: none; }

  .doc-body__grid { grid-template-columns: 1fr; }
  .doc-toc { position: static; }

  .profile-page__grid { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; }
  .profile-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .profile-nav::-webkit-scrollbar { display: none; }
  .profile-nav__item { flex-shrink: 0; white-space: nowrap; }

  .about-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .about-mission__grid { grid-template-columns: 1fr; }
  .about-values__grid { grid-template-columns: repeat(2, 1fr); }

  .agent-hero__inner { grid-template-columns: auto 1fr; gap: 20px; }
  .agent-hero__avatar { width: 110px; height: 110px; }
  .agent-hero__name { font-size: 22px; }
}

@media (max-width: 768px) {
  .add-page__title { font-size: 24px; }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .add-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: repeat(2, 1fr); }

  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .vip-row { grid-template-columns: repeat(2, 1fr); }
  .vip-row > :nth-child(3) { display: none; }

  .agent-hero__inner { grid-template-columns: 1fr; text-align: center; }
  .agent-hero__avatar-wrap { margin: 0 auto; }
  .agent-hero__stats, .agent-hero__actions { justify-content: center; }
  .agent-hero__bio { margin: 0 auto 16px; }
  .agent-hero__name { justify-content: center; }

  .my-listing { grid-template-columns: 100px 1fr; }
  .my-listing > img { width: 100px; height: 80px; }
  .my-listing__actions { grid-column: 1 / -1; flex-direction: row; }
  .my-listing__actions .btn { flex: 1; }

  .msg { grid-template-columns: 40px 1fr; }
  .msg > img { width: 40px; height: 40px; }
  .msg .btn { grid-column: 1 / -1; }

  .doc-hero__title { font-size: 26px; }
  .add-card { padding: 16px; }

  .auth__row { grid-template-columns: 1fr; }

  .ad-banner--mid .ad-banner__slot { height: 80px; }
}

@media (max-width: 480px) {
  .type-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .vip-row { grid-template-columns: 1fr; }
  .vip-row > :nth-child(n+2) { display: none; }
  .about-stats__grid { grid-template-columns: 1fr; }
  .about-values__grid { grid-template-columns: 1fr; }
  .add-actions { flex-direction: column; }
  .add-actions__draft, .add-actions__submit { width: 100%; }
}

/* ============================================ */
/*  LISTINGS PAGE                               */
/* ============================================ */

.listings-page { padding: 22px 0 40px; }

.listings-page__head { margin-bottom: 18px; }

.listings-page__title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 8px 0 4px;
}

.listings-page__sub { font-size: 13px; color: var(--text-muted); }
.listings-page__sub strong { color: var(--gold); font-weight: 700; }

.listings-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-elevated);
  border: 1px solid rgba(197,160,89,0.18);
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.listings-toolbar__filter-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(197,160,89,0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  position: relative;
}

.listings-toolbar__active-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--gold);
  color: #0c0c0c;
  font-size: 10px;
  font-weight: 800;
  border-radius: 999px;
}

.listings-toolbar__chips {
  display: flex;
  gap: 6px;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(197,160,89,0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.active-chip:hover { background: rgba(197,160,89,0.18); }
.active-chip i { font-size: 9px; opacity: 0.7; }

.listings-toolbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.listings-toolbar__view {
  display: flex;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}

.view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 32px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.view-btn:hover { color: var(--text); }
.view-btn.is-active { background: var(--gold); color: #0c0c0c; }

.listings-toolbar__sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.listings-toolbar__sort select {
  padding: 8px 28px 8px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M6 9l6 6 6-6' stroke='%23c5a059' stroke-width='2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px;
  cursor: pointer;
}

[data-theme="light"] .listings-toolbar__sort select { background-color: #f8fafc; border-color: rgba(0,0,0,0.08); }
.listings-toolbar__sort select option { background: #1a1a1a; color: #fff; }
[data-theme="light"] .listings-toolbar__sort select option { background: #fff; color: #1a1a1a; }

/* Sort chips — visible button-style sort */
.sort-chips {
  display: inline-flex; flex-wrap: wrap; gap: 5px;
  padding: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
}
.sort-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  font-size: 12.5px; font-weight: 600;
  color: rgba(255,255,255,0.65);
  background: transparent;
  border: none; border-radius: 7px;
  text-decoration: none; cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.sort-chip i { font-size: 11px; opacity: 0.7; }
.sort-chip:hover { background: rgba(255,255,255,0.04); color: #fff; }
.sort-chip.is-active {
  background: var(--gold, #c5a059); color: #0c0c0c;
  box-shadow: 0 2px 8px rgba(197,160,89,0.25);
}
.sort-chip.is-active i { opacity: 1; }
[data-theme="light"] .sort-chips { background: #f3f4f6; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .sort-chip { color: rgba(0,0,0,0.6); }
[data-theme="light"] .sort-chip:hover { background: rgba(0,0,0,0.04); color: #1a1a1a; }
@media (max-width: 640px) {
  .sort-chips { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; max-width: 100%; }
  .sort-chips::-webkit-scrollbar { display: none; }
  .sort-chip { flex-shrink: 0; padding: 6px 10px; font-size: 11.5px; }
}
[data-theme="light"] .listings-toolbar__view { background: #f8fafc; border-color: rgba(0,0,0,0.06); }

.listings-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: start;
}

/* ---- FILTERS SIDEBAR ---- */
.filters {
  position: sticky;
  top: 88px;
  background: var(--bg-elevated);
  border: 1px solid rgba(197,160,89,0.18);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 110px);
}

.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.filters__title { font-size: 14px; font-weight: 700; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }

.filters__close {
  display: none;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
}

.filters__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  scrollbar-width: thin;
}

.filters__body::-webkit-scrollbar { width: 6px; }
.filters__body::-webkit-scrollbar-thumb { background: rgba(197,160,89,0.25); border-radius: 3px; }

.filter-group { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.filter-group:first-child { padding-top: 4px; }
.filter-group:last-child { border-bottom: none; }

.filter-group__title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.chip-group { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-group--inline { display: flex; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.chip:hover { border-color: var(--border-gold); color: var(--text); }

.chip.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0c0c0c;
  font-weight: 700;
}

.chip--sm { padding: 5px 9px; font-size: 11px; }

.chip--num {
  width: 38px;
  height: 38px;
  padding: 0;
  justify-content: center;
  border-radius: 10px;
  font-weight: 600;
}

[data-theme="light"] .chip { background: #f8fafc; border-color: rgba(0,0,0,0.08); }

.filter-select {
  width: 100%;
  padding: 10px 30px 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  appearance: none;
  margin-bottom: 8px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M6 9l6 6 6-6' stroke='%23c5a059' stroke-width='2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  cursor: pointer;
}

.filter-select:last-child { margin-bottom: 0; }
.filter-select option { background: #1a1a1a; color: var(--text); }
[data-theme="light"] .filter-select { background: #f8fafc; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .filter-select option { background: #fff; }

.range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.range-inputs input {
  flex: 1;
  min-width: 0;
  padding: 9px 11px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  outline: none;
}

.range-inputs input:focus { border-color: var(--gold); }
[data-theme="light"] .range-inputs input { background: #f8fafc; border-color: rgba(0,0,0,0.08); }

.range-sep { color: var(--text-muted); font-weight: 600; }

.range-presets { display: flex; flex-wrap: wrap; gap: 4px; }

.check-list { display: flex; flex-direction: column; gap: 6px; }

.check--inline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}

.check--inline:hover { background: rgba(255,255,255,0.03); }
.check--inline input { width: 16px; height: 16px; accent-color: var(--gold); }
.check--inline i { color: var(--gold); width: 16px; text-align: center; }

.check--toggle {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 6px;
}

[data-theme="light"] .check--toggle { background: #f8fafc; border-color: rgba(0,0,0,0.06); }

.filters__footer {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.filters__footer .btn { flex: 1; padding: 11px; border-radius: 10px; }

/* ---- RESULTS ---- */
.listings-results { min-width: 0; }

.listings-results__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.listings-results__grid--list {
  grid-template-columns: 1fr;
}

.listings-results__grid--list .apt-card {
  display: grid;
  grid-template-columns: 240px 1fr;
}

.listings-results__grid--list .apt-card__media { aspect-ratio: auto; }

.apt-card__deal-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--gold);
  color: #0c0c0c;
  border-radius: 999px;
  z-index: 4;
}

.apt-card__compare {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 4;
  font-size: 12px;
  transition: background 0.2s, color 0.2s;
  backdrop-filter: blur(4px);
}

.apt-card__compare:hover { background: var(--gold); color: #0c0c0c; }
.apt-card__compare.is-active { background: var(--gold); color: #0c0c0c; border-color: var(--gold); }

.listings-results__empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-elevated);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
}

.listings-results__empty i { color: var(--gold); margin-bottom: 14px; opacity: 0.6; }
.listings-results__empty h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.listings-results__empty p { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
}

.pagination__btn,
.pagination__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pagination__btn:hover,
.pagination__num:hover {
  border-color: var(--border-gold);
  color: var(--gold);
}

.pagination__num.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0c0c0c;
}

.pagination__pages { display: flex; gap: 4px; }

[data-theme="light"] .pagination__btn,
[data-theme="light"] .pagination__num { background: #fff; border-color: rgba(0,0,0,0.08); }

/* Responsive */
@media (max-width: 1024px) {
  .listings-layout { grid-template-columns: 1fr; }
  .listings-results__grid { grid-template-columns: repeat(2, 1fr); }
  .listings-toolbar__filter-btn { display: inline-flex; }

  .filters {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(90vw, 380px);
    max-height: none;
    border-radius: 0;
    border-left: 1px solid var(--border-gold);
    z-index: 100040;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }

  .filters--open { transform: translateX(0); }
  .filters__close { display: inline-flex; }

  .filters--open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: -1;
    left: auto;
    width: 100vw;
  }
}

@media (max-width: 768px) {
  .listings-toolbar { padding: 10px; }
  .listings-toolbar__right { width: 100%; justify-content: space-between; }
  .listings-toolbar__chips { order: 3; width: 100%; }
  .listings-results__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .listings-results__grid--list .apt-card { grid-template-columns: 100px 1fr; }
  .listings-results__grid--list .apt-card__media { aspect-ratio: 1; }
}

@media (max-width: 480px) {
  .listings-results__grid { grid-template-columns: 1fr; }
}

/* ============================================ */
/*  PRICING PAGE                                */
/* ============================================ */

.pricing-page { padding-bottom: 40px; }

.pricing-hero {
  padding: 48px 0 32px;
  text-align: center;
  background: linear-gradient(180deg, rgba(197,160,89,0.06) 0%, transparent 100%);
  border-bottom: 1px solid var(--line, rgba(255,255,255,0.04));
}

.pricing-hero__eyebrow {
  display: inline-block;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(197,160,89,0.06);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  margin-bottom: 14px;
}

.pricing-hero__title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--text) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-hero__subtitle {
  max-width: 620px;
  margin: 0 auto 22px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
}

.billing-toggle {
  display: inline-flex;
  padding: 4px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  gap: 2px;
}

.billing-toggle__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.billing-toggle__btn.is-active {
  background: var(--gold);
  color: #0c0c0c;
}

.billing-toggle__save {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
  font-size: 10px;
  font-weight: 800;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.billing-toggle__btn.is-active .billing-toggle__save {
  background: rgba(0, 0, 0, 0.18);
}

/* Cards */
.pricing-cards-section { padding: 36px 0 20px; }

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: stretch;
}

.pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 20px 22px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.pkg-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.pkg-card--featured {
  border-color: var(--gold);
  background: linear-gradient(165deg, rgba(197,160,89,0.08) 0%, var(--bg-elevated) 100%);
  box-shadow: 0 14px 40px rgba(197,160,89,0.18), 0 0 0 1px rgba(197,160,89,0.3);
  transform: translateY(-6px) scale(1.02);
  z-index: 2;
}

.pkg-card--featured:hover { transform: translateY(-10px) scale(1.02); }

[data-theme="light"] .pkg-card { background: #fff; border-color: rgba(15,23,42,0.08); box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 4px 12px rgba(15,23,42,0.05); }
[data-theme="light"] .pkg-card--featured { box-shadow: 0 16px 40px rgba(197,160,89,0.25), 0 0 0 1px rgba(197,160,89,0.4); }

.pkg-card__recommended {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  background: linear-gradient(135deg, #d4b06a, var(--gold), #a8843a);
  color: #0c0c0c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(197,160,89,0.4);
}

.pkg-card__head { text-align: center; margin-bottom: 18px; }

.pkg-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  font-size: 22px;
  margin-bottom: 12px;
}

.pkg-card__icon--free { background: rgba(255, 255, 255, 0.06); color: var(--text-muted); }
.pkg-card__icon--silver { background: linear-gradient(135deg, #6b6b6b, #c0c0c0); color: #fff; }
.pkg-card__icon--gold { background: linear-gradient(135deg, #d4b06a, var(--gold), #a8843a); color: #0c0c0c; box-shadow: 0 8px 20px rgba(197,160,89,0.35); }
.pkg-card__icon--platinum { background: linear-gradient(135deg, #8fa8c4, #5b7a9d); color: #fff; box-shadow: 0 8px 20px rgba(91,122,157,0.35); }
.pkg-card__icon--supervip { background: linear-gradient(135deg, #d4b06a, var(--gold), #a8843a); color: #0c0c0c; box-shadow: 0 8px 24px rgba(197,160,89,0.5); }

.pkg-card__name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.pkg-card__tagline {
  font-size: 11px;
  color: var(--text-muted);
}

.pkg-card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  padding: 14px 0;
  margin-bottom: 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

[data-theme="light"] .pkg-card__price-row { border-color: rgba(15,23,42,0.06); }

.pkg-card__price {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.pkg-card__period {
  font-size: 12px;
  color: var(--text-muted);
}

.pkg-card__features {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
}

.pkg-card__features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--text);
  line-height: 1.45;
}

.pkg-card__features li i {
  width: 14px;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 11px;
}

.pkg-card__feature--off { opacity: 0.45; }
.pkg-card__feature--off i { color: var(--text-muted); }

.pkg-card__btn {
  width: 100%;
  padding: 11px;
  border-radius: 10px;
  font-size: 13px;
  justify-content: center;
}

/* Comparison table */
.pricing-compare { padding: 40px 0 20px; }

.pricing-compare__title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 6px;
}

.pricing-compare__sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.pricing-table-wrap {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

[data-theme="light"] .pricing-table-wrap { background: #fff; border-color: rgba(15,23,42,0.08); }

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.pricing-table thead th {
  padding: 16px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

.pricing-table .pricing-table__feature { text-align: left; color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }

.pkg-th-silver { color: #c0c0c0 !important; }
.pkg-th-gold { color: var(--gold) !important; }
.pkg-th-platinum { color: #8fa8c4 !important; }
.pkg-th-supervip {
  background: linear-gradient(135deg, #d4b06a, var(--gold), #a8843a) !important;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-table tbody td {
  padding: 12px 14px;
  font-size: 13px;
  text-align: center;
  color: var(--text-soft);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pricing-table tbody td:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 500;
}

.text-on { color: #6ed080; }
.text-off { color: var(--text-muted); opacity: 0.4; }

.pricing-table__price-row td { background: rgba(197,160,89,0.04); font-weight: 700; color: var(--gold); }

[data-theme="light"] .pricing-table thead th { background: #f8fafc; border-bottom-color: rgba(15,23,42,0.08); }
[data-theme="light"] .pricing-table tbody td { border-bottom-color: rgba(15,23,42,0.05); }
[data-theme="light"] .pricing-table__price-row td { background: rgba(197,160,89,0.06); }

/* Agents CTA */
.pricing-agents { padding: 40px 0 30px; }

.agents-cta {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px;
  background: linear-gradient(165deg, rgba(197,160,89,0.08) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
}

.agents-cta__title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 8px 0 12px;
}

.agents-cta__sub { font-size: 14px; color: var(--text-soft); line-height: 1.6; margin-bottom: 20px; }

.agents-cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.agents-cta__btns .btn { padding: 11px 22px; border-radius: 10px; }

.agents-cta__stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.agents-cta__stats > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}

[data-theme="light"] .agents-cta__stats > div { background: #fff; border-color: rgba(15,23,42,0.06); }

.agents-cta__stats strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
}

.agents-cta__stats span { font-size: 12px; color: var(--text-muted); }

/* Pricing FAQ */
.pricing-faq { padding: 30px 0 20px; }
.pricing-faq__list { max-width: 720px; margin: 0 auto; }
.pricing-faq__more { text-align: center; margin-top: 24px; }

/* Responsive */
@media (max-width: 1100px) {
  .pricing-cards { grid-template-columns: repeat(3, 1fr); }
  .pkg-card--featured { transform: none; }
  .pkg-card--featured:hover { transform: translateY(-4px); }
}

@media (max-width: 860px) {
  .agents-cta { grid-template-columns: 1fr; padding: 24px; }
  .pricing-hero__title { font-size: 28px; }
  .pricing-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .pricing-cards { grid-template-columns: 1fr; }
  .pkg-card { padding: 20px 18px; }
  .pricing-hero { padding: 32px 0 24px; }
  .pricing-hero__title { font-size: 24px; }
  .billing-toggle__btn { padding: 8px 16px; font-size: 12px; }
  .agents-cta { padding: 20px; }
  .agents-cta__title { font-size: 20px; }
}

/* ============================================
   FAVORITE BUTTON (heart on listing cards)
   ============================================ */
.fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: all 0.18s;
  z-index: 5;
  padding: 0;
  font-family: inherit;
}
.fav-btn:hover {
  background: rgba(248, 81, 73, 0.85);
  border-color: rgba(248, 81, 73, 1);
  transform: scale(1.08);
}
.fav-btn.is-favorited {
  background: rgba(248, 81, 73, 0.9);
  border-color: #f85149;
  color: #fff;
}
.fav-btn.is-favorited i { animation: heart-pop 0.3s ease; }
.fav-btn.is-loading { opacity: 0.5; pointer-events: none; }
.fav-btn.is-loading i { animation: spin 0.6s linear infinite; }

@keyframes heart-pop {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Light theme adjustments */
[data-theme="light"] .fav-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #f85149;
  border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .fav-btn:hover {
  background: rgba(248, 81, 73, 1);
  color: #fff;
}
[data-theme="light"] .fav-btn.is-favorited {
  background: #f85149;
  color: #fff;
}

/* ============================================
   COMPARE BUTTON (small checkbox on cards)
   ============================================ */
.cmp-btn {
  position: absolute;
  top: 10px;
  right: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: all 0.18s;
  z-index: 5;
  padding: 0;
  font-size: 14px;
  font-family: inherit;
}
.cmp-btn:hover {
  background: rgba(197, 160, 89, 0.9);
  border-color: var(--gold, #c5a059);
  color: #0c0c0c;
  transform: scale(1.08);
}
.cmp-btn.is-active {
  background: var(--gold, #c5a059);
  border-color: var(--gold, #c5a059);
  color: #0c0c0c;
}

[data-theme="light"] .cmp-btn {
  background: rgba(255, 255, 255, 0.9);
  color: var(--gold, #c5a059);
  border-color: rgba(0, 0, 0, 0.08);
}

/* ============================================
   COMPARE FLOATING BAR (bottom of page)
   ============================================ */
.cmp-bar {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 1000;
  background: linear-gradient(135deg, #1a1f2e 0%, #11151c 100%);
  border: 1.5px solid var(--gold, #c5a059);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(197, 160, 89, 0.08);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: calc(100vw - 24px);
}
.cmp-bar.is-visible { transform: translateX(-50%) translateY(0); }

.cmp-bar__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e6edf3;
  font-size: 13px;
  font-weight: 600;
}
.cmp-bar__label i { color: var(--gold, #c5a059); font-size: 15px; }
.cmp-bar__count {
  background: var(--gold, #c5a059);
  color: #0c0c0c;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  min-width: 22px;
  text-align: center;
}

.cmp-bar__thumbs { display: flex; gap: 6px; }
.cmp-bar__thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.cmp-bar__btn {
  padding: 9px 18px;
  background: var(--gold, #c5a059);
  color: #0c0c0c;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s;
}
.cmp-bar__btn:hover { transform: translateY(-1px); }
.cmp-bar__clear {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e6edf3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.cmp-bar__clear:hover { background: rgba(248, 81, 73, 0.18); border-color: rgba(248, 81, 73, 0.5); color: #ff8b8b; }

@media (max-width: 600px) {
  .cmp-bar { left: 12px; right: 12px; transform: translateY(120%); padding: 10px 12px; gap: 10px }
  .cmp-bar.is-visible { transform: translateY(0); }
  .cmp-bar__thumbs .cmp-bar__thumb:nth-child(n+3) { display: none; }
}

/* Toast for login-required */
.toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-120%);
  z-index: 2000;
  background: #1a1f2e;
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid var(--gold, #c5a059);
  font-size: 13px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s;
}
.toast.is-visible { transform: translateX(-50%) translateY(0); }
.toast--err { border-color: #f85149; }
.toast--ok { border-color: #16a34a; }
.toast i { font-size: 16px; }
.toast--ok i { color: #16a34a; }
.toast--err i { color: #f85149; }

/* ============================================
   HEADER LIVE SEARCH
   ============================================ */
.header-search {
  position: relative;
  flex: 0 1 320px;
  max-width: 320px;
  min-width: 200px;
  margin: 0 14px;
}
.header-search__input {
  width: 100%;
  padding: 9px 14px 9px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  transition: all 0.18s;
}
.header-search__input::placeholder { color: rgba(255, 255, 255, 0.45); }
.header-search__input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold, #c5a059);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.12);
}

[data-theme="light"] .header-search__input {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #1a1d24;
}
[data-theme="light"] .header-search__input::placeholder { color: rgba(0, 0, 0, 0.4); }
[data-theme="light"] .header-search__input:focus { background: #fff; }

.header-search__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #161b22;
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  max-height: 420px;
  overflow-y: auto;
  z-index: 1100;
  display: none;
  padding: 6px;
}
.header-search__dropdown.is-open { display: block; }

[data-theme="light"] .header-search__dropdown {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.hs-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}
.hs-item:hover, .hs-item.is-active { background: rgba(197, 160, 89, 0.1); }
.hs-item__photo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 7px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
}
.hs-item__photo--empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold, #c5a059);
  border: 1px solid rgba(197, 160, 89, 0.2);
}
.hs-item__body { flex: 1; min-width: 0; }
.hs-item__title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
[data-theme="light"] .hs-item__title { color: #1a1d24; }
.hs-item__meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 6px;
}
[data-theme="light"] .hs-item__meta { color: rgba(0, 0, 0, 0.55); }
.hs-item__meta i { font-size: 9px; }
.hs-item__price {
  color: var(--gold, #c5a059);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  margin-left: 8px;
}
.hs-item__badge {
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 6px;
}
.hs-item__badge--platinum { background: linear-gradient(135deg, #e5e5e5, #a8b0bd, #d4d8de); color: #1a1a1a; }
.hs-item__badge--super_vip { background: linear-gradient(135deg, #f4d97a, #c5a059, #b8923c); color: #2a1d05; }
.hs-item__badge--gold { background: var(--gold, #c5a059); color: #0c0c0c; }
.hs-item__badge--silver { background: #c0c0c0; color: #0c0c0c; }
.hs-item__badge--AGENT { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }

.hs-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  padding: 8px 10px 4px;
}
[data-theme="light"] .hs-section-label { color: rgba(0, 0, 0, 0.4); }

.hs-empty {
  padding: 30px 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}
[data-theme="light"] .hs-empty { color: rgba(0, 0, 0, 0.5); }
.hs-empty i { font-size: 24px; color: var(--gold, #c5a059); opacity: 0.4; display: block; margin-bottom: 6px; }

.hs-view-all {
  display: block;
  text-align: center;
  padding: 10px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold, #c5a059);
  text-decoration: none;
}
.hs-view-all:hover { background: rgba(197, 160, 89, 0.08); }

@media (max-width: 900px) {
  .header-search { display: none; }
}

/* ============================================
   NOTIFICATIONS BELL (header)
   ============================================ */
.notif-bell { position: relative; margin-right: 4px; }
.notif-bell__btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
}
.notif-bell__btn:hover {
  background: rgba(197, 160, 89, 0.15);
  border-color: var(--gold, #c5a059);
  color: var(--gold, #c5a059);
}
.notif-bell.is-open .notif-bell__btn {
  background: rgba(197, 160, 89, 0.2);
  border-color: var(--gold, #c5a059);
  color: var(--gold, #c5a059);
}

[data-theme="light"] .notif-bell__btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #1a1d24;
}

.notif-bell__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #161b22;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5);
  animation: pulse-badge 2s infinite;
}
[data-theme="light"] .notif-bell__badge { border-color: #fff; }
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.55); }
  50% { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
}

/* Profile button gets a small dot when has notifications */
.header__profile, .header__login { position: relative; }
.has-notif-dot::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 9px;
  height: 9px;
  background: #dc2626;
  border-radius: 50%;
  border: 2px solid #161b22;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6);
  animation: pulse-badge 2s infinite;
}
[data-theme="light"] .has-notif-dot::after { border-color: #fff; }

/* Dropdown panel */
.notif-bell__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  max-width: calc(100vw - 24px);
  background: #161b22;
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 12px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
  z-index: 1200;
  max-height: 520px;
  overflow-y: auto;
}
[data-theme="light"] .notif-bell__dropdown {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.notif-bell__dropdown[hidden] { display: none !important; }

.notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
[data-theme="light"] .notif-head { border-bottom-color: rgba(0, 0, 0, 0.06); }
.notif-head__title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
[data-theme="light"] .notif-head__title { color: #1a1d24; }
.notif-head__title i { color: var(--gold, #c5a059); }
.notif-head__action {
  background: transparent;
  border: none;
  color: var(--gold, #c5a059);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 8px;
  border-radius: 4px;
}
.notif-head__action:hover { background: rgba(197, 160, 89, 0.08); }

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}
[data-theme="light"] .notif-item { border-bottom-color: rgba(0, 0, 0, 0.04); }
.notif-item:hover { background: rgba(197, 160, 89, 0.05); }
.notif-item.is-unread { background: rgba(197, 160, 89, 0.04); }
.notif-item:last-child { border-bottom: none; }

.notif-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  position: relative;
}
[data-theme="light"] .notif-item__icon { background: rgba(0, 0, 0, 0.04); }

.notif-item__icon-photo {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.notif-item__icon-overlay {
  position: absolute;
  bottom: -2px; right: -2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 9px;
  color: #fff;
  border: 2px solid #161b22;
}
[data-theme="light"] .notif-item__icon-overlay { border-color: #fff; }

.notif-item__body { flex: 1; min-width: 0; }
.notif-item__title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-theme="light"] .notif-item__title { color: #1a1d24; }
.notif-item__text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-theme="light"] .notif-item__text { color: rgba(0, 0, 0, 0.6); }
.notif-item__time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.04em;
}
[data-theme="light"] .notif-item__time { color: rgba(0, 0, 0, 0.4); }
.notif-item__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #dc2626;
  flex-shrink: 0;
  align-self: center;
}
.notif-item__count {
  min-width: 20px; height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  align-self: center;
}

.notif-empty {
  padding: 40px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}
[data-theme="light"] .notif-empty { color: rgba(0, 0, 0, 0.5); }
.notif-empty i {
  font-size: 32px;
  color: var(--gold, #c5a059);
  opacity: 0.3;
  display: block;
  margin-bottom: 10px;
}

.notif-foot {
  padding: 10px 16px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
[data-theme="light"] .notif-foot { border-top-color: rgba(0, 0, 0, 0.06); }
.notif-foot a {
  color: var(--gold, #c5a059);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 600px) {
  /* Notifications: floating card under header, symmetric margins, 4-item scroll */
  .notif-bell__dropdown {
    position: fixed;
    top: 70px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    transform: none;
    max-height: 58vh;          /* ~4 items + header/footer, then scroll */
    overflow-y: auto;
    z-index: 4000;             /* above chat, drawer backdrop, everything */
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  }
  .notif-bell { position: static; }
}

/* ============================================ */
/* ===== MOBILE RESPONSIVE — Profile/Booking ===== */
/* ============================================ */
@media (max-width: 900px) {
  .profile-page { padding: 14px 0 30px; }
  .profile-page__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .profile-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .profile-sidebar__user { padding: 14px; margin-bottom: 0; }
  .profile-sidebar__avatar { width: 60px; height: 60px; margin-bottom: 8px; }
  .profile-sidebar__name { font-size: 14px; }
  .profile-sidebar__email { font-size: 11px; }

  /* Profile nav becomes horizontal scrollable tabs */
  .profile-nav {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 6px;
    padding: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .profile-nav::-webkit-scrollbar { display: none; }
  .profile-nav__item {
    flex-shrink: 0;
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
  }
  .profile-nav__item svg { width: 14px; height: 14px; }
  .profile-nav__count { font-size: 9px; padding: 1px 6px; }

  .profile-pane__head {
    flex-wrap: wrap;
    gap: 8px;
  }
  .profile-pane__head h1 { font-size: 18px !important; }
}

@media (max-width: 640px) {
  /* Stat grids — single column */
  .pf-grid2 { gap: 10px; }

  /* Thread cards — slimmer */
  .ch-thread { padding: 10px !important; gap: 10px !important; }
  .ch-thread__avatar { width: 42px !important; height: 42px !important; }
  .ch-thread__name { font-size: 13px !important; }
  .ch-thread__preview { font-size: 12px !important; }

  /* Booking cards stack */
  .pf-booking { padding: 12px !important; }
  .pf-booking__row { flex-wrap: wrap; gap: 8px !important; }
  .pf-booking__actions { flex-direction: column; align-items: stretch; }
  .pf-booking__actions .btn { width: 100%; justify-content: center; }

  /* Apartment / listing cards in profile */
  .apartments-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .apt-card__media { aspect-ratio: 16/10 !important; }
}

@media (max-width: 480px) {
  /* Header tighter on phones: logo + bell + burger only */
  .header__inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px !important;
  }
  .nav { display: none; }
  .header-search { display: none !important; }
  /* Hide CTA + profile + logout on mobile — they go into drawer */
  .header__cta,
  .header__profile,
  .header__actions > a[href*="logout"],
  .header__actions > .theme-toggle { display: none !important; }
  /* Bell stays visible on mobile */
  .header__actions { gap: 6px; margin-left: auto; }
  .notif-bell { display: inline-flex !important; }
  .logo__word { font-size: 16px; }

  /* Smaller hero / sections */
  .profile-sidebar__user { padding: 12px; }
  .profile-pane__head h1 { font-size: 16px !important; }

  /* Container default tighter padding */
  .container { padding-left: 12px; padding-right: 12px; }

  /* Footer columns stack */
  .footer__grid { grid-template-columns: 1fr !important; gap: 24px; }
  .footer__brand { text-align: center; }
  .footer__social { justify-content: center; }
}

/* Touch-friendly sizes */
@media (hover: none) and (pointer: coarse) {
  .profile-nav__item,
  .btn,
  .ch-thread,
  .ch-voice__play,
  .ch-compose__send,
  .ch-compose__mic { min-height: 40px; }
  .pf-booking__actions .btn { min-height: 42px; }
}

/* ============================================ */
/* ===== MOBILE BOTTOM NAVIGATION BAR ===== */
/* ============================================ */
.botnav { display: none; }

@media (max-width: 768px) {
  .botnav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 3000;
    height: 62px;
    padding-bottom: env(safe-area-inset-bottom, 0);
    background: rgba(20, 24, 31, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
    align-items: stretch;
  }
  [data-theme="light"] .botnav {
    background: rgba(255, 255, 255, 0.97);
    border-top-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
  }

  .botnav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
    font-weight: 600;
    position: relative;
    transition: color 0.15s;
    -webkit-tap-highlight-color: transparent;
  }
  [data-theme="light"] .botnav__item { color: rgba(0, 0, 0, 0.5); }
  .botnav__item i { font-size: 18px; transition: transform 0.15s; }
  .botnav__item span { line-height: 1; white-space: nowrap; }
  .botnav__item.is-active { color: var(--gold, #c5a059); }
  .botnav__item.is-active i { transform: translateY(-1px); }
  .botnav__item:active i { transform: scale(0.88); }

  /* Center + button — glass crest */
  .botnav__add { flex: 0 0 auto; width: 64px; }
  .botnav__add-btn {
    width: 50px; height: 50px;
    margin-top: -18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8c277 0%, var(--gold, #c5a059) 60%, #b8923c 100%);
    color: #0c0c0c;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 20px;
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.45), 0 0 0 5px rgba(20, 24, 31, 0.96), inset 0 1px 0 rgba(255,255,255,0.4);
    transition: transform 0.18s, box-shadow 0.18s;
  }
  [data-theme="light"] .botnav__add-btn { box-shadow: 0 6px 18px rgba(197,160,89,0.4), 0 0 0 5px rgba(255,255,255,0.97), inset 0 1px 0 rgba(255,255,255,0.5); }
  .botnav__add:active .botnav__add-btn { transform: scale(0.92) rotate(90deg); }

  /* Profile avatar */
  .botnav__avatar {
    width: 26px; height: 26px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    background: rgba(197, 160, 89, 0.15);
  }
  .botnav__profile.is-active .botnav__avatar { border-color: var(--gold, #c5a059); }
  .botnav__avatar img { width: 100%; height: 100%; object-fit: cover; }
  .botnav__avatar-letter { color: var(--gold, #c5a059); font-weight: 700; font-size: 12px; }

  /* Unread badge */
  .botnav__badge {
    position: absolute;
    top: 6px;
    left: calc(50% + 6px);
    min-width: 15px; height: 15px;
    padding: 0 4px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 9px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1.5px solid rgba(20, 24, 31, 0.96);
  }

  /* Push page content above the bar so nothing is hidden (single offset) */
  body { padding-bottom: 62px; }
}

@media (max-width: 380px) {
  .botnav__item { font-size: 9px; }
  .botnav__item i { font-size: 16px; }
}

/* ============================================ */
/* ===== MOBILE FULLSCREEN CHAT (chat-open) ===== */
/* ============================================ */
@media (max-width: 768px) {
  /* When a conversation is open, the chat takes over the viewport.
     Header stays at top, bottom nav stays at bottom, only messages scroll. */
  body.chat-open { overflow: hidden; }
  body.chat-open .botnav { display: none; }              /* maximise chat space */

  body.chat-open .profile-page { padding: 0; }
  body.chat-open .profile-page__grid { display: block; gap: 0; }
  body.chat-open .profile-sidebar,
  body.chat-open .profile-pane__head,
  body.chat-open .pf-alert { display: none !important; }

  body.chat-open .ch-wrap {
    position: fixed;
    top: 64px;                /* below sticky header */
    left: 0; right: 0; bottom: 0;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    border-radius: 0;
    border-left: none; border-right: none; border-bottom: none;
    z-index: 1500;
  }
  /* Only the message list scrolls; header + compose stay put */
  body.chat-open .ch-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  body.chat-open .ch-header,
  body.chat-open .ch-compose { flex-shrink: 0; }
  /* Compose sits above the iOS home indicator */
  body.chat-open .ch-compose { padding-bottom: calc(10px + env(safe-area-inset-bottom, 0)); }
}

/* ============================================
   ==== GLOBAL PRICE TOGGLE (GEL ↔ USD) ====
   ============================================ */
.price-pair {
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.cur-tg {
  display: inline-flex; align-items: center; gap: 0;
  padding: 2px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  cursor: pointer;
  vertical-align: middle;
  flex-shrink: 0;
}
[data-theme="light"] .cur-tg {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
}
.cur-tg__opt {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 999px;
  font-size: 10.5px; font-weight: 800;
  color: rgba(255,255,255,0.55);
  line-height: 1;
  transition: background 0.18s, color 0.18s;
  pointer-events: none;
}
[data-theme="light"] .cur-tg__opt { color: rgba(0,0,0,0.45); }
.cur-tg__opt.is-active {
  background: var(--gold, #c5a059);
  color: #0c0c0c;
  box-shadow: 0 1px 3px rgba(197,160,89,0.4);
}
/* Tiny variant for dense rows */
.cur-tg--sm .cur-tg__opt { width: 15px; height: 15px; font-size: 9.5px; }
.cur-tg--sm { padding: 1.5px; }


/* ============================================ */
/* ===== HERO FILTER MODALS ===== */
/* ============================================ */
/* ===== Hero search triggers (buttons that look like sb2-field) ===== */
/* The .sb2-dd wrapper takes the field's width so the divider lines stay even */
.sb2-dd {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
  border-right: 1px solid rgba(0,0,0,0.08);
}
.sb2-dd:last-of-type { border-right: none; }

/* Button-style trigger fills its sb2-dd wrapper (or stands alone as sb2-field) */
.sb2-trigger {
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  display: flex; align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: #1a1d24;
  min-width: 0;
  width: 100%;
  flex: 1;
  border-radius: 8px;
  transition: background 0.13s;
}
.sb2-trigger:hover { background: rgba(0,0,0,0.04) !important; }
.sb2-trigger__value {
  flex: 1; min-width: 0;
  font-size: 14px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: #1a1d24;
}
.sb2-trigger__value:not([data-default=""]) { color: #1a1d24; }
.sb2-trigger.is-filled .sb2-trigger__value { color: #0c0c0c; }
.sb2-trigger .sb2-icon { color: #6b6b6b; }
.sb2-trigger .sb2-icon i { font-size: 16px; }
.sb2-trigger .sb2-chev {
  font-size: 10px; color: #9ca3af; margin-left: 4px;
  flex-shrink: 0;
}

/* Standalone field-buttons (e.g. location) keep the sb2-field divider */
button.sb2-field {
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  /* border-right + flex come from .sb2-field base rule */
}
button.sb2-field:hover { background: rgba(0,0,0,0.04); border-radius: 8px; }

/* Triggers nested inside .sb2-dd must NOT add a second border-right
   (the wrapper already provides it). Reset their inherited sb2-field rule. */
.sb2-dd > .sb2-field,
.sb2-dd > .sb2-trigger {
  border-right: none !important;
  flex: 1 1 auto;
}

/* Comfortable height + visible icons for the bar */
.sb2-trigger { height: 100%; min-height: 44px; }
.sb2-icon { width: 22px; }

.hf-modal {
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(8,10,14,0.7);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.hf-modal.is-open { display: flex; }
.hf-modal__backdrop { position: absolute; inset: 0; }
.hf-modal__dialog {
  position: relative; z-index: 1;
  width: 100%; max-width: 920px;
  max-height: 88vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.6);
  /* Body scrolls; footer stays fixed at bottom */
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hf-modal__body {
  flex: 1; overflow-y: auto;
  padding: 30px 32px 20px;
  /* Hide ugly default scrollbar but keep scrolling */
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.15) transparent;
}
.hf-modal__body::-webkit-scrollbar { width: 6px; }
.hf-modal__body::-webkit-scrollbar-track { background: transparent; }
.hf-modal__body::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.12);
  border-radius: 999px;
}
.hf-modal__body::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.22); }
.hf-modal__dialog--narrow { max-width: 460px; }
.hf-modal__dialog--wide   { max-width: 1180px; }
.hf-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: transparent; border: none; cursor: pointer;
  border-radius: 50%;
  color: #4b5563; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.hf-modal__close:hover { background: rgba(0,0,0,0.06); }
.hf-modal__title {
  font-size: 20px; font-weight: 800; color: #0c0c0c;
  margin: 0 0 18px; letter-spacing: -0.01em;
}
.hf-modal__title--sub { margin-top: 28px; font-size: 17px; }
.hf-section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #6b7280;
  margin: 18px 0 12px;
}

/* Deal radios — grid of pill rows */
.hf-deal-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.hf-radio {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb; border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  font-size: 14px; color: #1a1d24;
}
.hf-radio input {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; margin: 0;
  border: 1.5px solid #cbd5e1; border-radius: 50%;
  position: relative; cursor: pointer; flex-shrink: 0;
}
.hf-radio input:checked { border-color: #2563eb; }
.hf-radio input:checked::after {
  content: ""; position: absolute; inset: 3px;
  border-radius: 50%; background: #2563eb;
}
.hf-radio:hover { background: #f3f4f6; }
.hf-radio--pill { padding: 10px 14px; font-size: 13px; }

/* Property type cards */
.hf-type-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.hf-type-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 18px 12px;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb; border-radius: 12px;
  font-family: inherit; cursor: pointer;
  transition: all 0.15s; color: #1a1d24;
}
.hf-type-card:hover { border-color: #c5a059; background: #fff; }
.hf-type-card.is-active { border-color: #c5a059; background: rgba(197,160,89,0.08); }
.hf-type-card__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: #fff; border: 1px solid #e5e7eb;
  display: flex; align-items: center; justify-content: center;
  color: #c5a059; font-size: 16px;
}
.hf-type-card.is-active .hf-type-card__icon { background: #c5a059; color: #fff; border-color: #c5a059; }
.hf-type-card__label { font-size: 12.5px; font-weight: 600; }

/* Location modal */
.hf-loc-search {
  position: relative;
  margin-bottom: 8px;
}
.hf-loc-search i {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: #9ca3af;
}
.hf-loc-search input {
  width: 100%; box-sizing: border-box;
  padding: 14px 16px 14px 44px;
  background: #f9fafb;
  border: 1px solid #e5e7eb; border-radius: 10px;
  font-family: inherit; font-size: 14px;
  outline: none;
}
.hf-loc-search input:focus { border-color: #c5a059; background: #fff; }

.hf-cities-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
.hf-mun-grid {
  columns: 3 200px;
  column-gap: 24px;
}
.hf-mun-col {
  break-inside: avoid;
  margin-bottom: 18px;
}
.hf-mun-col__letter {
  font-size: 16px; font-weight: 800; color: #c5a059;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 4px; margin-bottom: 8px;
}
.hf-mun-item {
  display: block; width: 100%; text-align: left;
  padding: 6px 0; background: none; border: none;
  font-family: inherit; font-size: 13px; color: #374151;
  cursor: pointer; transition: color 0.15s;
}
.hf-mun-item:hover { color: #c5a059; }
.hf-mun-item.is-active { color: #c5a059; font-weight: 700; }

/* Area / Price modals */
.hf-range-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 14px;
}
.hf-range-input {
  display: flex; align-items: center;
  background: #f9fafb;
  border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 0 14px;
}
.hf-range-input input {
  flex: 1; min-width: 0;
  border: none; background: transparent; outline: none;
  padding: 13px 0; font-family: inherit; font-size: 14px;
  color: #1a1d24;
}
.hf-range-input span { color: #9ca3af; font-size: 13px; }
.hf-rooms-row {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
}
.hf-room-btn {
  padding: 10px 0;
  background: #f9fafb; border: 1.5px solid #e5e7eb; border-radius: 9px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  color: #1a1d24; cursor: pointer; transition: all 0.15s;
}
.hf-room-btn:hover { border-color: #c5a059; }
.hf-room-btn.is-active { background: #c5a059; color: #fff; border-color: #c5a059; }

.hf-price-modes {
  display: flex; gap: 8px; margin-bottom: 14px; align-items: center;
}
.hf-mode-btn {
  padding: 8px 16px; border-radius: 999px;
  background: #f3f4f6; border: 1px solid transparent;
  font-family: inherit; font-size: 13px; font-weight: 600;
  color: #4b5563; cursor: pointer; transition: all 0.15s;
}
.hf-mode-btn.is-active { background: #fff; border-color: #2563eb; color: #2563eb; }
.hf-price-cur {
  margin-left: auto; display: flex; gap: 0;
  background: linear-gradient(135deg, #4ade80, #16a34a);
  border-radius: 999px; padding: 3px;
}
.hf-cur-btn {
  width: 28px; height: 24px; border: none; background: transparent;
  color: rgba(255,255,255,0.8); font-weight: 800; font-size: 12px;
  border-radius: 999px; cursor: pointer; transition: all 0.15s;
  font-family: inherit;
}
.hf-cur-btn.is-active { background: #fff; color: #16a34a; }

/* Modal footer — sticky inside scrollable dialog */
.hf-modal__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 16px 32px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.hf-btn {
  padding: 11px 22px; border-radius: 9px;
  font-family: inherit; font-size: 13.5px; font-weight: 700;
  cursor: pointer; border: none;
  transition: all 0.15s;
}
.hf-btn--ghost {
  background: transparent; color: #4b5563;
}
.hf-btn--ghost:hover { background: #f3f4f6; color: #1a1d24; }
.hf-btn--primary {
  background: #c5a059; color: #fff;
}
.hf-btn--primary:hover { background: #b8923c; box-shadow: 0 6px 18px rgba(197,160,89,0.35); }

@media (max-width: 700px) {
  /* Full-screen modal on mobile (edge to edge) */
  .hf-modal { padding: 0; align-items: stretch; }
  .hf-modal__dialog {
    max-height: 100vh; max-width: 100%;
    width: 100%; height: 100vh;
    border-radius: 0;
  }
  .hf-modal__body { padding: 18px 16px 16px; }
  .hf-modal__foot {
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0));
  }
  .hf-modal__close { top: 12px; right: 12px; }
  .hf-modal__title { font-size: 18px; margin-bottom: 14px; }
  .hf-mun-grid { columns: 1; column-gap: 14px; }
  .hf-cities-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== Inline dropdowns + popovers in hero search ===== */
.sb2-dd { position: relative; flex: 1; min-width: 0; }
.sb2-dd > .sb2-trigger { width: 100%; }
.sb2-dd__menu {
  position: absolute; top: calc(100% + 12px); left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.22), 0 2px 6px rgba(0,0,0,0.06);
  z-index: 9000;
  display: none;
  animation: sb2ddFade 0.16s ease;
}
/* The trigger row needs its own stacking context above sibling sections */
.search2__main { position: relative; z-index: 50; }
.sb2-dd.is-open { z-index: 9001; }
@keyframes sb2ddFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Small arrow pointing to the trigger */
.sb2-dd__menu::before {
  content: ""; position: absolute; top: -6px; left: 22px;
  width: 12px; height: 12px;
  background: #fff;
  border-left: 1px solid rgba(0,0,0,0.06);
  border-top: 1px solid rgba(0,0,0,0.06);
  transform: rotate(45deg);
  border-radius: 2px 0 0 0;
}
.sb2-dd[data-dd="price"] .sb2-dd__menu::before,
.sb2-dd[data-dd="area"]  .sb2-dd__menu::before { left: auto; right: 22px; }
.sb2-dd.is-open > .sb2-dd__menu { display: block; }
.sb2-dd.is-open .sb2-chev { transform: rotate(180deg); }
.sb2-chev { transition: transform 0.18s; }

.sb2-dd__opt {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 12px 14px;
  border: none; background: transparent;
  border-radius: 10px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  color: #1a1d24; text-align: left; cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.sb2-dd__opt:hover { background: #f5f3ec; color: #0c0c0c; }
.sb2-dd__opt i {
  color: #c5a059; font-size: 14px;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(197,160,89,0.1); border-radius: 8px;
  flex-shrink: 0;
}

/* Sheet header (title + clear) — mobile bottom-sheet only, hidden on desktop */
.sb2-sheet-head { display: none; }

/* Compact popover (area / price) */
.sb2-dd__pop { min-width: 360px; padding: 18px; }
.sb2-pop__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-bottom: 12px;
}
.sb2-pop__input {
  display: flex; align-items: center; gap: 4px;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb; border-radius: 10px;
  padding: 0 14px;
  transition: border-color 0.15s, background 0.15s;
}
.sb2-pop__input:focus-within { border-color: #c5a059; background: #fff; }
.sb2-pop__input input {
  flex: 1; min-width: 0;
  border: none; background: transparent; outline: none;
  padding: 13px 0; font-family: inherit; font-size: 14px; font-weight: 500;
  color: #1a1d24;
}
.sb2-pop__input input::placeholder { color: #9ca3af; }
.sb2-pop__input span { color: #6b7280; font-size: 13px; font-weight: 600; }
.sb2-pop__label {
  font-size: 11px; font-weight: 700; color: #6b7280;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 14px 0 10px;
}
.sb2-pop__rooms {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px;
  margin-bottom: 14px;
}
.sb2-pop__room {
  padding: 10px 0;
  background: #f9fafb; border: 1.5px solid #e5e7eb; border-radius: 8px;
  font-family: inherit; font-size: 13.5px; font-weight: 700;
  color: #1a1d24; cursor: pointer; transition: all 0.13s;
}
.sb2-pop__room:hover { border-color: #c5a059; color: #0c0c0c; }
.sb2-pop__room.is-active { background: #c5a059; color: #fff; border-color: #c5a059; }

.sb2-pop__modes {
  display: flex; align-items: center; gap: 6px; margin-bottom: 14px;
  padding-bottom: 14px; border-bottom: 1px solid #f3f4f6;
}
.sb2-pop__mode {
  padding: 7px 14px; border-radius: 999px;
  background: #f3f4f6; border: 1.5px solid transparent;
  font-family: inherit; font-size: 12.5px; font-weight: 700;
  color: #4b5563; cursor: pointer; transition: all 0.13s;
}
.sb2-pop__mode:hover { color: #1a1d24; }
.sb2-pop__mode.is-active { background: rgba(197,160,89,0.12); border-color: #c5a059; color: #0c0c0c; }
.sb2-pop__cur {
  margin-left: auto; display: flex; gap: 0;
  background: #f3f4f6;
  border-radius: 999px; padding: 3px;
}
.sb2-pop__cur-btn {
  min-width: 32px; height: 26px; border: none; background: transparent;
  color: #6b7280; font-weight: 800; font-size: 13px;
  border-radius: 999px; cursor: pointer; font-family: inherit; transition: all 0.13s;
}
.sb2-pop__cur-btn:hover { color: #1a1d24; }
.sb2-pop__cur-btn.is-active { background: #c5a059; color: #fff; }

.sb2-pop__actions {
  display: flex; justify-content: flex-end; gap: 8px;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid #f3f4f6;
}
.sb2-pop__btn {
  padding: 10px 18px; border-radius: 9px;
  font-family: inherit; font-size: 13px; font-weight: 700;
  cursor: pointer; border: none; transition: all 0.13s;
}
.sb2-pop__btn--ghost { background: transparent; color: #4b5563; }
.sb2-pop__btn--ghost:hover { background: #f3f4f6; color: #1a1d24; }
.sb2-pop__btn--ok { background: #c5a059; color: #fff; }
.sb2-pop__btn--ok:hover { background: #b8923c; box-shadow: 0 4px 12px rgba(197,160,89,0.3); }

/* Right-align popovers near the right edge (price button) */
.sb2-dd[data-dd="price"] .sb2-dd__menu,
.sb2-dd[data-dd="area"]  .sb2-dd__menu { right: 0; left: auto; }

/* Mobile: bottom-sheet dropdowns with smooth scroll, hidden scrollbars.
   Breakpoint matches the .search2__main grid (768px) so there's no gap band
   where fields are stacked as cards but dropdowns still open inline. */
@media (max-width: 768px) {
  .sb2-dd__menu {
    position: fixed; top: auto; bottom: 0; left: 0; right: 0;
    border-radius: 22px 22px 0 0;
    min-width: 0;
    max-height: 86vh; overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 -24px 60px rgba(0,0,0,0.4);
    padding: 14px 18px calc(20px + env(safe-area-inset-bottom, 0));
    z-index: 6000;
    animation: sb2SheetUp 0.26s cubic-bezier(0.22, 1, 0.36, 1);
    /* Hidden scrollbar — finger-driven scroll */
    scrollbar-width: none;
  }
  .sb2-dd__menu::-webkit-scrollbar { display: none; }
  /* Drag handle bar at the top of the sheet */
  .sb2-dd__menu::before {
    content: "";
    display: block;
    width: 42px; height: 4px;
    background: rgba(0,0,0,0.16);
    border-radius: 999px;
    margin: 2px auto 10px;
    position: static;
    transform: none;
    border: none;
  }
  /* Backdrop behind the sheet (dims the whole page) */
  .sb2-dd.is-open ~ .sb2-dd__menu-backdrop,
  .sb2-dd.is-open::after {
    content: ""; position: fixed; inset: 0;
    background: rgba(0,0,0,0.5); z-index: 5999;
    animation: sb2FadeIn 0.2s ease;
  }
  .sb2-dd[data-dd="price"] .sb2-dd__menu,
  .sb2-dd[data-dd="area"]  .sb2-dd__menu { right: 0; left: 0; }

  /* Sheet title bar: "ფართი            გასუფთავება" */
  .sb2-sheet-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin: 0 2px 14px;
    padding-bottom: 12px; border-bottom: 1px solid #f1f1f1;
  }
  .sb2-sheet-title { font-size: 17px; font-weight: 800; color: #0c0c0c; letter-spacing: -0.01em; }
  .sb2-sheet-clear {
    background: none; border: none; font-family: inherit;
    font-size: 13.5px; font-weight: 700; color: #6b7280;
    cursor: pointer; padding: 4px 2px;
  }
  .sb2-sheet-clear:active { color: #c5a059; }

  .sb2-dd__opt {
    padding: 15px 14px; font-size: 15px;
    border-radius: 12px;
  }
  .sb2-dd__pop { min-width: 0; }

  /* Footer action: single full-width "არჩევა" (clear lives in the header) */
  .sb2-pop__actions {
    justify-content: stretch; gap: 0;
    margin-top: 18px; padding-top: 16px;
    position: sticky; bottom: 0;
    background: #fff;
  }
  .sb2-pop__btn--ghost { display: none; }
  .sb2-pop__btn--ok {
    flex: 1; width: 100%;
    padding: 15px; font-size: 15px; border-radius: 12px;
  }
  .sb2-pop__room { padding: 13px 0; }
}
@keyframes sb2SheetUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@keyframes sb2FadeIn { from { opacity: 0; } to { opacity: 1; } }
