/* ==========================================================================
   Daytona ANIMA - TUNNEL DE COMMANDE (#checkout)
   daytona-checkout-v1.2.6.css
   Cible les VRAIES classes (checkout-steps__desktop/__mobile, section.step,
   nav-underline, mb-3/form-check, footer.buttons-wrapper). CSS pur.
   v1.1.5 : fil d'Ariane via classes NATIVES du theme
            (.checkout-steps__step--success = coche, --current = en cours).
   v1.1.6 : etape ADRESSES (cartes encadrees, radio orange, actions) +
            etape LIVRAISON (options transporteur encadrees, prix orange).
   v1.1.7 : radios passes en accent-color orange (ecrase le bleu natif).
   v1.1.8 : fil d'Ariane sticky (top 70px) pour rester visible au scroll.
   v1.1.9 : CORRECTIF REMONTEE (scroll-margin-top) - abandonne, la remontee
            etant le rechargement natif du checkout 4 etapes de PrestaShop.
   v1.2.0 : EFFET "4 PAGES SEPAREES". Le checkout 4 etapes recharge la page a
            chaque validation (comportement natif PrestaShop). On masque donc
            toutes les sections d'etape SAUF l'active (step--current) : a chaque
            rechargement, une seule etape s'affiche plein ecran. Visuellement =
            4 pages distinctes. CSS pur, la soumission de l'etape active
            (formulaire propre a chaque section) n'est pas affectee.
   ========================================================================== */

/* --- Effet 4 pages : n'afficher que l'etape courante --- */
/* Par defaut on masque toutes les sections d'etape... */
#checkout .checkout-grid__content section.step {
  display: none !important;
}
/* ...sauf celle qui est active (classes natives posees par le theme) */
#checkout .checkout-grid__content section.step.step--current,
#checkout .checkout-grid__content section.step.js-current-step,
#checkout .checkout-grid__content section.step.active,
#checkout .checkout-grid__content section.step.show {
  display: block !important;
}

/* --- Onglets Invite/Connexion : ne montrer QUE le panneau actif ---
   Bootstrap masque le .tab-pane inactif via display:none, mais notre regle
   ci-dessus reaffichait tout. On retablit : seul le .tab-pane.show visible. */
#checkout #personal-information-tabs-content > .tab-pane {
  display: none !important;
}
#checkout #personal-information-tabs-content > .tab-pane.show.active {
  display: block !important;
}


#checkout .columns-container.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ==========================================================================
   1) MASQUER le bloc mobile des etapes (1/4 + titres empiles) en desktop
   ========================================================================== */
#checkout .checkout-steps__mobile { display: none !important; }

@media (max-width: 767px) {
  #checkout .checkout-steps__desktop { display: none !important; }
  #checkout .checkout-steps__mobile {
    display: flex !important;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
  }
  #checkout .checkout-steps__step-mobile:not(.d-none) { display: block !important; }
  #checkout .checkout-steps__title {
    font-family: 'Khand', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 18px;
    margin: 0;
  }
  #checkout .checkout-steps__subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #888;
    margin: 0;
  }
}

/* ==========================================================================
   2) Barre d'etapes desktop
   ========================================================================== */
#checkout .checkout-steps {
  margin: 24px 0 28px;
  position: sticky;
  top: 70px;
  z-index: 20;
  background: #fff;
  padding-top: 16px;
}
#checkout .checkout-steps__list {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 2px solid #ececec;
  gap: 0;
}
#checkout .checkout-steps__step:last-child { padding-right: 0; }
#checkout .checkout-steps__step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 30px 16px 0;
  position: relative;
  line-height: 1;
}
#checkout .checkout-steps__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #d2d2d2;
  color: #fff;
  font-family: 'Khand', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  flex: 0 0 30px;
  align-self: center;
}
#checkout .checkout-steps__btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Khand', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.03em;
  line-height: 1;
  color: #888;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  vertical-align: middle;
  align-self: center;
}
/* Etats NATIFS poses par le theme sur les <li> :
   --success = etape franchie (coche), --current = etape en cours.
   Aucun JS necessaire. */
/* Etape courante ou franchie : numero orange + libelle noir */
#checkout .checkout-steps__step--current .checkout-steps__number,
#checkout .checkout-steps__step--success .checkout-steps__number {
  background: #eb6100;
}
#checkout .checkout-steps__step--current .checkout-steps__btn,
#checkout .checkout-steps__step--success .checkout-steps__btn {
  color: #000;
  cursor: pointer;
}
/* Etape franchie : le numero devient une coche */
#checkout .checkout-steps__step--success .checkout-steps__number {
  font-size: 0;
}
#checkout .checkout-steps__step--success .checkout-steps__number::after {
  content: "check";
  font-family: 'Material Icons';
  font-size: 18px;
  line-height: 1;
  color: #fff;
}
/* Soulignement orange sous l'etape courante */
#checkout .checkout-steps__step--current::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 2px;
  background: #eb6100;
}

/* ==========================================================================
   3) Layout 2 colonnes
   ========================================================================== */
#checkout .checkout-grid.row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 0;
}
#checkout .checkout-grid__content.col-lg-8 {
  flex: 1 1 62%;
  max-width: calc(62% - 15px);
}
#checkout .checkout-grid__aside.col-lg-4 {
  flex: 1 1 34%;
  max-width: 360px;
}
@media (max-width: 991px) {
  #checkout .checkout-grid__content.col-lg-8,
  #checkout .checkout-grid__aside.col-lg-4 {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   4) Bloc d'une etape (carte)
   ========================================================================== */
#checkout section.step {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 4px;
  padding: 26px 30px;
  margin-bottom: 20px;
}
#checkout section.step.d-none { display: none !important; }

#checkout .step__title .page-title-section,
#checkout .step__title h1,
#checkout .step__title-left {
  font-family: 'Khand', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 23px;
  letter-spacing: 0.02em;
  color: #000;
  margin: 0 0 14px;
}
#checkout .step__title hr {
  border: none;
  border-top: 1px solid #ececec;
  margin: 0 0 18px;
}
/* Etapes non atteintes (titre seul, grise) */
#checkout section.step--unreachable .step__title-left {
  color: #b8b8b8;
}

/* ==========================================================================
   5) Onglets "Commander en tant qu'invite / Connexion"
      v1.2.1 : deux onglets-boutons nets cote a cote, actif en orange plein,
               inactif gris encadre. Clair pour l'utilisateur.
   ========================================================================== */
#checkout .nav-underline {
  display: flex;
  list-style: none;
  gap: 0;
  padding: 0;
  margin: 0 0 26px;
  border-bottom: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}
#checkout .nav-underline .nav-item {
  margin: 0;
  flex: 1 1 50%;
}
#checkout .nav-underline .nav-item + .nav-item {
  border-left: 1px solid #ddd;
}
#checkout .nav-underline .nav-link {
  display: block;
  width: 100%;
  font-family: 'Khand', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: #777;
  background: #f5f5f5;
  border: none;
  border-radius: 0;
  padding: 16px 14px;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
#checkout .nav-underline .nav-link:hover {
  color: #000;
  background: #ededed;
}
#checkout .nav-underline .nav-link.active {
  color: #fff;
  background: #eb6100;
  border-bottom: none;
}

/* ==========================================================================
   6) Champs de formulaire
   ========================================================================== */
#checkout .mb-3 { margin-bottom: 18px; }

#checkout .form-label {
  display: block;
  font-family: 'Khand', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: #000;
  margin-bottom: 6px;
}
#checkout .form-label.required::after {
  content: " *";
  color: #eb6100;
}
#checkout .form-control {
  width: 100%;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #222;
  background: #fafafa;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  padding: 11px 13px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
#checkout .form-control:focus {
  outline: none;
  border-color: #eb6100;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(235, 97, 0, 0.12);
}
#checkout .form-text {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: #999;
  margin-top: 5px;
}

/* Masquer le "Titre" duplique (le <p id=field-id_gender-label> non masque) */
#checkout #field-id_gender-label,
#checkout .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Radios Titre M./Mme en ligne */
#checkout .form-check.form-check-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: 22px;
}
#checkout .form-check-inline .form-check-input { accent-color: #eb6100; }
#checkout .form-check-label {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #222;
}

/* Checkboxes (RGPD, newsletter, etc.) */
#checkout .form-check:not(.form-check-inline) {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 4px;
}
#checkout .form-check:not(.form-check-inline) .form-check-input {
  margin-top: 3px;
  accent-color: #eb6100;
  flex: 0 0 auto;
}
#checkout .form-check-label.required::after {
  content: " *";
  color: #eb6100;
}

/* Champ mot de passe avec bouton oeil */
#checkout .password-field { display: flex; }
#checkout .password-field .form-control { border-radius: 3px 0 0 3px; }
#checkout .password-field .btn {
  background: #eb6100 !important;
  border: none !important;
  color: #fff !important;
  border-radius: 0 3px 3px 0;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
}

/* ==========================================================================
   7) Boutons de navigation — UNIFORMISES sur toutes les etapes (v1.2.4)
   Tous les conteneurs de boutons : Retour (outline, gauche) | Continuer
   (plein orange, droite), meme hauteur, meme alignement, partout pareil.
   ========================================================================== */
#checkout footer.buttons-wrapper,
#checkout .buttons-wrapper {
  background: transparent !important;
  position: static !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
/* Une seule action (ex: etape 1 invite) -> a droite */
#checkout footer.buttons-wrapper--end { justify-content: flex-end; }
/* Deux actions (Retour + Continuer) -> espacees aux extremites */
#checkout .buttons-wrapper--split { justify-content: space-between; }

/* Boutons : meme gabarit pour TOUS (primary, outline, basic-as-button) */
#checkout .btn-primary,
#checkout .btn-outline-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  font-family: 'Khand', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 15px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none !important;
  line-height: 1;
}
/* Continuer / valider : plein orange */
#checkout .btn-primary {
  color: #fff !important;
  background: #eb6100 !important;
  border: 2px solid #eb6100 !important;
}
#checkout .btn-primary:hover {
  background: #c85200 !important;
  border-color: #c85200 !important;
}
/* Retour : contour orange */
#checkout .btn-outline-primary {
  color: #eb6100 !important;
  background: #fff !important;
  border: 2px solid #eb6100 !important;
}
#checkout .btn-outline-primary:hover {
  color: #fff !important;
  background: #eb6100 !important;
}
#checkout .btn-primary .material-icons,
#checkout .btn-outline-primary .material-icons { font-size: 18px; }

/* Sur mobile : boutons pleine largeur, empiles proprement */
@media (max-width: 575px) {
  #checkout .buttons-wrapper--split { flex-direction: column-reverse; }
  #checkout .btn-primary,
  #checkout .btn-outline-primary { width: 100%; }
}

/* Lien "Mot de passe oublie" */
#checkout .btn-basic {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #777;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
}
#checkout .btn-basic:hover { color: #eb6100; }

/* ==========================================================================
   7bis) Etape ADRESSES — cartes d'adresse
   ========================================================================== */
/* Texte d'intro */
#checkout .js-address-form > form > p {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}
/* Liste des adresses */
#checkout .address__list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}
/* La carte */
#checkout .address-card {
  flex: 1 1 280px;
  max-width: 420px;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  padding: 18px 20px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#checkout .address-card.selected {
  border-color: #eb6100;
  box-shadow: 0 0 0 1px #eb6100 inset;
}
#checkout .address-card__container {
  display: block;
  margin: 0;
  cursor: pointer;
}
/* Entete : radio + alias */
#checkout .address-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
#checkout .address-card__alias {
  font-family: 'Khand', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: #000;
}
/* Radio orange (remplace le bleu natif) */
#checkout .custom-radio { display: inline-flex; }
#checkout .address-card__header .form-check-input,
#checkout .custom-radio .form-check-input,
#checkout .delivery-option__check .form-check-input {
  width: 18px;
  height: 18px;
  margin: 0;
  border: 2px solid #c4c4c4;
  accent-color: #eb6100;
  cursor: pointer;
}
#checkout .address-card__header .form-check-input:checked,
#checkout .custom-radio .form-check-input:checked,
#checkout .delivery-option__check .form-check-input:checked {
  background-color: #eb6100;
  border-color: #eb6100;
}
#checkout .form-check-input:focus {
  border-color: #eb6100;
  box-shadow: 0 0 0 0.2rem rgba(235, 97, 0, 0.2);
}
/* Adresse : on enleve l'italique natif de <address> */
#checkout .address-card__content {
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin: 0 0 14px;
}
/* Actions Modifier / Supprimer */
#checkout .address-card__actions {
  display: flex;
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}
#checkout .address-card__edit,
#checkout .address-card__delete {
  font-family: 'Khand', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-decoration: none;
}
#checkout .address-card__edit { color: #000; }
#checkout .address-card__edit:hover { color: #eb6100; }
#checkout .address-card__delete { color: #b00020; }
#checkout .address-card__delete:hover { color: #eb6100; }

/* Bouton "Ajouter une nouvelle adresse" : style secondaire plus compact,
   sans ecraser les boutons de navigation Retour/Continuer (geres en section 7). */
#checkout .address__list ~ .buttons-wrapper .btn-outline-primary,
#checkout .js-address-form .buttons-wrapper:not(.buttons-wrapper--split) .btn-outline-primary {
  min-height: 0;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-width: 1px !important;
}

/* Lien "adresse de facturation differente" */
#checkout a[data-link-action="different-invoice-address"] {
  display: inline-block;
  margin-top: 4px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #777;
  text-decoration: underline;
}
#checkout a[data-link-action="different-invoice-address"]:hover { color: #eb6100; }

/* ==========================================================================
   7ter) Etape LIVRAISON — options transporteur
   ========================================================================== */
#checkout .delivery-options__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
#checkout .delivery-option__item {
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#checkout .delivery-option__item:has(.form-check-input:checked) {
  border-color: #eb6100;
  box-shadow: 0 0 0 1px #eb6100 inset;
}
#checkout .delivery-option__label {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 16px;
  margin: 0;
  padding: 16px 20px;
  cursor: pointer;
}
#checkout .delivery-option__left {
  display: flex;
  align-items: center;
  gap: 12px;
  grid-column: 1;
}
#checkout .delivery-option__carrier-name {
  font-family: 'Khand', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #000;
}
#checkout .delivery-option__content {
  grid-column: 1;
  padding-left: 30px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #555;
}
#checkout .delivery-option__price {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-family: 'Khand', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #eb6100;
  text-transform: lowercase;
}
/* Champ commentaire de commande */
#checkout #delivery .form-label {
  font-family: 'Khand', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: #000;
  margin-bottom: 8px;
}

/* ==========================================================================
   8) Aside — Recapitulatif (accordeon)
   ========================================================================== */
#checkout .checkout-grid__aside-wrapper {
  position: sticky;
  top: 100px;
}
#checkout .checkout__summary-accordion {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 4px;
  overflow: hidden;
}
#checkout .checkout__summary-accordion-header .accordion-button {
  font-family: 'Khand', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #000;
  background: #f7f7f7;
  padding: 16px 20px;
  width: 100%;
  border: none;
  text-align: left;
  cursor: pointer;
}
#checkout .checkout__summary-accordion-wrapper { padding: 16px 20px; }

/* Produits du recap */
#checkout .cart-summary__products-number {
  font-family: 'Khand', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  color: #000;
}
#checkout .cart-summary__products-accordion .accordion-button {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: #777;
  background: none;
  border: none;
  padding: 6px 0;
  cursor: pointer;
}
#checkout .cart-summary hr { border: none; border-top: 1px solid #ececec; }

/* Ligne produit du recap */
#checkout .cart-summary-product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
#checkout .cart-summary-product__image,
#checkout .cart-summary-product__image a {
  display: block;
  width: 56px; height: 56px;
  flex: 0 0 56px;
  border: 1px solid #ececec;
  border-radius: 3px;
  overflow: hidden;
  background: #f7f7f7;
  position: relative;
}
#checkout .cart-summary-product__img {
  width: 100%; height: 100%;
  object-fit: contain;
  position: relative; z-index: 1;
}
/* Placeholder si image vide (bug srcset) */
#checkout .cart-summary-product__image a::before {
  content: "image";
  font-family: 'Material Icons';
  font-size: 22px;
  color: #c4c4c4;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
#checkout .cart-summary-product__content {
  flex: 1 1 auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
#checkout .cart-summary-product__link {
  font-family: 'Khand', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  color: #000;
  text-decoration: none;
  line-height: 1.2;
  display: block;
}
#checkout .cart-summary-product__link:hover { color: #eb6100; }
#checkout .cart-summary-product__price .label,
#checkout .cart-summary-product__quantity { font-family: 'Roboto', sans-serif; font-size: 12px; color: #666; }
#checkout .cart-summary-product__total {
  font-family: 'Khand', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #000;
  white-space: nowrap;
}

/* Totaux */
#checkout .cart-summary__line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #333;
}
#checkout .cart-summary__line--bold {
  border-top: 1px solid #ececec;
  margin-top: 6px;
  padding-top: 12px;
}
#checkout .cart-summary__line--bold .cart-summary__label,
#checkout .cart-summary__line--bold .cart-summary__value {
  font-family: 'Khand', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 17px;
  color: #000;
}

/* Reassurance discrete */
#checkout .blockreassurance--checkout {
  margin-top: 18px;
  border: 1px solid #ececec;
  border-radius: 4px;
  background: #fff;
  padding: 4px 16px;
}
#checkout .blockreassurance--checkout .reassurance {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f4f4f4;
}
#checkout .blockreassurance--checkout .reassurance:last-child { border-bottom: none; }
#checkout .blockreassurance--checkout .reassurance__image img { width: 28px; height: 28px; }
#checkout .blockreassurance--checkout .reassurance__title {
  font-family: 'Khand', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  color: #000;
}
#checkout .blockreassurance--checkout .reassurance__desc {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  color: #999;
}

/* ==========================================================================
   9) Notifications + securite <header> interne
   ========================================================================== */
#checkout #notifications { position: static !important; top: auto !important; }
#checkout #notifications .container { max-width: 1300px; margin: 0 auto; }

#checkout .checkout-grid header:not(#header):not(.daytona-header),
#checkout section.step header {
  position: static !important;
  top: auto; left: auto; right: auto;
  width: auto;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

/* ==========================================================================
   12) Modale CGV (#checkout-modal) — v1.2.3
   La croix de fermeture n'etait pas stylee (invisible) -> impossible de
   sortir de la modale. On rend la croix visible + soignons l'entete.
   ========================================================================== */
#checkout-modal .modal-content {
  border: none;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}
#checkout-modal .modal-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid #eee;
  background: #fff;
}
/* Croix de fermeture visible et cliquable */
#checkout-modal .btn-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #f0f0f0;
  cursor: pointer;
  opacity: 1;
  position: relative;
  transition: background 0.15s;
}
#checkout-modal .btn-close:hover { background: #eb6100; }
/* Dessine un X (au cas ou l'icone Bootstrap ne charge pas) */
#checkout-modal .btn-close::before,
#checkout-modal .btn-close::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background: #333;
  border-radius: 2px;
}
#checkout-modal .btn-close::before { transform: rotate(45deg); }
#checkout-modal .btn-close::after  { transform: rotate(-45deg); }
#checkout-modal .btn-close:hover::before,
#checkout-modal .btn-close:hover::after { background: #fff; }
#checkout-modal .modal-body {
  padding: 20px 24px 28px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

/* ==========================================================================
   13) Page CONFIRMATION DE COMMANDE (#order-confirmation) — v1.2.5
   ========================================================================== */
#order-confirmation .columns-container.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 30px 60px;
}
/* Bandeau succes */
#order-confirmation .alert-success {
  background: #f3fbf4;
  border: 1px solid #bfe6c4;
  border-left: 4px solid #2e9e44;
  border-radius: 6px;
  padding: 24px 28px;
  margin-bottom: 28px;
}
#order-confirmation .alert-success .page-title-section {
  font-family: 'Khand', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 26px;
  color: #1c7a2e;
  margin: 0 0 8px;
}
#order-confirmation .alert-success p { font-family: 'Roboto', sans-serif; color: #333; }
#order-confirmation .alert-success hr { border-color: #bfe6c4; margin: 16px 0; }
#order-confirmation .alert-link { color: #eb6100; font-weight: 600; text-decoration: underline; }

/* Carte details + carte creation de compte */
#order-confirmation .card {
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  background: #fff;
  margin-bottom: 24px;
}
#order-confirmation .card-body { padding: 24px 28px; }
#order-confirmation .order-confirmation__account-transformation { background: #fafafa; }
#order-confirmation h2,
#order-confirmation .h2,
#order-confirmation h3 {
  font-family: 'Khand', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #000;
  margin: 0 0 16px;
}
#order-confirmation h2, #order-confirmation .h2 { font-size: 21px; }
#order-confirmation h3 { font-size: 18px; }

/* Liste details commande */
#order-confirmation .order-confirmation__details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 4px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #444;
  line-height: 1.9;
}
#order-confirmation hr { border: none; border-top: 1px solid #eee; margin: 18px 0; }

/* Ligne produit */
#order-confirmation .order-confirmation__product {
  display: flex;
  align-items: center;
  gap: 18px;
}
#order-confirmation .order-confirmation__product-image {
  flex: 0 0 90px;
  width: 90px;
  height: 90px;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  background: #f7f7f7;
}
#order-confirmation .order-confirmation__product-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
#order-confirmation .order-confirmation__product-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
#order-confirmation .order-confirmation__product-title {
  font-family: 'Khand', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 16px;
  color: #000;
  margin: 0 0 4px;
}
#order-confirmation .order-confirmation__product-reference {
  font-family: 'Roboto', sans-serif; font-size: 13px; color: #888; margin: 0 0 4px;
}
#order-confirmation .order-confirmation__product-price { font-family: 'Roboto', sans-serif; font-size: 14px; color: #555; }
#order-confirmation .order-confirmation__product-total {
  font-family: 'Khand', sans-serif; font-weight: 700; font-size: 18px; color: #eb6100; white-space: nowrap;
}

/* Sous-totaux + total */
#order-confirmation .order-confirmation__line {
  display: flex; justify-content: space-between;
  font-family: 'Roboto', sans-serif; font-size: 14px; color: #444;
  padding: 6px 0;
}
#order-confirmation .order-confirmation__line--bold {
  font-family: 'Khand', sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: 18px; color: #000; border-top: 2px solid #000; margin-top: 8px; padding-top: 12px;
}
#order-confirmation .order-confirmation__line--bold .order-confirmation__line-value { color: #eb6100; }

/* Bloc creation de compte */
#order-confirmation .rich-text ul { font-family: 'Roboto', sans-serif; font-size: 14px; color: #444; line-height: 1.9; }
#order-confirmation .order-confirmation__account-transformation .form-control {
  border: 1px solid #ccc; border-radius: 3px; padding: 11px 14px; max-width: 360px;
}
#order-confirmation .order-confirmation__account-transformation .form-control:focus {
  border-color: #eb6100; box-shadow: 0 0 0 0.2rem rgba(235,97,0,0.15); outline: none;
}

/* ==========================================================================
   14) Confirmation : masquer le fil d'Ariane + centrer le bloc succes — v1.2.6
   ========================================================================== */
/* On retire le breadcrumb (Accueil / Confirmation de commande) */
#order-confirmation .breadcrumb__wrapper { display: none !important; }

/* Bloc succes centre */
#order-confirmation .alert-success { text-align: center; }
#order-confirmation .alert-success .page-title-section { text-align: center; }
#order-confirmation .alert-success hr { margin-left: auto; margin-right: auto; }
