/* This application is developed and managed by James Kaburu - an experienced developer, a lawyer, an economist and a Certified Fraud Examiner. Contact him on +254 710 496 209 (call or WhatsApp). */
/* Order Wizard Multi-step flow matching theacademicpapers.co.uk/order-now/ */
.wizard-container {
  max-width: 920px;
  margin: 36px auto 60px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  position: relative;
}
.wizard-header {
  background: linear-gradient(135deg, #0b2545 0%, #173b6c 100%);
  color: #ffffff;
  padding: 28px 32px;
  text-align: center;
}
.wizard-header h2 { font-size: clamp(20px, 4vw, 26px); font-weight: 800; margin-bottom: 6px; }
.wizard-header p { font-size: 14px; color: #cbd5e1; }

.wizard-progress {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 22px 32px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.wizard-progress::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: #e2e8f0;
  z-index: 1;
}

.wizard-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
  position: relative;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.25s ease;
}
.wizard-step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.wizard-step-node.active .wizard-step-circle {
  background: #f97316;
  border-color: #ea580c;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(249,115,22,0.22);
  transform: scale(1.1);
}
.wizard-step-node.active { color: #ea580c; }
.wizard-step-node.completed .wizard-step-circle {
  background: #10b981;
  border-color: #059669;
  color: #ffffff;
}

.wizard-body { padding: 36px 40px; }
.wizard-step-pane {
  display: none;
  animation: wizardPaneIn 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.wizard-step-pane.active { display: block; }
@keyframes wizardPaneIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 16px; }

.upsell-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: #fff;
}
.upsell-card:hover {
  border-color: #93c5fd;
  background: #f8fafc;
  transform: translateY(-2px);
}
.upsell-card.selected {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 2px 8px rgba(37,99,235,0.12);
}

.live-summary-bar {
  background: #0b2545;
  color: #ffffff;
  padding: 18px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.live-summary-bar .summary-amount {
  font-size: 26px;
  font-weight: 800;
  color: #f97316;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.wizard-footer {
  padding: 20px 40px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
}

/* RESPONSIVE ORDER WIZARD */
@media (max-width: 768px) {
  .wizard-container { margin: 18px auto 40px; border-radius: 12px; }
  .wizard-grid { grid-template-columns: 1fr; gap: 14px; }
  .wizard-body { padding: 22px 18px; }
  .wizard-header { padding: 22px 18px; }
  .live-summary-bar { padding: 14px 18px; }
  .live-summary-bar .summary-amount { font-size: 22px; }
  .wizard-footer { padding: 16px 18px; }
}

@media (max-width: 600px) {
  .wizard-progress { padding: 16px 12px; }
  .wizard-progress::before { left: 24px; right: 24px; top: 31px; }
  .wizard-step-circle { width: 30px; height: 30px; font-size: 12px; }
  .wizard-step-node span { font-size: 11px; }
  .wizard-step-node:not(.active) span { display: none; }
  .wizard-body { padding: 18px 14px; }
  .wizard-footer { flex-direction: row; gap: 10px; }
}

/* ==========================================================================
   Order page shell — the form is the page
   --------------------------------------------------------------------------
   One bordered card holds the whole form so it can be traced (and screenshotted
   for support) and so it visually owns the width instead of floating in the
   middle of the viewport. The price rail keeps the running total visible on a
   desktop and folds above the form on a phone.
   ========================================================================== */

.order-page { padding-top: 26px; padding-bottom: 40px; }

.order-shell {
  border: 1px solid #dbe3ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px -28px rgba(15, 23, 42, 0.45);
  overflow: hidden;
}

.order-shell-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 26px;
  background: linear-gradient(120deg, #0b2545 0%, #123a6b 100%);
  color: #fff;
}

.order-shell-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 6px;
}

.order-shell-title h1 { font-size: clamp(21px, 2.6vw, 27px); margin: 0 0 6px; font-weight: 800; }
.order-shell-title p { margin: 0; font-size: 13.5px; color: #cbd5e1; }

.order-shell-ref {
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 210px;
  background: rgba(255, 255, 255, 0.06);
}
.order-shell-ref span { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: #94a3b8; }
.order-shell-ref strong { display: block; font-size: 16px; letter-spacing: 0.06em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.order-shell-ref small { display: block; font-size: 11px; color: #cbd5e1; margin-top: 4px; }

.order-shell-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 312px;
  gap: 26px;
  padding: 24px 26px 28px;
  align-items: start;
}

.order-form-col { min-width: 0; }

.wizard-pane-title { font-size: 19px; font-weight: 800; color: #0b2545; margin: 0 0 18px; }

.req-mark { color: #dc2626; font-weight: 700; }
.field-hint { display: block; margin-top: 6px; font-size: 12px; color: #64748b; }

.upsell-list { display: flex; flex-direction: column; gap: 10px; }
.upsell-main { display: flex; align-items: center; gap: 14px; }
.upsell-desc { font-size: 13px; color: #64748b; }
.upsell-price { font-weight: 700; color: #2563eb; font-size: 15px; white-space: nowrap; }

.upload-drop {
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  padding: 26px 18px;
  text-align: center;
  background: #f8fafc;
}
.upload-drop-icon { font-size: 30px; display: block; }
.upload-drop p { font-size: 14px; color: #475569; margin: 8px 0; }
.upload-drop input[type="file"] { max-width: 340px; margin: 0 auto; }
.upload-drop small { color: #94a3b8; display: block; margin-top: 8px; }

.inline-input-row { display: flex; gap: 8px; }

.order-guarantee {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 18px;
}
.order-guarantee h4 { font-size: 15px; font-weight: 700; color: #0b2545; margin: 0 0 10px; }
.order-guarantee ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: #334155; margin: 0; padding: 0; }

.guest-box { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 10px; padding: 18px 20px; margin-bottom: 22px; }
.guest-box h4 { font-size: 15.5px; font-weight: 700; color: #1e40af; margin: 0 0 8px; }
.guest-box p { font-size: 13px; color: #1e3a8a; margin: 0 0 14px; }

.logged-in-note { background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; font-size: 13.5px; color: #065f46; }

.gateway-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 10px; }
.gateway-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.gateway-card:hover { border-color: #93c5fd; box-shadow: 0 6px 18px -14px rgba(37, 99, 235, 0.8); }
.gateway-card input { margin-top: 3px; }
.gateway-card strong { font-size: 14px; color: #0b2545; display: block; }
.gateway-desc { font-size: 11.5px; color: #64748b; line-height: 1.5; }
.gateway-card-bank { border-color: #fcd34d; background: #fffbeb; }

.order-captcha { padding: 0 4px 4px; }

.wizard-footer-actions { margin-left: auto; display: flex; gap: 12px; }
.btn-place-order { background: #16a34a; }

/* --- price rail ---------------------------------------------------------- */
.order-rail { position: sticky; top: 18px; display: flex; flex-direction: column; gap: 14px; }

.order-rail-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff;
}
.order-rail-card h4 { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: #0b2545; }
.order-rail-card p { margin: 0; font-size: 12.5px; color: #64748b; line-height: 1.6; }

.order-rail-price-card { background: #0b2545; border-color: #0b2545; color: #fff; }
.order-rail-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: #94a3b8; }
.order-rail-price { font-size: 34px; font-weight: 800; color: #fff; line-height: 1.1; margin: 4px 0 2px; }
.order-rail-words { font-size: 13px; color: #cbd5e1; }
.order-rail-note { margin-top: 10px; font-size: 11.5px; color: #94a3b8; line-height: 1.5; }

.order-rail-steps { margin: 0; padding-left: 18px; font-size: 12.5px; color: #475569; line-height: 1.7; }

/* --- "Pay now" sheet ----------------------------------------------------- */
body.pay-modal-open { overflow: hidden; }

.pay-modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 18px; }
.pay-modal[hidden] { display: none; }
.pay-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.55); }

.pay-modal-card {
  position: relative;
  width: min(680px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.5);
}
.pay-modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pay-modal-head h3 { margin: 0; font-size: 19px; color: #0b2545; }
.pay-modal-close { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: #64748b; }
.pay-modal-amount { margin: 6px 0 16px; font-size: 13.5px; color: #475569; }
.pay-modal-section { border-top: 1px solid #e2e8f0; padding-top: 16px; margin-top: 16px; }
.pay-modal-section h4 { margin: 0 0 10px; font-size: 14.5px; color: #0b2545; }
.pay-modal-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-modal-note { font-size: 12px; color: #64748b; margin-top: 10px; line-height: 1.6; }

.bank-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 16px; }
.bank-detail { border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 14px; font-size: 12.5px; color: #475569; }
.bank-detail strong { display: block; color: #0b2545; font-size: 13.5px; }
.bank-detail-number { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; color: #0b2545; letter-spacing: 0.04em; margin: 4px 0; }
.bank-detail-line { color: #64748b; }

.bank-proof-form { border-top: 1px dashed #e2e8f0; padding-top: 14px; }
.bank-proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }

/* --- phones -------------------------------------------------------------- */
@media (max-width: 1024px) {
  .order-shell-body { grid-template-columns: minmax(0, 1fr); }
  .order-rail { position: static; order: -1; flex-direction: row; flex-wrap: wrap; }
  .order-rail-card { flex: 1 1 220px; }
  .order-rail-price { font-size: 28px; }
}

@media (max-width: 640px) {
  .order-page { padding-left: 0; padding-right: 0; }
  .order-shell { border-radius: 0; border-left: 0; border-right: 0; }
  .order-shell-head, .order-shell-body { padding-left: 16px; padding-right: 16px; }
  .order-shell-ref { min-width: 0; width: 100%; }
  .order-rail { flex-direction: column; }
  .wizard-footer { flex-direction: column-reverse; align-items: stretch; }
  .wizard-footer-actions { margin-left: 0; flex-direction: column; }
  .wizard-footer-actions .btn, #wizard-prev { width: 100%; }
  .pay-modal-card { padding: 18px 16px; }
}

/* Consent line above the submit button - plain, readable, hard to miss. */
.order-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 13px;
  line-height: 1.55;
  color: #334155;
}
.order-terms input { margin-top: 3px; width: 16px; height: 16px; flex: 0 0 auto; }
.order-terms a { color: #1d4ed8; text-decoration: underline; }

/* --------------------------------------------------------------------------
   Signed-in order form (rendered inside the dashboard shell)
   -------------------------------------------------------------------------- */

.order-page-internal { margin: 0; }
.order-page-internal .order-shell { border-radius: 14px; box-shadow: var(--shadow-sm); }
.order-page-internal .order-shell-title h1 { font-size: clamp(20px, 2.4vw, 26px); }

/* Account gate: shown instead of payment methods to a visitor who is not signed in. */
.order-auth-gate {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 18px;
}
.order-auth-gate h4 { margin: 0 0 6px; font-size: 16px; color: #0b2545; }
.order-auth-gate p { margin: 0 0 14px; font-size: 13.5px; color: #334155; line-height: 1.6; }
.order-auth-gate small { display: block; margin-top: 12px; color: #64748b; font-size: 12px; }
.order-auth-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* "Your unfinished order was restored" strip above the form. */
.order-draft-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding: 10px 14px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  border-radius: 10px;
  font-size: 13px;
  color: #92400e;
}
.order-draft-clear {
  border: 1px solid #fbbf24;
  background: #fff;
  color: #92400e;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.order-draft-clear:hover { background: #fef3c7; }

/* ---------------------------------------------------------------
   Add-ons: one compact multi-select dropdown
   Replaces the tall card stack; the panel is a plain checklist so
   any number of add-ons can be ticked in a small footprint.
   --------------------------------------------------------------- */
.upsell-select {
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: #fff;
  max-width: 620px;
}
.upsell-select > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 600;
  color: #0b2545;
  list-style: none;
  border-radius: 12px;
}
.upsell-select > summary::-webkit-details-marker { display: none; }
.upsell-select > summary:hover { background: #f8fafc; }
.upsell-select[open] > summary {
  border-bottom: 1px solid #eef2f7;
  border-radius: 12px 12px 0 0;
}
.upsell-select-label { flex: 0 0 auto; }
.upsell-select-count {
  flex: 1 1 auto;
  font-weight: 600;
  font-size: 13px;
  color: #2563eb;
  background: #eff4ff;
  border-radius: 999px;
  padding: 3px 10px;
  justify-self: start;
  width: fit-content;
}
.upsell-select-caret { color: #64748b; font-size: 12px; transition: transform .15s ease; }
.upsell-select[open] .upsell-select-caret { transform: rotate(180deg); }

.upsell-select-panel {
  padding: 8px 10px 10px;
  max-height: 268px;
  overflow-y: auto;
}
.upsell-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}
.upsell-row:hover { background: #f8fafc; }
.upsell-row input[type="checkbox"] { flex: 0 0 auto; margin: 0; }
.upsell-row-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.upsell-row-text small { color: #64748b; font-size: 12px; line-height: 1.35; }
.upsell-row-price { flex: 0 0 auto; font-weight: 700; color: #2563eb; font-size: 13px; white-space: nowrap; }
.upsell-select-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #eef2f7;
  margin-top: 6px;
  padding: 10px 8px 2px;
  font-size: 13px;
  color: #475569;
}
.upsell-select-done {
  border: 1px solid #dbe3ee;
  background: #fff;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #0b2545;
  cursor: pointer;
}
.upsell-select-done:hover { background: #f1f5f9; }

@media (max-width: 720px) {
  .upsell-select { max-width: 100%; }
  .upsell-select-panel { max-height: 240px; }
}

/* ==========================================================================
   Order form, formatted
   --------------------------------------------------------------------------
   Every section of the order form is its own bordered card: the step header,
   the explanation, the fields and the footer all sit inside visible rules so
   the form reads as a document instead of a run-on column of inputs. Borders
   are deliberately quiet (#dbe3ee / #e8eef7) - enough structure to follow the
   eye, not so much that the page looks like a spreadsheet.
   ========================================================================== */

.wizard-body {
  padding: 26px 28px 30px;
  border-bottom: 1px solid #e3eaf4;
  background: #fbfcfe;
}

.wizard-step-pane {
  border: 1px solid #dbe3ee;
  border-radius: 16px;
  background: #fff;
  padding: 22px 24px 24px;
  box-shadow: 0 12px 30px -26px rgba(15, 23, 42, 0.5);
}

.wizard-pane-head {
  border-bottom: 1px solid #e8eef7;
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.wizard-pane-step {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #2563eb;
  background: #eff4ff;
  border: 1px solid #dbe7ff;
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.wizard-pane-title {
  font-size: 20px;
  font-weight: 800;
  color: #0b2545;
  margin: 0 0 6px;
  line-height: 1.3;
}

.wizard-pane-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  max-width: 62ch;
}

/* The 200-word explanation that opens each step. */
.wizard-note {
  border: 1px solid #e2e8f0;
  border-left: 4px solid #2563eb;
  border-radius: 12px;
  background: #f9fbff;
  padding: 14px 18px;
  margin: 0 0 20px;
}

.wizard-note p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.75;
  color: #334155;
  max-width: 78ch;
}

.wizard-note p:last-child { margin-bottom: 0; }

/* Each field is a bordered block, so label + input + hint read as one unit. */
.wizard-step-pane .form-group {
  border: 1px solid #e8eef7;
  border-radius: 11px;
  background: #fdfefe;
  padding: 12px 14px 13px;
  margin-bottom: 0;
}

.wizard-step-pane .wizard-grid { margin-bottom: 14px; }
.wizard-step-pane .form-group + .form-group { margin-top: 0; }
.wizard-step-pane > .form-group { margin-bottom: 14px; }
.wizard-step-pane > .form-group:last-child { margin-bottom: 0; }

.wizard-step-pane .form-group label {
  font-size: 12.5px;
  font-weight: 700;
  color: #0b2545;
  margin-bottom: 6px;
  display: block;
}

.wizard-step-pane .form-control {
  border: 1px solid #cfd9e8;
  border-radius: 9px;
  background: #fff;
}

.wizard-step-pane .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

/* Add-ons: the dropdown itself is a bordered control, and every option is a row. */
.upsell-select { border-color: #cfd9e8; border-radius: 12px; max-width: 100%; }
.upsell-select > summary { padding: 13px 16px; }
.upsell-select-panel { padding: 6px 8px 8px; }
.upsell-row { padding: 9px 10px; border-bottom: 1px solid #f1f5f9; }
.upsell-row:last-of-type { border-bottom: 0; }
.upsell-row:hover { background: #f8fbff; }
.upsell-row-text strong { color: #0b2545; font-size: 13.5px; }
.upsell-row-price { color: #1d4ed8; }
.upsell-select-foot { background: #f8fafc; border-radius: 9px; }

/* Upload area and guarantees keep their own frame. */
.upload-drop { border-color: #c3cede; background: #f9fbff; }

.order-guarantee { border-color: #e2e8f0; background: #f9fbff; }

/* Consent + captcha block gets a frame too, so the legal line is not loose text. */
.order-terms {
  margin: 18px 0 0;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: #f8fafc;
}

.order-captcha {
  margin: 10px 0 0;
  padding: 12px 16px;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: #fff;
}

.wizard-footer {
  margin-top: 18px;
  border-top: 1px solid #e3eaf4;
  background: #f4f7fb;
  border-radius: 0;
}

/* Signed-in form sits inside a dashboard card: no double shadow. */
.order-page-internal .wizard-step-pane { box-shadow: none; }

@media (max-width: 900px) {
  .wizard-body { padding: 18px 16px 22px; }
  .wizard-step-pane { padding: 18px 16px 20px; border-radius: 13px; }
  .wizard-pane-title { font-size: 18px; }
  .wizard-note { padding: 12px 14px; }
  .wizard-note p { font-size: 13px; }
  .order-terms, .order-captcha { margin-left: 0; margin-right: 0; }
}

@media (max-width: 560px) {
  .wizard-step-pane .form-group { padding: 10px 12px 12px; }
  .wizard-pane-lead { font-size: 13px; }
  .order-terms, .order-captcha { margin-left: 0; margin-right: 0; }
}

/* Page copy under the order form: three bordered columns on desktop, stacked
   on a phone. Long-form content, so line length is capped for readability. */
.order-page-copy {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.order-page-copy section {
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: #fff;
  padding: 20px 22px;
}

.order-page-copy h2 {
  font-size: 16px;
  font-weight: 800;
  color: #0b2545;
  margin: 0 0 10px;
  line-height: 1.35;
}

.order-page-copy p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.75;
  color: #334155;
}

.order-page-copy p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .order-page-copy section { padding: 16px 16px; }
  .order-page-copy p { font-size: 13px; }
}

/* Kill the native disclosure triangle in every engine - the chip and caret
   already communicate the state, and Safari keeps drawing its own marker. */
.upsell-select > summary::marker { content: ''; }
.upsell-select > summary::-webkit-details-marker { display: none; }
.upsell-select[open] > summary { background: #f8fbff; }

/* "Your quote is loaded" strip above the wizard when the home calculator handed
   its selections over. */
.wizard-import-note {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.wizard-import-note strong { color: #1e40af; }
