/* ==========================================================================
   WattSwap transactional pages (Phase 2C): checkout, order confirmation,
   installation request/quotes/rating, payment return screens.
   Paper surface. RESTYLE ONLY: every class/id that page scripts toggle or
   inject is preserved (.order-item*, .payment-method(.selected), .toggle-switch(.active),
   .place-order-requirements(.valid), .checkout-status-banner(.is-visible/--*), .oc-*,
   .star-btn(.filled/.empty), .select-quote-btn, .card(.success/.failure/.pending), .hidden).
   Requires css/ws-premium.css + css/page-premium.css (fx form kit, .hidden).
   ========================================================================== */

body.tx[data-nav='solid'] .wp-nav .wp-nav-bg { background: rgba(1, 3, 8, 0.94); }

.tx-main {
  --ws-hairline: var(--line);
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + clamp(28px, 4vw, 60px)) 0 clamp(64px, 8vw, 120px);
  background: var(--bg);
  color: var(--t1);
}
.tx-main a { color: inherit; }
.tx-narrow { max-width: 760px; margin-inline: auto; padding-inline: var(--gut, clamp(18px, 4vw, 40px)); }
.tx-narrow.sm { max-width: 520px; }
.tx-head { margin: 0 0 clamp(24px, 3vw, 40px); }
.tx-head .h1 { margin: 10px 0 14px; font-size: clamp(34px, 5vw, 56px); }
.tx-head .lede { margin: 0; }
.tx-main .hint { color: var(--t3); font-size: 13px; }

/* ---------- Alerts ---------- */
.alert-success, .alert-error {
  margin: 0 0 20px; padding: 16px 20px; border-radius: 16px;
  font-size: 15px; line-height: 1.55;
}
.alert-success { background: #ecfdf3; border: 1px solid #a6f4c5; color: #05603a; }
.alert-error { background: #fef3f2; border: 1px solid #fecdca; color: #912018; }
.alert-success a { color: #05603a; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.alert-success p { margin: 10px 0 0; }

/* ---------- Primary action on paper ---------- */
.btn-submit, .place-order-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 56px; padding: 0 28px; border: 0; border-radius: 999px;
  font: inherit; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: #fff;
  background: #1d1d1f; cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn-submit:hover:not(:disabled), .place-order-btn:hover:not(:disabled) { background: #000; transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5); }
.btn-submit:active:not(:disabled), .place-order-btn:active:not(:disabled) { transform: scale(0.99); }
.btn-submit:disabled, .place-order-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-submit:focus-visible, .place-order-btn:focus-visible { outline: 3px solid rgba(0, 102, 255, 0.55); outline-offset: 3px; }
.tx-fine { margin: 14px 0 0; font-size: 13px; line-height: 1.6; color: var(--t3); text-align: center; }

/* check-box / partner box in forms */
.tx-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 15px; font-weight: 550; line-height: 1.4; }
.tx-check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: #1d1d1f; }
.tx-box { padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--card-2); }
.tx-box .fx-field { margin-top: 14px; }
.fx-form.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fx-form.one { grid-template-columns: minmax(0, 1fr); }

/* ---------- Status cards (payment return / confirmation popup) ---------- */
.tx-center { display: grid; place-items: center; min-height: 60vh; }
.tx-card, .card {
  width: 100%; max-width: 560px; margin-inline: auto; text-align: center;
  padding: clamp(28px, 4vw, 48px);
  background: var(--card); color: var(--t1);
  border: 1px solid var(--line); border-radius: var(--r-lg, 28px);
  box-shadow: var(--shadow-card);
}
.card h1 { margin: 0 0 8px; font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; letter-spacing: -0.03em; }
.card .icon {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px;
  border-radius: 50%; font-size: 30px; font-weight: 700; line-height: 1;
  background: var(--card-2); color: var(--t2);
}
.card.success .icon { background: #d1fadf; color: #067647; }
.card.failure .icon { background: #fee4e2; color: #b42318; }
.card.pending .icon { background: #fef0c7; color: #b54708; }
.card .sub { margin: 0 0 22px; color: var(--t2); font-size: 15.5px; line-height: 1.55; }
.card .details { margin: 18px 0; padding: 6px 18px; text-align: left; background: var(--card-2); border-radius: 16px; }
.card .detail-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.card .detail-row:last-child { border-bottom: 0; }
.card .detail-label { color: var(--t3); }
.card .detail-value { font-weight: 600; font-variant-numeric: tabular-nums; word-break: break-all; text-align: right; }
.card .btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; margin: 6px 4px 0; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none; color: #fff; background: #1d1d1f; border: 0; cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.card .btn:hover { background: #000; transform: translateY(-1px); }
.card .btn.btn-secondary { background: transparent; color: var(--t1); box-shadow: inset 0 0 0 1px var(--line-2); }
.card .btn.btn-secondary:hover { box-shadow: inset 0 0 0 1px var(--t1); background: transparent; }
.progress-wrap { height: 6px; margin-top: 22px; overflow: hidden; border-radius: 999px; background: var(--bg-3); }
.progress-bar { height: 100%; width: 0%; border-radius: inherit; background: var(--iri); transition: width 0.25s linear; }
.countdown { margin: 10px 0 0; font-size: 14px; color: var(--t3); }
.loading {
  display: inline-block; width: 22px; height: 22px; margin: 0 0 14px;
  border: 3px solid var(--bg-3); border-top-color: var(--blue); border-radius: 50%;
  animation: tx-spin 0.9s linear infinite;
}
@keyframes tx-spin { to { transform: rotate(360deg); } }
.card > .loading + h1 { margin-top: 0; }
body.tx-popup { display: grid; place-items: center; min-height: 100vh; padding: 24px; background: var(--bg); color: var(--t1); }
body.tx-popup .card { max-width: 420px; }

/* ---------- Rating ---------- */
.star-row { display: flex; gap: 8px; justify-content: center; margin: 4px 0 8px; }
.star-btn {
  width: 52px; height: 52px; padding: 0; border: 0; border-radius: 14px; background: transparent;
  font-size: 36px; line-height: 1; cursor: pointer;
  transition: transform 0.15s var(--ease), color 0.15s var(--ease);
}
.star-btn.empty { color: #d0d5dd; }
.star-btn.filled { color: #f5a524; }
.star-btn:hover { transform: scale(1.12); }
.star-btn:focus-visible { outline: 3px solid rgba(0, 102, 255, 0.55); outline-offset: 2px; }

/* ---------- Installation quotations ---------- */
.tx-loading { padding: 48px 0; text-align: center; color: var(--t3); }
.tx-quotes { display: grid; gap: 16px; }
.tx-quote { padding: clamp(20px, 3vw, 30px); background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-card); text-align: left; }
.tx-quote-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 10px; }
.tx-quote-who { font-size: 17px; font-weight: 650; letter-spacing: -0.02em; }
.tx-quote-total { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tx-quote-meta { margin: 6px 0 0; font-size: 14px; color: var(--t3); }
.tx-quote-lines { margin: 16px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14.5px; color: var(--t2); }
.badge-new { display: inline-block; margin-left: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; background: #d1fadf; color: #067647; vertical-align: middle; }
.select-quote-btn { margin-top: 18px; }
.tx-empty { padding: clamp(28px, 4vw, 48px); text-align: center; color: var(--t2); background: var(--card); border: 1px dashed var(--line-2); border-radius: 22px; }

/* ==========================================================================
   CHECKOUT
   ========================================================================== */
.checkout-container {
  max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px);
  display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(20px, 2.6vw, 36px); align-items: start;
}
.checkout-form, .order-summary {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg, 28px);
  box-shadow: var(--shadow-card); padding: clamp(22px, 3vw, 40px);
}
.order-summary { position: sticky; top: calc(var(--nav-h) + 20px); height: fit-content; }
.section-title { margin: 0 0 22px; font-size: clamp(21px, 2.2vw, 26px); font-weight: 700; letter-spacing: -0.03em; color: var(--t1); }
.form-section { margin-bottom: clamp(30px, 4vw, 44px); }
.form-section:last-child { margin-bottom: 0; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.01em; color: var(--t2); }
.form-input {
  width: 100%; height: 52px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--t1);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 14px; outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
select.form-input {
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--t3) 50%), linear-gradient(135deg, var(--t3) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
textarea.form-input { height: auto; min-height: 96px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.form-input:hover { border-color: rgba(0, 0, 0, 0.32); }
.form-input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.16); background: #fff; }
.form-input[readonly] { background: var(--card-2); color: var(--t2); }
.form-input:user-invalid { border-color: #d92d20; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint {
  display: block; margin-top: 10px; padding: 12px 14px; font-size: 13.5px; line-height: 1.55; color: var(--t2);
  background: var(--card-2); border: 1px solid var(--line); border-radius: 14px;
}

/* progress steps */
.progress-steps { display: flex; justify-content: space-between; margin: 0 0 clamp(28px, 4vw, 44px); padding: 0; }
.progress-steps .step { position: relative; display: flex; flex-direction: column; align-items: center; flex: 1; padding: 0; }
.progress-steps .step::before { content: none; }
.step-number {
  position: relative; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 8px;
  border-radius: 50%; background: var(--bg-3); color: var(--t3); font-size: 14px; font-weight: 650;
}
.progress-steps .step.active .step-number { background: #1d1d1f; color: #fff; }
.progress-steps .step.completed .step-number { background: #067647; color: #fff; }
.step-title { font-size: 13px; color: var(--t3); text-align: center; }
.progress-steps .step.active .step-title { color: var(--t1); font-weight: 650; }
.step-line { position: absolute; top: 18px; left: 50%; right: -50%; height: 2px; background: var(--bg-3); z-index: 1; }
.progress-steps .step.completed .step-line { background: #067647; }
.progress-steps .step:last-child .step-line { display: none; }

/* installation toggle */
.installation-option { padding: 18px 20px; margin-bottom: 8px; background: var(--card-2); border: 1px solid var(--line); border-radius: 18px; }
.installation-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 8px; }
.installation-title { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }
.installation-note { margin: 0; font-size: 14px; line-height: 1.55; color: var(--t2); }
.toggle-switch {
  flex: none; position: relative; width: 52px; height: 30px; border-radius: 999px; cursor: pointer;
  background: #c7c7cc; transition: background 0.25s var(--ease);
}
.toggle-switch:focus-visible { outline: 3px solid rgba(0, 102, 255, 0.55); outline-offset: 3px; }
.toggle-switch.active { background: #34c759; }
.toggle-slider {
  position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); transition: transform 0.25s var(--ease);
}
.toggle-switch.active .toggle-slider { transform: translateX(22px); }
#installationDetails { margin-top: 18px; }

/* payment methods */
.payment-methods { display: grid; gap: 12px; margin-bottom: 18px; }
.payment-method {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; text-align: left;
  font: inherit; color: var(--t1); background: var(--bg-2); border: 1.5px solid var(--line-2); border-radius: 16px; cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.payment-method:hover { border-color: rgba(0, 0, 0, 0.4); }
.payment-method.selected { border-color: var(--blue); background: rgba(0, 102, 255, 0.05); box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12); }
.payment-method:focus-visible { outline: 3px solid rgba(0, 102, 255, 0.55); outline-offset: 2px; }
.payment-icon { flex: none; font-size: 26px; line-height: 1; }
.payment-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.payment-name { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }
.payment-desc { font-size: 13.5px; color: var(--t3); }
.secure-payment { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 14px; font-weight: 600; color: #067647; background: #ecfdf3; border: 1px solid #a6f4c5; border-radius: 14px; }
.secure-payment svg { width: 18px; height: 18px; flex: none; }
#checkout-geo-currency .country-badge { background: var(--card-2) !important; border: 1px solid var(--line); border-radius: 14px !important; color: var(--t2); font-size: 14px; }
#checkout-geo-currency .traveling-banner { background: #eff8ff !important; border-left: 4px solid #2e90fa !important; border-radius: 14px !important; font-size: 14px; }
#checkout-geo-currency p { color: var(--t3) !important; }

/* order summary */
#orderItems { display: block !important; visibility: visible !important; }
.order-item {
  display: flex !important; gap: 14px; margin-bottom: 16px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line); visibility: visible !important; opacity: 1 !important; height: auto !important; min-height: 80px;
}
.order-item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.item-image { flex: none; width: 68px; height: 68px; object-fit: cover; border-radius: 14px; background: var(--card-2); }
.item-details { flex: 1; min-width: 0; }
.item-name { margin-bottom: 4px; font-size: 15.5px; font-weight: 650; letter-spacing: -0.01em; color: var(--t1); }
.item-price { font-size: 14px; color: var(--t3); }
.item-total { font-size: 14px; font-weight: 650; color: var(--t1); font-variant-numeric: tabular-nums; }
.order-item-actions { display: flex; align-items: center; gap: 8px; align-self: center; }
.order-item-qty-btn {
  width: 30px; height: 30px; display: inline-grid; place-items: center; padding: 0;
  font: inherit; font-weight: 650; color: var(--t1); background: var(--card-2); border: 1px solid var(--line-2); border-radius: 50%; cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.order-item-qty-btn:hover:not(:disabled) { border-color: var(--t1); background: #fff; }
.order-item-qty { min-width: 1.6rem; text-align: center; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.order-item-remove { padding: 6px 10px; font-size: 12.5px; color: #b42318; background: transparent; border: 1px solid #fecdca; border-radius: 8px; cursor: pointer; }

.total-section { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.total-row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 15px; color: var(--t2); font-variant-numeric: tabular-nums; }
.total-row .ok { color: #067647; font-weight: 600; }
.total-final { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 22px; font-weight: 700; letter-spacing: -0.03em; color: var(--t1); }
.place-order-help { margin: 18px 0 10px; font-size: 14px; color: var(--t3); }
.order-legal { margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: var(--t3); }
.order-legal a { color: var(--t1); text-decoration: underline; text-underline-offset: 3px; }
.checkout-status-banner { display: none; margin-bottom: 12px; padding: 12px 16px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; font-weight: 550; }
.checkout-status-banner[hidden] { display: none !important; }
.checkout-status-banner.is-visible { display: block; }
.checkout-status-banner--success { background: #ecfdf3; color: #05603a; border: 1px solid #a6f4c5; }
.checkout-status-banner--error { background: #fef3f2; color: #912018; border: 1px solid #fecdca; }
.checkout-status-banner--info { background: #eff8ff; color: #175cd3; border: 1px solid #b2ddff; }
.place-order-requirements { margin-bottom: 12px; padding: 12px 16px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; border: 1px solid #fedf89; background: #fffaeb; color: #93370d; }
.place-order-requirements.valid { border-color: #a6f4c5; background: #ecfdf3; color: #05603a; }
.place-order-requirements strong { display: block; margin-bottom: 4px; }
.place-order-requirements ul { margin: 4px 0 0; padding-left: 1.2rem; }
.place-order-btn.dev { height: 44px; margin-top: 10px; font-size: 14px; background: #6b7280; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.security-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.security-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--t3); }
.security-badge svg { width: 15px; height: 15px; }
.novosynth-compliance { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; }
.novosynth-compliance img { display: block; max-height: 40px; width: auto; margin: 0 auto 10px; object-fit: contain; }
.novosynth-compliance p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--t3); }

/* ==========================================================================
   ORDER CONFIRMATION
   ========================================================================== */
.oc-hero, .tx-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--nav-h) + clamp(44px, 7vw, 96px)) 0 clamp(44px, 6vw, 80px);
  background: radial-gradient(70% 90% at 50% 0%, rgba(0, 102, 255, 0.28), transparent 70%), radial-gradient(50% 70% at 85% 30%, rgba(52, 211, 153, 0.16), transparent 70%), #010308;
  color: #f5f7fa;
}
.oc-hero-inner { max-width: 796px; margin-inline: auto; }
.tx-hero .oc-hero-inner { max-width: 680px; }
.oc-status { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.oc-status-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.22); }
.oc-status .eyebrow { margin: 0; color: #34d399; }
.oc-hero h1, .tx-hero h1 { margin: 0 0 14px; font-size: clamp(38px, 6vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.04; }
.oc-hero p, .tx-hero p { margin: 0; max-width: 56ch; font-size: clamp(17px, 1.6vw, 20px); color: rgba(245, 247, 250, 0.7); }
.oc-main { padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 110px); background: var(--bg); color: var(--t1); --ws-hairline: var(--line); }
.oc-layout { max-width: 860px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 32px); display: grid; gap: 20px; }
.oc-panel { padding: clamp(22px, 3vw, 40px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg, 28px); box-shadow: var(--shadow-card); }
.oc-panel-title { margin: 0 0 14px; font-size: 13px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--t3); }
h2.oc-panel-title { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.03em; text-transform: none; color: var(--t1); margin-bottom: 20px; }
.oc-loading { margin: 0; color: var(--t3); }
.oc-error { margin: 0; padding: 14px 16px; border-radius: 14px; color: #912018; background: #fef3f2; border: 1px solid #fecdca; }
.oc-meta { display: grid; gap: 0; }
.oc-meta-row { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.oc-meta-row:last-child { border-bottom: 0; }
.oc-meta-label { color: var(--t3); }
.oc-meta-value { font-weight: 600; text-align: right; word-break: break-word; }
.oc-meta-value.mono, .mono { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 0.94em; }
.oc-item { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.oc-item:last-child { border-bottom: 0; }
.oc-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; background: var(--card-2); }
.oc-item-name { margin: 0; font-size: 15.5px; font-weight: 650; letter-spacing: -0.01em; }
.oc-item-meta { margin: 2px 0 0; font-size: 13.5px; color: var(--t3); }
.oc-item-meta .ok, .ok { color: #067647; font-weight: 600; }
.oc-item-price { font-weight: 650; font-variant-numeric: tabular-nums; }
.oc-address { margin: 0; font-size: 15px; line-height: 1.7; color: var(--t2); }
.oc-address strong { display: block; color: var(--t1); }
.oc-totals { display: grid; gap: 0; }
.oc-total-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; color: var(--t2); font-variant-numeric: tabular-nums; }
.oc-total-row .free { color: #067647; font-weight: 600; }
.oc-total-row.grand { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 22px; font-weight: 700; letter-spacing: -0.03em; color: var(--t1); }
.oc-steps { display: grid; gap: 22px; }
.oc-step { display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-items: start; }
.oc-step-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #1d1d1f; color: #fff; font-size: 14px; font-weight: 650; }
.oc-step h3 { margin: 4px 0 4px; font-size: 16.5px; font-weight: 650; letter-spacing: -0.01em; }
.oc-step p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--t2); }
.oc-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.oc-next-callout { padding: clamp(22px, 3vw, 36px); background: #0b1220; color: #f5f7fa; border-radius: var(--r-lg, 28px); }
.oc-next-callout h3 { margin: 0 0 10px; font-size: clamp(21px, 2.4vw, 28px); font-weight: 700; letter-spacing: -0.03em; }
.oc-next-callout p { margin: 0 0 20px; color: rgba(245, 247, 250, 0.7); font-size: 15.5px; line-height: 1.6; max-width: 62ch; }
.oc-next-callout strong { color: #fff; }

@media (max-width: 1023px) {
  .checkout-container { grid-template-columns: minmax(0, 1fr); }
  .order-summary { order: -1; position: static; }
}
@media (max-width: 720px) {
  .form-row, .fx-form.three { grid-template-columns: minmax(0, 1fr); }
  .oc-item { grid-template-columns: 56px 1fr; }
  .oc-item-price { grid-column: 2; }
  .installation-header { align-items: flex-start; }
}

.oc-next-callout .btn-primary { background: #fff; color: #05080f !important; }
.oc-next-callout .btn-ghost { color: #fff !important; border-color: rgba(255, 255, 255, 0.28); }
.oc-next-callout .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }

.tx-hero .eyebrow { margin: 0 0 14px; }
.tx-hero h1 .iri { background: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* body.wp button { font: inherit; color: inherit } outranks single-class rules, so restate the pill button type on body.tx */
body.tx .btn-submit, body.tx .place-order-btn { color: #fff; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
body.tx .place-order-btn.dev { font-size: 14px; }
body.tx .star-btn { font-size: 36px; line-height: 1; }

/* ---------- Passwordless login (login-passwordless.html) ---------- */
.au-main { display: grid; align-items: center; min-height: calc(100svh - var(--nav-h, 64px)); padding: calc(var(--nav-h, 64px) + 32px) 16px 64px; }
.login-container { width: 100%; max-width: 440px; margin-inline: auto; padding: clamp(24px, 4vw, 40px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg, 28px); box-shadow: var(--shadow-card); }
.login-header { margin-bottom: 24px; text-align: center; }
.login-header h1 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 32px); font-weight: 700; letter-spacing: -0.035em; color: var(--t1); }
.login-header p { margin: 0; color: var(--t2); }
.login-container .message { margin-bottom: 16px; padding: 12px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; }
.login-container .message-success { color: #067647; background: #ecfdf3; border: 1px solid #abefc6; }
.login-container .message-error { color: #912018; background: #fef3f2; border: 1px solid #fecdca; }
.login-container .message-info { color: #175cd3; background: #eff8ff; border: 1px solid #b2ddff; }
.login-container .loading { display: none; text-align: center; margin-bottom: 12px; color: var(--t3); }
.login-container .loading.active { display: block; }
.login-container .loading p { margin: 8px 0 0; font-size: 14px; }
.login-container .spinner { width: 28px; height: 28px; margin: 0 auto; border: 3px solid var(--line); border-top-color: var(--blue, #0066ff); border-radius: 50%; animation: au-spin 0.8s linear infinite; }
@keyframes au-spin { to { transform: rotate(360deg); } }
.login-container .form-group { margin: 0; }
.login-container .otp-input-group { display: none; }
.login-container .otp-input-group.active { display: block; }
.login-container .otp-input { text-align: center; font-size: 26px; letter-spacing: 0.4em; font-variant-numeric: tabular-nums; }
.login-container .btn { width: 100%; }
.login-container #resendBtn { line-height: 46px; padding-block: 0; }
.login-container .btn[disabled] { opacity: 0.5; }
.login-container .biometric-option { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; }
.login-container .biometric-option p { margin: 0 0 12px; color: var(--t3); font-size: 14.5px; }
.login-container .back-link { margin-top: 22px; text-align: center; font-size: 15px; }
.login-container .back-link a { color: var(--t2); transition: color 0.2s; }
.login-container .back-link a:hover { color: var(--t1); }
@media (prefers-reduced-motion: reduce) { .login-container .spinner { animation-duration: 2s; } }
.login-container .form-hint { padding: 0; background: none; border-radius: 0; font-size: 13.5px; color: var(--t3); }
