/*
 * /start-your-tuning-business/: the configurator alone (its steps, the summary card, the totals on a phone). The rest of
 * the page is the family's shared sheet, css/biz.css.
 */

/* ---- the configurator ------------------------------------------------------------------------------------------ */

.bz-build__grid {
  display: grid;
  gap: var(--sp-6);
  align-items: start;
}
@media (min-width: 1024px) {
.bz-build__grid {
    grid-template-columns: minmax(0, 1fr) 400px;
  }

.bz-sum {
    position: sticky;
    top: 104px;
  }
}
.bz-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: bz-step;
}
.bz-step:not([hidden]) {
  counter-increment: bz-step;
}
.bz-step + .bz-step {
  margin-top: var(--sp-6);
}
.bz-step fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.bz-step__t {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0;
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}
.bz-step__n {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
}
.bz-step__n::before {
  content: counter(bz-step);
}
.bz-step__help {
  margin: var(--sp-2) 0 var(--sp-4) 44px;
  color: var(--ink-3);
  font-size: 0.9375rem;
}
.bz-opts--style {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}
.bz-opt__p {
  color: var(--accent-ink);
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 600;
}
.bz-opt__site {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}
.bz-opt__img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: var(--sp-2);
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 10px;
  object-fit: cover;
  object-position: top;
}
.bz-opt--pic .bz-opt__box::after {
  top: 26px;
  right: 26px;
  background: var(--bg-raised);
}
.bz-form.is-live .bz-form__go {
  display: none;
}
.bz-form__go {
  margin-top: var(--sp-6);
}
/* ---- the summary and the send form ----------------------------------------------------------------------------- */

.bz-sum {
  display: grid;
  gap: var(--sp-4);
  scroll-margin-top: 96px;
}
.bz-sum__card {
  transition: opacity var(--dur-2) var(--ease-out);
}
.bz-sum__card.is-busy {
  opacity: 0.6;
}
.bz-lines {
  margin: var(--sp-3) 0 0;
  padding: 0;
  list-style: none;
}
.bz-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-3);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.bz-line__l small {
  display: block;
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 0.8125rem;
  line-height: 1.35;
}
.bz-line__p {
  flex: none;
  max-width: 48%;
  font-weight: 600;
  text-align: right;
}
.bz-facts {
  margin-top: var(--sp-3);
  font-size: 0.875rem;
}
.bz-totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
  margin: var(--sp-4) 0 0;
  padding: var(--sp-4) 0 0;
  border-top: 1px solid var(--line-strong);
}
.bz-total dt {
  color: var(--ink-3);
  font-size: 0.8125rem;
}
.bz-total dd {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
/* The note under a figure: its own description, in the body type. */
.bz-total .bz-total__note {
  display: block;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink-3);
  font-size: 0.75rem;
  line-height: 1.3;
}
.bz-veh {
  display: grid;
  gap: 2px;
  margin: var(--sp-4) 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}
.bz-veh li {
  display: flex;
  justify-content: space-between;
  color: var(--ink-2);
}
.bz-card__quoted,
.bz-card__wa {
  margin-top: var(--sp-3);
  font-size: 0.9375rem;
}
/* The totals follow a phone down the steps, until the summary itself is in view. */
.bz-bar {
  position: fixed;
  z-index: 40;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--bg-raised);
  box-shadow: var(--shadow-float);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-2) var(--ease-out);
}
/* A class that sets display outranks the hidden attribute: hidden has to win again here. */
.bz-bar[hidden] {
  display: none;
}
.bz-bar.is-away {
  opacity: 0;
  transform: translateY(140%);
  pointer-events: none;
}
.bz-bar a {
  flex: none;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-ink);
  text-decoration: none;
}
@media (min-width: 1024px) {
.bz-bar {
    display: none;
  }
}
