/**
 * V6 Layout — grilă, ritm vertical, aliniere element cu element
 * Se încarcă după premium; suprascrie conflicte minore din set-theme-v6.css
 */

body.theme-v6 {
  --v6-max: 1180px;
  --v6-gutter: clamp(20px, 4vw, 32px);
  --v6-gap: 24px;
  --v6-gap-sm: 16px;
  --v6-gap-lg: 40px;
  --v6-section-y: clamp(56px, 7vw, 80px);
  --v6-header-h: 72px;
}

/* —— Container unic pe site —— */
body.theme-v6 .v6-wrap {
  width: 100%;
  max-width: var(--v6-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--v6-gutter);
  padding-right: var(--v6-gutter);
  box-sizing: border-box;
}

body.theme-v6 .v6-slot img:not(.v6-property-card img):not(.v7-hero__photo),
body.theme-v6 .v6-slot svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* set-theme.css: `header { background: var(--header_background_color) }` — nu pe titluri secțiune */
body.theme-v6 header.v6-section-head,
body.theme-v6 .v6-section-head {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  min-height: 0;
  padding: 0;
}

body.theme-v6 .v6-site-header {
  background: var(--v6-surface) !important;
}

/* —— Header: logo | meniu dreapta | acțiuni —— */
body.theme-v6 .v6-site-header--bar .v6-site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: var(--v6-gap);
  min-height: var(--v6-header-h);
}

body.theme-v6 .v6-site-header--bar .v6-brand {
  grid-column: 1;
}

body.theme-v6 .v6-site-header--bar .v6-nav {
  grid-column: 2;
  justify-self: end;
  justify-content: flex-end;
}

body.theme-v6 .v6-site-header--bar .v6-site-header__actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 12px;
}

body.theme-v6 .v6-site-header--bar .v6-nav-toggle {
  display: none;
  flex-shrink: 0;
}

body.theme-v6 .v6-site-header--split .v6-site-header__inner--split {
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: var(--v6-gap-lg);
}

body.theme-v6 .v6-site-header--split .v6-nav {
  justify-self: end;
  justify-content: flex-end;
}

body.theme-v6 .v6-site-header--centered .v6-site-header__inner--stack {
  align-items: center;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: var(--v6-gap-sm);
}

body.theme-v6 .v6-site-header--centered .v6-nav {
  justify-content: center;
}

body.theme-v6 .v6-site-header--glass .v6-site-header__inner--minimal {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: var(--v6-header-h);
}

body.theme-v6 .v6-site-header--glass .v6-nav-toggle {
  justify-self: end;
}

/* —— Hero: aliniere copy + căutare —— */
body.theme-v6 .v6-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

body.theme-v6 .v6-hero > .v6-wrap {
  width: 100%;
}

body.theme-v6 .v6-hero--editorial .v6-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  align-items: end;
  column-gap: clamp(28px, 4vw, 48px);
  row-gap: var(--v6-gap);
  max-width: none;
}

body.theme-v6 .v6-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

body.theme-v6 .v6-hero--search-focus .v6-hero__search-stack {
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

body.theme-v6 .v6-hero--search-focus .v6-hero__copy--center {
  align-items: center;
  width: 100%;
}

body.theme-v6 .v6-hero--centered .v6-hero__copy,
body.theme-v6 .v6-hero--centered .v6-hero__copy--center {
  align-items: center;
  width: 100%;
  text-align: center;
}

body.theme-v6 .v6-hero--centered .v6-hero__title,
body.theme-v6 .v6-hero--centered .v6-hero__lead,
body.theme-v6 .v6-hero--centered .v6-hero__kicker {
  margin-inline: auto;
}

body.theme-v6 .v6-hero--centered .v6-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 20px 32px;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}

body.theme-v6 .v6-hero--centered .v6-hero__stat {
  text-align: center;
  min-width: 0;
}

body.theme-v6 .v6-hero--statement .v6-hero__statement {
  text-align: center;
  margin-inline: auto;
  max-width: 720px;
}

body.theme-v6 .v6-hero--statement .v6-hero__title,
body.theme-v6 .v6-hero--statement .v6-hero__lead {
  margin-left: auto;
  margin-right: auto;
}

body.theme-v6 .v6-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--v6-gap-sm);
  width: 100%;
  max-width: 420px;
}

body.theme-v6 .v6-hero__stat {
  min-width: 0;
}

body.theme-v6 .v6-search-panel {
  width: 100%;
  margin: 0;
  align-self: end;
}

body.theme-v6 .v6-search-panel__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
}

@media (min-width: 992px) {
  body.theme-v6 .v6-search-panel__row {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  }
}

body.theme-v6 .v6-search-panel__row .v6-btn {
  align-self: stretch;
  min-height: 44px;
  white-space: nowrap;
}

body.theme-v6 .v6-search-panel input,
body.theme-v6 .v6-search-panel select {
  width: 100%;
  margin: 0;
  padding: 0 14px;
  min-height: 44px;
  box-sizing: border-box;
}

body.theme-v6 .v6-search-panel__label {
  margin: 0 0 12px;
  line-height: 1.3;
}

body.theme-v6 .v6-search-hero {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 560px;
  gap: 8px;
  box-sizing: border-box;
}

body.theme-v6 .v6-search-hero__input {
  flex: 1;
  min-width: 0;
  margin: 0;
}

/* —— Secțiuni: cap + conținut —— */
body.theme-v6 .v6-section {
  padding-block: var(--v6-section-y);
}

body.theme-v6 .v6-section > .v6-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

body.theme-v6 .v6-section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--v6-gap);
  margin-bottom: var(--v6-gap-lg);
  flex-wrap: wrap;
}

body.theme-v6 .v6-section-top .v6-section-head {
  margin-bottom: 0;
  flex: 1 1 280px;
  min-width: 0;
  max-width: 640px;
}

body.theme-v6 .v6-section-link {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--v6-primary);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

body.theme-v6 .v6-section-link:hover {
  border-bottom-color: var(--v6-primary);
  color: var(--v6-ink);
}

body.theme-v6 .v6-section-head:not(.v6-section-top *) {
  margin-bottom: var(--v6-gap-lg);
}

body.theme-v6 .v6-section-head h2 {
  margin-bottom: 8px;
}

body.theme-v6 .v6-section-head p:last-child {
  margin-bottom: 0;
}

/* —— Grile proprietăți: carduri egale pe rând —— */
body.theme-v6 .v6-property-grid,
body.theme-v6 .v6-list-grid {
  display: grid;
  align-items: stretch;
  gap: var(--v6-gap);
}

body.theme-v6 .v6-property-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
}

body.theme-v6 .v6-property-card__media {
  flex-shrink: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8eaed;
}

body.theme-v6 .v6-property-card__media img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover !important;
  object-position: center;
}

body.theme-v6 .v6-property-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 16px 18px 18px;
  min-height: 0;
}

body.theme-v6 .v6-property-card__price-row {
  min-height: 1.5rem;
}

body.theme-v6 .v6-property-card__title {
  flex-shrink: 0;
}

body.theme-v6 .v6-property-card__loc {
  margin-bottom: 0;
  flex-shrink: 0;
}

body.theme-v6 .v6-property-card__meta {
  margin-top: auto;
  padding-top: 12px;
  min-height: 2.25rem;
}

body.theme-v6 .v6-property-card__meta--empty {
  border-top: 1px solid var(--v6-line);
}

body.theme-v6 .v6-property-card__meta--empty:empty {
  padding-top: 10px;
}

body.theme-v6 .v6-property-card__meta span + span::before {
  content: "·";
  margin-right: 10px;
  color: #cbd5e1;
  font-weight: 700;
}

body.theme-v6 .v6-property-card--s3 {
  display: grid;
  grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
  gap: var(--v6-gap);
  align-items: stretch;
  height: auto;
}

/* Card s3 orizontal doar în listări — în grid homepage rămâne vertical */
body.theme-v6 .v6-property-grid .v6-property-card--s3,
body.theme-v6 .v6-property-grid--4 .v6-property-card--s3,
body.theme-v6 .v6-property-grid--wide .v6-property-card--s3,
body.theme-v6 .v6-property-grid--3 .v6-property-card--s3,
body.theme-v6 .v6-property-grid--2 .v6-property-card--s3,
body.theme-v6 .v6-scroll-row .v6-property-card--s3 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid var(--v6-line);
  border-radius: var(--v6-radius);
  box-shadow: var(--v6-shadow-card);
  overflow: hidden;
}

body.theme-v6 .v6-property-grid .v6-property-card--s3 .v6-property-card__media,
body.theme-v6 .v6-property-grid--4 .v6-property-card--s3 .v6-property-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

body.theme-v6 .v6-property-grid .v6-property-card--s3 .v6-property-card__body,
body.theme-v6 .v6-property-grid--4 .v6-property-card--s3 .v6-property-card__body {
  padding: 16px 18px 18px;
}

body.theme-v6 .v6-property-card--s3 .v6-property-card__body {
  justify-content: center;
  padding: 12px 0;
}

body.theme-v6 .v6-property-card--s3 .v6-property-card__foot {
  margin-top: 12px;
  align-items: center;
  justify-content: flex-start;
  gap: var(--v6-gap-sm);
}

body.theme-v6 .v6-property-grid--masonry {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--v6-gap);
}

body.theme-v6 .v6-property-grid--masonry .v6-property-card {
  grid-column: span 4;
}

body.theme-v6 .v6-property-grid--masonry .v6-property-card:nth-child(1) {
  grid-column: span 6;
}

body.theme-v6 .v6-property-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.theme-v6 .v6-property-grid--wide,
body.theme-v6 .v6-property-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.theme-v6 .v6-property-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.theme-v6 .v6-scroll-row {
  display: flex;
  gap: var(--v6-gap-sm);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

body.theme-v6 .v6-scroll-row .v6-property-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  height: auto;
}

@media (max-width: 991px) {
  body.theme-v6 .v6-scroll-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  body.theme-v6 .v6-scroll-row .v6-property-card {
    flex: none;
    width: 100%;
    scroll-snap-align: none;
  }
}

/* —— Listări: același container ca homepage —— */
body.theme-v6 .v6-list-head {
  padding-top: clamp(12px, 2vw, 20px) !important;
  padding-bottom: clamp(10px, 1.5vw, 16px) !important;
  background: var(--v6-surface);
  border-bottom: 1px solid var(--v6-line);
  margin: 0;
}

body.theme-v6 .v6-list-head__inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.theme-v6 .v6-list-head h1 {
  margin: 0;
  line-height: 1.15;
}

body.theme-v6 .v6-list-head__count {
  margin: 0;
  font-size: 0.9375rem;
  color: #6b7280;
  font-weight: 500;
}

body.theme-v6 .v6-list-layout {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: var(--v6-section-y);
  box-sizing: border-box;
  float: none !important;
}

/* Un singur gutter — același ritm ca headerul (.v6-wrap), fără indent dublu */
body.theme-v6 .v6-list-layout > .v6-wrap,
body.theme-v6 .v6-list-body-wrap.v6-wrap {
  width: 100%;
  max-width: var(--v6-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--v6-gutter);
  padding-right: var(--v6-gutter);
  box-sizing: border-box;
}

body.theme-v6 .v6-slot--listari,
body.theme-v6 .v6-list-layout,
body.theme-v6 .v6-list-body,
body.theme-v6 .v6-list-main,
body.theme-v6 .v6-list-grid,
body.theme-v6 .v6-list-grid .v6-property-card,
body.theme-v6 .v6-filters {
  float: none !important;
  clear: none;
}

body.theme-v6 .v6-list-body--sidebar {
  display: grid !important;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr) !important;
  gap: var(--v6-gap-lg);
  align-items: start;
  padding-top: var(--v6-gap-lg);
  width: 100%;
}

body.theme-v6 .v6-list-layout--filters-right .v6-list-body--sidebar {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px) !important;
}

body.theme-v6 .v6-list-body--sidebar > .v6-filters {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: 300px;
  justify-self: start;
}

body.theme-v6 .v6-list-body--sidebar > .v6-list-main {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  width: 100%;
}

body.theme-v6 .v6-list-layout--filters-left .v6-list-body--sidebar > .v6-filters {
  grid-column: 1;
}

body.theme-v6 .v6-list-layout--filters-left .v6-list-body--sidebar > .v6-list-main {
  grid-column: 2;
}

body.theme-v6 .v6-list-layout--filters-right .v6-list-body--sidebar > .v6-list-main {
  grid-column: 1;
  display: block;
}

body.theme-v6 .v6-list-layout--filters-right .v6-list-body--sidebar > .v6-filters {
  grid-column: 2;
  max-width: 300px;
  width: 100%;
}

body.theme-v6 .v6-list-main {
  min-width: 0;
}

body.theme-v6 .v6-list-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)) !important;
  gap: var(--v6-gap);
  width: 100%;
}

body.theme-v6 .v6-list-layout--v2 .v6-list-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.theme-v6 .v6-list-grid > .v6-property-card {
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

body.theme-v6 .v6-list-grid .v6-property-card--s3 {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--v6-line);
  border-radius: var(--v6-radius-sm);
  box-shadow: var(--v6-shadow-card);
  overflow: hidden;
}

body.theme-v6 .v6-list-grid .v6-property-card--s3 .v6-property-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

body.theme-v6 .v6-list-grid .v6-property-card--s3 .v6-property-card__body {
  padding: 16px 18px 18px;
}

body.theme-v6 .v6-filters {
  position: sticky;
  top: calc(var(--v6-header-h) + 12px);
  padding: 20px;
  background: var(--v6-surface);
  z-index: 3;
  isolation: isolate;
}

body.theme-v6 .v6-filters-title {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--v6-ink);
}

body.theme-v6 .v6-filters-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.theme-v6 .v6-filters-form label {
  display: block;
  margin: 0 0 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4b5563;
}

body.theme-v6 .v6-filters-form select,
body.theme-v6 .v6-filters-form input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--v6-line, #e5e7eb);
  border-radius: var(--v6-radius-sm, 8px);
  padding: 0 12px;
  background: #fff;
  color: var(--v6-ink);
  font: inherit;
}

body.theme-v6 .v6-filters-form button[type="submit"] {
  margin-top: 4px;
  width: 100%;
  min-height: 44px;
  border: none;
  border-radius: var(--v6-radius-sm);
  background: var(--v6-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

body.theme-v6 .v6-filters-form button[type="submit"]:hover {
  filter: brightness(0.95);
}

body.theme-v6 .v6-filters--top {
  margin-bottom: var(--v6-gap);
}

body.theme-v6 .v6-filters--top .v6-filters-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  align-items: end;
}

body.theme-v6 .v6-filters--top .v6-filters-title {
  grid-column: 1 / -1;
}

body.theme-v6 .v5-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: var(--v6-gap-lg);
  padding-top: var(--v6-gap);
}

body.theme-v6 .v5-pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--v6-radius-sm);
  border: 1px solid var(--v6-line);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--v6-ink);
  background: var(--v6-surface);
}

body.theme-v6 .v5-pager a.active,
body.theme-v6 .v5-pager a:hover {
  background: var(--v6-primary);
  border-color: var(--v6-primary);
  color: #fff;
}

/* —— Footer: coloane aliniate —— */
body.theme-v6 .v6-site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: var(--v6-gap-lg);
  align-items: start;
}

body.theme-v6 .v6-site-footer__col {
  min-width: 0;
}

body.theme-v6 .v6-site-footer__brand {
  display: block;
  margin-bottom: 10px;
}

body.theme-v6 .v6-site-footer__grid p {
  margin: 0 0 6px;
}

body.theme-v6 .v6-site-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

body.theme-v6 .v6-site-footer__col a {
  color: #d1d5db;
  text-decoration: none;
}

body.theme-v6 .v6-site-footer__col a:hover {
  color: #fff;
}

body.theme-v6 .v6-site-footer__copy {
  text-align: center;
}

body.theme-v6 .v6-site-footer__copy small {
  display: block;
}

/* —— Zigzag / row —— */
body.theme-v6 .v6-zigzag__item {
  align-items: center;
  gap: var(--v6-gap-lg);
}

body.theme-v6 .v6-row-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: var(--v6-gap);
  align-items: center;
}

/* —— Mobile —— */
@media (max-width: 991px) {
  body.theme-v6 .v6-site-header--bar .v6-site-header__inner {
    grid-template-columns: 1fr auto;
    row-gap: 0;
  }

  body.theme-v6 .v6-site-header--bar .v6-brand {
    grid-column: 1;
    grid-row: 1;
  }

  body.theme-v6 .v6-site-header--bar .v6-site-header__actions {
    grid-column: 2;
    grid-row: 1;
  }

  body.theme-v6 .v6-site-header--bar .v6-header-tel--desktop,
  body.theme-v6 .v6-site-header--bar .v6-header-cta {
    display: none;
  }

  body.theme-v6 .v6-site-header--bar .v6-nav-toggle {
    display: flex;
  }

  body.theme-v6 .v6-site-header--bar .v6-nav--drawer {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
  }

  body.theme-v6 .v6-hero--editorial .v6-hero__grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  body.theme-v6 .v6-hero__stats {
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.theme-v6 .v6-list-body--sidebar,
  body.theme-v6 .v6-list-layout--filters-right .v6-list-body--sidebar {
    grid-template-columns: 1fr !important;
  }

  body.theme-v6 .v6-list-body--sidebar > .v6-filters,
  body.theme-v6 .v6-list-body--sidebar > .v6-list-main,
  body.theme-v6 .v6-list-layout--filters-right .v6-list-body--sidebar > .v6-filters,
  body.theme-v6 .v6-list-layout--filters-right .v6-list-body--sidebar > .v6-list-main {
    grid-column: 1;
    max-width: none;
  }

  body.theme-v6 .v6-list-main > .v6-list-grid {
    grid-template-columns: 1fr !important;
  }

  body.theme-v6 .v6-site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  body.theme-v6 .v6-site-footer__grid .v6-site-footer__nav {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  body.theme-v6 .v6-property-grid--masonry .v6-property-card,
  body.theme-v6 .v6-property-grid--masonry .v6-property-card:nth-child(1) {
    grid-column: span 6;
  }

  body.theme-v6 .v6-property-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Featured / homepage — mobil: cap secțiune compact, carduri una sub alta */
@media (max-width: 991px) {
  body.theme-v6 .v6-featured .v6-section-top {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: var(--v6-gap);
  }

  body.theme-v6 .v6-featured .v6-section-top .v6-section-head {
    flex: 0 0 auto;
    max-width: 100%;
  }

  body.theme-v6 .v6-featured .v6-property-grid,
  body.theme-v6 .v6-featured .v6-property-grid--2,
  body.theme-v6 .v6-featured .v6-property-grid--3,
  body.theme-v6 .v6-featured .v6-property-grid--4,
  body.theme-v6 .v6-featured .v6-property-grid--wide {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch;
    gap: 16px;
    overflow: visible;
    scroll-snap-type: none;
    margin-right: 0;
    padding-right: 0;
    padding-bottom: 0;
  }

  body.theme-v6 .v6-featured .v6-property-grid > .v6-property-card {
    flex: none;
    width: 100%;
    max-width: none;
    scroll-snap-align: none;
    height: auto;
  }

  body.theme-v6 .v6-featured .v6-property-card__media {
    aspect-ratio: 4 / 3 !important;
    width: 100%;
    flex: 0 0 auto;
    position: relative;
    overflow: hidden;
  }

  body.theme-v6 .v6-featured .v6-property-card__media img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover !important;
  }

  body.theme-v6 .v6-featured .v6-property-card__price,
  body.theme-v6 .v6-featured .v6-property-card__price-row .v6-property-card__price {
    white-space: nowrap;
    font-size: clamp(1.05rem, 4.2vw, 1.28rem) !important;
    letter-spacing: -0.02em;
  }

  body.theme-v6 .v6-featured .v6-property-card__title {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  body.theme-v6 .v6-featured .v6-property-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 14px 16px 16px;
  }

  body.theme-v6 .v6-featured .v6-property-card__loc {
    margin-bottom: 0;
  }

  body.theme-v6 .v6-featured .v6-property-card__meta {
    margin-top: auto;
  }
}

@media (max-width: 640px) {
  body.theme-v6 .v6-hero__stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.theme-v6 .v6-hero--centered .v6-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 16px;
    max-width: 100%;
  }

  body.theme-v6 .v6-section-top {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: var(--v6-gap);
  }

  /* flex: 1 1 280px e pentru rând desktop; pe coloană forțează ~280px gol sub titlu */
  body.theme-v6 .v6-section-top .v6-section-head {
    flex: 0 0 auto;
    max-width: 100%;
  }

  body.theme-v6 .v6-site-footer__grid {
    grid-template-columns: 1fr;
  }

  body.theme-v6 .v6-property-grid,
  body.theme-v6 .v6-property-grid--wide,
  body.theme-v6 .v6-property-grid--3,
  body.theme-v6 .v6-property-grid--4,
  body.theme-v6 .v6-property-grid--2,
  body.theme-v6 .v6-list-grid {
    grid-template-columns: 1fr;
  }

  body.theme-v6 .v6-property-grid--masonry,
  body.theme-v6 .v6-property-grid--masonry .v6-property-card,
  body.theme-v6 .v6-property-grid--masonry .v6-property-card:nth-child(1) {
    grid-template-columns: 1fr;
    grid-column: 1 / -1;
  }

  body.theme-v6 .v6-property-card--s3 {
    grid-template-columns: 1fr;
  }

  body.theme-v6 .v6-row-card {
    grid-template-columns: 1fr;
  }
}
