/* ═══════════════════════════════════════════════════════════════════
   SURERENT · property_details.css — the detail-page furniture layer
   Covers the sr-* classes property_details.html needs that no loaded sheet
   defines (hero gallery, header info, spec text, description cards, contact
   card head, share row, similar head). Everything already styled in
   premium.css (badges, thumbnails, action buttons, spec icons, agent badge,
   contact buttons, similar cards, policy rows, map) is left untouched.
   Tokens consumed from tokens.css; Survey Ledger voice throughout.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hero gallery band ─────────────────────────────────────────── */
.sr-property-hero {
  background:
    radial-gradient(50rem 20rem at 85% -20%, rgba(201, 168, 76, 0.14) 0%, transparent 55%),
    var(--sr-paper, #f7f4ee);
  border-bottom: 1px solid var(--sr-border, #e4dfd4);
  padding: 28px 0 34px;
}
.sr-property-gallery-main {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  background: linear-gradient(135deg, #0d1f35 0%, #1a3550 100%);
  box-shadow: 0 30px 70px -20px rgba(8, 21, 38, 0.45);
  border: 1px solid rgba(201, 168, 76, 0.35);
}
.sr-property-gallery-main img,
.sr-property-gallery-main video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sr-property-gallery-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(232, 207, 131, 0.5);
  font-size: 72px;
  background:
    linear-gradient(rgba(201, 168, 76, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.07) 1px, transparent 1px),
    linear-gradient(135deg, #060f1e 0%, #0d1f35 60%, #152c49 100%);
  background-size: 44px 44px, 44px 44px, cover;
}

/* ── Main content band ─────────────────────────────────────────── */
.sr-property-main {
  padding: 44px 0 8px;
}
.sr-property-header-info {
  margin-bottom: 26px;
}
.sr-property-price-hero {
  font-family: var(--sr-font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(2rem, 1.6rem + 2vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--sr-primary, #0d1f35);
  line-height: 1.05;
}
.sr-property-price-hero small {
  font-family: var(--sr-font-body, 'Outfit', sans-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--sr-gold-dark, #8a651a);
  margin-left: 8px;
  letter-spacing: 0;
}
.sr-property-title-hero {
  font-family: var(--sr-font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1.5rem, 1.25rem + 1.4vw, 2.1rem);
  letter-spacing: -0.01em;
  color: var(--sr-primary, #0d1f35);
  margin: 8px 0 10px;
  line-height: 1.2;
}
.sr-property-location-hero {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--sr-muted, #56657a);
  font-weight: 500;
}
.sr-property-location-hero i {
  color: var(--sr-gold, #c9a84c);
}

/* ── Spec text (icon shells already in premium.css) ────────────── */
.sr-spec-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}
.sr-spec-info strong {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--sr-primary, #0d1f35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sr-spec-info span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sr-muted, #56657a);
}

/* ── Description / rules / location cards ──────────────────────── */
.sr-property-description {
  background: #fff;
  border: 1px solid var(--sr-border, #e4dfd4);
  border-radius: 20px;
  box-shadow: var(--sr-shadow-sm, 0 1px 2px rgba(13, 31, 53, 0.06));
  padding: clamp(22px, 3vw, 32px);
  margin-bottom: 22px;
}
.sr-property-description > p:last-child {
  margin-bottom: 0;
}
.sr-property-description p {
  color: #3c4a5e;
  line-height: 1.75;
}
.sr-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 12px;
  margin-top: 6px;
}
.sr-subsection-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sr-primary, #0d1f35);
  margin: 22px 0 12px;
}
.sr-muted-note {
  color: var(--sr-muted, #56657a);
  margin: 0;
}
.sr-location-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #3c4a5e;
}
.sr-location-line i {
  color: var(--sr-gold, #c9a84c);
}

/* ── Contact card shell (sticky desk on desktop) ───────────────── */
.sr-contact-card-premium {
  background: #fff;
  border: 1px solid var(--sr-border, #e4dfd4);
  border-radius: 22px;
  box-shadow: var(--sr-shadow-lg, 0 4px 8px -2px rgba(13, 31, 53, 0.08), 0 24px 48px -12px rgba(13, 31, 53, 0.18));
  padding: clamp(20px, 2.5vw, 28px);
}
@media (min-width: 992px) {
  .sr-contact-card-premium {
    position: sticky;
    top: 110px;
  }
}
.sr-contact-card-price {
  font-family: var(--sr-font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sr-primary, #0d1f35);
  white-space: nowrap;
}
.sr-contact-card-price small {
  font-family: var(--sr-font-body, 'Outfit', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sr-gold-dark, #8a651a);
  margin-left: 4px;
}
.sr-agent-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #faf8f1;
  border: 1px dashed var(--sr-border-strong, #d6cfbf);
  border-radius: 16px;
  padding: 14px 16px;
}
.sr-agent-avatar-hero {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d1f35, #1a3550);
  color: #e8cf83;
  font-size: 1.3rem;
  font-weight: 800;
  border: 2px solid rgba(201, 168, 76, 0.55);
}
.sr-agent-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--sr-gold-dark, #8a651a);
  margin-top: 2px;
}

/* ── Full button system (base .sr-contact-btn had no display/padding) */
.sr-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 52px;
  padding: 13px 18px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, background 0.25s ease;
}
.sr-contact-btn i {
  font-size: 1.1em;
  line-height: 1;
  flex: none;
}
.sr-contact-btn:hover {
  transform: translateY(-2px);
}
.sr-contact-btn-whatsapp {
  background: linear-gradient(135deg, #2fe07a 0%, #25d366 55%, #128c7e 100%);
  color: #fff !important;
  box-shadow: 0 12px 26px -8px rgba(37, 211, 102, 0.6);
}
.sr-contact-btn-whatsapp:hover {
  filter: brightness(1.06);
  color: #fff !important;
  box-shadow: 0 16px 32px -8px rgba(37, 211, 102, 0.65);
}
.sr-contact-btn-call {
  color: #fff !important;
}
.sr-contact-btn-call:hover {
  color: #e8cf83 !important;
}
.sr-safety-card-premium {
  margin-top: 18px;
  padding: 16px 18px;
}
.sr-safety-card-premium strong {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.92rem;
}
.sr-safety-card-premium p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #6b5a2e;
}

/* ── Map: directions pill + sane icon size ───────────────────────── */
.sr-map-directions i {
  font-size: 15px;
  line-height: 1;
  flex: none;
}
.sr-map-placeholder {
  border: 1px dashed var(--sr-border-strong, #d6cfbf);
  border-radius: 18px;
  background: #faf8f1;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.sr-map-placeholder > i {
  font-size: 40px;
  color: var(--sr-gold, #c9a84c);
  line-height: 1;
}

/* ── Contact card head + actions ───────────────────────────────── */
.sr-contact-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--sr-border-strong, #d6cfbf);
}
.sr-contact-card-title {
  font-family: var(--sr-font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  color: var(--sr-primary, #0d1f35);
  margin: 0;
}
.sr-agent-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.sr-contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.sr-contact-btn-schedule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: 1.5px solid var(--sr-gold, #c9a84c);
  color: var(--sr-gold-dark, #8a651a);
  background: transparent;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.93rem;
  text-decoration: none !important;
  transition: all 0.25s ease;
}
.sr-contact-btn-schedule:hover {
  background: var(--sr-gold, #c9a84c);
  color: #081526 !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(201, 168, 76, 0.6);
}
.sr-enquiry-btn {
  background: linear-gradient(135deg, #d9b95c 0%, #c9a84c 45%, #9a7a30 100%);
  border: none;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 12px 30px -8px rgba(201, 168, 76, 0.55);
  transition: transform 0.25s ease, filter 0.25s ease;
}
.sr-enquiry-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

/* ── Share row ─────────────────────────────────────────────────── */
.sr-share-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--sr-border-strong, #d6cfbf);
}
.sr-share-label {
  font-family: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sr-gold-dark, #8a651a);
}
.sr-share-buttons {
  display: flex;
  gap: 8px;
}

/* ── Overlay pills + action buttons (base sheet only set colors) ── */
.sr-property-badges-hero .sr-badge-verified-hero,
.sr-property-badges-hero .sr-badge-type-hero {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.sr-property-actions-hero .sr-action-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(201, 168, 76, 0.5);
  font-size: 18px;
  cursor: pointer;
  padding: 0;
}
.sr-property-actions-hero .sr-action-btn i {
  line-height: 1;
  display: flex;
}
.sr-property-actions-hero .sr-action-btn.favorite.active {
  background: linear-gradient(135deg, #d9b95c 0%, #c9a84c 60%, #9a7a30 100%);
  border-color: #c9a84c;
  color: #081526;
}
.sr-property-actions-hero a.sr-action-btn {
  text-decoration: none;
}

/* ── Specs bar layout (base sheet only set surfaces) ─────────────── */
.sr-specs-bar-premium {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px;
  margin: 24px 0 6px;
}
.sr-specs-bar-premium .sr-spec-item {
  flex: 1 1 150px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  min-width: 0;
}
.sr-specs-bar-premium .sr-spec-icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

/* ── Amenity rows (base sheet only set borders) ──────────────────── */
.sr-features-grid .sr-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #faf8f1;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2b3a4f;
}
.sr-features-grid .sr-feature-item i {
  font-size: 1.05rem;
  line-height: 1;
  flex: none;
}
.sr-features-grid .sr-feature-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Share buttons (base sheet only set borders) ─────────────────── */
.sr-share-buttons .sr-share-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
}
.sr-share-buttons .sr-share-btn i {
  line-height: 1;
  display: flex;
}

/* ── Similar head ──────────────────────────────────────────────── */
.sr-similar-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
}
.sr-similar-title {
  font-family: var(--sr-font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.4rem);
  letter-spacing: -0.015em;
  color: var(--sr-primary, #0d1f35);
  margin-bottom: 8px;
}
.sr-similar-subtitle {
  color: var(--sr-muted, #56657a);
  margin: 0;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .sr-property-main {
    padding: 32px 0 4px;
  }
}
@media (max-width: 767px) {
  .sr-property-hero {
    padding: 20px 0 26px;
  }
  .sr-property-gallery-main {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }
  .sr-property-description {
    border-radius: 18px;
  }
  .sr-contact-actions {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sr-contact-btn-schedule, .sr-enquiry-btn {
    transition: none;
  }
}
