body.real-estate-detail-page {
  background: #f6f4f1;
}

.re-detail-shell {
  width: min(1440px, calc(100% - 56px));
  margin: 0 auto;
}

.re-detail-shell--narrow {
  width: min(1160px, calc(100% - 56px));
}

.re-detail-hero {
  background: #f6f4f1;
  padding: 144px 0 64px;
}

.re-detail-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 30px;
}

.re-detail-topbar__left {
  flex: 1 1 auto;
  min-width: 0;
}

.re-detail-topbar__right {
  flex: 0 0 auto;
}

.re-detail-microline {
  font-family: "Montserrat", serif;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.56);
  margin-bottom: 10px;
}

.re-detail-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(44px, 4.2vw, 74px);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #111;
}

.re-detail-place {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.64);
}

.re-detail-price {
  font-family: "Montserrat", serif;
  font-size: clamp(26px, 2vw, 34px);
  line-height: 1;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
  padding-top: 10px;
}

.re-detail-gallery {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.96fr);
  gap: 10px;
  align-items: stretch;
}

.re-detail-gallery__main,
.re-detail-gallery__thumb {
  display: block;
  position: relative;
  overflow: hidden;
  background: #ddd;
  text-decoration: none;
}

.re-detail-gallery__main {
  aspect-ratio: 1.28 / 1;
  height: 100%;
}

.re-detail-gallery__side {
  min-height: 0;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.re-detail-gallery__thumb {
  height: 100%;
}

.re-detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.re-detail-gallery__main:hover img,
.re-detail-gallery__thumb:hover img {
  transform: scale(1.03);
}

.re-detail-gallery__thumb--more::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  transition: background 0.35s ease;
  z-index: 1;
}

.re-detail-gallery__thumb--more:hover::after {
  background: rgba(0, 0, 0, 0.48);
}

.re-detail-gallery__photo-count {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", serif;
  font-size: clamp(25px, 2.35vw, 42px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  text-align: center;
}

.re-detail-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-top: 12px;
  background: #f6f4f1;
  border-top: 1px solid rgba(0, 0, 0, 0.10);
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}

.re-detail-stat {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 14px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.re-detail-stat:last-child {
  border-right: 0;
}

.re-detail-stat i {
  font-size: 18px;
  color: #2a2a2a;
  margin-top: 3px;
}

.re-detail-stat__label {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.48);
  margin-bottom: 2px;
}

.re-detail-stat strong {
  font-size: 16px;
  line-height: 1.25;
  font-weight: 500;
  color: #1c1c1c;
}

.re-detail-description {
  padding: 34px 0 28px;
  background: #f6f4f1;
}

.re-detail-section-title {
  margin: 0 0 22px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(34px, 3vw, 52px);
  line-height: 0.98;
  font-weight: 500;
  color: #111;
}

.re-detail-description__wrap {
  max-width: 100%;
}

.re-detail-description__text {
  position: relative;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 300;
  color: #202020;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.re-detail-description__text.is-collapsed {
  max-height: 12.6em;
}

.re-detail-description__text.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(to bottom, rgba(246, 244, 241, 0), #f6f4f1 78%);
  pointer-events: none;
}

.re-detail-description__text.is-expanded {
  max-height: 5000px;
}

.re-detail-description__text.is-expanded::after {
  display: none;
}

.re-detail-description__toggle {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: #111;
  text-decoration: underline;
  cursor: pointer;
}

.re-detail-description__toggle:hover {
  color: #000;
}

.re-detail-boxes {
  padding: 18px 0 60px;
  background: #f6f4f1;
}

.re-detail-info-box {
  background: #f1ece6;
  padding: 56px 68px 46px;
  margin-bottom: 48px;
}

.re-detail-info-box:last-child {
  margin-bottom: 0;
}

.re-detail-box-title {
  margin: 0 0 32px;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(40px, 3.5vw, 58px);
  line-height: 0.96;
  font-weight: 500;
  color: #111;
}

.re-detail-box-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 70px;
  row-gap: 0;
}

.re-detail-box-col {
  min-width: 0;
}

.re-detail-box-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.re-detail-box-row span,
.re-detail-box-row strong {
  font-size: 18px;
  line-height: 1.45;
  color: #473f39;
}

.re-detail-box-row strong {
  font-weight: 500;
  text-align: right;
}

.re-detail-info-box--features .re-detail-box-row {
  justify-content: center;
}

.re-detail-info-box--features .re-detail-box-row strong {
  text-align: center;
}

.re-detail-cta {
  position: relative;
  background: #f6f4f1;
  padding: 24px 0 0;
  overflow: hidden;
}

.re-detail-cta__image {
  min-height: 700px;
  background-image: url('img-sito/valutazione-immobile-agm.jpg');
  background-size: cover;
  background-position: center;
}

.re-detail-cta__content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100% - 40px));
  background: rgba(255, 255, 255, 0.96);
  padding: 42px 34px;
  text-align: center;
}

.re-detail-cta__eyebrow {
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 10px;
}

.re-detail-cta__title {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(44px, 4vw, 62px);
  line-height: 0.95;
  font-weight: 500;
  color: #111;
}

.re-detail-cta__text {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.re-detail-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid rgba(0, 0, 0, 0.34);
  color: #3b3b3b;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.re-detail-cta__button:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* =========================
   MODAL GALLERY IMMOBILE - MASONRY
========================= */

.re-gallery-modal {
  z-index: 20000;
}

.modal-backdrop {
  z-index: 19990;
}

.re-gallery-modal .modal-dialog {
  max-width: min(1820px, calc(100vw - 92px));
}

.re-gallery-modal__content {
  background: #fff;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.re-gallery-modal__header {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 34px 16px;
  background: #fff;
  border-bottom: 0;
}

.re-gallery-modal__brand {
  font-family: "Montserrat", serif;
  color: #111;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.re-gallery-modal .btn-close {
  width: 22px;
  height: 22px;
  padding: 0;
  opacity: 0.75;
  box-shadow: none;
}

.re-gallery-modal .btn-close:hover {
  opacity: 1;
}

.re-gallery-modal__body {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 0 34px 34px;
  background: #fff;
}

.re-gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.re-gallery-masonry__item {
  display: block;
  overflow: hidden;
  background: #e6e6e6;
  min-height: 260px;
}

.re-gallery-masonry__item--large {
  grid-column: 1 / -1;
  min-height: 410px;
}

.re-gallery-masonry__item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.re-gallery-masonry__item:hover img {
  transform: scale(1.025);
}

.re-detail-empty {
  padding: 160px 0 100px;
  background: #f6f4f1;
}

.re-detail-empty__box {
  max-width: 760px;
}

.re-detail-empty__eyebrow {
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.56);
  margin-bottom: 16px;
}

.re-detail-empty__title {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 4vw, 68px);
  line-height: 0.96;
  font-weight: 500;
  color: #111;
}

.re-detail-empty__text {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 300;
  color: #222;
  margin: 0 0 18px;
}

.re-detail-empty__link {
  font-weight: 600;
  color: #111;
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .re-detail-shell,
  .re-detail-shell--narrow {
    width: min(1440px, calc(100% - 40px));
  }

  .re-detail-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .re-detail-info-box {
    padding: 48px 42px 40px;
  }
}

@media (max-width: 992px) {
  .re-detail-hero {
    padding: 126px 0 48px;
  }

  .re-detail-topbar {
    flex-direction: column;
    gap: 16px;
  }

  .re-detail-price {
    padding-top: 0;
  }

  .re-detail-gallery {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .re-detail-gallery__main {
    aspect-ratio: 1.35 / 1;
  }

  .re-detail-gallery__side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    gap: 8px;
  }

  .re-detail-gallery__thumb {
    aspect-ratio: 1.35 / 1;
  }

  .re-gallery-modal .modal-dialog {
    max-width: calc(100vw - 32px);
    margin: 70px auto 24px;
  }

  .re-gallery-modal__header {
    padding: 16px 20px 14px;
  }

  .re-gallery-modal__body {
    padding: 0 20px 22px;
  }

  .re-gallery-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .re-gallery-masonry__item,
  .re-gallery-masonry__item--large {
    min-height: 260px;
  }

  .re-gallery-masonry__item--large {
    grid-column: 1 / -1;
  }

  .re-detail-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .re-detail-box-grid {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }

  .re-detail-info-box {
    margin-bottom: 34px;
  }

}

@media (max-width: 640px) {
  .re-detail-shell,
  .re-detail-shell--narrow {
    width: calc(100% - 24px);
  }

  .re-detail-hero {
    padding: 108px 0 38px;
  }

  .re-detail-title {
    font-size: 38px;
  }

  .re-detail-gallery__side {
    grid-template-columns: 1fr;
  }

  .re-detail-gallery__main,
  .re-detail-gallery__thumb {
    aspect-ratio: 1.22 / 1;
  }

  .re-gallery-modal .modal-dialog {
    max-width: calc(100vw - 20px);
    margin: 76px auto 18px;
  }

  .re-gallery-modal__header {
    min-height: 58px;
    padding: 14px 14px 12px;
  }

  .re-gallery-modal__brand {
    font-size: 14px;
  }

  .re-gallery-modal__body {
    max-height: calc(100vh - 116px);
    padding: 0 14px 16px;
  }

  .re-gallery-masonry {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .re-gallery-masonry__item,
  .re-gallery-masonry__item--large {
    min-height: 240px;
  }

  .re-detail-stats {
    grid-template-columns: 1fr;
  }

  .re-detail-stat {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .re-detail-info-box {
    padding: 38px 18px 30px;
  }

.re-detail-box-row {
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
}

.re-detail-box-row span,
.re-detail-box-row strong {
  font-size: 14px;
  line-height: 1.35;
}

.re-detail-box-row span {
  flex: 0 0 auto;
  text-align: left;
}

.re-detail-box-row strong {
  flex: 1 1 auto;
  text-align: right;
}

/* Mantiene centrata solo la sezione Caratteristiche */
.re-detail-info-box--features .re-detail-box-row {
  justify-content: center;
}

.re-detail-info-box--features .re-detail-box-row strong {
  text-align: center;
}
  .re-detail-description__text {
    font-size: 17px;
    line-height: 1.75;
  }

  .re-detail-description__text.is-collapsed {
    max-height: 11.8em;
  }

  .re-detail-cta__image {
    min-height: 320px;
  }

  .re-detail-cta__content {
    width: calc(100% - 24px);
    padding: 34px 20px;
  }
}
/* SEARCH BAND DETTAGLIO IMMOBILE */
.re-search-band {
  background: #000;
  padding: 132px 0 46px;
}

.re-search-band--detail {
  margin: 0;
}

.re-search-form {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(160px, 1fr) minmax(140px, 0.8fr) minmax(320px, 1.45fr) auto;
  align-items: end;
  gap: 24px;
}

.re-search-field label,
.re-search-price__head span {
  display: block;
  margin-bottom: 9px;
  font-family: "Montserrat", serif;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.re-search-field select {
  width: 100%;
  height: 42px;
  padding: 0 0 9px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: "Montserrat", serif;
  font-size: 15px;
  line-height: 1.2;
  outline: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 13px) 14px, calc(100% - 8px) 14px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.re-search-field select option {
  color: #111;
}

.re-search-price {
  min-width: 0;
}

.re-search-price__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 17px;
}

.re-search-price__head span {
  margin-bottom: 0;
}

.re-search-price__head strong {
  font-family: "Montserrat", serif;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

.re-range-slider {
  position: relative;
  height: 22px;
}

.re-range-slider__track,
.re-range-slider__fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 2px;
  border-radius: 999px;
}

.re-range-slider__track {
  background: rgba(255, 255, 255, 0.26);
}

.re-range-slider__fill {
  background: #fff;
}

.re-range-slider input[type="range"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 22px;
  margin: 0;
  background: transparent;
  pointer-events: none;
  appearance: none;
}

.re-range-slider input[type="range"]::-webkit-slider-thumb {
  width: 17px;
  height: 17px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
  cursor: pointer;
  pointer-events: auto;
  appearance: none;
}

.re-range-slider input[type="range"]::-moz-range-thumb {
  width: 17px;
  height: 17px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
  cursor: pointer;
  pointer-events: auto;
}

.re-search-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 1px;
}

.re-search-actions button {
  height: 42px;
  padding: 0 28px;
  border: 1px solid #fff;
  background: #fff;
  color: #000;
  font-family: "Montserrat", serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}

.re-search-actions button:hover {
  background: transparent;
  color: #fff;
}

.re-search-actions a {
  color: rgba(255, 255, 255, 0.62);
  font-family: "Montserrat", serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.re-search-actions a:hover {
  color: #fff;
}

.re-search-band + .re-detail-hero {
  padding-top: 64px;
}

@media (max-width: 1200px) {
  .re-search-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .re-search-price {
    grid-column: span 2;
  }
}

@media (max-width: 992px) {
  .re-search-band {
    padding: 118px 0 38px;
  }

  .re-search-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .re-search-price {
    grid-column: span 2;
  }

  .re-search-band + .re-detail-hero {
    padding-top: 48px;
  }
}

@media (max-width: 640px) {
  .re-search-band {
    padding: 104px 0 30px;
  }

  .re-search-form {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .re-search-price {
    grid-column: auto;
  }

  .re-search-price__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 14px;
  }

  .re-search-actions {
    justify-content: space-between;
  }

  .re-search-actions button {
    min-width: 150px;
  }

  .re-search-band + .re-detail-hero {
    padding-top: 38px;
  }
}

/* FIX DEFINITIVO GALLERY DETTAGLIO IMMOBILE */
.re-detail-gallery {
  --re-gallery-gap: 10px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.96fr);
  gap: var(--re-gallery-gap);
  align-items: stretch;
  width: 100%;
  aspect-ratio: 2.06 / 1;
}

.re-detail-gallery > * {
  min-width: 0;
  min-height: 0;
}

.re-detail-gallery__main,
.re-detail-gallery__thumb {
  display: block;
  position: relative;
  overflow: hidden;
  background: #ddd;
  text-decoration: none;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.re-detail-gallery__main {
  aspect-ratio: auto;
}

.re-detail-gallery__side {
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--re-gallery-gap);
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.re-detail-gallery__thumb {
  aspect-ratio: auto;
}

.re-detail-gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.re-detail-gallery__main:hover img,
.re-detail-gallery__thumb:hover img {
  transform: scale(1.03);
}

.re-detail-gallery__thumb--more::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  transition: background 0.35s ease;
  z-index: 1;
}

.re-detail-gallery__thumb--more:hover::after {
  background: rgba(0, 0, 0, 0.48);
}

.re-detail-gallery__photo-count {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", serif;
  font-size: clamp(25px, 2.35vw, 42px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  text-align: center;
}

/* TABLET */
@media (max-width: 992px) {
  .re-detail-gallery {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    gap: 8px;
  }

  .re-detail-gallery__main {
    aspect-ratio: 1.35 / 1;
    height: auto;
  }

  .re-detail-gallery__side {
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    gap: 8px;
  }

  .re-detail-gallery__thumb {
    aspect-ratio: 1.35 / 1;
    height: auto;
  }
}

/* MOBILE */
@media (max-width: 640px) {
  .re-detail-gallery__side {
    grid-template-columns: 1fr;
  }

  .re-detail-gallery__main,
  .re-detail-gallery__thumb {
    aspect-ratio: 1.22 / 1;
  }
}

/* =========================
   FILTRI MOBILE COMPATTI
========================= */

.re-mobile-filter-toggle,
.re-mobile-filter-close {
  display: none;
}

@media (max-width: 640px) {
  body.re-filter-open {
    overflow: hidden;
  }

  .re-search-band.re-search-band--detail {
    padding: 112px 0 26px;
  }

  .re-mobile-filter-toggle {
    display: flex;
    width: 100%;
    height: 52px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.45);
    background: transparent;
    color: #fff;
    font-family: "Montserrat", serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .re-search-form {
    position: fixed;
    inset: 0;
    z-index: 50000;
    display: none;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 24px;
    padding: 92px 28px 34px;
    background: #000;
    overflow-y: auto;
  }

  .re-search-form.is-mobile-open {
    display: grid;
  }

  .re-mobile-filter-close {
    display: block;
    position: fixed;
    top: 24px;
    right: 26px;
    z-index: 50001;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 42px;
    line-height: 1;
    font-weight: 200;
  }

  .re-search-field label,
  .re-search-price__head span {
    font-size: 12px;
    letter-spacing: 0.22em;
  }

  .re-search-field select {
    height: 48px;
    font-size: 20px;
  }

  .re-search-price__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .re-range-slider {
    margin-top: 12px;
  }

  .re-search-actions {
    margin-top: 14px;
    justify-content: space-between;
    gap: 18px;
  }

  .re-search-actions button {
    flex: 1;
    height: 54px;
  }

  .re-search-actions a {
    min-width: 88px;
    text-align: right;
  }

  .re-search-band + .re-detail-hero {
    padding-top: 38px;
  }
}

/* BOTTONE BROCHURE */
.re-detail-brochure-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(0, 0, 0, 0.42);
  background: transparent;
  color: #111;
  font-family: "Montserrat", serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.re-detail-brochure-button:hover {
  background: #111;
  border-color: #111;
  color: #fff;
  text-decoration: none;
}

.re-detail-topbar__right {
  text-align: right;
}

@media (max-width: 992px) {
  .re-detail-topbar__right {
    text-align: left;
  }

  .re-detail-brochure-button {
    margin-top: 18px;
  }
}

@media (max-width: 640px) {
  .re-detail-brochure-button {
    width: 100%;
    min-height: 48px;
    margin-top: 18px;
  }
}

.re-detail-meta-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.re-detail-place,
.re-detail-contract {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat", serif;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.64);
}

.re-detail-contract {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #111;
}

.re-detail-place {
  margin-top: 0;
}