/*============================================
   Checkout Page — 
   Apparence > Personnaliser > CSS additionnel
   ============================================ */


.ast-modern-checkout .woocommerce #ast-order-review-content .woocommerce-checkout-review-order-table, .ast-modern-checkout .woocommerce #order_review .woocommerce-checkout-review-order-table {
	box-shadow: 0px 0px 0px gray;
	border-width:	0px;
	border-style:	solid;
	border-color:	white;
	background-color: white;}

.woocommerce-page.woocommerce-checkout #payment ul.payment_methods, .woocommerce.woocommerce-checkout #payment ul.payment_methods {
	background-color: white;
	border-width:	1px;
	border-style:	solid;
	border-color:	lightgray;
	border-radius:	10px;
	padding:	20px;
	box-shadow: 0px 0px 2px gray}

.ast-modern-checkout .woocommerce #payment ul.payment_methods div.payment_box {
	background-color: #F5F0E8}
.woocommerce-page.woocommerce-checkout #payment #place_order, .woocommerce.woocommerce-checkout #payment #place_order { background-color: #1A1510 }


.ast-modern-checkout .woocommerce #ast-order-review-content .woocommerce-checkout-review-order-table tbody tr td.product-name .ast-product-image.ast-enable-image .ast-product-name, .ast-modern-checkout .woocommerce #order_review .woocommerce-checkout-review-order-table tbody tr td.product-name .ast-product-image.ast-enable-image .ast-product-name {
	font-weight: 500;
font-family: baskerville, 'Times New Roman', serif !important;}
  




/* ============================================
   CHECKOUT PAGE — STYLE KING & MCGAW
   Apparence > Personnaliser > CSS additionnel
   ============================================ */

/* --- Largeur générale de la page checkout --- */
.woocommerce-checkout form.checkout {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}


/* --- Layout 2 colonnes checkout --- */
.woocommerce-checkout #customer_details,
.woocommerce-checkout .col2-set {
  width: 52% !important;
  float: left !important;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  width: 42% !important;
  float: right !important;
  margin-left: 0 !important;
}

/* -----------------------------------------------
   TABLE "YOUR ORDER" — layout K&M
----------------------------------------------- */

/* Le tableau order review */
.woocommerce-checkout-review-order-table,
.woocommerce-checkout table.shop_table {
  border: none !important;
  border-collapse: collapse !important;
  width: 100% !important;
}

/* Header du tableau */
.woocommerce-checkout-review-order-table thead th,
.woocommerce-checkout table.shop_table thead th {
  background: transparent !important;
  background-color: transparent !important;
  font-size: 16px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  color: #1A1510 !important;
  border-top: 1px solid rgba(0,0,0,0.1) !important;
  border-bottom: 1px solid rgba(0,0,0,0.1) !important;
  padding: 10px 0 !important;
}

/* Toutes les cellules */
.woocommerce-checkout-review-order-table td,
.woocommerce-checkout table.shop_table td {
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  padding: 20px 0 !important;
  vertical-align: middle !important;
  background: none !important;
}

/* -----------------------------------------------
   LIGNE PRODUIT — image + infos sur même ligne
----------------------------------------------- */

/* La cellule produit contient image + texte */
.woocommerce-checkout-review-order-table .cart_item td.product-name,
.woocommerce-checkout table.shop_table .cart_item td.product-name {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1px !important;
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  padding: 20px 0 !important;
}

/* Image dans la cellule produit */
.woocommerce-checkout-review-order-table .cart_item td.product-name img,
.woocommerce-checkout table.shop_table .cart_item td.product-name img {
  width: 120px !important;
  height: 120px !important;
  min-width: 100px !important;
  object-fit: contain !important;
  background: #f5f4f1 !important;
  border: 1px solid rgba(0,0,0,0.07) !important;
  padding: 4px !important;
  display: block !important;
  flex-shrink: 0 !important;
}

/* Texte à côté de l'image */

.woocommerce-checkout-review-order-table td.product-name .ast-product-image {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
}

.woocommerce-checkout-review-order-table .ast-product-thumbnail {
  flex: 0 0 auto !important;
}

.woocommerce-checkout-review-order-table .ast-product-thumbnail img {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain !important;
}

.woocommerce-checkout-review-order-table .ast-product-name {
  flex: 1 !important;
}

/* Nom du produit — plus court, élégant */
.woocommerce-checkout-review-order-table .cart_item td.product-name a,
.woocommerce-checkout table.shop_table .cart_item td.product-name a {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #111 !important;
  text-decoration: none !important;
  display: block !important;
  line-height: 1.4 !important;
}

/* Quantité × prix sous le nom */
.woocommerce-checkout-review-order-table .cart_item td.product-name .quantity,
.woocommerce-checkout-review-order-table .cart_item .product-quantity {
  font-size: 20px !important;
  color: #888 !important;
  display: block !important;
  margin-top: 3px !important;
}

/* Variations (taille, frame) sous le nom */
.woocommerce-checkout-review-order-table .cart_item td.product-name dl,
.woocommerce-checkout-review-order-table .cart_item td.product-name .variation {
  font-size: 12px !important;
  color: #999 !important;
  margin-top: 4px !important;
  margin-bottom: 0 !important;
  line-height: 1.6 !important;
}

.woocommerce-checkout-review-order-table .cart_item td.product-name dl dt,
.woocommerce-checkout-review-order-table .cart_item td.product-name dl dd {
  font-size: 15px !important;
  color: #221C14 !important;
  font-weight: 600 !important;
  display: inline !important;
  margin: 0 !important;
}

/* Prix à droite */
.woocommerce-checkout-review-order-table .cart_item td.product-total,
.woocommerce-checkout table.shop_table .cart_item td.product-total {
  font-size: 18px !important;
  font-weight: 500 !important;
  color: #111 !important;
  text-align: right !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}

/* -----------------------------------------------
   TOTAUX (subtotal, shipping, tax, total)
----------------------------------------------- */
.woocommerce-checkout-review-order-table .cart-subtotal td,
.woocommerce-checkout-review-order-table .cart-subtotal th,
.woocommerce-checkout-review-order-table .shipping td,
.woocommerce-checkout-review-order-table .shipping th,
.woocommerce-checkout-review-order-table .tax-rate td,
.woocommerce-checkout-review-order-table .tax-rate th {
  font-size: 18px !important;
  color: #555 !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}

/* Ligne Total — plus grande */
.woocommerce-checkout-review-order-table .order-total td,
.woocommerce-checkout-review-order-table .order-total th {
  font-size: 25px !important;
  font-weight: 500 !important;
  color: #111 !important;
	font-family: 'Times New Roman', serif !important; 
  padding: 16px 0 !important;
  border-bottom: none !important;
}

/* Prix dans les totaux alignés à droite */
.woocommerce-checkout-review-order-table .cart-subtotal td,
.woocommerce-checkout-review-order-table .shipping td,
.woocommerce-checkout-review-order-table .tax-rate td,
.woocommerce-checkout-review-order-table .order-total td {
  text-align: right !important;
}

/* -----------------------------------------------
   BOUTON PAIEMENT
----------------------------------------------- */
#place_order,
.woocommerce-checkout #place_order {
  background: #111 !important;
  background-color: #111 !important;
  color: #fff !important;
  border-radius: 0 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  padding: 16px !important;
  border: none !important;
  width: 100% !important;
  display: block !important;
  margin-top: 20px !important;
}

#place_order:hover,
.woocommerce-checkout #place_order:hover {
  background: #333 !important;
  background-color: #333 !important;
}


/* ============================================================
   Fix : mise en page écrasée sur mobile — Panier & Commande
   PrintMyJourney.com
   ============================================================
   À coller dans un emplacement CSS GLOBAL (pas dans Elementor
   "Custom CSS" d'une page précise, car la page Commande n'est
   pas éditée avec Elementor) :

   Option A (toujours disponible, sans extension) :
     Apparence > Personnaliser > CSS additionnel

   Option B (si vous avez Elementor Pro) :
     Elementor > Réglages du site > Custom CSS

   Option C (si vous utilisez un plugin comme WPCode / Simple
   Custom CSS) : collez-le comme un nouveau snippet CSS actif
   sur tout le site.
   ============================================================ */

@media only screen and (max-width: 768px) {

  /* Filet de sécurité : empêche le scroll horizontal causé par
     un élément enfant trop large */
  body.woocommerce-cart,
  body.woocommerce-checkout {
    overflow-x: hidden;
  }

  /* --- Colonnes natives WooCommerce (totaux du panier, et les
     2 colonnes de la page Commande) qui restent côte-à-côte au
     lieu de s'empiler sur mobile --- */
  body.woocommerce-cart .cart-collaterals,
  body.woocommerce-cart .cart-collaterals .cart_totals,
  body.woocommerce-cart .cart-collaterals .cross-sells,
  body.woocommerce-checkout .col2-set,
  body.woocommerce-checkout .col2-set .col-1,
  body.woocommerce-checkout .col2-set .col-2,
  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table,
  body.woocommerce-checkout #order_review {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* --- Conteneurs Elementor (ancien "elementor-container" et
     nouveau moteur flexbox "e-con") qui entourent ces pages --- */
  body.woocommerce-cart .e-con,
  body.woocommerce-checkout .e-con,
  body.woocommerce-cart .elementor-container,
  body.woocommerce-checkout .elementor-container {
    flex-wrap: wrap !important;
  }
  body.woocommerce-cart .e-con > .e-con-inner,
  body.woocommerce-checkout .e-con > .e-con-inner,
  body.woocommerce-cart .elementor-column,
  body.woocommerce-checkout .elementor-column {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
  }

  /* --- Au cas où une barre latérale du theme (sidebar) reste
     affichée et pousse le contenu dans une colonne trop
     étroite --- */
  body.woocommerce-cart .content-area,
  body.woocommerce-checkout .content-area,
  body.woocommerce-cart .site-main,
  body.woocommerce-checkout .site-main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
  }
  body.woocommerce-cart #secondary,
  body.woocommerce-checkout #secondary,
  body.woocommerce-cart .widget-area,
  body.woocommerce-checkout .widget-area {
    display: none !important;
  }

  /* --- S'assurer que les champs du formulaire de facturation
     sont pleine largeur et faciles à toucher --- */
  body.woocommerce-checkout input.input-text,
  body.woocommerce-checkout select,
  body.woocommerce-checkout textarea,
  body.woocommerce-checkout .select2-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  body.woocommerce-checkout .form-row-first,
  body.woocommerce-checkout .form-row-last {
    width: 100% !important;
    float: none !important;
  }

  /* --- PAGE PANIER : le tableau a déjà la classe native
     WooCommerce "shop_table_responsive" avec des attributs
     data-title="Product", data-title="Price", etc. C'est le
     système prévu par WooCommerce pour empiler le tableau en
     mode "carte" sur mobile — on l'active/le force ici au lieu
     de garder le tableau en grille (ce qui écrasait les
     colonnes à quelques pixels de large). --- */
  body.woocommerce-cart table.shop_table_responsive thead {
    display: none !important;
  }
  body.woocommerce-cart table.shop_table_responsive,
  body.woocommerce-cart table.shop_table_responsive tbody,
  body.woocommerce-cart table.shop_table_responsive tr,
  body.woocommerce-cart table.shop_table_responsive td {
    display: block !important;
    width: 100% !important;
    table-layout: auto !important;
  }
  body.woocommerce-cart table.shop_table_responsive td {
    text-align: left !important;
    box-sizing: border-box !important;
  }
  body.woocommerce-cart table.shop_table_responsive td.product-thumbnail {
    width: auto !important;
  }
  body.woocommerce-cart table.shop_table_responsive td[data-title]::before {
    content: attr(data-title) ": ";
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
  }
  body.woocommerce-cart table.shop_table_responsive td,
  body.woocommerce-cart table.shop_table_responsive td * {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  /* --- Les options du produit dans la cellule "Product"
     (ex : "Location Name", "Back Frame Mounting Option") --- */
  body.woocommerce-cart .wc-item-meta,
  body.woocommerce-cart dl.variation {
    width: 100% !important;
  }
  body.woocommerce-cart .wc-item-meta li,
  body.woocommerce-cart dl.variation {
    display: flex !important;
    flex-wrap: wrap !important;
  }
  body.woocommerce-cart .wc-item-meta li > *,
  body.woocommerce-cart dl.variation dd,
  body.woocommerce-cart dl.variation dt {
    min-width: 0 !important;
  }

  /* --- PAGE COMMANDE : le résumé de commande utilise une mise
     en page personnalisée (Astra "ast-modern-checkout") en
     flexbox plutôt que le mode "carte" natif. On l'autorise à
     revenir à la ligne au lieu de dépasser à droite --- */
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td,
  body.woocommerce-checkout table.shop_table td {
    flex-wrap: wrap !important;
    white-space: normal !important;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td > *,
  body.woocommerce-checkout table.shop_table td > * {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
  body.woocommerce-checkout .wc-item-meta,
  body.woocommerce-checkout dl.variation {
    width: 100% !important;
  }
  body.woocommerce-checkout .wc-item-meta li,
  body.woocommerce-checkout dl.variation {
    display: flex !important;
    flex-wrap: wrap !important;
  }
  body.woocommerce-checkout .wc-item-meta li > *,
  body.woocommerce-checkout dl.variation dd,
  body.woocommerce-checkout dl.variation dt {
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item td.product-name {
    flex-wrap: wrap !important;
  }
}

/* ==========================================================================
   DÉBUT — PMJ PAIEMENT : STYLE DU PANIER (version 2, 5 octobre 2026)
   Page de paiement seulement (pas la page « Merci », pas « Payer la commande »).
   Pour revenir en arrière : supprimer tout, de DÉBUT jusqu'à FIN.
   ========================================================================== */

/* Polices du panier (fichiers de pmj-cart). Noms uniques : aucun effet ailleurs sur le site. */
@font-face{  font-family: 'PMJ Paiement UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/wp-content/plugins/pmj-cart/assets/fonts/poppins-400-latin.woff2') format('woff2');  }
@font-face{  font-family: 'PMJ Paiement UI'; font-style: normal; font-weight: 500; font-display: swap; src: url('/wp-content/plugins/pmj-cart/assets/fonts/poppins-500-latin.woff2') format('woff2');  }
@font-face{  font-family: 'PMJ Paiement UI'; font-style: normal; font-weight: 600; font-display: swap; src: url('/wp-content/plugins/pmj-cart/assets/fonts/poppins-600-latin.woff2') format('woff2');  }
@font-face{  font-family: 'PMJ Paiement Titres'; font-style: normal; font-weight: 400; font-display: swap; src: url('/wp-content/plugins/pmj-cart/assets/fonts/libre-baskerville-400-700-latin.woff2') format('woff2');  }
@font-face{  font-family: 'PMJ Paiement Titres'; font-style: normal; font-weight: 600; font-display: swap; src: url('/wp-content/plugins/pmj-cart/assets/fonts/libre-baskerville-400-700-latin.woff2') format('woff2');  }


/* 1. Polices : titres avec empattements, texte / étiquettes / boutons sans empattements */
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce input,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce select,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce textarea,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce label,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce .select2-selection__rendered {
	font-family: 'PMJ Paiement UI', Poppins, 'Segoe UI', Arial, sans-serif;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce {
	font-size: 15px;
	color: #1A1510;
}

/* 4. Grand titre : comme « Votre panier » */
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .entry-header .entry-title {
	font-family: 'PMJ Paiement Titres', 'Libre Baskerville', Baskerville, Baskervville, Georgia, serif !important;
	font-weight: 400 !important;
	font-size: 30px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: #1A1510 !important;
}

/* 4. Titres de section : même police, même taille, même filet, mêmes marges */
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-billing-fields-custom h3,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-billing-fields > h3,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-additional-fields > h3,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) #ast-payment_options_heading,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) #order_review_heading {
	font-family: 'PMJ Paiement Titres', 'Libre Baskerville', Baskerville, Baskervville, Georgia, serif !important;
	font-weight: 400 !important;
	font-size: 20px !important;
	line-height: 1.3 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: #1A1510 !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-billing-fields-custom h3,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-billing-fields > h3,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-additional-fields > h3,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) #ast-payment_options_heading {
	flex: 1 1 auto;
	margin: 28px 0 14px !important;
	padding: 0 0 10px !important;
	border: 0 !important;
	border-bottom: 1px solid #E4E0D8 !important;
}
/* « Ship to a different address? » est une case à cocher, pas un titre : sans filet */
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) #ship-to-different-address {
	border-bottom: 0 !important;
	padding-bottom: 0 !important;
	margin-bottom: 12px !important;
}
/* Le premier titre de chaque colonne commence à la même hauteur que le texte « Your order » */
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-billing-fields-custom h3 {
	margin-top: 21px !important;
}

/* 2. Champs : coins arrondis, filet léger (la couleur rouge d'erreur de WooCommerce est conservée) */
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) form.checkout .input-text,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) form.checkout select,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) form.checkout textarea,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) form.checkout .select2-container .select2-selection {
	border-radius: 8px !important;
	box-shadow: none !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) form.checkout .form-row:not(.woocommerce-invalid) .input-text,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) form.checkout .form-row:not(.woocommerce-invalid) select,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) form.checkout .form-row:not(.woocommerce-invalid) .select2-container .select2-selection {
	border-color: #D6D0C6;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) form.checkout .form-row:not(.woocommerce-invalid) .input-text:focus,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) form.checkout .form-row:not(.woocommerce-invalid) select:focus {
	border-color: #1A1510;
	box-shadow: 0 0 0 3px rgba(26, 21, 16, .08) !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) form.checkout .form-row label {
	color: #8A847C;
}
/* Ordinateur : texte des champs un peu plus petit (Poppins est plus large). Téléphone : 16 px gardés, sinon l'iPhone zoome. */
@media (min-width: 769px) {
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) form.checkout .input-text,
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) form.checkout .select2-selection__rendered {
		font-size: 15px !important;
	}
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) form.checkout .input-text::placeholder {
	font-size: 14px;
}

/* 3. « Your order » dans une carte (le titre forme le haut de la carte, le tableau le bas) */
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) #order_review_heading {
	background: #fff !important;
	border: 1px solid #E4E0D8 !important;
	border-bottom: 0 !important;
	border-radius: 10px 10px 0 0 !important;
	margin: 0 !important;
	padding: 20px 22px 4px !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) #order_review {
	background: #fff !important;
	border: 1px solid #E4E0D8 !important;
	border-top: 0 !important;
	border-radius: 0 0 10px 10px !important;
	padding: 0 22px 8px !important;
	box-shadow: 0 10px 14px -10px rgba(26, 21, 16, .10);
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table thead th {
	font-family: 'PMJ Paiement UI', Poppins, 'Segoe UI', Arial, sans-serif !important;
	font-size: 10.5px !important;
	font-weight: 500 !important;
	letter-spacing: .1em !important;
	color: #8A847C !important;
	border-top: 0 !important;
	border-bottom: 1px solid #E4E0D8 !important;
	padding: 12px 0 10px !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table td,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table th {
	border-color: #E4E0D8 !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item td {
	border-bottom: 1px solid #E4E0D8 !important;
	padding: 18px 0 !important;
}

/* 5. Liste des produits : espace entre l'image et le texte, image arrondie, options plus légères */
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table td.product-name .ast-product-image {
	gap: 16px !important;
	flex-wrap: nowrap !important;
	width: 100% !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table td.product-name .ast-product-thumbnail {
	flex: 0 0 auto !important;
	width: 76px !important;
	height: 76px !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table td.product-name .ast-product-thumbnail img {
	width: 76px !important;
	height: 76px !important;
	min-width: 0 !important;
	max-width: 76px !important;
	margin: 0 !important;
	padding: 4px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: #F5F0E8 !important;
	box-sizing: border-box !important;
	object-fit: contain !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table td.product-name .ast-product-name {
	font-family: 'PMJ Paiement Titres', 'Libre Baskerville', Baskerville, Baskervville, Georgia, serif !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	color: #1A1510 !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table .pmj-cart-paiement-legende {
	font-family: 'PMJ Paiement UI', Poppins, 'Segoe UI', Arial, sans-serif !important;
	font-size: 12px !important;
	color: #8A847C !important;
	opacity: 1 !important;
	margin-top: 4px !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item .product-quantity {
	font-family: 'PMJ Paiement UI', Poppins, 'Segoe UI', Arial, sans-serif !important;
	font-size: 12.5px !important;
	font-weight: 400 !important;
	color: #8A847C !important;
	margin: 6px 0 0 92px !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item td.product-name dl.variation {
	display: grid !important;
	grid-template-columns: max-content auto;
	column-gap: 8px;
	row-gap: 2px;
	flex: 0 0 calc(100% - 92px) !important;
	width: auto !important;
	max-width: calc(100% - 92px) !important;
	margin: 6px 0 0 92px !important;
	padding: 0 !important;
	font-size: 12.5px !important;
	line-height: 1.5 !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item td.product-name dl.variation dt,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item td.product-name dl.variation dd {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	font-family: 'PMJ Paiement UI', Poppins, 'Segoe UI', Arial, sans-serif !important;
	font-size: 12.5px !important;
	line-height: 1.5 !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item td.product-name dl.variation dt {
	font-weight: 400 !important;
	color: #8A847C !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item td.product-name dl.variation dd {
	font-weight: 400 !important;
	color: #1A1510 !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item td.product-name dl.variation dd p {
	margin: 0 !important;
	display: inline !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item td.product-total {
	font-family: 'PMJ Paiement Titres', 'Libre Baskerville', Baskerville, Baskervville, Georgia, serif !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #1A1510 !important;
	vertical-align: top !important;
	padding-top: 22px !important;
	padding-left: 12px !important;
}
/* La colonne des prix prend seulement la place du prix : la colonne des produits a plus d'espace */
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table .product-total,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals td {
	width: 1% !important;
	white-space: nowrap !important;
}

/* Totaux : comme le Résumé du panier */
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table tfoot th,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table tfoot td {
	font-family: 'PMJ Paiement UI', Poppins, 'Segoe UI', Arial, sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	color: #534330 !important;
	padding: 10px 0 !important;
	border-bottom: 0 !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td {
	border-top: 1px solid #E4E0D8 !important;
	padding-top: 14px !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table tfoot tr.order-total th,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table tfoot tr.order-total td {
	font-family: 'PMJ Paiement Titres', 'Libre Baskerville', Baskerville, Baskervville, Georgia, serif !important;
	font-size: 19px !important;
	font-weight: 600 !important;
	color: #1A1510 !important;
	border-top: 1px solid #1A1510 !important;
	padding: 14px 0 12px !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table tfoot tr.order-total .amount {
	font-weight: 600 !important;
}

/* Résumé « Show / Hide Order Summary » (téléphone et tablette, Astra) : une carte DANS les marges de la page.
   Version 2 : le thème l'étirait sur toute la largeur (et plus, avec une barre de défilement) ; ton CSS
   met 0 de marge intérieure aux cellules : prix et titres coupés aux deux bords. */
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .ast-mobile-order-review-wrap {
	position: relative !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
	width: auto !important;
	max-width: 100% !important;
	/* 20 px : la même marge que le formulaire (ton CSS : « form.checkout » padding 20 px) → aligné sur les champs */
	margin-left: 20px !important;
	margin-right: 20px !important;
	box-sizing: border-box !important;
	overflow: hidden;
	background: #F5F0E8 !important;
	border: 1px solid #E4E0D8;
	border-radius: 10px;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .ast-mobile-order-review-wrap #ast-order-review-toggle {
	border: 0 !important;
	padding: 14px 16px !important;
	color: #1A1510 !important;
	font-family: 'PMJ Paiement UI', Poppins, 'Segoe UI', Arial, sans-serif;
	font-size: 14px;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .ast-mobile-order-review-wrap #ast-order-review-content {
	box-sizing: border-box !important;
	width: auto !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 16px !important;
	background: #fff;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .ast-mobile-order-review-wrap #ast-order-review-toggle.active {
	border-bottom: 1px solid #E4E0D8 !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .ast-mobile-order-review-wrap #ast-order-review-content .woocommerce-checkout-review-order-table {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	box-shadow: none !important;
}

/* 7. « Have a coupon? » : même style que « + Ajouter un code » */
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) #ast-coupon-trigger,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-form-coupon-toggle .showcoupon {
	font-family: 'PMJ Paiement UI', Poppins, 'Segoe UI', Arial, sans-serif !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #534330 !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	cursor: pointer;
}

/* Modes de paiement : carte arrondie à filet léger (rien n'est déplacé ni caché) */
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) #payment ul.payment_methods {
	border: 1px solid #E4E0D8 !important;
	box-shadow: 0 2px 10px rgba(26, 21, 16, .06) !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) #payment ul.payment_methods > li {
	border-color: #E4E0D8 !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) #payment ul.payment_methods .wc_payment_method > label {
	font-family: 'PMJ Paiement UI', Poppins, 'Segoe UI', Arial, sans-serif !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	color: #1A1510 !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) #payment ul.payment_methods div.payment_box {
	border-radius: 8px;
	font-family: 'PMJ Paiement UI', Poppins, 'Segoe UI', Arial, sans-serif;
	font-size: 14px;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-privacy-policy-text,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-terms-and-conditions-wrapper label {
	font-family: 'PMJ Paiement UI', Poppins, 'Segoe UI', Arial, sans-serif !important;
	font-size: 13.5px !important;
	color: #534330 !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-terms-and-conditions-wrapper label {
	font-weight: 500 !important;
	color: #1A1510 !important;
}

/* 6. Bouton de paiement : foncé, arrondi, majuscules espacées (couleurs et forme seulement) */
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) #payment #place_order {
	background: #1A1510 !important;
	background-color: #1A1510 !important;
	color: #fff !important;
	border-radius: 40px !important;
	font-family: 'PMJ Paiement UI', Poppins, 'Segoe UI', Arial, sans-serif !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	letter-spacing: .12em !important;
	text-transform: uppercase !important;
}
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) #payment #place_order:hover,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) #payment #place_order:focus {
	background: #534330 !important;
	background-color: #534330 !important;
}

/* Messages (erreurs, informations) : coins arrondis seulement ; couleurs de WooCommerce conservées */
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-error,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-info,
body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-message {
	border-radius: 8px;
	font-family: 'PMJ Paiement UI', Poppins, 'Segoe UI', Arial, sans-serif;
	font-size: 14px;
}

/* Tablette et téléphone à l'horizontale (769 à 921 px) : les deux colonnes l'une sous l'autre,
   comme sur téléphone (sinon la carte « Your order » est trop étroite et les prix dépassent). */
@media (min-width: 769px) and (max-width: 921px) {
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) form.checkout #customer_details,
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) form.checkout #order_review_heading,
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) form.checkout #order_review {
		float: none !important;
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) form.checkout #order_review_heading {
		margin-top: 28px !important;
	}
}

/* Téléphone */
@media (max-width: 768px) {
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .entry-header .entry-title {
		font-size: 24px !important;
	}
	/* Ville, province et code postal l'un sous l'autre (comme les autres champs sur téléphone) */
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) form.checkout .form-row.ast-column-33 {
		width: 100% !important;
	}
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-billing-fields-custom h3 {
		align-self: stretch;
		width: 100%;
	}
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) #order_review_heading {
		float: none !important;
		width: 100% !important;
		margin-top: 28px !important;
		padding: 16px 16px 4px !important;
	}
	/* Prix et montants : jamais coupés au milieu (« $47.5 / 9 ») */
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table td.product-total *,
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table tfoot .amount,
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table tfoot .amount * {
		white-space: nowrap !important;
		overflow-wrap: normal !important;
		word-break: normal !important;
	}
	/* « Livraison gratuite » peut revenir à la ligne : la colonne des produits garde sa largeur */
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals td {
		white-space: normal !important;
	}
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table tfoot td * {
		overflow-wrap: break-word !important;
		word-break: normal !important;
	}
	/* Noms et options : coupés entre les mots, pas au milieu */
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table td.product-name * {
		overflow-wrap: break-word !important;
		word-break: normal !important;
	}
	/* Options sur téléphone : l'étiquette au-dessus de sa valeur (la colonne est étroite) */
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item td.product-name dl.variation {
		grid-template-columns: 100% !important;
		row-gap: 0 !important;
	}
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item td.product-name dl.variation dd {
		margin-bottom: 6px !important;
	}
	/* Image en haut, alignée sur le nom */
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table td.product-name .ast-product-image {
		align-items: flex-start !important;
	}
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) #order_review {
		padding: 0 16px 6px !important;
	}
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table td.product-name .ast-product-thumbnail,
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table td.product-name .ast-product-thumbnail img {
		width: 56px !important;
		height: 56px !important;
		max-width: 56px !important;
	}
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table td.product-name .ast-product-image {
		gap: 12px !important;
	}
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item .product-quantity,
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item td.product-name dl.variation {
		margin-left: 68px !important;
	}
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item td.product-name dl.variation {
		flex-basis: calc(100% - 68px) !important;
		max-width: calc(100% - 68px) !important;
	}
}

/* Petits téléphones (400 px et moins) : un peu plus de place pour le nom des produits */
@media (max-width: 400px) {
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .ast-mobile-order-review-wrap #ast-order-review-content,
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) #order_review {
		padding-left: 12px !important;
		padding-right: 12px !important;
	}
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table td.product-name .ast-product-thumbnail,
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table td.product-name .ast-product-thumbnail img {
		width: 44px !important;
		height: 44px !important;
		max-width: 44px !important;
	}
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table td.product-name .ast-product-image {
		gap: 10px !important;
	}
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item .product-quantity,
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item td.product-name dl.variation {
		margin-left: 54px !important;
	}
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item td.product-name dl.variation {
		flex-basis: calc(100% - 54px) !important;
		max-width: calc(100% - 54px) !important;
	}
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table td.product-name .ast-product-name {
		font-size: 14px !important;
	}
	body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item td.product-total {
		padding-left: 8px !important;
		font-size: 15px !important;
	}
}

/* ==========================================================================
   FIN — PMJ PAIEMENT : STYLE DU PANIER
   ========================================================================== */
