/* MG panier mobile (<=700px) - desktop inchange */
@media (max-width:700px){
/* ===== MINI-PANIER (tiroir) : pied de page compact ===== */
div[style*="-8px 20px"]{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:stretch!important;gap:8px!important;padding:10px 12px calc(12px + env(safe-area-inset-bottom,0px))!important}
div[style*="-8px 20px"]>div:first-child{flex:1 1 100%!important;gap:0 12px!important}
div[style*="-8px 20px"]>div:first-child>span:nth-child(-n+4),
div[style*="-8px 20px"]>div:first-child>span:nth-child(7){display:none!important}
div[style*="-8px 20px"]>div:first-child>span:nth-child(5),
div[style*="-8px 20px"]>div:first-child>span:nth-child(6){border-top:0!important;padding-top:0!important}
div[style*="-8px 20px"]>div:nth-child(2){display:none!important}
div[style*="-8px 20px"]>a{flex:1 1 calc(50% - 4px)!important;height:48px!important;font-size:15px!important;box-sizing:border-box!important}
div[style*="-8px 20px"]>button:nth-of-type(1){flex:1 1 calc(50% - 4px)!important;width:auto!important;height:48px!important;font-size:13px!important;line-height:1.15!important;padding:0 8px!important;text-align:center!important;box-sizing:border-box!important}
div[style*="-8px 20px"]>button:nth-of-type(1) svg{display:none!important}
div[style*="-8px 20px"]>button:nth-of-type(2){flex:1 1 100%!important;height:26px!important;padding:0!important}
/* ===== MINI-PANIER : lignes produit compactes, sans debordement ===== */
article[style*="84px minmax"]{grid-template-columns:64px minmax(0,1fr)!important;gap:10px!important;padding:10px!important;min-width:0!important;flex:none!important;overflow:visible!important}
article[style*="84px minmax"]>div:first-child{width:64px!important;height:64px!important}
article[style*="84px minmax"]>div:last-child{min-width:0!important}
article[style*="84px minmax"]>div:last-child>div:last-child{flex-wrap:wrap!important}
article[style*="84px minmax"] *{overflow-wrap:anywhere}
/* ===== /panier : plus de 2e liste produits ===== */
.cart-wrap{overflow-x:hidden}
.cart-grid{grid-template-columns:minmax(0,1fr)!important}
.col-main,.col-side,.summary{min-width:0!important}
.line-list{display:none!important}
.mg-m-recap{display:flex!important}
.sum-row{flex-wrap:wrap;gap:2px 8px}
.sum-row .k{min-width:0}
button:has(#payLabel),a:has(#payLabel){height:auto!important;min-height:52px!important;padding:10px 14px!important;white-space:normal!important}
#payLabel{white-space:normal!important;text-align:center!important;line-height:1.25!important}
}
.mg-m-recap{display:none}
.mg-m-recap{flex-direction:column;gap:8px;background:#fff;border:1px solid #e8e3db;border-radius:14px;padding:14px}
.mg-m-recap b{color:#0e3a47;font-size:15px}
.mg-m-recap button{height:46px;border-radius:12px;border:1.5px solid #0e3a47;background:#fff;color:#0e3a47;font-size:15px;font-weight:800;cursor:pointer;font-family:inherit}

/* mcart-panier-2 */
@media (max-width:700px){
html:has(.cart-wrap),body:has(.cart-wrap){overflow-x:clip!important}
.cart-hero .steps{gap:.3rem!important;flex-wrap:nowrap!important;font-size:.74rem!important}
.cart-hero .steps .arr{display:none!important}
.cart-hero .steps .s{gap:.3em!important;white-space:nowrap}
.cart-hero .steps .n{width:18px!important;height:18px!important;font-size:.68rem!important}
.cart-continue .muted{display:none!important}
.help-band{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:.5rem!important;margin-top:1rem!important}
.help-band .hb{flex-direction:column!important;text-align:center!important;gap:.3rem!important;padding:.6rem .35rem!important}
.help-band .hb svg{width:20px!important;height:20px!important}
.help-band .hb b{font-size:.74rem!important;line-height:1.2}
.help-band .hb span{display:none!important}
textarea.textarea{min-height:120px!important;height:auto!important;width:100%!important;box-sizing:border-box!important;line-height:1.4!important}
}
