/* Fenix guided buyback. Scoped to keep the rest of the site unchanged. */
.estimator {
  --e-bg: #fff;
  --e-soft: #f5f7fc;
  --e-text: #16243d;
  --e-muted: #65718a;
  --e-line: #e1e7f1;
  --e-accent: #416bfa;
  --e-tint: #eef3ff;
  --e-header: 84px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  min-height: calc(100svh - var(--e-header));
  background: var(--e-bg);
  color: var(--e-text);
}
[data-theme=dark] .estimator {
  --e-bg: #0c1423;
  --e-soft: #111e33;
  --e-text: #edf2ff;
  --e-muted: #9aacc8;
  --e-line: #293b58;
  --e-accent: #97b3ff;
  --e-tint: #182c51;
}
body:has(.estimator) > footer, body:has(.estimator) .conversion-dock,
body:has(.estimator) .scroll-progress, body:has(.estimator) .chat-launch { display: none; }
.estimate-icon { display: inline-block; width: 21px; height: 21px; flex: none; vertical-align: middle; }
.estimator p { color: var(--e-muted); }
.estimator a, .estimator button, .estimator input, .estimator summary, .estimator select { touch-action: manipulation; }
.estimator button, .estimator input, .estimator select, .estimator summary { -webkit-tap-highlight-color: transparent; }
.estimator :is(button, a, input, summary, select):focus-visible { outline: 3px solid var(--e-accent); outline-offset: 4px; }
.estimator :is(button, a, input, summary, select):focus:not(:focus-visible) { outline: none; }
.estimator h1:focus { outline: none; }
.estimator fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.estimator button { color: inherit; }
.estimator button:disabled { cursor: not-allowed; }
.estimate-eyebrow { display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em; line-height: 1.6; color: var(--e-accent); }

.estimator-stage {
  position: sticky;
  top: var(--e-header);
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: calc(100svh - var(--e-header));
  min-height: 640px;
  padding: 30px 72px 30px 40px;
  overflow: hidden;
  isolation: isolate;
  border-right: 1px solid var(--e-line);
  background: radial-gradient(ellipse at 15% 65%, #ccdfff 0, transparent 55%), radial-gradient(ellipse at 90% 55%, #e0d8f7 0, transparent 55%), #f0f4fb;
}
[data-theme=dark] .estimator-stage { background: radial-gradient(ellipse at 0% 65%, #213e72 0, transparent 65%), radial-gradient(ellipse at 90% 65%, #292c50 0, transparent 55%), #101c32; }
.stage-topline { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 10px; color: var(--e-muted); z-index: 1; }
.stage-topline a { display: flex; align-items: center; gap: 8px; min-height: 34px; }
.stage-topline a .estimate-icon { width: 17px; height: 17px; }
.stage-topline > span { font-size: 8px; letter-spacing: .1em; }
.stage-intro-copy { align-self: stretch; padding: clamp(25px,6svh,60px) 15px 0; z-index: 1; }
.stage-intro-copy h2 { font-size: clamp(34px,3.7vw,62px); line-height: 1.08; font-weight: 550; letter-spacing: -.05em; margin: 18px 0; }
.stage-intro-copy h2 > span { color: #547cff; }
.stage-intro-copy p { font-size: 14px; line-height: 1.75; }
.stage-collage { position: relative; width: min(100%,460px); flex: 1; min-height: 270px; max-height: 440px; margin: 18px 0 26px; }
.stage-collage img { position: absolute; width: 56%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 7px; background: #f2f3f5; border: 1px solid #fff9; border-radius: 30px; box-shadow: 0 25px 65px #173a6824; }
.collage-one { left: 0; top: 6%; transform: rotate(-12deg); z-index: 1; }
.collage-two { right: 0; top: 21%; transform: rotate(9deg); }
.stage-collage > span { position: absolute; bottom: 7%; left: 4%; z-index: 2; display: flex; gap: 10px; align-items: center; padding: 13px 19px; border-radius: 40px; background: var(--e-bg); box-shadow: 0 12px 40px #152d5115; font-size: 11px; }
.stage-collage > span .estimate-icon { color: var(--e-accent); }
.stage-bottom { width: 100%; margin-top: auto; padding-top: 15px; text-align: center; z-index: 1; }
.stage-bottom > p { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; }
.stage-bottom .estimate-icon { width: 16px; height: 16px; }
.stage-fineprint { margin-top: 14px; font-size: 9px; color: var(--e-muted); line-height: 1.6; }
.stage-device-label { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; margin-top: 30px; z-index: 1; }
.stage-device-label > span { color: var(--e-accent); text-transform: uppercase; letter-spacing: .16em; font-weight: 600; font-size: 10px; }
.stage-device-label > strong { font-size: clamp(20px,2.1vw,32px); letter-spacing: -.04em; font-weight: 600; line-height: 1.2; }
.stage-device-label > small { font-size: 12px; color: var(--e-muted); }
.stage-product { position: relative; display: grid; place-items: center; width: 100%; flex: 1; min-height: 255px; margin: 20px 0; }
.stage-product > img { width: min(80%,310px); height: auto; aspect-ratio: 1; padding: 15px; object-fit: contain; background: #f2f3f5; border-radius: 32px; position: relative; z-index: 1; box-shadow: 0 26px 65px #142b5530; animation: estimate-product-in .6s var(--ease); }
.stage-product-orbit { position: absolute; width: 95%; max-width: 390px; aspect-ratio: 1; border: 1px solid #6487cf38; border-radius: 50%; transform: rotate(-20deg) scaleY(.88); }
.stage-product-orbit::after { content: ''; position: absolute; inset: -23px; border: 1px solid #6487cf20; border-radius: 50%; }
.stage-message { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 320px; padding: 8px 0; }
.stage-message > span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #6687d13b; border-radius: 50%; color: var(--e-accent); flex: none; }
.stage-message .estimate-icon { width: 15px; height: 15px; }
.stage-message p { font-size: 12px; }
.stage-price { display: inline-flex; align-items: center; gap: 16px; padding: 14px 25px; background: var(--e-bg); border: 1px solid var(--e-line); border-radius: 40px; box-shadow: 0 12px 45px #183a5810; }
.stage-price > span { color: var(--e-muted); font-size: 11px; }
.stage-price > strong { font-size: 35px; font-weight: 650; letter-spacing: -.055em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stage-navigation { position: absolute; top: 50%; right: 18px; transform: translateY(-50%); display: grid; gap: 10px; }
.stage-navigation button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid var(--e-line); color: var(--e-muted); background: var(--e-bg); }
.stage-navigation button .estimate-icon { width: 17px; height: 17px; }
.stage-navigation button[aria-current] { background: #416bfa; color: #fff; border-color: #416bfa; box-shadow: 0 5px 20px #416bfa30; }
.stage-navigation button:disabled { opacity: .45; }

.estimator-workspace { display: flex; flex-direction: column; min-width: 0; min-height: calc(100svh - var(--e-header)); background: var(--e-bg); }
.estimate-toolbar { position: sticky; top: var(--e-header); z-index: 8; display: flex; align-items: center; gap: 16px; padding: 22px clamp(22px,3.3vw,58px); border-bottom: 1px solid var(--e-line); background: var(--e-bg); }
.estimate-back { display: grid; place-items: center; border: 0; width: 38px; height: 38px; background: var(--e-soft); border-radius: 50%; padding: 0; flex: none; }
.estimate-back:disabled { opacity: .25; }
.estimate-progress-wrap { flex: 1; min-width: 0; }
.estimate-progress-wrap > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; margin-bottom: 8px; }
.estimate-progress-wrap > div > strong { font-weight: 600; }
.estimate-progress-wrap > div > span { color: var(--e-muted); font-variant-numeric: tabular-nums; font-size: 10px; }
.estimate-progress { display: flex; gap: 4px; }
.estimate-progress > span { flex: 1; height: 4px; border-radius: 5px; background: var(--e-line); }
.estimate-progress > span.is-done { background: var(--e-text); }
.estimate-progress > span.is-current { background: var(--e-accent); }
.estimate-reset { border: 0; background: transparent; display: flex; gap: 7px; align-items: center; font-size: 10px; min-height: 38px; padding: 5px; color: var(--e-muted) !important; }
.estimate-reset .estimate-icon { width: 15px; height: 15px; }
.estimate-content { padding: clamp(28px,4vw,60px) clamp(22px,3.3vw,58px) 32px; flex: 1; min-width: 0; animation: estimate-content-in .35s ease-out; }
.estimate-heading { margin-bottom: 30px; }
.estimate-heading h1 { font-size: clamp(30px,3vw,46px); font-weight: 550; letter-spacing: -.045em; line-height: 1.12; margin-top: 14px; }
.estimate-heading h1 em { font-style: normal; color: var(--e-accent); }
.estimate-heading > p { margin-top: 18px; font-size: 14px; line-height: 1.7; }
.estimate-search-area { position: relative; z-index: 4; }
.estimate-search { position: relative; display: flex; align-items: center; min-width: 0; }
.estimate-search > .estimate-icon { position: absolute; left: 18px; color: var(--e-muted); width: 20px; height: 20px; pointer-events: none; }
.estimate-search > input { width: 100%; min-width: 0; min-height: 60px; border-radius: 15px; border: 1px solid var(--e-line); padding: 16px 105px 16px 50px; background: var(--e-soft); color: var(--e-text); font-size: 14px; }
.estimate-search > input::placeholder { color: var(--e-muted); opacity: 1; font-size: 12px; }
.estimate-search > input:focus-visible { outline-offset: 0; }
.estimate-search > kbd { position: absolute; right: 16px; font: inherit; font-size: 9px; color: var(--e-muted); border: 1px solid var(--e-line); padding: 4px 7px; border-radius: 6px; pointer-events: none; }
.estimate-search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 10; padding: 7px; border: 1px solid var(--e-line); border-radius: 16px; background: var(--e-bg); box-shadow: 0 20px 60px #0e23492b; max-height: 400px; overflow-y: auto; overscroll-behavior: contain; }
.estimate-search-results[hidden] { display: none; }
.search-result { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 10px; background: transparent; border: 0; border-radius: 10px; }
.search-result:hover, .search-result.is-active { background: var(--e-tint); }
.search-result > img { width: 49px; height: 49px; object-fit: contain; border-radius: 8px; background: #f3f4f7; padding: 3px; flex: none; }
.search-result > span { min-width: 0; flex: 1; }
.search-result strong { display: block; font-size: 13px; font-weight: 600; }
.search-result small { display: block; font-size: 9px; color: var(--e-muted); margin-bottom: 3px; }
.search-result > .estimate-icon { width: 17px; height: 17px; color: var(--e-accent); }
.estimate-divider { display: flex; align-items: center; gap: 14px; margin: 28px 0 22px; font-size: 10px; color: var(--e-muted); }
.estimate-divider::before, .estimate-divider::after { content: ''; height: 1px; flex: 1; background: var(--e-line); }
.estimate-categories { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.estimate-categories > button { display: flex; flex-direction: column; align-items: flex-start; position: relative; gap: 16px; border: 1px solid var(--e-line); border-radius: 18px; padding: 22px; min-height: 138px; background: var(--e-bg); text-align: left; transition: background .2s, border-color .2s, transform .2s; }
.estimate-categories > button:hover { background: var(--e-tint); border-color: var(--e-accent); transform: translateY(-2px); }
.estimate-categories > button > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--e-soft); color: var(--e-accent); }
.estimate-categories > button > span .estimate-icon { width: 26px; height: 26px; }
.estimate-categories strong { font-size: 13px; font-weight: 600; }
.estimate-categories > button > .estimate-icon { position: absolute; right: 20px; bottom: 22px; width: 17px; height: 17px; color: var(--e-muted); }
.estimate-reassurance { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 12px 18px; color: var(--e-muted); font-size: 10px; }
.estimate-reassurance > span { display: flex; align-items: center; gap: 5px; }
.estimate-reassurance .estimate-icon { width: 14px; height: 14px; color: var(--e-accent); }
.estimate-brands { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.estimate-brands > button { min-height: 40px; padding: 8px 15px; border: 1px solid var(--e-line); border-radius: 25px; font-size: 11px; background: var(--e-bg); }
.estimate-brands > button.is-selected { border-color: var(--e-accent); background: var(--e-tint); color: var(--e-accent); }
.estimate-model-count { font-size: 10px; color: var(--e-muted); margin-bottom: 12px; }
.estimate-models { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.estimate-model { position: relative; min-width: 0; border: 1px solid var(--e-line); border-radius: 16px; padding: 14px; text-align: left; background: var(--e-bg); transition: border-color .2s, background .2s; }
.estimate-model:hover, .estimate-model.is-selected { border-color: var(--e-accent); background: var(--e-tint); }
.estimate-model-image { display: grid; place-items: center; padding: 8px; height: 125px; background: #f0f2f6; border-radius: 11px; margin-bottom: 13px; }
.estimate-model-image img { width: 105px; height: 105px; object-fit: contain; mix-blend-mode: multiply; }
.estimate-model > span:nth-child(2) { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.estimate-model small { font-size: 10px; color: var(--e-muted); }
.estimate-model strong { font-size: 13px; font-weight: 600; line-height: 1.4; padding-right: 12px; }
.estimate-model em { font-size: 10px; font-style: normal; color: var(--e-accent); }
.estimate-model > .estimate-icon { position: absolute; right: 12px; bottom: 38px; width: 14px; height: 14px; color: var(--e-muted); }
.estimate-empty { grid-column: 1/-1; padding: 30px 20px; border-radius: 14px; text-align: center; background: var(--e-soft); font-size: 13px; }
.estimate-empty p { margin-top: 10px; font-size: 12px; }
.estimate-empty a { text-decoration: underline; text-underline-offset: 3px; }
.estimate-empty button { margin-top: 15px; }

.estimate-choices { display: grid; gap: 10px; }
.estimate-choice { display: flex; position: relative; align-items: center; gap: 15px; min-width: 0; min-height: 88px; padding: 18px; border: 1px solid var(--e-line); border-radius: 15px; background: var(--e-bg); cursor: pointer; transition: border-color .18s, background .18s; }
.estimate-choice input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.estimate-choice:has(input:focus-visible) { outline: 3px solid var(--e-accent); outline-offset: 3px; }
.estimate-choice:hover { border-color: var(--e-accent); }
.estimate-choice.is-selected { border-color: var(--e-accent); background: var(--e-tint); box-shadow: 0 0 0 1px var(--e-accent); }
.choice-copy { flex: 1; min-width: 0; }
.choice-copy strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
.choice-copy small { display: block; font-size: 11px; color: var(--e-muted); line-height: 1.6; margin-top: 5px; }
.choice-check { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid var(--e-line); border-radius: 50%; flex: none; }
.choice-check > .estimate-icon { width: 13px; height: 13px; opacity: 0; }
.is-selected .choice-check { background: #416bfa; border-color: #416bfa; color: #fff; }
.is-selected .choice-check > .estimate-icon { opacity: 1; }
.storage-choices { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.storage-choices .estimate-choice { min-height: 110px; padding: 20px; }
.storage-choices .choice-copy strong { font-size: 24px; letter-spacing: -.04em; }
.storage-choices .choice-copy small { font-size: 11px; }
.estimate-help { margin-top: 25px; background: var(--e-soft); border: 1px solid var(--e-line); border-radius: 13px; }
.estimate-help summary { display: flex; align-items: center; gap: 9px; padding: 17px; list-style: none; cursor: pointer; font-size: 12px; }
.estimate-help summary::-webkit-details-marker, .condition-section summary::-webkit-details-marker { display: none; }
.estimate-help summary .estimate-icon { width: 17px; height: 17px; }
.estimate-help summary .estimate-icon:last-child { margin-left: auto; }
.estimate-help[open] summary .estimate-icon:last-child { transform: rotate(180deg); }
.estimate-help p { padding: 0 18px 18px; font-size: 12px; line-height: 1.85; }
.estimate-capacity-note { margin-top: 20px; font-size: 11px; line-height: 1.8; }
.condition-section { border: 1px solid var(--e-line); border-radius: 17px; overflow: hidden; margin-bottom: 14px; }
.condition-section > summary { display: flex; align-items: center; gap: 12px; padding: 18px; list-style: none; cursor: pointer; min-height: 64px; }
.condition-index { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--e-soft); color: var(--e-muted); font-size: 10px; flex: none; }
.condition-section > summary > strong { font-size: 13px; font-weight: 600; }
.condition-selected { font-size: 10px; color: var(--e-muted); margin-left: auto; }
.condition-section > summary > .estimate-icon { width: 17px; height: 17px; color: var(--e-muted); }
.condition-section[open] > summary > .estimate-icon { transform: rotate(180deg); }
.condition-section[open] > summary { border-bottom: 1px solid var(--e-line); }
.condition-section fieldset { padding: 12px; }
.condition-choices { gap: 9px; }
.condition-choices .estimate-choice { min-height: 91px; gap: 13px; padding: 9px 13px 9px 9px; border-radius: 12px; }
.condition-thumb { display: grid; place-items: center; flex: none; width: 70px; height: 70px; border-radius: 9px; background: #e9edf5; overflow: hidden; }
.condition-thumb .cosmetic-picture { width: 58px; height: 75px; transform: rotate(-8deg) translateY(8px) scale(1.12); }
.condition-choices .choice-copy strong { font-size: 12px; }
.condition-choices .choice-copy small { font-size: 10px; line-height: 1.6; margin-top: 4px; }
.cosmetic-picture { width: 90px; height: 112px; }
.device-edge { fill: #9daabd; stroke: #7a889e; stroke-width: 1.5; }
.device-face { fill: #15243b; }
.cosmetic-chassis .device-face { fill: #c6cbd6; }
.device-island { fill: #020711; }
.device-shine { fill: #fff; opacity: .05; }
.camera-plate { fill: #939eaf; }
.camera-lens { fill: #132239; stroke: #dce1eb; stroke-width: 1; }
.device-mark { fill: #a9b0bd; }
.device-damage { stroke: #f4f7ff; stroke-width: 1.2; fill: none; }
.cosmetic-chassis .device-damage { stroke: #58687f; }
.device-scratch { stroke: #c4d3ef; stroke-width: 1.2; opacity: .8; }
.cosmetic-chassis .device-scratch { stroke: #60738c; }
.device-micro { stroke: #b5c5dc; stroke-width: .6; opacity: .7; }
.cosmetic-chassis .device-micro { stroke: #68788f; }
.stage-cosmetics { display: flex; flex-direction: column; justify-content: center; width: 100%; flex: 1; padding: 25px 0; }
.stage-cosmetics > p { text-align: center; font-size: 24px; color: var(--e-text); letter-spacing: -.04em; font-weight: 550; margin-bottom: 24px; }
.stage-cosmetics > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.stage-cosmetics button { border: 0; background: none; padding: 6px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.stage-cosmetic-visual { display: grid; place-items: center; width: min(100%,160px); aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--e-line); background: #c8d7ec55; overflow: hidden; }
.stage-cosmetics .cosmetic-picture { width: 115px; height: 143px; transform: rotate(-10deg) translateY(20px) scale(1.3); }
.stage-cosmetics button.is-active .stage-cosmetic-visual { border-color: var(--e-accent); box-shadow: 0 0 0 5px #6b91fb15; }
.stage-cosmetics button > strong { font-size: 13px; font-weight: 600; }
.stage-cosmetics button > small { font-size: 11px; color: var(--e-muted); }
.stage-cosmetics > small { text-align: center; font-size: 11px; line-height: 1.8; color: var(--e-muted); margin-top: 25px; }
.estimate-rule { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 16px; border-radius: 12px; background: var(--e-soft); }
.estimate-rule > .estimate-icon { color: var(--e-accent); width: 18px; height: 18px; margin-top: 1px; }
.estimate-rule > p { font-size: 11px; line-height: 1.7; }
.estimate-function-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 12px; padding-bottom: 25px; }
.estimate-function-list > span { display: flex; gap: 7px; align-items: center; font-size: 11px; color: var(--e-muted); }
.estimate-function-list .estimate-icon { width: 15px; height: 15px; color: var(--e-accent); }
.estimate-label { display: block; margin: 27px 0 10px; font-size: 13px; font-weight: 600; }
.estimate-battery { display: block; width: 100%; min-height: 52px; padding: 13px 16px; background: var(--e-soft); border: 1px solid var(--e-line); border-radius: 12px; color: var(--e-text); font-size: 13px; }
.estimate-unlock-note { font-size: 11px; margin-top: 22px; line-height: 1.75; }
.estimate-diagnostics { background: var(--e-soft); border: 1px solid var(--e-line); padding: 20px; border-radius: 15px; margin-top: 20px; }
.estimate-diagnostics h3 { font-size: 15px; letter-spacing: -.02em; }
.estimate-diagnostics > p { font-size: 11px; margin-top: 9px; line-height: 1.7; }
.diagnostic-checks { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 16px; margin-top: 14px; }
.diagnostic-checks > label { display: flex; align-items: center; gap: 8px; min-height: 40px; font-size: 11px; cursor: pointer; }
.diagnostic-checks input { accent-color: #416bfa; width: 17px; height: 17px; flex: none; }

.estimate-offer { background: var(--e-tint); border: 1px solid var(--e-line); border-radius: 21px; padding: 28px; margin-bottom: 32px; }
.estimate-offer > span { font-size: 12px; color: var(--e-muted); }
.estimate-offer > strong { display: block; font-size: clamp(54px,6vw,82px); font-weight: 600; line-height: 1.2; letter-spacing: -.065em; font-variant-numeric: tabular-nums; margin: 8px 0 13px; }
.estimate-offer > p { display: flex; align-items: center; gap: 7px; font-size: 11px; }
.estimate-offer .estimate-icon { width: 16px; height: 16px; color: var(--e-accent); }
.estimate-section-title { font-size: 15px; font-weight: 600; letter-spacing: -.02em; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.estimate-section-title > span { font-size: 10px; font-weight: 400; color: var(--e-muted); letter-spacing: 0; }
.estimate-summary { border: 1px solid var(--e-line); border-radius: 15px; overflow: hidden; }
.estimate-summary > button { display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--e-line); background: var(--e-bg); padding: 16px; min-height: 54px; }
.estimate-summary > button:last-child { border-bottom: 0; }
.estimate-summary > button:hover { background: var(--e-soft); }
.estimate-summary > button > span { color: var(--e-muted); font-size: 11px; }
.estimate-summary > button > strong { margin-left: auto; font-size: 11px; font-weight: 600; text-align: right; }
.estimate-summary > button > .estimate-icon { width: 14px; height: 14px; color: var(--e-accent); }
.estimate-next-steps { padding-top: 28px; }
.estimate-next-steps h2 { font-size: 16px; letter-spacing: -.025em; font-weight: 600; }
.estimate-next-steps ol { padding: 0; list-style: none; margin: 16px 0 0; display: grid; gap: 10px; }
.estimate-next-steps li { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--e-muted); }
.estimate-next-steps li > span { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--e-line); border-radius: 50%; font-size: 9px; color: var(--e-accent); }
.estimate-footer { position: sticky; bottom: 0; z-index: 6; padding: 16px clamp(22px,3.3vw,58px) 15px; border-top: 1px solid var(--e-line); background: var(--e-bg); box-shadow: 0 -8px 30px #13264204; }
.estimate-contact { display: flex; align-items: center; gap: 11px; font-size: 11px; background: var(--e-soft); padding: 13px 16px; border: 1px solid var(--e-line); border-radius: 12px; min-height: 48px; }
.estimate-contact > .estimate-icon { color: var(--e-accent); width: 17px; height: 17px; }
.estimate-contact > .estimate-icon:last-child { margin-left: auto; }
.estimate-contact strong { font-weight: 600; color: var(--e-accent); }
.estimate-contact:hover { border-color: var(--e-accent); }
.estimate-action-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-top: 16px; }
.estimate-footer-price { display: flex; flex-direction: column; gap: 3px; flex: none; }
.estimate-footer-price > span { font-size: 10px; color: var(--e-muted); }
.estimate-footer-price > strong { font-size: 27px; letter-spacing: -.045em; font-weight: 650; line-height: 1.2; font-variant-numeric: tabular-nums; }
.estimate-continue { display: flex; align-items: center; justify-content: center; gap: 15px; border: 0; border-radius: 40px; padding: 15px 25px; min-height: 52px; background: #416bfa; color: #fff !important; font-size: 12px; font-weight: 600; transition: background .2s, transform .2s; }
.estimate-continue:hover:enabled { background: #315ae7; transform: translateX(2px); }
.estimate-continue .estimate-icon { width: 17px; height: 17px; }
.estimate-continue:disabled { opacity: 1; background: var(--e-line); color: var(--e-muted) !important; }
.estimate-demo-note { font-size: 9px; line-height: 1.7; margin-top: 12px; }
.estimate-demo-note a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.estimate-reset-confirm { border: 1px solid var(--e-accent); background: var(--e-tint); border-radius: 14px; padding: 20px; margin-bottom: 25px; font-size: 13px; }
.estimate-reset-confirm > p { font-size: 11px; margin-top: 7px; }
.estimate-reset-confirm > div { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.estimate-reset-confirm button { border: 1px solid var(--e-line); border-radius: 9px; background: var(--e-bg); padding: 10px 14px; font-size: 11px; min-height: 42px; }
.estimate-reset-confirm button:last-child { background: #416bfa; border-color: #416bfa; color: #fff; }

@keyframes estimate-content-in { from { opacity: .3; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes estimate-product-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (min-width: 1600px) {
  .estimate-content, .estimate-toolbar, .estimate-footer { padding-left: max(58px,calc((100% - 650px)/2)); padding-right: max(58px,calc((100% - 650px)/2)); }
  .stage-intro-copy { max-width: 510px; margin: 0 auto; align-self: center; width: 100%; }
}
@media (max-width: 1100px) {
  .estimator { grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); }
  .estimator-stage { padding: 25px 58px 25px 24px; }
  .stage-topline > span { display: none; }
  .stage-intro-copy { padding-left: 0; }
  .stage-navigation { right: 10px; }
  .stage-navigation button { width: 32px; height: 32px; }
  .stage-price { padding: 13px 18px; gap: 10px; }
  .stage-price > strong { font-size: 30px; }
  .stage-price > span { font-size: 10px; }
  .stage-cosmetics > p { font-size: 21px; }
  .stage-cosmetics > div { gap: 10px; }
  .stage-cosmetics .cosmetic-picture { width: 85px; height: 106px; }
  .estimate-search > kbd { display: none; }
  .estimate-search > input { padding-right: 18px; }
  .estimate-reset > span { display: none; }
  .estimate-reset { width: 28px; justify-content: center; padding: 0; }
}
@media (max-width: 850px) {
  .estimator { display: block; }
  .estimator-stage { position: relative; top: auto; height: auto; min-height: 0; display: grid; grid-template-columns: 70px minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 20px 28px; border-right: 0; border-bottom: 1px solid var(--e-line); }
  .estimator[data-step="0"] .estimator-stage, .estimator[data-step="1"] .estimator-stage { display: none; }
  .stage-topline, .stage-message, .stage-product-orbit, .stage-navigation, .stage-cosmetics { display: none; }
  .stage-device-label { margin: 0; align-items: flex-start; text-align: left; gap: 4px; grid-column: 2; grid-row: 1; }
  .stage-device-label > strong { font-size: 20px; }
  .stage-device-label > span { font-size: 9px; }
  .stage-device-label > small { font-size: 11px; }
  .stage-product { margin: 0; min-height: 0; grid-column: 1; grid-row: 1; }
  .stage-product > img { width: 70px; padding: 4px; border-radius: 12px; box-shadow: none; animation: none; }
  .stage-bottom { margin: 0; width: auto; padding: 0; grid-column: 3; grid-row: 1; }
  .stage-price { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
  .stage-price > strong { font-size: 27px; }
  .stage-price > span { font-size: 9px; }
  .stage-fineprint { display: none; }
  .estimator[data-step="3"] .estimator-stage { grid-template-columns: minmax(0,1fr) auto; }
  .estimator[data-step="3"] .stage-device-label { grid-column: 1; }
  .estimator[data-step="3"] .stage-bottom { grid-column: 2; }
  .estimator-workspace { min-height: calc(100svh - var(--e-header) - 100px); }
  .estimate-content { padding: 34px max(28px,calc((100% - 610px)/2)); }
  .estimate-toolbar, .estimate-footer { padding-left: max(28px,calc((100% - 610px)/2)); padding-right: max(28px,calc((100% - 610px)/2)); }
  .estimate-toolbar { padding-top: 18px; padding-bottom: 18px; }
  .estimate-heading h1 { font-size: 40px; }
  .estimate-heading > p { font-size: 14px; }
  .estimate-model-image { height: 140px; }
  .estimate-model-image img { height: 120px; width: 120px; }
  .estimate-model strong { font-size: 14px; }
}
@media (max-width: 740px) {
  .estimator { --e-header: 74px; }
  .estimator-stage { padding: 17px 22px; gap: 12px; grid-template-columns: 56px minmax(0,1fr) auto; }
  .stage-product > img { width: 56px; border-radius: 10px; }
  .stage-device-label > strong { font-size: 17px; }
  .stage-price > strong { font-size: 24px; }
  .estimate-toolbar { gap: 12px; padding: 16px 22px; }
  .estimate-content { padding: 30px 22px; }
  .estimate-heading { margin-bottom: 25px; }
  .estimate-heading h1 { font-size: clamp(28px,7.5vw,38px); }
  .estimate-heading > p { font-size: 13px; margin-top: 16px; }
  .estimate-eyebrow { font-size: 9px; letter-spacing: .11em; }
  .estimate-search > input { font-size: 16px; min-height: 56px; }
  .estimate-search > input::placeholder { font-size: 12px; }
  .estimate-categories { gap: 11px; }
  .estimate-categories > button { min-height: 128px; padding: 20px; gap: 14px; }
  .estimate-categories > button > .estimate-icon { right: 16px; bottom: 20px; }
  .estimate-reassurance { flex-direction: column; gap: 9px; }
  .estimate-brands > button { min-height: 44px; }
  .estimate-footer { padding: 12px 22px max(12px,env(safe-area-inset-bottom)); }
  .estimate-contact { padding: 11px 13px; font-size: 10px; min-height: 44px; }
  .estimate-demo-note { font-size: 9px; margin-top: 10px; }
  .estimate-action-row { padding-top: 12px; gap: 12px; }
  .estimate-continue { font-size: 11px; padding: 14px 21px; min-height: 48px; gap: 10px; }
  .estimate-footer-price > strong { font-size: 25px; }
  .estimate-footer-price > span { font-size: 9px; }
  .estimate-battery { font-size: 16px; }
  .storage-choices .estimate-choice { padding: 17px; min-height: 105px; }
  .storage-choices .choice-copy strong { font-size: 23px; }
  .estimate-choice { padding: 16px; gap: 12px; }
  .choice-copy strong { font-size: 13px; }
  .choice-copy small { font-size: 11px; }
  .condition-section > summary { gap: 9px; padding: 15px 13px; }
  .condition-selected { font-size: 9px; }
  .condition-section fieldset { padding: 10px; }
  .condition-choices .estimate-choice { padding: 9px; gap: 10px; }
  .condition-thumb { width: 57px; height: 66px; }
  .condition-choices .choice-copy strong { font-size: 12px; }
  .condition-choices .choice-copy small { font-size: 10px; }
  .condition-choices .choice-check { width: 18px; height: 18px; }
  .estimate-function-list { gap: 12px 10px; }
  .estimate-function-list > span { font-size: 10px; }
  .estimate-offer { padding: 23px; border-radius: 18px; }
  .estimate-offer > strong { font-size: 66px; }
  .estimate-summary > button { padding: 14px; gap: 10px; }
}
@media (max-width: 370px) {
  .estimate-content { padding-left: 17px; padding-right: 17px; }
  .estimate-toolbar, .estimate-footer { padding-left: 17px; padding-right: 17px; }
  .estimate-categories > button { padding: 16px; }
  .estimate-categories strong { font-size: 12px; }
  .estimate-model { padding: 10px; }
  .estimate-model strong { font-size: 12px; }
  .estimate-model-image { height: 105px; }
  .estimate-model-image img { height: 90px; width: 90px; }
  .storage-choices .estimate-choice { padding: 14px; gap: 8px; }
  .storage-choices .choice-copy strong { font-size: 21px; }
  .storage-choices .choice-copy small { font-size: 10px; }
  .condition-thumb { width: 45px; }
  .condition-section > summary > strong { font-size: 12px; }
  .estimate-contact { gap: 8px; font-size: 9px; }
  .estimate-continue { padding: 13px 16px; }
  .estimate-section-title { align-items: flex-start; flex-direction: column; gap: 5px; }
  .diagnostic-checks { column-gap: 10px; }
  .diagnostic-checks > label { font-size: 10px; }
  .stage-device-label > strong { font-size: 15px; }
  .stage-device-label > span { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .estimate-content, .stage-product > img { animation: none; }
  .estimator *, .estimator *::before, .estimator *::after { transition: none !important; }
}
