/* ==========================================================
   Vivid Horizon — Listings Page
   listings.css  (Christie's-inspired, simplified)
   ========================================================== */

:root {
  --gold:        #C29B6B;
  --gold-light:  #D4B483;
  --navy:        #293352;
  --charcoal:    #1C1C1C;
  --dark-bg:     #0d1018;
  --surface:     #181c24;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'Roboto Condensed', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #0b1220;
  color: rgba(255,255,255,0.88);
  font-family: var(--sans);
  padding-top: 124px;
  -webkit-font-smoothing: antialiased;
}

/* Results zone — full-width container that holds the blue radial glow */
.results-zone {
  position: relative;
}
.results-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(74,93,143,0.2), transparent 65%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%);
  pointer-events: none;
  z-index: 0;
}
.results-zone > * {
  position: relative;
  z-index: 1;
}

.page-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 767px) { .page-container { padding: 0 20px; } }

/* ==========================================================
   PAGE TOP — breadcrumb + title
   ========================================================== */

.page-top {
  padding: 32px 0 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { color: rgba(255,255,255,0.15); }

.page-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: rgba(255,255,255,0.97);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.page-subtitle {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.36);
  margin: 0;
}

/* ==========================================================
   SEARCH BAR
   ========================================================== */

.search-section {
  padding: 20px 0 0;
  background: var(--dark-bg);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* ==========================================================
   FILTER BAR (Christie's style)
   ========================================================== */

.filter-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

/* Search input */
.fb-search-wrap {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.03);
  padding: 0 14px;
  transition: border-color 0.2s;
}

.fb-search-wrap:focus-within { border-color: rgba(194,155,107,0.5); }

.fb-search-icon { flex-shrink: 0; color: rgba(255,255,255,0.3); }

.fb-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 0;
  color: rgba(255,255,255,0.85);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.fb-search-input::placeholder { color: rgba(255,255,255,0.22); }

/* Pill buttons */
.fb-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.fb-pill {
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.22);
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s;
}

.fb-pill:hover {
  background: var(--navy);
  border-color: var(--gold);
  color: var(--gold);
}

.fb-pill--active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 700;
}

.fb-pill--active:hover { background: var(--gold-light); border-color: var(--gold-light); }

.fb-pill--drop::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 7px;
  vertical-align: middle;
  opacity: 0.6;
}

.fb-pill--filters {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.fb-pill--save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.4);
  border-color: rgba(255,255,255,0.12);
}

.fb-pill--save:hover { color: var(--gold); border-color: rgba(194,155,107,0.4); }

/* Dropdown wrappers */
.fb-dropdown-wrap {
  position: relative;
}

.fb-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  background: #1a1f2b;
  border: 1px solid rgba(194,155,107,0.25);
  box-shadow: 0 12px 40px rgba(0,0,0,0.55);
  z-index: 200;
  padding: 8px 0;
}

.fb-dropdown.open { display: block; }

.fb-dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background 0.15s;
}

.fb-dd-item:hover { background: rgba(194,155,107,0.08); color: rgba(255,255,255,0.95); }

.fb-dd-item input { accent-color: var(--gold); cursor: pointer; }

.fb-dd-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 10px 18px 6px;
  margin: 0;
}

/* Price range dropdown */
.fb-dropdown--price {
  min-width: 320px;
  padding: 20px 18px;
}

.fb-price-track-wrap {
  padding: 8px 0 16px;
}

.fb-price-track {
  position: relative;
  height: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  margin: 12px 8px;
}

.fb-price-fill {
  position: absolute;
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  left: 0;
  right: 0;
}

.fb-price-thumb {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: grab;
  transition: box-shadow 0.15s;
}

.fb-price-thumb:hover { box-shadow: 0 0 0 4px rgba(194,155,107,0.2); }

.fb-price-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fb-price-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  border: 1px solid rgba(194,155,107,0.35);
  padding: 6px 10px;
  gap: 4px;
}

.fb-price-cur { font-family: var(--sans); font-size: 12px; color: var(--gold); }

.fb-price-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: rgba(255,255,255,0.85);
  font-family: var(--sans);
  font-size: 12px;
  min-width: 0;
}

.fb-price-sep { color: rgba(255,255,255,0.3); font-size: 14px; flex-shrink: 0; }

/* Beds dropdown */
.fb-dropdown--beds {
  min-width: 260px;
  padding: 16px 18px;
}

.fb-beds-group {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.fb-beds-btn {
  flex: 1;
  padding: 9px 6px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  min-width: 36px;
}

.fb-beds-btn:hover { border-color: var(--gold); color: var(--gold); }
.fb-beds-btn--active { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ==========================================================
   FILTERS DRAWER (full panel overlay)
   ========================================================== */

.filters-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
}

.filters-overlay.open { display: block; }

.filters-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 680px;
  max-width: 95vw;
  height: 100vh;
  background: var(--navy);
  color: rgba(255,255,255,0.88);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.filters-drawer.open { transform: translateX(0); }

.filters-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  position: relative;
  flex-shrink: 0;
}

.filters-drawer__header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(194,155,107,0.3) 15%,
    rgba(194,155,107,0.45) 40%,
    rgba(194,155,107,0.45) 60%,
    rgba(194,155,107,0.3) 85%,
    transparent 100%
  );
}

.filters-drawer__title {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.filters-drawer__close {
  background: none;
  border: none;
  font-size: 18px;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}

.filters-drawer__close:hover { color: var(--gold); }

.filters-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.filters-drawer__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  position: relative;
  flex-shrink: 0;
  background: var(--navy);
}

.filters-drawer__footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(194,155,107,0.3) 15%,
    rgba(194,155,107,0.45) 40%,
    rgba(194,155,107,0.45) 60%,
    rgba(194,155,107,0.3) 85%,
    transparent 100%
  );
}

.fd-clear-btn {
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: color 0.2s;
  padding: 10px 0;
}

.fd-clear-btn:hover { color: rgba(255,255,255,0.7); }

.fd-apply-btn {
  padding: 12px 32px;
  background: var(--gold);
  border: none;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.fd-apply-btn:hover { background: var(--gold-light); }

/* Section toggles */
.fd-section {
  position: relative;
}

.fd-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(194,155,107,0.22) 15%,
    rgba(194,155,107,0.35) 40%,
    rgba(194,155,107,0.35) 60%,
    rgba(194,155,107,0.22) 85%,
    transparent 100%
  );
  pointer-events: none;
}

.fd-section__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  transition: color 0.15s;
}

.fd-section__toggle:hover { color: var(--gold); }

.fd-section__icon {
  font-size: 18px;
  color: #C29B6B;
  line-height: 1;
}

.fd-section__content {
  padding: 4px 28px 24px;
}

/* Checkbox grid (3 cols) */
.fd-check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 16px;
}

.fd-check-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.fd-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  line-height: 1.4;
}

.fd-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1px solid #C29B6B;
  border-radius: 0;
  accent-color: #C29B6B;
  flex-shrink: 0;
  cursor: pointer;
}

/* Sub-section labels */
.fd-subsection-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin: 20px 0 10px;
}

.fd-subsection-title:first-child { margin-top: 0; }

/* Bathroom tabs */
.fd-tabs {
  display: flex;
  border: 1px solid #C29B6B;
  overflow: hidden;
}

.fd-tab {
  flex: 1;
  padding: 10px 8px;
  border: none;
  border-right: 1px solid rgba(194,155,107,0.4);
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.18s;
  text-align: center;
}

.fd-tab:last-child { border-right: none; }
.fd-tab:hover { background: rgba(194,155,107,0.12); color: var(--gold); }
.fd-tab--active { background: var(--gold); color: var(--navy); }

/* Range slider */
.fd-range-wrap {
  padding: 8px 0 4px;
}

.fd-range-slider {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 2px;
  background: rgba(255,255,255,0.15);
  outline: none;
  cursor: pointer;
}

.fd-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #C29B6B;
  cursor: grab;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.fd-range-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.fd-range-label {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

.fd-range-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fd-range-input {
  flex: 1;
  border: 1px solid rgba(194,155,107,0.4);
  background: rgba(255,255,255,0.05);
  padding: 7px 10px;
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  outline: none;
  min-width: 0;
  text-align: center;
}

.fd-range-unit {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

/* Range slider track fill via JS not needed — native slider used */

/* ==========================================================
   MAP TOGGLE SWITCH
   ========================================================== */

.map-toggle-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.map-toggle-switch__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.map-toggle-switch input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.map-toggle-switch__track {
  display: inline-flex;
  align-items: center;
  width: 40px;
  height: 22px;
  background: rgba(255,255,255,0.12);
  border-radius: 11px;
  padding: 2px;
  transition: background 0.25s;
  flex-shrink: 0;
}

.map-toggle-switch input:checked ~ .map-toggle-switch__track {
  background: var(--gold);
}

.map-toggle-switch__thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  transition: transform 0.25s;
}

.map-toggle-switch input:checked ~ .map-toggle-switch__track .map-toggle-switch__thumb {
  transform: translateX(18px);
}

/* ==========================================================
   ACTIVE CHIPS + RESULTS BAR
   ========================================================== */

.results-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.active-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
}

.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid rgba(194,155,107,0.4);
  background: rgba(194,155,107,0.07);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.active-chip:hover { background: rgba(194,155,107,0.14); }

.active-chip__x {
  color: var(--gold);
  font-size: 10px;
  line-height: 1;
  opacity: 0.7;
}

.clear-btn {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.clear-btn:hover { color: rgba(255,255,255,0.6); }

.results-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.results-count {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.results-count strong { color: var(--gold); font-weight: 500; }

.sort-select {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.55);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 30px 7px 12px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,0.35)' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color 0.22s;
}

.sort-select:hover { border-color: rgba(194,155,107,0.4); }
.sort-select option { background: #0b1220; color: #fff; }

.map-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(194,155,107,0.28);
  background: rgba(41,51,82,0.2);
  color: rgba(255,255,255,0.55);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.map-toggle-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.map-toggle-btn.active { background: rgba(194,155,107,0.12); color: var(--gold); border-color: var(--gold); }

/* ==========================================================
   PROPERTY GRID
   ========================================================== */

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

@media (max-width: 639px) { .prop-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   PROPERTY CARD — info BELOW image (Christie's style)
   ========================================================== */

.vh-card {
  display: block;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.vh-card:hover {
  border-color: rgba(194,155,107,0.45);
  transform: translateY(-2px);
}

/* Image wrapper */
.vh-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #1a2538;
}

/* VH logo watermark on every card photo */
.vh-card__img-wrap::after {
  content: '';
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 80px;
  height: 34px;
  background: url('images/vh-logo-white.png') right bottom / contain no-repeat;
  opacity: 0.42;
  pointer-events: none;
  z-index: 4;
}

.vh-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.vh-card:hover .vh-card__img { transform: scale(1.04); }

/* Badge top-left */
.vh-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}

/* Action icons top-right */
.vh-card__actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 4px;
  z-index: 2;
}

.vh-card__action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s, color 0.2s;
}

.vh-card__action:hover { background: rgba(0,0,0,0.85); color: var(--gold); }

.vh-card__action.saved { color: var(--gold); border-color: rgba(194,155,107,0.5); }

/* Info block — BELOW the image */
.vh-card__body {
  padding: 16px 18px 20px;
}

.vh-card__price {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 4px;
  line-height: 1;
}

.vh-card__name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vh-card__location {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vh-card__location::before {
  content: '◉';
  font-size: 7px;
  color: var(--gold);
  opacity: 0.7;
}

.vh-card__feats {
  display: flex;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.vh-card__feat {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.04em;
}

.vh-card__feat svg { opacity: 0.55; flex-shrink: 0; }

/* ==========================================================
   RESULTS LAYOUT — grid + map side by side
   ========================================================== */

.results-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 0;
  min-height: 80vh;
  align-items: start;
}

.results-layout.map-hidden { grid-template-columns: 1fr; }
.results-layout.map-hidden .prop-grid { grid-template-columns: repeat(3, 1fr); }
.results-layout:not(.map-hidden) .prop-grid { grid-template-columns: repeat(2, 1fr); }
.results-layout.map-hidden .prop-grid-wrap { padding-right: 0; border-right: none; }

.prop-grid-wrap {
  padding: 0 32px 80px 0;
}

@media (max-width: 1100px) {
  .results-layout { grid-template-columns: 1fr; }
  .prop-grid-wrap { padding-right: 0; border-right: none; }
}

/* ==========================================================
   MAP PANEL
   ========================================================== */

.map-panel {
  background: var(--dark-bg);
  overflow: hidden;
  min-height: 600px;
}

@media (max-width: 1100px) {
  .map-panel { display: none; }
}

#vh-map {
  width: 100%;
  height: 600px;
}

/* Leaflet map styling */
#vh-map .leaflet-tile-layer {
  filter: brightness(0.85) contrast(1.1);
}

#vh-map .leaflet-popup-content-wrapper {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

#vh-map .leaflet-popup-content {
  margin: 0;
  line-height: 1.4;
}

#vh-map .leaflet-popup-tip {
  background: #fff;
}

.leaflet-custom-pin {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
  background: #1e1e2a !important;
  border: 1px solid #2a2a3e !important;
  color: #aaa !important;
  font-size: 18px !important;
}

.leaflet-control-zoom-in:hover,
.leaflet-control-zoom-out:hover {
  background: #252534 !important;
  color: #ddd !important;
}

/* ==========================================================
   PAGINATION
   ========================================================== */

.pagination {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
  margin-top: 40px;
}

.pagination__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: border-color 0.22s, color 0.22s;
  cursor: pointer;
  background: transparent;
}

.pagination__btn:hover { border-color: rgba(194,155,107,0.55); color: var(--gold); }

.pagination__btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(194,155,107,0.08);
}

.pagination__dots { color: rgba(255,255,255,0.2); font-size: 13px; padding: 0 4px; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 991px) {
  body { padding-top: 72px; }
  .fb-pill--save { margin-left: 0; }
  .results-right { flex-wrap: wrap; }
}

@media (max-width: 639px) {
  .results-header { flex-direction: column; align-items: flex-start; }
  .results-right { margin-left: 0; gap: 8px; }
  .map-toggle-switch { display: none; }
}

/* ==========================================================
   VH HERO (listings2)
   ========================================================== */

.vh-hero {
  position: relative;
  height: calc(85vh + 124px);
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  margin-top: -124px;
}

/* Soft dissolve — image bleeds into body background with no seam */
.vh-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 360px;
  background: linear-gradient(to top,
    #0b1220 0%,
    #0b1220 8%,
    rgba(11,18,32,0.94) 18%,
    rgba(11,18,32,0.72) 34%,
    rgba(11,18,32,0.38) 52%,
    rgba(11,18,32,0.12) 70%,
    transparent 100%
  );
  z-index: 3;
  pointer-events: none;
}

.vh-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.vh-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.vh-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    /* Fix 1 — top fade: blends nav/header into hero, removes the cut */
    linear-gradient(to bottom, rgba(10,15,25,0.65) 0%, rgba(10,15,25,0.0) 22%),
    /* Fix 2 & 3 — bottom-focused, lighter left side */
    linear-gradient(to right, rgba(10,15,25,0.55) 0%, rgba(10,15,25,0.22) 50%, transparent 75%),
    linear-gradient(to top,   rgba(10,15,25,0.85) 0%, rgba(10,15,25,0.0) 55%);
}

.vh-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 48px;
}

/* Search bar wrapper inside the hero */
.vh-hero__bar {
  position: relative;
  z-index: 25;
  padding-bottom: 72px;
}

/* Hide mobile nav toggle on desktop (no CSS was defined for it) */
.vh-mobile-nav-toggle {
  display: none !important;
}
@media (max-width: 900px) {
  .vh-mobile-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    padding: 0;
  }
}

.vh-hero__sublabel {
  display: block;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.vh-hero__title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: #E5E2E1;
  line-height: 1.12;
  margin: 0 0 72px;
  font-weight: 400;
}

.vh-hero__title em {
  color: var(--gold);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* ── Hero glassmorphism search bar ── */
.vh-hero__search-bar {
  display: flex;
  align-items: stretch;
  background: rgba(10,15,25,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 1px 0 rgba(255,255,255,0.05) inset;
  position: relative;
  z-index: 10;
}

.vh-hero__field {
  flex: 1;
  padding: 22px 32px 20px;
  cursor: text;
  transition: background 0.3s;
  border: 1px solid rgba(255,255,255,0.06);
  border-top: none;
  border-bottom: none;
}

.vh-hero__field:hover {
  background: rgba(255,255,255,0.04);
}

.vh-hero__field-label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  font-family: var(--sans);
  font-weight: 500;
}

.vh-hero__field-input,
.vh-hero__field-select {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: rgba(229,226,225,0.88);
  font-family: var(--sans);
  font-size: 13px;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.vh-hero__field-input::placeholder {
  color: rgba(229,226,225,0.35);
}

.vh-hero__field-select option {
  background: #181c24;
  color: #E5E2E1;
}

.vh-hero__field-divider {
  width: 1px;
  background: rgba(255,255,255,0.06);
  align-self: stretch;
  margin: 16px 0;
  flex-shrink: 0;
}

.vh-hero__filters-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.06);
  color: rgba(229,226,225,0.55);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.vh-hero__filters-btn:hover {
  background: rgba(255,255,255,0.04);
  color: var(--gold);
}

.vh-hero__search-btn {
  padding: 0 44px;
  margin-left: 8px;
  background: var(--gold);
  border: none;
  color: #0d1018;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s;
  flex-shrink: 0;
}

.vh-hero__search-btn:hover {
  background: var(--gold-light);
}

/* ==========================================================
   VH CARD 2 (listings2 editorial cards)
   ========================================================== */

.vh-card2 {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.vh-card2__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--dark-bg);
}

.vh-card2__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s ease;
}

.vh-card2:hover .vh-card2__img {
  transform: scale(1.05);
}

/* Watermark */
.vh-card2__img-wrap::after {
  content: '';
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 80px;
  height: 34px;
  background: url('images/vh-logo-white.png') right bottom / contain no-repeat;
  opacity: 0.42;
  pointer-events: none;
  z-index: 4;
}

.vh-card2__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(20,20,20,0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 5px 12px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E5E2E1;
  z-index: 3;
}

.vh-card2__actions {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.25s;
}

.vh-card2:hover .vh-card2__actions {
  opacity: 1;
}

.vh-card2__action {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(20,20,20,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.vh-card2__action:hover {
  background: rgba(194,155,107,0.3);
  color: var(--gold);
}

.vh-card2__action.saved svg {
  fill: var(--gold);
  stroke: var(--gold);
}

.vh-card2__body {
  padding: 20px 2px 40px;
}

.vh-card2__meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.vh-card2__location {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(229,226,225,0.45);
  margin: 0 0 5px;
  font-family: var(--sans);
}

.vh-card2__title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: #E5E2E1;
  margin: 0;
  transition: color 0.3s;
  line-height: 1.2;
}

.vh-card2:hover .vh-card2__title {
  color: var(--gold);
}

.vh-card2__price {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold);
  white-space: nowrap;
  padding-top: 2px;
  flex-shrink: 0;
}

.vh-card2__stats {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(229,226,225,0.45);
  font-family: var(--sans);
  flex-wrap: wrap;
}

.vh-card2__stats span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vh-card2__stats svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* Card2 grid uses wider gap */
.prop-grid:has(.vh-card2) {
  gap: 48px 32px;
}

/* Stagger: middle column offset */
.results-layout.map-hidden .prop-grid .vh-card2:nth-child(3n+2) {
  transform: translateY(48px);
  margin-bottom: 48px;
}

.results-layout:not(.map-hidden) .prop-grid .vh-card2:nth-child(2n) {
  transform: translateY(36px);
  margin-bottom: 36px;
}

/* ==========================================================
   VH RESULTS HEADER (editorial — listings2)
   ========================================================== */

.vh-results-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid rgba(194,155,107,0.15);
  padding: 56px 0 24px;
  margin-bottom: 24px;
}

.vh-results-label {
  display: block;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.vh-results-title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: #E5E2E1;
  margin: 0;
  line-height: 1;
}

.vh-results-count {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(229,226,225,0.4);
  font-style: italic;
  white-space: nowrap;
}

.vh-results-count strong {
  font-style: normal;
  color: rgba(229,226,225,0.6);
}

/* ==========================================================
   CURATOR'S JOURNAL CTA (listings2)
   ========================================================== */

.vh-cta-join {
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(8,13,22,0.6) 25%,
    var(--dark-bg) 55%,
    var(--dark-bg) 100%
  );
  padding: 112px 48px;
  text-align: center;
  margin-top: 80px;
}

.vh-cta-join__inner {
  max-width: 560px;
  margin: 0 auto;
}

.vh-cta-join__label {
  display: block;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.vh-cta-join__heading {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  color: #E5E2E1;
  margin: 0 0 40px;
  line-height: 1.25;
}

.vh-cta-join__form {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 520px;
  margin: 0 auto;
}

.vh-cta-join__form-input-wrap {
  flex: 1;
}

.vh-cta-join__form input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 14px 16px 14px 0;
  font-size: 13px;
  color: #E5E2E1;
  font-family: var(--sans);
  outline: none;
}

.vh-cta-join__form input::placeholder {
  color: rgba(229,226,225,0.35);
}

.vh-cta-join__btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  border: 1px solid rgba(194,155,107,0.6);
  background: transparent;
  color: #C8A46A;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s ease, border-color 0.5s ease;
}

.vh-cta-join__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #C8A46A;
  z-index: -1;
  transform: translateX(-106%);
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}

.vh-cta-join__btn:hover {
  color: #0d1018;
  border-color: #C8A46A;
}

.vh-cta-join__btn:hover::before {
  transform: translateX(0);
}

/* ==========================================================
   FILTER BUTTON HOVER STATES
   ========================================================== */

.fb-pill:hover,
.fb-pill--drop:hover {
  background: var(--navy);
  border-color: var(--gold);
  color: var(--gold);
}

@media (max-width: 900px) {
  .vh-hero { height: auto; min-height: 0; padding-top: 172px; } /* 124px header + 48px breathing room */
  .vh-hero__search-bar { flex-direction: column; }
  .vh-hero__field-divider { width: 100%; height: 1px; }
  .vh-hero__filters-btn { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); padding: 16px 20px; justify-content: center; }
  .vh-hero__search-btn { padding: 18px 20px; }
  .vh-results-header { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 40px; }
  .vh-cta-join { padding: 72px 24px; }
  .results-layout.map-hidden .prop-grid .vh-card2:nth-child(3n+2) { transform: none; margin-bottom: 0; }
  .results-layout:not(.map-hidden) .prop-grid .vh-card2:nth-child(2n) { transform: none; margin-bottom: 0; }
}

/* ==========================================================
   LUXURY CUSTOM DROPDOWNS (hero search bar — listings2)
   ========================================================== */

/* Fields that host a custom dropdown need relative positioning */
.vh-hero__field--location,
.vh-hero__field--select {
  position: relative;
  cursor: pointer;
}

/* Display row (text + chevron) */
.vh-loc__display,
.vh-select__display {
  display: flex;
  align-items: center;
  color: rgba(229,226,225,0.88);
  font-family: var(--sans);
  font-size: 13px;
  user-select: none;
  padding-right: 24px; /* prevent text underlapping the absolute arrow */
}

.vh-loc__display svg,
.vh-select__display svg {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  opacity: 0.5;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s;
  pointer-events: none;
}

/* Rotate chevron up when any panel is open (both drop-down and drop-up) */
.vh-hero__field--location.open .vh-loc__display svg,
.vh-hero__field--select.open .vh-select__display svg {
  transform: translateY(-50%) rotate(180deg);
  opacity: 0.85;
}

/* Dropdown panels */
.vh-loc__panel,
.vh-select__panel {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 100%;
  background: rgba(10,12,20,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.vh-hero__field--location.open .vh-loc__panel,
.vh-hero__field--select.open .vh-select__panel {
  display: block;
}

/* Open upward when field is near the bottom of the viewport */
.vh-hero__field--location.drop-up .vh-loc__panel,
.vh-hero__field--select.drop-up .vh-select__panel {
  top: auto;
  bottom: calc(100% + 2px);
  box-shadow: 0 -12px 40px rgba(0,0,0,0.55);
}


/* Step label */
.vh-loc__step-label {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(229,226,225,0.35);
  padding: 16px 18px 8px;
  margin: 0;
}

/* Step visibility */
.vh-loc__step--hidden { display: none; }

/* Country / city option buttons */
.vh-loc__opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 18px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  text-align: left;
  transition: background 0.18s;
}

.vh-loc__opt:last-child { border-bottom: none; }

.vh-loc__opt:hover { background: rgba(194,155,107,0.07); }

.vh-loc__opt-name {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(229,226,225,0.85);
  transition: color 0.18s;
}

.vh-loc__opt:hover .vh-loc__opt-name { color: var(--gold); }

.vh-loc__opt-count {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(229,226,225,0.3);
  white-space: nowrap;
}

/* Back button (city step) */
.vh-loc__back {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 13px 18px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  transition: opacity 0.18s;
}

.vh-loc__back:hover { opacity: 0.75; }

/* City text input */
.vh-loc__city-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  outline: none;
  padding: 10px 18px;
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(229,226,225,0.88);
  box-sizing: border-box;
}

.vh-loc__city-input::placeholder { color: rgba(229,226,225,0.3); }
.vh-loc__city-input:focus { border-bottom-color: rgba(194,155,107,0.4); }

/* Price / Type option buttons */
.vh-select__opt {
  display: block;
  width: 100%;
  padding: 12px 18px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  text-align: left;
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(229,226,225,0.75);
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}

.vh-select__opt:last-child { border-bottom: none; }
.vh-select__opt:hover { background: rgba(194,155,107,0.07); color: var(--gold); }
.vh-select__opt--active { color: var(--gold); background: rgba(194,155,107,0.05); }

/* ==========================================================
   PARTNER PORTAL MODAL
   ========================================================== */

.partner-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.72); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.partner-overlay.open { opacity: 1; pointer-events: all; }
.partner-modal {
  background: #111111; border: 1px solid rgba(194,155,107,0.18);
  padding: 60px 56px 52px; width: 480px; max-width: 92vw;
  position: relative; transform: translateY(24px);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.partner-overlay.open .partner-modal { transform: translateY(0); }
.partner-close {
  position: absolute; top: 20px; right: 20px;
  color: rgba(255,255,255,0.25); padding: 4px; line-height: 0;
  background: none; border: none; cursor: pointer; transition: color 0.25s;
}
.partner-close:hover { color: #fff; }
.partner-eyebrow {
  font-size: 9px; font-weight: 500; letter-spacing: 0.36em;
  text-transform: uppercase; color: #C8A46A;
  margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
}
.partner-eyebrow::before {
  content: ''; width: 24px; height: 1px;
  background: rgba(194,155,107,0.45); flex-shrink: 0;
}
.partner-title {
  font-family: var(--serif); font-size: 28px; font-weight: 400; color: #fff;
  letter-spacing: 0.02em; margin-bottom: 12px;
}
.partner-subtitle {
  font-size: 12px; font-weight: 300; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.38); line-height: 1.85; margin-bottom: 46px;
}
.partner-field { margin-bottom: 24px; }
.partner-field label {
  display: block; font-size: 9px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(194,155,107,0.8); margin-bottom: 9px;
}
.partner-input {
  width: 100%; background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85); font-family: var(--sans);
  font-size: 13px; letter-spacing: 0.05em; padding: 15px 18px;
  outline: none; transition: border-color 0.3s, background 0.3s;
}
.partner-input:focus { border-color: rgba(194,155,107,0.35); background: rgba(255,255,255,0.04); }
.partner-input::placeholder { color: rgba(255,255,255,0.12); }
.join-pw-wrap { position: relative; }
.join-pw-toggle {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.3); padding: 0; line-height: 0;
}
.partner-submit {
  width: 100%; margin-top: 32px; padding: 16px 24px;
  background: transparent; border: 1px solid rgba(194,155,107,0.8);
  color: rgba(194,155,107,0.8); font-family: var(--sans);
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color 0.55s ease;
}
.partner-submit::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(194,155,107,0.8); z-index: -1;
  transform: translateX(-106%);
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}
.partner-submit:hover { color: #111; }
.partner-submit:hover::before { transform: translateX(0); }
.partner-note {
  margin-top: 30px; font-size: 10px; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.2); text-align: center; line-height: 1.8;
}
.partner-note a { color: rgba(194,155,107,0.45); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.partner-note a:hover { color: #C8A46A; }
.partner-error {
  display: none; margin-top: 14px; font-size: 11px;
  letter-spacing: 0.05em; color: rgba(210,120,100,0.85);
  text-align: center; line-height: 1.6;
}
.partner-error.visible { display: block; }


