/* Checkout flow polish — progress stepper, card steps, summary */
.checkout-progress {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0;
  margin: 0 0 22px;
  counter-reset: step;
}
.checkout-progress li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 14px;
  background: #fff;
  color: var(--muted, #64748b);
  font-size: 0.86rem;
  font-weight: 600;
}
.checkout-progress li i {
  font-style: normal;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 800;
  flex: none;
}
.checkout-progress li.is-done {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}
.checkout-progress li.is-done i { background: #16a34a; color: #fff; }
.checkout-progress li.is-active {
  border-color: var(--authority-blue, #1e3a8a);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
  color: var(--authority-blue, #1e3a8a);
}
.checkout-progress li.is-active i { background: var(--authority-blue, #1e3a8a); color: #fff; }

.checkout-step > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--authority-blue, #1e3a8a);
  color: #fff;
  font-weight: 800;
  flex: none;
}
.checkout-who {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  font-size: 0.85rem;
  font-weight: 600;
}
.checkout-product-card {
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.checkout-product-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1); }
.checkout-product-card:has(input:checked) {
  border-color: var(--authority-blue, #1e3a8a) !important;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.14);
}
@media (max-width: 720px) {
  .checkout-progress { grid-template-columns: repeat(2, 1fr); }
  .checkout-progress li { padding: 10px 12px; font-size: 0.8rem; }
}

/* Payment page */
.pay-shell { max-width: 680px; margin: 0 auto; }
.pay-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 28px; box-shadow: 0 18px 45px rgba(15, 23, 42, .08); }
.pay-order-head { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #e2e8f0; margin-bottom: 16px; }
.pay-order-label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #64748b; margin-bottom: 3px; }
.pay-items { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: .9rem; color: #334155; }
.pay-item { padding: 8px 12px; background: #f8fafc; border-radius: 10px; }
.pay-total-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 2px solid #0f172a; font-size: 1.05rem; font-weight: 800; }
.pay-methods { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.pay-stripe { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.02rem; padding: 15px 22px; }
.pay-swish { border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px; }
.pay-swish h3 { margin: 0 0 12px; font-size: .95rem; }
.pay-swish-box { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 18px; align-items: center; margin-bottom: 10px; }
.pay-swish-box span { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; color: #64748b; }
.pay-swish-box img { grid-row: span 3; border-radius: 10px; }
.pay-security { margin-top: 18px; font-size: .8rem; color: #64748b; text-align: center; }
.pay-done { text-align: center; }
.pay-done svg { margin-bottom: 6px; }
@media (max-width: 560px) { .pay-order-head { grid-template-columns: 1fr; } .pay-swish-box { grid-template-columns: 1fr; } }
.pay-none { margin: 0; padding: 14px 16px; border-radius: 12px; background: #f1f6ff; border: 1px solid #d6e3fb; color: #1e3a8a; font-size: .95rem; line-height: 1.5; }
