.scqs-drawer-step-checkout {
  font-size: 13px;
}

.scqs-drawer-step-checkout h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

/* Bouton retour (vers la liste produits par ex.) */
.scqs-checkout-back-btn {
  margin-bottom: 8px;
  border: none;
  background: transparent;
  font-size: 12px;
  color: #2563eb;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}

.scqs-checkout-back-btn::before {
  content: "←";
  font-size: 13px;
}

/* Inverser la flèche en RTL */
html[dir="rtl"] .scqs-checkout-back-btn::before {
  content: "→";
}

#scqs_checkout_form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Champs de base */
.scqs-field {
  width: 100%;
}

.scqs-field label {
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
  color: #4b5563;
}

.scqs-field input,
.scqs-field select,
.scqs-field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 7px 9px;
  font-size: 13px;
  background: #ffffff;
}

/* Petite aide / note sous un champ */
.scqs-field-note {
  margin-top: 3px;
  font-size: 11px;
  color: #6b7280;
}

.scqs-field textarea {
  resize: vertical;
}

/* Lignes de totaux (Total, éventuellement livraison, total final) */
.scqs-field-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding-top: 4px;
}

.scqs-field-total-label {
  color: #4b5563;
}

.scqs-field-total-value {
  font-weight: 600;
  color: #111827;
}

/* Ligne de résumé livraison si tu l’utilises (optionnel) */
.scqs-checkout-shipping-summary {
  font-size: 12px;
  color: #374151;
  margin-top: 4px;
}

/* Bouton envoyer commande */
.scqs-submit-order-btn {
  margin-top: 4px;
  width: 100%;
  border-radius: 999px;
  border: none;
  padding: 9px 12px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ecfdf5;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.50);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.scqs-submit-order-btn::before {
  content: "✅ ";
}

.scqs-submit-order-btn.scqs-btn-loading {
  opacity: .7;
  cursor: wait;
}

/* Message de retour (succès / erreur) */
.scqs-checkout-message {
  margin-top: 6px;
  font-size: 12px;
}

.scqs-checkout-message.scqs-success {
  color: #047857;
}

.scqs-checkout-message.scqs-error {
  color: #b91c1c;
}
/* Résumé du mode de livraison / tarif */
.scqs-checkout-shipping-summary {
  margin-top: 4px;
  font-size: 11px;
  color: #4b5563;
}

.scqs-field-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding-top: 4px;
}

.scqs-field-total-label {
  color: #4b5563;
}

.scqs-field-total-value {
  font-weight: 600;
  color: #111827;
}

/* Ligne finale (Total à payer) un peu plus forte */
.scqs-field-total-main .scqs-field-total-label {
  font-weight: 600;
}

.scqs-field-total-main .scqs-field-total-value {
  font-size: 14px;
}

/* Résumé livraison (si tu veux garder) */
.scqs-checkout-shipping-summary {
  margin-top: 4px;
  font-size: 11px;
  color: #4b5563;
}

.scqs-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #25D366;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.scqs-whatsapp-btn:hover {
  opacity: 0.92;
}

