/* Property details page (Views/Home/PropDetails.cshtml). Scoped to body.pd (prefix pd-). Presentation only. */
body.pd { --pd-y: #ffb400; --pd-ink: #151515; --pd-muted: #6c675a; --pd-line: #ece6d3; --pd-cream: #faf8f2; margin: 0; background: #fff; color: var(--pd-ink); font-family: "Montserrat", "Inter", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body.pd .pd-wrap { max-width: 1500px; margin: 0 auto; padding: 0 28px; }
body.pd .pd *, body.pd .pd-wrap *, body.pd .pd *::before, body.pd .pd *::after { box-sizing: border-box; }
body.pd .pd a { text-decoration: none; color: inherit; }
body.pd .pd h1, body.pd .pd h2, body.pd .pd h3, body.pd .pd h4, body.pd .pd p, body.pd .pd ul { margin: 0; padding: 0; }
body.pd .pd ul { list-style: none; }
body.pd .pd { padding-bottom: 8px; }

/* breadcrumb */
.pd-crumb { font-size: .72rem; color: var(--pd-muted); padding: 14px 0 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pd-crumb a:hover { color: #b87d00; } .pd-crumb i { font-size: .6rem; opacity: .6; }

/* gallery */
.pd-gal { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 10px; height: 420px; }
.pd-gal .g { position: relative; overflow: hidden; border-radius: 12px; background: #1b1b1b; cursor: pointer; margin: 0; padding: 0; border: 0; }
.pd-gal .g:first-child { grid-row: 1 / span 2; }
.pd-gal .g img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; } .pd-gal .g:hover img { transform: scale(1.04); }
.pd-gal .more { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }
.pd-tag { position: absolute; left: 14px; top: 14px; z-index: 2; background: #e5251b; color: #fff; font-weight: 800; font-size: .86rem; padding: 7px 14px; border-radius: 6px; box-shadow: 0 6px 16px rgba(229, 37, 27, .35); }
.pd-tag.none { background: #333; box-shadow: none; }

/* title row */
.pd-top { display: flex; flex-wrap: wrap; gap: 18px 30px; justify-content: space-between; align-items: flex-start; padding: 20px 0 14px; }
.pd-top h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.15; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pd-top h1 .ok { color: var(--pd-y); font-size: 1.1rem; }
.pd-sub { color: var(--pd-muted); font-size: .86rem; margin-top: 6px; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px; font-size: .82rem; font-weight: 600; }
.pd-meta i { color: #b87d00; margin-right: 6px; }
.pd-rate { display: inline-flex; align-items: center; gap: 8px; background: #0a0a0a; color: #fff; border-radius: 10px; padding: 8px 14px; font-weight: 800; font-size: 1rem; }
.pd-rate i { color: var(--pd-y); } .pd-rate small { font-weight: 500; color: #cfcab8; font-size: .72rem; }
.pd-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pd-act { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 8px; border: 1px solid #e3dcc4; background: #fff; font: 700 .8rem inherit; font-family: inherit; cursor: pointer; color: var(--pd-ink) !important; }
.pd-act:hover { border-color: var(--pd-y); background: #fffaf0; } .pd-act.pri { background: var(--pd-y); border-color: var(--pd-y); } .pd-act.pri:hover { background: #ffc83d; }
.pd-act.is-saved i { color: #e5251b; }

/* section nav */
.pd-nav { position: sticky; top: 80px; z-index: 30; background: #fff; border-bottom: 1px solid var(--pd-line); margin-top: 6px; }
.pd-nav .pd-wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.pd-nav a { padding: 15px 16px; font-size: .84rem; font-weight: 700; color: #4a4638; white-space: nowrap; border-bottom: 3px solid transparent; }
.pd-nav a:hover { color: #b87d00; } .pd-nav a.on { border-color: var(--pd-y); color: #111; }

/* body */
.pd-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; padding: 22px 0 10px; }
.pd-sec { margin-bottom: 26px; scroll-margin-top: 126px; }
.pd-sec > h2, .pd-h { font-size: 1.15rem; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pd-h a { font-size: .74rem; color: #1d6fe0; font-weight: 700; }
.pd-card { border: 1px solid var(--pd-line); border-radius: 14px; padding: 18px 20px; background: #fff; }
.pd-about { font-size: .88rem; line-height: 1.75; color: #3b3a35; white-space: pre-line; }

.pd-hl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pd-hl div { border: 1px solid var(--pd-line); border-radius: 12px; padding: 14px; background: var(--pd-cream); }
.pd-hl i { color: #b87d00; font-size: 1.15rem; margin-bottom: 6px; display: block; } .pd-hl b { display: block; font-size: .72rem; color: var(--pd-muted); font-weight: 600; } .pd-hl span { font-size: .86rem; font-weight: 800; }

.pd-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pd-offer { position: relative; background: #0a0a0a; color: #fff; border-radius: 14px; padding: 16px 18px; overflow: hidden; border: 1px solid #2a2a2a; cursor: default; }
.pd-offer::after { content: ""; position: absolute; right: -30px; top: -30px; width: 100px; height: 100px; border-radius: 50%; background: rgba(255, 180, 0, .2); }
.pd-offer small { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pd-y); font-weight: 800; }
.pd-offer b { display: block; font-size: 1.35rem; font-weight: 800; margin: 6px 0 4px; } .pd-offer span { font-size: .7rem; color: #cfcab8; }
.pd-offer.bank { cursor: pointer; background: #fff8e6; color: #111; border-color: #f1d98a; } .pd-offer.bank small { color: #8a5d00; } .pd-offer.bank span { color: #6c675a; } .pd-offer.bank::after { background: rgba(255, 180, 0, .3); }

.pd-svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pd-svc div { border: 1px solid var(--pd-line); border-radius: 12px; padding: 14px 10px; text-align: center; font-size: .78rem; font-weight: 700; background: #fff; }
.pd-svc img { width: 34px; height: 34px; object-fit: contain; display: block; margin: 0 auto 8px; } .pd-svc i { display: block; font-size: 1.4rem; color: #b87d00; margin-bottom: 8px; }

.pd-ph { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pd-ph button { padding: 0; border: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: #1b1b1b; cursor: pointer; }
.pd-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; } .pd-ph button:hover img { transform: scale(1.05); }
.pd-sub2 { font-size: .8rem; font-weight: 800; margin: 14px 0 8px; color: #3b3a35; }

.pd-hours li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed #e8e1c9; font-size: .84rem; } .pd-hours li:last-child { border: 0; }
.pd-hours li.off { color: #c0271c; font-weight: 700; } .pd-hours b { font-weight: 700; }

.pd-rv-top { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pd-rv-sc { display: flex; align-items: center; gap: 12px; } .pd-rv-sc b { font-size: 2.2rem; font-weight: 800; line-height: 1; } .pd-rv-sc .st { color: var(--pd-y); font-size: .9rem; } .pd-rv-sc small { display: block; font-size: .72rem; color: var(--pd-muted); }
.pd-rv { border: 1px solid var(--pd-line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.pd-rv .h { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; } .pd-rv .av { width: 38px; height: 38px; border-radius: 50%; background: #0a0a0a; color: var(--pd-y); display: grid; place-items: center; font-weight: 800; }
.pd-rv .h b { font-size: .86rem; display: block; } .pd-rv .h small { color: var(--pd-muted); font-size: .68rem; } .pd-rv .h .st { margin-left: auto; color: var(--pd-y); font-size: .78rem; white-space: nowrap; }
.pd-rv p { font-size: .82rem; color: #4a4638; line-height: 1.6; }
.pd-empty { color: var(--pd-muted); font-size: .84rem; padding: 6px 0; }

.pd-map { border-radius: 14px; overflow: hidden; border: 1px solid var(--pd-line); } .pd-map iframe { display: block; width: 100%; height: 300px; border: 0; }
.pd-addr { font-size: .84rem; margin-top: 10px; color: #3b3a35; } .pd-addr i { color: #b87d00; margin-right: 8px; }

.pd-side { position: sticky; top: 126px; display: grid; gap: 16px; }
.pd-side .pd-card h3 { font-size: .98rem; font-weight: 800; margin-bottom: 10px; }
.pd-side .big { font-size: 1.8rem; font-weight: 800; } .pd-side .big small { font-size: .8rem; color: var(--pd-muted); font-weight: 600; }
.pd-side .btn2 { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 8px; font-weight: 800; font-size: .82rem; margin-top: 10px; border: 1px solid #e3dcc4; background: #fff; cursor: pointer; width: 100%; font-family: inherit; color: var(--pd-ink) !important; }
.pd-side .btn2.pri { background: var(--pd-y); border-color: var(--pd-y); }
.pd-side ul li { display: flex; gap: 10px; font-size: .8rem; padding: 7px 0; } .pd-side ul i { color: #b87d00; width: 16px; margin-top: 2px; }

.pd-sim { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pd-sim a { display: block; border: 1px solid var(--pd-line); border-radius: 12px; overflow: hidden; background: #fff; }
.pd-sim a:hover { box-shadow: 0 12px 24px rgba(0, 0, 0, .12); transform: translateY(-2px); transition: .15s; }
.pd-sim .im { position: relative; aspect-ratio: 4/3; background: #1b1b1b; } .pd-sim img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-sim .im em { position: absolute; right: 0; top: 8px; background: #e5251b; color: #fff; font-style: normal; font-size: .64rem; font-weight: 800; padding: 3px 8px; border-radius: 4px 0 0 4px; }
.pd-sim .t { padding: 9px 11px; } .pd-sim h4 { font-size: .8rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pd-sim .m { display: flex; justify-content: space-between; font-size: .7rem; font-weight: 700; margin-top: 4px; color: #4a4638; } .pd-sim .m i { color: var(--pd-y); }

.pd-zc { background: #0a0a0a; color: #fff; margin-top: 24px; }
.pd-zc .pd-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding-top: 22px; padding-bottom: 22px; }
.pd-zc i.coin { width: 52px; height: 52px; border-radius: 50%; background: var(--pd-y); color: #111; display: grid; place-items: center; font-size: 1.5rem; }
.pd-zc h3 { font-size: 1.2rem; font-weight: 800; text-transform: uppercase; margin: 0; } .pd-zc h3 span { color: var(--pd-y); } .pd-zc p { font-size: .78rem; color: #cfcab8; margin: 4px 0 0; }
.pd-zc a { margin-left: auto; background: var(--pd-y); color: #111 !important; font-weight: 800; padding: 12px 24px; border-radius: 6px; font-size: .8rem; text-transform: uppercase; }

@media (max-width: 1100px) { .pd-body { grid-template-columns: 1fr; } .pd-side { position: static; } .pd-sim { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
  body.pd .pd-wrap { padding: 0 14px; }
  .pd-gal { grid-template-columns: 1fr 1fr; grid-template-rows: 230px 110px; height: auto; } .pd-gal .g:first-child { grid-column: 1 / span 2; grid-row: 1; } .pd-gal .g:nth-child(n+4) { display: none; }
  .pd-hl, .pd-svc, .pd-ph { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pd-offers { grid-template-columns: 1fr; } .pd-sim { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-zc a { margin-left: 0; }
}

/* ---- breadcrumb: a bar that stays under the header while the page scrolls ---- */
.pd-crumbbar { position: sticky; top: 80px; z-index: 40; background: #fff; border-bottom: 1px solid var(--pd-line); box-shadow: 0 6px 16px rgba(0, 0, 0, .04); }
.pd-crumbbar .pd-crumb { padding: 0; height: 46px; flex-wrap: nowrap; gap: 10px; font-size: .8rem; font-weight: 600; color: #6c675a; overflow: hidden; }
.pd-crumbbar .pd-crumb a { color: #4a4638; white-space: nowrap; padding: 5px 10px; border-radius: 999px; background: #faf8f2; border: 1px solid #ece6d2; }
.pd-crumbbar .pd-crumb a:hover { background: #fff3cf; border-color: #ffb400; color: #7a5000; }
.pd-crumbbar .pd-crumb i { color: #ffb400; font-size: .8rem; opacity: 1; }
.pd-crumbbar .pd-crumb span { color: #111; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pd-nav { top: 126px; }
@media (max-width: 575.98px) { .pd-crumbbar .pd-crumb { font-size: .74rem; } .pd-crumbbar .pd-crumb a { padding: 4px 8px; } }
.pd-crumbbar .pd-crumb i { display: inline-flex; align-items: center; line-height: 1; margin: 0 -2px; }
main.pd { padding-top: 14px; }
