/* Pricing Guide configurator (pricing-guide.html). Loads after styles.css and uses its tokens. */

.cfg-page { background: var(--paper); }
.cfg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 460px); padding-top: 76px; min-height: 100vh; }
.cfg-sr { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }

/* Visual (Tesla-style big image) */
.cfg-visual { position: sticky; top: 76px; height: calc(100vh - 76px); margin: 0; overflow: hidden; background: var(--cream); }
.cfg-visual img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease, transform 1.2s ease; }
.cfg-visual img.is-swapping { opacity: 0; transform: scale(1.015); }
.cfg-visual .ai-tag { top: 16px; right: 16px; }
.cfg-visual figcaption { position: absolute; inset: auto 0 0 0; padding: 64px clamp(20px, 3vw, 40px) clamp(20px, 3vw, 32px); color: #fff;
  background: linear-gradient(0deg, rgba(47,54,51,0.82) 0%, rgba(47,54,51,0.45) 55%, rgba(47,54,51,0) 100%); }
.cfg-cap { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.cfg-summary { margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.cfg-summary div { min-width: 0; }
.cfg-summary dt { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sand); }
.cfg-summary dd { margin: 2px 0 0; font-size: 15px; font-weight: 500; }

/* Panel */
.cfg-panel { padding: clamp(24px, 3vw, 40px) clamp(20px, 2.6vw, 36px) 0; display: flex; flex-direction: column; min-width: 0; background: var(--paper);
  border-left: 1px solid var(--light-gray); scroll-margin-top: 76px; }
.cfg-head .eyebrow { margin-bottom: 8px; }
.cfg-head h1 { font-size: clamp(24px, 2.2vw, 30px); margin: 0 0 6px; }
.cfg.is-started .cfg-head h1 { font-size: 18px; line-height: 1.35; }
.cfg.is-started .cfg-head > p:not(.cfg-stepcount):not(.eyebrow) { display: none; }
.cfg-head p { margin: 0; font-size: 14px; color: #5d625f; }
.cfg-stepnav { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 4px 2px; }
.cfg-stepnav button { font: 500 12px/1 var(--font); letter-spacing: 0.02em; color: #5d625f; background: none; border: 0; padding: 6px 6px 6px 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; }
.cfg-stepnav button span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #cfcac3; font-size: 11px; }
.cfg-stepnav button.done span { background: var(--dark-green); border-color: var(--dark-green); color: #fff; }
.cfg-stepnav button[aria-current] { color: var(--ink); font-weight: 600; }
.cfg-stepnav button[aria-current] span { border-color: var(--sand); background: var(--sand); color: #fff; }
.cfg-stepnav button:disabled { opacity: .45; cursor: default; }
.cfg-progress { height: 2px; background: var(--light-gray); margin: 10px 0 0; }
.cfg-progress span { display: block; height: 100%; width: 0; background: var(--sand); transition: width .3s ease; }
.cfg-stepcount { margin: 10px 0 0; font-size: 12px; letter-spacing: 0.08em; color: #5d625f; }

.cfg-body { flex: 1; padding: 22px 0 28px; }
.cfg-fs { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.cfg-legend { display: block; padding: 0; font-size: 22px; font-weight: 400; line-height: 1.25; margin: 0 0 16px; outline: none; }
.cfg-sub, legend.cfg-sub { display: block; padding: 0; font-size: 15px; font-weight: 600; margin: 20px 0 10px; }
.cfg-muted { font-weight: 400; color: #5d625f; font-size: 13px; }
.cfg-hint { margin: 10px 0 0; font-size: 13px; color: #5d625f; }
.cfg-sub-p { margin: -6px 0 18px; font-size: 14px; color: #4a4f4c; }

/* Option cards */
.cfg-grid { display: grid; gap: 10px; }
.cfg-grid-2 { grid-template-columns: 1fr 1fr; }
.cfg-stack { grid-template-columns: 1fr; }
.cfg-opt { position: relative; display: block; cursor: pointer; }
.cfg-opt-body { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #ddd6cc; border-radius: var(--radius); overflow: hidden;
  transition: border-color .15s, box-shadow .15s; }
.cfg-opt:hover .cfg-opt-body { border-color: var(--sand); }
.cfg-opt input:checked + .cfg-opt-body { border-color: var(--dark-green); box-shadow: inset 0 0 0 1px var(--dark-green); }
.cfg-opt input:focus-visible + .cfg-opt-body, .cfg-swatch input:focus-visible + .cfg-swatch-body, .cfg-chip input:focus-visible + span,
.cfg-toggle input:focus-visible + .cfg-switch { outline: 2px solid var(--focus); outline-offset: 2px; }
.cfg-opt-img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--cream); }
.cfg-opt-img img { width: 100%; height: 100%; object-fit: cover; }
.cfg-opt-img .ai-tag { top: 6px; right: 6px; font-size: 8.5px; padding: 4px 6px; letter-spacing: 0.1em; }
.cfg-opt-text { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; }
.cfg-opt-text strong { font-weight: 600; font-size: 15px; line-height: 1.3; }
.cfg-opt-text span { font-size: 13px; line-height: 1.45; color: #5d625f; }
.cfg-stack .cfg-opt.has-img .cfg-opt-body { flex-direction: row; }
.cfg-stack .cfg-opt.has-img .cfg-opt-img { flex: 0 0 38%; aspect-ratio: auto; min-height: 96px; }

/* Selected-state check (option cards, look cards) */
.cfg-check { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--dark-green); opacity: 0; transform: scale(.6);
  transition: opacity .15s, transform .15s; pointer-events: none; z-index: 1; }
.cfg-check::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cfg-opt input:checked + .cfg-opt-body .cfg-check, .cfg-swatch input:checked + .cfg-swatch-body .cfg-check { opacity: 1; transform: none; }
.cfg-opt-body { position: relative; }

/* "Which look is closest?" cards: 2 columns of 4:3 photos, "Not sure yet" as a full-width slim card */
.cfg-looks { margin-top: 8px; }
.cfg-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cfg-swatch { position: relative; display: block; cursor: pointer; min-width: 0; }
.cfg-swatch-body { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #ddd6cc; border-radius: var(--radius);
  overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.cfg-swatch:hover .cfg-swatch-body { border-color: var(--sand); }
.cfg-swatch-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.cfg-swatch-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cfg-swatch-text { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; min-width: 0; }
.cfg-swatch-text strong { font-size: 14px; font-weight: 600; line-height: 1.3; }
.cfg-swatch-text span { font-size: 12px; line-height: 1.4; color: #5d625f; }
.cfg-swatch input:checked + .cfg-swatch-body { border-color: var(--dark-green); box-shadow: inset 0 0 0 1px var(--dark-green); }
.cfg-swatch.is-blank { grid-column: 1 / -1; }
.cfg-swatch.is-blank .cfg-swatch-body { flex-direction: row; align-items: center; }
.cfg-swatch.is-blank .cfg-swatch-text { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-right: 40px; }
.cfg-swatch.is-blank .cfg-check { top: 50%; margin-top: -11px; }

/* Price impact pills */
.cfg-imp { display: inline-block; align-self: flex-start; margin-top: 4px; padding: 2px 8px; border-radius: 10px; font: 600 12px/1.5 var(--font); font-style: normal;
  letter-spacing: 0.01em; white-space: nowrap; background: var(--cream); color: var(--ink); }
.cfg-imp.is-up { background: #f3e7da; color: #6e4f2f; }
.cfg-imp.is-down { background: #e3ebe6; color: #24412f; }
.cfg-imp.is-incl { background: transparent; color: #5d625f; padding-left: 0; padding-right: 0; font-weight: 500; }
.cfg-opt-text .cfg-imp { font-size: 12px; }

/* Detail steps: summary of picks, Customize expander, option groups */
.cfg-picks { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e4ddd3; }
.cfg-picks li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid #e4ddd3; }
.cfg-pick-k { grid-column: 1 / -1; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sand-deep); }
.cfg-pick-v { font-size: 15px; min-width: 0; }
.cfg-picks .cfg-imp { margin: 0; justify-self: end; }
.cfg-customize { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 14px 16px;
  font: 600 14px/1.3 var(--font); color: var(--ink); text-align: left; background: #fff; border: 1px solid #cfcac3; border-radius: var(--radius); cursor: pointer; }
.cfg-customize:hover { border-color: var(--dark-green); }
.cfg-customize:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cfg-chev { flex: none; width: 9px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.cfg-customize[aria-expanded="true"] .cfg-chev { transform: rotate(-135deg) translate(-2px, -2px); }
.cfg-more { margin: 0 0 8px; }
.cfg-more[hidden] { display: none; }
.cfg-group { margin-bottom: 18px; }
.cfg-group > .cfg-sub { margin-top: 4px; }
.cfg-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cfg-tiles .cfg-opt-img { aspect-ratio: 4 / 3; }
.cfg-tiles .cfg-opt-text { padding: 9px 10px 10px; gap: 2px; }
.cfg-tiles .cfg-opt-text strong { font-size: 13px; }
.cfg-tiles .cfg-opt-text > span { display: none; }
.cfg-sel-desc { margin-top: 8px; }
.cfg-tiles .cfg-imp { font-size: 11.5px; padding: 1px 7px; }
.cfg-tiles .cfg-imp.is-incl { padding: 0; }
.cfg-compact .cfg-opt-text { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 11px 44px 11px 14px; }
.cfg-compact .cfg-opt-text strong { grid-column: 1; }
.cfg-compact .cfg-opt-text span { grid-column: 1; }
.cfg-compact .cfg-opt-text .cfg-imp { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
.cfg-compact .cfg-check { top: 50%; margin-top: -11px; right: 12px; }
.cfg-toggle .cfg-imp { margin-top: 6px; }
.cfg-stepper-sm { gap: 12px; flex-wrap: wrap; }
.cfg-stepper-sm .cfg-size-out { min-width: 2em; font-size: 24px; }
.cfg-stepper-sm .cfg-step-btn { width: 40px; height: 40px; font-size: 20px; }
.cfg-stepper-sm .cfg-imp { margin: 0 0 0 4px; align-self: center; }
.cfg-step-btn:disabled { opacity: .4; cursor: default; }

/* Live tally (above Back / Continue) */
.cfg-tally { flex: 1 1 100%; order: -1; font-size: 14px; }
.cfg-tally[hidden] { display: none; }
.cfg-tally summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; cursor: pointer; list-style: none; padding: 2px 0 4px; }
.cfg-tally summary::-webkit-details-marker { display: none; }
.cfg-tally-k { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand-deep); }
.cfg-tally summary strong { font-size: 16px; font-weight: 600; }
.cfg-tally-n { margin-left: auto; font-size: 12px; color: #5d625f; text-decoration: underline; text-underline-offset: 2px; }
.cfg-tally-list { list-style: none; margin: 6px 0 4px; padding: 0; max-height: 34vh; overflow: auto; border-top: 1px solid #e4ddd3; }
.cfg-tally-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid #efe9e1; font-size: 13px; }
.cfg-tally-list .cfg-imp { margin: 0; flex: none; }
.cfg-tally-empty, .cfg-tally-note { margin: 6px 0 4px; font-size: 12.5px; color: #5d625f; }

/* Size */
.cfg-size-out { display: block; font-size: 34px; font-weight: 300; letter-spacing: -0.01em; margin-bottom: 12px; }
.cfg-size input[type="range"] { width: 100%; accent-color: var(--dark-green); height: 28px; }
.cfg-range-ends { display: flex; justify-content: space-between; font-size: 12px; color: #5d625f; }
.cfg-num { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: #4a4f4c; }
.cfg-num input { width: 110px; font: 400 16px var(--font); padding: 8px 10px; border: 1px solid #8C877F; border-radius: var(--radius); background: #fff; color: var(--ink); }
.cfg-stepper { display: flex; align-items: center; gap: 18px; }
.cfg-stepper .cfg-size-out { margin: 0; min-width: 7.5em; text-align: center; font-size: 26px; }
.cfg-step-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #cfcac3; background: #fff; font: 300 24px/1 var(--font); color: var(--ink); cursor: pointer; }
.cfg-step-btn:hover { border-color: var(--dark-green); }

/* Toggles */
.cfg-toggles { display: grid; gap: 8px; }
.cfg-toggle { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid #ddd6cc; cursor: pointer; }
.cfg-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cfg-toggle .cfg-opt-text { padding: 0; }
.cfg-switch { position: relative; width: 40px; height: 24px; margin-top: 2px; border-radius: 12px; background: #cfcac3; transition: background .2s; }
.cfg-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.cfg-toggle input:checked + .cfg-switch { background: var(--dark-green); }
.cfg-toggle input:checked + .cfg-switch::after { transform: translateX(16px); }

/* Area chips */
.cfg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg-chip { position: relative; cursor: pointer; }
.cfg-chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; background: #fff; border: 1px solid #ddd6cc; font-size: 14px; border-radius: 21px; }
.cfg-chip:hover span { border-color: var(--sand); }
.cfg-chip input:checked + span { background: var(--dark-green); border-color: var(--dark-green); color: #fff; }

/* Gate */
.cfg-gate { display: grid; gap: 4px; }
.cfg-field { display: grid; gap: 6px; }
.cfg-field label { font-size: 13px; font-weight: 500; letter-spacing: 0.03em; }
.cfg-field input { font: 400 16px var(--font); color: var(--ink); padding: 12px 14px; border: 1px solid #8C877F; border-radius: var(--radius); background: #fff; width: 100%; }
.cfg-field input[aria-invalid="true"] { border-color: #B3261E; }
.cfg-err { margin: 0 0 8px; min-height: 1.2em; font-size: 13px; color: #B3261E; }
.cfg-err.is-hint { color: var(--ink); }
.cfg-suggest { font: 600 13px var(--font); color: var(--sand-deep); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.cfg-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cfg-consent { margin: 6px 0 0; padding: 12px 14px; background: var(--cream); }
.cfg-consent label { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 13px; line-height: 1.5; color: #4a4f4c; cursor: pointer; }
.cfg-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--dark-green); }
.cfg-placeholder { margin: 8px 0 0; display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: #ffe08a; color: var(--dark-brown); padding: 2px 6px; }
.cfg-fine { margin: 10px 0 0; font-size: 12px; color: #5d625f; }
.cfg-form-err { margin: 6px 0 0; font-size: 14px; color: #B3261E; min-height: 1.2em; }

/* Footer bar (Back / Continue) */
.cfg-bar-nav { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); background: var(--paper);
  border-top: 1px solid var(--light-gray); z-index: 5; }
.cfg-bar-nav .btn { flex: 1; }
.cfg-bar-nav .btn[hidden] { display: none; }
.cfg-bar-nav #cfg-back { flex: 0 0 auto; }
.btn-ghost-dark { border-color: #cfcac3; color: var(--ink); background: #fff; }
.btn-ghost-dark:hover { border-color: var(--dark-green); }
.cfg-bar-nav [aria-disabled="true"] { opacity: .5; }
.cfg.is-results .cfg-bar-nav { display: none; }
.cfg-nudge .cfg-body { animation: cfg-nudge .35s; }
@keyframes cfg-nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .cfg-nudge .cfg-body { animation: none; } .cfg-visual img { transition: none; } }

/* Results */
.cfg-results .eyebrow { margin-bottom: 6px; }
.cfg-total { margin: 4px 0 0; font-size: clamp(34px, 3.4vw, 44px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; }
.cfg-total span { font-weight: 600; }
.cfg-perunit { margin: 6px 0 22px; font-size: 14px; color: #4a4f4c; }
.cfg-buckets { margin: 0 0 22px; border-top: 1px solid #d9d2c8; }
.cfg-bucket { padding: 14px 0; border-bottom: 1px solid #d9d2c8; }
.cfg-bucket dt { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand-deep); }
.cfg-bucket dd { margin: 4px 0 0; display: grid; gap: 6px; }
.cfg-bucket-range { font-size: 20px; font-weight: 500; }
.cfg-bucket-note { font-size: 13px; color: #5d625f; line-height: 1.5; }
.cfg-bar { position: relative; display: block; height: 6px; background: var(--light-gray); border-radius: 3px; overflow: hidden; }
.cfg-bar span { position: absolute; top: 0; bottom: 0; background: var(--dark-green); border-radius: 3px; }
.cfg-h3 { font-size: 16px; font-weight: 600; margin: 0 0 10px; }
.cfg-drivers { margin: 0 0 20px; padding-left: 18px; display: grid; gap: 8px; font-size: 14px; color: #4a4f4c; }
.cfg-next { background: #fff; border-left: 3px solid var(--sand); padding: 14px 16px; margin-bottom: 16px; font-size: 14px; }
.cfg-next p { margin: 0; }
.cfg-next .cfg-send-failed { margin-top: 10px; color: #B3261E; }
.cfg-next .cfg-send-failed a { color: inherit; font-weight: 600; }
.cfg-disclaimer { font-size: 12px; color: #5d625f; line-height: 1.55; margin: 0 0 18px; }
.cfg-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 32px; }
.cfg-actions .btn { flex: 1 1 180px; }

/* Line-item breakdown (results) */
.cfg-lines { margin: 0 0 22px; background: #fff; border: 1px solid #e4ddd3; }
.cfg-lines summary { padding: 12px 14px; font-weight: 600; font-size: 14px; cursor: pointer; }
.cfg-lines-t { width: 100%; border-collapse: collapse; font-size: 13px; }
.cfg-lines-t th, .cfg-lines-t td { padding: 8px 14px; border-top: 1px solid #efe9e1; text-align: left; vertical-align: top; font-weight: 400; }
.cfg-lines-t thead th { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sand-deep); }
.cfg-lines-t td:last-child { text-align: right; white-space: nowrap; }
.cfg-lines-t td:nth-child(2) { color: #5d625f; }
.cfg-lines .cfg-hint { padding: 0 14px 12px; }

/* Crawlable answers below the configurator (pricing-guide.html #answers). Uses article.css for layout. */
.pg-answers { background: var(--paper); border-top: 1px solid var(--light-gray); }
.pg-answers .art-body > h2:first-of-type, .pg-answers .art-body > .display { margin-top: 0; }
.pg-meta { margin: 0 0 14px; font-size: 13px; color: #5d625f; letter-spacing: 0.02em; }
.pg-answer { margin: 0 0 18px; padding: 14px 18px; background: #fff; border-left: 3px solid var(--sand); font-size: 17px; line-height: 1.65; color: var(--ink) !important; }
.pg-q { margin: 0; padding: 0; }
.pg-q h2 { scroll-margin-top: 110px; }
.pg-cost-table td:nth-child(2) { white-space: nowrap; font-weight: 600; }
.art-body .pg-cost-table tbody th { width: 28%; }
.pg-drivers { counter-reset: none; }
.pg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
.pg-two h3 { margin-top: 12px; }
.pg-fit { margin-top: 44px; }
.pg-fit p { background: var(--cream); padding: 18px 20px; }
.pg-related { margin-top: 44px; padding-top: 8px; padding-bottom: 0; border-top: 1px solid #d9d2c8; }
.pg-related h2 { margin-top: 28px; }
.pg-related a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sand); text-underline-offset: 3px; }
@media (max-width: 700px) {
  .pg-two { grid-template-columns: 1fr; }
  .pg-answer { font-size: 16px; padding: 12px 14px; }
  .pg-cost-table td:nth-child(2) { white-space: normal; }
  .pg-cost-table th, .pg-cost-table td { padding: 10px; font-size: 14px; }
}

/* Mobile / tablet */
@media (max-width: 960px) {
  .cfg { grid-template-columns: 1fr; padding-top: 64px; min-height: 0; }
  .cfg-visual { position: relative; top: 0; height: auto; aspect-ratio: 4 / 3; max-height: 52vh; width: 100%; }
  .cfg-visual figcaption { padding-top: 48px; }
  .cfg-summary { gap: 6px 18px; }
  .cfg-summary dd { font-size: 13px; }
  .cfg-summary div:nth-child(n+4) { display: none; }
  .cfg-panel { border-left: 0; scroll-margin-top: 64px; }
  .cfg-stepnav { display: none; }
  .cfg.is-started .cfg-head h1, .cfg.is-started .cfg-head > p:not(.cfg-stepcount):not(.eyebrow) { display: none; }
}
@media (max-width: 600px) {
  /* The shared Call/Book bar (styles.css .mobile-bar) is hidden while the configurator is on screen, so Back/Continue
     sit at the bottom edge; configurator.js adds body.cfg-out once the configurator scrolls away and the bar returns. */
  .cfg-bar-nav { bottom: 0; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); }
  .cfg-visual { max-height: 26vh; }
  body.cfg-page .mobile-bar { display: none; }
  body.cfg-page.cfg-out .mobile-bar { display: grid; }
  .cfg-tally summary strong { font-size: 15px; }
  .cfg-tally-k { letter-spacing: 0.1em; }
  .cfg-tiles .cfg-opt-text strong { font-size: 12.5px; }
  .cfg-stack .cfg-opt.has-img .cfg-opt-img { flex-basis: 34%; }
  .cfg-legend { font-size: 20px; }
}
@media (max-width: 380px) {
  .cfg-grid-2 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cfg-opt-text { padding: 10px; }
  .cfg-grid-2 .cfg-opt-text span { display: none; }
}

/* Healthy-home card group (always visible in Systems, or Site & extras for kitchen/bath) and its info expander */
.cfg-card-group { margin: 0 0 22px; padding: 16px 16px 4px; background: #fff; border: 1px solid #e4ddd3; border-radius: var(--radius); }
.cfg-card-group .cfg-group { margin-bottom: 12px; }
.cfg-card-group .cfg-opt-body { background: var(--paper); }
.cfg-info { margin: 10px 0 0; font-size: 13px; line-height: 1.55; color: #4a4f4c; }
.cfg-info summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; padding: 4px 0; }
.cfg-info summary::-webkit-details-marker { display: none; }
.cfg-info summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cfg-info-i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--sand-deep); color: var(--sand-deep);
  font: italic 600 11px/1 Georgia, serif; }
.cfg-info p { margin: 8px 0; }
.cfg-info .cfg-info-h { margin: 12px 0 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sand-deep); }
.cfg-info ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }

/* Without JavaScript: hide the configurator controls and keep the page short; the answers section reads normally. */
.no-js .cfg { min-height: 0; }
.no-js .cfg-bar-nav, .no-js .cfg-stepnav, .no-js .cfg-progress, .no-js .cfg-stepcount { display: none; }
