/* SYCOW Woo Engine – stabilisation responsive des shortcodes classiques.
 * Charge après engine-* et woo-refine. Ne modifie jamais les paiements WooCommerce.
 */
body.sycow-woo-engine:is(.sycow-woo-cart,.sycow-woo-checkout,.sycow-woo-thankyou) :is(.woocommerce,.woocommerce *, .sycow-woo-steps,.sycow-woo-steps *){box-sizing:border-box}
body.sycow-woo-engine :is(.woocommerce,.woocommerce form,.woocommerce table,.woocommerce .cart-collaterals,.woocommerce #customer_details,.woocommerce #order_review){min-width:0;max-width:100%}
body.sycow-woo-engine .woocommerce :is(img,svg,iframe){max-width:100%}

/* Timeline : neutraliser explicitement les listes éditoriales et numérotations. */
body.sycow-woo-engine .sycow-woo-steps{display:block;width:100%;max-width:100%;margin:0 0 clamp(20px,3vw,34px);clear:both}
body.sycow-woo-engine .sycow-woo-steps__list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:clamp(7px,1.2vw,16px)!important;margin:0!important;padding:0!important;list-style:none!important;counter-reset:none!important}
body.sycow-woo-engine .sycow-woo-steps__item{display:flex!important;align-items:center;gap:clamp(7px,1vw,12px);min-width:0;min-height:64px;margin:0!important;padding:12px clamp(10px,1.6vw,18px)!important;border:1px solid var(--sy-border,#ddd);border-radius:var(--sy-radius-md,16px);background:var(--sy-surface,#fff);color:var(--sy-text-light,#888);list-style:none!important;font-family:var(--sy-font-body,inherit)}
body.sycow-woo-engine .sycow-woo-steps__item::marker,body.sycow-woo-engine .sycow-woo-steps__item::before{content:none!important}
body.sycow-woo-engine .sycow-woo-steps__item:not(:last-child)::after{content:none!important}
body.sycow-woo-engine .sycow-woo-steps__item.is-current{border-color:var(--sy-primary,#28aae2);background:color-mix(in srgb,var(--sy-primary,#28aae2) 9%,var(--sy-surface,#fff));color:var(--sy-text,#111)}
body.sycow-woo-engine .sycow-woo-steps__item.is-complete{color:var(--sy-text,#111)}
body.sycow-woo-engine .sycow-woo-steps__item.is-upcoming{opacity:.66}
body.sycow-woo-engine .sycow-woo-steps__index{display:grid!important;place-items:center;flex:0 0 32px;min-width:32px;height:32px;border:1px solid currentColor;border-radius:50%;font-weight:800;line-height:1}
body.sycow-woo-engine .sycow-woo-steps__item:is(.is-current,.is-complete) .sycow-woo-steps__index{border-color:var(--sy-primary,#28aae2);background:var(--sy-primary,#28aae2);color:var(--sy-btn-text,#fff)}
body.sycow-woo-engine .sycow-woo-steps__label{display:block;font:750 clamp(.77rem,1.25vw,.96rem)/1.3 var(--sy-font-heading,var(--sy-font-body,inherit));overflow-wrap:anywhere}

/* Panier : les deux colonnes totalisent < 100 %, quelles que soient les anciennes couches. */
@media(min-width:1051px){
 body.sycow-woo-engine.sycow-woo-cart .woocommerce-cart-form{float:left!important;clear:none!important;width:calc(100% - 350px)!important;max-width:calc(100% - 350px)!important;margin:0 22px 24px 0!important}
 body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart-collaterals{float:right!important;clear:none!important;width:328px!important;max-width:328px!important;margin:0!important}
 body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart-collaterals .cart_totals{float:none!important;width:100%!important;max-width:100%!important;position:sticky!important;top:100px!important}
}
body.sycow-woo-engine.sycow-woo-cart .woocommerce-cart-form table.shop_table{width:100%!important;max-width:100%!important;table-layout:auto!important;overflow:visible!important;border-collapse:separate;border-spacing:0}
body.sycow-woo-engine.sycow-woo-cart .woocommerce-cart-form :is(td,th){min-width:0!important;padding:12px 9px!important;vertical-align:middle!important}
body.sycow-woo-engine.sycow-woo-cart .woocommerce-cart-form td.product-name{min-width:0!important;overflow-wrap:anywhere}
body.sycow-woo-engine.sycow-woo-cart .woocommerce-cart-form td.product-thumbnail img{max-width:65px;height:auto}
body.sycow-woo-engine.sycow-woo-cart .woocommerce-cart-form td.actions .coupon{display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:wrap!important;float:left!important;max-width:100%;margin:0!important}
body.sycow-woo-engine.sycow-woo-cart .woocommerce-cart-form td.actions .coupon #coupon_code{width:145px!important;max-width:100%!important}
body.sycow-woo-engine.sycow-woo-cart .woocommerce-cart-form td.actions button[name="update_cart"]{float:right!important;max-width:100%!important;margin:0!important}
body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals :is(table,.wc-proceed-to-checkout,a.checkout-button){width:100%!important;max-width:100%!important}
body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals a.checkout-button{display:flex!important;align-items:center;justify-content:center;white-space:normal;text-align:center}
body.sycow-woo-engine.sycow-woo-cart .woocommerce::after{content:"";display:block;clear:both}

/* Checkout : colonne droite au niveau du premier bloc et sans débordement horizontal. */
body.sycow-woo-engine.sycow-woo-checkout{overflow-x:clip}
body.sycow-woo-engine.sycow-woo-checkout .woocommerce{width:100%;overflow:visible}
body.sycow-woo-engine.sycow-woo-checkout form.checkout :is(#customer_details,.col2-set,.col-1,.col-2,#order_review){min-width:0!important;max-width:100%!important}
body.sycow-woo-engine.sycow-woo-checkout form.checkout :is(input:not([type=radio]):not([type=checkbox]),select,textarea){max-width:100%;box-sizing:border-box}
body.sycow-woo-engine.sycow-woo-checkout form.checkout #order_review :is(table.shop_table,ul.payment_methods,.payment_box,#payment,.place-order){max-width:100%;min-width:0;box-sizing:border-box}
body.sycow-woo-engine.sycow-woo-checkout form.checkout #order_review table.shop_table{width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}
body.sycow-woo-engine.sycow-woo-checkout #order_review table.shop_table :is(td,th){min-width:0!important;overflow-wrap:anywhere!important;word-break:normal!important;padding:12px 10px!important}
body.sycow-woo-engine.sycow-woo-checkout #order_review table.shop_table :is(td,th):first-child{width:67%}
body.sycow-woo-engine.sycow-woo-checkout #payment{padding:14px!important;overflow:visible!important}
body.sycow-woo-engine.sycow-woo-checkout #payment ul.payment_methods{display:grid!important;gap:10px!important;padding:0!important;margin:0 0 14px!important;border:0!important;list-style:none!important}
body.sycow-woo-engine.sycow-woo-checkout #payment ul.payment_methods > li{display:block!important;margin:0!important;padding:14px!important;border:1px solid var(--sy-border,#ddd)!important;border-radius:var(--sy-radius-md,14px)!important;background:var(--sy-surface,#fff)!important;list-style:none!important;min-width:0!important}
body.sycow-woo-engine.sycow-woo-checkout #payment ul.payment_methods > li::marker,body.sycow-woo-engine.sycow-woo-checkout #payment ul.payment_methods > li::before{content:none!important;display:none!important}
body.sycow-woo-engine.sycow-woo-checkout #payment ul.payment_methods > li:has(input.input-radio:checked){border-color:var(--sy-primary,#28aae2)!important;background:color-mix(in srgb,var(--sy-primary,#28aae2) 6%,var(--sy-surface,#fff))!important}
body.sycow-woo-engine.sycow-woo-checkout #payment ul.payment_methods > li > label{display:inline!important;font-weight:750!important;color:var(--sy-text,#111)!important;cursor:pointer}
body.sycow-woo-engine.sycow-woo-checkout #payment ul.payment_methods input.input-radio{width:auto!important;accent-color:var(--sy-primary,#28aae2);margin:0 8px 0 0!important;vertical-align:middle}
body.sycow-woo-engine.sycow-woo-checkout #payment div.payment_box{width:100%!important;max-width:100%!important;margin:12px 0 0!important;overflow-wrap:anywhere;background:var(--sy-surface-soft,var(--sy-surface,#fff))!important}
body.sycow-woo-engine.sycow-woo-checkout #payment div.payment_box::before{display:none!important}
body.sycow-woo-engine.sycow-woo-checkout #payment #place_order{display:block!important;float:none!important;width:100%!important;max-width:100%!important;margin:12px 0 0!important}
@media(min-width:1051px){
 body.sycow-woo-engine.sycow-woo-checkout form.checkout{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(0,.95fr)!important;gap:0 clamp(20px,3vw,36px)!important;align-items:start!important}
 body.sycow-woo-engine.sycow-woo-checkout form.checkout #customer_details{grid-column:1!important;grid-row:1 / span 3!important;min-width:0!important}
 body.sycow-woo-engine.sycow-woo-checkout form.checkout #order_review_heading{grid-column:2!important;grid-row:1!important;align-self:start!important;position:relative!important;z-index:2!important;margin:0!important;padding:20px 22px 0!important;pointer-events:none}
 body.sycow-woo-engine.sycow-woo-checkout form.checkout #order_review{grid-column:2!important;grid-row:1!important;align-self:start!important;position:sticky!important;top:100px!important;min-width:0!important;margin:0!important;padding:70px 18px 18px!important}
}
@media(max-width:1050px){
 body.sycow-woo-engine.sycow-woo-cart .woocommerce-cart-form,body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart-collaterals{float:none!important;clear:both!important;width:100%!important;max-width:100%!important;margin:0 0 22px!important}
 body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart-collaterals .cart_totals{float:none!important;width:100%!important;position:static!important}
 body.sycow-woo-engine.sycow-woo-checkout form.checkout{display:block!important}
 body.sycow-woo-engine.sycow-woo-checkout form.checkout #order_review_heading{position:static!important;margin:20px 0 12px!important;padding:0!important;pointer-events:auto!important}
 body.sycow-woo-engine.sycow-woo-checkout form.checkout #order_review{position:static!important;top:auto!important;padding:18px!important}
}
@media(max-width:700px){
 body.sycow-woo-engine .sycow-woo-steps__list{gap:6px!important}
 body.sycow-woo-engine .sycow-woo-steps__item{flex-direction:column;justify-content:center;gap:6px;min-height:70px;padding:10px 4px!important;text-align:center}
 body.sycow-woo-engine .sycow-woo-steps__index{width:27px;height:27px;min-width:27px;flex-basis:27px}
 body.sycow-woo-engine .sycow-woo-steps__label{font-size:.68rem}
 body.sycow-woo-engine.sycow-woo-cart .woocommerce-cart-form td.actions .coupon{float:none!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;width:100%!important}
 body.sycow-woo-engine.sycow-woo-cart .woocommerce-cart-form td.actions .coupon #coupon_code{width:100%!important}
 body.sycow-woo-engine.sycow-woo-cart .woocommerce-cart-form td.actions button[name="update_cart"]{float:none!important;display:block!important;width:100%!important;margin-top:10px!important}
 body.sycow-woo-engine.sycow-woo-cart .woocommerce-cart-form table.shop_table{display:block;width:100%;overflow:visible}
 body.sycow-woo-engine.sycow-woo-cart .woocommerce-cart-form table.shop_table tbody{display:block}
 body.sycow-woo-engine.sycow-woo-cart .woocommerce-cart-form table.shop_table tr{max-width:100%}
 body.sycow-woo-engine.sycow-woo-cart .woocommerce-cart-form table.shop_table_responsive tr td{max-width:100%;overflow-wrap:anywhere}
 body.sycow-woo-engine.sycow-woo-checkout #payment{padding:10px!important}
 body.sycow-woo-engine.sycow-woo-checkout #order_review table.shop_table :is(td,th){padding:10px 8px!important}
}

/* SYCOW V2.6 : retouches finales, appliquées en dernier par le moteur. */
/* Formulaires : une colonne par champ, sans changement de la validation native. */
body.sycow-woo-engine.sycow-woo-checkout form.checkout #customer_details :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper){display:flow-root;width:100%}
body.sycow-woo-engine.sycow-woo-checkout form.checkout #customer_details :is(.form-row,.form-row-first,.form-row-last,.form-row-wide){float:none!important;clear:both!important;display:block!important;width:100%!important;max-width:100%!important;margin:0 0 16px!important}
body.sycow-woo-engine.sycow-woo-checkout form.checkout #customer_details .woocommerce-input-wrapper{display:block;width:100%}
/* WooCommerce génère parfois une col-2 vide quand aucune adresse de livraison n'est requise. */
body.sycow-woo-engine.sycow-woo-checkout #customer_details > .col-2:not(:has(input,select,textarea,button,label:not(.screen-reader-text),h3:not(:empty),p:not(:empty))){display:none!important}
body.sycow-woo-engine.sycow-woo-checkout :is(.woocommerce-shipping-fields,.woocommerce-additional-fields):empty{display:none!important}
body.sycow-woo-engine.sycow-woo-checkout .woocommerce-shipping-fields:not(:has(input,select,textarea,button)):not(:has(h3:not(:empty))){display:none!important}
/* Conserver les blocs affichant réellement des champs d'extensions. */
body.sycow-woo-engine.sycow-woo-checkout #customer_details > .col-2:has(> .woocommerce-shipping-fields:empty):not(:has(input,select,textarea,button,p:not(:empty))){display:none!important}

/* Timeline en chevrons, y compris sur mobile, sans numérotation de liste parasite. */
body.sycow-woo-engine .sycow-woo-steps__list{gap:clamp(9px,1.8vw,22px)!important}
body.sycow-woo-engine .sycow-woo-steps__item{position:relative!important;overflow:visible!important}
body.sycow-woo-engine .sycow-woo-steps__item:not(:last-child)::after{content:'›'!important;position:absolute!important;left:calc(100% + 2px)!important;top:50%!important;transform:translateY(-50%)!important;display:block!important;color:var(--sy-text-light,#888)!important;font:900 clamp(18px,2.6vw,28px)/1 var(--sy-font-body,inherit)!important;background:none!important;width:clamp(8px,1.7vw,22px)!important;height:auto!important;text-align:center!important;pointer-events:none!important}
body.sycow-woo-engine .sycow-woo-steps__item.is-complete .sycow-woo-steps__index{font-size:0!important}
body.sycow-woo-engine .sycow-woo-steps__item.is-complete .sycow-woo-steps__index::after{content:'✓';font-size:16px;line-height:1}
@media(max-width:700px){body.sycow-woo-engine .sycow-woo-steps__item:not(:last-child)::after{left:calc(100% + 1px)!important;font-size:19px!important}}

/* Total panier : tableau fiable même si le navigateur est étroit. */
body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals table.shop_table{table-layout:auto!important;border-collapse:separate!important;width:100%!important}
body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals table.shop_table tr{display:table-row!important}
body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals table.shop_table :is(th,td){display:table-cell!important;float:none!important;vertical-align:top!important;min-width:0!important;overflow-wrap:normal!important;word-break:normal!important;padding:14px 12px!important}
body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals table.shop_table th{width:42%!important;white-space:normal!important;hyphens:none!important;text-align:left!important;font-weight:750!important}
body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals table.shop_table td{width:58%!important;text-align:right!important;overflow-wrap:anywhere!important}
body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals table.shop_table td::before{display:none!important}
body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals :is(.cart-subtotal,.order-total) th{white-space:nowrap!important}
body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals{min-width:0!important}
@media(min-width:1051px){body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart-collaterals{width:360px!important;max-width:360px!important}body.sycow-woo-engine.sycow-woo-cart .woocommerce-cart-form{width:calc(100% - 386px)!important;max-width:calc(100% - 386px)!important}}
@media(max-width:370px){body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals table.shop_table :is(th,td){padding:12px 8px!important;font-size:.87rem}}


/* SYCOW V7: exceptions de mise en page pour les lignes d'expedition.
   Important : cette feuille du module est chargee apres style.css. */
body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals table.shop_table tr.shipping,
body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals table.shop_table tr.woocommerce-shipping-totals,
body.sycow-woo-engine.sycow-woo-checkout #order_review table.shop_table tr.shipping,
body.sycow-woo-engine.sycow-woo-checkout #order_review table.shop_table tr.woocommerce-shipping-totals{display:block!important;width:100%!important;max-width:100%!important}
body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals table.shop_table tr.shipping > :is(th,td),
body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals table.shop_table tr.woocommerce-shipping-totals > :is(th,td),
body.sycow-woo-engine.sycow-woo-checkout #order_review table.shop_table tr.shipping > :is(th,td),
body.sycow-woo-engine.sycow-woo-checkout #order_review table.shop_table tr.woocommerce-shipping-totals > :is(th,td){display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;text-align:left!important;box-sizing:border-box!important;padding:10px 12px!important;white-space:normal!important;overflow-wrap:break-word!important}
body.sycow-woo-engine .woocommerce :is(.cart_totals,#order_review) tr.shipping > th,
body.sycow-woo-engine .woocommerce :is(.cart_totals,#order_review) tr.woocommerce-shipping-totals > th{font-weight:800!important;padding-bottom:2px!important}
body.sycow-woo-engine .woocommerce :is(.cart_totals,#order_review) :is(ul#shipping_method,ul.woocommerce-shipping-methods){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important;width:100%!important;max-width:100%!important;min-width:0!important;list-style:none!important;padding:0!important;margin:0!important;text-align:left!important}
body.sycow-woo-engine .woocommerce :is(.cart_totals,#order_review) :is(ul#shipping_method,ul.woocommerce-shipping-methods) > li{display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;align-items:start!important;gap:10px!important;float:none!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;margin:0!important;padding:12px!important;border:1px solid var(--sy-border,#dce4ec)!important;border-radius:12px!important;background:var(--sy-surface-soft,#f4f8fb)!important;list-style:none!important;text-align:left!important}
body.sycow-woo-engine .woocommerce :is(.cart_totals,#order_review) :is(ul#shipping_method,ul.woocommerce-shipping-methods) > li::before{display:none!important;content:none!important}
body.sycow-woo-engine .woocommerce :is(.cart_totals,#order_review) :is(ul#shipping_method,ul.woocommerce-shipping-methods) > li:has(input:checked){border-color:var(--sy-primary,#28aae2)!important}
body.sycow-woo-engine .woocommerce :is(.cart_totals,#order_review) :is(ul#shipping_method,ul.woocommerce-shipping-methods) input[type=radio]{grid-column:1!important;float:none!important;position:static!important;display:block!important;width:18px!important;height:18px!important;margin:2px 0 0!important;accent-color:var(--sy-primary,#28aae2)!important}
body.sycow-woo-engine .woocommerce :is(.cart_totals,#order_review) :is(ul#shipping_method,ul.woocommerce-shipping-methods) label{grid-column:2!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;margin:0!important;padding:0!important;line-height:1.5!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;text-align:left!important;cursor:pointer!important}
body.sycow-woo-engine .woocommerce :is(.cart_totals,#order_review) .woocommerce-shipping-destination,
body.sycow-woo-engine .woocommerce :is(.cart_totals,#order_review) .woocommerce-shipping-calculator{width:100%!important;max-width:100%!important;text-align:left!important;overflow-wrap:break-word!important;word-break:normal!important;margin:12px 0 0!important}


/* =============================================================
   SYCOW V8 — Totaux panier & commande, expédition pleine largeur
   Corrige le conflit display:table-row / display:block de la V7.
   La structure WooCommerce reste intacte pour les mises à jour AJAX.
   ============================================================= */
/* Reconstituer les tableaux en blocs : ne plus laisser le navigateur
   calculer une cellule de livraison à 58% / 67% de la largeur. */
body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals table.shop_table,
body.sycow-woo-engine.sycow-woo-checkout #order_review table.shop_table{
  display:block!important;width:100%!important;max-width:100%!important;
  min-width:0!important;table-layout:auto!important;box-sizing:border-box!important;
}
body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals table.shop_table :is(tbody,tfoot),
body.sycow-woo-engine.sycow-woo-checkout #order_review table.shop_table :is(thead,tbody,tfoot){
  display:block!important;width:100%!important;min-width:0!important;
}
/* Sous-total et total sur deux colonnes sans forcer la livraison. */
body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals table.shop_table tr:not(.shipping):not(.woocommerce-shipping-totals),
body.sycow-woo-engine.sycow-woo-checkout #order_review table.shop_table tr:not(.shipping):not(.woocommerce-shipping-totals){
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;gap:12px!important;width:100%!important;
}
body.sycow-woo-engine.sycow-woo-checkout #order_review table.shop_table tr.cart_item{
  grid-template-columns:minmax(0,1fr) minmax(90px,auto)!important;
}
body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals table.shop_table tr:not(.shipping):not(.woocommerce-shipping-totals) > :is(th,td),
body.sycow-woo-engine.sycow-woo-checkout #order_review table.shop_table tr:not(.shipping):not(.woocommerce-shipping-totals) > :is(th,td){
  display:block!important;width:auto!important;max-width:none!important;
  min-width:0!important;float:none!important;box-sizing:border-box!important;
}
body.sycow-woo-engine .woocommerce :is(.cart_totals,#order_review) table.shop_table tr:not(.shipping):not(.woocommerce-shipping-totals) > :last-child{
  text-align:right!important;
}
/* Les deux cellules « Expédition » deviennent des lignes successives. */
body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals table.shop_table tr:is(.shipping,.woocommerce-shipping-totals),
body.sycow-woo-engine.sycow-woo-checkout #order_review table.shop_table tr:is(.shipping,.woocommerce-shipping-totals){
  display:block!important;width:100%!important;max-width:100%!important;
  min-width:0!important;box-sizing:border-box!important;
}
body.sycow-woo-engine.sycow-woo-cart .woocommerce .cart_totals table.shop_table tr:is(.shipping,.woocommerce-shipping-totals)>:is(th,td),
body.sycow-woo-engine.sycow-woo-checkout #order_review table.shop_table tr:is(.shipping,.woocommerce-shipping-totals)>:is(th,td){
  display:block!important;width:100%!important;max-width:100%!important;
  min-width:0!important;float:none!important;box-sizing:border-box!important;
  text-align:left!important;white-space:normal!important;
}
body.sycow-woo-engine .woocommerce :is(.cart_totals,#order_review) tr:is(.shipping,.woocommerce-shipping-totals) :is(ul#shipping_method,ul.woocommerce-shipping-methods),
body.sycow-woo-engine .woocommerce :is(.cart_totals,#order_review) tr:is(.shipping,.woocommerce-shipping-totals) :is(ul#shipping_method,ul.woocommerce-shipping-methods)>li{
  width:100%!important;max-width:100%!important;min-width:0!important;
  box-sizing:border-box!important;
}
/* Le titre et le contenu restent dans le même cadre sans séparateur étroit. */
body.sycow-woo-engine .woocommerce :is(.cart_totals,#order_review) tr:is(.shipping,.woocommerce-shipping-totals)>th{
  padding-bottom:6px!important;
}
body.sycow-woo-engine .woocommerce :is(.cart_totals,#order_review) tr:is(.shipping,.woocommerce-shipping-totals)>td{
  padding-top:4px!important;
}
/* Rétablir aussi la ligne de titre du tableau de commande. */
body.sycow-woo-engine.sycow-woo-checkout #order_review table.shop_table thead tr{
  grid-template-columns:minmax(0,1fr) auto!important;
}
/* Les moyens de livraison prennent vraiment la largeur disponible. */
body.sycow-woo-engine .woocommerce :is(.cart_totals,#order_review) :is(ul#shipping_method,ul.woocommerce-shipping-methods)>li{
  grid-template-columns:20px minmax(0,1fr)!important;
  padding:12px 14px!important;
}
body.sycow-woo-engine .woocommerce :is(.cart_totals,#order_review) :is(ul#shipping_method,ul.woocommerce-shipping-methods)>li>label{
  overflow-wrap:normal!important;word-break:normal!important;
}

/* Largeur externe : uniquement panier/commande avec moteur WooCommerce automatique. */
body.sycow-woo-engine.sycow-woo-cart :is(.woocommerce,.entry-content>.woocommerce),
body.sycow-woo-engine.sycow-woo-checkout :is(.woocommerce,.entry-content>.woocommerce){
  width:100%;
  max-width:1360px;
  min-width:0;
  margin-inline:auto;
}

/* ============================================================
   Sycow 2026 — Checkout classique : finition responsive.
   Ne change aucun champ, ordre de paiement ou validation.
   Ne cible jamais la page de confirmation de commande.
   ============================================================ */
body.sycow-woo-engine.sycow-woo-checkout:not(.woocommerce-order-received) .woocommerce,
body.sycow-woo-engine.sycow-woo-checkout:not(.woocommerce-order-received) .woocommerce form.checkout,
body.sycow-woo-engine.sycow-woo-checkout:not(.woocommerce-order-received) .woocommerce #customer_details,
body.sycow-woo-engine.sycow-woo-checkout:not(.woocommerce-order-received) .woocommerce #order_review {
  min-width:0;max-width:100%;box-sizing:border-box;
}
body.sycow-woo-engine.sycow-woo-checkout form.checkout #customer_details .form-row :is(label,.woocommerce-input-wrapper){
  min-width:0;max-width:100%;overflow-wrap:anywhere;
}
body.sycow-woo-engine.sycow-woo-checkout form.checkout #customer_details .form-row :is(input:not([type=checkbox]):not([type=radio]),select,textarea),
body.sycow-woo-engine.sycow-woo-checkout #order_review :is(input:not([type=checkbox]):not([type=radio]),select,textarea){
  width:100%;max-width:100%;min-width:0;box-sizing:border-box;
}
body.sycow-woo-engine.sycow-woo-checkout #order_review :is(.product-name,.product-total,.shipping,.woocommerce-shipping-totals) {
  min-width:0;overflow-wrap:anywhere;
}
body.sycow-woo-engine.sycow-woo-checkout #order_review #payment :is(.payment_box,.form-row,.woocommerce-terms-and-conditions-wrapper){
  min-width:0;max-width:100%;overflow-wrap:anywhere;
}
@media(max-width:767px){
  body.sycow-woo-engine.sycow-woo-checkout:not(.woocommerce-order-received) .woocommerce{width:100%;padding-inline:0;}
  body.sycow-woo-engine.sycow-woo-checkout form.checkout{display:block!important;width:100%;}
  body.sycow-woo-engine.sycow-woo-checkout form.checkout #customer_details,
  body.sycow-woo-engine.sycow-woo-checkout form.checkout #order_review{width:100%;max-width:100%;}
  body.sycow-woo-engine.sycow-woo-checkout form.checkout #customer_details :is(.col-1,.col-2){
    width:100%!important;max-width:100%!important;min-width:0!important;
    float:none!important;clear:both!important;padding:16px!important;
    margin:0 0 16px!important;box-sizing:border-box!important;
  }
  body.sycow-woo-engine.sycow-woo-checkout form.checkout #customer_details :is(.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields){
    min-width:0;padding:0!important;border:0!important;box-shadow:none!important;
    background:transparent!important;margin:0!important;
  }
  body.sycow-woo-engine.sycow-woo-checkout form.checkout #customer_details :is(.form-row,.form-row-first,.form-row-last,.form-row-wide){
    display:block!important;width:100%!important;max-width:100%!important;
    float:none!important;clear:both!important;margin:0 0 14px!important;
  }
  body.sycow-woo-engine.sycow-woo-checkout form.checkout #customer_details .form-row label{margin-bottom:6px!important;line-height:1.4;}
  body.sycow-woo-engine.sycow-woo-checkout form.checkout #order_review_heading{
    margin:22px 0 12px!important;padding:0!important;position:static!important;
  }
  body.sycow-woo-engine.sycow-woo-checkout form.checkout #order_review{
    position:static!important;top:auto!important;margin:0 0 18px!important;
    padding:16px 12px!important;
  }
  body.sycow-woo-engine.sycow-woo-checkout #order_review table.shop_table{width:100%!important;max-width:100%!important;margin:0!important;}
  body.sycow-woo-engine.sycow-woo-checkout #order_review table.shop_table tr.cart_item{
    grid-template-columns:minmax(0,1fr) minmax(78px,auto)!important;gap:10px!important;
  }
  body.sycow-woo-engine.sycow-woo-checkout #order_review table.shop_table tr.cart_item .product-name{line-height:1.45;}
  body.sycow-woo-engine.sycow-woo-checkout #order_review table.shop_table tr.cart_item .product-total{text-align:right!important;white-space:nowrap;}
  body.sycow-woo-engine.sycow-woo-checkout #order_review :is(ul#shipping_method,ul.woocommerce-shipping-methods){width:100%!important;max-width:100%!important;padding-left:0!important;}
  body.sycow-woo-engine.sycow-woo-checkout #payment{padding:10px!important;margin-top:14px!important;}
  body.sycow-woo-engine.sycow-woo-checkout #payment ul.payment_methods > li{padding:12px!important;}
  body.sycow-woo-engine.sycow-woo-checkout #payment .place-order{padding:12px 4px!important;}
  body.sycow-woo-engine.sycow-woo-checkout #payment #place_order{
    display:flex!important;width:100%!important;min-height:52px!important;
    white-space:normal!important;line-height:1.4!important;
  }
  body.sycow-woo-engine.sycow-woo-checkout .select2-container{width:100%!important;max-width:100%!important;}
}
