/* ---------- Property detail page ---------- */
.detail-header {
  padding: 128px 64px 0;
  max-width: var(--container-max);
  margin: 0 auto;
}

.detail-header__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.detail-header__tags {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.detail-tag {
  background: rgba(106, 111, 73, 0.1);
  color: var(--color-olive);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 12px;
}

.detail-header__location-tag {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #625e57;
}

.detail-header__title {
  color: var(--color-olive);
  margin-top: 8px;
}

.detail-header__subtitle {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 18px;
  color: #625e57;
  margin-top: 4px;
}

.detail-header__price {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 24px;
  color: var(--color-olive);
  text-align: right;
}

.detail-header__price span {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  color: #625e57;
}

.detail-hero {
  position: relative;
  margin: 32px 64px 0;
  max-width: 1144px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 4px;
  overflow: hidden;
  height: 819px;
}

.detail-hero img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1144 / 821;
}

.detail-hero__gallery-btn {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 248, 243, 0.9);
  backdrop-filter: blur(2px);
  border: 1px solid #c8c7ba;
  padding: 13px 25px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.7px;
  color: var(--color-olive);
}

.detail-hero__gallery-btn img {
  width: 18.5px;
  height: 18.5px;
}

.detail-stats {




  margin-top: 40px;
  padding: 0 64px;
}

.detail-stats .inner-div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1144px;
  margin: 0 auto;
  border-top: 1px solid #c8c7ba;
  border-bottom: 1px solid #c8c7ba;
  padding: 32px 0;
}

.detail-stat span {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #625e57;
  margin-bottom: 4px;
}

.detail-stat strong {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 30px;
  color: #6A6F49;
}

.detail-body {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 56px 64px 0;
  display: grid;
  grid-template-columns: 760fr 368fr;
  gap: 40px;
}

.detail-body h2 {
  color: var(--color-olive);
  font-size: 30px;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
  text-transform: uppercase;
}

.detail-body p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-text-body);
  margin-bottom: 16px;
}

.detail-specs-card {
  background: #FEF2E3;
  border: 1px solid rgba(200, 199, 186, 0.4);
  border-radius: 4px;
  padding: 33px;
}

.detail-specs-card h3 {
  color: var(--color-olive);
  margin-bottom: 24px;
}

.detail-specs-card dl {
  display: flex;
  flex-direction: column;
}

.detail-specs-card .spec-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(200, 199, 186, 0.3);
  font-size: 15px;
}

.detail-specs-card .spec-row:last-child {
  border-bottom: none;
}

.detail-specs-card dt {
  color: var(--color-text-body);
}

.detail-specs-card dd {
  margin: 0;
  font-weight: 600;
  color: var(--color-text);
}

.detail-gallery {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 56px 64px 0;
}

.detail-gallery h3 {
  color: var(--color-olive);
  margin-bottom: 32px;
  font-size: 32px;
}

.detail-gallery__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  height: 600px;
}

.detail-gallery__grid>a:first-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.detail-gallery__side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.detail-gallery__side>a {
  position: relative;
  flex: 1;
  border-radius: 4px;
  overflow: hidden;
  display: block;
}

.detail-gallery__side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-gallery__more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.detail-media {
  background: var(--color-bg);
  padding: 80px 64px;
  margin-top: 56px;
}

.detail-media__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.detail-media__inner .eyebrow {
  display: block;
  margin-bottom: 12px;
}

.detail-media__inner h2 {
  color: var(--color-olive);
  margin-bottom: 12px;
}

.detail-media__inner>p {
  font-size: 16px;
  color: var(--color-text-body);
  margin-bottom: 40px;
  max-width: 720px;
}

.detail-media__row {
  display: grid;
  grid-template-columns: 736fr 392fr;
  gap: 24px;
  align-items: start;
}

.video-player {
  position: relative;
  height: 440px;
  border-radius: 12px;
  overflow: hidden;
}

.video-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-player::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(71, 71, 61, 0.32);
}

.video-player__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-player__play img:first-child {
  position: absolute;
  inset: 0;
  width: 80px;
  height: 80px;
}

.video-player__play img:last-child {
  position: relative;
  width: 20px;
  height: 24px;
}

.video-player__tag {
  position: absolute;
  left: 20px;
  bottom: 24px;
  z-index: 2;
  background: rgba(71, 71, 61, 0.6);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.9px;
  padding: 7px 12px;
  border-radius: 6px;
}

.video-caption {
  font-size: 14px;
  color: rgba(71, 71, 61, 0.8);
  margin-top: 14px;
}

.floorplan {
  background: var(--color-bg-alt);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  height: 440px;
}

.floorplan__room {
  position: absolute;
  background: var(--color-bg);
  border: 1.5px solid rgba(106, 111, 73, 0.45);
}

.floorplan__label {
  position: absolute;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.6px;
  color: rgba(106, 111, 73, 0.9);
}

.floorplan__tabs {
  position: absolute;
  left: 24px;
  bottom: 20px;
  display: flex;
  gap: 8px;
}

.floorplan__tab {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.6px;
  padding: 6px 12px;
  border-radius: 6px;
}

.floorplan__tab--active {
  background: var(--color-olive);
  color: var(--color-white);
}

.floorplan__tab--inactive {
  background: var(--color-bg);
  border: 1px solid rgba(106, 111, 73, 0.3);
  color: var(--color-olive);
}

.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--color-olive);
  color: var(--color-olive);
  border-radius: 12px;
  padding: 16px 24px;
  margin-top: 14px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.7px;
}

.detail-location {
  background: var(--color-bg-soft-3);
  padding: 96px 64px 0 64px;
}

.detail-location__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.detail-location__inner .eyebrow {
  display: block;
  margin-bottom: 12px;
}

.detail-location__inner h2 {
  color: var(--color-olive);
  margin-bottom: 12px;
}

.detail-location__inner>p {
  font-size: 16px;
  color: var(--color-text-body);
  max-width: 720px;
  margin-bottom: 40px;
}

.detail-map {
  position: relative;
  height: 384px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}

.detail-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-map__card {
  position: absolute;
  top: 133px;
  left: 154px;
  width: 340px;
  background: var(--color-bg);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0px 12px 32px rgba(66, 41, 18, 0.16);
}

.detail-map__card strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-olive);
  margin-bottom: 10px;
}

.detail-map__card p {
  font-size: 14px;
  color: rgba(71, 71, 61, 0.8);
  margin-bottom: 10px;
}

.detail-map__card a {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.6px;
  color: var(--color-accent);
}

.detail-map__pin {
  position: absolute;
  left: 482px;
  top: 276px;
  width: 51px;
  height: 51px;
}

.nearby-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.nearby-card {
  background: var(--color-bg);
  border: 1px solid rgba(106, 111, 73, 0.18);
  border-radius: 12px;
  padding: 28px 24px;
}

.nearby-card strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 26px;
  color: var(--color-olive);
  margin-bottom: 6px;
}

.nearby-card span {
  font-size: 14px;
  color: rgba(71, 71, 61, 0.85);
}

.location-section {
  background: var(--color-bg-soft-3);
  padding: 104px 80px;
}

.location-section .eyebrow {
  display: block;
  margin-bottom: 18px;
}

.location-section h2 {
  color: var(--color-olive);
  font-size: 44px;
  margin-bottom: 18px;
  max-width: 700px;
}

.location-section>p {
  font-size: 18px;
  max-width: 660px;
  margin-bottom: 40px;
}

.location-map {
  position: relative;
  height: 384px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.location-map img.map-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-map__card {
  position: absolute;
  left: 154px;
  top: 133px;
  width: 340px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: 0px 12px 32px rgba(66, 41, 18, 0.16);
  padding: 24px;
}

.location-map__card h3 {
  color: var(--color-olive);
  font-size: 20px;
  margin-bottom: 10px;
}

.location-map__card p {
  font-size: 14px;
  color: rgba(71, 71, 61, 0.8);
  margin-bottom: 10px;
}

.location-map__card a {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.6px;
}

.location-map__pin {
  position: absolute;
  left: 482px;
  top: 276px;
  width: 51px;
  height: 51px;
}

.location-map__pin img {
  width: 100%;
  height: 100%;
}

.location-section .inner-div {
  max-width: 1152px;
  margin: auto;
}

.location-section .inner-div .location-map {
  margin-top: 40px;
}

.nearby-row {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}

.nearby {
  flex: 1;
  background: #fff;
  border: 1px solid rgba(106, 111, 73, .18);
  border-radius: 12px;
  padding: 28px 24px;
}

.nearby .v {
  font-weight: 600;
  font-size: 26px;
  color: #6a6f49;
  margin: 0 0 6px;
}

section.video-block .wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 64px;
}

section.video-block .wrap .eyebrow {
  margin-bottom: 16px;
}

section.video-block .wrap h2 {
  font-family: Playfair Display;
  font-weight: 700;
  font-size: 30px;
  line-height: 40px;
  letter-spacing: 0px;
  color: #6A6F49;
  margin-bottom: 12px;
}

.media-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 40px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e07a5f;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.play-btn svg {
  width: 14px;
  height: 14px;
  fill: #fff;
  margin-left: 2px;
}

.media-video {
  flex: 1;
}

.video-player {
  position: relative;
  background-size: cover;
}

span.duration {
  background: #47473D99;
  color: #fff;
  bottom: 16px;
  top: unset;
  position: absolute;
  font-family: Montserrat;
  font-weight: 500;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.9px;
  padding: 7px 12px;
  border-radius: 6px;
}




.btn.outline-olive {
  border: #6a6f49;
  color: #6a6f49;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  letter-spacing: .7px;
  padding: 16px 24px;
}

.media-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.media-video {
  flex: 1;
}

.cap-note {
  font-size: 14px;
  color: rgba(71, 71, 61, .8);
  margin: 14px 0 0;
}

.media-plan {
  width: 392px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plattegrond {
  background: #F8ECDE;
  border-radius: 12px;
  position: relative;
  padding: 40px 40px 20px 40px;
  gap: 0px;
}

.room {
  position: absolute;
  background: #fff8f3;
  border: 1.5px solid rgba(106, 111, 73, .45);
  display: flex;
  align-items: flex-start;
  padding: 8px;
}

.room span {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .6px;
  color: rgba(106, 111, 73, .9);
  text-transform: uppercase;
}

.r1 {
  left: 40px;
  top: 44px;
  width: 180px;
  height: 132px;
}

.r2 {
  left: 220px;
  top: 44px;
  width: 132px;
  height: 132px;
}

.r3 {
  left: 40px;
  top: 176px;
  width: 110px;
  height: 88px;
}

.r4 {
  left: 150px;
  top: 176px;
  width: 202px;
  height: 88px;
}

.r5 {
  left: 40px;
  top: 264px;
  width: 150px;
  height: 112px;
}

.r6 {
  left: 190px;
  top: 264px;
  width: 162px;
  height: 112px;
}

.level-tabs {
  display: flex;
  gap: 8px;
}

.level-tabs span {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  background: #fff8f3;
  border: 1px solid rgba(106, 111, 73, .3);
  color: #6a6f49;
}

.level-tabs span.active {
  background: #6a6f49;
  color: #fff;
  border-color: transparent;
}

.btn.outline-olive {
  border: 1px solid #6a6f49;
  color: #6a6f49;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  letter-spacing: .7px;
  padding: 16px 24px;
}

@media (max-width: 900px) {

  .contact-hero,
  .contact-section,
  .location-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .contact-section {
    flex-direction: column;
  }

  .contact-form-card {
    flex-basis: auto;
    width: 100%;
  }

  .form-row {
    flex-direction: column;
  }

  .location-map__card {
    left: 24px;
    right: 24px;
    top: 24px;
    width: auto;
  }

  .location-map__pin {
    display: none;
  }

  .location-section {
    padding: 56px 24px;
  }
}

@media (max-width: 1000px) {

  .detail-header,
  .detail-hero,
  .detail-stats,
  .detail-body,
  .detail-gallery {
    padding-left: 24px;
    padding-right: 24px;
  }

  .detail-header {
    padding-top: 24px;
  }

  .detail-hero__gallery-btn {
    right: 48px;
  }


  .detail-media,
  .detail-location {
    padding-left: 24px;
    padding-right: 24px;
  }

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

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

  .detail-gallery__grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .detail-gallery__grid>a:first-child img {
    height: 360px;
  }

  .detail-gallery__side {
    flex-direction: row;
  }

  .detail-gallery__side>a {
    height: 220px;
  }

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

  .nearby-grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail-map__card {
    top: 16px;
    width: calc(100% - 32px);
    left: 16px;
  }

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

  .media-row {
    flex-direction: column;
  }

  .media-plan {
    width: 100%;
  }

  section.video-block .wrap {
    padding: 48px 24px;
  }

  .nearby-row {
    flex-direction: column;
  }

  .detail-header__tags {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-hero {
    height: auto;
  }

  .room {
    position: unset;
    width: 100%;
  }

  .plattegrond {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 24px;
  }

  .level-tabs {
    /* position: absolute;
    left: 50%;
    top: 372px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
    width: max-content; */
  }

}

@media(max-width: 767px) {
  .detail-header {
    padding-top: 48px;
  }

  .detail-header__tags {
    flex-direction: row;
    align-items: center;
    margin-bottom: 16px;
  }

  .detail-header__title {
    font-size: 28px !important;
    line-height: 33px !important;
    font-weight: 600;
  }

  .detail-header__subtitle {
    font-size: 16px;
    margin-top: 8px;
    line-height: 25px;
  }

  .detail-header__top {
    gap: 8px;
  }

  .detail-header__price {
    font-size: 18px;
    line-height: 24px;
    width: 100%;
  }

  .detail-hero {
    padding-top: 21px;
        margin: 0px 0px 0;
  }

  .detail-hero {
    height: 249px;
  }

  .detail-hero__gallery-btn {
    padding: 12px 20px;
  }

  .detail-stats {
    margin-top: 28px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .detail-stats .inner-div {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .detail-stat strong {
    line-height: 30px;
  }

  .detail-body {
    padding: 48px 64px 0;
    padding-left: 20px;
    padding-right: 20px;
    gap: 12px;
  }

  .detail-body h2 {
    font-size: 22px !important;
    margin-bottom: 20px;
    line-height: 28px !important;
    font-weight: 600;
  }

  .detail-body p {
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 20px;
  }

  .detail-specs-card {
    padding: 24px 16px;
  }

  .detail-specs-card h3 {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px lightgrey solid;
    padding-bottom: 16px;
  }

  .detail-specs-card dl {
    margin-bottom: 0px;
  }

  .detail-gallery h3 {
    margin-bottom: 20px;
    font-size: 22px;
    line-height: 28px;
  }

  .detail-gallery__grid>a:first-child img {
    height: 290px;
  }

  .detail-gallery__side {
    flex-direction: column;
  }

  .detail-gallery__side>a {
    height: 290px;
    min-height: 290px;
  }

  .detail-gallery__side>a img {
    object-fit: cover;
  }

  .detail-gallery__grid {
    gap: 20px;
  }

  .detail-gallery {
    padding: 48px 64px 0;
    padding-left: 20px;
    padding-right: 20px;
  }

  section.video-block .wrap {
    padding: 48px 20px;
  }

  section.video-block .wrap h2 {
    font-size: 21px !important;
    line-height: 28px !important;
  }

  .media-row {
    margin-top: 20px;
  }

  .video-player {
    height: 209px !important;
  }

  .level-tabs {
    justify-content: center;
  }

  .media-plan {
    gap: 16px;
  }

  .detail-location {
    padding: 48px 64px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .detail-location__inner h2 {
    font-size: 21px !important;
    line-height: 28px !important;
    font-weight: 800;
  }

  .detail-location__inner>p {
    font-size: 15px;
    line-height: 24px;
    font-weight: 400;
    margin-bottom: 20px;
  }

  .detail-map__card {
    padding: 24px 16px !important;
  }
  .detail-map__card h3{
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 10px;
  }
  .detail-map{
    min-height: 384px;
    margin-bottom: 20px;
  }
  .nearby-row {
    gap: 16px;
    margin-top: 20px;
}
.nearby{
      padding: 28px 16px;
}
.nearby .v {
    font-size: 19px;
    line-height: 32px;
}
.detail-header__location-tag{
      font-size: 11px;
}
.detail-tag{
  font-size: 11px;
  padding: 4px 10px;
}
}