/**
 * [BOC-102] Parcours de commande, version maquette complète.
 * Couleurs de la maquette : vert #0E4806 / #108501, vert pâle #EEF6EB, traits #DCEAD7, fond #F6F8F4, texte #24301F / #5B6B56.
 */
body.bocolis-etapes { background: #F6F8F4; }
body:is(.bocolis-etapes, #bpf), body:is(.bocolis-etapes, #bpf) input, body:is(.bocolis-etapes, #bpf) button, body:is(.bocolis-etapes, #bpf) select, body:is(.bocolis-etapes, #bpf) textarea { font-family: "Afacad", system-ui, sans-serif; }
body:is(.bocolis-etapes, #bpf) .bp-cache { display: none !important; }
body:is(.bocolis-etapes, #bpf) :is(a, h1, h2, h3, h4, label, p, span, li, td, th, strong, small, em) { font-family: "Afacad", system-ui, sans-serif !important; }
body:is(.bocolis-etapes, #bpf) [data-elementor-type="wp-page"] > .e-con { margin-top: 0 !important; padding-top: 24px !important; }
body:is(.bocolis-etapes, #bpf) [data-elementor-type="wp-page"] > .e-con > .e-con-inner { padding-top: 0 !important; }

/* ---------- En-tête simplifié ---------- */
body.bocolis-etapes [data-elementor-type="header"],
body.bocolis-etapes .bocolis-bm { display: none !important; }
.bp-entete { position: sticky; top: 0; z-index: 50; height: 72px; box-sizing: border-box; padding: 0 max(24px, env(safe-area-inset-left, 0px)); background: #fff; border-bottom: 1px solid #DCEAD7; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.admin-bar .bp-entete { top: 32px; }
.bp-entete a { text-decoration: none; }
.bp-entete__retour { justify-self: start; display: inline-flex; align-items: center; gap: 8px; color: #0E4806 !important; font-size: 15px; font-weight: 500; }
.bp-entete__retour:hover { color: #108501 !important; }
.bp-entete__marque { justify-self: center; display: inline-flex; align-items: center; }
body:is(.bocolis-etapes, #bpf) .bp-entete__logo { height: 48px !important; width: auto !important; max-width: 160px !important; display: block; }
.bp-entete__nom { font-size: 26px; font-weight: 700; color: #0E4806; }
.bp-entete__secu { justify-self: end; display: inline-flex; align-items: center; gap: 6px; color: #5B6B56; font-size: 14px; }

/* ---------- Commun ---------- */
body:is(.bocolis-etapes, #bpf) .bp-etapes { max-width: 1120px; margin: 0 auto 24px !important; }
.bp-page-titre { max-width: 1120px; margin: 0 auto 20px !important; font-size: 36px; line-height: 1.15; font-weight: 700; color: #0E4806; }
body:is(.bocolis-etapes, #bpf) .bp-bouton, body:is(.bocolis-etapes, #bpf) a.bp-bouton { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: #0E4806; color: #fff !important; font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer; box-shadow: none; transition: background-color .15s ease; }
body:is(.bocolis-etapes, #bpf) .bp-bouton:hover { background: #108501; color: #fff; }
body:is(.bocolis-etapes, #bpf) .bp-bouton--contour, body:is(.bocolis-etapes, #bpf) a.bp-bouton--contour { background: #fff; color: #0E4806 !important; box-shadow: inset 0 0 0 1.5px #0E4806; }
body:is(.bocolis-etapes, #bpf) .bp-bouton--contour:hover { background: #EEF6EB; }
.bp-section { background: #fff; border: 1px solid #DCEAD7; border-radius: 20px; padding: 24px; box-sizing: border-box; }
.bp-section__titre { margin: 0 0 18px !important; font-size: 22px !important; font-weight: 700 !important; color: #0E4806 !important; line-height: 1.2 !important; }

/* Code promo */
.bp-code { display: flex; flex-direction: column; gap: 8px; }
body:is(.bocolis-etapes, #bpf) .bp-code__lien { align-self: flex-start; padding: 0; border: 0; background: none; color: #108501; font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; box-shadow: none; }
body:is(.bocolis-etapes, #bpf) .bp-code__lien:hover { color: #0E4806; background: none; }
.bp-code__champ { display: flex; gap: 8px; }
.bp-code__champ[hidden], .bp-code__message[hidden] { display: none; }
body:is(.bocolis-etapes, #bpf) .bp-code__saisie { flex: 1; min-width: 0; height: 44px; box-sizing: border-box; border: 1px solid #B9C7B4; border-radius: 12px; padding: 0 12px; font-size: 16px; color: #24301F; background: #fff; }
body:is(.bocolis-etapes, #bpf) .bp-code__ok { height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: #0E4806; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
.bp-code.est-envoi .bp-code__ok { opacity: .6; pointer-events: none; }
.bp-code__message { margin: 0; font-size: 14px; color: #108501; }
.bp-code__message.est-erreur { color: #B42318; }

/* ---------- Panier ---------- */
body:is(.bocolis-etapes-panier, #bpf) .e-cart__container { max-width: 1120px; margin: 0 auto; display: grid !important; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
body:is(.bocolis-etapes-panier, #bpf) .e-cart__column { width: auto !important; min-width: 0; padding: 0 !important; }
body:is(.bocolis-etapes-panier, #bpf) .bocolis-heure-limite { display: none !important; }
body:is(.bocolis-etapes-panier, #bpf) .bocolis-minimum { margin: 0 0 20px !important; background: #fff !important; border: 1px solid #DCEAD7 !important; border-radius: 16px !important; padding: 16px 18px !important; color: #24301F !important; font-size: 15px !important; }
body:is(.bocolis-etapes-panier, #bpf) .e-cart__column-start .e-shop-table { background: #fff; border: 1px solid #DCEAD7; border-radius: 20px; padding: 8px 24px; box-sizing: border-box; }
body:is(.bocolis-etapes-panier, #bpf) table.cart { border: 0 !important; margin: 0 !important; width: 100%; border-collapse: collapse; background: transparent !important; }
body:is(.bocolis-etapes-panier, #bpf) table.cart thead,
body:is(.bocolis-etapes-panier, #bpf) table.cart td.product-price,
body:is(.bocolis-etapes-panier, #bpf) table.cart td.actions,
body:is(.bocolis-etapes-panier, #bpf) table.cart tr:has(td.actions),
body:is(.bocolis-etapes-panier, #bpf) .e-cart__column-start .coupon { display: none !important; }
body:is(.bocolis-etapes-panier, #bpf) table.cart tbody { display: block; }
body:is(.bocolis-etapes-panier, #bpf) table.cart tr.cart_item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 90px 36px; grid-template-areas: "photo nom qte prix suppr"; align-items: center; column-gap: 16px; padding: 16px 0 !important; border: 0 !important; border-bottom: 1px solid #DCEAD7 !important; background: transparent !important; }
body:is(.bocolis-etapes-panier, #bpf) table.cart tr.cart_item:not(:has(~ tr.cart_item)) { border-bottom: 0 !important; }
body:is(.bocolis-etapes-panier, #bpf) table.cart tbody tr:not(.cart_item) { display: none !important; }
body:is(.bocolis-etapes-panier, #bpf) table.cart, body:is(.bocolis-etapes-panier, #bpf) table.cart tbody { border-bottom: 0 !important; }
body:is(.bocolis-etapes-panier, #bpf) .e-cart__column-start .e-shop-table::after { content: none !important; }
body:is(.bocolis-etapes-panier, #bpf) table.cart tr.cart_item td { display: block; padding: 0 !important; border: 0 !important; background: transparent !important; text-align: left !important; min-width: 0; }
body:is(.bocolis-etapes-panier, #bpf) table.cart tr.cart_item td::before { display: none !important; content: none !important; }
body:is(.bocolis-etapes-panier, #bpf) td.product-thumbnail { grid-area: photo; }
body:is(.bocolis-etapes-panier, #bpf) td.product-thumbnail img { width: 72px !important; height: 72px !important; max-width: 72px !important; min-width: 0 !important; object-fit: cover; border-radius: 12px; border: 1px solid #DCEAD7; display: block; }
body:is(.bocolis-etapes-panier, #bpf) td.product-name { grid-area: nom; display: flex !important; flex-direction: column; align-items: flex-start !important; justify-content: center; gap: 2px; font-size: 14px; color: #5B6B56; }
body:is(.bocolis-etapes-panier, #bpf) td.product-name a { font-size: 17px; font-weight: 600; color: #24301F !important; text-decoration: none; line-height: 1.25; text-align: left !important; }
body:is(.bocolis-etapes-panier, #bpf) td.product-name a:hover { color: #0E4806 !important; }
body:is(.bocolis-etapes-panier, #bpf) td.product-name .bocolis-detail { display: block; text-align: left !important; color: #5B6B56 !important; font-size: 14px !important; }
body:is(.bocolis-etapes-panier, #bpf) td.product-quantity { grid-area: qte; }
body:is(.bocolis-etapes-panier, #bpf) td.product-subtotal { grid-area: prix; text-align: right !important; font-size: 17px; font-weight: 600; color: #24301F; }
body:is(.bocolis-etapes-panier, #bpf) td.product-remove { grid-area: suppr; justify-self: end; }
body:is(.bocolis-etapes-panier, #bpf) td.product-remove a.remove { width: 36px !important; height: 36px !important; border-radius: 50% !important; display: inline-flex !important; align-items: center; justify-content: center; background: none !important; color: #5B6B56 !important; font-size: 22px !important; line-height: 1 !important; font-weight: 400 !important; }
body:is(.bocolis-etapes-panier, #bpf) td.product-remove a.remove:hover { background: #EEF6EB !important; color: #0E4806 !important; }
body:is(.bocolis-etapes-panier, #bpf) .quantity { margin: 0 !important; }
.bp-qte { display: inline-flex; align-items: center; height: 40px; border: 1px solid #DCEAD7; border-radius: 999px; background: #fff; }
body:is(.bocolis-etapes, #bpf) .bp-qte button { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: #0E4806; font-size: 20px; line-height: 1; cursor: pointer; box-shadow: none; }
body:is(.bocolis-etapes, #bpf) .bp-qte button:hover { background: #EEF6EB; color: #0E4806; }
body:is(.bocolis-etapes, #bpf) .bp-qte input.qty { width: 32px !important; height: 38px; padding: 0 !important; border: 0 !important; background: none !important; text-align: center; font-size: 16px; font-weight: 600; color: #24301F; -moz-appearance: textfield; box-shadow: none !important; }
body:is(.bocolis-etapes, #bpf) .bp-qte input.qty::-webkit-outer-spin-button, body:is(.bocolis-etapes, #bpf) .bp-qte input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
body:is(.bocolis-etapes-panier, #bpf) .woocommerce-cart-form.processing { opacity: .6; }

/* Colonne de droite du panier */
body:is(.bocolis-etapes-panier, #bpf) .e-cart__column-end .e-cart-totals { background: #fff !important; border: 1px solid #DCEAD7 !important; border-radius: 20px !important; padding: 24px !important; box-shadow: none !important; }
body:is(.bocolis-etapes-panier, #bpf) .cart_totals > h2,
body:is(.bocolis-etapes-panier, #bpf) .cart_totals tr.order-total,
body:is(.bocolis-etapes-panier, #bpf) .cart_totals tr.woocommerce-shipping-totals,
body:is(.bocolis-etapes-panier, #bpf) .cart_totals tr.shipping { display: none !important; }
body:is(.bocolis-etapes-panier, #bpf) .cart_totals table { margin: 0 !important; border: 0 !important; }
body:is(.bocolis-etapes-panier, #bpf) .cart_totals table th, body:is(.bocolis-etapes-panier, #bpf) .cart_totals table td { padding: 0 0 8px !important; border: 0 !important; background: none !important; font-size: 16px !important; color: #24301F !important; font-weight: 400 !important; }
body:is(.bocolis-etapes-panier, #bpf) .cart_totals tr.cart-subtotal td { text-align: right; font-weight: 600 !important; }
body:is(.bocolis-etapes-panier, #bpf) .cart_totals tr.cart-subtotal td::before { display: none !important; }
body:is(.bocolis-etapes-panier, #bpf) .cart_totals :is(tr.cart-subtotal, tr.cart-discount) th { display: table-cell !important; text-align: left; }
body:is(.bocolis-etapes-panier, #bpf) .cart_totals :is(tr.cart-subtotal, tr.cart-discount) { display: table-row !important; }
body:is(.bocolis-etapes-panier, #bpf) .cart_totals :is(tr.cart-subtotal, tr.cart-discount) td { display: table-cell !important; text-align: right !important; }
.bp-panier-note { margin: 4px 0 14px; font-size: 14px; color: #5B6B56; }
body:is(.bocolis-etapes-panier, #bpf) .wc-proceed-to-checkout { padding: 0 !important; display: flex; flex-direction: column; gap: 12px; }
body:is(.bocolis-etapes-panier, #bpf) .wc-proceed-to-checkout a.checkout-button { height: 52px !important; margin: 0 !important; padding: 0 24px !important; border-radius: 999px !important; background: #0E4806 !important; color: #fff !important; font-size: 17px !important; font-weight: 600 !important; display: flex !important; align-items: center; justify-content: center; }
body:is(.bocolis-etapes-panier, #bpf) .wc-proceed-to-checkout a.checkout-button:hover { background: #108501 !important; }
body:is(.bocolis-etapes-panier, #bpf) .wc-proceed-to-checkout .bp-code { align-items: center; }
body:is(.bocolis-etapes-panier, #bpf) .wc-proceed-to-checkout .bp-code__lien { align-self: center; }
body:is(.bocolis-etapes-panier, #bpf) .wc-proceed-to-checkout .bp-code__champ { width: 100%; }
body:is(.bocolis-etapes, #bpf) .bocolis-sugg { margin-top: 20px; padding-top: 18px; border-top: 1px solid #DCEAD7; }
body:is(.bocolis-etapes, #bpf) .bocolis-sugg small.woocommerce-price-suffix { display: none; }
body:is(.bocolis-etapes, #bpf) .bocolis-sugg__titre { font-size: 17px !important; color: #0E4806 !important; }
body:is(.bocolis-etapes, #bpf) .bocolis-sugg__prix { color: #5B6B56 !important; }

/* ---------- Commande ---------- */
body:is(.bocolis-etapes-commande, #bpf) .bocolis-heure-limite,
body:is(.bocolis-etapes-commande, #bpf) .e-coupon-box,
body:is(.bocolis-etapes-commande, #bpf) #order_review_heading,
body:is(.bocolis-etapes-commande, #bpf) #order_review > table.woocommerce-checkout-review-order-table,
body:is(.bocolis-etapes-commande, #bpf) .woocommerce-additional-fields { display: none !important; }
body:is(.bocolis-etapes-commande, #bpf) form.checkout { max-width: 1120px; margin: 0 auto; }
body:is(.bocolis-etapes-commande, #bpf) .e-checkout__container { display: grid !important; gap: 28px; align-items: start; grid-template-columns: minmax(0, 1fr) 380px !important; }
body:is(.bocolis-etapes-commande, #bpf) .e-checkout__column-start { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
body:is(.bocolis-etapes-commande, #bpf) .e-checkout__column-start > * { margin: 0 !important; }
body:is(.bocolis-etapes-commande, #bpf) #bocolis-parcours { margin: 0 !important; }

/* Étape Livraison / étape Coordonnées */
body:is(.bocolis-etapes-commande, #bpf)[data-bp-etape="livraison"] #bp-resume,
body:is(.bocolis-etapes-commande, #bpf)[data-bp-etape="livraison"] #customer_details,
body:is(.bocolis-etapes-commande, #bpf)[data-bp-etape="livraison"] #bp-paiement,
body:is(.bocolis-etapes-commande, #bpf)[data-bp-etape="coordonnees"] #bocolis-parcours,
body:is(.bocolis-etapes-commande, #bpf)[data-bp-etape="coordonnees"] .bp-continuer { display: none !important; }
.bp-continuer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.bp-continuer__aide { flex-basis: 100%; text-align: right; }
body:is(.bocolis-etapes, #bpf) .bp-retour { display: inline-flex; align-items: center; gap: 6px; padding: 8px 4px; border: 0; background: none; color: #0E4806 !important; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; box-shadow: none; }
body:is(.bocolis-etapes, #bpf) .bp-retour:hover { color: #108501 !important; background: none; }
body:is(.bocolis-etapes, #bpf) .bp-retour--haut { align-self: flex-start; padding: 0 4px; }
body:is(.bocolis-etapes-commande, #bpf)[data-bp-etape="livraison"] .bp-retour--haut { display: none !important; }
.bp-continuer__bouton.est-inactif { background: #C9D3C6 !important; }
.bp-continuer__aide { margin: 0; font-size: 14px; color: #B45309; font-weight: 600; }
.bp-resume { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #DCEAD7; border-radius: 14px; padding: 14px 16px; }
.bp-resume[hidden] { display: none !important; }
.bp-resume__icone { width: 40px; height: 40px; flex: none; border-radius: 12px; background: #EEF6EB; color: #0E4806; display: inline-flex; align-items: center; justify-content: center; }
.bp-resume__icone svg { width: 22px; height: 22px; }
.bp-resume__texte { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bp-resume__texte strong { font-size: 16px; font-weight: 600; color: #24301F; }
.bp-resume__texte span { font-size: 14px; color: #5B6B56; }
body:is(.bocolis-etapes, #bpf) .bp-resume__modifier { padding: 6px 4px; border: 0; background: none; color: #108501; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; box-shadow: none; }

/* Coordonnées : une carte, champs rangés comme la maquette */
body:is(.bocolis-etapes-commande, #bpf) #customer_details { background: #fff; border: 1px solid #DCEAD7; border-radius: 20px; padding: 24px; box-sizing: border-box; width: 100%; }
body:is(.bocolis-etapes-commande, #bpf) #customer_details .col-1, body:is(.bocolis-etapes-commande, #bpf) #customer_details .col-2 { float: none !important; width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
body:is(.bocolis-etapes-commande, #bpf) #customer_details::after { content: none; }
body:is(.bocolis-etapes-commande, #bpf) .woocommerce-billing-fields > h3 { margin: 0 0 18px !important; font-size: 22px !important; font-weight: 700 !important; color: #0E4806 !important; }
body:is(.bocolis-etapes-commande, #bpf) .woocommerce-billing-fields__field-wrapper { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
body:is(.bocolis-etapes-commande, #bpf) .woocommerce-billing-fields__field-wrapper > .form-row { grid-column: span 2; width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; }
body:is(.bocolis-etapes-commande, #bpf) #billing_first_name_field { order: 1; }
body:is(.bocolis-etapes-commande, #bpf) #billing_last_name_field { order: 2; }
body:is(.bocolis-etapes-commande, #bpf) #billing_email_field { order: 3; }
body:is(.bocolis-etapes-commande, #bpf) #billing_phone_field { order: 4; }
body:is(.bocolis-etapes-commande, #bpf) #billing_address_1_field { order: 5; }
body:is(.bocolis-etapes-commande, #bpf) #billing_postcode_field { order: 6; grid-column: span 1; }
body:is(.bocolis-etapes-commande, #bpf) #billing_city_field { order: 7; grid-column: span 1; }
body:is(.bocolis-etapes-commande, #bpf) #billing_address_2_field { order: 8; grid-column: 1 / -1; }
body:is(.bocolis-etapes-commande, #bpf) #billing_country_field { order: 9; grid-column: 1 / -1; }
body:is(.bocolis-etapes-commande, #bpf) .woocommerce-billing-fields__field-wrapper > .form-row:not([id]) { order: 10; grid-column: 1 / -1; }
body:is(.bocolis-etapes-commande, #bpf) #customer_details .form-row label { margin: 0 0 6px !important; font-size: 14px !important; font-weight: 600 !important; color: #24301F !important; line-height: 1.3; }
body:is(.bocolis-etapes-commande, #bpf) #customer_details .form-row label .optional { font-weight: 400; color: #5B6B56; }
body:is(.bocolis-etapes-commande, #bpf) #customer_details .form-row label.screen-reader-text { position: static !important; width: auto !important; height: auto !important; clip: auto !important; clip-path: none !important; overflow: visible !important; }
body:is(.bocolis-etapes-commande, #bpf) #customer_details .input-text,
body:is(.bocolis-etapes-commande, #bpf) #customer_details select { height: 48px !important; box-sizing: border-box; border: 1px solid #B9C7B4 !important; border-radius: 12px !important; padding: 0 14px !important; font-size: 16px !important; color: #24301F !important; background: #fff !important; box-shadow: none !important; width: 100% !important; }
body:is(.bocolis-etapes-commande, #bpf) #customer_details .input-text:focus { border-color: #0E4806 !important; outline: 2px solid rgba(16, 133, 1, .2); outline-offset: 0; }
body:is(.bocolis-etapes-commande, #bpf) .woocommerce-account-fields, body:is(.bocolis-etapes-commande, #bpf) .woocommerce-shipping-fields { margin-top: 0; }
body:is(.bocolis-etapes-commande, #bpf) #ship-to-different-address, body:is(.bocolis-etapes-commande, #bpf) .woocommerce-account-fields .create-account { margin: 16px 0 0 !important; }
body:is(.bocolis-etapes-commande, #bpf) .shipping_address { margin-top: 14px; }

/* Paiement */
body:is(.bocolis-etapes-commande, #bpf) #payment { background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; }
body:is(.bocolis-etapes-commande, #bpf) #payment ul.payment_methods { margin: 0 0 14px !important; padding: 0 !important; border: 0 !important; list-style: none; }
body:is(.bocolis-etapes-commande, #bpf) #payment ul.payment_methods li { margin: 0 0 10px !important; padding: 16px !important; border: 1px solid #DCEAD7 !important; border-radius: 14px !important; background: #fff !important; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
body:is(.bocolis-etapes-commande, #bpf) #payment ul.payment_methods li:has(input:checked), body:is(.bocolis-etapes-commande, #bpf) #payment ul.payment_methods li:only-child { border: 2px solid #0E4806 !important; }
body:is(.bocolis-etapes-commande, #bpf) #payment ul.payment_methods li:last-child { margin-bottom: 0 !important; }
body:is(.bocolis-etapes-commande, #bpf) #payment ul.payment_methods li label { margin: 0 !important; flex: 1; display: flex !important; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px !important; font-weight: 600 !important; color: #24301F !important; }
body:is(.bocolis-etapes-commande, #bpf) #payment ul.payment_methods li label img { max-height: 22px; width: auto; margin: 0 0 0 4px !important; }
body:is(.bocolis-etapes-commande, #bpf) #payment ul.payment_methods li input[type="radio"] { width: 20px; height: 20px; margin: 0 !important; accent-color: #0E4806; }
body:is(.bocolis-etapes-commande, #bpf) #payment .payment_box { width: 100%; margin: 0 !important; padding: 0 !important; background: none !important; font-size: 14px; color: #5B6B56; }
body:is(.bocolis-etapes-commande, #bpf) #payment .payment_box::before { display: none; }
body:is(.bocolis-etapes-commande, #bpf) #payment .place-order { margin: 0 !important; padding: 0 !important; display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; align-items: center !important; justify-content: space-between !important; gap: 14px; }
body:is(.bocolis-etapes-commande, #bpf) #payment .woocommerce-terms-and-conditions-wrapper { flex-basis: 100%; font-size: 14px; color: #5B6B56; }
body:is(.bocolis-etapes-commande, #bpf) #payment .woocommerce-privacy-policy-text p { margin: 0 0 8px; font-size: 13px; color: #5B6B56; }
body:is(.bocolis-etapes-commande, #bpf) #payment .woocommerce-terms-and-conditions-checkbox-text { font-size: 14px; color: #24301F; }
body:is(.bocolis-etapes-commande, #bpf) #payment input#terms { width: 20px; height: 20px; accent-color: #0E4806; vertical-align: middle; margin-right: 8px; }
body:is(.bocolis-etapes-commande, #bpf) #payment #place_order { width: auto !important; height: 52px !important; margin: 0 0 0 auto !important; padding: 0 32px !important; border-radius: 999px !important; background: #0E4806 !important; color: #fff !important; font-size: 17px !important; font-weight: 600 !important; float: none !important; }
body:is(.bocolis-etapes-commande, #bpf) #payment #place_order:hover { background: #108501 !important; }

/* Récapitulatif « Votre commande » */
body:is(.bocolis-etapes-commande, #bpf) .e-checkout__column-end .e-checkout__order_review,
body:is(.bocolis-etapes-commande, #bpf) .e-checkout__column-end .e-checkout__order_review-2 { background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; }
body:is(.bocolis-etapes-commande, #bpf) .e-sticky-right-column { top: 96px; }
.bp-recap { background: #fff; border: 1px solid #DCEAD7; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 18px; color: #24301F; }
.bp-recap__titre { margin: 0 !important; font-size: 20px !important; font-weight: 700 !important; color: #0E4806 !important; }
.bp-recap__liste { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 12px; max-height: 360px; overflow-y: auto; }
.bp-recap__ligne { display: flex; align-items: center; gap: 12px; margin: 0 !important; }
.bp-recap__photo { width: 48px !important; height: 48px !important; flex: none; object-fit: cover; border-radius: 12px; border: 1px solid #DCEAD7; }
.bp-recap__produit { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bp-recap__nom { font-size: 15px; color: #24301F; line-height: 1.25; }
.bp-recap__qte { font-size: 13px; color: #5B6B56; }
.bp-recap__prix { font-size: 15px; font-weight: 600; white-space: nowrap; }
.bp-recap__montants { border-top: 1px solid #DCEAD7; padding-top: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.bp-recap__rang { display: flex; justify-content: space-between; gap: 12px; }
.bp-recap__attente { color: #5B6B56; }
.bp-recap__remise span:last-child { color: #108501; font-weight: 600; }
body:is(.bocolis-etapes, #bpf) .bp-recap__retirer { padding: 0; margin-left: 6px; border: 0; background: none; color: #5B6B56; font-size: 13px; text-decoration: underline; cursor: pointer; box-shadow: none; }
.bp-recap__total { border-top: 1px solid #DCEAD7; padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.bp-recap__total span { font-size: 17px; font-weight: 600; }
.bp-recap__total strong { font-size: 24px; font-weight: 700; color: #0E4806; }
.bp-recap__tva { margin-top: -12px; font-size: 13px; color: #5B6B56; }
.bp-recap__note { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; color: #5B6B56; }
.bp-recap__note svg { flex: none; }

/* ---------- Barre du bas (téléphone) ---------- */
.bp-barre { display: none; }

/* ---------- Confirmation ---------- */
.bp-merci-page { padding: 32px max(16px, env(safe-area-inset-left, 0px)) 56px; }
.bp-merci { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; color: #24301F; }
.bp-merci__carte { background: #fff; border: 1px solid #DCEAD7; border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; }
.bp-merci__rond { width: 64px; height: 64px; border-radius: 50%; background: #EEF6EB; color: #0E4806; display: inline-flex; align-items: center; justify-content: center; }
.bp-merci__rond.est-echec { background: #FDE7D3; color: #B45309; }
.bp-merci__titre { margin: 0 !important; font-size: 32px !important; line-height: 1.15 !important; color: #0E4806 !important; font-weight: 700 !important; text-wrap: balance; }
.bp-merci__sous { margin: 0; font-size: 17px; color: #5B6B56; overflow-wrap: anywhere; }
.bp-merci__creneau { width: 100%; box-sizing: border-box; border: 1px solid #DCEAD7; border-radius: 16px; padding: 18px; display: flex; gap: 14px; align-items: center; text-align: left; }
.bp-merci__icone { width: 44px; height: 44px; flex: none; border-radius: 12px; background: #EEF6EB; color: #0E4806; display: inline-flex; align-items: center; justify-content: center; }
.bp-merci__icone svg { width: 22px; height: 22px; }
.bp-merci__texte { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bp-merci__texte strong { font-size: 17px; font-weight: 600; }
.bp-merci__texte span { font-size: 14px; color: #5B6B56; }
.bp-merci__phrase { margin: 0; font-size: 15px; color: #5B6B56; }
.bp-merci__boutons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.bp-merci__parrainage { background: #fff; border: 1px solid #DCEAD7; border-radius: 20px; padding: 24px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.bp-merci__parr-texte { display: flex; flex-direction: column; gap: 4px; }
.bp-merci__parr-texte strong { font-size: 17px; font-weight: 600; color: #0E4806; }
.bp-merci__parr-texte span { font-size: 14px; color: #5B6B56; }
.bp-merci__parrainage a { font-size: 15px; font-weight: 600; color: #108501; }

/* ---------- Tablette ---------- */
@media (max-width: 1024px) {
	body:is(.bocolis-etapes-panier, #bpf) .e-cart__container { grid-template-columns: minmax(0, 1fr) 320px; }
	body:is(.bocolis-etapes-commande, #bpf) .e-checkout__container { grid-template-columns: minmax(0, 1fr) 320px !important; }
	body:is(.bocolis-etapes-panier, #bpf) table.cart tr.cart_item { grid-template-columns: 64px minmax(0, 1fr) auto 80px 32px; column-gap: 12px; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 767px) {
	.bp-entete { height: 56px; padding: 0 16px; }
	.bp-entete__retour span, .bp-entete__secu span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	body:is(.bocolis-etapes, #bpf) .bp-entete__logo { height: 40px !important; }
	.admin-bar .bp-entete { top: 0; }
	.bp-page-titre { font-size: 28px; margin-bottom: 16px; }
	body:is(.bocolis-etapes, #bpf) .bp-etapes { margin-bottom: 16px !important; }

	/* Panier */
	body:is(.bocolis-etapes-panier, #bpf) .e-cart__container { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	body:is(.bocolis-etapes-panier, #bpf) .e-cart__column-start .e-shop-table { padding: 4px 16px; border-radius: 18px; }
	body:is(.bocolis-etapes-panier, #bpf) table.cart tr.cart_item { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "photo nom suppr" "photo qte prix"; row-gap: 10px; column-gap: 12px; padding: 14px 0; }
	body:is(.bocolis-etapes-panier, #bpf) td.product-thumbnail { align-self: start; }
	body:is(.bocolis-etapes-panier, #bpf) td.product-thumbnail img { width: 64px !important; height: 64px !important; }
	body:is(.bocolis-etapes-panier, #bpf) td.product-name a { font-size: 16px; }
	body:is(.bocolis-etapes-panier, #bpf) td.product-quantity { justify-self: start; }
	body:is(.bocolis-etapes-panier, #bpf) td.product-subtotal { align-self: center; font-size: 16px; }
	body:is(.bocolis-etapes-panier, #bpf) td.product-remove { align-self: start; margin-top: -6px; }
	body:is(.bocolis-etapes-panier, #bpf) .e-cart__column-end .e-cart-totals { padding: 18px !important; border-radius: 18px !important; }
	body:is(.bocolis-etapes-panier, #bpf) .wc-proceed-to-checkout a.checkout-button { display: none !important; }

	/* Commande */
	body:is(.bocolis-etapes-commande, #bpf) .e-checkout__container { grid-template-columns: minmax(0, 1fr) !important; gap: 16px; }
	body:is(.bocolis-etapes-commande, #bpf) .e-checkout__column-start { gap: 16px; }
	body:is(.bocolis-etapes-commande, #bpf) #customer_details, .bp-section, .bp-recap { padding: 16px; border-radius: 18px; }
	body:is(.bocolis-etapes-commande, #bpf) .woocommerce-billing-fields > h3, .bp-section__titre { font-size: 19px !important; margin-bottom: 14px !important; }
	body:is(.bocolis-etapes-commande, #bpf) .woocommerce-billing-fields__field-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	body:is(.bocolis-etapes-commande, #bpf) #billing_first_name_field, body:is(.bocolis-etapes-commande, #bpf) #billing_last_name_field,
	body:is(.bocolis-etapes-commande, #bpf) #billing_postcode_field, body:is(.bocolis-etapes-commande, #bpf) #billing_city_field { grid-column: span 1; }
	body:is(.bocolis-etapes-commande, #bpf) #billing_email_field, body:is(.bocolis-etapes-commande, #bpf) #billing_phone_field, body:is(.bocolis-etapes-commande, #bpf) #billing_address_1_field { grid-column: 1 / -1; }
	.bp-continuer, body:is(.bocolis-etapes-commande, #bpf) #payment #place_order { display: none !important; }
	body:is(.bocolis-etapes-commande, #bpf) #payment .place-order { align-items: stretch !important; }
	.bp-recap__liste { max-height: none; }

	/* Modes en lignes compactes */
	body:is(.bocolis-etapes-commande, #bpf) .bp-modes { display: flex !important; flex-direction: column; gap: 8px !important; }
	body:is(.bocolis-etapes-commande, #bpf) .bp-mode { display: grid !important; grid-template-columns: 38px minmax(0, 1fr) 20px; column-gap: 12px; row-gap: 0; align-items: center; text-align: left; padding: 12px 14px !important; border-radius: 14px !important; min-height: 0 !important; }
	body:is(.bocolis-etapes-commande, #bpf) .bp-mode__haut { display: contents !important; }
	body:is(.bocolis-etapes-commande, #bpf) .bp-mode__icone { grid-column: 1; grid-row: 1 / span 4; width: 38px !important; height: 38px !important; border-radius: 10px !important; align-self: center; }
	body:is(.bocolis-etapes-commande, #bpf) .bp-mode__radio { grid-column: 3; grid-row: 1 / span 4; align-self: center; }
	body:is(.bocolis-etapes-commande, #bpf) .bp-mode__titre, body:is(.bocolis-etapes-commande, #bpf) .bp-mode__sous, body:is(.bocolis-etapes-commande, #bpf) .bp-mode__prix, body:is(.bocolis-etapes-commande, #bpf) .bp-mode__alerte { grid-column: 2; margin: 0 !important; }
	body:is(.bocolis-etapes-commande, #bpf) .bp-mode__titre { font-size: 16px !important; }
	body:is(.bocolis-etapes-commande, #bpf) .bp-mode__sous { font-size: 13px !important; line-height: 1.3; }
	body:is(.bocolis-etapes-commande, #bpf) .bp-mode__prix { font-size: 14px !important; }

	/* Barre collée en bas */
	body:is(.bocolis-etapes-panier, #bpf), body:is(.bocolis-etapes-commande, #bpf) { padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px)); }
	.bp-barre { display: flex; flex-direction: column; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid #DCEAD7; padding: 12px max(16px, env(safe-area-inset-left, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -6px 20px rgba(14, 72, 6, .06); }
	.bp-barre__ligne { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
	.bp-barre__libelle { color: #5B6B56; }
	.bp-barre__total { font-size: 18px; font-weight: 700; color: #0E4806; }
	.bp-barre__actions { display: flex; gap: 10px; }
	body:is(.bocolis-etapes, #bpf) .bp-barre__bouton { flex: 1; width: 100%; }
	.bp-barre__retour { width: 52px; height: 52px; flex: none; border-radius: 50%; border: 1.5px solid #DCEAD7; display: inline-flex; align-items: center; justify-content: center; color: #0E4806 !important; background: #fff; }
	.bp-continuer { display: none !important; }
	body:is(.bocolis-etapes-commande, #bpf) #payment .place-order .bp-retour { display: none !important; }

	/* Confirmation */
	.bp-merci-page { padding-top: 20px; }
	.bp-merci__carte { padding: 28px 18px; border-radius: 20px; gap: 18px; }
	.bp-merci__titre { font-size: 26px !important; }
	.bp-merci__sous { font-size: 15px; }
	.bp-merci__boutons { flex-direction: column; align-self: stretch; }
	.bp-merci__boutons .bp-bouton { width: 100%; }
}

/* ---------- Adresse : suggestions pendant la saisie ---------- */
body:is(.bocolis-etapes-commande, #bpf) .bp-ban { position: relative; display: block; }
.bp-ban__liste { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; list-style: none; margin: 0 !important; padding: 6px !important; background: #fff; border: 1px solid #DCEAD7; border-radius: 14px; box-shadow: 0 12px 28px rgba(14, 72, 6, .10); display: flex; flex-direction: column; gap: 2px; max-height: 320px; overflow-y: auto; }
.bp-ban__liste[hidden] { display: none !important; }
.bp-ban__choix { display: flex; align-items: center; gap: 12px; margin: 0 !important; padding: 12px 16px; border-radius: 10px; cursor: pointer; color: #0E4806; }
.bp-ban__choix.est-actif, .bp-ban__choix:hover { background: #EEF6EB; }
.bp-ban__choix svg { flex: none; }
.bp-ban__texte { display: flex; flex-direction: column; min-width: 0; }
body:is(.bocolis-etapes-commande, #bpf) .bp-ban__rue { font-size: 16px; color: #24301F; line-height: 1.3; }
body:is(.bocolis-etapes-commande, #bpf) .bp-ban__rue strong { font-weight: 600; }
body:is(.bocolis-etapes-commande, #bpf) .bp-ban__ville { font-size: 13px; color: #5B6B56; }
@media (max-width: 767px) {
	.bp-ban__choix { padding: 12px 14px; min-height: 44px; }
	body:is(.bocolis-etapes-commande, #bpf) #billing_address_1_field { position: relative; z-index: 5; }
}
