/* Prijsindicatie-tool — hergebruikt de bestaande bm-* designtokens. */

.bm-price-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 720px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(16, 16, 108, 0.18);
  border-radius: var(--bm-radius);
  background: rgba(255, 255, 255, 0.75);
  color: var(--bm-ink);
  font-size: 0.92rem;
  line-height: 1.5;
}

.bm-price-disclaimer i {
  flex: 0 0 auto;
  color: var(--bm-teal-accessible);
  margin-top: 2px;
}

.bm-price-disclaimer span {
  min-width: 0;
}

.bm-price-disclaimer--result {
  max-width: none;
  margin: 24px 0;
  background: var(--bm-soft);
}

.bm-price-tool {
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  background: #fff;
  box-shadow: var(--bm-shadow);
  padding: clamp(24px, 4vw, 42px);
}

.bm-price-tool__progress {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bm-line);
}

.bm-price-tool__progress span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bm-muted);
}

.bm-price-tool__progress span.is-active {
  color: var(--bm-teal-accessible);
}

.bm-price-tool__progress span.is-done {
  color: var(--bm-ink);
}

.bm-price-step h2 {
  margin: 0 0 8px;
  color: var(--bm-ink);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.bm-price-step > p {
  margin: 0 0 24px;
  color: var(--bm-muted);
}

.bm-price-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.bm-price-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  background: var(--bm-soft);
  color: var(--bm-ink);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bm-price-option i {
  color: var(--bm-teal);
  font-size: 1.3rem;
}

.bm-price-option span {
  font-weight: 800;
}

.bm-price-option small {
  color: var(--bm-muted);
  font-weight: 400;
  line-height: 1.4;
}

.bm-price-option:hover {
  border-color: rgba(26, 153, 223, 0.42);
  box-shadow: 0 14px 34px rgba(16, 16, 108, 0.08);
}

.bm-price-option.is-selected {
  border-color: var(--bm-teal);
  background: rgba(26, 153, 223, 0.1);
  box-shadow: 0 14px 34px rgba(16, 16, 108, 0.1);
}

.bm-price-options--multi .bm-price-option {
  flex-direction: row;
  align-items: center;
}

.bm-price-tool__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--bm-line);
}

.bm-price-tool__nav .bm-button:only-child {
  margin-left: auto;
}

.bm-price-result__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: start;
  gap: 18px;
  margin-bottom: 20px;
}

.bm-price-result__card {
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  padding: 22px;
  background: var(--bm-soft);
}

.bm-price-result__card--market {
  padding: 16px;
  background: #fff;
}

.bm-price-result__card--market .bm-eyebrow {
  font-size: 0.72rem;
}

@media (max-width: 780px) {
  .bm-price-result__grid {
    grid-template-columns: 1fr;
  }
}

.bm-price-result__card dl {
  margin: 16px 0 0;
}

.bm-price-result__card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--bm-line);
}

.bm-price-result__card dl > div:first-child {
  border-top: none;
}

.bm-price-result__card dt {
  color: var(--bm-muted);
}

.bm-price-result__card dd {
  margin: 0;
  color: var(--bm-ink);
  font-weight: 700;
  text-align: right;
}

.bm-price-result__total {
  font-weight: 900;
}

.bm-price-result__total dt,
.bm-price-result__total dd {
  color: var(--bm-ink);
  font-weight: 900;
}

.bm-price-result__note {
  margin: 14px 0 0;
  color: var(--bm-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.bm-price-result__note a {
  color: var(--bm-teal-accessible);
}

.bm-price-result__percentage {
  margin: 12px 0 0;
  color: var(--bm-ink);
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.45;
}

.bm-price-quote {
  margin: 8px 0 24px;
  padding-top: 24px;
  border-top: 1px solid var(--bm-line);
}

.bm-price-quote h3 {
  margin: 0 0 6px;
  color: var(--bm-ink);
  font-size: 1.3rem;
}

.bm-price-quote > p {
  margin: 0 0 20px;
  color: var(--bm-muted);
}

.bm-price-quote-form {
  box-shadow: none;
  transition: none;
}

.bm-price-quote-form:hover {
  transform: none;
  box-shadow: none;
}

.bm-price-quote-optional {
  font-weight: 400;
  color: var(--bm-muted);
}

.bm-price-quote-checkbox {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px !important;
}

.bm-price-quote-checkbox input[type="checkbox"] {
  width: auto;
  min-height: auto;
  accent-color: var(--bm-teal);
}

.bm-price-result__modules {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.bm-price-result__modules li {
  padding: 10px 14px;
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  color: var(--bm-ink);
  font-size: 0.92rem;
}

.bm-price-noscript {
  margin-top: 20px;
  color: var(--bm-muted);
}

@media (max-width: 640px) {
  .bm-price-tool__progress {
    gap: 6px 12px;
  }

  .bm-price-tool__progress span {
    font-size: 0.78rem;
  }

  .bm-price-tool__nav {
    flex-direction: column-reverse;
  }

  .bm-price-tool__nav .bm-button {
    width: 100%;
    justify-content: center;
  }
}
