/**
 * V7 — Design system agenții imobiliare
 * Variante 11–15 · încărcat după V6 align
 */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

body.theme-v6.theme-v7 {
  --v7-font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --v7-font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --v7-radius: 14px;
  --v7-radius-lg: 20px;
  --v7-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --v7-shadow: 0 8px 30px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  --v7-shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14), 0 8px 20px rgba(15, 23, 42, 0.06);
  --v7-ink: var(--v6-ink, #1a1f2e);
  --v7-muted: var(--v6-muted, #5c6578);
  --v7-line: rgba(15, 23, 42, 0.08);
  --v7-surface: #ffffff;
  --v7-canvas: var(--v6-canvas, #fafbfc);
  --v6-header-h: 80px;
  scroll-padding-top: var(--v6-header-h);
}

body.theme-v7 .v7-header,
body.theme-v7 .v7-hero,
body.theme-v7 .v7-search,
body.theme-v7 .v7-list-layout,
body.theme-v7 .v6-offer.v6-offer--showcase,
body.theme-v7 .v6-offer.v6-offer--magazine,
body.theme-v7 .v6-offer.v6-offer--immersive,
body.theme-v7 .v6-offer.v6-offer--brochure,
body.theme-v7 .v6-offer.v6-offer--atlas {
  font-family: var(--v7-font-body);
}

body.theme-v7 .v7-hero__title,
body.theme-v7 .v6-section-head h2,
body.theme-v7 .v6-offer__title {
  font-family: var(--v7-font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* —— Reset conflicte V6 pe componente V7 —— */
body.theme-v7 .v7-hero.v6-hero {
  padding: 0 !important;
  display: block !important;
  align-items: stretch !important;
  position: relative !important;
  overflow: hidden !important;
}

body.theme-v7 .v7-hero.v6-hero.v7-hero--no-media {
  min-height: 0 !important;
}

body.theme-v7 .v7-hero.v6-hero.v7-hero--atelier.v7-hero--no-media {
  min-height: 0 !important;
}

body.theme-v7 .v7-hero.v6-hero.v7-hero--no-media {
  background-color: var(--v7-canvas) !important;
}

body.theme-v7 .v7-hero.v6-hero::before,
body.theme-v7 .v7-hero.v6-hero::after {
  display: none !important;
}

body.theme-v7 .v7-hero .v6-hero__bg {
  display: none !important;
}

body.theme-v7 .v7-header.v6-site-header {
  background: unset;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.theme-v7 header.v7-header {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* ═══════════════════════════════════════
   HEADER — vitrina agenție
   ═══════════════════════════════════════ */
body.theme-v7 .v7-header {
  position: sticky;
  top: 0;
  z-index: 220;
  font-family: var(--v7-font-body);
}

body.theme-v7 .v7-header__bar {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  min-height: 80px;
}

body.theme-v7 .v7-header__brand {
  display: inline-flex;
  align-items: center;
  align-self: center;
  flex-shrink: 0;
  line-height: 1;
  text-decoration: none;
}

body.theme-v7 .v7-header__brand .v6-brand__text {
  font-family: var(--v7-font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

body.theme-v7 .v7-header__brand .v6-brand__img {
  max-height: 48px;
  width: auto;
}

body.theme-v7 .v7-header__nav .v6-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 28px);
  flex-wrap: wrap;
}

body.theme-v7 .v7-header__nav .v6-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--v7-ink);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

body.theme-v7 .v7-header__nav .v6-nav a:hover {
  color: var(--v6-primary);
  border-bottom-color: var(--v6-primary);
}

/* Submeniu + flyout dreapta (al 2-lea nivel) — depășește legacy ul li ul li a (!important) */
body.theme-v7 .v7-header__nav .v6-nav__sub a,
body.theme-v7 .v7-header__nav .v6-nav__sub > li > .v6-nav__trigger,
body.theme-v7 .v7-header__nav .v6-nav__item--nested > .v6-nav__sub a,
body.theme-v7 .v7-header__nav .v6-nav__item--nested > .v6-nav__sub > li > .v6-nav__trigger {
  color: var(--v7-ink, #1a1f2e) !important;
  background: transparent !important;
  border-bottom: none !important;
}

body.theme-v7 .v7-header__nav .v6-nav__sub a:hover,
body.theme-v7 .v7-header__nav .v6-nav__sub > li > .v6-nav__trigger:hover,
body.theme-v7 .v7-header__nav .v6-nav__item--nested > .v6-nav__sub a:hover {
  color: var(--v6-primary, var(--v7-ink)) !important;
  background: rgba(15, 23, 42, 0.05) !important;
}

body.theme-v7 .v7-header__nav .v6-nav__sub,
body.theme-v7 .v7-header__nav .v6-nav__item--nested > .v6-nav__sub {
  background: var(--v7-surface, #fff);
  z-index: 130;
}

body.theme-v7 .v7-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex-shrink: 0;
}

body.theme-v7 .v7-header__tel {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--v7-ink);
  text-decoration: none;
  white-space: nowrap;
}

body.theme-v7 .v7-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff !important;
  background: var(--v6-primary);
  border-radius: 4px;
  text-decoration: none;
  box-shadow: var(--v7-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body.theme-v7 .v7-header__cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: var(--v7-shadow);
}

/* Prestige — bară albă, sticky */
body.theme-v7 .v7-header--prestige {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--v7-line);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(12px);
}

/* Concierge — bandă încredere + nav */
body.theme-v7 .v7-header--concierge {
  background: var(--v7-surface);
  border-bottom: 1px solid var(--v7-line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: sticky;
  top: 0;
  z-index: 220;
}

body.theme-v7 .v7-header__trust {
  background: var(--v6-primary);
  color: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body.theme-v7 .v7-header__trust-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 12px 0;
  min-height: 48px;
  font-size: 0.8125rem;
  align-items: center;
}

body.theme-v7 .v7-header__trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  color: #fff;
  justify-content: center;
}

body.theme-v7 .v7-header__trust-item:first-child {
  align-items: flex-start;
  text-align: left;
}

body.theme-v7 .v7-header__trust-item:nth-child(2) {
  align-items: center;
  text-align: center;
}

body.theme-v7 .v7-header__trust-item:nth-child(3) {
  align-items: flex-end;
  text-align: right;
}

body.theme-v7 .v7-header__trust-inner:has(> .v7-header__trust-item:nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.theme-v7 .v7-header__trust-inner:has(> .v7-header__trust-item:nth-child(2):last-child) .v7-header__trust-item {
  align-items: center;
  text-align: center;
}

body.theme-v7 .v7-header__trust-item a {
  color: inherit;
  text-decoration: none;
}

body.theme-v7 .v7-header__trust-label {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  opacity: 1;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

body.theme-v7 .v7-header__trust-item strong {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  line-height: 1.35;
  background: none;
  text-shadow: none;
  filter: none;
}

body.theme-v7 .v7-header--concierge .v7-header__bar {
  min-height: 80px;
}

/* Signature — întunecat doar pe palete dark */
body.theme-v7.v6-palette-dark .v7-header--signature {
  background: linear-gradient(180deg, #12151c 0%, #1a1f2e 100%);
}

body.theme-v7.v6-palette-dark .v7-header--signature .v6-brand__text,
body.theme-v7.v6-palette-dark .v7-header--signature .v7-header__nav .v6-nav a {
  color: #ffffff;
}

body.theme-v7 .v7-header--signature {
  top: 0;
  box-shadow: var(--v7-shadow-sm);
}

body.theme-v7.v6-palette-light .v7-header--signature,
body.theme-v7:not(.v6-palette-dark) .v7-header--signature {
  background: var(--v7-surface, #fff);
  border-bottom: 1px solid var(--v7-line);
}

body.theme-v7.v6-palette-light .v7-header--signature .v6-brand__text,
body.theme-v7.v6-palette-light .v7-header--signature .v7-header__nav .v6-nav a,
body.theme-v7:not(.v6-palette-dark) .v7-header--signature .v6-brand__text,
body.theme-v7:not(.v6-palette-dark) .v7-header--signature .v7-header__nav .v6-nav a {
  color: var(--v7-ink, var(--v6-ink));
}

body.theme-v7 .v7-header--signature .v7-header__nav .v6-nav a:hover {
  color: var(--v6-primary);
  border-bottom-color: var(--v6-primary);
}

body.theme-v7 .v7-header--signature .v7-header__nav .v6-nav__sub a,
body.theme-v7 .v7-header--signature .v7-header__nav .v6-nav__sub > li > .v6-nav__trigger,
body.theme-v7 .v7-header--signature .v7-header__nav .v6-nav__item--nested > .v6-nav__sub a {
  color: var(--v7-ink, #1a1f2e) !important;
}

body.theme-v7 .v7-header__tel--light {
  color: rgba(255, 255, 255, 0.88);
}

body.theme-v7 .v7-header__outline-btn {
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.theme-v7.v6-palette-light .v7-header--signature .v7-header__outline-btn,
body.theme-v7:not(.v6-palette-dark) .v7-header--signature .v7-header__outline-btn {
  border-color: color-mix(in srgb, var(--v6-primary, var(--v7-ink)) 45%, var(--v7-line));
  color: var(--v7-ink, var(--v6-ink));
}

body.theme-v7.v6-palette-light .v7-header--signature .v7-header__tel--light,
body.theme-v7:not(.v6-palette-dark) .v7-header--signature .v7-header__tel--light {
  color: var(--v7-muted, var(--v6-muted));
}

body.theme-v7.v6-palette-light .v7-header--signature .v6-nav-toggle--light span,
body.theme-v7:not(.v6-palette-dark) .v7-header--signature .v6-nav-toggle--light span {
  background: var(--v7-ink, var(--v6-ink));
}

/* Pagini fără hero immersive — spațiu sub header (slot-uri V6 + legacy) */
body.theme-v6:not(.v6-hero-immersive.v6-page-home) #v6-slot-header + #v6-slot-listari,
body.theme-v7:not(.v6-hero-immersive.v6-page-home) #v6-slot-header + #v6-slot-listari {
  padding-top: clamp(8px, 1.5vw, 16px) !important;
}

body.theme-v6:not(.v6-hero-immersive.v6-page-home) #v6-slot-header + .v6-slot:not(#v6-slot-hero),
body.theme-v7:not(.v6-hero-immersive.v6-page-home) #v6-slot-header + .v6-slot:not(#v6-slot-hero),
body.theme-v7:not(.v6-hero-immersive.v6-page-home) #v6-slot-header + section:not(.v6-hero):not(.v7-hero),
body.theme-v7:not(.v6-hero-immersive.v6-page-home) #v6-slot-header + .properties-list,
body.theme-v7:not(.v6-hero-immersive.v6-page-home) #v6-slot-header + .portfolio,
body.theme-v7:not(.v6-hero-immersive.v6-page-home) #v6-slot-header + .blog {
  padding-top: clamp(24px, 4vw, 40px);
}

body.theme-v6:not(.v6-hero-immersive.v6-page-home) #v6-slot-offer > .v6-offer,
body.theme-v7:not(.v6-hero-immersive.v6-page-home) #v6-slot-offer > .v6-offer {
  padding-top: clamp(16px, 3vw, 28px) !important;
}

/* Preview / legacy: immersive rămas pe ofertă — header în flux normal, fără overlap */
body.theme-v6.v6-hero-immersive:not(.v6-page-home) #v6-slot-header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  pointer-events: auto !important;
}

body.theme-v6.v6-hero-immersive:not(.v6-page-home) .v6-site-header,
body.theme-v6.v6-hero-immersive:not(.v6-page-home) .v7-header {
  position: sticky !important;
  top: 0;
  background: var(--v7-surface, rgba(255, 255, 255, 0.96)) !important;
  border-bottom: 1px solid var(--v7-line, var(--v6-border, rgba(15, 23, 42, 0.08))) !important;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04) !important;
  backdrop-filter: blur(12px);
}

body.theme-v6.v6-hero-immersive:not(.v6-page-home) .v7-header .v6-brand__text,
body.theme-v6.v6-hero-immersive:not(.v6-page-home) .v7-header__nav .v6-nav a,
body.theme-v6.v6-hero-immersive:not(.v6-page-home) .v7-header__tel,
body.theme-v6.v6-hero-immersive:not(.v6-page-home) .v7-header__link {
  color: var(--v7-ink, var(--v6-ink)) !important;
  text-shadow: none !important;
}

body.theme-v7 .v6-nav-toggle--light span {
  background: #fff;
}

/* Metro — fără formular în header (căutare doar în hero / listări) */
body.theme-v7 .v7-header--metro {
  background: var(--v7-surface);
  border-bottom: 1px solid var(--v7-line);
  position: sticky;
  top: 0;
  box-shadow: var(--v7-shadow-sm);
}

body.theme-v7 .v7-header--metro .v7-header__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 72px;
}

body.theme-v7 .v7-header--metro .v7-header__nav {
  justify-self: center;
}

/* Studio — minimal editorial */
body.theme-v7 .v7-header--studio {
  background: var(--v7-canvas);
  border-bottom: 1px solid var(--v7-line);
}

body.theme-v7 .v7-header--studio .v7-header__brand--studio .v6-brand__text {
  font-size: 1.5rem;
}

body.theme-v7 .v7-header__nav--studio .v6-nav a {
  font-weight: 500;
  color: var(--v7-muted);
}

body.theme-v7 .v7-header__pill {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--v6-ink, #1a1f2e);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

body.theme-v7 .v7-header__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--v7-muted);
  text-decoration: none;
}

/* ═══════════════════════════════════════
   HERO — prima impresie agenție
   ═══════════════════════════════════════ */
body.theme-v7 .v7-hero {
  position: relative;
  overflow: hidden;
}

body.theme-v7 .v7-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: #1a2332;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat;
}

body.theme-v7 .v7-hero__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.theme-v7 .v7-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    115deg,
    rgba(10, 14, 22, 0.82) 0%,
    rgba(10, 14, 22, 0.45) 45%,
    rgba(10, 14, 22, 0.25) 100%
  );
  pointer-events: none;
}

body.theme-v7 .v7-hero__frame {
  position: relative;
  z-index: 2;
  width: 100%;
}

body.theme-v7 .v7-hero__kicker {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

body.theme-v7 .v7-hero--no-media .v7-hero__kicker {
  color: var(--v6-primary);
}

body.theme-v7 .v7-hero__title {
  margin: 0 0 16px;
  font-family: var(--v7-font-display);
  font-size: clamp(2.35rem, 5.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  color: #fff;
  max-width: 25ch;
}

body.theme-v7 .v7-hero--no-media .v7-hero__title {
  color: var(--v7-ink);
  max-width: 25ch;
}

body.theme-v7 .v7-hero__lead {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 42ch;
}

body.theme-v7 .v7-hero--no-media .v7-hero__lead {
  color: var(--v7-muted);
}

/* Portfolio */
body.theme-v7 .v7-hero--portfolio:not(.v7-hero--no-media) {
  min-height: clamp(560px, 78vh, 780px) !important;
}

body.theme-v7 .v7-hero__portfolio {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: inherit;
  padding: clamp(80px, 12vw, 120px) 0 clamp(100px, 14vw, 140px);
  max-width: 640px;
}

/* Residence (V7 Coastal) — fundal full-bleed pe hero; copy stânga, căutare dreapta */
body.theme-v7 .v7-hero--residence > .v6-wrap.v7-hero__frame {
  container-type: inline-size;
  container-name: v7-hero-frame;
}

body.theme-v7 .v7-hero--residence:not(.v7-hero--no-media) {
  min-height: clamp(520px, 72vh, 760px) !important;
}

body.theme-v7 .v7-hero--residence:not(.v7-hero--no-media).v6-hero {
  background-color: #1a2332 !important;
}

body.theme-v7 .v7-hero--residence:not(.v7-hero--no-media) .v7-hero__frame {
  display: flex;
  align-items: center;
  min-height: inherit;
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(48px, 7vw, 88px);
  /* Păstrează gutter-ul orizontal din .v6-wrap (evită padding: Y 0 care îl șterge) */
  padding-left: var(--v6-gutter, clamp(16px, 4vw, 32px));
  padding-right: var(--v6-gutter, clamp(16px, 4vw, 32px));
  box-sizing: border-box;
}

body.theme-v7 .v7-hero--residence .v7-hero__veil {
  background: linear-gradient(
    100deg,
    rgba(10, 14, 22, 0.78) 0%,
    rgba(10, 14, 22, 0.52) 38%,
    rgba(10, 14, 22, 0.28) 62%,
    rgba(10, 14, 22, 0.18) 100%
  );
}

body.theme-v7 .v7-hero--residence.v7-hero--no-media {
  min-height: 0 !important;
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--v7-canvas) !important;
  background-image: none !important;
}

body.theme-v7 .v7-hero--residence.v7-hero--no-media .v7-hero__frame {
  display: block;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: var(--v6-gutter, clamp(16px, 4vw, 32px));
  padding-right: var(--v6-gutter, clamp(16px, 4vw, 32px));
}

body.theme-v7 .v7-hero__residence {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 400px);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  width: 100%;
  max-width: 100%;
}

@container v7-hero-frame (max-width: 720px) {
  .v7-hero__residence {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

body.theme-v7 .v7-hero__copy {
  min-width: 0;
}

body.theme-v7 .v7-hero--residence .v7-hero__copy {
  position: relative;
  z-index: 2;
  padding: 0;
  background: transparent;
}

body.theme-v7 .v7-hero--residence:not(.v7-hero--no-media) .v7-hero__title,
body.theme-v7 .v7-hero--residence:not(.v7-hero--no-media) .v7-hero__lead {
  color: #fff !important;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}

body.theme-v7 .v7-hero--residence:not(.v7-hero--no-media) .v7-hero__title {
  max-width: 25ch;
}

body.theme-v7 .v7-hero--residence:not(.v7-hero--no-media) .v7-hero__kicker {
  color: rgba(255, 255, 255, 0.82) !important;
}

body.theme-v7 .v7-hero--residence:not(.v7-hero--no-media) .v7-hero__bullets li {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.theme-v7 .v7-hero--residence.v7-hero--no-media .v7-hero__title,
body.theme-v7 .v7-hero--residence.v7-hero--no-media .v7-hero__lead {
  color: var(--v7-ink) !important;
  text-shadow: none !important;
}

body.theme-v7 .v7-hero--residence.v7-hero--no-media .v7-hero__kicker {
  color: var(--v6-primary) !important;
}

body.theme-v7 .v7-hero--residence.v7-hero--no-media .v7-hero__bullets li {
  color: var(--v7-muted) !important;
}

body.theme-v7 .v7-hero__residence-aside {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: 100%;
  max-width: 400px;
  justify-self: end;
}

@container v7-hero-frame (max-width: 720px) {
  .v7-hero__residence-aside {
    max-width: none;
    justify-self: stretch;
  }
}

body.theme-v7 .v7-hero__residence-aside .v7-search {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

/* Residence: panou îngust — mereu stivă (container < 640px); regulile de mai sus acoperă */

body.theme-v7 .v7-hero__bullets {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.theme-v7 .v7-hero__bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--v7-muted);
}

body.theme-v7 .v7-hero__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--v6-primary);
}

/* Landmark — centrat + stats */
body.theme-v7 .v7-hero--landmark:not(.v7-hero--no-media) {
  min-height: clamp(520px, 70vh, 680px) !important;
}

body.theme-v7 .v7-hero__landmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(72px, 10vw, 108px) 0 clamp(48px, 6vw, 72px);
}

body.theme-v7 .v7-hero__title--landmark {
  max-width: 18ch;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
}

body.theme-v7 .v7-hero__landmark .v7-hero__lead {
  margin-inline: auto;
}

body.theme-v7 .v7-hero__stats--bar {
  width: 100%;
  max-width: 720px;
  margin-top: 36px;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--v7-radius);
  backdrop-filter: blur(8px);
}

body.theme-v7 .v7-hero__stats--bar .v6-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: none;
  margin: 0;
}

body.theme-v7 .v7-hero__stats--bar .v6-hero__stat strong {
  color: #fff;
  font-family: var(--v7-font-display);
  font-size: 1.75rem;
}

body.theme-v7 .v7-hero__stats--bar .v6-hero__stat span {
  color: rgba(255, 255, 255, 0.75);
}

body.theme-v7 .v7-hero__landmark-search {
  width: 100%;
  max-width: 720px;
  margin-top: 32px;
}

/* Skyline */
body.theme-v7 .v7-hero--skyline:not(.v7-hero--no-media) {
  min-height: clamp(480px, 65vh, 620px) !important;
  padding-bottom: 0;
}

body.theme-v7 .v7-hero__skyline-copy {
  padding: clamp(64px, 9vw, 100px) 0 180px;
  max-width: 680px;
}

body.theme-v7 .v7-hero__title--skyline {
  max-width: 12ch;
}

body.theme-v7 .v7-hero__skyline-search {
  position: relative;
  z-index: 3;
  margin-top: -100px;
  padding-bottom: 48px;
  max-width: 800px;
}

/* Atelier — boutique; gradient doar fără imagine */
body.theme-v7 .v7-hero--atelier.v7-hero--no-media {
  background: linear-gradient(180deg, var(--v7-surface) 0%, var(--v7-canvas) 100%) !important;
  border-bottom: 1px solid var(--v7-line);
}

body.theme-v7 .v7-hero--atelier:not(.v7-hero--no-media) .v7-hero__atelier {
  color: #f8fafc;
}

body.theme-v7 .v7-hero--atelier:not(.v7-hero--no-media) .v7-hero__kicker {
  color: rgba(248, 250, 252, 0.78);
}

body.theme-v7 .v7-hero--atelier:not(.v7-hero--no-media) .v7-hero__title--atelier,
body.theme-v7 .v7-hero--atelier:not(.v7-hero--no-media) .v7-hero__lead--atelier {
  color: #fff;
}

body.theme-v7 .v7-hero__atelier {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(72px, 10vw, 108px) 0 clamp(40px, 6vw, 56px);
}

body.theme-v7 .v7-hero--atelier:not(.v7-hero--no-media) .v7-hero__atelier {
  padding-bottom: clamp(28px, 4vw, 40px);
}

body.theme-v7 .v7-hero--atelier:not(.v7-hero--no-media) .v7-hero__atelier > .v7-hero__kicker,
body.theme-v7 .v7-hero--atelier:not(.v7-hero--no-media) .v7-hero__atelier > .v7-hero__title--atelier,
body.theme-v7 .v7-hero--atelier:not(.v7-hero--no-media) .v7-hero__atelier > .v7-hero__lead--atelier {
  transform: translateY(-100px);
}

body.theme-v7 .v7-hero--atelier:not(.v7-hero--no-media) .v7-hero__lead--atelier {
  margin-bottom: -56px;
}

body.theme-v7 .v7-hero__title--atelier {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  max-width: none;
  margin-inline: auto;
}

body.theme-v7 .v7-hero__lead--atelier {
  margin: 0 auto 32px;
}

body.theme-v7 .v7-hero--atelier:not(.v7-hero--no-media) .v7-search {
  position: relative;
  z-index: 2;
}

body.theme-v7 .v7-hero--atelier .v7-search {
  text-align: left;
}

@media (max-width: 767px) {
  body.theme-v7 .v7-hero--atelier:not(.v7-hero--no-media).v6-hero,
  body.theme-v7 .v7-hero--atelier:not(.v7-hero--no-media).v7-hero {
    min-height: min(520px, 88vh) !important;
  }

  body.theme-v7 .v7-hero--atelier:not(.v7-hero--no-media) .v7-hero__atelier {
    padding-top: clamp(44px, 11vw, 60px);
    padding-bottom: 20px;
  }

  body.theme-v7 .v7-hero--atelier:not(.v7-hero--no-media) .v7-hero__lead--atelier {
    margin-bottom: -72px;
  }

  body.theme-v7 .v7-hero--atelier:not(.v7-hero--no-media) .v7-search {
    margin-top: 0;
  }
}

/* ═══════════════════════════════════════
   CĂUTARE — widget portal
   ═══════════════════════════════════════ */
body.theme-v7 .v7-search,
body.theme-v6 .v7-search {
  container-type: inline-size;
  container-name: v7-search;
  background: var(--v7-surface, var(--v6-surface, #fff));
  border-radius: var(--v7-radius-lg, var(--v6-radius, 14px));
  box-shadow: var(--v7-shadow-lg, var(--v6-shadow-card));
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

body.theme-v7 .v7-search__eyebrow {
  margin: 0;
  padding: 18px 24px 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v7-muted);
}

body.theme-v7 .v7-search__form {
  padding: 0;
}

body.theme-v7 .v7-search__title,
body.theme-v6 .v7-search__title {
  margin: 0;
  padding: 20px 22px 0;
  font-family: var(--v7-font-display, var(--v6-display, inherit));
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--v7-ink, var(--v6-ink, #0f172a));
}

body.theme-v7 .v7-search__form .v7-search__fields {
  padding: 16px 22px 22px;
}

body.theme-v7 .v7-search__tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin: 0 8px 12px;
  background: #f1f5f9;
  border-radius: 10px;
}

body.theme-v7 .v7-search__tab {
  flex: 1;
  cursor: default;
}

body.theme-v7 .v7-search__tab input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body.theme-v7 .v7-search__tab span {
  display: block;
  text-align: center;
  padding: 10px 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--v7-muted);
  border-radius: 8px;
}

body.theme-v7 .v7-search__tab input:checked + span {
  background: var(--v7-surface);
  color: var(--v7-ink);
  box-shadow: var(--v7-shadow-sm);
}

/* Mobile-first: implicit un câmp pe rând; pe desktop lat → rând orizontal (container query) */
body.theme-v7 .v7-search__fields,
body.theme-v6 .v7-search__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
}

body.theme-v7 .v7-search__field,
body.theme-v6 .v7-search__field {
  display: grid;
  grid-template-rows: auto 52px;
  gap: 6px;
  min-width: 0;
  margin: 0;
}

body.theme-v7 .v7-search__field-label,
body.theme-v6 .v7-search__field-label {
  grid-row: 1;
  align-self: end;
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.35;
  min-height: calc(0.6875rem * 1.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--v7-muted);
}

body.theme-v7 .v7-search__field-label--ghost,
body.theme-v6 .v7-search__field-label--ghost {
  visibility: hidden !important;
  display: block !important;
  user-select: none;
  pointer-events: none;
}

body.theme-v7 .v7-search__field input,
body.theme-v7 .v7-search__field select,
body.theme-v6 .v7-search__field input,
body.theme-v6 .v7-search__field select {
  grid-row: 2;
  align-self: stretch;
  width: 100%;
  min-height: 52px !important;
  height: 52px !important;
  padding: 0 14px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  background: #fafbfc !important;
  font-size: 0.9375rem !important;
  color: var(--v7-ink) !important;
  box-sizing: border-box;
}

body.theme-v7 .v7-search__field input:focus,
body.theme-v7 .v7-search__field select:focus {
  border-color: var(--v6-primary) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--v6-primary) 22%, transparent) !important;
  background: #fff !important;
}

body.theme-v7 .v7-search__field--action,
body.theme-v6 .v7-search__field--action {
  display: grid;
  grid-template-rows: auto 52px;
  gap: 6px;
  align-self: stretch;
}

body.theme-v7 .v7-search__field--action .v7-search__submit,
body.theme-v6 .v7-search__field--action .v7-search__submit {
  grid-row: 2;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px !important;
  height: 52px !important;
  box-sizing: border-box;
  padding: 0 28px;
  border: 0;
  border-radius: 10px;
  background: var(--v6-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  width: 100%;
}

body.theme-v7 .v7-search__submit:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

body.theme-v7 .v7-search__submit-icon {
  font-size: 1.1rem;
}

body.theme-v7 .v7-search--inline .v7-search__eyebrow {
  padding-left: 0;
}

body.theme-v7 .v7-search--inline .v7-search__fields {
  grid-template-columns: 1fr;
}

/* Desktop: rând orizontal doar când panoul de căutare e lat (≥640px) */
@container v7-search (min-width: 640px) {
  .v7-search__fields {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: end;
  }

  .v7-search__field--action {
    align-self: end;
  }

  .v7-search__field-label--ghost {
    visibility: hidden !important;
    display: block !important;
  }

  .v7-search__field--action .v7-search__submit {
    grid-row: 2;
  }
}

/* Stivă verticală: panou îngust sau ecran mobil */
@container v7-search (max-width: 639px) {
  .v7-search__field--action {
    grid-template-rows: 52px;
  }

  .v7-search__field-label--ghost {
    display: none !important;
    min-height: 0 !important;
  }

  .v7-search__field--action .v7-search__submit {
    grid-row: 1;
  }
}

/* ═══════════════════════════════════════
   LISTĂRI V7
   ═══════════════════════════════════════ */
body.theme-v7 .v7-list-layout {
  background: var(--v7-canvas);
}

body.theme-v7 .v6-list-head {
  background: var(--v7-surface);
  border-bottom: 1px solid var(--v7-line);
  padding: clamp(12px, 2vw, 20px) 0 clamp(10px, 1.5vw, 16px) !important;
}

body.theme-v7 .v6-list-head h1 {
  font-family: var(--v7-font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 600;
}

body.theme-v7 .v6-list-main > .v7-list-grid--1,
body.theme-v7 .v6-list-main > .v7-list-grid--2 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 28px;
}

body.theme-v7 .v7-list-grid--3 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

body.theme-v7 .v7-list-grid--3 > .v6-property-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

body.theme-v7 .v7-list-grid--3 > .v6-property-card:first-child .v6-property-card__media {
  aspect-ratio: 16 / 9;
  min-height: 280px;
}

body.theme-v7 .v7-list-grid--3 > .v6-property-card:first-child .v6-property-card__body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.theme-v7 .v7-list-grid--3 > .v6-property-card:not(:first-child) {
  grid-column: span 4;
}

body.theme-v7 .v6-list-main > .v7-list-grid--4 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}

body.theme-v7 .v7-list-grid--5 {
  grid-template-columns: 1fr;
  gap: 14px;
}

/* ═══════════════════════════════════════
   CARDURI V7 — anunțuri
   ═══════════════════════════════════════ */
body.theme-v7 .v6-property-card--s11,
body.theme-v7 .v6-property-card--s12,
body.theme-v7 .v6-property-card--s13,
body.theme-v7 .v6-property-card--s14,
body.theme-v7 .v6-property-card--s15 {
  font-family: var(--v7-font-body);
}

body.theme-v7 .v6-property-card--s11 {
  border: none;
  border-radius: var(--v7-radius);
  overflow: hidden;
  box-shadow: var(--v7-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.theme-v7 .v6-property-card--s11:hover {
  transform: translateY(-6px);
  box-shadow: var(--v7-shadow-lg);
}

body.theme-v7 .v6-property-card--s11 .v6-property-card__media {
  aspect-ratio: 4 / 3;
}

body.theme-v7 .v6-property-card--s11 .v6-property-card__tag {
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  font-size: 0.6875rem;
  border-radius: 4px;
  background: var(--v7-surface);
  font-weight: 800;
}

/* Preț în interiorul imaginii (nu în body — altfel toate cardurile se suprapun jos-dreapta) */
body.theme-v7 .v6-property-card--s11 .v6-property-card__media .v6-property-card__price {
  display: inline-block;
  position: absolute;
  bottom: 14px;
  right: 14px;
  left: auto;
  z-index: 2;
  margin: 0;
  padding: 8px 14px;
  background: var(--v7-surface);
  border-radius: 6px;
  font-family: var(--v7-font-display);
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  color: var(--v7-ink) !important;
  box-shadow: var(--v7-shadow);
  pointer-events: none;
}

body.theme-v7 .v6-property-card--s11 .v6-property-card__body .v6-property-card__price-row {
  display: none;
}

body.theme-v7 .v6-property-card--s11 .v6-property-card__body {
  padding: 18px 20px 22px;
}

body.theme-v7 .v6-property-card--s11 .v6-property-card__title {
  font-family: var(--v7-font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

body.theme-v7 .v6-property-card--s12 {
  border: none;
  border-radius: var(--v7-radius-lg);
  overflow: hidden;
  background: var(--v7-surface);
  box-shadow: var(--v7-shadow);
}

body.theme-v7 .v6-property-card--s12 .v6-property-card__media {
  aspect-ratio: 5 / 4;
}

body.theme-v7 .v6-property-card--s12 .v6-property-card__body {
  padding: 16px 18px 20px;
}

body.theme-v7 .v6-property-card--s12 .v6-property-card__price {
  font-family: var(--v7-font-display);
  font-size: 1.35rem !important;
  color: var(--v6-primary) !important;
}

body.theme-v7 .v6-property-card--s13 {
  border: 1px solid var(--v7-line);
  border-radius: 2px;
  padding: 10px;
  background: var(--v7-surface);
  box-shadow: none;
}

body.theme-v7 .v6-property-card--s13 .v6-property-card__title {
  font-family: var(--v7-font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
}

body.theme-v7 .v6-property-card--s13 .v6-property-card__media {
  border-radius: 0;
  aspect-ratio: 3 / 2;
}

body.theme-v7 .v6-property-card--s14 {
  border: 1px solid var(--v7-line);
  border-radius: var(--v7-radius);
  overflow: hidden;
}

body.theme-v7 .v6-property-card--s14 .v6-property-card__tag {
  background: var(--v6-primary);
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
}

/* Card 15 — rând orizontal în listări; vertical în grila home */
body.theme-v7 .v6-property-card--s15 {
  display: grid !important;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr) !important;
  gap: 16px 20px !important;
  align-items: center !important;
  padding: 14px !important;
  border: 1px solid var(--v7-line) !important;
  border-radius: var(--v7-radius) !important;
  background: var(--v7-surface) !important;
  box-shadow: var(--v7-shadow-sm) !important;
}

body.theme-v7 .v6-property-grid .v6-property-card--s15,
body.theme-v7 .v6-featured .v6-property-card--s15,
body.theme-v7 .v6-scroll-row .v6-property-card--s15 {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  align-items: stretch !important;
  padding: 0 !important;
  overflow: hidden;
}

body.theme-v7 .v6-property-grid .v6-property-card--s15 .v6-property-card__media,
body.theme-v7 .v6-featured .v6-property-card--s15 .v6-property-card__media,
body.theme-v7 .v6-scroll-row .v6-property-card--s15 .v6-property-card__media {
  width: 100%;
  border-radius: 0;
  aspect-ratio: 4 / 3;
}

body.theme-v7 .v6-property-grid .v6-property-card--s15 .v6-property-card__body,
body.theme-v7 .v6-featured .v6-property-card--s15 .v6-property-card__body,
body.theme-v7 .v6-scroll-row .v6-property-card--s15 .v6-property-card__body {
  padding: 16px 18px 20px;
}

body.theme-v7 .v6-property-card--s15 .v6-property-card__media {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
}

body.theme-v7 .v6-property-card--s15 .v6-property-card__price {
  font-family: var(--v7-font-display);
  font-size: 1.35rem !important;
  text-align: left;
  white-space: nowrap;
}

body.theme-v7 .v6-property-card--s15 .v6-property-card__title {
  -webkit-line-clamp: 2;
}

body.theme-v7 .v6-property-grid .v6-property-card--s15 .v6-property-card__title,
body.theme-v7 .v6-featured .v6-property-card--s15 .v6-property-card__title {
  -webkit-line-clamp: 3;
}

body.theme-v7 .v7-list-grid .v6-property-card--s15 {
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr) !important;
}

/* Homepage / featured — poze aceeași dimensiune (simetrie cadre) */
body.theme-v7 .v6-featured .v6-property-grid,
body.theme-v7 .v6-property-grid:not(.v7-list-grid) {
  align-items: stretch;
}

body.theme-v7 .v6-featured .v6-property-card,
body.theme-v7 .v6-property-grid:not(.v7-list-grid) .v6-property-card,
body.theme-v7 .v6-scroll-row .v6-property-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

body.theme-v7 .v6-featured .v6-property-card__media,
body.theme-v7 .v6-property-grid:not(.v7-list-grid) .v6-property-card__media,
body.theme-v7 .v6-scroll-row .v6-property-card__media,
body.theme-v7 .v6-featured .v6-property-card--s11 .v6-property-card__media,
body.theme-v7 .v6-featured .v6-property-card--s12 .v6-property-card__media,
body.theme-v7 .v6-featured .v6-property-card--s13 .v6-property-card__media,
body.theme-v7 .v6-featured .v6-property-card--s14 .v6-property-card__media,
body.theme-v7 .v6-featured .v6-property-card--s15 .v6-property-card__media,
body.theme-v7 .v6-property-grid:not(.v7-list-grid) .v6-property-card--s11 .v6-property-card__media,
body.theme-v7 .v6-property-grid:not(.v7-list-grid) .v6-property-card--s12 .v6-property-card__media,
body.theme-v7 .v6-property-grid:not(.v7-list-grid) .v6-property-card--s13 .v6-property-card__media,
body.theme-v7 .v6-property-grid:not(.v7-list-grid) .v6-property-card--s14 .v6-property-card__media,
body.theme-v7 .v6-property-grid:not(.v7-list-grid) .v6-property-card--s15 .v6-property-card__media {
  position: relative;
  display: block;
  width: 100%;
  flex: 0 0 auto;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden;
  background: #e8eaed;
}

body.theme-v7 .v6-featured .v6-property-card__media img,
body.theme-v7 .v6-property-grid:not(.v7-list-grid) .v6-property-card__media img,
body.theme-v7 .v6-scroll-row .v6-property-card__media img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover !important;
  object-position: center;
}

body.theme-v7 .v6-featured .v6-property-card__body,
body.theme-v7 .v6-property-grid:not(.v7-list-grid) .v6-property-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* Featured + secțiuni */
body.theme-v7 .v6-featured {
  background: var(--v7-canvas);
  border-top: 1px solid var(--v7-line);
}

body.theme-v7 .v6-section-head h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
}

body.theme-v7 .v6-section-eyebrow {
  color: var(--v6-primary);
  font-weight: 700;
}

/* ═══════════════════════════════════════
   OFERTĂ V7
   ═══════════════════════════════════════ */
body.theme-v7 .v6-offer {
  background: var(--v7-canvas);
}

body.theme-v7 .v6-offer--showcase .v6-offer__gallery-main {
  border-radius: var(--v7-radius-lg);
  overflow: hidden;
  box-shadow: var(--v7-shadow-lg);
}

body.theme-v7 .v6-offer--showcase .v6-offer__gallery-main img {
  aspect-ratio: 16 / 9;
  max-height: 560px;
  object-fit: cover;
}

body.theme-v7 .v6-offer--showcase .v6-offer__card {
  border-radius: var(--v7-radius);
  border: 1px solid var(--v7-line);
  box-shadow: var(--v7-shadow-lg);
  padding: 32px;
}

body.theme-v7 .v6-offer--showcase .v6-offer__title--desktop {
  font-family: var(--v7-font-display);
  font-size: 1.85rem;
}

body.theme-v7 .v6-offer--showcase .v6-offer__price {
  font-family: var(--v7-font-display);
  font-size: 1.75rem;
}

body.theme-v7 .v6-offer--magazine .v6-offer__prose {
  font-size: 1.0625rem;
  line-height: 1.75;
}

body.theme-v7.v6-palette-dark .v6-offer--immersive {
  background: #12151c;
  color: #ffffff;
}

body.theme-v7.v6-palette-dark .v6-offer--immersive .v6-offer__title,
body.theme-v7.v6-palette-dark .v6-offer--immersive .v6-offer__price {
  color: #fff;
}

body.theme-v7.v6-palette-dark .v6-offer--immersive .v6-offer__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--v7-radius);
}

body.theme-v7.v6-palette-light .v6-offer--immersive,
body.theme-v7:not(.v6-palette-dark) .v6-offer--immersive {
  background: var(--v7-canvas, var(--v6-canvas));
  color: var(--v7-ink, var(--v6-ink));
}

body.theme-v7.v6-palette-light .v6-offer--immersive .v6-offer__title,
body.theme-v7.v6-palette-light .v6-offer--immersive .v6-offer__price,
body.theme-v7:not(.v6-palette-dark) .v6-offer--immersive .v6-offer__title,
body.theme-v7:not(.v6-palette-dark) .v6-offer--immersive .v6-offer__price {
  color: var(--v7-ink, var(--v6-ink));
}

body.theme-v7.v6-palette-light .v6-offer--immersive .v6-offer__card,
body.theme-v7:not(.v6-palette-dark) .v6-offer--immersive .v6-offer__card {
  background: var(--v7-surface, #fff);
  border: 1px solid var(--v7-line);
  border-radius: var(--v7-radius);
}

body.theme-v7 .v6-offer--immersive .v6-btn--primary {
  background: var(--v6-primary);
}

body.theme-v7 .v6-offer--brochure .v6-offer__facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  padding: 24px;
  background: color-mix(in srgb, var(--v6-primary) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--v6-primary) 20%, transparent);
  border-radius: var(--v7-radius);
}

body.theme-v7 .v6-offer--brochure .v6-offer__fact {
  text-align: center;
  padding: 12px;
  background: var(--v7-surface);
  border-radius: 10px;
}

body.theme-v7 .v6-offer--atlas .v6-offer__gallery {
  position: sticky;
  top: calc(80px + 16px);
}

body.theme-v7 .v6-offer__fact-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--v7-muted);
}

body.theme-v7 .v6-offer__fact-value {
  font-family: var(--v7-font-display);
  font-size: 1.25rem;
}

/* Filtre listări */
body.theme-v7 .v6-filters {
  border-radius: var(--v7-radius);
  border: 1px solid var(--v7-line);
  box-shadow: var(--v7-shadow-sm);
}

/* Mobile — viewport îngust: căutare pe un singur rând per câmp */
@media (max-width: 991px) {
  body.theme-v7 .v7-header--metro .v7-header__bar {
    grid-template-columns: 1fr auto;
  }

  body.theme-v7 .v7-header__bar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px 12px;
  }

  body.theme-v7 .v7-header__brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  body.theme-v7 .v7-header__actions {
    grid-column: 2;
    grid-row: 1;
    flex-wrap: nowrap;
    gap: 8px;
  }

  body.theme-v7 .v7-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--v7-surface, #fff);
  }

  body.theme-v7 .v7-header__bar {
    position: relative;
  }

  body.theme-v7 .v7-header .v6-nav-toggle {
    display: flex !important;
  }

  body.theme-v7 .v7-header .v6-nav--drawer,
  body.theme-v7 .v7-header__nav.v6-nav--drawer {
    display: none !important;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--v6-gutter, 20px) 16px;
    background: var(--v7-surface, #fff);
    border-bottom: 1px solid var(--v7-line);
    box-shadow: var(--v7-shadow-lg);
    z-index: 199;
    max-height: min(72vh, 520px);
    overflow-y: auto;
  }

  body.theme-v7 .v7-header .v6-nav--drawer.is-open,
  body.theme-v7 .v7-header__nav.v6-nav--drawer.is-open {
    display: flex !important;
  }

  body.theme-v7 .v7-header .v6-nav--drawer .v6-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  body.theme-v7 .v7-header .v6-nav--drawer .v6-nav__item {
    width: 100%;
    border-bottom: 1px solid var(--v7-line);
  }

  body.theme-v7 .v7-header .v6-nav--drawer .v6-nav__trigger,
  body.theme-v7 .v7-header .v6-nav--drawer .v6-nav a {
    display: block;
    width: 100%;
    padding: 12px 0;
    text-align: left;
  }

  body.theme-v7 .v7-header .v6-nav--drawer .v6-nav__sub {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 12px;
    background: transparent;
  }

  body.theme-v7 .v7-header .v6-nav--drawer .v6-nav__item--dropdown.is-open > .v6-nav__sub {
    display: block;
  }

  body.theme-v7 .v7-header--studio .v7-header__nav--studio .v6-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  body.theme-v7 .v7-header__tel,
  body.theme-v7 .v7-header__cta,
  body.theme-v7 .v7-header__pill,
  body.theme-v7 .v7-header__outline-btn,
  body.theme-v7 .v7-header__link {
    display: none;
  }

  body.theme-v7 .v7-header__trust-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
    padding: 10px 0;
  }

  body.theme-v7 .v7-header__trust-item,
  body.theme-v7 .v7-header__trust-item:first-child,
  body.theme-v7 .v7-header__trust-item:nth-child(2),
  body.theme-v7 .v7-header__trust-item:nth-child(3) {
    align-items: center;
    text-align: center;
  }

  body.theme-v7 .v6-offer__gallery-main img {
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  body.theme-v7 .v7-search__fields,
  body.theme-v6 .v7-search__fields {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  body.theme-v7 .v7-search__field,
  body.theme-v6 .v7-search__field,
  body.theme-v7 .v7-search__field--action,
  body.theme-v6 .v7-search__field--action {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto 52px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.theme-v7 .v7-search__field--action,
  body.theme-v6 .v7-search__field--action {
    grid-template-rows: 52px !important;
    grid-column: 1 / -1 !important;
  }

  body.theme-v7 .v7-search__field--action .v7-search__field-label--ghost,
  body.theme-v6 .v7-search__field--action .v7-search__field-label--ghost {
    display: none !important;
    min-height: 0 !important;
  }

  body.theme-v7 .v7-search__field--action .v7-search__submit,
  body.theme-v6 .v7-search__field--action .v7-search__submit {
    grid-row: 1 !important;
    width: 100% !important;
  }

  body.theme-v7 .v7-search__field input,
  body.theme-v7 .v7-search__field select,
  body.theme-v6 .v7-search__field input,
  body.theme-v6 .v7-search__field select {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.theme-v7 .v6-list-main > .v7-list-grid--1,
  body.theme-v7 .v6-list-main > .v7-list-grid--2,
  body.theme-v7 .v6-list-main > .v7-list-grid--4 {
    grid-template-columns: 1fr;
  }

  body.theme-v7 .v7-list-grid--3 > .v6-property-card:first-child,
  body.theme-v7 .v7-list-grid--3 > .v6-property-card:not(:first-child) {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  body.theme-v7 .v7-hero__stats--bar .v6-hero__stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Residence: fallback fără container queries */
@media (max-width: 767px) {
  body.theme-v7 .v7-hero__residence {
    grid-template-columns: 1fr;
  }

  body.theme-v7 .v7-hero--residence:not(.v7-hero--no-media) .v7-hero__frame.v6-wrap {
    padding-left: var(--v6-gutter, clamp(16px, 4vw, 24px));
    padding-right: var(--v6-gutter, clamp(16px, 4vw, 24px));
  }

  body.theme-v7 .v7-hero--residence .v7-hero__copy {
    padding-right: 0;
  }

  body.theme-v7 .v7-hero__residence-aside {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 767px) {
  body.theme-v7 .v6-featured .v6-property-card--s12 .v6-property-card__media,
  body.theme-v7 .v6-featured .v6-property-card--s13 .v6-property-card__media,
  body.theme-v7 .v6-featured .v6-property-card--s14 .v6-property-card__media {
    aspect-ratio: 4 / 3 !important;
  }

  body.theme-v7 .v6-featured .v6-property-card__price,
  body.theme-v7 .v6-featured .v6-property-card--s12 .v6-property-card__price {
    white-space: nowrap;
    font-size: clamp(1.05rem, 4.2vw, 1.35rem) !important;
  }

  body.theme-v7 .v6-featured .v6-property-card__meta--empty {
    border-top-color: var(--v7-line);
  }
}

@media (max-width: 640px) {
  body.theme-v7 .v7-header__bar {
    min-height: 64px;
  }

  body.theme-v7 .v7-hero--portfolio {
    min-height: 520px;
  }

  body.theme-v7 .v7-hero__portfolio {
    padding-bottom: 120px;
  }

  body.theme-v7 .v7-list-grid--1,
  body.theme-v7 .v7-list-grid--2,
  body.theme-v7 .v7-list-grid--4 {
    grid-template-columns: 1fr;
  }

  body.theme-v7 .v6-property-card--s15,
  body.theme-v7 .v7-list-grid .v6-property-card--s15 {
    grid-template-columns: 1fr !important;
  }

  body.theme-v7 .v6-property-card--s15 .v6-property-card__price {
    text-align: left;
  }
}

/* Mobil / panou îngust: forțează căutarea V7 pe un singur rând per câmp */
@media (max-width: 991px) {
  body.theme-v6 .v7-search .v7-search__fields,
  body.theme-v7 .v7-search .v7-search__fields,
  body.theme-v6 .v7-search__fields,
  body.theme-v7 .v7-search__fields {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  body.theme-v6 .v7-search .v7-search__field,
  body.theme-v7 .v7-search .v7-search__field,
  body.theme-v6 .v7-search .v7-search__field--action,
  body.theme-v7 .v7-search .v7-search__field--action,
  body.theme-v6 .v7-search__field,
  body.theme-v7 .v7-search__field,
  body.theme-v6 .v7-search__field--action,
  body.theme-v7 .v7-search__field--action {
    display: grid !important;
    grid-column: 1 / -1 !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  body.theme-v6 .v7-search .v7-search__field--action,
  body.theme-v7 .v7-search .v7-search__field--action,
  body.theme-v6 .v7-search__field--action,
  body.theme-v7 .v7-search__field--action {
    grid-template-rows: 52px !important;
  }

  body.theme-v6 .v7-search .v7-search__field-label--ghost,
  body.theme-v7 .v7-search .v7-search__field-label--ghost,
  body.theme-v6 .v7-search__field-label--ghost,
  body.theme-v7 .v7-search__field-label--ghost {
    display: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.theme-v6 .v7-search .v7-search__field--action .v7-search__submit,
  body.theme-v7 .v7-search .v7-search__field--action .v7-search__submit,
  body.theme-v6 .v7-search__field--action .v7-search__submit,
  body.theme-v7 .v7-search__field--action .v7-search__submit {
    grid-row: 1 !important;
    width: 100% !important;
  }

  body.theme-v6 .v7-search .v7-search__field input,
  body.theme-v6 .v7-search .v7-search__field select,
  body.theme-v7 .v7-search .v7-search__field input,
  body.theme-v7 .v7-search .v7-search__field select,
  body.theme-v6 .v7-search__field input,
  body.theme-v6 .v7-search__field select,
  body.theme-v7 .v7-search__field input,
  body.theme-v7 .v7-search__field select {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* Desktop — meniu orizontal în bară; hamburger doar sub 992px */
@media (min-width: 992px) {
  body.theme-v7 .v7-header .v6-nav-toggle {
    display: none !important;
  }

  body.theme-v7 .v7-header--concierge .v7-header__bar,
  body.theme-v7 .v7-header--prestige .v7-header__bar {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
    align-items: center;
    column-gap: clamp(16px, 3vw, 32px);
  }

  body.theme-v7 .v7-header--concierge .v7-header__brand,
  body.theme-v7 .v7-header--prestige .v7-header__brand {
    grid-column: 1;
    justify-self: start;
  }

  body.theme-v7 .v7-header--concierge .v7-header__nav,
  body.theme-v7 .v7-header--prestige .v7-header__nav {
    grid-column: 2;
    justify-self: center;
    width: 100%;
    min-width: 0;
  }

  body.theme-v7 .v7-header--concierge .v7-header__nav .v6-nav,
  body.theme-v7 .v7-header--prestige .v7-header__nav .v6-nav,
  body.theme-v7 .v7-header--concierge .v7-header__nav .v6-nav__list,
  body.theme-v7 .v7-header--prestige .v7-header__nav .v6-nav__list {
    justify-content: center;
  }

  body.theme-v7 .v7-header--concierge .v7-header__actions,
  body.theme-v7 .v7-header--prestige .v7-header__actions {
    grid-column: 3;
    justify-self: end;
    margin-left: 0;
  }

  body.theme-v7 .v7-header .v6-nav--drawer,
  body.theme-v7 .v7-header__nav.v6-nav--drawer {
    display: flex !important;
    position: static !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    max-height: none !important;
    overflow: visible !important;
    width: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  body.theme-v7 .v7-header__tel {
    display: inline-flex !important;
  }

  body.theme-v7 .v7-header__cta,
  body.theme-v7 .v7-header__pill {
    display: inline-flex !important;
  }

  body.theme-v7 .v7-header__link,
  body.theme-v7 .v7-header__outline-btn {
    display: inline-flex !important;
  }

  body.theme-v7 .v7-header--metro .v7-header__bar {
    display: flex;
  }
}

body.theme-v7 .v7-header__actions .v6-lang-switch {
  order: 10;
}

.v6-lang-switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  margin-left: 2px;
  z-index: 120;
}

.v6-lang-switch__toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid var(--v6-border, #e2e8f0);
  border-radius: 8px;
  background: var(--v6-surface, #fff);
  color: var(--v6-ink, #0f172a);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.v6-lang-switch__toggle:hover,
.v6-lang-switch.is-open .v6-lang-switch__toggle {
  border-color: var(--v6-primary, #2563eb);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.v6-lang-switch__flag {
  display: inline-flex;
  font-size: 0.95rem;
  line-height: 1;
  flex-shrink: 0;
}

.v6-lang-switch__code {
  display: inline-block;
}

.v6-lang-switch__caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 1px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.65;
  transition: transform 0.15s ease;
}

.v6-lang-switch.is-open .v6-lang-switch__caret {
  transform: rotate(180deg);
}

.v6-lang-switch__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 100%;
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 4px;
  margin: 0;
  border: 1px solid var(--v6-border, #e2e8f0);
  border-radius: 8px;
  background: var(--v6-surface, #fff);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.v6-lang-switch.is-open .v6-lang-switch__menu {
  display: flex;
}

.v6-lang-switch__option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--v6-ink, #0f172a);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.v6-lang-switch__option:hover {
  background: var(--v6-bg-soft, #f1f5f9);
  color: var(--v6-primary, #2563eb);
}

.v7-header__actions .v6-lang-switch__toggle {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

.v7-header__actions .v6-lang-switch__toggle:hover,
.v7-header__actions .v6-lang-switch.is-open .v6-lang-switch__toggle {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.v7-header__actions .v6-lang-switch__menu {
  border-color: rgba(15, 23, 42, 0.12);
}

.v7-header__actions .v6-lang-switch__option {
  color: var(--v6-ink, #0f172a);
}

.v7-header__actions .v6-lang-switch__option:hover {
  color: var(--v6-primary, #2563eb);
}
