@font-face {
  font-family: "Neue Haas Grotesk Text Pro";
  src: local("Neue Haas Grotesk Text Pro"), local("NHaasGroteskTXPro-55Rg");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Text Pro";
  src: local("Neue Haas Grotesk Text Pro Medium"), local("NHaasGroteskTXPro-65Md");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Display Pro";
  src: local("Neue Haas Grotesk Display Pro"), local("NeueHaasDisplay-Roman");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #252621;
  --muted: #6f716b;
  --line: #dcded8;
  --soft-line: #e9e9e5;
  --paper: #ffffff;
  --stone: #f3f0ea;
  --accent: #2b2d29;
  --accent-deep: #151613;
  --panel-width: clamp(390px, 31vw, 520px);
  --header-height: 64px;
  --summary-height: 78px;
  --font-text: "Neue Haas Grotesk Text Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Neue Haas Grotesk Display Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-family: var(--font-text);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

button,
input,
select {
  font-family: var(--font-text);
  font-size: inherit;
}

.panel-intro h1,
.modal-content h2 {
  font-family: var(--font-display);
  font-weight: 400;
}

.section-heading h2,
.plan-heading p,
.summary-home strong,
.price-button strong,
.stats strong,
.model-card-top strong,
.palette-card strong {
  font-family: var(--font-text);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  color: inherit;
  background: none;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible + .toggle {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.app {
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.availability-bar {
  min-height: 34px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #26312c;
  background: linear-gradient(90deg, #dbe6d9 0%, #e9e2cc 51%, #dbe6d9 100%);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.text-link {
  padding: 2px 0;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
}

.configurator {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--panel-width);
  overflow: hidden;
}

.visual-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: #d9d6ce;
  isolation: isolate;
}

.stage-header {
  position: relative;
  z-index: 40;
  min-height: var(--header-height);
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 var(--header-height);
  background: #fff;
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  width: 148px;
  height: auto;
  display: block;
}

.stage-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.region-button { display: none; }

.icon-button,
.menu-button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  transition: background 160ms ease, transform 160ms ease;
}

.icon-button:hover,
.menu-button:hover {
  background: #f4f4f2;
  transform: translateY(-1px);
}

.icon-button svg {
  width: 19px;
  height: 19px;
}

.menu-button {
  gap: 5px;
  align-content: center;
}

.menu-button span {
  width: 16px;
  height: 1.5px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.view-tabs {
  position: absolute;
  z-index: 10;
  top: 21px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px;
  display: flex;
  gap: 2px;
  max-width: calc(100% - 32px);
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(26, 27, 23, 0.32);
  backdrop-filter: blur(16px);
  scrollbar-width: none;
}
.view-tabs::-webkit-scrollbar { display: none; }

.view-tab {
  min-width: 82px;
  padding: 9px 15px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 600;
  transition: color 160ms ease, background 160ms ease;
}

.view-tab:hover {
  color: #fff;
}

.view-tab.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.scene-container,
.scene {
  position: absolute;
  inset: 0;
}

.scene {
  margin: 0;
  visibility: hidden;
  opacity: 0;
  transform: scale(1.018);
  transition: opacity 450ms ease, transform 700ms cubic-bezier(.2,.8,.2,1), visibility 450ms;
}

.scene.active {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.scene img,
.scene video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: filter 500ms ease, transform 8s ease;
}

.scene.active img,
.scene.active video {
  transform: scale(1.014);
}

.film-scene { background: #11120f; }
.film-label {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 24px;
  padding: 7px 10px;
  border-radius: 4px;
  color: #fff;
  background: rgba(19,20,17,.52);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .04em;
}

.exterior-scene[data-finish="natural"] img { filter: none; }
.exterior-scene[data-finish="black"] img { filter: saturate(.2) brightness(.57) contrast(1.15); }
.exterior-scene[data-scene="exterior"][data-finish="black"] #exteriorHeroImage { filter: none; }

.image-wash,
.interior-tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: background 500ms ease, opacity 500ms ease;
}

.image-wash {
  background: linear-gradient(135deg, rgba(17, 28, 25, 0.08), transparent 44%);
  mix-blend-mode: color;
  opacity: 0;
}

.exterior-scene[data-finish="black"] .image-wash { background: rgba(20, 21, 19, .32); opacity: 1; }
.exterior-scene[data-scene="exterior"][data-finish="black"] .image-wash { opacity: 0; }

.scene[data-scene="living"][data-palette="norm"] img,
.scene[data-scene="kitchen"][data-palette="norm"] img { filter: none; }
.scene[data-scene="living"][data-palette="gallery"] img,
.scene[data-scene="kitchen"][data-palette="gallery"] img { filter: saturate(.62) brightness(1.08) contrast(.96); }
.scene[data-scene="living"][data-palette="studio"] img,
.scene[data-scene="kitchen"][data-palette="studio"] img { filter: saturate(.7) brightness(.7) contrast(1.08) sepia(.12); }
.scene[data-scene="living"][data-palette="gallery"] .interior-tint,
.scene[data-scene="kitchen"][data-palette="gallery"] .interior-tint { background: rgba(226, 232, 229, .12); }
.scene[data-scene="living"][data-palette="studio"] .interior-tint,
.scene[data-scene="kitchen"][data-palette="studio"] .interior-tint { background: rgba(48, 33, 25, .16); mix-blend-mode: multiply; }

.feature-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  font-size: 12px;
}

.feature-pin::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 15px;
  width: 1px;
  height: 54px;
  bottom: 29px;
  background: rgba(255, 255, 255, 0.64);
}

.feature-pin span {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  display: block;
  background: rgba(24, 25, 22, .34);
  backdrop-filter: blur(8px);
  color: currentColor;
  font-size: 0;
  line-height: 0;
  transition: transform 180ms ease, background 180ms ease;
}

.feature-pin span::before,
.feature-pin span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.feature-pin span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.feature-pin:hover span {
  transform: scale(1.08);
  background: rgba(255,255,255,.92);
  color: var(--ink);
}

.feature-pin strong { font-weight: 600; }
.pin-roof { top: 37%; left: 24%; }
.pin-glazing { top: 58%; left: 58%; }
.pin-modular { top: 74%; left: 19%; }
.pin-glazing::before { top: 29px; bottom: auto; height: 47px; }

.carousel-controls {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(27, 28, 24, .38);
  backdrop-filter: blur(12px);
  transition: background 160ms ease, transform 160ms ease;
}

.carousel-arrow:hover { background: rgba(27, 28, 24, .64); transform: scale(1.04); }
.carousel-arrow svg { width: 19px; height: 19px; }

.carousel-dots {
  height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(27, 28, 24, .38);
  backdrop-filter: blur(12px);
}

.dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.52);
  transition: width 180ms ease, background 180ms ease;
}

.dot.active { width: 23px; border-radius: 999px; background: #fff; }

.drag-hint {
  position: absolute;
  z-index: 10;
  bottom: 27px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .9);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
}

.drag-hint span { width: 20px; height: 1px; background: currentColor; }

.plan-scene {
  padding: 100px 5vw 72px;
  display: grid;
  place-items: center;
  background: #e8e5df;
}

.plan-wrap {
  width: min(920px, 95%);
  max-height: 100%;
  padding: 24px 30px 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 24px 80px rgba(43, 43, 38, .12);
}

.plan-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.plan-heading p { margin: 0; font-size: 21px; font-weight: 700; }
.plan-heading > span { color: var(--muted); font-size: 12px; }
.floorplan { width: 100%; max-height: 50vh; display: block; margin: 8px auto 0; }
.plan-legend { display: flex; justify-content: center; gap: 24px; color: var(--muted); font-size: 11px; }
.plan-legend span { display: flex; align-items: center; gap: 6px; }
.plan-legend i { width: 7px; height: 7px; border-radius: 50%; background: #b99570; }
.plan-legend span:nth-child(2) i { background: #707d7d; }
.plan-legend span:nth-child(3) i { background: #9e9a90; }
.plan-legend small { margin-left: auto; color: #969890; font-size: 9px; }

.configuration-panel {
  position: relative;
  z-index: 20;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: var(--paper);
  box-shadow: -8px 0 32px rgba(37, 38, 33, .07);
}

.panel-scroll {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 30px 28px 50px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #c4c7c0 transparent;
}

.panel-scroll::-webkit-scrollbar { width: 6px; }
.panel-scroll::-webkit-scrollbar-track { background: transparent; }
.panel-scroll::-webkit-scrollbar-thumb { background: #c4c7c0; border-radius: 99px; }

.panel-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.eyebrow {
  margin: 0 0 6px;
  color: #777a74;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.panel-intro h1 {
  margin: 0;
  font-size: clamp(34px, 3vw, 47px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.045em;
}

.location-button {
  margin-bottom: 1px;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid var(--ink);
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.location-button svg { width: 14px; height: 14px; }

.step-nav {
  margin-top: 29px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
}

.step-nav button {
  position: relative;
  padding: 0 3px 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #8a8c86;
  font-size: 10px;
  font-weight: 600;
  text-align: left;
  transition: color 160ms ease;
}

.step-nav button span { font-size: 8px; letter-spacing: .12em; }
.step-nav button::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px; background: var(--ink); transition: right 200ms ease; }
.step-nav button.active { color: var(--ink); }
.step-nav button.active::after { right: 0; }

.payment-tabs {
  margin-top: 19px;
  padding: 3px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 8px;
  background: #f1f2ef;
}

.payment-tabs button {
  padding: 9px;
  border-radius: 6px;
  color: #73756e;
  font-size: 11px;
  font-weight: 600;
}

.payment-tabs button.active { color: var(--ink); background: #fff; box-shadow: 0 2px 10px rgba(30,31,27,.07); }

.stats {
  margin-top: 15px;
  padding: 16px 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 7px;
  background: #f5f5f2;
}

.stats div {
  position: relative;
  padding: 0 9px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stats div + div::before { content: ""; position: absolute; top: 2px; bottom: 2px; left: 0; width: 1px; background: #dedfd9; }
.stats strong { font-size: 19px; font-weight: 600; letter-spacing: -.03em; }
.stats span { color: var(--muted); font-size: 9px; }

.option-section {
  padding: 34px 0 30px;
  border-bottom: 1px solid var(--soft-line);
  scroll-margin-top: 8px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.section-heading h2 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.info-button { padding: 2px 0; border-bottom: 1px solid currentColor; color: var(--muted); font-size: 10px; }
.selected-price { margin: 0; color: var(--muted); font-size: 11px; }
.selected-name { margin: 18px 0 13px; font-size: 12px; font-weight: 600; }

.model-options { margin-top: 18px; display: grid; gap: 9px; }
.model-card {
  position: relative;
  width: 100%;
  padding: 15px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border: 1px solid #cfd1cb;
  border-radius: 5px;
  text-align: left;
  transition: border 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.model-card:hover { border-color: #878b83; transform: translateY(-1px); }
.model-card.selected { border: 2px solid var(--ink); padding: 14px 15px 13px; box-shadow: 0 4px 14px rgba(35,36,31,.06); }
.model-card.selected::after { content: ""; position: absolute; top: 15px; right: 15px; width: 7px; height: 7px; border: 4px solid #fff; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.model-card-top { display: flex; justify-content: space-between; padding-right: 22px; font-size: 12px; }
.model-card-top strong { font-size: 13px; }
.model-card-bottom { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.model-card-bottom em { padding: 4px 7px; border-radius: 999px; color: #4f685e; background: #e6eee9; font-size: 8px; font-style: normal; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

.size-options { margin-top: 18px; display: grid; gap: 8px; }
.size-card {
  position: relative;
  width: 100%;
  min-height: 66px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #d4d6d0;
  border-radius: 5px;
  text-align: left;
  transition: border 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
.size-card:hover { border-color: #878b83; transform: translateY(-1px); }
.size-card.selected { padding: 12px 14px; border: 2px solid var(--ink); box-shadow: 0 4px 14px rgba(35,36,31,.06); }
.size-card > span { display: flex; flex-direction: column; gap: 5px; }
.size-card strong { font-size: 13px; font-weight: 500; }
.size-card small { color: var(--muted); font-size: 9px; }
.size-card em { color: var(--muted); font-size: 10px; font-style: normal; white-space: nowrap; }
.size-card.selected em { color: var(--ink); }

.swatch-row { display: flex; gap: 13px; }
.swatch { width: 43px; height: 43px; padding: 3px; border: 1px solid transparent; border-radius: 50%; transition: transform 150ms ease, border 150ms ease; }
.swatch:hover { transform: scale(1.06); }
.swatch.selected { border-color: var(--ink); }
.swatch span { width: 100%; height: 100%; display: block; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 1px 5px rgba(0,0,0,.2); }
.swatch.natural span { background: linear-gradient(110deg, #7b4e30, #c49165 46%, #6a442e); }
.swatch.black span { background: linear-gradient(110deg, #171918, #454642); }

.detail-row {
  width: 100%;
  margin-top: 21px;
  padding: 14px 0 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--soft-line);
  color: var(--muted);
  font-size: 10px;
  text-align: left;
}
.detail-row svg { width: 14px; height: 14px; }

.palette-options { margin-top: 18px; display: grid; gap: 8px; }
.palette-card {
  width: 100%;
  padding: 9px;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid #d4d6d0;
  border-radius: 6px;
  text-align: left;
  transition: border 150ms ease, background 150ms ease;
}
.palette-card:hover { border-color: #969991; }
.palette-card.selected { border: 2px solid var(--ink); padding: 8px; background: #fbfbf9; }
.palette-card > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.palette-card strong { font-size: 12px; }
.palette-card small { color: var(--muted); font-size: 9px; }
.palette-preview { height: 49px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; overflow: hidden; border-radius: 3px; }
.palette-preview i { display: block; }
.norm-preview i:nth-child(1) { background: #a67955; }
.norm-preview i:nth-child(2) { background: #e2d9cb; }
.norm-preview i:nth-child(3) { background: #aaa392; }
.gallery-preview i:nth-child(1) { background: #cec4b4; }
.gallery-preview i:nth-child(2) { background: #f0f0eb; }
.gallery-preview i:nth-child(3) { background: #a9afb0; }
.studio-preview i:nth-child(1) { background: #433229; }
.studio-preview i:nth-child(2) { background: #9d7564; }
.studio-preview i:nth-child(3) { background: #292b29; }

.upgrade-list { margin-top: 18px; display: grid; }
.upgrade-row {
  position: relative;
  min-height: 70px;
  padding: 13px 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto 38px;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--soft-line);
  cursor: pointer;
}
.upgrade-row:last-child { border-bottom: 1px solid var(--soft-line); }
.upgrade-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #f0f1ed; }
.upgrade-icon svg { width: 18px; height: 18px; }
.upgrade-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.upgrade-copy strong { font-size: 11px; }
.upgrade-copy small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.upgrade-price { color: var(--muted); font-size: 9px; white-space: nowrap; }
.upgrade-row input { position: absolute; opacity: 0; pointer-events: none; }
.toggle { position: relative; width: 36px; height: 21px; border-radius: 99px; background: #d7d8d3; transition: background 180ms ease; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.16); transition: transform 180ms ease; }
.upgrade-row input:checked + .toggle { background: var(--accent); }
.upgrade-row input:checked + .toggle::after { transform: translateX(15px); }
.wellness-list { gap: 8px; }
.wellness-list .featured-upgrade { min-height: 78px; padding: 12px; border: 1px solid #dfe1db; border-radius: 6px; background: #f7f7f4; }
.wellness-list .featured-upgrade:last-child { border-bottom: 1px solid #dfe1db; }
.wellness-list .upgrade-icon { color: #fff; background: var(--accent); }
.wellness-list .upgrade-copy small { overflow: visible; line-height: 1.35; text-overflow: initial; white-space: normal; }
.subsection-label { margin: 27px 0 -6px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }

.impact-card { margin-top: 16px; padding: 14px; display: flex; gap: 11px; border-radius: 6px; color: #355347; background: #e7eee9; }
.impact-card svg { width: 22px; height: 22px; flex: 0 0 auto; }
.impact-card div { display: flex; flex-direction: column; gap: 4px; }
.impact-card strong { font-size: 10px; }
.impact-card span { font-size: 8px; line-height: 1.4; }
.included-card { margin-top: 17px; padding: 14px; display: flex; flex-wrap: wrap; gap: 7px; border-radius: 6px; color: #42433f; background: #f1f1ed; }
.included-card p { width: 100%; margin: 0 0 3px; font-size: 10px; font-weight: 700; }
.included-card span { padding: 5px 7px; border: 1px solid #d5d6d0; border-radius: 999px; color: var(--muted); background: #fff; font-size: 8px; }
.panel-disclaimer { margin: 24px 0 10px; color: #92948e; font-size: 8px; line-height: 1.55; }

.proposal-section {
  margin-top: 18px;
  padding: 30px 24px 34px;
  border: 1px solid #dedfda;
  border-radius: 8px;
  background: #fff;
}
.proposal-kicker { margin: 0 0 9px; color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.proposal-section > h2 { margin: 0; font-family: var(--font-display); font-size: 29px; font-weight: 400; line-height: 1.04; letter-spacing: -.035em; }
.proposal-availability { margin: 17px 0 5px; font-size: 15px; font-weight: 600; }
.proposal-location { max-width: 100%; padding: 3px 0; overflow: hidden; border-bottom: 1px solid currentColor; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.proposal-pricing-toggle {
  width: 100%;
  min-height: 48px;
  margin-top: 20px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  font-size: 11px;
  font-weight: 600;
}
.proposal-pricing-toggle svg { width: 17px; height: 17px; transition: transform 180ms ease; }
.proposal-pricing-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.proposal-pricing[hidden] { display: none; }
.proposal-pricing { padding: 14px 0 3px; }
.proposal-pricing ul { margin: 0; padding: 0; list-style: none; }
.proposal-pricing li { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #4d4f49; font-size: 10px; }
.proposal-pricing li span { min-width: 0; }
.proposal-pricing li strong { flex: 0 0 auto; font-weight: 500; }
.proposal-total { margin-top: 9px; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #cfd1cb; font-size: 12px; font-weight: 600; }
.proposal-payment { padding: 26px 0 22px; border-bottom: 1px solid var(--soft-line); }
.proposal-payment > div,
.proposal-due > div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.proposal-payment strong,
.proposal-due strong { font-size: 18px; font-weight: 600; }
.proposal-payment b,
.proposal-due b { font-size: 22px; font-weight: 600; letter-spacing: -.025em; white-space: nowrap; }
.proposal-payment p { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.proposal-due { padding: 23px 0; }
.proposal-due > span { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; }
.proposal-legal { margin: 2px 0 21px; color: var(--muted); font-size: 9px; line-height: 1.55; }
.proposal-submit {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ink);
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: background 160ms ease, transform 160ms ease;
}
.proposal-submit:hover { background: #000; transform: translateY(-1px); }
.proposal-email-note { margin: 10px 0 0; color: #8d8f89; font-size: 8px; line-height: 1.45; text-align: center; }

.summary-bar {
  position: relative;
  z-index: 30;
  height: var(--summary-height);
  min-height: var(--summary-height);
  padding: 0 24px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #e4e5df;
  background: rgba(255,255,255,.97);
  box-shadow: 0 -10px 30px rgba(33,34,29,.06);
  backdrop-filter: blur(14px);
  transition: height 220ms ease, min-height 220ms ease, padding 220ms ease, opacity 160ms ease, transform 220ms ease;
}

.summary-home { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.summary-home strong { font-size: 17px; }
.summary-home > span { max-width: 55vw; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.summary-actions { display: flex; align-items: center; gap: 18px; }
.price-button { min-width: 170px; padding: 4px 0; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 8px; text-align: left; }
.price-button > span { grid-column: 1; color: var(--muted); font-size: 9px; }
.price-button strong { grid-column: 1; font-size: 19px; letter-spacing: -.025em; }
.price-button svg { grid-column: 2; grid-row: 1 / 3; width: 17px; height: 17px; }
.primary-button { min-width: 190px; padding: 14px 20px; border-radius: 5px; color: #fff; background: var(--accent); font-size: 11px; font-weight: 700; transition: background 160ms ease, transform 160ms ease; }
.primary-button:hover { background: var(--accent-deep); transform: translateY(-1px); }
.primary-button:active { transform: translateY(0); }

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: calc(var(--summary-height) + 18px);
  padding: 11px 16px;
  border-radius: 99px;
  color: #fff;
  background: rgba(32, 34, 29, .92);
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  font-size: 10px;
  font-weight: 600;
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.modal {
  width: min(680px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 40px));
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 30px 100px rgba(20,20,18,.28);
  overflow: hidden;
}
.modal::backdrop { background: rgba(25, 26, 22, .52); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in 240ms cubic-bezier(.2,.8,.2,1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-close { position: absolute; z-index: 2; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #f0f1ed; }
.modal-close svg { width: 18px; height: 18px; }
.modal-content { max-height: min(720px, calc(100vh - 40px)); padding: 42px 38px 36px; overflow-y: auto; }
.modal-kicker { margin: 0 0 10px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.modal-content h2 { margin: 0 38px 13px 0; font-size: 30px; line-height: 1.05; letter-spacing: -.035em; }
.modal-content > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.dialog-list { margin: 24px 0 0; padding: 0; list-style: none; }
.dialog-list li { padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--soft-line); font-size: 11px; }
.dialog-list li span { color: var(--muted); }
.dialog-list li.total { padding-top: 19px; font-size: 16px; font-weight: 700; }
.dialog-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dialog-grid div { padding: 15px 10px; border-radius: 6px; text-align: center; background: #f3f3ef; }
.dialog-grid strong { display: block; margin-bottom: 4px; font-size: 15px; }
.dialog-grid span { color: var(--muted); font-size: 8px; }
.success-mark { width: 54px; height: 54px; margin-bottom: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--accent); font-size: 24px; }
.modal-primary { width: 100%; margin-top: 26px; padding: 14px; border-radius: 5px; color: #fff; background: var(--accent); font-size: 11px; font-weight: 700; }
.location-form { margin-top: 25px; display: grid; gap: 14px; }
.location-grid { display: grid; grid-template-columns: 1.1fr 1.35fr .65fr; gap: 10px; }
.location-field { display: grid; gap: 7px; }
.location-field > span { color: #535550; font-size: 10px; font-weight: 500; }
.location-field input,
.location-field select {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid #cfd1cc;
  border-radius: 5px;
  color: var(--ink);
  background: #fff;
  outline: none;
}
.location-field input:focus,
.location-field select:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.location-field input::placeholder { color: #a2a49e; }
.location-submit { margin-top: 5px; }
.location-clear { justify-self: center; padding: 3px 0; border-bottom: 1px solid currentColor; color: #6d6f69; font-size: 10px; }
.privacy-note { margin: -2px 0 0; color: #8d8f89; font-size: 9px; line-height: 1.45; text-align: center; }
.menu-actions { margin-top: 24px; display: grid; gap: 8px; }
.menu-action {
  width: 100%;
  min-height: 66px;
  padding: 11px 14px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #dedfda;
  border-radius: 7px;
  text-align: left;
  background: #f7f7f4;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.menu-action:hover { border-color: #a9aba5; background: #fff; transform: translateY(-1px); }
.menu-action:disabled { cursor: not-allowed; opacity: .48; transform: none; }
.menu-action-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  font-size: 16px;
  line-height: 1;
}
.menu-action-copy { min-width: 0; display: grid; gap: 4px; }
.menu-action-copy strong { font-size: 13px; font-weight: 600; }
.menu-action-copy small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.menu-action-arrow { color: #7d7f79; font-size: 20px; }
.menu-section-label { margin-top: 27px !important; color: #848680 !important; font-size: 9px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.menu-utility-grid { margin-top: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.menu-utility-grid button { min-width: 0; min-height: 74px; padding: 13px; border: 1px solid #dedfda; border-radius: 7px; display: grid; align-content: space-between; gap: 8px; text-align: left; }
.menu-utility-grid button:hover { border-color: #9c9e98; background: #f8f8f5; }
.menu-utility-grid strong { font-size: 11px; font-weight: 600; }
.menu-utility-grid span { overflow: hidden; color: var(--muted); font-size: 8px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.menu-links { margin-top: 10px; display: grid; }
.menu-links a,
.menu-links button {
  min-height: 45px;
  padding: 0 2px;
  border-top: 1px solid var(--soft-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  font-size: 12px;
}
.menu-links a:hover,
.menu-links button:hover { color: var(--accent); }
.menu-reset { margin-top: 22px; padding: 3px 0; border-bottom: 1px solid currentColor; color: #777972; font-size: 9px; }
.gallery-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: 6px; background: #f2f2ee; }
.gallery-grid img { width: 100%; height: 165px; display: block; object-fit: cover; }
.gallery-grid figcaption { padding: 8px 10px; color: var(--muted); font-size: 9px; }

.price-pulse { animation: price-pulse 320ms ease; }
@keyframes price-pulse { 50% { color: var(--accent); transform: translateY(-2px); } }

@media (max-width: 1100px) {
  :root { --panel-width: 400px; }
  .feature-pin strong { display: none; }
  .feature-pin::before { display: none; }
  .pin-roof { top: 35%; left: 29%; }
  .pin-glazing { top: 60%; left: 62%; }
  .pin-modular { top: 76%; left: 21%; }
  .view-tab { min-width: auto; padding-inline: 12px; }
  .drag-hint { display: none; }
}

@media (max-width: 959px) {
  body { overflow: auto; }
  .app { height: auto; min-height: 100svh; overflow: visible; }
  .availability-bar { min-height: 32px; padding-inline: 16px; font-size: 9px; }
  .availability-bar .text-link { min-height: 32px; display: inline-flex; align-items: center; flex: 0 0 auto; font-size: 9px; }
  .configurator { display: block; }
  .visual-stage { position: sticky; z-index: 4; top: 0; height: clamp(320px, 49svh, 460px); min-height: 320px; }
  .configurator { overflow: visible; }
  .configuration-panel { z-index: 5; min-height: 60svh; height: auto; margin-top: -20px; overflow: visible; border-radius: 20px 20px 0 0; box-shadow: 0 -12px 36px rgba(31,32,28,.09); }
  .panel-scroll { height: auto; padding: 30px 20px 112px; overflow: visible; }
  .stage-header { padding: 12px 16px; min-height: 64px; }
  .brand-logo { width: 104px; }
  .stage-actions { gap: 2px; }
  .icon-button { display: none; }
  .region-button {
    min-width: 48px;
    height: 44px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
  }
  .region-button svg { width: 18px; height: 18px; }
  .menu-button { width: 44px; height: 44px; }
  .view-tabs, .drag-hint, .feature-pin { display: none; }
  .carousel-controls { bottom: 34px; display: flex; gap: 8px; }
  .carousel-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--ink);
    background: rgba(255,255,255,.84);
    box-shadow: 0 4px 16px rgba(30,31,27,.1);
  }
  .carousel-dots { height: 44px; padding: 0 13px; gap: 8px; background: rgba(255,255,255,.84); box-shadow: 0 4px 16px rgba(30,31,27,.1); }
  .dot { width: 7px; height: 7px; background: #b8bab5; }
  .dot.active { width: 7px; border-radius: 50%; background: var(--ink); }
  .scene img,
  .scene video { object-position: 51% 50%; }
  .scene-container { touch-action: pan-y; }
  .film-label { top: 14px; right: 14px; bottom: auto; }
  .plan-scene { padding: 74px 10px 64px; }
  .plan-wrap { width: 100%; padding: 13px; }
  .plan-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .floorplan { max-height: 30svh; }
  .summary-bar {
    position: fixed;
    z-index: 60;
    right: 0;
    bottom: 0;
    left: 0;
    height: auto;
    min-height: calc(76px + env(safe-area-inset-bottom));
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 28px rgba(31,32,28,.1);
  }
  .summary-home { display: none; }
  .summary-actions { width: 100%; gap: 10px; }
  .price-button { min-width: 0; min-height: 52px; flex: .92; }
  .price-button strong { font-size: 16px; }
  .primary-button { min-width: 0; min-height: 52px; flex: 1.08; padding-inline: 12px; }
  .toast { bottom: calc(90px + env(safe-area-inset-bottom)); }
}

@media (max-width: 600px) {
  .availability-bar { justify-content: space-between; gap: 12px; }
  .availability-brand { display: none; }
  .panel-intro { align-items: flex-start; flex-direction: column; gap: 9px; }
  .location-button { max-width: 100%; margin: 0; min-height: 34px; }
  .location-button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .modal {
    width: 100%;
    max-width: none;
    max-height: calc(100svh - 12px);
    margin: auto 0 0;
    border-radius: 18px 18px 0 0;
  }
  .modal-close { top: 12px; right: 12px; width: 44px; height: 44px; }
  .modal-content { max-height: calc(100svh - 12px); padding: 52px 20px calc(28px + env(safe-area-inset-bottom)); }
  .modal-content h2 { margin-right: 42px; font-size: 27px; }
  .dialog-grid,
  .gallery-grid,
  .location-grid,
  .menu-utility-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 190px; }
  .location-field input,
  .location-field select { height: 50px; font-size: 16px; }
  .modal-primary { min-height: 50px; }
  .menu-utility-grid button { min-height: 58px; }
  .proposal-section { padding: 28px 20px calc(30px + env(safe-area-inset-bottom)); }
  .proposal-section > h2 { font-size: 28px; }
  .proposal-payment strong,
  .proposal-due strong { font-size: 17px; }
  .proposal-payment b,
  .proposal-due b { font-size: 21px; }
  .proposal-submit { min-height: 54px; }
}

@media (max-width: 430px) {
  .panel-scroll { padding-inline: 18px; }
  .panel-intro h1 { font-size: 35px; }
  .step-nav button { font-size: 9px; }
  .step-nav button { min-height: 46px; padding-bottom: 10px; justify-content: center; }
  .payment-tabs button { min-height: 42px; }
  .stats { padding-inline: 4px; }
  .stats div { padding-inline: 7px; }
  .option-section { padding-block: 30px 27px; }
  .section-heading { align-items: flex-start; }
  .section-heading h2 { font-size: 19px; }
  .model-card { min-height: 70px; }
  .size-card { min-height: 68px; }
  .swatch { width: 48px; height: 48px; }
  .palette-card { grid-template-columns: 64px minmax(0, 1fr); }
  .upgrade-row {
    min-height: 76px;
    grid-template-columns: 34px minmax(0, 1fr) 38px;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 3px;
  }
  .upgrade-row .upgrade-icon { grid-column: 1; grid-row: 1 / 3; }
  .upgrade-row .upgrade-copy { grid-column: 2; grid-row: 1; }
  .upgrade-row .upgrade-price { grid-column: 2; grid-row: 2; }
  .upgrade-row .toggle { grid-column: 3; grid-row: 1 / 3; }
}

@media (max-width: 350px) {
  .availability-bar { font-size: 8px; }
  .panel-scroll { padding-inline: 14px; }
  .summary-bar { padding-inline: 10px; }
  .price-button > span { font-size: 8px; }
  .price-button strong { font-size: 14px; }
  .primary-button { font-size: 10px; }
}

@media (min-width: 960px) {
  :root {
    --panel-width: clamp(408px, 31.875vw, 520px);
  }

  .availability-bar { display: none; }

  .stage-header {
    min-height: 68px;
    padding: 0 28px;
    flex-basis: 68px;
  }

  .brand-logo { width: 116px; }
  .stage-actions { gap: 0; }
  .stage-actions > .icon-button { display: none; }
  .region-button {
    height: 40px;
    padding: 0 2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #3b3d39;
    font-size: 13px;
    font-weight: 500;
  }
  .region-button svg { width: 22px; height: 22px; }
  .stage-actions > .menu-button {
    width: auto;
    height: 40px;
    margin-left: 14px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 4px;
    color: #3b3d39;
    background: #f4f4f2;
    font-size: 12px;
    font-weight: 500;
  }
  .stage-actions > .menu-button span { display: none; }
  .stage-actions > .menu-button::before { content: "•••"; letter-spacing: 1px; transform: translateY(-1px); }
  .stage-actions > .menu-button::after { content: "More"; }

  .configurator {
    grid-template-columns: minmax(0, 1fr) var(--panel-width);
    column-gap: 48px;
    padding-right: clamp(28px, 3.75vw, 48px);
    background: #fff;
  }

  .visual-stage { background: #f4f4f4; }
  .scene,
  .scene.active {
    transform: none;
  }
  .scene { transition: opacity 320ms ease, visibility 320ms; }
  .scene img,
  .scene video {
    object-position: 50% 50%;
  }
  .scene.active img,
  .scene.active video {
    transform: none;
  }
  .configuration-panel { box-shadow: none; }
  .panel-scroll { padding: 30px 0 76px; }

  .panel-intro {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 11px;
    text-align: center;
  }
  .panel-intro .eyebrow { display: none; }
  .panel-intro h1 {
    font-size: 42px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.035em;
  }
  .location-button {
    margin: 0;
    padding: 0 0 3px;
    gap: 4px;
    font-size: 12px;
  }
  .location-button svg { display: none; }
  .step-nav { display: none; }

  .payment-tabs {
    margin-top: 30px;
    padding: 0;
    border-bottom: 1px solid #d6d6d3;
    border-radius: 0;
    background: transparent;
  }
  .payment-tabs button {
    position: relative;
    padding: 13px 8px 14px;
    border-radius: 0;
    color: #5f615d;
    font-size: 13px;
    font-weight: 500;
  }
  .payment-tabs button::after {
    content: "";
    position: absolute;
    right: 100%;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--ink);
    transition: right 180ms ease;
  }
  .payment-tabs button.active { color: var(--ink); background: transparent; box-shadow: none; }
  .payment-tabs button.active::after { right: 0; }

  .stats {
    margin-top: 20px;
    padding: 22px 16px 15px;
    border-radius: 8px 8px 0 0;
    background: #f4f4f4;
  }
  .stats div { padding: 0 12px; gap: 5px; }
  .stats div + div::before { display: none; }
  .stats strong { font-size: 21px; font-weight: 500; }
  .stats span { font-size: 10px; line-height: 1.35; }

  .option-section {
    margin-top: 16px;
    padding: 24px;
    border: 0;
    border-radius: 8px;
    background: #f4f4f4;
    scroll-margin-top: 12px;
  }
  .option-section .eyebrow { display: none; }
  .model-section {
    margin-top: 0;
    padding-top: 13px;
    border-radius: 0 0 8px 8px;
  }
  .section-heading { align-items: center; }
  .section-heading h2 { font-size: 22px; font-weight: 500; letter-spacing: -.025em; }
  .info-button,
  .selected-price { font-size: 11px; }

  .model-options { margin-top: 18px; gap: 10px; }
  .model-card {
    min-height: 82px;
    padding: 17px 18px;
    justify-content: center;
    gap: 7px;
    border-color: #a8aaa6;
    border-radius: 4px;
    background: rgba(255,255,255,.34);
  }
  .model-card.selected { padding: 16px 17px; background: #fff; box-shadow: none; }
  .model-card.selected::after { display: none; }
  .model-card-top { font-size: 12px; }
  .model-card-top strong { font-size: 14px; font-weight: 500; }
  .model-card-bottom { font-size: 10px; }

  .size-options { gap: 10px; }
  .size-card {
    min-height: 72px;
    padding: 15px 17px;
    border-color: #a8aaa6;
    border-radius: 4px;
    background: rgba(255,255,255,.34);
  }
  .size-card.selected { padding: 14px 16px; background: #fff; box-shadow: none; }
  .size-card strong { font-size: 14px; }
  .size-card small,
  .size-card em { font-size: 10px; }

  .selected-name { margin: 20px 0 15px; font-size: 13px; }
  .swatch { width: 50px; height: 50px; }
  .detail-row { font-size: 11px; }

  .palette-options { gap: 10px; }
  .palette-card {
    padding: 12px;
    grid-template-columns: 84px 1fr;
    border-color: #b4b6b1;
    border-radius: 4px;
    background: rgba(255,255,255,.34);
  }
  .palette-card.selected { padding: 11px; background: #fff; }
  .palette-card strong { font-size: 13px; }
  .palette-card small { font-size: 10px; }
  .palette-preview { height: 54px; }

  .upgrade-list { gap: 8px; }
  .upgrade-row {
    min-height: 72px;
    padding: 12px;
    border: 1px solid #d8d9d5;
    border-radius: 5px;
    background: #fff;
  }
  .upgrade-row:last-child { border-bottom: 1px solid #d8d9d5; }
  .upgrade-copy strong { font-size: 12px; }
  .upgrade-copy small,
  .upgrade-price { font-size: 9px; }
  .wellness-list .featured-upgrade { border-color: #d8d9d5; background: #fff; }
  .subsection-label { margin-top: 26px; }
  .included-card { background: #fff; }
  .panel-disclaimer { margin: 22px 6px 0; font-size: 9px; }

  .view-tabs,
  .drag-hint { display: none; }
  .carousel-controls { bottom: 24px; gap: 10px; }
  .carousel-arrow {
    width: 48px;
    height: 48px;
    border-radius: 5px;
    color: var(--ink);
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(10px);
  }
  .carousel-arrow:hover { background: rgba(255,255,255,.94); }
  .carousel-dots {
    height: 48px;
    padding: 0 18px;
    border-radius: 5px;
    gap: 10px;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(10px);
  }
  .dot { width: 8px; height: 8px; background: #aeb0ad; }
  .dot.active { width: 8px; border-radius: 50%; background: var(--ink); }

  .summary-bar {
    padding: 0 clamp(28px, 3.75vw, 48px) 0 28px;
    border-top-color: #e5e5e2;
    box-shadow: 0 -4px 14px rgba(32,33,29,.04);
    backdrop-filter: none;
  }
  .summary-home { gap: 4px; }
  .summary-home strong { font-size: 19px; font-weight: 500; }
  .summary-home > span { font-size: 11px; }
  .summary-actions { gap: 24px; }
  .price-button { min-width: 180px; }
  .price-button > span { font-size: 9px; }
  .price-button strong { font-size: 22px; font-weight: 500; }
  .primary-button {
    min-width: 154px;
    min-height: 48px;
    border-radius: 4px;
    font-size: 12px;
  }
}

.summary-bar.at-page-end {
  height: 0;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-top-width: 0;
  border-top-color: transparent;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(100%);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
