/* The checkout's two plans: Intake ($90) or Intake and evaluation ($590).
   Two rows that read as one choice, in the product card above the total.
   Drawn by the templates, wired by secure-booking/plan-picker.js. */

.sb-plans {
  margin: 26px 0 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 8px;
  max-width: 430px;
}

.sb-plan {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--nc-line);
  border-radius: var(--nc-radius-field);
  background: #fff;
  cursor: pointer;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.sb-plan:hover { border-color: var(--nc-line-strong); }

.sb-plan:has(input:checked) {
  border-color: var(--nc-slate);
  box-shadow: inset 0 0 0 1px var(--nc-slate);
}

.sb-plan:has(input:disabled) { cursor: default; opacity: 0.7; }

.sb-plan input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: none;
  accent-color: var(--nc-slate);
}

.sb-plan:has(input:focus-visible) {
  outline: 2px solid var(--nc-terracotta);
  outline-offset: 2px;
}

.sb-plan-name {
  flex: 1;
  font-size: var(--fs-15, 15px);
  font-weight: 700;
  color: var(--nc-slate);
}

.sb-plan-price {
  font-family: var(--nc-font-serif);
  font-size: var(--fs-17, 17px);
  font-weight: 700;
  color: var(--nc-slate);
  font-variant-numeric: tabular-nums;
}

/* The total sits close under the plans it sums. */
.sb-plans + .sb-total { margin-top: 14px; }

.sb-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .sb-plan { transition: none; }
}
