.calcbox__input,
.calcbox__find,
.calcbox__chip { line-height: normal; }

@media (min-width: 1024px) {
  #calc { padding-bottom: 108px; }
}

.calc__layout { margin-top: 0; }

@media (min-width: 740px) {
  .calc__layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
    margin-top: 9px;
  }
  .calc__side { display: flex; flex-direction: column; gap: 16px; margin-top: 0; }

  .calc__layout > .reveal:first-child { grid-area: 1 / 1; }
  .calc__side { grid-area: 1 / 2 / span 2; }
  .calc__manager { grid-area: 2 / 1; }

  .calc__layout { row-gap: 0; }
}
@media (max-width: 1023.98px) {
  .calcbox__input { min-width: 100%; }
}

@media (min-width: 1024px) {
  .calc__layout { margin-top: 0; }
  .calc__side { margin-top: 0; }
}

.brands { padding: clamp(18px, 2.4vw, 26px) 0; }
.brands__track { animation: jm-marquee 30s linear infinite; }
.brands__item {
  font-size: clamp(15px, 1.8vw, 20px);
  letter-spacing: .12em;
}

.brands__item i { opacity: 1; }

.section--dark .link-accent:hover { color: var(--text-inverse); }

.est {
  background: var(--card);
  border-radius: 16px;
  padding: clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 22px);
}
.est[hidden] { display: none; }

.est__loading {
  padding: 40px 24px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-inverse-faint);
  border: 1px dashed var(--hairline-dark);
  border-radius: 16px;
}

.est__controls { display: flex; flex-direction: column; gap: clamp(16px, 1.8vw, 20px); }
.est__field { display: flex; flex-direction: column; gap: 10px; }

.est__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-footnote);
}
.est__label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }

.est__swipe { display: none; }
@media (max-width: 1023px) { .est__swipe { display: inline; } }
.est__price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 1.8vw, 23px);
  letter-spacing: -.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.est__range {
  --fill: 50%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 26px;
  background: transparent;
  cursor: pointer;
  margin: 0;
}
.est__range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0 var(--fill), var(--skeleton-b) var(--fill) 100%);
}
.est__range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0 var(--fill), var(--skeleton-b) var(--fill) 100%);
}
.est__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--cta);
  border: 3px solid var(--card);
  box-shadow: 0 2px 8px rgba(44, 36, 32, .28);
  transition: transform .15s;
}
.est__range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cta);
  border: 3px solid var(--card);
  box-shadow: 0 2px 8px rgba(44, 36, 32, .28);
}
.est__range:active::-webkit-slider-thumb { transform: scale(1.12); }
.est__range:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 999px; }

.est__scale {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-footnote);
  font-variant-numeric: tabular-nums;
}

.est__seg { display: flex; flex-wrap: wrap; gap: 7px; }
.est__seg--two { display: grid; grid-template-columns: 1fr 1fr; }

.est__opt {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--field-border);
  background: transparent;
  font-size: 12.5px;
  font-weight: 500;
  line-height: normal;
  color: var(--text-soft);
  transition: border-color var(--dur), background var(--dur), color var(--dur);
  text-align: center;
}
.est__opt:hover { border-color: var(--accent); color: var(--text); }
.est__opt.is-active {
  background: var(--cta);
  border-color: var(--cta);
  color: var(--text-inverse);
  font-weight: 600;
}
.est__opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.est__out { border-top: 1px solid var(--hairline); padding-top: clamp(16px, 1.8vw, 20px); }
.est__out-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-footnote);
}
.est__total {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.est__split {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-soft);
}
.est__split b { color: var(--text); font-weight: 600; }
.est__split i { font-style: normal; color: var(--accent-gold); margin: 0 4px; }
.est__split[hidden], .est__over[hidden] { display: none; }
.est__over { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--text-soft); }

.est__ship {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-footnote);
}
.est__ship[hidden] { display: none; }

.est__cta { width: 100%; text-align: center; }
.est__note {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-footnote);
  text-align: center;
}

.excase { margin-top: clamp(32px, 4vw, 48px); }
.excase[hidden] { display: none; }
.excase__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-inverse-faint);
  margin-bottom: 14px;
}
.excase__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.excase__item {
  display: grid;
  gap: 4px;
  text-align: left;
  padding: 18px 20px;
  border: 1px solid var(--hairline-dark);
  border-radius: 14px;
  background: rgba(245, 240, 232, .03);
  transition: border-color var(--dur), background var(--dur);
}
.excase__item:hover { border-color: var(--accent-gold); background: rgba(245, 240, 232, .06); }
.excase__item:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 2px; }
.excase__name { font-size: 15px; font-weight: 600; color: var(--text-inverse); }
.excase__src { font-size: 12.5px; color: var(--text-inverse-faint); }
.excase__total {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -.02em;
  color: var(--text-inverse);
  font-variant-numeric: tabular-nums;
}
.excase__split { font-size: 12.5px; color: var(--text-inverse-soft); }

@media (min-width: 620px) {
  .excase__grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (min-width: 740px) {
  .est__seg--two { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 419px) {
  .est__seg--two { grid-template-columns: 1fr; }
}

.est__total { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.est__bonus {
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
}
.est__bonus[hidden] { display: none; }
.excase__was { color: var(--text-inverse-faint); }

@media (min-width: 1024px) {
  .excase__total {
    display: block;
    margin-top: 12px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 24px;
    letter-spacing: -.02em;
    color: var(--text-inverse);
    font-variant-numeric: tabular-nums;
  }
}

.excase__save {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-gold);
}
.excase__save[hidden] { display: none; }

.est .link-accent:hover,
.est__over .link-accent:hover { color: var(--text); }

.excase__retail {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-inverse-faint);
}
.excase__retail s { text-decoration-thickness: 1.5px; }

@media (max-width: 1023px) {
  .est__range::-webkit-slider-thumb { width: 28px; height: 28px; margin-top: -11px; }
  .est__range::-moz-range-thumb { width: 28px; height: 28px; }
}

@media (max-width: 767px) {
  #calc { padding: 56px 0; }

  #calc .calc__layout { display: flex; flex-direction: column; align-items: stretch; }
  .calc__layout > .reveal:first-child { display: contents; }
  .calc__layout > * { min-width: 0; }
  .calc__side { margin-top: 24px; }

  .calc__manager { margin: 20px 0 0; font-size: 12.5px; line-height: 20px; }

  .calc__manager a { white-space: nowrap; }
  .calc__steps { display: none; }

  #calc .section__eyebrow { margin: 0; font-size: 11px; line-height: normal; }
  .section__title.calc__title { margin: 18px 0 0; font-size: 30px; line-height: 1.1; }
  .section__lead.calc__lead { margin: 18px 0 0; font-size: 14.5px; line-height: 1.7; }

  .est { padding: 0; gap: 0; background: var(--bg-warm); overflow: hidden; }
  .est__controls { background: var(--card); padding: 20px; gap: 18px; }
  .est__price { font-size: 21px; letter-spacing: 0; }
  .est__range { height: 22px; }

  .est__label,
  .est__price,
  .est__scale,
  .est__out-label,
  .est__bonus,
  .est__note,
  .excase__label,
  .excase__name,
  .excase__src,
  .excase__total,
  .excase__retail,
  .excase__save { line-height: normal; }

  .est__scale { font-variant-numeric: normal; }
  .est__split b { font-variant-numeric: tabular-nums; }

  .est__seg {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .est__seg::-webkit-scrollbar { display: none; }

  .est__seg--two { overflow: visible; grid-template-columns: 1fr 1fr; }
  .est__seg .est__opt { flex: none; font-weight: 400; padding: 10px 16px; }
  .est__seg .est__opt.is-active { font-weight: 600; }
  .est__seg--two .est__opt { padding: 11px 8px; font-size: 12px; }

  #est-dlv-label {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .est__out {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 10px;
    padding: 20px 20px 0;
    border-top: 1.5px dashed var(--hairline-warm);
  }
  .est__out-label { grid-column: 1; font-size: 11px; line-height: normal; color: var(--accent); }
  .est__total { grid-column: 2; grid-row: 1; margin: 0; font-size: 31px; line-height: normal; }

  .est__total b { font-weight: inherit; }
  .est__bonus,
  .est__split,
  .est__ship,
  .est__over { grid-column: 1 / -1; margin: 0; }

  .est__bonus { order: 1; font-size: 12px; line-height: normal; }

  .est__split {
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 10px;
    column-gap: 12px;
    font-size: 13px;
    line-height: normal;
  }
  .est__split > b:nth-of-type(1) { grid-area: 1 / 2; }
  .est__split > span:nth-of-type(1) { grid-area: 1 / 1; }
  .est__split > b:nth-of-type(2) { grid-area: 2 / 2; }
  .est__split > span:nth-of-type(2) { grid-area: 2 / 1; }

  .est__split > b { font-weight: 700; text-align: right; }
  .est__split > i { display: none; }

  .est__cta {
    width: auto;
    min-height: 0;

    margin: 16px 20px 0;
    padding: 17px;
    font-size: 14.5px;
    line-height: normal;
    letter-spacing: 0;
  }
  .est__note {
    padding: 0 20px 20px;
    margin-top: 10px;
    line-height: normal;
  }

  .excase { margin-top: 28px; }
  .excase__label { margin: 0 0 12px; line-height: normal; }
  .excase__grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: calc(-1 * clamp(20px, 4vw, 48px));
    padding-inline: clamp(20px, 4vw, 48px);
  }
  .excase__grid::-webkit-scrollbar { display: none; }

  .excase__item {
    flex: none;
    width: 288px;
    padding: 18px;
    border-radius: 14px;
  }
  .excase__name { font-size: 14.5px; line-height: normal; }
  .excase__src { font-size: 12px; line-height: normal; }

  .excase__total {
    margin-top: 4px;
    font-size: 22px;
    line-height: normal;
    letter-spacing: 0;
    font-variant-numeric: normal;
  }
  .excase__retail { font-size: 12.5px; line-height: normal; }

  .excase__save { margin-top: 0; font-size: 12px; line-height: normal; }
  .excase__split { display: none; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #calc { padding: 72px 0; }

  .calc__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.542fr);

    column-gap: 40px;
    margin-top: 0;
  }

  .calc__layout > * { min-width: 0; }

  #calc .section__eyebrow { margin: 0; font-size: 11.5px; line-height: normal; }

  .section__title.calc__title { margin: 20px 0 0; font-size: 38px; line-height: 1.1; }
  .section__lead.calc__lead { margin: 22px 0 0; font-size: 15px; line-height: 1.7; max-width: 440px; }
  .calc__steps { margin-top: 26px; gap: 12px; font-size: 13.5px; }
  .calc__manager { margin-top: 30px; font-size: 12.5px; line-height: 20px; }

  .est { padding: 24px; gap: 20px; }
  .est__controls { gap: 20px; }
  .est__price { font-size: 21px; }

  .est__label,
  .est__price,
  .est__out-label,
  .est__bonus,
  .est__note,
  .excase__label,
  .excase__name,
  .excase__src,
  .excase__total,
  .excase__retail,
  .excase__save { line-height: normal; }

  .est__range { height: 22px; }
  .est__scale { line-height: normal; }

  .est__seg {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .est__seg::-webkit-scrollbar { display: none; }
  .est__seg--two { overflow: visible; }

  .est__seg .est__opt { flex: none; font-weight: 400; padding: 10px 16px; }
  .est__seg .est__opt.is-active { font-weight: 600; }
  .est__seg--two .est__opt { padding: 11px 8px; }

  .est__out { padding-top: 18px; }
  .est__total { font-size: 40px; }

  .est__total b { font-weight: inherit; }
  .est__bonus { margin-top: 6px; font-size: 12.5px; }
  .est__split b { font-weight: 700; }
  .est__cta {
    min-height: 0;
    padding: 17px;
    font-size: 14.5px;
    line-height: normal;
    letter-spacing: 0;
  }
  .est__note { margin-top: -10px; }

  .excase { margin-top: 44px; }
  .excase__item { padding: 18px 20px; border-radius: 14px; }
  .excase__name { font-size: 14.5px; }
  .excase__src { font-size: 12px; }
  .excase__total { margin-top: 6px; font-size: 22px; letter-spacing: 0; }
  .excase__retail { font-size: 12.5px; }

  .excase__save { margin-top: 0; font-size: 12px; }

  .est__scale { font-variant-numeric: normal; }

  .excase__split { display: none; }
}
