.stepContent {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: inherit;
}

.stepTitle {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.stepDesc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.7;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.actionsStack {
  flex-direction: column;
}

.primaryBtn {
  flex: 1;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  color: white;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(var(--primary-rgb) / 0.35);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.primaryBtn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(var(--primary-rgb) / 0.4);
}

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

.secondaryBtn {
  flex: 1;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  color: var(--primary);
  background: rgba(var(--primary-rgb) / 0.08);
  border: 1px solid rgba(var(--primary-rgb) / 0.25);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.secondaryBtn:hover:not(:disabled) {
  background: rgba(var(--primary-rgb) / 0.14);
}

.backBtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: -8px;
  transition: color 0.2s;
}

.backBtn:hover {
  color: var(--primary);
}

.error {
  font-size: 13px;
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.empty {
  text-align: center;
  padding: 24px 12px;
  color: var(--text-secondary);
  font-size: 14px;
}

.emptyIcon {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.loading {
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
  font-size: 14px;
}

.cartList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cartItem {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius-sm);
}

.cartItemImage {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(148, 163, 184, 0.15);
  flex-shrink: 0;
  align-self: center;
}

.cartItemImagePlaceholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.cartItemInfo {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.cartItemTitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

.cartItemVariant {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.4;
}

.cartItemFooter {
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  gap: 10px;
}

.cartItemPrice {
  font-family: 'Montserrat', var(--font-en), sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  margin-left: 14px;
}

.qtyControls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.qtyBtn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--text-secondary);
  background: rgba(148, 163, 184, 0.15);
  transition: background 0.2s, color 0.2s;
}

.qtyBtn:hover:not(:disabled) {
  background: rgba(var(--primary-rgb) / 0.15);
  color: var(--primary);
}

.qtyBtn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.qtyValue {
  min-width: 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

.removeBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
  transition: background 0.2s;
}

.removeBtn:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.16);
}

.summary {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.summaryRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 0;
}

.priceEn {
  font-family: 'Montserrat', var(--font-en), sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: end;
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
}

.summaryRowTotal {
  margin-top: 8px;
  padding: 12px 14px;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: #18181b;
}

.summaryRowTotal .priceEn {
  font-size: 14px;
  font-weight: 500;
  color: #18181b;
}

.deliveryOptions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.deliveryOption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  border: 2px solid rgba(148, 163, 184, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
}

.deliveryOption:hover {
  border-color: rgba(var(--primary-rgb) / 0.4);
}

.deliveryOptionActive {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb) / 0.08);
}

.deliveryOptionLabel {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.deliveryOptionHint {
  font-size: 11px;
  color: var(--text-muted);
}

.addressList {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.addressEmptyHint {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0 2px 4px;
}

.addressCard {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 2px solid rgba(148, 163, 184, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}

.addressCard:hover {
  border-color: rgba(var(--primary-rgb) / 0.4);
}

.addressCardActive {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb) / 0.08);
}

.addressCardBody {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}

.addressCardTitle {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.addressCardText {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(148, 163, 184, 0.5);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.addressCardActive .radio {
  border-color: var(--primary);
}

.radioInner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.pickupNote {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 14px;
  background: rgba(var(--primary-rgb) / 0.06);
  border: 1px solid rgba(var(--primary-rgb) / 0.15);
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.field input {
  width: 100%;
  min-height: var(--field-height);
  padding: var(--field-padding-y) var(--field-padding-x);
  font-size: var(--field-font-size);
  font-family: inherit;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb) / 0.12);
}

.discountRow {
  display: flex;
  gap: 8px;
}

.discountRow input {
  flex: 1;
}

.applyBtn {
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  color: var(--primary);
  background: rgba(var(--primary-rgb) / 0.08);
  border: 1px solid rgba(var(--primary-rgb) / 0.25);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background 0.2s;
}

.applyBtn:hover:not(:disabled) {
  background: rgba(var(--primary-rgb) / 0.14);
}

.paymentOption {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 2px solid rgba(148, 163, 184, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: right;
}

.paymentOptionActive {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb) / 0.08);
}

.paymentOptionBody {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.paymentOptionTitle {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

.paymentOptionHint {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
}

.paymentOptions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.paymentSubOptions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 2px 0;
}

.paymentSubOption {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(148, 163, 184, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  text-align: right;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-fa);
  color: var(--text-primary);
  transition: border-color 0.2s, background 0.2s;
}

.paymentSubOptionActive {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb) / 0.06);
  color: var(--primary);
}

.paymentSubRadio {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(148, 163, 184, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.paymentSubOptionActive .paymentSubRadio {
  border-color: var(--primary);
}

.paymentSubRadioInner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.transferFields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 2px 0;
}

.successIcon {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  background: transparent;
}

.successImage {
  width: min(320px, 78vw);
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
  user-select: none;
  pointer-events: none;
}

.successContent {
  align-items: center;
  text-align: center;
  gap: 18px;
  padding-block: 8px 4px;
}

.successHeader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.successHeader .stepTitle,
.successHeader .stepDesc {
  text-align: center;
}

.successMeta {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 4px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.successMetaRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 4px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.successMetaRow:last-child {
  border-bottom: none;
}

.successMetaRow dt {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: right;
}

.successMetaRow dd {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
}

.successMetaValue {
  font-family: 'Montserrat', var(--font-en), sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  direction: ltr;
}

.successActions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
}

.successPrimaryBtn,
.successNeutralBtn,
.successDarkBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, color 0.2s;
}

.successDarkBtn {
  color: #f8fafc;
  background: #1e293b;
  border: 1px solid #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}

.successDarkBtn:hover {
  background: #0f172a;
  transform: translateY(-1px);
}

.successNeutralBtn {
  color: #1e293b;
  background: #e8eaed;
  border: 1px solid #d1d5db;
}

.successNeutralBtn:hover {
  background: #dfe3e8;
  color: #0f172a;
}

/* Kept for failed-page retry button (non-theme) */
.successPrimaryBtn {
  color: #f8fafc;
  background: #1e293b;
  border: 1px solid #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}

.successPrimaryBtn:hover {
  background: #0f172a;
  transform: translateY(-1px);
}

.successOrder {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.successOrder strong {
  color: var(--text-primary);
}

.loginForm {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inputWrap {
  position: relative;
  display: flex;
  align-items: center;
}

.inputIcon {
  position: absolute;
  inset-inline-start: 12px;
  color: var(--text-muted);
  pointer-events: none;
}

.inputWrap input {
  width: 100%;
  min-height: var(--field-height);
  padding-block: var(--field-padding-y);
  padding-inline: 38px 40px;
  font-size: var(--field-font-size);
  font-family: inherit;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.inputWrap input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb) / 0.12);
}

.togglePassword {
  position: absolute;
  inset-inline-end: 12px;
  display: flex;
  color: var(--text-muted);
  padding: 4px;
}

.footerLink {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}

.footerLink button {
  font-weight: 600;
  color: var(--primary);
}

@media (max-width: 480px) {
  .deliveryOptions {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
  }
}
