/* Petit sac en papier dessiné (11/11/2026) : sort du bas du bandeau des pages Commande et Panier, et se pose sur le filet
   au-dessus du sous-total dans le panier rapide. On n'en voit que le haut : la boîte affiche le haut de l'image, le reste est coupé.
   Chargé par includes/nh-commande-c.php (même interrupteur nh_commande_c). Rotation de 4° dessinée dans le SVG. */
:root{--nh-sac:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 160' fill='none' stroke='%231A1A1A' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='rotate(4 65 145)'%3E%3Cg stroke-width='1.6'%3E%3Cpath d='M8 141c16 4 38 7 70 8'/%3E%3Cpath d='M12 146c20 3 44 5 66 5.5'/%3E%3Cpath d='M24 151c14 1.5 28 2 40 1.5'/%3E%3Cpath d='M90 148c10-1.5 20-3.5 30-7'/%3E%3Cpath d='M96 151c8-1 14-2 20-4'/%3E%3C/g%3E%3Cg stroke-width='1.1'%3E%3Cpath d='M3 137l8 2M70 155l12-1M104 150l14-3'/%3E%3C/g%3E%3Cpath d='M22 52 C40 51 66 50 86 49 L90 146 C66 145 38 143 15 140 Z' fill='%23FBF8F3' stroke-width='1.7'/%3E%3Cpath d='M86 49 L104 53 L114 133 L90 146 Z' fill='%23F1ECE4' stroke-width='1.7'/%3E%3Cpath d='M104 53 L101 129 L90 146' stroke-width='1.1'/%3E%3Cpath d='M101 129 L114 133' stroke-width='1.1'/%3E%3Cg stroke-width='1.3'%3E%3Cpath d='M34 58 C30 22 58 10 64 54'/%3E%3Cpath d='M37.5 57.5 C35 27 56 18 60.5 54'/%3E%3Cpath d='M52 55 C50 18 80 6 86 53'/%3E%3Cpath d='M55.5 55 C55 24 77 14 82.5 53'/%3E%3C/g%3E%3Cg stroke-width='2' stroke-dasharray='0.8 2.4'%3E%3Cpath d='M35.8 58 C32.6 24.5 57 14 62.2 54'/%3E%3Cpath d='M53.8 55 C52.6 21 78.5 10 84.2 53'/%3E%3C/g%3E%3Cg stroke-width='1.3' fill='%23FBF8F3'%3E%3Ccircle cx='36' cy='60' r='2.4'/%3E%3Ccircle cx='62.5' cy='58.5' r='2.4'/%3E%3C/g%3E%3Cg stroke-width='1'%3E%3Cpath d='M30 70l12-4M34 74l16-5M44 75l12-4M58 70l10-3M62 76l14-4M48 81l14-4'/%3E%3Cpath d='M20 96l5-3M19 103l7-4M18 110l7-4M18 117l6-3M17 124l9-5M18 131l6-3'/%3E%3Cpath d='M28 136l10-4M36 139l12-5M50 140l8-3'/%3E%3Cpath d='M92 66l8-4M92 74l9-5M93 82l9-5M93 90l10-5M94 98l10-5M95 106l10-5M95 114l11-5M96 122l11-5M97 130l9-4M98 138l6-3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}
body.woocommerce-checkout .nh-bandeau-woo,body.woocommerce-cart .nh-bandeau-woo{position:relative}
body.woocommerce-checkout .nh-bandeau-woo::after,body.woocommerce-cart .nh-bandeau-woo::after{content:"";position:absolute;pointer-events:none;z-index:2;
  right:max(24px,calc((100% - 1080px)/2 + 90px));bottom:0;width:140px;height:94px;background:var(--nh-sac) no-repeat center top/140px 172px}
@media (max-width:699px){body.woocommerce-checkout .nh-bandeau-woo::after,body.woocommerce-cart .nh-bandeau-woo::after{right:14px;width:92px;height:63px;background-size:92px 113px}}
/* panier rapide : posé sur le filet du pied, la liste garde de la place en bas */
.wc-block-mini-cart__footer{position:relative}
.wc-block-mini-cart__footer::before{content:"";position:absolute;pointer-events:none;bottom:100%;right:32px;width:96px;height:72px;margin-bottom:1px;background:var(--nh-sac) no-repeat center top/96px 118px}
.wc-block-mini-cart__items{padding-bottom:78px}

/* Haut du panier rapide (11/11) : bandeau beige comme les pages Panier / Commande, sans compteur (le nombre est sur l'icône du panier), croix ronde bien visible */
.wc-block-mini-cart__title{margin:-16px 0 16px!important;padding:30px 72px 26px 24px!important;-webkit-mask-image:none!important;mask-image:none!important;top:0!important;background:#DACFC3!important;font-size:28px!important;line-height:1.15!important;display:flex!important;align-items:baseline;flex-wrap:wrap;gap:4px 12px;position:relative;overflow:hidden}
.wc-block-components-drawer__close{top:22px!important;right:18px!important;width:42px!important;height:42px!important;min-height:0!important;margin:0!important;line-height:1!important;border-radius:50%!important;border:1.5px solid #1A1A1A!important;background:rgba(255,255,255,.35)!important;color:#1A1A1A!important;display:grid!important;place-items:center;padding:0!important;outline:none!important;box-shadow:none!important;z-index:3}
.wc-block-components-drawer__close:hover{background:#1A1A1A!important;color:#F5F2EC!important}
.wc-block-components-drawer__close:focus-visible{outline:2px solid #1A1A1A!important;outline-offset:2px}
.wc-block-components-drawer__close{opacity:1!important}
.wc-block-components-drawer__close svg{width:20px;height:20px;fill:currentColor;position:absolute;top:50%;left:50%;margin:0!important;transform:translate(-50%,-50%)}
.wc-block-components-drawer__close svg path{stroke:currentColor;stroke-width:.9}
.wc-block-mini-cart__title .wp-block-woocommerce-mini-cart-title-items-counter-block{display:none}
