/* ============================================
   ONE-PAGE CHECKOUT - Service en Ligne
   Shows all checkout steps on a single page
   ============================================ */

body#checkout .checkout-step .step-title .step-number {
  display: none;
}

body#checkout .checkout-step {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

body#checkout .checkout-step.-unreachable {
  display: block !important;
  opacity: 0.97 !important;
  pointer-events: auto !important;
}

body#checkout .checkout-step.-unreachable .step-content {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
}

body#checkout .checkout-step .step-content {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
}

body#checkout .checkout-step .step-content .continue-btn,
body#checkout .checkout-step .step-content [data-action="continue"] {
  display: none !important;
}

body#checkout .checkout-process .step-title {
  cursor: default;
  padding: 15px 20px;
  margin-bottom: 0;
  border-bottom: 2px solid #2196F3;
  background: #f8f9fa;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

body#checkout .checkout-step .step-edit {
  display: none !important;
}

body#checkout .checkout-step {
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

body#checkout .checkout-step.-complete .step-content {
  display: block !important;
}

body#checkout .checkout-step.-complete {
  opacity: 1 !important;
}

body#checkout #checkout-progress-bar,
body#checkout .checkout-progress {
  display: none !important;
}

body#checkout .checkout-step .step-content {
  padding: 20px;
}

body#checkout #payment-confirmation button,
body#checkout .ps-shown-by-js [type="submit"] {
  width: 100%;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  background: #2196F3;
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

body#checkout #payment-confirmation button:hover {
  background: #1976D2;
}

body#checkout .wizard-steps,
body#checkout .checkout-timeline {
  display: none !important;
}

@media (max-width: 768px) {
  body#checkout .checkout-step {
    margin-bottom: 15px;
  }
  body#checkout .checkout-step .step-content {
    padding: 15px;
  }
}
