/* Step 1 of the shared checkout (plan configuration) on every sales site.
   Mirrors the platform's checkout shell (framework static/css/checkout.css) so
   the plan, account, payment and done steps read as one journey, while the
   site's own header and footer keep the seller's brand. Scoped to
   .ne-plan-checkout so it never reaches the rest of the site. */

.ne-plan-checkout {
  --co-ink: #1e1b1a;
  --co-text: #46413e;
  --co-muted: #7a736f;
  --co-line: #e7e3e0;
  --co-canvas: #f6f5f3;
  --co-card: #ffffff;
  --co-ok: #2f7d5b;
  background: var(--co-canvas);
  color: var(--co-text);
  font-size: 14px;
  line-height: 1.55;
  padding: 4px 0 40px;
}
.ne-plan-checkout .co-wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.ne-plan-checkout h1, .ne-plan-checkout h2 { color: var(--co-ink); font-weight: 500; letter-spacing: 0; }

.ne-plan-checkout .co-steps { display: flex; gap: 6px; list-style: none; margin: 20px 0 16px; padding: 0; }
.ne-plan-checkout .co-step { display: flex; align-items: center; gap: 8px; flex: 1 1 0; min-width: 0; color: var(--co-muted); font-size: 12.5px; font-weight: 500; }
.ne-plan-checkout .co-step::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--co-line); }
.ne-plan-checkout .co-step:last-child { flex: 0 0 auto; }
.ne-plan-checkout .co-step:last-child::after { display: none; }
.ne-plan-checkout .co-step-dot { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--co-line); background: var(--co-card); font-size: 11.5px; }
.ne-plan-checkout .co-step.is-current { color: var(--co-ink); }
.ne-plan-checkout .co-step.is-current .co-step-dot { background: var(--co-ink); border-color: var(--co-ink); color: #fff; }

.ne-plan-checkout .co-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.ne-plan-checkout .co-primary { display: grid; gap: 12px; margin: 0; }
.ne-plan-checkout .co-aside { position: sticky; top: 96px; }
.ne-plan-checkout .co-card { background: var(--co-card); border: 1px solid var(--co-line); border-radius: 12px; padding: 22px 24px; }
.ne-plan-checkout .co-kicker { margin: 0 0 4px; color: var(--co-muted); font-size: 11.5px; font-weight: 500; }
.ne-plan-checkout .co-title { margin: 0 0 4px; font-size: 20px; line-height: 1.3; }
.ne-plan-checkout .co-subtitle { margin: 0 0 12px; font-size: 16px; }
.ne-plan-checkout .co-lead { margin: 0 0 16px; color: var(--co-muted); }
.ne-plan-checkout .co-fine { margin: 8px 0 0; color: var(--co-muted); font-size: 12px; }
.ne-plan-checkout .co-static { margin: 0; padding: 9px 0; color: var(--co-ink); }

.ne-plan-checkout .co-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.ne-plan-checkout .form-label { margin-bottom: 4px; color: var(--co-ink); font-size: 12.5px; font-weight: 500; }
.ne-plan-checkout .form-control, .ne-plan-checkout .form-select { min-height: 40px; border-color: var(--co-line); border-radius: 8px; font-size: 14px; }
.ne-plan-checkout .form-control:focus, .ne-plan-checkout .form-select:focus { border-color: var(--co-ink); box-shadow: 0 0 0 3px rgba(30, 27, 26, .08); }
.ne-plan-checkout .form-text { margin-top: 4px; color: var(--co-muted); font-size: 12px; }
.ne-plan-checkout .alert { padding: 10px 14px; border-radius: 10px; font-size: 13px; }

/* Domain choice tiles */
.ne-plan-checkout .co-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; padding: 0; border: 0; }
.ne-plan-checkout .co-choice { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px; border: 1px solid var(--co-line); border-radius: 10px; cursor: pointer; }
.ne-plan-checkout .co-choice:has(input:checked) { border-color: var(--co-ink); box-shadow: inset 0 0 0 1px var(--co-ink); }
.ne-plan-checkout .co-choice .form-check-input { flex: 0 0 auto; margin-top: 3px; }
.ne-plan-checkout .co-choice strong { display: block; color: var(--co-ink); font-size: 13px; font-weight: 500; line-height: 1.35; }
.ne-plan-checkout .co-choice small { display: block; margin-top: 2px; color: var(--co-muted); font-size: 11.5px; font-weight: 400; line-height: 1.45; }
.ne-plan-checkout .co-domain { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 12px 16px; }
.ne-plan-checkout .co-domain-result { margin-top: 12px; }
.ne-plan-checkout .co-chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* Buttons */
.ne-plan-checkout .btn { min-height: 40px; padding: 8px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 500; }
.ne-plan-checkout .btn-sm { min-height: 32px; padding: 4px 12px; font-size: 12.5px; }
.ne-plan-checkout .input-group .btn { border-radius: 0 8px 8px 0; }
.ne-plan-checkout .btn-dark { background: var(--co-ink); border-color: var(--co-ink); color: #fff; }
.ne-plan-checkout .btn-dark:hover { background: #000; border-color: #000; color: #fff; }
.ne-plan-checkout .btn-outline-dark { background: var(--co-card); border-color: var(--co-line); color: var(--co-ink); }
.ne-plan-checkout .btn-outline-dark:hover { background: var(--co-canvas); border-color: #cfc8c4; color: var(--co-ink); }
.ne-plan-checkout .co-submit { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ne-plan-checkout .co-back { color: var(--co-muted); font-size: 12.5px; text-decoration: none; }
.ne-plan-checkout .co-back:hover { color: var(--co-ink); }

/* Summary */
.ne-plan-checkout .co-summary { padding: 18px 20px; }
.ne-plan-checkout .co-summary-product { margin: 0; font-size: 16px; }
.ne-plan-checkout .co-summary-meta { margin: 2px 0 12px; color: var(--co-muted); font-size: 12.5px; }
.ne-plan-checkout .co-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--co-line); }
.ne-plan-checkout .co-total span { color: var(--co-ink); font-weight: 500; }
.ne-plan-checkout .co-total strong { color: var(--co-ink); font-size: 18px; font-weight: 600; }
.ne-plan-checkout .co-summary-note { margin: 8px 0 0; color: var(--co-muted); font-size: 11.5px; }
.ne-plan-checkout .co-summary-note a { color: var(--co-ink); }

@media (max-width: 860px) {
  .ne-plan-checkout .co-layout { grid-template-columns: minmax(0, 1fr); }
  .ne-plan-checkout .co-aside { position: static; }
  .ne-plan-checkout .co-choices { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .ne-plan-checkout .co-wrap { padding: 0 14px; }
  .ne-plan-checkout .co-card { padding: 18px 16px; }
  .ne-plan-checkout .co-fields, .ne-plan-checkout .co-domain { grid-template-columns: minmax(0, 1fr); }
  .ne-plan-checkout .co-step-label { display: none; }
  .ne-plan-checkout .co-step.is-current .co-step-label { display: inline; }
  .ne-plan-checkout .co-submit { flex-direction: column-reverse; align-items: stretch; }
  .ne-plan-checkout .co-submit .btn { width: 100%; }
}
