/* Individual property pages (rendered by the worker). */
.pp { padding-bottom: 0; }
.pp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); padding: 26px 0 16px; }
.pp-crumbs a { color: var(--bronze); }
.pp-crumbs span[aria-current] { color: var(--ink); }

.pp-gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(300px, 46vw, 560px); border-radius: var(--radius); overflow: hidden; }
.pp-gallery.few { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.pp-gallery.few .pp-shot:not(.main) { display: none; }
.pp-shot { border: 0; padding: 0; margin: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; display: block; width: 100%; height: 100%; }
.pp-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.pp-shot:hover img { transform: scale(1.03); }
.pp-shot.main { grid-row: 1 / span 2; }
.pp-all { position: absolute; right: 16px; bottom: 16px; background: #fff; color: var(--ink); border: 0; border-radius: 4px; padding: 10px 16px; font-size: 14px; font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.18); cursor: pointer; }
.pp-all i { margin-right: 6px; color: var(--bronze); }

.pp-lightbox { width: min(1200px, 96vw); height: 94vh; max-height: 94vh; border: 0; border-radius: 8px; padding: 0; background: #111; overflow: hidden; }
.pp-lightbox::backdrop { background: rgba(0,0,0,.82); }
.pp-lb-list { display: flex; flex-direction: column; gap: 10px; padding: 64px 10px 10px; height: 100%; overflow-y: auto; }
.pp-lb-list img { width: 100%; height: auto; display: block; background: #222; }
.pp-close { position: absolute; top: 10px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; font-size: 26px; line-height: 1; cursor: pointer; }

.pp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; padding: 34px 0 56px; align-items: start; }
.pp-pill { position: static; display: inline-block; margin-bottom: 14px; }
.pp-pill.light { border: 1px solid var(--line); }
.pp h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; color: #2a2a2a; line-height: 1.15; margin: 0 0 12px; }
.pp h1 span { display: block; font-size: clamp(16px, 1.6vw, 20px); font-weight: 500; color: var(--muted); margin-top: 6px; }
.pp-price { font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: var(--bronze); margin: 0 0 6px; }
.pp-price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.pp-main > .ar-feats { font-size: 16px; padding-top: 6px; }
.pp-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }

.pp-block { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 30px; }
.pp-block h2 { font-size: clamp(20px, 2vw, 24px); font-weight: 700; color: #2a2a2a; margin: 0 0 16px; line-height: 1.3; }
.pp-desc p, .pp-desc li { font-size: 16px; line-height: 1.75; color: #444; }
.pp-desc ul { padding-left: 20px; }
.pp-small { font-size: 14px; color: var(--muted); margin-top: 14px; }
.pp-small a { color: var(--bronze); font-weight: 600; }
.pp-link { background: none; border: 0; padding: 0; color: var(--bronze); font-weight: 600; text-decoration: underline; cursor: pointer; font-size: inherit; }

.pp-inspections { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pp-inspections li { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; font-weight: 500; }
.pp-inspections i { color: var(--bronze); margin-right: 10px; }

.pp-details { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 28px; margin: 0; }
.pp-details div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pp-details dt { font-weight: 500; color: var(--muted); }
.pp-details dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.pp-plan { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); }

.pp-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.pp-faq summary { font-weight: 600; cursor: pointer; color: #2a2a2a; list-style: none; position: relative; padding-right: 28px; }
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 22px; color: var(--bronze); }
.pp-faq details[open] summary::after { content: "\2212"; }
.pp-faq details p { margin: 10px 0 0; color: #4a4a4a; line-height: 1.7; }

.pp-aside { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 12px 34px rgba(71,58,34,.10); overflow: hidden; scroll-margin-top: 90px; }
.pp-agent { display: flex; gap: 14px; align-items: center; padding: 18px 20px; background: var(--sand); border-bottom: 1px solid var(--line); }
.pp-agent img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; }
.pp-agent strong { display: block; font-size: 17px; color: #2a2a2a; }
.pp-agent span { display: block; font-size: 13px; color: var(--muted); }
.pp-agent a { font-weight: 600; color: var(--bronze); font-size: 15px; }
.pp-form { padding: 20px; }
.pp-form h2 { font-size: 18px; font-weight: 700; margin: 0 0 14px; color: #2a2a2a; }
.pp-type { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 14px; }
.pp-type label { flex: 1 1 auto; text-align: center; font-size: 13px; font-weight: 600; border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; cursor: pointer; margin: 0; color: var(--ink); }
.pp-type input { position: absolute; opacity: 0; pointer-events: none; }
.pp-type label:has(input:checked) { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.pp-type label:has(input:focus-visible) { outline: 2px solid var(--bronze); outline-offset: 2px; }
.pp-field { display: block; margin: 0 0 12px; }
.pp-field span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.pp-field input, .pp-field textarea { width: 100%; font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid #d8d0c1; border-radius: 4px; color: var(--ink); background: #fff; }
.pp-field input:focus, .pp-field textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(71,58,34,.15); }
.pp-field input[aria-invalid="true"] { border-color: #b3261e; }
.pp-submit { width: 100%; }
.pp-status { margin: 12px 0 0; padding: 10px 12px; border-radius: 4px; font-size: 14px; }
.pp-status.ok { background: #eef6ee; color: #1f5f2a; }
.pp-status.err { background: #fbeceb; color: #8c1d18; }
.pp-status a { color: inherit; font-weight: 700; text-decoration: underline; }
.pp-form .pp-small { font-size: 12px; margin-top: 10px; }
.pp-flash { animation: ppFlash 1.2s ease; }
@keyframes ppFlash { 0%, 100% { box-shadow: 0 12px 34px rgba(71,58,34,.10); } 30% { box-shadow: 0 0 0 4px rgba(71,58,34,.45); } }

.pp-worth .ar-btn { white-space: normal; }
.pp-mobilebar { display: none; }

@media (max-width: 991px) {
  .pp-layout { grid-template-columns: 1fr; gap: 28px; }
  .pp-aside { position: static; }
  .pp-gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; height: clamp(240px, 62vw, 460px); }
  .pp-shot:not(.main) { display: none; }
  .pp-mobilebar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.08); }
  .pp-mobilebar .ar-btn { flex: 1; text-align: center; padding: 12px 10px; }
  .pp ~ .footer, body:has(.pp-mobilebar) .footer { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) { .pp-shot img { transition: none; } .pp-flash { animation: none; } }
