/* ─── ORDER WIZARD MODAL ─── */
.wizard-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 21, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px;
  overflow-y: auto;
  animation: wizardOverlayIn 0.3s ease-out;
}
.wizard-overlay.is-open {
  display: flex;
}
@keyframes wizardOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.wizard-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 920px;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
  padding: 40px;
  animation: wizardModalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes wizardModalIn {
  from { transform: translateY(40px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.wizard-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: none;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.wizard-close:hover { background: var(--line); }

/* Step indicator */
.wizard-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.wizard-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  flex: 0 0 auto;
  padding: 0 24px;
}
.wizard-step-dot::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--line);
  z-index: -1;
}
.wizard-step-dot:last-child::after { display: none; }
.wizard-step-dot span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--line);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 14px;
  transition: all 0.3s;
}
.wizard-step-dot label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.wizard-step-dot.is-active span {
  background: var(--kw-red);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 14px -4px rgba(168, 36, 62, 0.5);
}
.wizard-step-dot.is-done span {
  background: #28C840;
  color: #fff;
}
.wizard-step-dot.is-done span::before {
  content: '✓';
}
.wizard-step-dot.is-done span > * { display: none; }
.wizard-step-dot.is-active label,
.wizard-step-dot.is-done label { color: var(--text); }

/* Steps */
.wizard-step { display: none; animation: wizardStepIn 0.3s ease-out; }
.wizard-step.is-current { display: block; }
@keyframes wizardStepIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.wizard-upsell-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.wizard-step-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.1;
}
.wizard-step-title .red { color: var(--kw-red); }
.wizard-step-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 24px;
  line-height: 1.55;
}

/* Cart preview */
.wizard-cart {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}
.wizard-cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.wizard-cart-item:last-child { border-bottom: none; }
.wizard-cart-name { font-weight: 600; color: var(--text); }
.wizard-cart-name small { display: block; color: var(--text-muted); font-weight: 500; font-size: 12px; margin-top: 2px; }
.wizard-cart-price { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 18px; color: var(--text); }

/* Plans */
.wizard-plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.wizard-plan {
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.wizard-plan:hover { border-color: var(--kw-red-light); transform: translateY(-2px); }
.wizard-plan-best {
  border-color: var(--kw-red);
  background: linear-gradient(180deg, rgba(168, 36, 62, 0.04) 0%, transparent 100%);
}
.wizard-plan-tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--kw-red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 100px;
}
.wizard-plan-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.wizard-plan-feats {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}
.wizard-plan-feats div { padding: 2px 0; }
.wizard-plan-price {
  margin-bottom: 12px;
}
.wizard-plan-amt {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}
.wizard-plan-period {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 4px;
}
.wizard-plan-btn {
  background: #fff;
  border: 2px solid var(--kw-red);
  color: var(--kw-red);
  border-radius: 100px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.wizard-plan-btn:hover { background: var(--kw-red); color: #fff; }
.wizard-plan-btn-best {
  background: var(--kw-red);
  color: #fff;
}
.wizard-plan-btn-best:hover { background: var(--kw-red-dark); }

/* Addons */
.wizard-addon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
.wizard-addon {
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.wizard-addon:hover { border-color: var(--kw-red-light); }
.wizard-addon:has(input:checked) {
  border-color: var(--kw-red);
  background: rgba(168, 36, 62, 0.03);
}
.wizard-addon-check {
  width: 18px;
  height: 18px;
  accent-color: var(--kw-red);
  flex-shrink: 0;
}
.wizard-addon-body { flex: 1; min-width: 0; }
.wizard-addon-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}
.wizard-addon-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.wizard-addon-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--kw-red);
  flex-shrink: 0;
}
.wizard-addon-price small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  text-align: right;
}

/* Checkout */
.wizard-checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  margin-bottom: 16px;
}
.wizard-form-group {
  margin-bottom: 14px;
}
.wizard-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.wizard-form-opt { font-weight: 400; color: var(--text-muted); }
.wizard-form-group input[type="text"],
.wizard-form-group input[type="email"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.wizard-form-group input:focus {
  outline: none;
  border-color: var(--kw-red);
}
.wizard-form-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
}

.wizard-payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wizard-payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
}
.wizard-payment-option:has(input:checked) {
  border-color: var(--kw-red);
  background: rgba(168, 36, 62, 0.03);
}
.wizard-payment-option input { accent-color: var(--kw-red); }

/* Summary */
.wizard-summary {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 20px;
  position: sticky;
  top: 16px;
}
.wizard-summary-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.wizard-summary-list {
  font-size: 13px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.wizard-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  color: var(--text-muted);
}
.wizard-summary-row b { color: var(--text); font-weight: 600; }
.wizard-summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 12px 0 4px;
  font-weight: 600;
}
.wizard-summary-total {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--kw-red);
}
.wizard-summary-monthly {
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
  margin-bottom: 16px;
}
.wizard-checkbox-tos {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}
.wizard-checkbox-tos input { accent-color: var(--kw-red); margin-top: 3px; }
.wizard-checkbox-tos a { color: var(--kw-red); }

.wizard-btn-finalize {
  width: 100%;
  padding: 14px;
  background: var(--kw-red);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}
.wizard-btn-finalize:hover:not(:disabled) {
  background: var(--kw-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(168, 36, 62, 0.5);
}
.wizard-btn-finalize:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Action buttons */
.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  gap: 12px;
}
.wizard-actions-bottom { margin-top: 24px; }
.wizard-btn {
  border: none;
  border-radius: 100px;
  padding: 12px 24px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.wizard-btn-primary {
  background: var(--kw-red);
  color: #fff;
}
.wizard-btn-primary:hover { background: var(--kw-red-dark); transform: translateY(-2px); }
.wizard-btn-back {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--line);
}
.wizard-btn-back:hover { background: var(--bg-soft); }
.wizard-btn-skip {
  background: transparent;
  color: var(--text-muted);
  text-decoration: underline;
  font-size: 13px;
  padding: 12px 0;
}
.wizard-btn-skip:hover { color: var(--text); }

/* Success state */
.wizard-success {
  text-align: center;
  padding: 24px 0;
}
.wizard-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(40, 200, 64, 0.12);
  color: #28C840;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.wizard-success-order {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 20px;
  margin: 24px auto;
  max-width: 480px;
  text-align: left;
}
.wizard-success-row {
  padding: 6px 0;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}
.wizard-success-row span { color: var(--text-muted); }

/* Mobile */
@media (max-width: 760px) {
  .wizard-modal { padding: 24px 18px; max-width: none; }
  .wizard-step-title { font-size: 24px; }
  .wizard-steps { gap: 4px; }
  .wizard-step-dot { padding: 0 10px; }
  .wizard-step-dot label { font-size: 9px; }
  .wizard-plans { grid-template-columns: 1fr; gap: 10px; }
  .wizard-addon-grid { grid-template-columns: 1fr; }
  .wizard-checkout-grid { grid-template-columns: 1fr; gap: 20px; }
  .wizard-form-row { grid-template-columns: 1fr 1fr; }
  .wizard-summary { position: static; }
}
@media (max-width: 980px) and (min-width: 761px) {
  .wizard-plans { grid-template-columns: repeat(2, 1fr); }
}


/* TLD alternatives suggester */
.wizard-tld-suggest {
  background: linear-gradient(180deg, rgba(168, 36, 62, 0.04) 0%, rgba(168, 36, 62, 0.08) 100%);
  border: 1px solid rgba(168, 36, 62, 0.15);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.wizard-tld-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 500;
}
.wizard-tld-title b { font-weight: 700; }
.wizard-tld-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
.wizard-tld-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: all 0.2s;
}
.wizard-tld-row:hover { border-color: var(--kw-red-light); }
.wizard-tld-row.is-added {
  border-color: #28C840;
  background: rgba(40, 200, 64, 0.04);
}
.wizard-tld-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
}
.wizard-tld-name span { color: var(--kw-red); }
.wizard-tld-price {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: auto;
  margin-right: 8px;
}
.wizard-tld-add {
  background: var(--kw-red);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  transition: background 0.2s;
}
.wizard-tld-add:hover { background: var(--kw-red-dark); }
.wizard-tld-row.is-added .wizard-tld-add {
  background: #28C840;
}
.wizard-tld-row.is-added .wizard-tld-add::before {
  content: '✓';
  font-size: 14px;
}
.wizard-tld-row.is-added .wizard-tld-add > * { display: none; }

/* Cart item with remove button */
.wizard-cart-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wizard-cart-remove {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.wizard-cart-remove:hover {
  border-color: var(--kw-red);
  color: var(--kw-red);
  background: rgba(168, 36, 62, 0.05);
}


/* Cart badge */
.btn-cart {
  position: relative;
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--kw-red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  font-family: 'Barlow Condensed', sans-serif;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid #fff;
  line-height: 1;
}

/* ─── DNS step ─── */
.wizard-dns-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.wizard-dns-option {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 2px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.wizard-dns-option:has(input:checked) {
  border-color: var(--kw-red);
  background: rgba(168, 36, 62, 0.03);
}
.wizard-dns-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--kw-red);
  flex-shrink: 0;
  margin-top: 2px;
}
.wizard-dns-body { flex: 1; min-width: 0; }
.wizard-dns-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.wizard-dns-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
}
.wizard-dns-badge {
  background: #28C840;
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 100px;
}
.wizard-dns-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}
.wizard-dns-servers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 6px;
}
.wizard-dns-servers code {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  background: rgba(168, 36, 62, 0.06);
  color: var(--kw-red);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(168, 36, 62, 0.12);
}
.wizard-dns-custom-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.wizard-dns-custom-inputs input {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12.5px;
  font-family: 'Courier New', monospace;
}
.wizard-dns-custom-inputs input:focus {
  outline: none;
  border-color: var(--kw-red);
}

/* ─── Payment simulation ─── */
.wizard-pay-screen {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.wizard-pay-header {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px 10px 0 0;
  margin: -40px -40px 0;
  color: #fff;
}
.wizard-pay-header--simplepay {
  background: linear-gradient(135deg, #0066B3 0%, #004E89 100%);
}
.wizard-pay-header--transfer {
  background: linear-gradient(135deg, var(--kw-navy) 0%, #0F2138 100%);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: flex;
  gap: 10px;
}
.wizard-pay-header--paypal {
  background: linear-gradient(135deg, #003087 0%, #001E5A 100%);
}
.wizard-pay-logo { display: inline-flex; align-items: center; }
.wizard-pay-secure {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: 0.85;
}
.wizard-pay-body { padding: 24px 0 0; }
.wizard-pay-amount {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.wizard-pay-amount-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}
.wizard-pay-amount-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--kw-red);
}
.wizard-pay-form { display: grid; gap: 14px; margin-bottom: 22px; }
.wizard-pay-form .wizard-form-group { margin: 0; }
.wizard-form-row--card { display: grid; grid-template-columns: 1fr 100px; gap: 10px; }
.wizard-pay-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.04em;
}
.wizard-pay-form input:focus { outline: none; border-color: var(--kw-red); }
.wizard-pay-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}
.wizard-pay-confirm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.wizard-pay-paypal-btn {
  background: #FFC439;
  color: #003087;
  border: none;
  border-radius: 100px;
  padding: 12px 28px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.wizard-pay-paypal-btn:hover { background: #F5B82E; }

.wizard-pay-transfer-info {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 16px;
}
.wizard-pay-transfer-info h4 {
  margin: 0 0 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.wizard-pay-transfer-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--line);
}
.wizard-pay-transfer-row:last-child { border-bottom: none; }
.wizard-pay-transfer-row b { color: var(--text); font-family: 'Courier New', monospace; font-weight: 700; }
.wizard-pay-transfer-note {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--text);
  margin-bottom: 22px;
  line-height: 1.5;
}
.wizard-pay-transfer-note svg { color: #C8A000; flex-shrink: 0; margin-top: 1px; }

.wizard-pay-paypal-content p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 16px;
}

/* Processing overlay */
.wizard-pay-processing {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  z-index: 100;
}
.wizard-pay-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(168, 36, 62, 0.15);
  border-top-color: var(--kw-red);
  border-radius: 50%;
  animation: paySpin 0.9s linear infinite;
  margin-bottom: 16px;
}
@keyframes paySpin {
  to { transform: rotate(360deg); }
}
.wizard-pay-processing-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
}
.wizard-pay-processing-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 760px) {
  .wizard-dns-custom-inputs { grid-template-columns: 1fr; }
  .wizard-pay-header { margin: -24px -18px 0; padding: 14px 18px; }
  .wizard-pay-secure { display: none; }
}


/* ─── Customer type toggle (magánszemély / cég) ─── */
.wizard-customer-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--bg-soft);
  padding: 5px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.wizard-customer-type-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 100px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-muted);
  transition: all 0.2s;
}
.wizard-customer-type-option input { display: none; }
.wizard-customer-type-option svg { opacity: 0.7; }
.wizard-customer-type-option--active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.12);
}
.wizard-customer-type-option--active svg { opacity: 1; color: var(--kw-red); }


/* ─── Birth date row (3 selects: év / hónap / nap) ─── */
.wizard-birth-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 8px;
}
.wizard-birth-row select {
  width: 100%;
  padding: 10px 32px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.wizard-birth-row select:focus {
  outline: none;
  border-color: var(--kw-red);
}
.wizard-birth-row select:invalid,
.wizard-birth-row select option[value=""] {
  color: var(--text-muted);
}
