.pg-property-details {
  --detail-bg: #080d24;
  --detail-surface: #111936;
  --detail-surface-2: #151d40;
  --detail-line: rgba(167, 139, 250, .25);
  --detail-purple: #8b5cf6;
  --detail-bright: #a855f7;
  --detail-text: #fff;
  --detail-muted: #b8b7d9;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 70vh;
  padding: 1.35rem 0 4rem;
  background: radial-gradient(circle at 80% 2%, rgba(124, 58, 237, .14), transparent 28rem), var(--detail-bg);
  color: var(--detail-text);
}

.pg-property-details__glow { position: absolute; z-index: -1; top: -18rem; right: -8rem; width: 38rem; height: 38rem; border: 1px solid rgba(168, 85, 247, .22); border-radius: 50%; background: radial-gradient(circle, rgba(147, 51, 234, .21), transparent 68%); filter: blur(1px); }
.pg-property-details__inner { width: min(calc(100% - 3rem), 80rem); max-width: none; padding-inline: 0; }
.pg-property-details a { color: inherit; }
.pg-property-details :where(a, button, summary):focus-visible { outline: 3px solid #c084fc; outline-offset: 3px; }

body:has(.pg-property-details) { background: #080d24; }
body:has(.pg-property-details) .public-header { position: relative; z-index: 20; border-color: rgba(139, 92, 246, .26); background: rgba(7, 12, 35, .97); }
body:has(.pg-property-details) .public-header .nav-link[aria-current] { background: linear-gradient(135deg, #7c3aed, #9333ea); box-shadow: 0 8px 24px rgba(124, 58, 237, .25); }
body:has(.pg-property-details) .site-nav-login { border-color: #7c3aed; border-radius: 999px; background: rgba(124, 58, 237, .12); }
body:has(.pg-property-details) .public-footer { border-color: rgba(139, 92, 246, .22); background: #080d24; color: #fff; }
body:has(.pg-property-details) .public-footer :where(p, .public-copyright) { color: #aaa9c9; }
body:has(.pg-property-details) .public-footer h2 { color: #fff; }
body:has(.pg-property-details) .public-footer-links a { color: #d8d5ef; }
body:has(.pg-property-details) .public-footer .public-brand { color: #fff; }
body:has(.pg-property-details) .public-copyright { border-color: rgba(139, 92, 246, .19); }
body:has(.pg-property-details) :is(.public-header, .public-footer) .site-container { width: min(calc(100% - 3rem), 80rem); max-width: none; padding-inline: 0; }

.property-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; color: #aaa9c9; font-size: .875rem; }
.property-breadcrumb a { display: inline-flex; align-items: center; gap: .35rem; color: #d7d4ec; text-decoration: none; }
.property-breadcrumb a:hover { color: #c084fc; }
.property-breadcrumb > i { font-size: .68rem; color: #625d83; }
.property-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin: 1.3rem 0 1.45rem; }
.property-back { display: none; align-items: center; gap: .4rem; margin-bottom: .8rem; color: #c4b5fd !important; font-size: .84rem; font-weight: 700; text-decoration: none; }
.property-location { margin: 0 0 .5rem; color: #c084fc; font-size: .875rem; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.property-heading h1 { margin: 0; color: #fff; font-size: clamp(2.25rem, 3.2vw, 2.65rem); line-height: 1.02; letter-spacing: -.045em; }
.property-summary { margin: .6rem 0 0; color: #d8d6e9; font-size: 1rem; }
.property-status { display: inline-flex; align-items: center; gap: .5rem; flex: 0 0 auto; min-height: 2.65rem; padding: .65rem 1rem; border: 1px solid; border-radius: 999px; font-size: .875rem; font-weight: 800; }
.property-status.is-demo { border-color: rgba(192, 132, 252, .48); background: rgba(124, 58, 237, .16); color: #e9d5ff; }
.property-status.is-approved { border-color: rgba(16, 185, 129, .48); background: rgba(16, 185, 129, .12); color: #6ee7b7; }

.property-showcase { display: grid; grid-template-columns: minmax(0, 3.35fr) minmax(18.5rem, 1fr); gap: 1rem; align-items: stretch; }
.property-gallery-wrap { min-width: 0; }
.property-gallery { display: grid; grid-template-columns: minmax(0, 3fr) minmax(12.5rem, 1fr); gap: .75rem; height: 23.75rem; }
.property-gallery:not(:has(.property-gallery__thumbs)) { grid-template-columns: 1fr; }
.property-gallery__main { position: relative; overflow: hidden; min-height: 0; border: 1px solid rgba(192, 132, 252, .48); border-radius: 1.15rem; background: #101633; box-shadow: 0 25px 65px rgba(0, 0, 0, .36), 0 0 0 1px rgba(124, 58, 237, .08); }
.property-gallery__main > img, .property-gallery__main picture, .property-gallery__main picture > img { display: block; width: 100%; height: 100%; min-height: inherit; aspect-ratio: 16 / 9; object-fit: cover; }
.property-gallery__main::after { position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(5, 8, 25, .82)); content: ""; pointer-events: none; }
.property-gallery__meta { position: absolute; z-index: 2; right: 1rem; bottom: 1rem; left: 1rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.property-gallery__meta > span, .property-gallery__meta button, .property-gallery__notice { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: rgba(8, 13, 36, .72); color: #fff; font-size: .8125rem; font-weight: 750; backdrop-filter: blur(12px); }
.property-gallery__meta > span { padding: .48rem .75rem; }
.property-gallery__meta button { min-height: 2.3rem; padding: .42rem .78rem; }
.property-gallery__meta button:hover { border-color: #c084fc; background: rgba(124, 58, 237, .78); }
.property-gallery__notice { position: absolute; z-index: 3; top: 1rem; left: 1rem; padding: .48rem .7rem; color: #e9d5ff; }
.property-gallery__arrows { position: absolute; z-index: 3; inset: 48% .75rem auto; display: flex; justify-content: space-between; pointer-events: none; }
.property-gallery__arrows button { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border: 1px solid rgba(255, 255, 255, .38); border-radius: 50%; background: rgba(8, 13, 36, .72); color: #fff; pointer-events: auto; backdrop-filter: blur(10px); }
.property-gallery__arrows button:hover { border-color: #c084fc; background: #7c3aed; }
.property-gallery__thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: .65rem; min-width: 0; overflow-y: auto; padding: .15rem; }
.property-gallery__thumbs:not(:has(button:nth-child(3))) { grid-template-columns: 1fr; }
.property-gallery__thumbs button { min-width: 0; min-height: 0; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: .85rem; background: #111936; opacity: .72; }
.property-gallery__thumbs button[aria-pressed="true"] { border-color: #a855f7; opacity: 1; box-shadow: 0 0 0 2px rgba(168, 85, 247, .18); }
.property-gallery__thumbs img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.property-gallery__dialog { width: min(94vw, 76rem); max-width: 76rem; max-height: 94vh; padding: .85rem; overflow: auto; border: 1px solid #7c3aed; border-radius: 1rem; background: #080d24; box-shadow: 0 35px 90px rgba(0, 0, 0, .68); }
.property-gallery__dialog::backdrop { background: rgba(2, 4, 16, .9); backdrop-filter: blur(7px); }
.property-gallery__dialog img { display: block; width: 100%; max-height: calc(94vh - 4.5rem); object-fit: contain; }
.property-gallery__close { display: grid; place-items: center; width: 2.45rem; height: 2.45rem; margin: 0 0 .65rem auto; border: 1px solid #7458a8; border-radius: 50%; background: #171b3d; color: #fff; }
.property-gallery-empty { display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 25rem; padding: 2rem; border: 1px dashed #5d438b; border-radius: 1.25rem; background: #101633; color: #c4b5fd; text-align: center; }
.property-gallery-empty > i { font-size: 2.5rem; }
.property-gallery-empty div { display: grid; gap: .25rem; }
.property-gallery-empty span { color: #aaa9c9; }

.property-rent { position: sticky; top: 1rem; overflow: hidden; min-width: 0; min-height: 23.75rem; padding: 1.5rem; border: 1px solid rgba(168, 85, 247, .42); border-radius: 1.15rem; background: linear-gradient(145deg, rgba(78, 31, 142, .9), rgba(17, 25, 54, .98) 58%); box-shadow: 0 24px 60px rgba(0, 0, 0, .32); }
.property-rent::before { position: absolute; top: -5rem; right: -4rem; width: 11rem; height: 11rem; border-radius: 50%; background: rgba(168, 85, 247, .18); content: ""; filter: blur(8px); }
.property-rent__title { position: relative; display: flex; align-items: center; gap: .7rem; }
.property-rent__title > span, .property-panel__heading > span, .property-related__heading > div > span { display: grid; place-items: center; flex: 0 0 auto; width: 2.45rem; height: 2.45rem; border-radius: .72rem; background: linear-gradient(135deg, #9333ea, #6d28d9); color: #fff; box-shadow: 0 9px 24px rgba(124, 58, 237, .3); }
.property-rent h2, .property-panel h2 { margin: 0; color: #fff; font-size: 1.2rem; letter-spacing: -.02em; }
.property-rent__label { margin: 1.75rem 0 .2rem; color: #d2cfe5; font-size: .875rem; }
.property-rent__price { display: flex; align-items: end; flex-wrap: wrap; gap: .35rem; margin: 0; }
.property-rent__price strong { font-size: clamp(2rem, 2.8vw, 2.35rem); line-height: 1; letter-spacing: -.045em; }
.property-rent__price span { padding-bottom: .25rem; color: #d2cfe5; }
.property-rent__context { margin: .55rem 0 0; color: #aaa9c9; font-size: .8125rem; }
.property-rent__deposit { display: flex; justify-content: space-between; gap: .7rem; margin-top: 1.45rem; padding: 1.05rem 0; border-block: 1px solid rgba(196, 181, 253, .18); color: #d7d4e9; font-size: .875rem; }
.property-rent__deposit strong { color: #fff; }
.property-rent__disclosure, .property-rent__message { margin-top: 1rem; border: 1px solid rgba(192, 132, 252, .4); border-radius: .85rem; background: rgba(8, 13, 36, .28); }
.property-rent__disclosure summary { display: flex; align-items: center; gap: .5rem; min-height: 3rem; padding: .85rem; color: #e9d5ff; font-size: .875rem; font-weight: 750; cursor: pointer; list-style: none; }
.property-rent__disclosure summary::-webkit-details-marker { display: none; }
.property-rent__disclosure summary i:last-child { margin-left: auto; transition: transform .2s ease; }
.property-rent__disclosure[open] summary i:last-child { transform: rotate(180deg); }
.property-rent__disclosure p { margin: 0; padding: 0 .85rem .9rem; color: #bbb8d2; font-size: .875rem; line-height: 1.55; }
.property-rent__message { display: flex; gap: .7rem; padding: .85rem; color: #c4b5fd; }
.property-rent__message p { display: grid; gap: .2rem; margin: 0; }
.property-rent__message span { color: #aaa9c9; font-size: .78rem; }
.property-rent__unavailable { margin: 1.5rem 0 0; color: #b8b7d9; }

.property-information { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.1rem; }
.property-panel { min-width: 0; padding: 1.4rem; border: 1px solid var(--detail-line); border-radius: 1rem; background: linear-gradient(145deg, rgba(21, 29, 64, .96), rgba(14, 21, 48, .96)); box-shadow: 0 16px 40px rgba(0, 0, 0, .2); }
.property-panel__heading { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.property-panel > p { margin: 0; color: #c8c5dc; font-size: .9375rem; line-height: 1.65; }
.property-facts { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.property-facts > span { display: inline-flex; align-items: center; gap: .4rem; padding: .46rem .7rem; border: 1px solid rgba(167, 139, 250, .18); border-radius: .6rem; background: rgba(124, 58, 237, .11); color: #ddd9ef; font-size: .8125rem; }
.property-room-list { display: grid; }
.property-room-list article { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; }
.property-room-list article + article { border-top: 1px solid rgba(167, 139, 250, .15); }
.property-room-list article > div { min-width: 0; }
.property-room-list article strong { color: #f5f3ff; }
.property-room-list article p { margin: .2rem 0 0; color: #aaa9c9; font-size: .875rem; line-height: 1.45; }
.property-room-list article > span { flex: 0 0 auto; color: #e9d5ff; font-weight: 800; }
.property-room-list small { color: #9692b2; font-weight: 500; }
.property-rules ul, .property-amenities ul { margin: 0; padding: 0; list-style: none; }
.property-rules ul { display: grid; gap: .72rem; }
.property-rules li { display: flex; gap: .6rem; color: #c8c5dc; font-size: .9rem; line-height: 1.5; }
.property-rules li i { color: #a855f7; }
.property-amenities ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: .75rem; }
.property-amenities li { display: grid; justify-items: center; gap: .55rem; min-width: 0; color: #e8e5f5; font-size: .8125rem; text-align: center; }
.property-amenities li > span { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid rgba(192, 132, 252, .22); border-radius: .82rem; background: linear-gradient(145deg, rgba(147, 51, 234, .34), rgba(76, 29, 149, .42)); color: #d8b4fe; font-size: 1.25rem; }
.property-amenities li strong { overflow-wrap: anywhere; }

.property-related { margin-top: 2.4rem; }
.property-related__heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.property-related__heading > div { display: flex; align-items: center; gap: .75rem; }
.property-related__heading h2 { margin: 0; color: #fff; font-size: 1.45rem; }
.property-related__heading p { margin: .2rem 0 0; color: #aaa9c9; font-size: .875rem; }
.property-related__heading > a { min-height: 2.75rem; padding: .65rem 1rem; border: 1px solid #7446b5; border-radius: 999px; color: #e9d5ff; font-size: .875rem; font-weight: 750; text-decoration: none; }
.property-related__heading > a:hover { background: #7c3aed; color: #fff; }
.property-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.related-card { display: grid; grid-template-columns: minmax(9.5rem, 42%) minmax(0, 1fr); overflow: hidden; min-width: 0; min-height: 13rem; border: 1px solid rgba(167, 139, 250, .23); border-radius: 1rem; background: #111936; box-shadow: 0 15px 38px rgba(0, 0, 0, .22); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.related-card:hover { border-color: rgba(168, 85, 247, .62); box-shadow: 0 22px 48px rgba(0, 0, 0, .32); transform: translateY(-3px); }
.related-card__photo { position: relative; overflow: hidden; }
.related-card__photo > img { display: block; width: 100%; height: 100%; min-height: 13rem; object-fit: cover; transition: transform .25s ease; }
.related-card:hover .related-card__photo > img { transform: scale(1.025); }
.related-card__status, .related-card__illustrative { position: absolute; display: inline-flex; align-items: center; gap: .35rem; padding: .36rem .58rem; border-radius: 999px; font-size: .75rem; font-weight: 800; backdrop-filter: blur(9px); }
.related-card__status { top: .7rem; left: .7rem; }
.related-card__status.is-demo { background: rgba(76, 29, 149, .88); color: #f3e8ff; }
.related-card__status.is-approved { background: rgba(5, 150, 105, .9); color: #fff; }
.related-card__illustrative { right: .6rem; bottom: .55rem; background: rgba(8, 13, 36, .78); color: #ddd6fe; }
.related-card__body { display: flex; min-width: 0; flex-direction: column; padding: 1rem; }
.related-card__location { margin: 0 0 .3rem; color: #c084fc; font-size: .8125rem; }
.related-card h3 { margin: 0; color: #fff; font-size: 1.125rem; }
.related-card__sharing { margin: .4rem 0 .7rem; color: #aaa9c9; font-size: .8125rem; line-height: 1.4; }
.related-card__body ul { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .8rem; padding: 0; list-style: none; }
.related-card__body li { padding: .3rem .48rem; border: 1px solid rgba(167, 139, 250, .15); border-radius: .45rem; background: rgba(124, 58, 237, .09); color: #d4d1e6; font-size: .75rem; }
.related-card__bottom { display: flex; align-items: end; justify-content: space-between; gap: .65rem; padding-top: .75rem; border-top: 1px solid rgba(167, 139, 250, .16); }
.related-card__bottom { margin-top: auto; }
.related-card__bottom p { margin: 0; color: #aaa9c9; font-size: .75rem; }
.related-card__bottom strong { display: block; color: #fff; font-size: 1.05rem; }
.related-card__bottom p span { color: #aaa9c9; }
.related-card__bottom a { flex: 0 0 auto; min-height: 2.5rem; padding: .58rem .75rem; border-radius: .6rem; background: linear-gradient(135deg, #7c3aed, #9333ea); color: #fff; font-size: .8125rem; font-weight: 800; text-decoration: none; }
.related-card__bottom a:hover { background: linear-gradient(135deg, #8b5cf6, #a855f7); }

@media (min-width: 75rem) {
  .property-information { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .property-amenities { grid-column: 1 / -1; }
}

@media (max-width: 61.99rem) {
  .property-showcase { grid-template-columns: 1fr; }
  .property-gallery { height: 23rem; }
  .property-rent { position: static; min-height: 0; }
  .property-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 47.99rem) {
  .pg-property-details { padding-top: 1rem; }
  .pg-property-details__inner, body:has(.pg-property-details) :is(.public-header, .public-footer) .site-container { width: min(calc(100% - 2rem), 80rem); }
  .property-breadcrumb { display: none; }
  .property-back { display: inline-flex; }
  .property-heading { align-items: flex-start; flex-direction: column; margin-top: .5rem; }
  .property-heading h1 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .property-gallery { display: grid; grid-template-columns: 1fr; height: auto; }
  .property-gallery__main { min-height: 18rem; }
  .property-gallery__main > img, .property-gallery__main picture, .property-gallery__main picture > img { aspect-ratio: 4 / 3; }
  .property-gallery__thumbs { display: flex; }
  .property-gallery__thumbs button { flex: 0 0 8rem; }
  .property-gallery__thumbs img { aspect-ratio: 16 / 9; }
  .property-information, .property-related__grid { grid-template-columns: 1fr; }
  .property-related__heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 31rem) {
  .property-gallery__main { min-height: 15.5rem; border-radius: 1rem; }
  .property-gallery__notice { top: .65rem; left: .65rem; max-width: calc(100% - 1.3rem); font-size: .68rem; }
  .property-gallery__meta { right: .65rem; bottom: .65rem; left: .65rem; }
  .property-gallery__meta button { width: 2.35rem; padding: 0; font-size: 0; }
  .property-gallery__meta button i { font-size: .85rem; }
  .property-gallery__arrows { inset-inline: .45rem; }
  .property-rent, .property-panel { padding: 1rem; }
  .property-rent { min-height: 0; }
  .property-room-list article { align-items: flex-start; flex-direction: column; gap: .45rem; }
  .property-amenities ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-card__bottom { align-items: stretch; flex-direction: column; }
  .related-card__bottom a { text-align: center; }
  .related-card { grid-template-columns: 1fr; }
  .related-card__photo > img { min-height: 0; aspect-ratio: 16 / 9; }
}

@media (prefers-reduced-motion: reduce) {
  .pg-property-details *, .related-card, .related-card__photo > img { scroll-behavior: auto !important; transition: none !important; }
}
