.checkout-container {
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 16px;
  font-family: inherit;

  // ── Step indicator ──────────────────────────────────────────────────────────
  .step-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;

    .step-dot {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: 2px solid #ccc;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      color: #888;
      transition: all 0.2s ease;

      &.active {
        border-color: #1976d2;
        background: #1976d2;
        color: #fff;
      }

      &.complete {
        border-color: #388e3c;
        background: #388e3c;
        color: #fff;
      }
    }
  }

  // ── Step panel ──────────────────────────────────────────────────────────────
  .step-panel {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;

    h3 { margin: 0 0 20px; font-size: 18px; color: #212121; }
    h4 { margin: 16px 0 12px; font-size: 15px; color: #424242; }
  }

  // ── Order summary ───────────────────────────────────────────────────────────
  .order-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 15px;
  }

  // ── Guest form ──────────────────────────────────────────────────────────────
  .guest-details-form .form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;

    label {
      font-size: 13px;
      color: #616161;
      margin-bottom: 4px;
    }

    input {
      padding: 8px 10px;
      border: 1px solid #bdbdbd;
      border-radius: 4px;
      font-size: 14px;
      outline: none;

      &:focus { border-color: #1976d2; }
    }

    .field-error {
      color: #c62828;
      font-size: 12px;
      margin-top: 3px;
    }
  }

  // ── Coupon ──────────────────────────────────────────────────────────────────
  .coupon-section {
    label {
      font-size: 13px;
      color: #616161;
      display: block;
      margin-bottom: 4px;
    }
  }

  .coupon-input-row {
    display: flex;
    gap: 8px;
    margin-top: 6px;

    input {
      flex: 1;
      padding: 8px 10px;
      border: 1px solid #bdbdbd;
      border-radius: 4px;
      font-size: 14px;
    }
  }

  .coupon-applied {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding: 8px 12px;
    background: #e8f5e9;
    border-radius: 4px;

    .badge-success {
      background: #2e7d32;
      color: #fff;
      padding: 2px 8px;
      border-radius: 12px;
      font-size: 12px;
    }
  }

  // ── Loyalty ─────────────────────────────────────────────────────────────────
  .loyalty-section {
    margin-top: 20px;

    .loyalty-balance-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 8px;
      font-size: 14px;
    }

    .loyalty-slider-row {
      display: flex;
      flex-direction: column;
      gap: 4px;
      font-size: 13px;

      input[type="range"] { width: 100%; }
    }
  }

  // ── Net payable summary ──────────────────────────────────────────────────────
  .net-payable-summary {
    margin-top: 20px;
    border-top: 2px solid #e0e0e0;
    padding-top: 12px;

    .summary-row {
      display: flex;
      justify-content: space-between;
      padding: 4px 0;
      font-size: 14px;

      .discount {
        color: #2e7d32;
        font-weight: 500;
      }

      &.total {
        font-size: 16px;
        font-weight: 600;
        padding-top: 8px;
        border-top: 1px solid #e0e0e0;
        margin-top: 4px;
      }
    }
  }

  // ── Payment methods ──────────────────────────────────────────────────────────
  .payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;

    .method-option {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 16px;
      border: 2px solid #e0e0e0;
      border-radius: 6px;
      cursor: pointer;
      font-size: 15px;
      transition: border-color 0.15s;

      &.selected {
        border-color: #1976d2;
        background: #e3f2fd;
      }

      &:hover { border-color: #90caf9; }

      input[type="radio"] { accent-color: #1976d2; }
    }
  }

  .net-payable-reminder {
    text-align: right;
    font-size: 15px;
    color: #424242;
    margin-bottom: 16px;
  }

  // ── Processing ──────────────────────────────────────────────────────────────
  .step-processing {
    text-align: center;
    padding: 48px 24px;
  }

  // ── Result ──────────────────────────────────────────────────────────────────
  .step-result {
    text-align: center;
    padding: 32px 24px;

    .result-icon {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      margin: 0 auto 16px;
    }

    .success-icon { background: #e8f5e9; color: #2e7d32; }
    .fail-icon    { background: #ffebee; color: #c62828; }
  }

  // ── Spinner ─────────────────────────────────────────────────────────────────
  .spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px;
    color: #616161;
    font-size: 14px;
  }

  .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e0e0e0;
    border-top-color: #1976d2;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }

  @keyframes spin { to { transform: rotate(360deg); } }

  // ── Buttons ─────────────────────────────────────────────────────────────────
  .step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
  }

  .btn-primary,
  .btn-outline,
  .btn-secondary,
  .btn-link {
    padding: 9px 20px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: background 0.15s;

    &:disabled {
      opacity: 0.55;
      cursor: not-allowed;
    }
  }

  .btn-primary {
    background: #1976d2;
    color: #fff;
    &:hover:not(:disabled) { background: #1565c0; }
  }

  .btn-outline {
    background: transparent;
    color: #1976d2;
    border: 1.5px solid #1976d2;
  }

  .btn-secondary {
    background: #f5f5f5;
    color: #212121;
    border: 1px solid #bdbdbd;
  }

  .btn-link {
    background: none;
    color: #c62828;
    padding: 0;
    text-decoration: underline;
    font-size: 13px;
  }

  // ── RTL ─────────────────────────────────────────────────────────────────────
  &[dir="rtl"] {
    .step-actions          { flex-direction: row-reverse; }
    .order-summary-row,
    .summary-row,
    .net-payable-reminder  { flex-direction: row-reverse; }
    .coupon-input-row      { flex-direction: row-reverse; }
    .coupon-applied        { flex-direction: row-reverse; }
  }
}
