/* =========================================================
   ORDER CHECKOUT — DESIGN SYSTEM
   ========================================================= */

:root {
  --bg: #0b0c10;
  --surface: #11131a;
  --surface-2: #151823;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --muted-2: rgba(255, 255, 255, 0.36);
  --border: rgba(255, 255, 255, 0.09);
  --border-2: rgba(255, 255, 255, 0.05);
  --accent: #6d5efc;
  --accent-2: rgba(109, 94, 252, 0.16);
  --danger: #ff6b6b;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.checkout-page {
  margin: 0;
  min-height: 100vh;
  /* Baza to niemal czysta czerń, ale z domieszką granatu */
  background-color: #07080a;

  background-image:
    /* Subtelny, szeroki blask akcentu (bardzo małe opacity) */
    radial-gradient(circle at 50% -20%, rgba(109, 94, 252, 0.1), transparent 50%),
    /* Drugi blask z boku, by tło nie było symetryczne i "płaskie" */
    radial-gradient(circle at 100% 100%, rgba(109, 94, 252, 0.03), transparent 40%),
    /* Bardzo ciemny gradient liniowy dla domknięcia kompozycji */
    linear-gradient(180deg, #07080a 0%, #0b0c10 100%);

  background-attachment: fixed;
  color: var(--text);
  font-family: Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Aby karty nie "pływały", nadaj im teraz konkretny charakter */
.checkout-main,
.summary-card {
  /* Tło kart musi być ODROBINĘ jaśniejsze od body, by było widać ich obrys */
  background: rgba(17, 19, 26, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  /* Bardzo cienka, ciemna linia */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

/* ─── PAGE WRAPPER ─── */

.checkout {
  min-height: 100svh;
  padding: 20px 24px 40px;
}

/* ─── HEADER ─── */

.checkout-top {
  margin: 0 auto;
  padding-bottom: 20px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: min(1180px, 100%);
}

.checkout-brand {
  justify-self: start;
}

.checkout-brand img {
  height: 26px;
  width: auto;
}

/*
  .checkout-progress is visually hidden — it exists for screen readers and
  is updated by JS (steps.js writes to #stepCurrent / #stepTotal).
  The visual step state is handled by .checkout-steps-nav + :has() below.
*/
.checkout-progress {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── STEP NAVIGATION ─── */

.step-nav-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 80px;
}



.checkout-steps-nav {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
}


.step-nav-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transition:
    border-color 0.28s var(--ease),
    background 0.28s var(--ease),
    color 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}


.step-nav-connector {
  flex: 1 1 30px;
  min-width: 20px;
  max-width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 15px;
  align-self: flex-start;
}

.step-nav-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
  transition: color 0.28s var(--ease);
}




/* ─── STEP STATES (CSS :has() — no JS needed) ─── */

/* STEP 1 — active */
.checkout-page:has(.checkout-step[data-step="1"].is-active) .step-nav-item[data-nav-step="1"] .step-nav-dot {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(109, 94, 252, 0.2);
}

.checkout-page:has(.checkout-step[data-step="1"].is-active) .step-nav-item[data-nav-step="1"] .step-nav-label {
  color: rgba(255, 255, 255, 0.88);
}

/* STEP 2 — active */
.checkout-page:has(.checkout-step[data-step="2"].is-active) .step-nav-item[data-nav-step="2"] .step-nav-dot {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(109, 94, 252, 0.2);
}

.checkout-page:has(.checkout-step[data-step="2"].is-active) .step-nav-item[data-nav-step="2"] .step-nav-label {
  color: rgba(255, 255, 255, 0.88);
}

/* step 1 completed */
.checkout-page:has(.checkout-step[data-step="2"].is-active) .step-nav-item[data-nav-step="1"] .step-nav-dot {
  border-color: rgba(109, 94, 252, 0.55);
  background: rgba(109, 94, 252, 0.16);
  color: rgba(109, 94, 252, 0.9);
}

.checkout-page:has(.checkout-step[data-step="2"].is-active) .step-nav-item[data-nav-step="1"] .step-nav-label {
  color: var(--muted-2);
}

.checkout-page:has(.checkout-step[data-step="2"].is-active) .step-nav-connector[data-connector="1"] {
  background: rgba(109, 94, 252, 0.38);
}

/* STEP 3 — active */
.checkout-page:has(.checkout-step[data-step="3"].is-active) .step-nav-item[data-nav-step="3"] .step-nav-dot {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(109, 94, 252, 0.2);
}

.checkout-page:has(.checkout-step[data-step="3"].is-active) .step-nav-item[data-nav-step="3"] .step-nav-label {
  color: rgba(255, 255, 255, 0.88);
}

/* steps 1 & 2 completed */
.checkout-page:has(.checkout-step[data-step="3"].is-active) .step-nav-item[data-nav-step="1"] .step-nav-dot,
.checkout-page:has(.checkout-step[data-step="3"].is-active) .step-nav-item[data-nav-step="2"] .step-nav-dot {
  border-color: rgba(109, 94, 252, 0.55);
  background: rgba(109, 94, 252, 0.16);
  color: rgba(109, 94, 252, 0.9);
}

.checkout-page:has(.checkout-step[data-step="3"].is-active) .step-nav-item[data-nav-step="1"] .step-nav-label,
.checkout-page:has(.checkout-step[data-step="3"].is-active) .step-nav-item[data-nav-step="2"] .step-nav-label {
  color: var(--muted-2);
}

.checkout-page:has(.checkout-step[data-step="3"].is-active) .step-nav-connector {
  background: rgba(109, 94, 252, 0.38);
}

/* ─── LAYOUT SHELL ─── */

.checkout-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
  min-height: 72vh;
}

/* ─── CARDS ─── */

.checkout-main,
.summary-card,
.order-success-card {
  background: rgba(15, 17, 23, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.checkout-main {
  border-radius: var(--radius-xl);
  padding: 36px 40px;
}

.checkout-summary {
  position: sticky;
  top: 20px;
}

.summary-card,
.order-success-card {
  border-radius: var(--radius-xl);
  padding: 24px;
}

/* ─── FORM ─── */

.order-form {
  display: block;
}

.checkout-step {
  display: none;
}

.checkout-step.is-active {
  display: block;
}

/* ─── STEP HEAD ─── */

.step-head {
  margin-bottom: 28px;
}

.step-kicker,
.summary-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.step-title,
.summary-title {
  margin: 0;
  letter-spacing: -0.035em;
}

.step-title {
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.08;
}

.summary-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
}

.step-copy,
.summary-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ─── FIELDS ─── */

.field {
  min-width: 0;
}

.field-label {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-top: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 20px;
}

input[type="number"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  border-radius: var(--radius-md);
  padding: 13px 15px;
  font-size: 15px;
  line-height: 1.45;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-2);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}


input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(109, 94, 252, 0.16);
}


select option {
  background-color: #151823;
  color: #ffffff;
  padding: 24px 12px;
  font-size: 15px;
}

select {
  cursor: pointer;
}

select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@-moz-document url-prefix() {
  select {
    color: var(--text);
    background-color: var(--surface-2);
  }
}

select::-ms-expand {
  display: none;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
select,
textarea {
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0px 1000px #1a1d26 inset;
  transition: background-color 5000s ease-in-out 0s;
}



/* ─── SLIDE TYPE PICKER ─── */

.slide-type-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.slide-option {
  display: block;
  cursor: pointer;
}

.slide-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.slide-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.slide-card img {
  width: 100%;
  object-fit: contain;
}

.slide-card strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.slide-card small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.slide-option:hover .slide-card {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.slide-option input:checked+.slide-card {
  border-color: var(--accent);
  background: var(--accent-2);
  box-shadow: 0 0 0 1px var(--accent);
}

/* ─── FILE UPLOAD ─── */

.upload-dropzone {
  display: block;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  padding: 20px;
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.upload-dropzone:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.035);
}

.upload-dropzone input {
  display: none;
}

.upload-dropzone-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.upload-dropzone-copy strong {
  font-size: 14px;
  font-weight: 600;
}

.upload-dropzone-copy small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.file-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(35, 34, 43, 0.69);
}

.file-item-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.file-item-meta strong,
.file-item-meta small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-item-meta strong {
  font-size: 12.5px;
  font-weight: 600;
  color: #c3c3c3;
  overflow: hidden;
  max-width: 24ch;
}

.file-item-meta small {
  font-size: 11px;
  color: var(--muted);
}

.file-remove {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}

.file-remove:hover {
  color: var(--text);
}

/* ─── CHECKBOXES ─── */

.checks {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.check {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  column-gap: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  cursor: pointer;
  position: relative;
}

.check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-box {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  flex-shrink: 0;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.check input:checked~.check-box {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(109, 94, 252, 0.15);
}

.check-box::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 4px;
  width: 5px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.check input:checked~.check-box::after {
  display: block;
}


.check a {
  color: #c3c3c3;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--muted-2);
  transition: all 0.2s var(--ease);
}

.check a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}



/* ─── INFO BOX ─── */

.info-box {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.14);
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.65;
}

/* ─── STEP ACTIONS ─── */

.step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* When only one button (step 1 "Dalej"), push it right */
.step-actions>.button:only-child {
  margin-left: auto;
  min-width: 140px;
}

/* ─── BUTTONS ─── */

.button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  min-height: 46px;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  transition:
    transform 0.2s var(--ease),
    opacity 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:active:not(:disabled) {
  transform: translateY(0);
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow:
    0 8px 24px rgba(109, 94, 252, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  min-width: 140px;
}

.button-primary:hover:not(:disabled) {
  box-shadow:
    0 12px 32px rgba(109, 94, 252, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.button-secondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 11px 18px;
}

.button-secondary:hover:not(:disabled) {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}

/* ─── SUMMARY PANEL ─── */

.summary-list {
  margin: 20px 0 0;
  display: grid;
  gap: 0;
}

.summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-2);
}

.summary-row--last {
  border-bottom: 0;
}

.summary-row dt {
  flex: 0 0 auto;
  color: var(--muted-2);
  font-size: 13px;
}

.summary-row dd {
  margin: 0;
  text-align: right;
  max-width: 62%;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

/* ─── FIELD ERRORS ─── */

.field-error {
  margin: 4px 0 8px;
  color: var(--danger);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}


















/* ─── SUCCESS STATE ─── */

.order-success-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.order-success-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.75);
  backdrop-filter: blur(6px);
}

.order-success-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.order-success-card {
  width: 100%;
  max-width: 480px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: #171a21;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.order-success-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted-2);
}

.order-success-actions {
  margin-top: 20px;
}

.order-success-footnote {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted-2);
}

/* ─── SUCCESS SUMMARY GRID ─── */

.order-success-summary {
  margin: 20px 0 0;
  text-align: left;
  display: grid;
  gap: 0;
}

.order-success-summary-group {
  margin-top: 16px;
}

.order-success-summary-group:first-child {
  margin-top: 0;
}

.order-success-summary-label {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.order-success-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-2);
}

.order-success-row--last {
  border-bottom: none;
}

.order-success-row dt {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--muted-2);
}

.order-success-row dd {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-align: right;
  max-width: 62%;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .order-success-card {
    padding: 24px 18px;
    border-radius: 14px;
  }
}



/* ─── FOOTER ─── */

.checkout-footer {
  width: min(1180px, 100%);
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  flex-wrap: wrap;
}

.checkout-footer-trust,
.checkout-footer-contact {
  margin: 0;
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.5;
}

.checkout-footer-sep {
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1;
}

.checkout-footer-contact a {
  color: var(--muted-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.15s, border-color 0.15s;
}

.checkout-footer-contact a:hover {
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.28);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1020px) {
  .checkout-shell {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }

  /* On tablet/mobile, summary goes below form — source order is correct */
}

@media (max-width: 720px) {
  .checkout {
    padding: 16px 16px 32px;
  }

  .checkout-top {
    padding-bottom: 16px;
    margin-bottom: 24px;
    gap: 12px;
  }

  .checkout-main {
    border-radius: var(--radius-lg);
    padding: 24px 20px;
  }

  .summary-card,
  .order-success-card {
    border-radius: var(--radius-lg);
    padding: 20px;
  }

  .step-actions {
    padding-top: 20px;
    margin-top: 24px;
  }

  .slide-type-picker,
  .form-grid {
    grid-template-columns: 1fr;
  }

  /* Full-width buttons on mobile */
  .step-actions {
    flex-direction: column-reverse;
    /* primary on top */
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .step-actions>.button:only-child {
    margin-left: 0;
  }

  .order-success-card {
    padding: 24px 20px;
  }

  .checkout-footer {
    margin-top: 28px;
    gap: 6px 12px;
    text-align: center;
  }

  .checkout-footer-sep {
    display: none;
  }
}

@media (max-width: 480px) {

  /* Hide step labels at very small widths, keep dots */
  .step-nav-label {
    display: none;
  }

  .step-nav-connector {
    flex: 1 0 16px;
    max-width: 32px;
    margin-top: 14px;
    /* 28px dot / 2 */
  }

  .step-nav-dot {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
}

/* ─── REDUCED MOTION ─── */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
















@media (max-width: 767px) {
  .step-nav-item {
    min-width: 50px;
  }

  .step-kicker {
    display: none;
  }

  .order-success-row {
    padding: 4px 0;
  }
}