/* ─────────────────────────────────────────────────────────────────────────
   extras.css — supplemental styles + REVISIONS for the 2026-05 fix-pass.
   Sits on top of the existing v2.0 stylesheets without replacing them.
   ───────────────────────────────────────────────────────────────────────── */

/* ── TRUST STRIP ─────────────────────────────────────────────────────── */
.trust-strip {
  background: var(--blush, #ebc7c3);
  border-top: 1px solid rgba(28, 37, 40, 0.06);
  border-bottom: 1px solid rgba(28, 37, 40, 0.06);
  padding: 1.1rem 1.5rem;
  position: relative;
  z-index: 3;
}
.trust-inner {
  max-width: var(--maxw, 1280px);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 2.25rem;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink, #1c2528);
  white-space: nowrap;
}
.trust-icon {
  font-size: 0;
  line-height: 1;
  color: var(--accent-deep, #a4423a);
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  background: none;
  border-radius: 0;
  flex-shrink: 0;
}
.trust-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  overflow: visible;
}
/* The "10+" decade icon's text rendering needs slightly tighter optical sizing */
.trust-icon--decade svg text {
  letter-spacing: -0.5px;
}

@media (max-width: 720px) {
  .trust-strip {
    padding: 0.9rem 1rem;
  }
  .trust-inner {
    gap: 0.75rem 1.4rem;
  }
  .trust-item {
    font-size: 0.74rem;
    gap: 0.45rem;
  }
}

/* ── OWNER SIGNATURE ─────────────────────────────────────────────────── */
.owner-signature {
  font-family: var(--serif, 'Playfair Display', Georgia, serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--accent-deep, #a4423a);
  margin-top: 1.5rem;
  letter-spacing: 0.01em;
}
.owner-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}
.owner-portrait-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--driftwood);
}

/* ── MODAL SUBTITLE ──────────────────────────────────────────────────── */
.modal-subtitle {
  font-size: 0.86rem;
  color: var(--text-mid, #4b5860);
  margin-top: 0.4rem;
  font-style: italic;
}

/* ── FOOTER 4-COLUMN ─────────────────────────────────────────────────── */
.footer-inner.footer-4col {
  grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr;
}
.footer-col p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-col p a {
  color: rgba(255, 255, 255, 0.62);
  border-bottom: 1px dotted rgba(255, 255, 255, 0.15);
  transition: color 0.2s ease;
}
.footer-col p a:hover {
  color: var(--accent-light, #f0bdb6);
}
@media (max-width: 900px) {
  .footer-inner.footer-4col {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 540px) {
  .footer-inner.footer-4col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ── HERO DESKTOP SIZING ─────────────────────────────────────────────── */
/*
  ROOT CAUSE of "hero image doesn't show on desktop": the desktop .hero had
  no explicit min-height. .hero-img-stack uses position:absolute; inset:0;
  so its parent must have a non-zero size for the image to render. Mobile
  sets min-height: 100svh inside a media query — desktop was never given
  one. Without this rule the section collapses around the absolutely-
  positioned stack and the WebPs paint into a 0-height box.

  Why a high-specificity selector (.hero) and not a !important: the existing
  layout.css mobile media query overrides this for narrow viewports, which
  is fine. We only need a default for the wide path.
*/
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78vh;
  overflow: hidden;
  isolation: isolate; /* establishes z-index context for the dune + scrim */
}

/*
  HERO CARD ALIGNMENT on desktop. The card was left-anchored to the section
  edge, looking visually disconnected from the header/footer 1280px content
  gutter. Constrain it inside the same max-width container as the rest of
  the page, with a comfortable left margin.
*/
.hero-card {
  position: relative;
  z-index: 4;
  margin-left: max(2rem, calc((100% - var(--maxw, 1280px)) / 2 + 2rem));
  margin-right: 2rem;
  margin-top: 2.25rem;
  margin-bottom: 2.25rem;
  max-width: 540px;
  width: auto;
  background: var(--sand-pale, #fdf8ee);
  background: linear-gradient(160deg, var(--sand-pale) 0%, #fbe9e3 110%);
  padding: 2rem 2.25rem 1.85rem;
  border-radius: 14px;
  box-shadow:
    0 1px 0 rgba(31, 48, 53, 0.04),
    0 18px 38px rgba(31, 48, 53, 0.18),
    0 36px 88px rgba(31, 48, 53, 0.1);
}

.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin-bottom: 0.85rem;
  color: var(--ink);
}
.hero-h1 em {
  font-style: italic;
  color: var(--accent, #c25e54);
}
.hero-season {
  font-size: var(--xs, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent, #c25e54);
  margin-bottom: 0.7rem;
}
.hero-desc {
  font-size: var(--base, 1rem);
  line-height: 1.65;
  color: var(--text-mid, #4b5860);
  margin-bottom: 1.1rem;
  max-width: 46ch;
}

/*
  Hero "props" pills. Was a comma-separated list — became "Multiple Units
  Available · Minutes from Shore · Pet-friendly Options · Book with Owner".
  We need bold dot separators that wrap cleanly at narrow widths.
*/
.hero-props {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-mid, #4b5860);
  margin-bottom: 1.4rem;
  align-items: center;
}
.hero-prop {
  display: inline-flex;
  align-items: center;
}
.hero-prop::before {
  content: '·';
  margin-right: 0.85rem;
  color: var(--accent, #c25e54);
  font-weight: 700;
}

/* Bottom scrim: a soft gradient inside the hero so the trust strip below
   doesn't visually slam into the hero card. */
.hero-scrim {
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(28, 37, 40, 0.12) 100%);
}

/* The dune SVG already exists in the markup; make sure it sits above the
   image and below the card. */
.hero-fg {
  z-index: 2;
}

/* ── HERO MOBILE — keep the existing 100svh full-bleed look (the user
   liked the mobile rendering). Just nudge the card so it doesn't touch
   the trust strip. ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-card {
    margin: 0 1.25rem 1.5rem;
    max-width: none;
  }
}
@media (max-width: 640px) {
  .hero-card {
    margin: 0 1rem 1.25rem;
    padding: 1.5rem 1.25rem;
  }
  .hero-props {
    font-size: 0.72rem;
    gap: 0 0.55rem;
  }
  .hero-prop::before {
    margin-right: 0.55rem;
  }
}

/* ── MAP PANEL: WIDER ON DESKTOP, NO GHOSTING X ──────────────────── */
/*
  ROOT CAUSE of the "tiny X outside the map" on desktop: the close button
  was rendering inside the panel but .map-panel uses position:sticky on
  desktop, which doesn't establish an offset parent for absolutely-
  positioned children. So the absolute X landed relative to the next
  positioned ancestor (the listings-layout container), placing it just
  outside the panel. Nuke it on desktop.
*/
@media (min-width: 1025px) {
  .listings-layout {
    grid-template-columns: 1fr minmax(440px, 36%);
  }
  .map-panel #map-close,
  .map-panel .map-close-btn {
    display: none !important;
  }
}

/* On mobile, the close X needs to be a real 44x44 hit target. Override the
   existing 36px with explicit sizing and a higher contrast background. */
@media (max-width: 1024px) {
  .map-panel.mobile-open .map-close-btn {
    display: flex !important;
    width: 48px;
    height: 48px;
    top: 0.85rem;
    right: 0.85rem;
    background: rgba(28, 37, 40, 0.82);
    color: #fff;
    font-size: 1.25rem;
    border: none;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    z-index: 470;
    cursor: pointer;
  }
  .map-panel.mobile-open .map-close-btn:hover,
  .map-panel.mobile-open .map-close-btn:focus-visible {
    background: rgba(28, 37, 40, 0.96);
    outline: 2px solid var(--accent-light, #f0bdb6);
    outline-offset: 2px;
  }
}

/* ── MAP TOGGLE FAB VISIBILITY ─────────────────────────────────────── */
/* Hide the FAB unless the user is currently inside the listings range —
   matches the filter-bar visibility logic in main.js. */
.map-toggle-btn.fab-hidden {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.map-toggle-btn {
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.18s ease;
}

/* ── PROPERTY CARD: SELECTED + HIGHLIGHTED STATES ──────────────────── */
.property-card.highlighted,
.card.highlighted {
  border-color: var(--teal, #5a9aa0);
  box-shadow:
    0 0 0 2px var(--teal, #5a9aa0),
    var(--sh-md);
}
/* Selected = explicit user pick, stronger ring (accent color = brand). */
.property-card.selected,
.card.selected {
  border-color: var(--accent, #c25e54);
  box-shadow:
    0 0 0 2px var(--accent, #c25e54),
    0 8px 24px rgba(194, 94, 84, 0.18),
    var(--sh-md);
  transform: translateY(-2px);
}

/* ── SMOOTH AVAILABILITY DROPDOWN ──────────────────────────────────── */
/* Was a hard show/hide. Animate height/opacity for the cinematic feel. */
.avail-panel {
  display: block !important; /* override existing display:none gate */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    padding 0.3s ease;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
}
.avail-panel.open {
  max-height: 600px;
  opacity: 1;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  border-width: 1px;
}

/* ── HERO REDUCED-MOTION RESPECT ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-img {
    animation: none !important;
  }
  .property-card.selected,
  .card.selected {
    transform: none;
  }
}

/* ── SECTION DIVIDER REVEAL (subtle) ───────────────────────────────── */
/* The dunes pop in instantly. Add a soft fade-up tied to scroll. */
.section-divider svg {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-divider.is-visible svg,
.section-divider svg {
  /* Default: visible. The IO observer in reveal.js will toggle is-visible
     if you want true scroll-tied animation. For now the dividers fade in
     once on first paint via a forwards animation. */
  animation: dividerFadeIn 0.8s ease-out 0.1s forwards;
}
@keyframes dividerFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── JILL "J" GLYPH FIX ─────────────────────────────────────────────────
   Playfair Display's italic capital J has a long descender that visually
   reads as "F" — so "Jill" looks like "Fill". font-feature-settings to
   suppress swash/alternates didn't help: the default italic J in this
   weight is itself the offending shape.
   Fix: keep italic styling but swap the font family for the few "Jill"
   contexts. Georgia's italic J is a regular-shaped J on every system. */
.owner-text h2 em,
.owner-signature,
.birthday-banner .bday-text em {
  font-family: Georgia, 'Times New Roman', serif;
}

/* ─────────────────────────────────────────────────────────────────────
   PROPERTY CARDS (homepage listings grid)
   listings.js renders <article class="property-card"> — but the existing
   .card rules in components.css are NOT applied to that classname, so
   the cards rendered with no border, no padding, and tags overlapping
   the action button. Provide a self-contained card style here.
   ───────────────────────────────────────────────────────────────────── */
.property-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white, #fff);
  border: 1px solid var(--driftwood-pale, #d4c0ad);
  border-radius: var(--r-lg, 14px);
  overflow: hidden;
  box-shadow: var(--sh-card, 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.04));
  transition:
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease;
}
.property-card:hover,
.property-card:focus-within {
  border-color: var(--driftwood, #8a6d5b);
  box-shadow: var(--sh-md, 0 4px 14px rgba(0, 0, 0, 0.08), 0 12px 32px rgba(0, 0, 0, 0.06));
  transform: translateY(-2px);
}

/* Photo region */
.property-card .card-photo-link {
  display: block;
  text-decoration: none;
}
.property-card .card-photo {
  position: relative;
  height: 215px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--driftwood-pale, #d4c0ad), var(--sand, #e9d8b4));
}
.property-card .card-photo img,
.property-card .card-photo picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.property-card .card-body {
  padding: 1.15rem 1.35rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Tags row — explicitly NOT absolute (override the .card-tags rule in
   components.css that positioned them inside .card-photo on the old
   markup). They sit inline above the title. */
.property-card .card-tags {
  position: static;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.55rem;
}
.property-card .card-tag {
  font-size: var(--xs, 0.72rem);
  font-weight: 600;
  padding: 2px 9px;
  border-radius: var(--r-pill, 999px);
  background: var(--accent-pale, #f6e7e3);
  color: var(--accent-deep, #9e453d);
}

.property-card .card-title {
  font-family: var(--serif, 'Playfair Display', Georgia, serif);
  font-size: var(--xl, 1.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.35rem;
  color: var(--ink, #1c2528);
}
.property-card .card-title a {
  color: inherit;
  text-decoration: none;
}
.property-card .card-title a:hover {
  color: var(--accent-deep, #9e453d);
}
.property-card .card-desc {
  font-size: var(--sm, 0.86rem);
  line-height: 1.55;
  color: var(--text-mid, #4a5256);
  margin: 0.25rem 0 0.75rem;
}

/* Actions row — column layout so the toggle and the View & Inquire
   button stack neatly and don't visually crowd each other. */
.property-card .card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--sand, #e9d8b4);
}

/* "View & Inquire" pill — toned-down, sand-colored instead of the
   accent orange/red that read as alarm-button. Keeps the pill shape,
   loses the saturated background. */
.property-card .btn-pill.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 18px;
  font-size: var(--xs, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--r-pill, 999px);
  background: var(--sand, #e9d8b4);
  color: var(--ink, #1c2528);
  text-decoration: none;
  border: 1px solid var(--driftwood-pale, #d4c0ad);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
  /* override .btn-pill's transform-on-hover */
  transform: none;
}
.property-card .btn-pill.btn-sm:hover {
  background: var(--driftwood-pale, #d4c0ad);
  border-color: var(--driftwood, #8a6d5b);
  color: var(--ink, #1c2528);
  transform: none;
}
.property-card .btn-pill.btn-sm .card-cta {
  color: inherit;
  font-weight: 700;
}

/* The avail-toggle inside .property-card — keep its existing look from
   components.css; just ensure full width so it lines up with the pill. */
.property-card .avail-toggle {
  width: 100%;
}

/* The avail-panel (calendar dropdown) sits inside .property-card */
.property-card .avail-panel {
  margin-top: 0.5rem;
}

/* ─────────────────────────────────────────────────────────────────────
   PROPERTY PAGE — CALENDAR CONTAINMENT (booking-card sidebar)
   The two-month calendar tries to fit 2 months across ~280px of content
   width inside the 340px booking-card. Day numbers and the Su/Mo/Tu/We
   header row spill outside the card. Two fixes:
     1. Stack the months vertically inside the booking-card.
     2. Tighten cell padding / fonts so day numbers can't overflow.
   The home-page calendar (full-width) is unaffected.
   ───────────────────────────────────────────────────────────────────── */
.booking-card .cal-wrap {
  /* prevent any inner element from forcing the wrap wider than its parent */
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.booking-card .cal-months {
  grid-template-columns: 1fr;
  gap: 1rem;
}
.booking-card .cal-dow {
  font-size: 0.62rem;
  padding: 3px 0;
  min-width: 0;
}
.booking-card .cal-day {
  font-size: 0.72rem;
  padding: 6px 1px;
  min-width: 0;
  /* hard guard: never exceed the column width */
  max-width: 100%;
}
.booking-card .cal-grid,
.booking-card .cal-dow-row {
  /* CSS grid columns are 1fr — explicitly use minmax(0,1fr) so children
     can't force the track wider than the available space. This is the
     classic "grid item overflows parent" fix. */
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

/* ─────────────────────────────────────────────────────────────────────
   FILTER BAR — STATIC POSITIONING
   Was sticky and toggled visible by main.js (wireFilterBarVisibility)
   only when the listings section reached the top of the viewport. This
   was confusing — it appeared mid-scroll without warning. Make it
   static so it sits inline above the listings grid and never moves.
   The JS still toggles a .hidden class but these overrides neutralize it.
   ───────────────────────────────────────────────────────────────────── */
.filter-bar {
  position: static;
  transform: none;
}
.filter-bar.hidden {
  /* override the slide-up-and-hide; keep visible always */
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

/* ─────────────────────────────────────────────────────────────────────
   GALLERY — DESKTOP CROP CAP
   The base gallery is height: 480px with object-fit: cover. On wide
   desktop viewports, portrait photos (e.g. a bedroom) get cropped to a
   thin horizontal strip. Cap the gallery at a 16:9 aspect-ratio so
   portrait shots show their main subject, and add a "click to enlarge"
   affordance that opens the lightbox for the full image.
   ───────────────────────────────────────────────────────────────────── */
.gallery {
  height: auto !important;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
}
.gallery-track,
.gallery-slide {
  height: 100% !important;
}
.gallery-slide {
  cursor: zoom-in;
  position: relative;
}
.gallery-slide img {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover;
}
.gallery-zoom-hint {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(30, 48, 53, 0.7);
  color: var(--white);
  font-size: var(--xs);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.gallery-slide:hover .gallery-zoom-hint,
.gallery-slide:focus-visible .gallery-zoom-hint {
  opacity: 1;
}
@media (max-width: 720px) {
  .gallery {
    aspect-ratio: 4 / 3;
    max-height: none;
  }
  .gallery-zoom-hint {
    display: none; /* tap to enlarge is implicit on mobile */
  }
}

/* ─────────────────────────────────────────────────────────────────────
   LIGHTBOX — full-size photo viewer
   ───────────────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 22, 26, 0.96);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox.open {
  display: flex;
}
.lightbox-stage {
  max-width: 100%;
  max-height: calc(100vh - 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-stage img {
  max-width: 100%;
  max-height: calc(100vh - 4rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}
.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.25);
  outline: none;
}
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-btn:hover,
.lightbox-btn:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  outline: none;
}
.lightbox-prev {
  left: 1rem;
}
.lightbox-next {
  right: 1rem;
}
.lightbox-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: var(--sm);
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: var(--r-pill);
}
@media (max-width: 600px) {
  .lightbox-btn {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }
}

/* ─────────────────────────────────────────────────────────────────────
   FILTER BAR — DATE RANGE INPUTS
   ───────────────────────────────────────────────────────────────────── */
.filter-dates {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-top: 1px solid rgba(28, 37, 40, 0.06);
  background: var(--white, #fff);
  font-size: var(--sm);
}
.filter-dates .date-label {
  font-weight: 600;
  color: var(--text-muted, #6b7a80);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  margin-right: 0.1rem;
}
.filter-dates .date-input {
  border: 1px solid var(--driftwood-pale, #d8d2c4);
  border-radius: var(--r, 6px);
  padding: 0.4rem 0.6rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink, #1c2528);
  background: #fff;
  min-width: 145px;
}
.filter-dates .date-input:focus {
  outline: 2px solid var(--accent, #c25e54);
  outline-offset: 1px;
  border-color: var(--accent, #c25e54);
}
.filter-dates .date-clear-btn {
  background: transparent;
  border: 1px solid var(--driftwood-pale, #d8d2c4);
  color: var(--text-muted, #6b7a80);
  font-size: var(--xs, 0.78rem);
  padding: 0.45rem 0.75rem;
  border-radius: var(--r-pill, 999px);
  cursor: pointer;
  font-weight: 500;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.filter-dates .date-clear-btn:hover {
  background: var(--driftwood-pale, #d8d2c4);
  color: var(--ink, #1c2528);
}

/* ─────────────────────────────────────────────────────────────────────
   CARD BADGE — "Inquire to confirm" variant for date-range no-match
   ───────────────────────────────────────────────────────────────────── */
.card-badge.inquire-badge {
  background: var(--driftwood-pale, #e9d8b4);
  color: var(--ink, #1c2528);
}

/* ─────────────────────────────────────────────────────────────────────
   PROPERTY NOTE (special-instructions line under specs)
   Hidden by default unless prop.note is set.
   ───────────────────────────────────────────────────────────────────── */
.prop-note {
  margin-top: 0.85rem;
  font-size: var(--sm, 0.9rem);
  color: var(--text-muted, #6b7a80);
  font-style: italic;
  line-height: 1.5;
  padding: 0.6rem 0.85rem;
  background: var(--driftwood-pale, #f4ece0);
  border-left: 3px solid var(--accent, #c25e54);
  border-radius: 0 var(--r, 6px) var(--r, 6px) 0;
}
