/* Zoophyto - Paiement (blocs WooCommerce)
   Extrait de style.css (v3.0, lignes 9 a 1698) le 03/11/2026.
   Charge seulement sur panier, paiement et espace client
   (inc/site/style-theme-enfant.php), juste apres style.css. */

/* ==========================================================================
   ZOOPHYTO - Checkout (blocs WooCommerce) + Confirmation de commande
   Divi / WooCommerce Blocks
   --------------------------------------------------------------------------
   PARTIE A : checkout. Mise en page type Shopify : formulaire a gauche sur
   fond blanc, recapitulatif a droite sur une colonne gris chaud qui descend
   jusqu'en bas de l'ecran. Sous 1024px, le recapitulatif se replie en haut.
   PARTIE B : page de confirmation (inchangee).
   ========================================================================== */


/* ==========================================================================
   01. VARIABLES ET REGLAGES GLOBAUX
   ========================================================================== */

/* Couleurs et reglages (ecrits en dur : l'editeur CSS de WordPress refuse les variables)
   zp-navy                #0f2244
   zp-navy-hover          #1a3560
   zp-terracotta          #c45c43
   zp-terracotta-hover    #a84835
   zp-cream               #f5ede0
   zp-cream-dark          #e8ddd0
   zp-bg                  #faf8f5
   zp-bg-soft             #fdfbf8
   zp-border              #e8e4df
   zp-text                #6b6157
   zp-muted               #9a8a7a
   zp-placeholder         #b0a294
   zp-error               #e04040
   zp-success             #4a7c5f
   zp-ck-width            1100px
   zp-ck-main-frac        .58
   zp-ck-gutter           2.75rem
   zp-ck-side-bg          #f6f3ee
   zp-ck-side-line        #e4ddd3
   zp-ck-field-border     #d6cfc6
   zp-ck-selected-bg      #fcf6ef
   zp-radius              0
   zp-header-desktop      110px
   zp-header-mobile       76px
*/


/* ==========================================================================
   02. PAGE DIVI : fond blanc / gris en deux colonnes, largeurs
   ========================================================================== */

body.woocommerce-checkout {
  background: white !important;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
  -webkit-tap-highlight-color: rgba(196, 92, 67, .12);
}
body.woocommerce-order-received {
  background: #faf8f5 !important;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
  -webkit-tap-highlight-color: rgba(196, 92, 67, .12);
}

/* Tout ce que Divi met autour du bloc devient transparent et pleine largeur :
   c'est le body qui porte le fond en deux couleurs. */
body.woocommerce-checkout #page-container,
body.woocommerce-checkout #main-content,
body.woocommerce-checkout #et-main-area,
body.woocommerce-checkout .et_pb_section,
body.woocommerce-checkout .et_pb_row,
body.woocommerce-checkout .et_pb_column,
body.woocommerce-checkout .et_pb_module,
body.woocommerce-checkout .et_pb_code_inner,
body.woocommerce-checkout .et_pb_text_inner {
  background: transparent !important;
}
body.woocommerce-checkout .et_pb_section,
body.woocommerce-checkout .et_pb_row,
body.woocommerce-checkout .et_pb_column,
body.woocommerce-checkout .et_pb_module,
body.woocommerce-checkout .et_pb_code_inner {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.woocommerce-checkout #main-content,
body.woocommerce-checkout #et-main-area { padding-top: 0 !important; }

body.woocommerce-order-received .et_pb_section,
body.woocommerce-order-received .et_pb_row,
body.woocommerce-order-received .et_pb_column,
body.woocommerce-order-received .et_pb_text_inner {
  background: #faf8f5 !important;
}

body.woocommerce-checkout h1.entry-title,
body.woocommerce-checkout .entry-title,
body.woocommerce-checkout .et_pb_post_title,
body.woocommerce-checkout .et_post_title,
body.woocommerce-checkout #main-content > article > h1,
body.woocommerce-checkout .page-title {
  display: none !important;
}

/* Le bloc checkout : centre, largeur fixe */
body.woocommerce-checkout .wp-block-woocommerce-checkout {
  width: calc(100% - 2.5rem) !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

@media (min-width: 1025px) {
  /* Fond : blanc a gauche, gris a droite, separes par un trait. Le point de
     bascule est calcule pour tomber exactement sur le bord du recapitulatif. */
  body.woocommerce-checkout {
    background:
      linear-gradient(90deg,
        white calc(50% + 88px),
        #e4ddd3 calc(50% + 88px),
        #e4ddd3 calc(50% + 89px),
        #f6f3ee calc(50% + 89px)) !important;
  }
}
@media (min-width: 1025px) and (max-width: 1139px) {
  body.woocommerce-checkout {
    background:
      linear-gradient(90deg,
        white calc(58% - 3px),
        #e4ddd3 calc(58% - 3px),
        #e4ddd3 calc(58% - 2px),
        #f6f3ee calc(58% - 2px)) !important;
  }
}
@media (min-width: 1025px) {

  .wc-block-components-sidebar-layout.wc-block-checkout,
  .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    width: 100% !important;
  }
  .wc-block-checkout__main,
  .wc-block-components-sidebar-layout .wc-block-components-main {
    width: 58% !important;
    flex: none !important;
    box-sizing: border-box !important;
    padding: 2.5rem 2.75rem 4.5rem 0 !important;
    margin: 0 !important;
  }
  .wc-block-checkout__sidebar,
  .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    width: 42% !important;
    flex: none !important;
    box-sizing: border-box !important;
    padding: 2.5rem 0 3rem 2.75rem !important;
    margin: 0 !important;
    background: transparent !important;
    position: sticky !important;
    top: 110px !important;
    align-self: flex-start !important;
  }
}	

	/* Lien « Se connecter » du bloc Coordonnées
   (le module Texte Divi de la page impose des liens blancs) */
body.woocommerce-checkout .et_pb_text .wc-block-checkout__login-prompt,
body.woocommerce-checkout .et_pb_text .wc-block-checkout__login-prompt:visited{
  color:#c45c43!important;
  background:none!important;
  text-decoration:underline!important;
}


/* ==========================================================================
   03. TYPOGRAPHIE ET RESETS
   ========================================================================== */

.wp-block-woocommerce-checkout {
  color: #0f2244;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
}
.wp-block-woocommerce-checkout,
.wp-block-woocommerce-checkout p,
.wp-block-woocommerce-checkout span,
.wp-block-woocommerce-checkout address,
.wp-block-woocommerce-checkout td,
.wp-block-woocommerce-checkout li {
  overflow-wrap: anywhere !important;
}

/* Une seule valeur d'arrondi pour tout le checkout */
.wp-block-woocommerce-checkout input,
.wp-block-woocommerce-checkout select,
.wp-block-woocommerce-checkout textarea,
.wp-block-woocommerce-checkout button,
.wp-block-woocommerce-checkout .wc-block-components-radio-control,
.wp-block-woocommerce-checkout .wc-block-components-radio-control-accordion-option,
.wp-block-woocommerce-checkout .wc-block-components-address-card,
.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__image img,
.wp-block-woocommerce-checkout .wc-block-components-notice-banner,
.wp-block-woocommerce-checkout .StripeElement {
  border-radius: 0 !important;
}

/* Etapes : titre serif, respiration genereuse entre les blocs */
.wc-block-components-checkout-step {
  margin: 0 0 2.4rem !important;
  padding: 0 !important;
  border: none !important;
}
.wc-block-components-checkout-step__heading {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  margin: 0 0 1rem !important;
}
.wc-block-components-checkout-step__heading .wc-block-components-checkout-step__title,
.wc-block-components-title {
  font: 400 1.3rem/1.3 'Lora', serif !important;
  color: #0f2244 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.wc-block-components-checkout-step__description { display: none !important; }
.wc-block-components-checkout-step__container { padding: 0 !important; }
.wc-block-components-checkout-step__content > * + * { margin-top: .75rem; }


/* ==========================================================================
   04. LIENS ET BOUTONS SECONDAIRES
   ========================================================================== */

body.woocommerce-checkout .wc-block-checkout__login-prompt,
body.woocommerce-checkout .wc-block-checkout__login-prompt a,
.wc-block-components-checkout-return-to-cart-button,
.wc-block-components-address-card__edit,
.wc-block-components-address-form__address_2-toggle,
.wc-block-components-totals-coupon-link {
  color: #c45c43 !important;
  background: transparent !important;
  border: none !important;
  text-decoration: none !important;
  font: 500 .8rem 'Poppins', sans-serif !important;
  opacity: 1 !important;
  padding: 0 !important;
  cursor: pointer !important;
}
body.woocommerce-checkout .wc-block-checkout__login-prompt a:hover,
.wc-block-components-checkout-return-to-cart-button:hover,
.wc-block-components-address-card__edit:hover,
.wc-block-components-address-form__address_2-toggle:hover,
.wc-block-components-totals-coupon-link:hover {
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

.wc-block-components-radio-control-accordion-content a,
.wc-block-components-payment-method-content a,
.wc-block-checkout__payment-method a,
.wc-block-checkout__form a:not(.wc-block-components-button):not([class*="place-order"]):not(.wc-block-checkout__login-prompt):not(.wc-block-components-address-card__edit):not(.wc-block-components-checkout-return-to-cart-button) {
  color: #c45c43 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

/* Bloc « point de retrait choisi » sous les options de livraison.
   Les regles sont limitees a la zone Livraison du formulaire : la fenetre
   de choix Colissimo (carte, liste des relais) garde son affichage d'origine. */
.wc-block-checkout__shipping-option button:not([class*="wc-block"]):not([class*="components-"]):not([type="submit"]):not([class*="close"]):not([class*="Close"]):not([aria-label]) {
  background: white !important;
  color: #0f2244 !important;
  border: 1px solid #0f2244 !important;
  font: 600 .62rem 'Montserrat', sans-serif !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  padding: 0 1.1rem !important;
  min-height: 40px !important;
  line-height: 38px !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: background .2s, color .2s !important;
}
.wc-block-checkout__shipping-option button:not([class*="wc-block"]):not([class*="components-"]):not([type="submit"]):not([class*="close"]):not([class*="Close"]):not([aria-label]):hover {
  background: #0f2244 !important;
  color: white !important;
}
.wc-block-checkout__shipping-option > [id*="lpc"],
.wc-block-checkout__shipping-option > [class*="lpc"],
.wc-block-components-shipping-rates-control ~ [id*="lpc"],
.wc-block-components-shipping-rates-control ~ [class*="lpc"] {
  margin-top: .75rem !important;
  padding: 1rem 1.1rem !important;
  background: #faf8f5 !important;
  border: 1px solid #e8e4df !important;
  border-radius: 0 !important;
  font: 300 .84rem/1.7 'Poppins', sans-serif !important;
  color: #6b6157 !important;
}
.wc-block-checkout__shipping-option > [id*="lpc"] strong,
.wc-block-checkout__shipping-option > [class*="lpc"] strong,
.wc-block-components-shipping-rates-control ~ [id*="lpc"] strong,
.wc-block-components-shipping-rates-control ~ [class*="lpc"] strong {
  color: #0f2244 !important;
  font-weight: 600 !important;
}


/* ==========================================================================
   05. CHAMPS DE FORMULAIRE
   ========================================================================== */

.wc-block-components-text-input,
.wc-block-components-select,
.wc-block-components-combobox { margin-top: .75rem !important; }
.wc-block-components-text-input:first-child,
.wc-block-components-select:first-child,
.wc-block-components-combobox:first-child { margin-top: 0 !important; }

.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input input[type="number"],
.wc-block-components-text-input input[type="url"],
.wc-block-components-select .wc-block-components-select__select,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
  border: 1px solid #d6cfc6 !important;
  background: white !important;
  color: #0f2244 !important;
  font: 400 .9rem 'Poppins', sans-serif !important;
  padding: 1.35rem 1rem .4rem !important;
  min-height: 52px !important;
  height: auto !important;
  box-shadow: none !important;
  transition: border-color .15s, box-shadow .15s !important;
}
.wc-block-components-select .wc-block-components-select__select,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
  padding-right: 2.4rem !important;
}
.wc-block-components-text-input label,
.wc-block-components-select .wc-block-components-select__label,
.wc-block-components-combobox .wc-block-components-combobox-control label,
.wc-block-components-form .wc-block-components-select label {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 400 !important;
  color: #9a8a7a !important;
}
.wc-block-components-select .wc-block-components-select__label,
.wc-block-components-combobox .wc-block-components-combobox-control label,
.wc-block-components-form .wc-block-components-select label {
  position: absolute !important;
  top: .45rem !important;
  left: 1rem !important;
  margin: 0 !important;
  transform: none !important;
  font-size: .64rem !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
.wc-block-components-text-input input:focus,
.wc-block-components-select .wc-block-components-select__select:focus,
.wc-block-components-combobox input:focus,
.wc-block-components-textarea:focus {
  border-color: #0f2244 !important;
  box-shadow: 0 0 0 1px #0f2244 !important;
  outline: none !important;
}
.wc-block-components-text-input.has-error input {
  border-color: #e04040 !important;
  box-shadow: none !important;
}
.wc-block-components-validation-error,
.wc-block-components-validation-error p {
  color: #e04040 !important;
  font: 400 .74rem 'Poppins', sans-serif !important;
}

.wc-block-components-combobox-control .components-form-token-field__suggestions-list {
  border: 1px solid #d6cfc6 !important;
  border-radius: 0 !important;
  background: white !important;
  max-height: 240px !important;
  font: 400 .88rem 'Poppins', sans-serif !important;
}
.wc-block-components-combobox-control .components-form-token-field__suggestion.is-selected {
  background: #f5ede0 !important;
  color: #0f2244 !important;
}

.wc-block-components-textarea {
  border: 1px solid #d6cfc6 !important;
  background: white !important;
  color: #0f2244 !important;
  font: 400 .88rem 'Poppins', sans-serif !important;
  padding: .8rem 1rem !important;
  box-shadow: none !important;
}

.wp-block-woocommerce-checkout input::placeholder,
.wp-block-woocommerce-checkout textarea::placeholder {
  color: #b0a294 !important;
  opacity: 1 !important;
}
.wp-block-woocommerce-checkout input:-webkit-autofill,
.wp-block-woocommerce-checkout input:-webkit-autofill:hover,
.wp-block-woocommerce-checkout input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 40px white inset !important;
  -webkit-text-fill-color: #0f2244 !important;
}

/* Adresse enregistree : carte blanche, lien Modifier a droite */
.wc-block-components-address-card {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  border: 1px solid #d6cfc6 !important;
  background: white !important;
  padding: 1rem 1.1rem !important;
  margin: 0 !important;
  color: #0f2244 !important;
  font-size: .86rem !important;
  line-height: 1.6 !important;
}
.wc-block-components-address-card .wc-block-components-address-card__edit {
  flex: none !important;
  white-space: nowrap !important;
}
.wc-block-components-address-card address {
  font-style: normal !important;
  color: #6b6157 !important;
  margin: 0 !important;
}
.wc-block-components-address-card .wc-block-components-address-card__address-section:first-child,
.wc-block-components-address-card address > span:first-child {
  color: #0f2244 !important;
  font-weight: 500 !important;
}


/* ==========================================================================
   06. CASES A COCHER
   ========================================================================== */

body.woocommerce-checkout .wc-block-components-checkbox { margin-top: .9rem !important; }
body.woocommerce-checkout .wc-block-components-checkbox label {
  display: flex !important;
  align-items: flex-start !important;
  gap: .6rem !important;
  cursor: pointer !important;
}
body.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input,
.wc-block-components-checkbox .wc-block-components-checkbox__input {
  border: 1px solid #d6cfc6 !important;
  border-radius: 0 !important;
  background: white !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 1px 0 0 !important;
  box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input:checked,
.wc-block-components-checkbox .wc-block-components-checkbox__input:checked {
  background: #0f2244 !important;
  border-color: #0f2244 !important;
}
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: white !important; }
body.woocommerce-checkout .wc-block-components-checkbox__label,
body.woocommerce-checkout .wc-block-components-checkbox__label span,
body.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__label {
  background: transparent !important;
  padding: 0 !important;
  color: #0f2244 !important;
  font: 400 .84rem/1.5 'Poppins', sans-serif !important;
}
body.woocommerce-checkout .wc-block-components-checkbox__label a,
body.woocommerce-checkout .wc-block-components-checkbox__label span a {
  color: #c45c43 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  background: transparent !important;
}


/* ==========================================================================
   07. LISTES D'OPTIONS (livraison, paiement) : un seul cadre, option choisie
       sur fond creme avec contour terracotta, comme Shopify
   ========================================================================== */

fieldset.wc-block-checkout__shipping-option,
.wc-block-checkout__shipping-option,
.wc-block-checkout__shipping-method,
.wp-block-woocommerce-checkout-shipping-methods-block,
.wc-block-components-shipping-rates-control,
.wc-block-components-shipping-rates-control__package,
.wc-block-components-shipping-rates-control__package .wc-block-components-panel,
.wc-block-checkout__shipping-option .wc-block-components-checkout-step__content fieldset,
.wc-block-components-checkout-payment-methods {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.wc-block-components-radio-control {
  border: 1px solid #d6cfc6 !important;
  background: white !important;
  box-shadow: none !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
.wc-block-components-radio-control__option,
label.wc-block-components-radio-control__option {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: .9rem !important;
  margin: 0 !important;
  padding: 1rem 1.1rem !important;
  min-height: 56px !important;
  border: none !important;
  border-top: 1px solid #d6cfc6 !important;
  background: white !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background .15s !important;
}
.wc-block-components-radio-control__option:first-child,
.wc-block-components-radio-control > .wc-block-components-radio-control__option:first-of-type { border-top: none !important; }
.wc-block-components-radio-control__option::before,
.wc-block-components-radio-control__option::after {
  display: none !important;
  content: none !important;
}
.wc-block-components-radio-control__option:hover { background: #fdfbf8 !important; }

.wc-block-components-radio-control__option--checked,
.wc-block-components-radio-control__option--checked:first-child,
.wc-block-components-radio-control__option--checked:last-child,
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked,
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option-checked {
  background: #fcf6ef !important;
  box-shadow: inset 0 0 0 1px #c45c43 !important;
  border-top-color: #c45c43 !important;
  z-index: 1 !important;
}

input.wc-block-components-radio-control__input {
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  border: 1px solid #d6cfc6 !important;
  border-radius: 50% !important;
  background: white !important;
  box-shadow: none !important;
}
input.wc-block-components-radio-control__input:checked {
  border: 6px solid #c45c43 !important;
  background: white !important;
}
input.wc-block-components-radio-control__input:checked::before { display: none !important; }

.wc-block-components-radio-control__option-layout {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: 0 !important;
  margin: 0 !important;
}
.wc-block-components-radio-control__label-group {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex: 1 !important;
  gap: 1rem !important;
}
.wc-block-components-radio-control__label,
.wc-block-components-radio-control__option-layout {
  color: #0f2244 !important;
  font: 400 .88rem 'Poppins', sans-serif !important;
}
.wc-block-components-radio-control__secondary-label {
  font: 600 .86rem 'Montserrat', sans-serif !important;
  color: #0f2244 !important;
  white-space: nowrap !important;
}
.wc-block-components-radio-control__description {
  color: #9a8a7a !important;
  font-size: .76rem !important;
  margin: .15rem 0 0 !important;
}

/* Suppression des contours parasites (le focus clavier revient en section 13) */
.wc-block-components-radio-control:not(:focus-within),
.wc-block-components-radio-control__option:not(:focus-within),
.wc-block-components-radio-control-accordion-option:not(:focus-within) {
  outline: 0 none transparent !important;
}

/* Accordeon (paiement) : chaque moyen est une ligne, le contenu se deplie
   dans un panneau gris clair sous la ligne */
.wc-block-components-radio-control-accordion-option {
  border: none !important;
  border-top: 1px solid #d6cfc6 !important;
  background: white !important;
  margin: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
.wc-block-components-radio-control-accordion-option:first-child { border-top: none !important; }
.wc-block-components-radio-control-accordion-option::before,
.wc-block-components-radio-control-accordion-option::after {
  display: none !important;
  content: none !important;
}
.wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option,
.wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option:first-child,
.wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option:last-child {
  border: none !important;
}
.wc-block-components-radio-control-accordion-content {
  border: none !important;
  border-top: 1px solid #d6cfc6 !important;
  background: #faf8f5 !important;
  padding: 1.1rem 1.1rem 1.2rem !important;
  margin: 0 !important;
}
.wc-block-components-radio-control-accordion-content > p:first-child { margin-top: 0 !important; }
.wc-block-components-payment-method-icons {
  display: flex !important;
  gap: .3rem !important;
  margin: 0 !important;
}
.wc-block-components-payment-method-icon { height: 22px !important; }

/* Stripe : champs blancs dans le panneau gris, sans cadre imbrique */
.wc-block-checkout .wc-block-gateway-container,
.wc-block-checkout .wc-block-components-payment-method-content > div,
.wc-block-checkout .wc-stripe-payment-element,
.wc-block-checkout .wc-block-stripe-elements {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.wc-block-checkout .StripeElement,
.wc-block-checkout .wcstripe-elements-field,
.wc-block-checkout .wc-block-gateway-input {
  border: 1px solid #d6cfc6 !important;
  box-shadow: none !important;
  padding: .95rem 1rem !important;
  min-height: 52px !important;
  background: white !important;
  box-sizing: border-box !important;
}
.wc-block-checkout .StripeElement--focus { border-color: #0f2244 !important; box-shadow: 0 0 0 1px #0f2244 !important; }
.wc-block-checkout .StripeElement--invalid { border-color: #e04040 !important; }
.wc-block-checkout .StripeElement iframe,
.wc-block-checkout .StripeElement .__PrivateStripeElement,
.wc-block-checkout .StripeElement * {
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
}
.wc-block-checkout .wc-block-components-radio-control-accordion-content .wc-block-components-checkbox { margin-top: .9rem !important; }


/* ==========================================================================
   08. PAIEMENT EXPRESS : boutons de meme taille, sur une ligne
   ========================================================================== */

.wc-block-components-express-payment__title-container,
.wc-block-components-express-payment__title { display: none !important; }

.wc-block-components-express-payment--checkout,
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__content {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__content::before,
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__content::after {
  display: none !important;
  content: none !important;
}
.wc-block-components-express-payment ul,
ul.wc-block-components-express-payment__event-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .75rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.wc-block-components-express-payment li,
.wc-block-components-express-payment__event-buttons li {
  flex: 1 1 200px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  min-height: 48px !important;
  display: flex !important;
  align-items: stretch !important;
}
.wc-block-components-express-payment li > *,
.wc-block-components-express-payment__event-buttons li > * {
  flex: 1 !important;
  width: 100% !important;
  min-height: 48px !important;
}
.wc-block-components-express-payment li::marker,
.wc-block-components-express-payment__event-buttons li::marker { content: '' !important; }
.wc-block-components-express-payment li::before,
.wc-block-components-express-payment__event-buttons li::before { display: none !important; content: none !important; }

.wc-block-components-express-payment-continue-rule {
  margin: 1.4rem 0 2.2rem !important;
  color: #9a8a7a !important;
  font: 400 .78rem 'Poppins', sans-serif !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.wc-block-components-express-payment-continue-rule::before,
.wc-block-components-express-payment-continue-rule::after { border-color: #e8e4df !important; }


/* ==========================================================================
   09. RECAPITULATIF : pose directement sur la colonne grise, sans carte
   ========================================================================== */

.wc-block-checkout__sidebar .wc-block-components-order-summary,
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block,
.wc-block-checkout__sidebar .wc-block-components-panel {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.wc-block-checkout__sidebar .wc-block-components-order-summary__content { padding: 0 !important; }
/* Le titre du recap est inutile sur grand ecran : la colonne parle d'elle-meme */
@media (min-width: 1025px) {
  .wc-block-checkout__sidebar .wc-block-components-panel__button,
  .wc-block-checkout__sidebar .wc-block-components-order-summary__button,
  .wc-block-checkout__sidebar > .wc-block-components-title,
  .wc-block-checkout__sidebar .wc-block-components-order-summary > .wc-block-components-title { display: none !important; }
}

.wc-block-components-order-summary-item {
  display: flex !important;
  align-items: center !important;
  gap: .9rem !important;
  padding: .55rem 0 !important;
  border: none !important;
}
.wc-block-components-order-summary-item__image {
  position: relative !important;
  flex: none !important;
  width: 64px !important;
  height: 80px !important;
  margin: 0 !important;
  outline: 1px solid #e4ddd3;
  outline-offset: -1px;
}
.wc-block-components-order-summary-item__image img {
  width: 64px !important;
  height: 80px !important;
  object-fit: cover !important;
  display: block !important;
  border: 0 !important;
  scale: 1.2;
  clip-path: inset(8.333%);
  background: white !important;
}
.wc-block-checkout__sidebar .wc-block-components-order-summary-item__quantity,
.wc-block-components-order-summary-item__quantity {
  position: absolute !important;
  top: -8px !important;
  right: -8px !important;
  transform: none !important;
  background: #0f2244 !important;
  color: white !important;
  border: 2px solid #f6f3ee !important;
  box-shadow: none !important;
  border-radius: 50% !important;
  min-width: 22px !important;
  width: 22px !important;
  height: 22px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font: 600 .66rem 'Montserrat', sans-serif !important;
  line-height: 1 !important;
}
.wc-block-components-order-summary-item__description {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.wc-block-components-order-summary-item .wc-block-components-product-name {
  display: block !important;
  color: #0f2244 !important;
  font: 500 .86rem/1.35 'Poppins', sans-serif !important;
  text-decoration: none !important;
}
.wc-block-components-product-details,
.wc-block-components-product-details li,
.wc-block-components-order-summary-item__variation {
  color: #9a8a7a !important;
  font: 400 .74rem/1.5 'Poppins', sans-serif !important;
  margin: .15rem 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.wc-block-components-product-details__name { font-weight: 400 !important; }
/* Shopify n'affiche ni description, ni prix unitaire, ni badge : juste le total de ligne */
.wc-block-components-product-metadata__description,
.wc-block-components-order-summary-item__individual-prices,
.wc-block-components-order-summary-item .wc-block-components-sale-badge { display: none !important; }
.wc-block-components-order-summary-item__total-price {
  flex: none !important;
  margin: 0 0 0 .5rem !important;
  padding: 0 !important;
  text-align: right !important;
  color: #0f2244 !important;
  font: 500 .88rem 'Montserrat', sans-serif !important;
  white-space: nowrap !important;
}
.wc-block-components-order-summary-item__total-price .wc-block-components-product-price,
.wc-block-components-order-summary-item__total-price .wc-block-formatted-money-amount {
  color: #0f2244 !important;
  font: 500 .88rem 'Montserrat', sans-serif !important;
}
.wc-block-components-order-summary-item__total-price del { color: #9a8a7a !important; font-weight: 400 !important; margin-right: .3rem !important; }


/* ==========================================================================
   10. TOTAUX ET CODE PROMO
   ========================================================================== */

.wc-block-checkout__sidebar .wc-block-components-totals-wrapper {
  border: none !important;
  border-top: 1px solid #e4ddd3 !important;
  padding: .9rem 0 !important;
  margin: 0 !important;
}
.wc-block-checkout__sidebar .wc-block-components-order-summary__content + .wc-block-components-totals-wrapper,
.wc-block-checkout__sidebar .wc-block-components-order-summary + .wc-block-components-totals-wrapper { margin-top: .5rem !important; }

/* Code promo : champ et bouton sur une ligne */
.wc-block-components-totals-coupon { padding: 0 !important; }
.wc-block-components-totals-coupon .wc-block-components-panel__button {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: .2rem 0 !important;
  background: transparent !important;
  border: none !important;
  min-height: 0 !important;
}
.wc-block-components-totals-coupon .wc-block-components-panel__content { padding: .6rem 0 0 !important; }
.wc-block-components-totals-coupon__form {
  display: flex !important;
  align-items: stretch !important;
  gap: .5rem !important;
  margin: 0 !important;
}
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input {
  flex: 1 !important;
  margin: 0 !important;
}
.wc-block-components-totals-coupon__input input {
  border: 1px solid #d6cfc6 !important;
  background: white !important;
  min-height: 48px !important;
  padding: 1.2rem 1rem .35rem !important;
  font: 400 .88rem 'Poppins', sans-serif !important;
}
.wc-block-components-totals-coupon__button {
  flex: none !important;
  background: #0f2244 !important;
  border: 1px solid #0f2244 !important;
  font: 600 .62rem 'Montserrat', sans-serif !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  min-height: 48px !important;
  padding: 0 1.1rem !important;
  margin: 0 !important;
  transition: background .2s !important;
}
.wc-block-components-totals-coupon__button,
.wc-block-components-totals-coupon__button * { color: white !important; }
.wc-block-components-totals-coupon__button:hover { background: #1a3560 !important; border-color: #1a3560 !important; }

.wc-block-components-totals-item {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  flex-wrap: wrap !important;
  padding: .3rem 0 !important;
  margin: 0 !important;
}
.wc-block-components-totals-item__label {
  font: 400 .86rem 'Poppins', sans-serif !important;
  color: #6b6157 !important;
}
.wc-block-components-totals-item__value {
  font: 500 .86rem 'Montserrat', sans-serif !important;
  color: #0f2244 !important;
  white-space: nowrap !important;
  margin-left: auto !important;
}
.wc-block-components-totals-item__description {
  flex-basis: 100% !important;
  color: #9a8a7a !important;
  font-size: .74rem !important;
  margin: 0 !important;
}
.wc-block-components-totals-discount .wc-block-components-totals-item__value { color: #4a7c5f !important; }
.wc-block-components-totals-discount .wc-block-components-totals-item__label { order: 0 !important; }
.wc-block-components-totals-discount .wc-block-components-totals-item__description { order: 1 !important; flex: 1 1 auto !important; }
.wc-block-components-totals-discount .wc-block-components-totals-item__value { order: 2 !important; }

/* Code applique : une petite etiquette */
.wc-block-components-totals-discount__coupon-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .4rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.wc-block-components-chip,
.wc-block-components-totals-discount__coupon-list .wc-block-components-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: .35rem !important;
  background: white !important;
  border: 1px solid #e4ddd3 !important;
  border-radius: 0 !important;
  padding: .2rem .5rem !important;
  font: 500 .68rem 'Montserrat', sans-serif !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  color: #0f2244 !important;
}
.wc-block-components-chip__remove { color: #9a8a7a !important; }

/* Total */
.wc-block-components-totals-footer-item {
  background: transparent !important;
  border: none !important;
  padding: .5rem 0 0 !important;
  margin: 0 !important;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font: 400 1.1rem 'Lora', serif !important;
  color: #0f2244 !important;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font: 600 1.35rem 'Montserrat', sans-serif !important;
  color: #0f2244 !important;
}
.wc-block-components-totals-footer-item-tax,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__description {
  color: #9a8a7a !important;
  font-size: .74rem !important;
  text-align: right !important;
}


/* ==========================================================================
   11. CONDITIONS, BOUTON "COMMANDER", RETOUR PANIER
   ========================================================================== */

body.woocommerce-checkout .wc-block-checkout__terms {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 1.4rem 0 0 !important;
}
body.woocommerce-checkout .wc-block-checkout__terms span,
body.woocommerce-checkout .wc-block-checkout__terms p,
body.woocommerce-checkout .wc-block-checkout__terms .wc-block-components-checkbox__label {
  color: #6b6157 !important;
  background: transparent !important;
  font: 400 .78rem/1.6 'Poppins', sans-serif !important;
  margin: 0 !important;
}
body.woocommerce-checkout .wc-block-checkout__terms a {
  color: #0f2244 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  background: transparent !important;
  padding: 0 !important;
}

.wc-block-checkout__actions { margin-top: 1.4rem !important; }
.wc-block-checkout__actions_row {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  align-items: stretch !important;
}
.wc-block-components-checkout-return-to-cart-button {
  order: 2 !important;
  align-self: flex-start !important;
  color: #9a8a7a !important;
}
.wc-block-components-checkout-return-to-cart-button:hover { color: #0f2244 !important; }

.wc-block-components-checkout-place-order-button {
  order: 1 !important;
  background: #c45c43 !important;
  border: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 2rem !important;
  min-height: 56px !important;
  font: 700 .74rem 'Montserrat', sans-serif !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: background .2s !important;
}
.wc-block-components-checkout-place-order-button,
.wc-block-components-checkout-place-order-button *,
.wc-block-components-checkout-place-order-button .wc-block-components-button__text { color: white !important; }
.wc-block-components-checkout-place-order-button:hover { background: #a84835 !important; }
.wc-block-components-checkout-place-order-button:disabled { opacity: .55 !important; cursor: not-allowed !important; }
.wc-block-components-checkout-place-order-button .wc-block-components-spinner { color: white !important; }
.wc-block-components-button { border-radius: 0 !important; }


/* ==========================================================================
   12. NOTICES
   ========================================================================== */

.wc-block-components-notice-banner {
  border-width: 1px 1px 1px 2px !important;
  font-family: 'Poppins', sans-serif !important;
  margin: 0 0 1rem !important;
}
.wc-block-components-notice-banner.is-error {
  background: #fef0f0 !important;
  border-color: #f5d5d5 #f5d5d5 #f5d5d5 #e04040 !important;
  color: #c0392b !important;
}
.wc-block-components-notice-banner.is-warning {
  background: #fff8e8 !important;
  border-color: #f0e0c0 #f0e0c0 #f0e0c0 #c45c43 !important;
  color: #0f2244 !important;
}
.wc-block-components-notice-banner.is-info,
.wc-block-components-notice-banner.is-success {
  background: #f5ede0 !important;
  border-color: #e8ddd0 #e8ddd0 #e8ddd0 #c45c43 !important;
  color: #0f2244 !important;
}
.wc-block-components-notice-banner > .wc-block-components-notice-banner__content { color: inherit !important; }
.wc-block-components-notice--warning {
  background: #fff8e8 !important;
  border-left: 2px solid #c45c43 !important;
  border-radius: 0 !important;
}
.wc-block-components-notice--error {
  background: #fef0f0 !important;
  border-left: 2px solid #e04040 !important;
  border-radius: 0 !important;
}


/* ==========================================================================
   13. ACCESSIBILITE
   ========================================================================== */

body.woocommerce-checkout a:focus-visible,
body.woocommerce-checkout button:focus-visible,
body.woocommerce-checkout input:focus-visible,
body.woocommerce-checkout select:focus-visible,
body.woocommerce-checkout textarea:focus-visible,
body.woocommerce-order-received a:focus-visible {
  outline: 2px solid #c45c43 !important;
  outline-offset: 2px !important;
}
@media (prefers-reduced-motion: reduce) {
  body.woocommerce-checkout *,
  body.woocommerce-order-received * {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}


/* ==========================================================================
   14. TABLETTE ET MOBILE (max 1024px) : une colonne, recapitulatif replie
       en haut sur fond gris, comme Shopify sous 1000px
   ========================================================================== */

@media (max-width: 1024px) {
  body.woocommerce-checkout { background: white !important; }
  body.woocommerce-checkout .wp-block-woocommerce-checkout {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  body.woocommerce-checkout #page-container,
  body.woocommerce-checkout #main-content,
  body.woocommerce-checkout .et_pb_section,
  body.woocommerce-checkout .et_pb_row,
  body.woocommerce-checkout .et_pb_column,
  body.woocommerce-checkout .et_pb_code_inner { overflow: visible !important; }

  .wc-block-components-sidebar-layout.wc-block-checkout,
  .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }
  .wc-block-checkout__main,
  .wc-block-components-sidebar-layout .wc-block-components-main {
    width: 100% !important;
    max-width: 640px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    padding: 1.6rem 1.1rem 3rem !important;
  }

  /* Recapitulatif replie, colle sous l'entete */
  .wc-block-checkout__sidebar,
  .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    order: -1 !important;
    position: sticky !important;
    top: 76px !important;
    z-index: 40 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: #f6f3ee !important;
    border-top: 1px solid #e4ddd3 !important;
    border-bottom: 1px solid #e4ddd3 !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .wc-block-checkout__main .wp-block-woocommerce-checkout-order-summary-block,
  .wc-block-checkout__main .wc-block-components-order-summary,
  .wc-block-checkout__sidebar ~ .wc-block-checkout__sidebar { display: none !important; }

  .wc-block-checkout__sidebar .wc-block-components-order-summary,
  .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block,
  .wc-block-checkout__sidebar .wc-block-components-totals-wrapper {
    max-width: 640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1.1rem !important;
    padding-right: 1.1rem !important;
    box-sizing: border-box !important;
  }
  .wc-block-checkout__sidebar .wc-block-components-panel__button,
  .wc-block-checkout__sidebar .wc-block-components-order-summary__button {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: .9rem 0 !important;
    min-height: 50px !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
  }
  .wc-block-checkout__sidebar .wc-block-components-title,
  .wc-block-checkout__sidebar .wc-block-components-order-summary__button-text {
    font: 500 .84rem 'Poppins', sans-serif !important;
    color: #c45c43 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .wc-block-checkout__sidebar .wc-block-components-panel__button svg { color: #c45c43 !important; }
  .wc-block-checkout__sidebar .wc-block-components-order-summary__content {
    max-height: 34vh !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: .5rem !important;
  }
  .wc-block-components-order-summary-item__image,
  .wc-block-components-order-summary-item__image img { width: 54px !important; height: 68px !important; }
  .wc-block-checkout__sidebar .wc-block-components-totals-wrapper { padding: .6rem 1.1rem !important; }
  .wc-block-checkout__sidebar .wc-block-components-totals-footer-item { padding: .2rem 0 .4rem !important; }
  .wc-block-checkout__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 1.2rem !important; }

  /* Champs : 16px, sinon iOS zoome au focus */
  .wc-block-components-text-input input[type="text"],
  .wc-block-components-text-input input[type="email"],
  .wc-block-components-text-input input[type="tel"],
  .wc-block-components-text-input input[type="number"],
  .wc-block-components-text-input input[type="url"],
  .wc-block-components-select .wc-block-components-select__select,
  .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
  .wc-block-components-textarea,
  .wc-block-components-totals-coupon__input input {
    font-size: 16px !important;
    padding-top: 1.45rem !important;
    padding-bottom: .5rem !important;
    min-height: 54px !important;
  }
  .wc-block-components-textarea { padding: .9rem 1rem !important; min-height: 90px !important; }

  .wc-block-components-checkout-step { margin-bottom: 2rem !important; }
  .wc-block-components-checkout-step__heading .wc-block-components-checkout-step__title { font-size: 1.15rem !important; }
  .wc-block-components-radio-control__option { min-height: 54px !important; }
  .wc-block-components-express-payment li,
  .wc-block-components-express-payment__event-buttons li { flex-basis: 100% !important; }

  .wc-block-components-checkout-place-order-button {
    min-height: 56px !important;
    font-size: .72rem !important;
    margin-bottom: calc(.5rem + env(safe-area-inset-bottom)) !important;
  }
  .wc-block-checkout__actions { padding-bottom: env(safe-area-inset-bottom) !important; }
}

@media (max-width: 380px) {
  .wc-block-checkout__main { padding: 1.2rem .85rem 2.5rem !important; }
  .wc-block-checkout__sidebar .wc-block-components-order-summary,
  .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block,
  .wc-block-checkout__sidebar .wc-block-components-totals-wrapper {
    padding-left: .85rem !important;
    padding-right: .85rem !important;
  }
  .wc-block-components-checkout-place-order-button { font-size: .66rem !important; letter-spacing: .1em !important; }
}


/* ==========================================================================
   15. CORRECTIFS APRES MISE EN LIGNE
       (en-tete, champs, options, paiement, totaux, pied de page)
   ========================================================================== */

/* --- 15.a En-tete : logo plus grand, sans menu, panier ni recherche ------ */
body.woocommerce-checkout #et-top-navigation,
body.woocommerce-checkout #top-menu-nav,
body.woocommerce-checkout #et_mobile_nav_menu,
body.woocommerce-checkout #et_top_search,
body.woocommerce-checkout #et_search_icon,
body.woocommerce-checkout .et_search_outer,
body.woocommerce-checkout .et-cart-info,
body.woocommerce-checkout #main-header .et_pb_menu__icon,
body.woocommerce-checkout #main-header .et_pb_menu__search-button,
body.woocommerce-checkout #main-header .et_pb_menu__cart-button,
body.woocommerce-checkout #main-header .et-menu-nav {
  display: none !important;
}
body.woocommerce-checkout #main-header {
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
}
body.woocommerce-checkout #main-header .container,
body.woocommerce-checkout #main-header .et_menu_container {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  display: block !important;
  text-align: center !important;
}
body.woocommerce-checkout #main-header .logo_container {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  padding: 2.4rem 0 !important;
  text-align: center !important;
  float: none !important;
}
body.woocommerce-checkout #main-header .logo_helper { display: none !important; }
body.woocommerce-checkout #main-header .logo_container a {
  display: inline-block !important;
  float: none !important;
}
body.woocommerce-checkout #logo,
body.woocommerce-checkout #main-header .logo_container img {
  max-height: none !important;
  height: 84px !important;
  width: auto !important;
  max-width: 380px !important;
  display: inline-block !important;
  margin: 0 auto !important;
  vertical-align: middle !important;
}
@media (max-width: 1024px) {
  body.woocommerce-checkout #logo,
  body.woocommerce-checkout #main-header .logo_container img { height: 60px !important; max-width: 260px !important; }
  body.woocommerce-checkout #main-header .logo_container { padding: 1.5rem 0 !important; }
}

/* --- 15.b Texte toujours aligne a gauche (la rangee Divi centre tout) ---- */
.wp-block-woocommerce-checkout,
.wp-block-woocommerce-checkout label,
.wp-block-woocommerce-checkout p,
.wp-block-woocommerce-checkout span,
.wp-block-woocommerce-checkout h2 {
  text-align: left !important;
}

/* --- 15.c Champs : intitule et saisie sur la meme marge gauche ----------- */
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input input[type="number"],
.wc-block-components-text-input input[type="url"],
.wc-block-components-totals-coupon__input input {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  text-indent: 0 !important;
  margin: 0 !important;
}
.wc-block-components-text-input label {
  left: 1rem !important;
  right: 1rem !important;
  margin: 0 !important;
  padding: 0 !important;
  text-indent: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Liste Pays (nouvelle version WooCommerce) : meme style que les champs */
.wc-blocks-components-select__container,
.wc-blocks-components-select .wc-blocks-components-select__container {
  border: 1px solid #d6cfc6 !important;
  border-radius: 0 !important;
  background: white !important;
  box-shadow: none !important;
  min-height: 52px !important;
}
.wc-blocks-components-select__container:focus-within {
  border-color: #0f2244 !important;
  box-shadow: 0 0 0 1px #0f2244 !important;
}
.wc-blocks-components-select__select {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 1.35rem 2.4rem .4rem 1rem !important;
  font: 400 .9rem 'Poppins', sans-serif !important;
  color: #0f2244 !important;
  text-indent: 0 !important;
}
.wc-blocks-components-select__label {
  left: 1rem !important;
  margin: 0 !important;
  font: 400 .64rem 'Poppins', sans-serif !important;
  color: #9a8a7a !important;
}

/* --- 15.d Options de livraison et de paiement : libelle colle au bouton,
           prix ou logos pousses a droite, sur une seule ligne ------------- */
.wc-block-components-radio-control__option-layout,
.wc-block-components-radio-control__label-group,
.wc-block-components-radio-control__description-group {
  width: auto !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  text-align: left !important;
}
.wc-block-components-radio-control__option-layout { flex-direction: column !important; align-items: stretch !important; gap: .15rem !important; }
.wc-block-components-radio-control__label,
.wc-block-components-payment-method-label {
  flex: 1 1 auto !important;
  flex-basis: auto !important;
  min-width: 0 !important;
  text-align: left !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
}
.wc-block-components-radio-control__secondary-label,
.wc-block-components-radio-control__secondary-description {
  flex: 0 0 auto !important;
  flex-basis: auto !important;
  text-align: right !important;
  margin-left: auto !important;
}
.wc-block-components-radio-control__secondary-label { text-transform: none !important; }
.wc-block-components-payment-method-icons {
  flex: 0 0 auto !important;
  margin-left: auto !important;
  justify-content: flex-end !important;
}
.wc-block-components-payment-method-icon { height: 20px !important; width: auto !important; }
.wc-block-components-radio-control__description-group:empty { display: none !important; }

/* --- 15.e Carte bancaire : un seul cadre (celui de Stripe), pas deux ----- */
.wc-block-checkout .StripeElement,
.wc-block-checkout .wcstripe-elements-field,
.wc-block-checkout .wc-stripe-upe-element,
.wc-block-checkout .wc-block-gateway-input {
  border: none !important;
  padding: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.wc-block-checkout .StripeElement--focus { box-shadow: none !important; }

/* --- 15.f Apple Pay / Google Pay : pas de cadre, contour au survol ------- */
.wc-block-components-express-payment__event-buttons li {
  border: 1px solid transparent !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}
/* Conteneurs autour des boutons : sans cadre ni marge (le bouton lui-meme,
   dessine par Stripe, n'est pas touche) */
.wc-block-components-express-payment__event-buttons li > div,
.wc-block-components-express-payment__event-buttons li > div > div {
  border-color: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}
.wc-block-components-express-payment__event-buttons li {
  transition: border-color .15s !important;
}
.wc-block-components-express-payment__event-buttons li:hover {
  border-color: #d6cfc6 !important;
}

/* --- 15.g Recapitulatif : plus de lignes vides entre les totaux ---------- */
.wc-block-checkout__sidebar .wc-block-components-totals-wrapper {
  border: none !important;
  padding: 0 !important;
}
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-cart-items-block,
.wc-block-checkout__sidebar .wc-block-components-order-summary {
  padding-bottom: .9rem !important;
  border-bottom: 1px solid #e4ddd3 !important;
}
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
.wc-block-checkout__sidebar .wc-block-components-totals-coupon {
  padding: .9rem 0 !important;
  border-bottom: 1px solid #e4ddd3 !important;
}
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-totals-block,
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-subtotal-block { padding-top: .7rem !important; }
.wc-block-checkout__sidebar .wc-block-components-totals-item { padding: .25rem 0 !important; }
.wc-block-checkout__sidebar .wc-block-components-totals-shipping .wc-block-components-totals-item__description {
  margin-top: -.1rem !important;
}
.wc-block-checkout__sidebar .wc-block-components-totals-footer-item {
  margin-top: .8rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid #e4ddd3 !important;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__description,
.wc-block-components-totals-footer-item-tax {
  text-align: left !important;
}
.wc-block-components-totals-coupon .wc-block-components-panel__button,
.wc-block-components-totals-coupon .wc-block-components-panel__button span {
  color: #0f2244 !important;
  font: 400 .86rem 'Poppins', sans-serif !important;
}
@media (max-width: 1024px) {
  .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-cart-items-block,
  .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
  .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-totals-block {
    max-width: 640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* --- 15.h Pas de pied de page sur le paiement : les liens legaux sont
           sous le bouton « Commander » (voir snippet functions.php) ---- */
body.woocommerce-checkout #main-footer,
body.woocommerce-checkout #footer-widgets,
body.woocommerce-checkout .et-l--footer {
  display: none !important;
}

.zp-ck-legal {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .45rem 1.2rem !important;
  margin: 2.2rem 0 0 !important;
  padding: 1.3rem 0 0 !important;
  border-top: 1px solid #e8e4df !important;
  list-style: none !important;
}
.zp-ck-legal[hidden] { display: none !important; }
.zp-ck-legal a,
.wc-block-checkout__form .zp-ck-legal a,
body.woocommerce-checkout .zp-ck-legal a,
#zpCkLegal a {
  font: 400 .76rem/1.6 'Poppins', sans-serif !important;
  color: #6b6157 !important;
  text-decoration: underline !important;
  text-decoration-color: #d6cfc6 !important;
  text-underline-offset: 3px !important;
  transition: color .15s, text-decoration-color .15s !important;
}
.zp-ck-legal a:hover,
.wc-block-checkout__form .zp-ck-legal a:hover,
body.woocommerce-checkout .zp-ck-legal a:hover,
#zpCkLegal a:hover {
  color: #0f2244 !important;
  text-decoration-color: #0f2244 !important;
}

/* --- 15.j Apple Pay / Google Pay : boutons arrondis, legere mise en
           avant au survol. La couleur du bouton se regle dans Stripe
           (theme « Noir » pour les deux). -------------------------------- */
.wc-block-components-express-payment__event-buttons li {
  border: none !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  transform: translateZ(0) !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
  min-height: 50px !important;
}
.wc-block-components-express-payment__event-buttons li:hover {
  transform: scale(1.02) !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
/* Aucun cadre ni contour autour des boutons, au survol comme au clic */
.wc-block-components-express-payment__event-buttons li,
.wc-block-components-express-payment__event-buttons li:hover,
.wc-block-components-express-payment__event-buttons li:focus-within,
.wc-block-components-express-payment__event-buttons li *:not(iframe),
.wc-block-components-express-payment__event-buttons li:hover *:not(iframe),
.wc-block-components-express-payment__event-buttons li:focus-within *:not(iframe) {
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

/* --- 15.l Champs (adresse, e-mail, code promo...) : pas de cadre de
           selection au clic, la bordure reste fine et fonce a peine ------- */
.wc-block-components-text-input input:focus,
.wc-block-components-text-input input:focus-visible,
.wc-block-components-totals-coupon__input input:focus,
.wc-block-components-totals-coupon__input input:focus-visible,
.wc-block-components-select .wc-block-components-select__select:focus,
.wc-block-components-combobox input:focus,
.wc-block-components-textarea:focus,
.wc-block-components-textarea:focus-visible,
.wc-blocks-components-select__select:focus,
.wc-blocks-components-select__select:focus-visible,
body.woocommerce-checkout input:focus-visible,
body.woocommerce-checkout select:focus-visible,
body.woocommerce-checkout textarea:focus-visible {
  border-color: #b5aca1 !important;
  box-shadow: none !important;
  outline: none !important;
}
.wc-blocks-components-select__container:focus-within {
  border-color: #b5aca1 !important;
  box-shadow: none !important;
}
/* Les boutons radio et cases a cocher gardent leur style, sans contour */
body.woocommerce-checkout input[type="radio"]:focus-visible,
body.woocommerce-checkout input[type="checkbox"]:focus-visible {
  outline: none !important;
}

/* Surbrillance de l'option choisie : uniquement la notre (fond creme et
   contour terracotta), pas le cadre supplementaire dessine par WooCommerce */
.wc-block-components-radio-control--highlight-checked::after,
.wc-block-components-radio-control--highlight-checked::before,
.wc-block-components-radio-control-accordion-option--checked-option-highlighted::after,
.wc-block-components-radio-control-accordion-option--checked-option-highlighted::before {
  content: none !important;
  display: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* --- 15.m Acces au panier dans l'en-tete (lien ajoute par le snippet
           « panier en-tete » de functions.php) ---------------------------- */
body.woocommerce-checkout #main-header .container { position: relative !important; }
body.woocommerce-checkout .zp-ck-cart {
  position: absolute !important;
  top: 50% !important;
  right: 2.5rem !important;
  transform: translateY(-50%) !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  color: #0f2244 !important;
  text-decoration: none !important;
  transition: all .25s !important;
  z-index: 5 !important;
}
body.woocommerce-checkout .zp-ck-cart[hidden] { display: none !important; }
body.woocommerce-checkout .zp-ck-cart:hover { background: #f5ede0 !important; color: #c45c43 !important; }
/* Chariot : meme icone (SVG) que l'en-tete du site */
body.woocommerce-checkout .zp-ck-cart svg { display: block !important; width: 18px !important; height: 18px !important; }
body.woocommerce-checkout .zp-ck-cart__count {
  position: absolute !important;
  top: 1px !important;
  right: 1px !important;
  min-width: 17px !important;
  height: 17px !important;
  padding: 0 3px !important;
  border-radius: 9px !important;
  border: 2px solid white !important;
  background: #c45c43 !important;
  color: white !important;
  font: 700 .52rem 'Montserrat', sans-serif !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}
/* Aligne sur le bord droit du recapitulatif (bloc checkout : 1100px centre),
   le chariot affleure le bord, le rond de survol deborde un peu */
body.woocommerce-checkout .zp-ck-cart { right: calc(50% - 556px) !important; }
@media (max-width: 1139px) {
  body.woocommerce-checkout .zp-ck-cart { right: calc(1.25rem - 6px) !important; }
}

/* --- 15.k Angles droits partout sur les listes d'options (WooCommerce
           ajoute un leger arrondi sur le cadre et sa surbrillance) ------- */
.wc-block-components-radio-control,
.wc-block-components-radio-control::before,
.wc-block-components-radio-control::after,
.wc-block-components-radio-control--highlight-checked,
.wc-block-components-radio-control--highlight-checked::before,
.wc-block-components-radio-control--highlight-checked::after,
.wc-block-components-radio-control__option,
.wc-block-components-radio-control__option::before,
.wc-block-components-radio-control__option::after,
.wc-block-components-radio-control-accordion-option,
.wc-block-components-radio-control-accordion-option::before,
.wc-block-components-radio-control-accordion-option::after,
.wc-block-components-radio-control-accordion-content,
.wc-block-components-shipping-rates-control,
.wc-block-components-shipping-rates-control__package,
.wc-block-checkout__shipping-option fieldset,
.wc-block-components-checkout-payment-methods {
  border-radius: 0 !important;
}
.wc-block-components-express-payment__event-buttons li iframe {
  border-radius: 10px !important;
}
@media (prefers-reduced-motion: reduce) {
  .wc-block-components-express-payment__event-buttons li:hover { transform: none !important; }
}

/* 15/11/2026 : récap sans barre de défilement (le haut du bloc fixe est réglé dans la page Commander),
   et squelette de chargement aux mêmes colonnes que la page chargée. */
@media (min-width: 1025px) {
  .wp-block-woocommerce-checkout.is-loading { display: flex !important; flex-wrap: nowrap !important; align-items: flex-start !important; width: 100% !important; }
  .wp-block-woocommerce-checkout.is-loading > .wp-block-woocommerce-checkout-fields-block { width: 54% !important; flex: none !important; box-sizing: border-box !important; padding: 2.5rem 2.25rem 4.5rem 0 !important; margin: 0 !important; }
  .wp-block-woocommerce-checkout.is-loading > .wp-block-woocommerce-checkout-totals-block { width: 46% !important; flex: none !important; box-sizing: border-box !important; padding: 2.5rem 0 3rem 1.75rem !important; margin: 0 !important; }
}
@media (max-width: 1024px) {
  .wp-block-woocommerce-checkout.is-loading { display: flex !important; flex-direction: column !important; }
  .wp-block-woocommerce-checkout.is-loading > .wp-block-woocommerce-checkout-totals-block { order: -1; width: 100% !important; height: 73px; overflow: hidden; box-sizing: border-box !important; padding: .75rem 1.1rem !important; margin: 0 !important; }
  .wp-block-woocommerce-checkout.is-loading > .wp-block-woocommerce-checkout-fields-block { width: 100% !important; max-width: 640px !important; box-sizing: border-box !important; padding: 1.6rem 1.1rem 3rem !important; margin: 0 auto !important; }
}
/* Vignette récapitulatif : WooCommerce plafonne l'image à 48 px et ajoute 16 px en bas ; on rend toute la case 4:5 à l'image. */
.wc-block-components-order-summary-item__image { padding: 0 !important; }
.wc-block-components-order-summary-item__image img { max-width: none !important; max-height: none !important; }
