.property-page-wrapper {
  --pd-border: #e9e2d7;
  --pd-surface: #ffffff;
  --pd-surface-soft: #fcf9f4;
  --pd-text: #1f1f1f;
  --pd-muted: #6f6a61;
  background:
    radial-gradient(80vw 40vw at 100% -10%, rgba(166, 138, 100, 0.08), transparent 55%),
    radial-gradient(50vw 30vw at -10% 20%, rgba(166, 138, 100, 0.06), transparent 60%),
    #f8f6f2;
  padding: 1.1rem 0 4.5rem;
  font-family: var(--font-primary), "Noto Sans Thai", sans-serif;
  color: var(--pd-text);
}

.property-page-wrapper.lang-en {
  font-family: var(--font-primary), "Inter", sans-serif;
}

.property-page-wrapper.lang-th {
  font-family: "Mitr", "Noto Sans Thai", var(--font-primary), sans-serif;
}

.hero-block {
  display: grid;
  gap: 1rem;
}

.gallery-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(220px, 0.9fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  height: clamp(380px, 50vw, 640px);
  gap: 12px;
  padding: 14px;
  background: var(--pd-surface);
  border: 1px solid var(--pd-border);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(19, 14, 8, 0.07);
}

.gallery-main {
  grid-row: 1 / span 3;
  min-width: 0;
  min-height: 0;
}

.heroSwiper {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
}

.heroSwiper .swiper-slide {
  cursor: zoom-in;
}

.heroSwiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.heroSwiper .swiper-slide:hover img {
  transform: scale(1.015);
}

.hero-swiper-next,
.hero-swiper-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.44);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}

.hero-swiper-prev { left: 14px; }
.hero-swiper-next { right: 14px; }

.hero-swiper-next i,
.hero-swiper-prev i { font-size: 1.35rem; }

.hero-swiper-next:hover,
.hero-swiper-prev:hover {
  background: rgba(20, 20, 20, 0.72);
}

.hero-swiper-pagination {
  position: absolute;
  bottom: 14px !important;
  left: 0;
  right: 0;
}

.hero-swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  opacity: 1;
  background: rgba(255, 255, 255, 0.7);
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  width: 20px;
  border-radius: 100px;
  background: var(--color-accent);
}

.gallery-side {
  grid-row: 1 / span 3;
  display: grid;
  grid-template-rows: repeat(var(--thumb-count, 3), minmax(0, 1fr));
  gap: 10px;
  min-height: 0;
}

.gallery-thumb-btn {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  padding: 0;
  height: 100%;
  cursor: pointer;
  background: #d9d9d9;
}

.gallery-thumb-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.gallery-thumb-btn.active::after {
  border-color: var(--color-accent);
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-thumb-btn:hover img { transform: scale(1.05); }

.thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.intro-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--pd-border);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #fbf8f2 100%);
  padding: 1.2rem 1.4rem;
}

.meta-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}

.meta-pill {
  border: 1px solid #ddd3c3;
  background: #fff;
  color: #4e473d;
  border-radius: 999px;
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  font-weight: 700;
  font-family: "Outfit", "Segoe UI", "Tahoma", "Noto Sans Thai", sans-serif;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: none;
  -webkit-text-stroke: 0;
  text-rendering: geometricPrecision;
}

.meta-pill.dark {
  background: #171717;
  border-color: #171717;
  color: #fff;
}

.meta-pill.dark.meta-pill--rent {
  background: #f3cf56;
  border-color: #ddba4a;
  color: #3b2a0b;
}

.meta-pill.dark.meta-pill--sale {
  background: #d63a3a;
  border-color: #c83232;
  color: #ffffff;
}

.meta-pill.sold {
  background: #9f1f1f;
  border-color: #9f1f1f;
  color: #ffffff;
}

.page-title {
  font-family: "Playfair Display", var(--font-heading), serif;
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  line-height: 1.32;
  color: var(--pd-text);
}

.page-location {
  margin: 0.65rem 0 0;
  color: var(--pd-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.95rem;
}

.intro-side {
  display: grid;
  gap: 0.7rem;
  justify-items: end;
}

.price-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.32rem;
  padding: 0.6rem 0.95rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #8f6d3f 0%, #c4a173 100%);
  color: #fffdf8;
  box-shadow: 0 8px 16px rgba(143, 109, 63, 0.28);
}

.price-chip .value {
  font-size: 1.24rem;
  font-weight: 700;
  font-family: "Outfit", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  letter-spacing: -0.006em;
}

.price-chip .label {
  font-size: 0.82rem;
  color: #fff2de;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #ded6c9;
  background: #fff;
  color: #2f2a21;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  font-size: 0.84rem;
  text-decoration: none;
  cursor: pointer;
}

.quick-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

.main-content-container {
  margin-top: 1.2rem;
}

@media (min-width: 992px) {
  .main-content-container .row {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.85fr);
    gap: 1rem;
    align-items: start;
  }

  .main-content-container .details-column {
    width: auto;
  }

  .main-content-container .sidebar-column {
    width: auto;
    align-self: start;
  }

  .main-content-container .location-column {
    grid-column: 1 / -1;
  }
}

.details-panel,
.location-panel,
.booking-card {
  border: 1px solid var(--pd-border);
  border-radius: 18px;
  background: var(--pd-surface);
  box-shadow: 0 12px 30px rgba(15, 12, 7, 0.04);
}

.details-panel {
  padding: 1.35rem;
}

.section-head {
  margin-bottom: 0.7rem;
}

.section-heading {
  margin: 0;
  font-family: "Playfair Display", var(--font-heading), serif;
  font-size: 1.28rem;
  color: var(--pd-text);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.spec-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #ece6dc;
  border-radius: 12px;
  background: var(--pd-surface-soft);
  padding: 0.75rem;
}

.spec-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #ede6d9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.spec-icon i { font-size: 1.15rem; }

.spec-content {
  display: grid;
  min-width: 0;
}

.spec-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #6f5330;
  line-height: 1.2;
}

.spec-lb {
  font-size: 0.79rem;
  color: var(--pd-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.property-page-wrapper.lang-th .page-title,
.property-page-wrapper.lang-th .section-heading {
  font-family: "Mitr", "Noto Sans Thai", sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}

.property-page-wrapper.lang-th .spec-lb,
.property-page-wrapper.lang-th .meta-pill {
  text-transform: none;
  letter-spacing: 0;
}

.property-page-wrapper.lang-th .meta-pill {
  font-family: "Tahoma", "Noto Sans Thai", "Mitr", sans-serif;
  font-weight: 700;
}

.property-page-wrapper.lang-th .page-location,
.property-page-wrapper.lang-th .agent-text p,
.property-page-wrapper.lang-th .location-text {
  font-weight: 300;
}

.property-page-wrapper.lang-th .agent-contact-kicker,
.property-page-wrapper.lang-th .agent-contact-action-copy strong,
.property-page-wrapper.lang-th .agent-line-qr-copy strong {
  font-family: "Mitr", "Noto Sans Thai", sans-serif;
  letter-spacing: 0;
}

.property-page-wrapper.lang-th .agent-contact-action-copy small,
.property-page-wrapper.lang-th .agent-line-qr-copy small,
.property-page-wrapper.lang-th .agent-line-qr-placeholder span {
  font-family: "Mitr", "Noto Sans Thai", sans-serif;
  font-weight: 300;
}

.divider {
  border: 0;
  border-top: 1px solid #eee8dd;
  margin: 1.25rem 0;
}

.editorial-text {
  font-size: 1rem;
  line-height: 1.86;
  color: #3f3a33;
}

.description-readmore { position: relative; }

.description-content {
  position: relative;
  transition: max-height 0.25s ease;
}

.description-content.is-collapsed {
  max-height: 235px;
  overflow: hidden;
}

.description-content.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%);
  pointer-events: none;
}

.btn-readmore {
  margin-top: 0.45rem;
  border: 0;
  background: transparent;
  color: var(--color-accent-dark);
  padding: 0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  cursor: pointer;
}

.booking-card {
  padding: 1.4rem;
  background: linear-gradient(180deg, #ffffff 0%, #fcf8f1 100%);
  border-color: #e5dcca;
}

.booking-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee8dd;
  margin-bottom: 1rem;
}

.agent-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.agent-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  background: #f5efe4;
}

.agent-text h4 {
  margin: 0;
  font-size: 0.95rem;
}

.agent-text p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--pd-muted);
}

.price-header { text-align: right; }

.price-header .amount {
  font-size: 1.3rem;
  font-weight: 700;
  color: #9e7a47;
  line-height: 1.2;
  letter-spacing: -0.006em;
  font-family: "Outfit", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.price-header .label {
  font-size: 0.78rem;
  color: #8d7a5c;
  text-transform: uppercase;
  font-weight: 600;
}

.agent-contact-desktop {
  display: grid;
  gap: 0.9rem;
  font-family: "Outfit", var(--font-primary), sans-serif;
}

.agent-contact-kicker {
  margin: 0;
  font-size: 0.74rem;
  color: #836a49;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.agent-contact-actions {
  display: grid;
  gap: 0.58rem;
}

.agent-contact-action {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.68rem;
  padding: 0.78rem 0.84rem;
  border-radius: 12px;
  border: 1px solid #e3d6c2;
  background:
    radial-gradient(140% 160% at 100% -20%, rgba(166, 138, 100, 0.11), rgba(166, 138, 100, 0)),
    linear-gradient(180deg, #ffffff 0%, #fbf6ed 100%);
  text-decoration: none;
  color: #2a2116;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.agent-contact-action:hover {
  transform: translateY(-1px);
  border-color: #c3a373;
  box-shadow: 0 14px 26px rgba(31, 22, 12, 0.12);
}

.agent-contact-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7f6440;
  background: linear-gradient(160deg, #fbf3e5 0%, #f2ddba 100%);
}

.agent-contact-action-icon i {
  font-size: 1.08rem;
}

.agent-contact-action-copy {
  display: grid;
  min-width: 0;
}

.agent-contact-action-copy strong {
  font-size: 0.91rem;
  line-height: 1.22;
  font-weight: 600;
  color: #2a2116;
}

.agent-contact-action-copy small {
  margin-top: 0.1rem;
  font-size: 0.77rem;
  color: #6d5b47;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.agent-contact-action-arrow {
  color: #a38559;
  font-size: 0.96rem;
}

.agent-contact-action.line {
  border-color: #c9e7d4;
  background:
    radial-gradient(140% 160% at 100% -20%, rgba(0, 161, 58, 0.1), rgba(0, 161, 58, 0)),
    linear-gradient(180deg, #ffffff 0%, #f2fbf5 100%);
}

.agent-contact-action.line .agent-contact-action-icon {
  color: #00a13a;
  background: linear-gradient(160deg, #effcf3 0%, #dcf4e4 100%);
}

.agent-contact-action.fallback .agent-contact-action-icon {
  color: #7e633f;
  background: linear-gradient(160deg, #fdf6ea 0%, #f3e2c3 100%);
}

.agent-line-qr-card {
  border: 1px solid #e4dac8;
  border-radius: 14px;
  background:
    radial-gradient(130% 120% at 100% -20%, rgba(166, 138, 100, 0.16), rgba(166, 138, 100, 0)),
    linear-gradient(180deg, #ffffff 0%, #f9f4ea 100%);
  padding: 0.88rem;
  display: grid;
  gap: 0.76rem;
}

.agent-line-qr-head {
  display: flex;
  align-items: flex-start;
  gap: 0.62rem;
}

.agent-line-qr-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-dark);
  background: #f4ead9;
}

.agent-line-qr-copy {
  display: grid;
}

.agent-line-qr-copy strong {
  font-size: 0.86rem;
  line-height: 1.2;
  color: #2f2518;
  font-weight: 600;
}

.agent-line-qr-copy small {
  margin-top: 0.08rem;
  color: #6f604f;
  font-size: 0.74rem;
  line-height: 1.35;
}

.agent-line-qr-image-wrap {
  width: 170px;
  height: 170px;
  margin-inline: auto;
  border-radius: 14px;
  border: 1px solid #ded2be;
  background: #fff;
  box-shadow: 0 10px 20px rgba(20, 14, 8, 0.1);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.agent-line-qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.42rem;
}

.agent-line-qr-card.is-empty {
  background: linear-gradient(180deg, #ffffff 0%, #f8f3e9 100%);
}

.agent-line-qr-placeholder {
  min-height: 128px;
  border-radius: 12px;
  border: 1px dashed #d5c6af;
  background: rgba(255, 255, 255, 0.75);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.35rem;
  padding: 0.8rem;
  color: #7f705f;
  text-align: center;
}

.agent-line-qr-placeholder i {
  font-size: 1.2rem;
  color: #a08662;
}

.agent-line-qr-placeholder span {
  font-size: 0.76rem;
  line-height: 1.35;
}

.property-page-wrapper.lang-th .agent-contact-kicker {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8rem;
  font-weight: 400;
}

.sticky-wrapper {
  position: sticky;
  top: 96px;
}

.location-panel {
  padding: 1.35rem;
}

.location-head {
  margin-bottom: 1rem;
}

.location-text {
  margin: 0.5rem 0 0.85rem;
  color: #575147;
}

.btn-map-outline {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
  border-radius: 999px;
  padding: 0.48rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.map-iframe {
  border: 0;
  border-radius: 14px;
}

.map-placeholder {
  position: relative;
  height: 320px;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(rgba(21, 21, 24, 0.32), rgba(21, 21, 24, 0.32)),
    url("/images/location_map.webp"),
    radial-gradient(circle at 20% 30%, #d9e7cc 0 7%, transparent 8%),
    radial-gradient(circle at 65% 55%, #f1df9e 0 7%, transparent 8%),
    repeating-linear-gradient(45deg, #e7e0d0 0 18px, #ece6d8 18px 36px),
    repeating-linear-gradient(-45deg, #efe9dc 0 16px, #e6dfd1 16px 32px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.map-placeholder-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(165deg, rgba(8, 10, 18, 0.34), rgba(8, 10, 18, 0.24)),
    radial-gradient(120% 90% at 50% 50%, rgba(8, 10, 18, 0.16), rgba(8, 10, 18, 0.34));
  backdrop-filter: blur(1.5px);
}

.map-contact-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: fit-content;
  max-width: min(92%, 520px);
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0.72rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(23, 27, 40, 0.9) 0%, rgba(35, 44, 67, 0.82) 100%);
  color: #f8f8fb;
  padding: 0.78rem 0.9rem;
  box-shadow:
    0 16px 34px rgba(5, 7, 14, 0.42),
    0 2px 8px rgba(5, 7, 14, 0.2);
  backdrop-filter: blur(8px) saturate(118%);
}

.map-contact-chip-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff6d8;
  background: linear-gradient(135deg, #a98757 0%, #d9b97d 100%);
  box-shadow: 0 6px 14px rgba(169, 135, 87, 0.34);
}

.map-contact-chip-icon i {
  font-size: 1.02rem;
}

.map-contact-chip-copy {
  width: fit-content;
  max-width: 42ch;
  min-width: 0;
  display: grid;
  gap: 0.16rem;
}

.map-contact-chip-copy strong {
  display: block;
  margin: 0;
  font-family: "Outfit", "Mitr", "Noto Sans Thai", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.006em;
  color: #ffffff;
}

.map-contact-chip-copy small {
  display: block;
  margin: 0;
  font-family: "Outfit", "Mitr", "Noto Sans Thai", sans-serif;
  font-size: 0.76rem;
  line-height: 1.34;
  color: rgba(237, 239, 248, 0.9);
}

.property-page-wrapper.lang-th .map-contact-chip-copy strong,
.property-page-wrapper.lang-th .map-contact-chip-copy small {
  font-family: "Tahoma", "Noto Sans Thai", "Mitr", sans-serif;
  letter-spacing: 0;
}

.mobile-agent-contact {
  display: none;
}

.mobile-agent-contact-trigger {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 0.92rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(132deg, #7d6036 0%, var(--color-accent) 52%, #c9a570 100%);
  box-shadow:
    0 16px 30px rgba(106, 80, 46, 0.34),
    0 4px 12px rgba(43, 32, 18, 0.22);
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.mobile-agent-contact-trigger i {
  font-size: 1.05rem;
}

.mobile-agent-contact-trigger:hover {
  transform: translateY(-1px);
  box-shadow:
    0 20px 34px rgba(106, 80, 46, 0.4),
    0 8px 16px rgba(43, 32, 18, 0.25);
  filter: saturate(1.08);
}

.mobile-agent-modal {
  position: fixed;
  inset: 0;
  z-index: 1850;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.mobile-agent-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-agent-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 17, 25, 0.52);
  backdrop-filter: blur(7px);
}

.mobile-agent-modal-sheet {
  position: absolute;
  left: max(0.72rem, env(safe-area-inset-left));
  right: max(0.72rem, env(safe-area-inset-right));
  bottom: calc(4.85rem + env(safe-area-inset-bottom));
  border-radius: 20px;
  border: 1px solid rgba(250, 237, 213, 0.95);
  background:
    radial-gradient(135% 120% at 105% -15%, rgba(166, 138, 100, 0.16), rgba(166, 138, 100, 0)),
    radial-gradient(120% 110% at -20% 100%, rgba(203, 168, 121, 0.16), rgba(203, 168, 121, 0)),
    linear-gradient(170deg, #ffffff 0%, #f8f3e8 100%);
  box-shadow: 0 24px 56px rgba(16, 22, 34, 0.34);
  padding: 1.1rem 1rem 1rem;
  transform: translateY(18px) scale(0.985);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.mobile-agent-modal.is-open .mobile-agent-modal-sheet {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.mobile-agent-modal-close {
  position: absolute;
  right: 0.75rem;
  top: 0.7rem;
  width: 32px;
  height: 32px;
  border: 1px solid #e8decd;
  border-radius: 999px;
  background: #ffffff;
  color: #4b3d2f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-agent-modal-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8f7a5f;
}

.mobile-agent-modal-title {
  margin: 0.3rem 0 0;
  font-size: 1.22rem;
  line-height: 1.25;
  color: #241e16;
}

.mobile-agent-modal-subtitle {
  margin: 0.4rem 0 0.95rem;
  color: #65594c;
  font-size: 0.87rem;
  line-height: 1.45;
}

.mobile-agent-actions {
  display: grid;
  gap: 0.62rem;
}

.mobile-agent-action {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  padding: 0.78rem 0.85rem;
  border-radius: 13px;
  border: 1px solid #e9dfd1;
  background: #ffffff;
  text-decoration: none;
  color: #2e271f;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mobile-agent-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(22, 18, 13, 0.12);
  border-color: #cfbd9f;
}

.mobile-agent-action-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-dark);
  background: linear-gradient(160deg, #fdf7ed 0%, #f0e0c6 100%);
}

.mobile-agent-action-icon i {
  font-size: 1.15rem;
}

.mobile-agent-action-copy {
  display: grid;
  min-width: 0;
}

.mobile-agent-action-copy strong {
  font-size: 0.93rem;
  line-height: 1.25;
}

.mobile-agent-action-copy small {
  margin-top: 0.1rem;
  font-size: 0.78rem;
  color: #74695d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-agent-action.line .mobile-agent-action-icon {
  color: #00a13a;
  background: linear-gradient(155deg, #effcf3 0%, #dcf1e3 100%);
}

.mobile-agent-action.phone .mobile-agent-action-icon {
  color: #7d6036;
  background: linear-gradient(155deg, #fff6e7 0%, #f2dfba 100%);
}

.mobile-agent-action.fallback .mobile-agent-action-icon {
  color: #7d6036;
  background: linear-gradient(155deg, #fef8ec 0%, #f2e4c8 100%);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
}

.lightbox.active { display: flex; }

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 26px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2.8rem;
  z-index: 2001;
  cursor: pointer;
}

.lightboxSwiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.lightboxSwiper .swiper-wrapper {
  align-items: center;
}

.lightboxSwiper .swiper-slide {
  display: grid;
  place-items: center;
  width: 100% !important;
  padding-left: clamp(10px, 3.5vw, 26px);
  padding-right: clamp(10px, 3.5vw, 26px);
  box-sizing: border-box;
  overflow: hidden;
}

.lightbox-media {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  display: block;
  line-height: 0;
  margin: 0;
}

.lightbox-image {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: min(92vw, 1200px);
  max-height: calc(100dvh - 88px);
  object-fit: contain;
  margin: 0 auto;
  margin-inline: auto;
}

.lightbox-swiper-next,
.lightbox-swiper-prev {
  color: #fff;
}

@supports not (height: 100dvh) {
  .lightbox-image {
    max-height: calc(100vh - 88px);
  }
}

@media (max-width: 768px) {
  .lightboxSwiper .swiper-slide {
    padding-left: max(8px, env(safe-area-inset-left));
    padding-right: max(8px, env(safe-area-inset-right));
  }

  .lightbox-image {
    max-width: 94vw;
    max-height: calc(100dvh - 72px);
  }
}

.formatted-description {
  white-space: pre-wrap;
  word-break: break-word;
}

.formatted-description p { margin: 0 0 1rem; }

.formatted-description ul,
.formatted-description ol {
  margin: 0 0 1rem 1.25rem;
  padding-left: 1rem;
  list-style-position: outside !important;
}

.formatted-description ul {
  list-style-type: disc !important;
}

.formatted-description ol {
  list-style-type: decimal !important;
}

.formatted-description li { margin: 0 0 0.4rem; display: list-item !important; }

.formatted-description ul li::marker,
.formatted-description ol li::marker {
  color: currentColor;
  opacity: 1;
}

.formatted-description li > p {
  margin: 0 0 0.4rem;
}

@media (max-width: 1199px) {
  .gallery-shell {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
  }

  .gallery-main,
  .gallery-side {
    grid-row: auto;
  }

  .gallery-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 1fr;
  }

  .intro-shell {
    grid-template-columns: 1fr;
  }

  .intro-side {
    justify-items: start;
  }

  .quick-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 991px) {
  .property-page-wrapper {
    padding-top: 0.6rem;
    padding-bottom: 10.2rem;
  }

  .gallery-shell {
    border-radius: 16px;
    padding: 10px;
  }

  .heroSwiper {
    min-height: 260px;
    border-radius: 12px;
  }

  .gallery-side { display: none; }

  .sidebar-column {
    display: none;
  }

  .sticky-wrapper { position: static; }

  .mobile-agent-contact {
    display: block;
    position: fixed;
    left: max(0.72rem, env(safe-area-inset-left));
    right: max(0.72rem, env(safe-area-inset-right));
    bottom: calc(4.95rem + env(safe-area-inset-bottom));
    z-index: 1490;
    pointer-events: none;
  }

  .mobile-agent-contact-trigger {
    pointer-events: auto;
  }

  body.mobile-agent-modal-open {
    overflow: hidden;
  }

  .details-panel,
  .location-panel,
  .booking-card,
  .intro-shell {
    border-radius: 14px;
  }
}

@media (max-width: 768px) {
  .hero-swiper-pagination .swiper-pagination-bullet {
    border: 20px solid transparent;
    margin: 0 -16px;
    background-clip: content-box;
    box-sizing: content-box;
  }

  .hero-swiper-pagination {
    overflow: visible;
  }

  .hero-swiper-next,
  .hero-swiper-prev {
    width: 34px;
    height: 34px;
  }

  .meta-row {
    margin-bottom: 0.6rem;
  }

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

  .quick-btn {
    font-size: 0.8rem;
  }

  .map-contact-chip {
    width: fit-content;
    max-width: calc(100% - 1rem);
    gap: 0.6rem;
    padding: 0.68rem 0.72rem;
    border-radius: 14px;
  }

  .map-contact-chip-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .map-contact-chip-copy strong {
    font-size: 0.86rem;
  }

  .map-contact-chip-copy small {
    font-size: 0.71rem;
  }

  .mobile-agent-contact {
    left: max(0.6rem, env(safe-area-inset-left));
    right: max(0.6rem, env(safe-area-inset-right));
  }

  .mobile-agent-contact-trigger {
    border-radius: 14px;
    font-size: 0.92rem;
    padding: 0.84rem 0.95rem;
  }

  .mobile-agent-modal-sheet {
    left: max(0.56rem, env(safe-area-inset-left));
    right: max(0.56rem, env(safe-area-inset-right));
    border-radius: 17px;
    padding: 1.02rem 0.9rem 0.9rem;
  }

  .mobile-agent-modal-title {
    font-size: 1.12rem;
  }

  .mobile-agent-modal-subtitle {
    font-size: 0.82rem;
  }
}
