.property-page {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 20%),
    #082b3d;
  padding: 34px 0 90px;
}

.property-shell {
  width: min(1520px, calc(100% - 140px));
  margin: 0 auto;
}

.property-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.property-hero-copy {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 34px;
  color: #ffffff;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.16);
}

.property-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.property-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eadf9d;
  color: #111418;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.property-badge-soft {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.property-title {
  margin: 0 0 14px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.98;
  font-weight: 800;
  color: #ffffff;
}

.property-subtitle {
  margin: 0 0 22px;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
}

.property-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.property-fact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 14px 16px;
}

.property-fact-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.property-fact-value {
  display: block;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  color: #ffffff;
}

.property-summary {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.property-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.property-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.property-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.property-btn-primary {
  background: #eadf9d;
  color: #111418;
}

.property-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.property-hero-media {
  display: grid;
  grid-template-rows: minmax(460px, 1fr) auto;
  gap: 14px;
}

.property-main-image,
.property-thumb {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.property-main-image img,
.property-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.property-main-image-empty {
  min-height: 460px;
}

.property-thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.property-thumb {
  min-height: 120px;
}

.property-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.property-section-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.property-panel {
  border-radius: 28px;
  padding: 28px;
}

.property-panel-light {
  background: #eadf9d;
  color: #111418;
}

.property-panel-dark {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.property-panel-full {
  margin-bottom: 24px;
}

.property-section-title {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
}

.property-section-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.property-section-text-small {
  margin-top: 18px;
}

.property-mini-block + .property-mini-block {
  margin-top: 18px;
}

.property-mini-block h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
}

.property-mini-block p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.property-details-list {
  display: grid;
  gap: 12px;
}

.property-detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.property-detail-row:last-child {
  border-bottom: 0;
}

.property-detail-row span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.76);
}

.property-detail-row strong {
  font-size: 15px;
  font-weight: 700;
  text-align: right;
  color: #ffffff;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.payment-card {
  background: rgba(17, 20, 24, 0.06);
  border-radius: 18px;
  padding: 16px;
}

.payment-card-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  color: #5d646a;
}

.payment-card-value {
  display: block;
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
  color: #111418;
}

.property-list {
  margin: 0;
  padding-left: 18px;
}

.property-list li {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.7;
}

.property-list li:last-child {
  margin-bottom: 0;
}

.property-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 28px;
  color: #ffffff;
}

.property-cta-copy h2 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 800;
}

.property-cta-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1400px) {
  .property-shell {
    width: min(1400px, calc(100% - 120px));
  }
}

@media (max-width: 1200px) {
  .property-hero {
    grid-template-columns: 1fr;
  }

  .property-section-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .property-shell {
    width: calc(100% - 40px);
  }

  .property-page {
    padding: 24px 0 72px;
  }

  .property-section-grid {
    grid-template-columns: 1fr;
  }

  .property-cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .property-shell {
    width: calc(100% - 24px);
  }

  .property-page {
    padding: 18px 0 56px;
  }

  .property-hero-copy {
    padding: 22px;
    border-radius: 24px;
  }

  .property-title {
    font-size: 40px;
  }

  .property-subtitle,
  .property-summary,
  .property-section-text,
  .property-cta-copy p {
    font-size: 15px;
  }

  .property-facts,
  .payment-grid,
  .property-section-grid-3 {
    grid-template-columns: 1fr;
  }

  .property-hero-media {
    grid-template-rows: minmax(280px, 1fr) auto;
  }

  .property-main-image,
  .property-thumb,
  .property-panel,
  .property-cta-strip {
    border-radius: 22px;
  }

  .property-thumb-grid {
    grid-template-columns: 1fr 1fr;
  }

  .property-panel {
    padding: 20px;
  }

  .property-section-title {
    font-size: 24px;
  }

  .property-cta-copy h2 {
    font-size: 26px;
  }

  .property-btn {
    width: 100%;
  }
}

.property-hero-single {
  margin-bottom: 24px;
}

.property-hero-single .property-hero-copy {
  width: 100%;
}

.property-gallery-section {
  margin-bottom: 28px;
}

.property-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.property-gallery-main {
  width: 100%;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.property-gallery-main img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
}

.property-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.property-gallery-thumb {
  min-height: 160px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.property-gallery-thumb img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  display: block;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .property-gallery-main {
    min-height: 420px;
  }

  .property-gallery-main img {
    min-height: 420px;
  }

  .property-gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-gallery-thumb {
    min-height: 180px;
  }

  .property-gallery-thumb img {
    min-height: 180px;
  }
}

@media (max-width: 767px) {
  .property-gallery-section {
    margin-bottom: 22px;
  }

  .property-gallery-main {
    min-height: 260px;
    border-radius: 22px;
  }

  .property-gallery-main img {
    min-height: 260px;
  }

  .property-gallery-thumbs {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .property-gallery-thumb {
    min-height: 110px;
    border-radius: 18px;
  }

  .property-gallery-thumb img {
    min-height: 110px;
  }
}.property-gallery-section {
  margin: 24px 0 28px;
}

.property-gallery-main {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  aspect-ratio: 16 / 9;
}

.property-gallery-main img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.property-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.property-gallery-thumb {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  aspect-ratio: 1.2 / 1;
}

.property-gallery-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .property-gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .property-gallery-section {
    margin: 18px 0 22px;
  }

  .property-gallery-main {
    border-radius: 22px;
    aspect-ratio: 4 / 3;
  }

  .property-gallery-thumbs {
    gap: 10px;
    margin-top: 10px;
  }

  .property-gallery-thumb {
    border-radius: 16px;
    aspect-ratio: 1 / 1;
  }
}


.property-gallery-section {
  margin: 24px 0 28px;
}

.property-gallery-main {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  aspect-ratio: 16 / 9;
}

.property-gallery-main img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.property-gallery-strip {
  position: relative;
  margin-top: 14px;
  padding: 0 54px;
}

.property-gallery-thumbs {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.property-gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.property-gallery-thumb {
  flex: 0 0 180px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.property-gallery-thumb.is-active {
  border-color: #eadf9d;
}

.property-gallery-thumb img {
  width: 100%;
  height: 140px;
  display: block;
  object-fit: cover;
}

.property-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #eadf9d;
  color: #111418;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  z-index: 2;
}

.property-gallery-arrow-left {
  left: 0;
}

.property-gallery-arrow-right {
  right: 0;
}

@media (max-width: 767px) {
  .property-gallery-section {
    margin: 18px 0 22px;
  }

  .property-gallery-main {
    border-radius: 22px;
    aspect-ratio: 4 / 3;
  }

  .property-gallery-strip {
    margin-top: 10px;
    padding: 0 40px;
  }

  .property-gallery-thumbs {
    gap: 10px;
  }

  .property-gallery-thumb {
    flex: 0 0 120px;
    border-radius: 16px;
  }

  .property-gallery-thumb img {
    height: 90px;
  }

  .property-gallery-arrow {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
}


@media (max-width: 767px) {
  .property-page {
    overflow-x: hidden;
  }

  .property-shell,
  .property-hero,
  .property-hero-copy,
  .property-gallery-section,
  .property-actions,
  .property-facts,
  .property-fact-card,
  .property-gallery-main,
  .property-gallery-strip,
  .property-gallery-thumbs,
  .property-gallery-thumb {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .property-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .property-hero-copy {
    padding: 22px;
    border-radius: 24px;
    overflow: hidden;
  }

  .property-facts {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .property-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .property-btn,
  .property-btn-primary,
  .property-btn-secondary {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    padding: 14px 18px;
    text-align: center;
    white-space: normal;
  }

  .property-gallery-section {
    margin: 18px 0 22px;
  }

  .property-gallery-main {
    border-radius: 22px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }

  .property-gallery-main img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .property-gallery-strip {
    margin-top: 10px;
    padding: 0;
    overflow: hidden;
  }

  .property-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .property-gallery-thumbs::-webkit-scrollbar {
    display: none;
  }

  .property-gallery-thumb {
    flex: 0 0 96px;
    width: 96px;
    border-radius: 16px;
    overflow: hidden;
  }

  .property-gallery-thumb img {
    width: 100%;
    height: 72px;
    display: block;
    object-fit: cover;
  }

  .property-gallery-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .property-btn,
  .property-btn-primary,
  .property-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 14px 18px;
    text-align: center;
    white-space: normal;
  }

  .property-main-grid,
  .property-main-grid > *,
  .property-sidebar,
  .property-sidebar > *,
  .property-card,
  .property-card > * {
    min-width: 0;
    box-sizing: border-box;
  }
}