/* Floor Plans Grid with Calculator (2.1.0). Scoped to .pmft-fp (the grid) and .pmft-fp-modal (the body-level popup).
   Colors come from the Settings tab (--pmft-*) and the detected site brand (--pmft-brand*); fonts inherit from the site.
   Spacing on a 4/8px scale. */
.pmft-fp, .pmft-fp-modal {
  --fp-card: var(--pmft-background, #fff);
  --fp-ink: var(--pmft-text, #1d1d1f);
  --fp-muted: var(--pmft-secondary, #6e6e73);
  --fp-fill: color-mix(in srgb, var(--fp-ink) 6%, var(--fp-card));
  --fp-hair: color-mix(in srgb, var(--fp-ink) 10%, transparent);
  --fp-brand: var(--pmft-brand, var(--fp-ink));
  --fp-brand-ink: var(--pmft-brand-ink, var(--fp-card));
  --fp-brand-soft: color-mix(in srgb, var(--fp-brand) 14%, var(--fp-card));
  --fp-good: #1f8a4c;
  --fp-radius: 24px;
  --fp-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.07);
  --fp-shadow-lift: 0 2px 6px rgba(0,0,0,.06), 0 20px 48px rgba(0,0,0,.14);
  color: var(--fp-ink);
  font-family: inherit;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
}
.pmft-fp *, .pmft-fp *::before, .pmft-fp *::after, .pmft-fp-modal *, .pmft-fp-modal *::before, .pmft-fp-modal *::after { box-sizing: border-box; }
.pmft-fp :is(h2, h3, p), .pmft-fp-modal :is(h2, h3, p) { margin: 0; padding: 0; }
.pmft-fp button, .pmft-fp-modal button { font: inherit; color: inherit; margin: 0; }
.pmft-fp { width: 100%; max-width: none; margin: 0; text-align: left; } /* fills its Divi module / column; the page sets the width */

/* intro + toolbar */
.pmft-fp .pmft-fp-intro { padding: 32px 0 24px; }
.pmft-fp h2.pmft-fp-title { font-family: var(--pmft-heading-font, inherit); font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -.02em; font-weight: 600; color: var(--fp-ink); text-wrap: balance; }
.pmft-fp .pmft-fp-lede { max-width: 58ch; margin-top: 12px; font-size: 18px; line-height: 1.45; color: var(--fp-muted); }
.pmft-fp .pmft-fp-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 0 16px; }
.pmft-fp-seg { display: inline-flex; flex-wrap: wrap; padding: 4px; border-radius: 999px; background: var(--fp-fill); }
.pmft-fp-seg button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; line-height: 1.2; }
.pmft-fp-seg button[aria-pressed="true"], .pmft-fp-seg button[aria-checked="true"] { background: var(--fp-card); box-shadow: 0 1px 3px rgba(0,0,0,.12); font-weight: 600; }
.pmft-fp .pmft-fp-count { font-size: 14px; color: var(--fp-muted); }
.pmft-fp .pmft-fp-sort { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--fp-muted); }
.pmft-fp .pmft-fp-sort select { font: inherit; font-size: 14px; color: var(--fp-ink); background-color: var(--fp-fill); border: 0; border-radius: 999px; padding: 8px 32px 8px 16px; height: auto; width: auto; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--fp-muted) 50%), linear-gradient(135deg, var(--fp-muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }

/* cards */
.pmft-fp .pmft-fp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .pmft-fp .pmft-fp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pmft-fp .pmft-fp-grid { grid-template-columns: 1fr; } .pmft-fp .pmft-fp-sort { margin-left: 0; } }
.pmft-fp .pmft-fp-card { display: flex; flex-direction: column; overflow: hidden; background: var(--fp-card); border-radius: var(--fp-radius); box-shadow: var(--fp-shadow); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.pmft-fp .pmft-fp-card:hover { transform: translateY(-4px); box-shadow: var(--fp-shadow-lift); }
.pmft-fp .pmft-fp-art { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 100%; margin: 0; padding: 16px 16px 8px; border: 0; border-radius: 0; background: var(--fp-card); cursor: pointer; font: inherit; color: inherit; text-align: left; }
.pmft-fp .pmft-fp-img { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; max-width: 100%; }
.pmft-fp .pmft-fp-art img { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.pmft-fp .pmft-fp-art:hover img { transform: scale(1.03); }
.pmft-fp .pmft-fp-art:focus-visible { outline-offset: -4px; }
.pmft-fp .pmft-fp-art img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* Display › 2D / 3D image switch: small 3D / 2D buttons under the card image (and under the popup image). */
.pmft-fp .pmft-fp-artbar { display: flex; justify-content: center; padding: 0 16px 4px; background: var(--fp-card); }
.pmft-fp-artseg button { padding: 6px 14px; font-size: 13px; }
.pmft-fp .pmft-fp-badges { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; min-width: 0; }
.pmft-fp-pill { display: inline-flex; align-items: flex-start; gap: 6px; flex: 0 0 auto; max-width: 100%; padding: 4px 12px; border-radius: 14px; background: var(--fp-fill); font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
/* Long Entrata/custom statuses: two lines on a card (full text on hover), full text in the popup. */
.pmft-fp .pmft-fp-badges .pmft-fp-pill:first-child { flex: 0 1 auto; min-width: 0; white-space: normal; }
.pmft-fp .pmft-fp-badges .pmft-fp-pill:first-child .pmft-fp-pill-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.pmft-fp-modal .pmft-fp-pill.is-wrap { white-space: normal; }
.pmft-fp-modal .pmft-fp-pill.is-wrap .pmft-fp-pill-text { overflow-wrap: anywhere; }
.pmft-fp-pill i { flex: 0 0 6px; width: 6px; height: 6px; margin-top: 6px; border-radius: 50%; background: var(--fp-good); display: inline-block; }
.pmft-fp-pill.is-offer { background: var(--fp-brand); color: var(--fp-brand-ink); }
.pmft-fp .is-soldout .pmft-fp-pill i { background: var(--fp-muted); }
.pmft-fp .pmft-fp-veil { position: absolute; inset: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--fp-card) 60%, transparent); font-size: 20px; font-weight: 700; }
.pmft-fp .pmft-fp-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; padding: 16px 24px 24px; }
.pmft-fp .pmft-fp-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.pmft-fp h3.pmft-fp-name { overflow-wrap: anywhere; font-family: var(--pmft-heading-font, inherit); font-size: 28px; line-height: 1.1; letter-spacing: -.01em; font-weight: 600; color: var(--fp-ink); }
.pmft-fp .pmft-fp-meta { font-size: 14px; color: var(--fp-muted); }
.pmft-fp .pmft-fp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.pmft-fp .pmft-fp-now { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.pmft-fp .pmft-fp-per { font-size: 14px; color: var(--fp-muted); }
.pmft-fp s, .pmft-fp-modal s { color: var(--fp-muted); font-weight: 400; }
.pmft-fp .pmft-fp-base { margin-top: -8px; font-size: 13px; color: var(--fp-muted); font-variant-numeric: tabular-nums; }
.pmft-fp .pmft-fp-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 4px; }
.pmft-fp .pmft-fp-card-fine { font-size: 12px; line-height: 1.45; color: var(--fp-muted); }

/* buttons: the primary carries the theme's floor-btn class so it matches the floor plan page */
.pmft-fp .pmft-fp-btn, .pmft-fp-modal .pmft-fp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin: 0; padding: 12px 16px; border: 0; border-radius: 999px;
  background: var(--fp-fill); color: var(--fp-ink); font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; text-transform: none; letter-spacing: 0; cursor: pointer; transition: transform .15s, filter .15s, background .15s; }
.pmft-fp .pmft-fp-btn:active, .pmft-fp-modal .pmft-fp-btn:active { transform: scale(.97); }
.pmft-fp .pmft-fp-btn.is-primary, .pmft-fp-modal .pmft-fp-btn.is-primary { background: var(--fp-brand); color: var(--fp-brand-ink); }
.pmft-fp .pmft-fp-btn.is-primary:hover, .pmft-fp-modal .pmft-fp-btn.is-primary:hover { filter: brightness(1.05); }
.pmft-fp .pmft-fp-btn:not(.is-primary):hover, .pmft-fp-modal .pmft-fp-btn:not(.is-primary):hover { background: color-mix(in srgb, var(--fp-fill) 85%, var(--fp-ink)); }
.pmft-fp-modal .pmft-fp-btn.is-big { min-height: 52px; font-size: 17px; }
.pmft-fp :focus-visible, .pmft-fp-modal :focus-visible { outline: 3px solid color-mix(in srgb, var(--fp-brand) 70%, transparent); outline-offset: 2px; }

/* popup (The Standard's tilt-in: backdrop fades 0.2s, sheet rotates up from the bottom edge over 0.7s) */
.pmft-fp-modal { position: fixed; inset: 0; z-index: 2147483647; /* the top layer: in front of Google Translate, UserWay and other floating widgets (the popup is added last, so it wins ties) */ display: grid; place-items: center; padding: max(24px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); text-align: left; }
.pmft-fp-modal .pmft-fp-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: pmft-fp-fade .2s ease both; }
.pmft-fp-modal .pmft-fp-sheet.pmft-calc { position: relative; width: min(1120px, 100%); max-width: none; max-height: calc(100vh - 48px); overflow: auto; overscroll-behavior: contain; margin: 0; border: 0; border-radius: 28px;
  background: var(--fp-card); box-shadow: 0 30px 80px rgba(0,0,0,.35); transform-origin: 50% 100%; animation: pmft-fp-rotate .7s ease .15s both; }
.pmft-fp-modal.is-closing .pmft-fp-scrim { animation: pmft-fp-fade .2s ease reverse both; }
.pmft-fp-modal.is-closing .pmft-fp-sheet { animation: pmft-fp-out .22s ease both; }
@keyframes pmft-fp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pmft-fp-rotate { from { opacity: 0; transform: perspective(3000px) rotateX(-25deg) scale(.95); } to { opacity: 1; transform: perspective(3000px) rotateX(0) scale(1); } }
@keyframes pmft-fp-out { to { opacity: 0; transform: scale(.97); } }
@keyframes pmft-fp-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.pmft-fp-modal .pmft-fp-fiu { animation: pmft-fp-up .34s ease both; }
.pmft-fp-modal .pmft-fp-close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--fp-fill); cursor: pointer; display: grid; place-items: center; }
.pmft-fp-modal .pmft-fp-close svg { width: 14px; height: 14px; }
.pmft-fp-modal .pmft-fp-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: center; padding: 56px; }
/* One fixed-width column each: a long line wraps instead of widening the column into its neighbor. */
.pmft-fp-modal .pmft-fp-info { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.pmft-fp-modal .pmft-fp-pill.is-solid { background: var(--fp-fill); }
.pmft-fp-modal h2.pmft-fp-mtitle { overflow-wrap: anywhere; font-family: var(--pmft-heading-font, inherit); font-size: clamp(40px, 5vw, 56px); line-height: 1; letter-spacing: -.02em; font-weight: 600; color: var(--fp-ink); }
.pmft-fp-modal .pmft-fp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pmft-fp-modal .pmft-fp-chips span { padding: 4px 12px; border-radius: 999px; background: var(--fp-fill); font-size: 14px; font-weight: 500; }
.pmft-fp-modal .pmft-fp-label { margin: 8px 0 -4px; font-size: 12px; font-weight: 600; color: var(--fp-muted); text-transform: uppercase; letter-spacing: .06em; }
.pmft-fp-modal .pmft-fp-rooms, .pmft-fp-modal .pmft-fp-actions { grid-template-columns: minmax(0, 1fr); }
.pmft-fp-modal .pmft-fp-rooms { display: grid; gap: 8px; }
.pmft-fp-modal .pmft-fp-room { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 12px 16px; border-radius: 16px; background: var(--fp-fill); font-variant-numeric: tabular-nums; }
.pmft-fp-modal .pmft-fp-room b { min-width: 0; overflow-wrap: anywhere; }
.pmft-fp-modal .pmft-fp-room-price { font-size: 22px; font-weight: 700; text-align: right; white-space: nowrap; }
.pmft-fp-modal .pmft-fp-room-price small { font-size: 13px; font-weight: 500; color: var(--fp-muted); }
.pmft-fp-modal .pmft-fp-room-base { grid-column: 1 / -1; font-size: 13px; color: var(--fp-muted); }
.pmft-fp-modal .pmft-fp-callout { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--fp-brand-soft); font-weight: 600; }
.pmft-fp-modal .pmft-fp-callout span { min-width: 0; overflow-wrap: anywhere; }
.pmft-fp-modal .pmft-fp-callout svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; color: var(--fp-brand); }
.pmft-fp-modal .pmft-fp-actions { display: grid; gap: 8px; }
.pmft-fp-modal .pmft-fp-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.pmft-fp-modal .pmft-fp-link { justify-self: start; font-size: 14px; font-weight: 600; color: var(--fp-ink); text-decoration: underline; text-underline-offset: 3px; }
.pmft-fp-modal .pmft-fp-fine { font-size: 12px; color: var(--fp-muted); }
.pmft-fp-modal .pmft-fp-media { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; justify-items: center; min-width: 0; }
.pmft-fp-modal .pmft-fp-media .pmft-fp-fine { justify-self: stretch; }
.pmft-fp-modal .pmft-fp-well { width: 100%; aspect-ratio: 4 / 3; max-width: 100%; display: grid; place-items: center; padding: 16px; border-radius: 22px; background: var(--fp-card); }
.pmft-fp-modal .pmft-fp-well img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* calculator inside the popup */
.pmft-fp-modal .pmft-fp-calc { padding: 24px 40px 40px; }
.pmft-fp-modal .pmft-fp-calc-top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-right: 48px; margin-bottom: 8px; }
.pmft-fp-modal .pmft-fp-back { display: inline-flex; align-items: center; gap: 4px; padding: 8px 0; border: 0; background: none; cursor: pointer; font-size: 15px; font-weight: 600; }
.pmft-fp-modal h2.pmft-fp-calc-title { font-family: var(--pmft-heading-font, inherit); font-size: 28px; letter-spacing: -.01em; font-weight: 600; }
.pmft-fp-modal .pmft-calc-body.is-embedded { grid-template-columns: minmax(0, 1fr) 340px; }
.pmft-fp-modal .pmft-calc-body.is-embedded .pmft-calc-steps { padding: 0 32px 0 0; }
.pmft-fp-modal .pmft-calc-body.is-embedded .pmft-calc-summary { border-left: 0; }
.pmft-fp-modal .pmft-calc-body.is-embedded .pmft-calc-summary-inner { position: sticky; top: 0; padding: 16px 0 0; transform: none !important; }
.pmft-fp-modal .pmft-calc .pmft-calc-total { border-radius: 20px; }
.pmft-fp-modal .pmft-calc .pmft-calc-q, .pmft-fp-modal .pmft-calc .pmft-calc-room { border-radius: 16px; }
.pmft-fp-modal .pmft-calc .pmft-calc-btn { border-radius: 999px; }

@media (max-width: 900px) {
  .pmft-fp-modal { padding: 0; place-items: end stretch; }
  .pmft-fp-modal .pmft-fp-sheet.pmft-calc { width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .pmft-fp-modal .pmft-fp-details { grid-template-columns: 1fr; gap: 24px; padding: 56px 20px 32px; }
  .pmft-fp-modal .pmft-fp-media { order: -1; }
  .pmft-fp-modal .pmft-fp-calc { padding: 16px 20px 0; }
  .pmft-fp-modal .pmft-calc-body.is-embedded { grid-template-columns: 1fr; }
  .pmft-fp-modal .pmft-calc-body.is-embedded .pmft-calc-steps { padding: 0; }
  .pmft-fp-modal .pmft-calc .pmft-calc-dock.is-embedded { position: sticky; left: auto; right: auto; bottom: 0; transform: none; margin: 0 -20px; box-shadow: 0 -4px 16px rgba(0,0,0,.12); }
}
@media (prefers-reduced-motion: reduce) {
  .pmft-fp *, .pmft-fp-modal *, .pmft-fp-modal .pmft-fp-sheet.pmft-calc, .pmft-fp-modal .pmft-fp-scrim { animation: none !important; transition: none !important; }
}

/* Image disclaimer under the popup image (a toggle on phones). */
.pmft-fp-note { margin-top: 12px; }
.pmft-fp-note summary { cursor: pointer; font-size: 13px; color: var(--fp-muted); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.pmft-fp-note summary::-webkit-details-marker { display: none; }
.pmft-fp-note summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.pmft-fp-note[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.pmft-fp-note .pmft-fp-fine { margin-top: 8px; }
@media (min-width: 641px) { .pmft-fp-note summary { display: none; } .pmft-fp-note .pmft-fp-fine { margin-top: 0; } }

/* [floor_plans_with_fee_transparency_carousel]: one row; 3 cards + neighbor slices on desktop, 2 on tablet, 1 on phones. */
.pmft-fp .pmft-fp-carousel { --fp-peek: 88px; --fp-per: 3; --fp-gap: 24px; position: relative; }
@media (max-width: 1000px) { .pmft-fp .pmft-fp-carousel { --fp-peek: 72px; --fp-per: 2; } }
@media (max-width: 640px) { .pmft-fp .pmft-fp-carousel { --fp-peek: 0px; --fp-per: 1; --fp-gap: 16px; } }
.pmft-fp .pmft-fp-track { display: flex; gap: var(--fp-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 8px var(--fp-peek) 24px; scroll-padding-inline: var(--fp-peek); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pmft-fp .pmft-fp-track::-webkit-scrollbar { display: none; }
.pmft-fp .pmft-fp-track > .pmft-fp-card { flex: 0 0 calc((100% - (var(--fp-per) - 1) * var(--fp-gap)) / var(--fp-per)); min-width: 0; scroll-snap-align: start; }
.pmft-fp .pmft-fp-track > .pmft-fp-card:hover { transform: none; }
.pmft-fp .pmft-fp-arrow { position: absolute; top: 40%; z-index: 2; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center;
  background: var(--fp-card); color: var(--fp-ink); box-shadow: 0 2px 10px rgba(0,0,0,.18); cursor: pointer; transition: opacity .2s; }
.pmft-fp .pmft-fp-arrow.is-prev { left: 4px; }
.pmft-fp .pmft-fp-arrow.is-next { right: 4px; }
.pmft-fp .pmft-fp-arrow:disabled { opacity: .35; cursor: default; }
.pmft-fp .pmft-fp-arrow:focus-visible { outline: 2px solid var(--fp-brand); outline-offset: 2px; }
@media (max-width: 640px) { .pmft-fp .pmft-fp-arrow { top: 30%; width: 40px; height: 40px; } .pmft-fp .pmft-fp-arrow.is-prev { left: -6px; } .pmft-fp .pmft-fp-arrow.is-next { right: -6px; } }

/* Display options (3.7.0) */
.pmft-fp .pmft-fp-meta.has-icons { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.pmft-fp .pmft-fp-meta.has-icons > span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.pmft-fp-ico { flex: 0 0 auto; width: 16px; height: 16px; display: inline-block; vertical-align: -3px; }
.pmft-fp-modal .pmft-fp-chips span { display: inline-flex; align-items: center; gap: 6px; }
.pmft-fp-modal .pmft-fp-chips span.is-tag { background: var(--fp-brand-soft); }
.pmft-fp .pmft-fp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pmft-fp .pmft-fp-tags span { padding: 2px 10px; border-radius: 999px; background: var(--fp-brand-soft); font-size: 12px; font-weight: 600; line-height: 1.6; }
.pmft-fp .pmft-fp-more { display: flex; justify-content: center; padding: 32px 0 8px; }
.pmft-fp .pmft-fp-more .pmft-fp-btn { width: auto; min-width: 200px; }
.pmft-fp .pmft-fp-empty { padding: 48px 0; text-align: center; color: var(--fp-muted); }
.pmft-fp .pmft-fp-link { border: 0; background: none; padding: 0; color: var(--fp-ink); font-weight: 600; text-decoration: underline; cursor: pointer; }
.pmft-fp-modal .pmft-fp-well.is-zoom { overflow: hidden; cursor: zoom-in; }
.pmft-fp-modal .pmft-fp-well.is-zoom img { transition: transform .2s ease-out; }
.pmft-fp-modal .pmft-fp-well.is-zooming img { transform: scale(2); }
@media (prefers-reduced-motion: reduce) { .pmft-fp-modal .pmft-fp-well.is-zoom img { transition: none; } }

/* Site Plan tab: Floor Plans / Site Plan buttons. The hidden panel keeps its width (maps measure themselves on load). */
.pmft-sp .pmft-sp-switch { display: flex; justify-content: center; padding: 0 0 24px; }
.pmft-sp .pmft-sp-switch .pmft-fp-seg button { padding: 10px 24px; font-size: 15px; }
.pmft-sp .pmft-sp-panel.is-hidden { height: 0; overflow: hidden; visibility: hidden; }
.pmft-sp-embed { width: 100%; }
.pmft-sp-embed.has-height > iframe:only-child { width: 100%; height: 100%; border: 0; display: block; }
.pmft-sp-embed iframe { max-width: 100%; }

/* Phones: each filter group is one swipeable line (no wrapped pill blob); a fade marks more buttons off-screen.
   Count and Sort share the next line, Sort on the right. */
@media (max-width: 640px) {
  .pmft-fp .pmft-fp-toolbar { gap: 8px 12px; }
  .pmft-fp .pmft-fp-toolbar .pmft-fp-seg { flex: 0 1 auto; min-width: 0; max-width: 100%; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; scroll-padding-inline: 4px; }
  .pmft-fp .pmft-fp-toolbar .pmft-fp-seg::-webkit-scrollbar { display: none; }
  .pmft-fp .pmft-fp-toolbar .pmft-fp-seg button { flex: 0 0 auto; padding: 8px 14px; scroll-snap-align: start; }
  .pmft-fp .pmft-fp-toolbar .pmft-fp-seg.fade-r { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
  .pmft-fp .pmft-fp-toolbar .pmft-fp-seg.fade-l { -webkit-mask-image: linear-gradient(to right, transparent, #000 40px); mask-image: linear-gradient(to right, transparent, #000 40px); }
  .pmft-fp .pmft-fp-toolbar .pmft-fp-seg.fade-l.fade-r { -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
  .pmft-fp .pmft-fp-toolbar .pmft-fp-count { flex: 1 1 auto; }
  .pmft-fp .pmft-fp-sort { margin-left: auto; }
}

/* Fee ranges widen totals: "$1,069 – $1,089" (the dash a little lighter; wraps on narrow cards). */
.pmft-fp .pmft-fp-price.is-range { flex-wrap: wrap; }
.pmft-fp-to { font-weight: 400; }

/* Floor Plans tab › Card design: Row (compact). Desktop / tablet: the thumbnail runs down the left; beside it the status and
   special, name | price, the room buttons, the actions; the rate disclaimer along the bottom. Two per row on desktop. */
.pmft-fp[data-design="row"] .pmft-fp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .pmft-fp[data-design="row"] .pmft-fp-grid { grid-template-columns: 1fr; } }
.pmft-fp[data-design="row"] .pmft-fp-carousel { --fp-per: 2; --fp-peek: 56px; }
@media (max-width: 1000px) { .pmft-fp[data-design="row"] .pmft-fp-carousel { --fp-per: 1; --fp-peek: 48px; } }
@media (max-width: 640px) { .pmft-fp[data-design="row"] .pmft-fp-carousel { --fp-peek: 0px; } }
.pmft-fp .pmft-fp-card.is-row { display: grid; grid-template-columns: 148px minmax(0, 1fr) auto; grid-template-rows: auto auto auto 1fr auto;
  grid-template-areas: "art flags flags" "art title price" "art seg seg" "art ctas ctas" "art fine fine";
  column-gap: 18px; row-gap: 8px; padding: 14px 18px 14px 0; box-shadow: none; border: 1px solid var(--fp-hair); border-radius: 16px; }
.pmft-fp .pmft-fp-card.is-row:hover { transform: none; box-shadow: none; border-color: color-mix(in srgb, var(--fp-ink) 28%, transparent); }
.pmft-fp .is-row .pmft-fp-left, .pmft-fp .is-row .pmft-fp-right { display: contents; }
.pmft-fp .is-row .pmft-fp-art { grid-area: art; width: 148px; margin: -14px 0; padding: 10px; background: var(--fp-fill); }
.pmft-fp .is-row .pmft-fp-img { aspect-ratio: auto; height: 100%; min-height: 128px; }
.pmft-fp .is-row .pmft-fp-art img { mix-blend-mode: multiply; }
.pmft-fp .is-row .pmft-fp-veil { font-size: 14px; }
.pmft-fp .is-row .pmft-fp-flags { grid-area: flags; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-width: 0; }
.pmft-fp .is-row .pmft-fp-title { grid-area: title; align-self: start; min-width: 0; display: grid; gap: 2px; }
.pmft-fp .is-row h3.pmft-fp-name { font-size: 19px; line-height: 1.2; }
.pmft-fp .is-row .pmft-fp-meta { font-size: 13px; }
.pmft-fp .is-row .pmft-fp-cprice { grid-area: price; align-self: start; text-align: right; }
.pmft-fp .is-row .pmft-fp-price { gap: 4px 6px; justify-content: flex-end; }
.pmft-fp .is-row .pmft-fp-now { font-size: 20px; }
.pmft-fp .is-row .pmft-fp-per { font-size: 12px; }
.pmft-fp .is-row .pmft-fp-price s { font-size: 13px; }
.pmft-fp .is-row .pmft-fp-base { margin-top: 2px; font-size: 12px; text-align: right; }
.pmft-fp .is-row .pmft-fp-badges { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.pmft-fp .is-row .pmft-fp-pill { padding: 2px 9px; font-size: 11.5px; line-height: 1.5; }
.pmft-fp .is-row .pmft-fp-pill i { margin-top: 5px; }
.pmft-fp .is-row .pmft-fp-badges .pmft-fp-pill:first-child .pmft-fp-pill-text { -webkit-line-clamp: 1; }
.pmft-fp .is-row .pmft-fp-offer { display: flex; align-items: center; gap: 6px; flex: 1 1 160px; min-width: 0; }
.pmft-fp .is-row .pmft-fp-offer-icon { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--fp-brand); color: var(--fp-brand-ink); }
.pmft-fp .is-row .pmft-fp-offer-icon svg { width: 12px; height: 12px; }
.pmft-fp .is-row .pmft-fp-offer-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; font-weight: 500; color: var(--fp-ink); }
.pmft-fp .is-row .pmft-fp-seg { grid-area: seg; justify-self: start; }
.pmft-fp .is-row .pmft-fp-seg.is-small { padding: 3px; }
.pmft-fp .is-row .pmft-fp-seg.is-small button { padding: 4px 10px; font-size: 12px; }
.pmft-fp .is-row .pmft-fp-tags { grid-column: 2 / 4; margin-top: 0; }
.pmft-fp .is-row .pmft-fp-ctas { grid-area: ctas; align-self: end; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 2px; }
.pmft-fp .is-row .pmft-fp-btn.is-small { width: auto; min-height: 36px; padding: 8px 14px; font-size: 13.5px; }
.pmft-fp .is-row .pmft-fp-card-fine { grid-area: fine; font-size: 11px; line-height: 1.45; }
.pmft-fp .pmft-fp-link { border: 0; background: none; padding: 0; font-size: 13.5px; font-weight: 600; color: var(--fp-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--fp-hair); }
.pmft-fp .pmft-fp-link:hover { text-decoration-color: currentColor; }

/* Phones: a 50/50 split. Left: the image on top, then name, beds / baths / sq ft and the room buttons. Right: status and
   special (each up to two lines, then "…"), the price and the buttons. The disclaimer runs across the bottom. */
@media (max-width: 640px) {
  .pmft-fp .pmft-fp-card.is-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: none; grid-template-rows: auto auto; padding: 0; column-gap: 0; row-gap: 0; }
  .pmft-fp .is-row .pmft-fp-left, .pmft-fp .is-row .pmft-fp-right { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
  .pmft-fp .is-row .pmft-fp-left { padding: 0 0 12px; }
  .pmft-fp .is-row .pmft-fp-right { padding: 12px 12px 12px 10px; }
  .pmft-fp .is-row .pmft-fp-art { width: 100%; margin: 0; padding: 8px; }
  .pmft-fp .is-row .pmft-fp-img { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
  .pmft-fp .is-row .pmft-fp-title, .pmft-fp .is-row .pmft-fp-seg, .pmft-fp .is-row .pmft-fp-tags { margin: 0 12px; }
  .pmft-fp .is-row .pmft-fp-seg.is-small { align-self: flex-start; }
  .pmft-fp .is-row .pmft-fp-flags { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pmft-fp .is-row .pmft-fp-badges, .pmft-fp .is-row .pmft-fp-badges .pmft-fp-pill:first-child { max-width: 100%; }
  .pmft-fp .is-row .pmft-fp-badges .pmft-fp-pill:first-child .pmft-fp-pill-text { -webkit-line-clamp: 2; }
  .pmft-fp .is-row .pmft-fp-offer { flex: 0 1 auto; align-items: flex-start; max-width: 100%; }
  .pmft-fp .is-row .pmft-fp-offer-text { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
  .pmft-fp .is-row .pmft-fp-cprice, .pmft-fp .is-row .pmft-fp-base { text-align: left; }
  .pmft-fp .is-row .pmft-fp-price { justify-content: flex-start; }
  .pmft-fp .is-row .pmft-fp-ctas { flex-direction: column; align-items: stretch; align-self: stretch; gap: 10px; margin-top: auto; }
  .pmft-fp .is-row .pmft-fp-ctas .pmft-fp-btn.is-small { width: 100%; }
  .pmft-fp .is-row .pmft-fp-link { align-self: flex-start; }
  .pmft-fp .is-row .pmft-fp-card-fine { grid-column: 1 / -1; margin: 0; padding: 10px 12px 12px; border-top: 1px solid var(--fp-hair); }
}

/* Rate lines (3.13.0): "Starting at $1,069* $1,138" — the words before the rate, the bold rate with its mark, the struck rate after. */
.pmft-fp .pmft-fp-price { align-items: baseline; column-gap: 8px; }
.pmft-fp .pmft-fp-lead { font-size: 14px; font-weight: 500; color: var(--fp-muted); white-space: nowrap; }
.pmft-fp .pmft-fp-now { white-space: nowrap; }
/* A lone symbol (* on its own) is part of the bold rate: same size, weight and color. */
.pmft-fp .pmft-fp-mark { font-size: inherit; font-weight: inherit; letter-spacing: inherit; color: inherit; vertical-align: baseline; margin-left: 1px; }
.pmft-fp .pmft-fp-price s { font-size: 16px; }
.pmft-fp .is-row .pmft-fp-lead { font-size: 12.5px; }
.pmft-fp .is-row .pmft-fp-price s { font-size: 13px; }
.pmft-fp-modal .pmft-fp-room-price .pmft-fp-mark { font-size: inherit; font-weight: inherit; letter-spacing: inherit; color: inherit; vertical-align: baseline; margin-left: 1px; }
.pmft-fp-modal .pmft-fp-room-price s { font-size: .8em; font-weight: 400; color: var(--fp-muted); margin-left: 4px; }
.pmft-fp-modal .pmft-fp-room-base s { color: var(--fp-muted); }
@media (max-width: 640px) {
  .pmft-fp .is-row .pmft-fp-lead { flex: 0 0 100%; font-size: 12px; margin-bottom: -2px; }
  .pmft-fp .is-row .pmft-fp-price { column-gap: 6px; }
  .pmft-fp .is-row .pmft-fp-now { font-size: 18px; }
  .pmft-fp .is-row .pmft-fp-price.is-range .pmft-fp-now { font-size: 16px; }
  .pmft-fp .is-row .pmft-fp-price s { font-size: 12px; }
  .pmft-fp .is-row .pmft-fp-base { font-size: 11.5px; }
}

/* Text after the bold rate ("/installment*", a Price Label) is the same size and color as "Starting at", its * included;
   it is its own piece so it can wrap on narrow cards. A lone * is styled with the rate (above). */
.pmft-fp .pmft-fp-after { font-size: 14px; font-weight: 500; color: var(--fp-muted); white-space: nowrap; }
.pmft-fp .is-row .pmft-fp-after { font-size: 12.5px; }
/* Row: the name column never shrinks below its longest word; a long price line wraps instead ("/installment*" drops to its own line). */
@media (min-width: 641px) { .pmft-fp .pmft-fp-card.is-row { grid-template-columns: 148px minmax(min-content, 1fr) minmax(0, auto); } }
.pmft-fp .is-row h3.pmft-fp-name { overflow-wrap: break-word; }
.pmft-fp-modal .pmft-fp-room-price .pmft-fp-after { margin-left: 4px; font-size: 13px; font-weight: 500; color: var(--fp-muted); letter-spacing: 0; }
@media (max-width: 640px) { .pmft-fp .is-row .pmft-fp-after { font-size: 12px; } }
