/* WrightHaven — floorplan model template (P4-FP-PE)
   Shared shell + cream hero overrides + body sections.
   Used by PE model detail pages after rebrand.
*/

  body.whd-page header.elementor-location-header { display: none !important; }
  body.whd-page footer.elementor-location-footer { display: none !important; }
  body.whd-page .elementor-location-single { display: none !important; }
  body.whd-page {
    background: var(--surface-page, #FBF8F2);
    overflow-x: clip;
  }
  body.whd-page .fp-model,
  body.whd-page .whd-footer {
    overflow-x: clip;
    max-width: 100%;
  }


/* P4-FP-TMPL R1 — cream retheme of .wh-home-hero + rebuilt body sections */
body.whd-page .fp-model {
  padding-top: calc(var(--whd-logo-h, 96px) + var(--whd-header-py, 22px) * 2);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* --- Hero V5 override (keep markup / JS hooks) --- */
body.whd-page .wh-home-hero {
  --wh-hero-line: var(--line, #DDD6CC);
  --wh-hero-line-soft: #E8E2D8;
  --wh-hero-card-bg: var(--surface-card, #FBFAF7);
  --wh-hero-text: var(--text-heading, #1c1a16);
  --wh-hero-text-dim: var(--text-body, #3d3a34);
  background: var(--surface-page, #FBF8F2) !important;
  color: var(--text-heading, #1c1a16) !important;
  font-family: var(--font-sans, "Montserrat", "Poppins", sans-serif) !important;
  padding: clamp(1.25rem, 3vw, 2rem) var(--gutter, 24px) clamp(2rem, 4vw, 3rem) !important;
  border-radius: 0 !important;
}
body.whd-page .wh-home-hero__inner {
  max-width: var(--container-wide, 1280px);
  margin: 0 auto;
  gap: clamp(1.25rem, 3vw, 2rem);
}
body.whd-page .wh-home-hero__carousel {
  background: #e8e4da !important;
  border: 1px solid var(--line, #DDD6CC) !important;
  border-radius: 0 !important;
}
body.whd-page .wh-home-hero__slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
body.whd-page .wh-home-hero__slide--plan img {
  object-fit: contain !important;
  background: #fff !important;
}
body.whd-page .wh-home-hero__panel {
  background: var(--surface-card, #FBFAF7) !important;
  border: 1px solid var(--line, #DDD6CC) !important;
  border-radius: 0 !important;
  color: var(--text-heading, #1c1a16) !important;
  box-shadow: none !important;
}
body.whd-page .wh-home-hero__eyebrow {
  color: var(--whh-olive, #494F25) !important;
  font-family: var(--font-sans, "Montserrat", "Poppins", sans-serif) !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
}
body.whd-page .wh-home-hero__title {
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif) !important;
  font-weight: 500 !important;
  color: var(--text-heading, #1c1a16) !important;
  text-transform: none !important;
  letter-spacing: -0.02em !important;
}
body.whd-page .wh-home-hero__spec-value {
  color: var(--text-heading, #1c1a16) !important;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif) !important;
}
body.whd-page .wh-home-hero__spec-label {
  color: var(--text-muted, #6B6157) !important;
}
body.whd-page .wh-home-hero__btn {
  border-radius: 0 !important;
  font-family: var(--font-sans, "Montserrat", "Poppins", sans-serif) !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
}
body.whd-page .wh-home-hero__btn--primary,
body.whd-page .wh-home-hero__btn.wh-home-hero__btn--primary {
  background: var(--whh-olive, #494F25) !important;
  border: 1px solid var(--whh-olive, #494F25) !important;
  color: #F3EEE6 !important;
}
body.whd-page .wh-home-hero__btn--primary:hover,
body.whd-page .wh-home-hero__btn--primary.is-added {
  background: var(--whh-sage, #8A9A5B) !important;
  border-color: var(--whh-sage, #8A9A5B) !important;
  color: #1c1a16 !important;
}
body.whd-page .wh-home-hero__btn--secondary {
  background: transparent !important;
  border: 1px solid var(--whh-olive, #494F25) !important;
  color: var(--whh-olive, #494F25) !important;
}
body.whd-page .wh-home-hero__pdf {
  color: var(--whh-olive, #494F25) !important;
  font-family: var(--font-sans, "Montserrat", "Poppins", sans-serif) !important;
}
body.whd-page .wh-home-hero__tag {
  background: rgba(28, 26, 22, 0.72) !important;
  border-radius: 0 !important;
  font-family: var(--font-sans, "Montserrat", "Poppins", sans-serif) !important;
}
body.whd-page .wh-home-hero__arrow {
  border-radius: 0 !important;
  background: rgba(251, 250, 247, 0.92) !important;
  color: var(--text-heading, #1c1a16) !important;
  border: 1px solid var(--line, #DDD6CC) !important;
}

body.whd-page .wh-home-hero__dot.is-active,
body.whd-page .wh-home-hero__dots button.is-active {
  background: var(--whh-olive, #494F25) !important;
  border-color: var(--whh-olive, #494F25) !important;
}
body.whd-page .wh-home-hero__carousel:focus-visible {
  outline-color: var(--whh-olive, #494F25) !important;
}


body.whd-page .wh-home-hero__price {
  color: var(--whh-olive, #494F25) !important;
}
body.whd-page .wh-home-hero__dot.is-active,
body.whd-page .wh-home-hero__dots button.is-active {
  background: var(--whh-olive, #494F25) !important;
  border-color: var(--whh-olive, #494F25) !important;
}
/* Kill gold accents from base hero CSS */
body.whd-page .wh-home-hero__btn--primary,
body.whd-page .wh-home-hero [style*="9a8c57"],
body.whd-page .wh-home-hero [style*="9A8C57"] {
  --wh-gold: var(--whh-olive, #494F25);
}

/* Vertical rhythm for this template. Sections previously spaced themselves with
   ad-hoc bottom margins only (0 / 36 / 56 / 0 / 48px), so the hero butted
   straight into the area strip and the process card into the CTA band. */
body.whd-page {
  --fp-section-gap: clamp(3.5rem, 6vw, 5rem);        /* 56–80px between blocks */
  --fp-section-gap-tight: clamp(1.5rem, 3vw, 2.25rem); /* related blocks */
}

/* Shared content rail — same outer width as .wh-home-hero padding + inner */
body.whd-page .fp-model__areas,
body.whd-page .fp-model__features,
body.whd-page .fp-model__similar {
  max-width: var(--container-wide, 1440px);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter, 24px);
  padding-right: var(--gutter, 24px);
  box-sizing: border-box;
}

/* Plan areas */
body.whd-page .fp-model__areas {
  margin-top: var(--fp-section-gap);
  /* stays tight to the plan viewer — the strip summarises it */
  margin-bottom: var(--fp-section-gap-tight);
  display: grid;
  /* The trailing `auto` column held a duplicate "Download this plan (PDF)"
     button — the same file was also offered in the hero card and in the plan
     header, three times inside one viewport. The strip is now pure data, so
     the columns just fit the area tiles (pages carry one or two). */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px 16px;
  align-items: center;
}
@media (max-width: 720px) {
  /* auto-fit here too: a hard 1fr 1fr left a lone area tile at half width
     with an empty column beside it (e.g. /floorplans/the-monterey/). */
  body.whd-page .fp-model__areas { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}
body.whd-page .fp-model__area {
  border: 1px solid var(--line, #DDD6CC);
  background: var(--surface-card, #FBFAF7);
  padding: 16px 18px;
}
body.whd-page .fp-model__area-label {
  display: block;
  font-family: var(--font-sans, "Montserrat", "Poppins", sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--whh-olive, #494F25);
  margin-bottom: 4px;
}
body.whd-page .fp-model__area-value {
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--text-heading, #1c1a16);
  line-height: 1.1;
}
body.whd-page .fp-model__area-value span {
  font-size: 0.85rem;
  font-family: var(--font-sans, "Montserrat", "Poppins", sans-serif);
  font-weight: 500;
  color: var(--text-muted, #6B6157);
  margin-left: 4px;
}
body.whd-page .fp-model__areas-pdf .whd-btn {
  border-radius: 0;
  text-decoration: none;
  width: 100%;
  justify-content: center;
}

/* Exterior colour packages */
body.whd-page .fp-model__colours {
  margin: 0 auto var(--fp-section-gap);
  max-width: var(--container-wide, 1280px);
  padding: 0 var(--gutter, 24px);
}
body.whd-page .fp-model__colours-head {
  max-width: 38rem;
  margin-bottom: 1.35rem;
}
body.whd-page .fp-model__colours-head .whd-h2 {
  margin: 10px 0 0.55rem;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  color: var(--text-heading, #1c1a16);
  line-height: 1.15;
}
body.whd-page .fp-model__colours-head .whd-body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-body, #3d3a34);
}
body.whd-page .fp-model__colour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 1.15rem;
}
body.whd-page .fp-model__colour-card {
  background: var(--surface-card, #FBFAF7);
  border: 1px solid var(--line, #DDD6CC);
  display: flex;
  flex-direction: column;
}
body.whd-page .fp-model__colour-media {
  margin: 0;
  background: #fff;
  border-bottom: 1px solid var(--line, #DDD6CC);
}
body.whd-page .fp-model__colour-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
}
body.whd-page .fp-model__colour-cap {
  padding: 0.85rem 1rem 0.15rem;
}
body.whd-page .fp-model__colour-name {
  margin: 0;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--text-heading, #1c1a16);
}
body.whd-page .fp-model__colour-tag {
  margin: 0.15rem 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--whh-olive, #494F25);
}
body.whd-page .fp-model__colour-swatches {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1rem 1.05rem;
  display: grid;
  gap: 0.55rem;
}
body.whd-page .fp-model__colour-swatches li {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}
body.whd-page .fp-model__colour-chip {
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.12rem;
  outline: 1px solid rgba(0, 0, 0, 0.12);
  outline-offset: -1px;
}
body.whd-page .fp-model__colour-copy {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}
body.whd-page .fp-model__colour-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted, #6B6157);
}
body.whd-page .fp-model__colour-value {
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--text-heading, #1c1a16);
}
body.whd-page .fp-model__colour-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.15rem 0 0;
}
body.whd-page .fp-model__colour-actions .whd-btn {
  text-decoration: none;
  border-radius: 0;
}

/* Features */
body.whd-page .fp-model__features {
  margin-top: 0;
  margin-bottom: var(--fp-section-gap);
}
body.whd-page .fp-model__features-head {
  margin-bottom: 1.25rem;
  max-width: 28rem;
}
body.whd-page .fp-model__features-head .whd-h2 {
  margin: 10px 0 0;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  color: var(--text-heading, #1c1a16);
  line-height: 1.15;
}
body.whd-page .fp-model__features-lead {
  margin: -0.35rem 0 1.35rem;
  max-width: 44rem;
  font-family: var(--font-sans, "Montserrat", "Poppins", sans-serif);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-body, #3d3a34);
}
body.whd-page .fp-model__features-close {
  margin: 1.15rem 0 0;
  max-width: 46rem;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--text-heading, #1c1a16);
}
body.whd-page .fp-model__features-note {
  margin: 0.45rem 0 0;
  font-family: var(--font-sans, "Montserrat", "Poppins", sans-serif);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted, #6E594C);
}
body.whd-page .fp-model__feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}
@media (max-width: 760px) {
  body.whd-page .fp-model__feature-grid { grid-template-columns: 1fr; }
}
body.whd-page .fp-model__feature {
  background: var(--surface-card, #FBFAF7);
  border: 1px solid var(--line, #DDD6CC);
  padding: 20px 18px;
}
body.whd-page .fp-model__feature h3 {
  margin: 0 0 0.9rem;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-weight: 500;
  font-size: clamp(1.65rem, 2.2vw, 1.9rem);
  line-height: 1.15;
  color: var(--text-heading, #1c1a16);
}
body.whd-page .fp-model__feature ul {
  margin: 0;
  padding: 0 0 0 1.15rem;
  font-family: var(--font-sans, "Montserrat", "Poppins", sans-serif);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-body, #3d3a34);
}
body.whd-page .fp-model__feature li + li { margin-top: 0.85rem; }

/* Olive CTA */
body.whd-page .fp-model__cta {
  background: var(--whh-olive, #494F25);
  color: #FBFAF7;
  padding: clamp(2rem, 4vw, 3rem) var(--gutter, 24px);
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
body.whd-page .fp-model__cta-inner { max-width: 36rem; margin: 0 auto; }
body.whd-page .fp-model__cta .whd-h2 {
  margin: 0;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-weight: 500;
  font-size: clamp(1.65rem, 2.6vw, 2.1rem);
  color: #FBFAF7;
}
body.whd-page .fp-model__cta p {
  margin: 12px auto 0;
  font-family: var(--font-sans, "Montserrat", "Poppins", sans-serif);
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(251,250,247,0.9);
  max-width: 40ch;
}
body.whd-page .fp-model__cta .whd-btn {
  margin-top: 1.25rem;
  border-radius: 0;
  text-decoration: none;
}

/* Similar plans */
body.whd-page .fp-model__similar {
  margin-top: var(--fp-section-gap);
  margin-bottom: var(--fp-section-gap);
}
body.whd-page .fp-model__similar-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 1.25rem;
}
body.whd-page .fp-model__similar-head .whd-h2 {
  margin: 10px 0 0;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-weight: 500;
  font-size: clamp(1.65rem, 2.6vw, 2.1rem);
  color: var(--text-heading, #1c1a16);
}
body.whd-page .fp-model__similar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 860px) {
  body.whd-page .fp-model__similar-grid { grid-template-columns: 1fr; }
}
body.whd-page .fp-model__card {
  display: flex;
  flex-direction: column;
  background: var(--surface-card, #FBFAF7);
  border: 1px solid var(--line, #DDD6CC);
  text-decoration: none;
  color: inherit;
  border-radius: 0;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
body.whd-page .fp-model__card:hover {
  border-color: var(--whh-olive, #494F25);
}
body.whd-page .fp-model__card-media {
  aspect-ratio: 16 / 10;
  background: #e8e4da;
  overflow: hidden;
}
body.whd-page .fp-model__card-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}
body.whd-page .fp-model__card-body {
  padding: 16px 18px 18px;
}
body.whd-page .fp-model__card-type {
  display: block;
  font-family: var(--font-sans, "Montserrat", "Poppins", sans-serif);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--whh-olive, #494F25);
  margin-bottom: 6px;
}
body.whd-page .fp-model__card-name {
  margin: 0;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--text-heading, #1c1a16);
}
body.whd-page .fp-model__card-meta {
  margin: 8px 0 0;
  font-family: var(--font-sans, "Montserrat", "Poppins", sans-serif);
  font-size: 0.85rem;
  color: var(--text-body, #3d3a34);
}
body.whd-page .fp-model__card-action {
  margin-top: 12px;
  font-family: var(--font-sans, "Montserrat", "Poppins", sans-serif);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--whh-olive, #494F25);
}


/* —— Custom home journey on floor plan model pages (T12) ——
   Outer shell matches other body rails (areas / plans / features / similar):
   max-width: container-wide + horizontal gutter padding.
   Card chrome lives on .fp-process__inner so the border lines up with
   feature cards / plan stage, not wider than them. */
body.whd-page .fp-process {
  margin: var(--fp-section-gap) auto var(--fp-section-gap);
  padding: 0 var(--gutter, 24px);
  max-width: var(--container-wide, 1440px);
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: none;
}
body.whd-page .fp-process__inner {
  width: 100%;
  box-sizing: border-box;
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2rem);
  background: var(--surface-raised, #FBFAF7);
  border: 1px solid var(--border-hairline, rgba(28, 26, 23, 0.1));
}
body.whd-page .fp-process__head {
  max-width: 40rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}
body.whd-page .fp-process__head .whd-h2 {
  margin: 10px 0 0;
  max-width: 16ch;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}
body.whd-page .fp-process__lead {
  margin: 12px 0 0;
  max-width: 48ch;
  font-family: var(--font-sans, "Montserrat", "Poppins", sans-serif);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-body, #3d3a34);
}
body.whd-page .fp-process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
body.whd-page .fp-process__step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px 18px;
  background: var(--surface-page, #FBF8F2);
  border: 1px solid var(--border-hairline, rgba(28,26,23,0.1));
  min-height: 100%;
  box-sizing: border-box;
}
body.whd-page .fp-process__num {
  font-family: var(--font-sans, "Montserrat", "Poppins", sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--whh-olive, #494F25);
}
body.whd-page .fp-process__title {
  margin: 0;
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--text-heading, #1c1a16);
}
body.whd-page .fp-process__detail {
  margin: 0;
  flex: 1;
  font-family: var(--font-sans, "Montserrat", "Poppins", sans-serif);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-body, #3d3a34);
}
body.whd-page .fp-process__phase {
  margin-top: 2px;
  font-family: var(--font-sans, "Montserrat", "Poppins", sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted, #6b6560);
}
body.whd-page .fp-process__cta {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 1100px) {
  body.whd-page .fp-process__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  body.whd-page .fp-process__steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  body.whd-page .fp-process__steps { grid-template-columns: 1fr; }
}
