.fba-estimator input[type="range"] {
  width: 100%;
  accent-color: #c5f82a;
  cursor: pointer;
  min-height: 32px;
  margin: 0;
}
.fba-estimator input[type="range"]:focus-visible {
  outline: 2px solid #c5f82a;
  outline-offset: 5px;
}
.fba-estimator-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-end;
  margin-bottom: 30px;
}
.fba-estimator-heading h2 {
  max-width: 760px;
  margin: 10px 0 0;
}
.fba-estimator-heading p {
  max-width: 680px;
  margin: 12px 0 0;
  color: #52645a;
}
.fba-estimator-badge {
  padding: 10px 14px;
  border: 1px solid #b8c8b9;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
}
.fba-estimator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}
.fba-estimator-controls,
.fba-estimator-result {
  padding: 28px;
  border-radius: 20px;
  background: #fff;
}
.fba-estimator-controls label {
  display: block;
  margin-bottom: 24px;
  font-weight: 700;
}
.fba-estimator-controls output {
  float: right;
  color: #17251d;
}
.fba-estimator-controls [data-fba-bundle-validation].is-match {
  color: #47614c;
}
.fba-estimator-controls [data-fba-bundle-validation].is-mismatch {
  color: #b42318;
}
.fba-estimator-controls input[type="range"] {
  display: block;
  width: 100%;
  margin-top: 14px;
  accent-color: #c5f82a;
}
.fba-estimator-size {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.fba-estimator-size label {
  margin: 0;
}
.fba-estimator-size input {
  position: absolute;
  opacity: 0;
}
.fba-estimator-size span {
  display: block;
  padding: 12px 16px;
  border: 1px solid #bacabd;
  border-radius: 999px;
  font-weight: 650;
}
.fba-estimator-size input:checked + span {
  background: #17251d;
  color: #fff;
  border-color: #17251d;
}
.fba-estimator-result {
  background: #17251d;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.fba-estimator-result .eyebrow {
  color: #c5f82a;
}
.fba-estimator-result h3 {
  font-size: 18px;
}
.fba-estimator-total {
  display: block;
  font-size: 56px;
  letter-spacing: -0.06em;
  margin: 12px 0;
}
.fba-estimator-breakdown {
  color: #dce6df;
  line-height: 1.55;
}
.fba-estimator-result .button {
  align-self: flex-start;
  margin-top: 28px;
}
@media (max-width: 800px) {
  .fba-estimator {
    padding: 24px;
  }
  .fba-estimator-heading,
  .fba-estimator-grid {
    display: block;
  }
  .fba-estimator-badge {
    display: inline-block;
    margin-top: 20px;
  }
  .fba-estimator-result {
    margin-top: 20px;
  }
  .fba-estimator-total {
    font-size: 44px;
  }
}
