/* =====================================================================
   PropFile property portal — public, tenant-facing browse experience.
   Reuses styles.css tokens + .btn/.chip and landing.css .lp-nav/.lp-brand.
   Portal-specific classes are namespaced `pt-`.
   ===================================================================== */

.pt-hero { padding: 48px 0 8px; text-align: center; }
.pt-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--primary);
  background: var(--info-bg); padding: 6px 13px; border-radius: var(--radius-pill);
}
.pt-eyebrow [data-lucide] { width: 15px; height: 15px; }
.pt-hero h1 { font-size: 40px; line-height: 1.08; font-weight: 600; letter-spacing: -0.02em; margin-top: 18px; }
.pt-hero p { font-size: 18px; color: var(--muted); margin: 16px auto 0; max-width: 620px; line-height: 1.6; }

.pt-search {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  max-width: 860px; margin: 26px auto 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 12px; box-shadow: var(--shadow-pop);
}
.pt-search .input, .pt-search select {
  height: 44px; border-radius: var(--radius-control); border: 1px solid var(--border);
  background: var(--surface); font: inherit; font-size: 15px; color: var(--text); padding: 0 12px;
}
.pt-search__loc { flex: 1 1 220px; min-width: 0; }
.pt-search select { flex: 0 1 150px; }
.pt-search .btn { height: 44px; flex: 0 0 auto; }

.pt-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; padding: 22px 0 0; }
.pt-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.pt-trust [data-lucide] { width: 16px; height: 16px; color: var(--primary); }

.pt-results { padding: 36px 0 10px; }
.pt-results__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.pt-results__head h2 { font-size: 22px; font-weight: 600; }

.pt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }

.pt-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; cursor: pointer; text-align: left; padding: 0; color: var(--text); }
.pt-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-pop); }
.pt-photo { position: relative; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; color: rgba(15, 27, 45, 0.22); }
.pt-photo [data-lucide] { width: 56px; height: 56px; }
.pt-photo__count { position: absolute; bottom: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: #fff; background: rgba(15, 27, 45, 0.55); padding: 4px 9px; border-radius: var(--radius-pill); }
.pt-photo__count [data-lucide] { width: 13px; height: 13px; color: #fff; }
.pt-verified { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--success-text); background: var(--success-bg); padding: 4px 10px; border-radius: var(--radius-pill); }
.pt-verified [data-lucide] { width: 13px; height: 13px; }

.pt-card__body { padding: 14px 16px 16px; }
.pt-price { font-size: 20px; font-weight: 600; }
.pt-price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.pt-card__addr { font-size: 14px; color: var(--text); margin-top: 2px; }
.pt-card__area { font-size: 13px; color: var(--muted); }
.pt-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.pt-facts span { display: inline-flex; align-items: center; gap: 5px; }
.pt-facts [data-lucide] { width: 15px; height: 15px; }
.pt-card__foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.pt-rating { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; }
.pt-rating [data-lucide] { width: 15px; height: 15px; color: var(--warning); }

/* Detail overlay */
.pt-overlay { position: fixed; inset: 0; background: rgba(15, 27, 45, 0.5); z-index: 60; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 32px 16px; }
.pt-overlay[hidden] { display: none; }
.pt-modal { width: 100%; max-width: 720px; background: var(--surface); border-radius: var(--radius-xl); overflow: hidden; }
.pt-modal__photo { position: relative; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; color: rgba(15, 27, 45, 0.22); }
.pt-modal__photo [data-lucide] { width: 72px; height: 72px; }
.pt-modal__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.9); color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pt-thumbs { display: flex; gap: 6px; padding: 10px 20px 0; }
.pt-thumb { flex: 1; aspect-ratio: 4 / 3; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(15, 27, 45, 0.2); }
.pt-thumb [data-lucide] { width: 20px; height: 20px; }
.pt-body { padding: 18px 22px 24px; }
.pt-body__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pt-keyfacts { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 14px 0; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pt-keyfacts span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.pt-keyfacts [data-lucide] { width: 17px; height: 17px; color: var(--muted); }
.pt-section-h { font-size: 15px; font-weight: 600; margin: 16px 0 8px; }
.pt-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.pt-features li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.pt-features [data-lucide] { width: 15px; height: 15px; color: var(--success); }
.pt-panel { border: 1px solid var(--border); border-radius: var(--radius-card); padding: 16px; margin-top: 14px; }
.pt-panel--file { background: var(--info-bg); border-color: transparent; }
.pt-landlord { display: flex; align-items: center; gap: 12px; }
.pt-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pt-cta-row .btn { flex: 1 1 160px; }

.pt-footer { padding: 36px 0; border-top: 1px solid var(--border); margin-top: 24px; }
.pt-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pt-footer small { color: var(--muted); font-size: 13px; }

@media (max-width: 860px) {
  .pt-hero h1 { font-size: 30px; }
  .pt-hero p { font-size: 16px; }
  .pt-search { flex-direction: column; align-items: stretch; }
  .pt-search .input, .pt-search select, .pt-search .btn { width: 100%; flex: none; }
  .pt-results__head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .pt-features { grid-template-columns: 1fr; }
}
