/* Carrello Chef Pluto: cagnolino grande, badge indipendente e azione Ecwid invariata. */
html body #chefpluto-cart.chefpluto-cart{position:fixed!important;top:12px!important;right:12px!important;left:auto!important;bottom:auto!important;width:184px!important;max-width:184px!important;height:184px!important;margin:0!important;transform:none!important;overflow:visible!important;z-index:10001!important;pointer-events:auto!important}
html body #chefpluto-cart .ec-cart-widget{width:100%!important;max-width:100%!important;transform:none!important;overflow:visible!important;cursor:pointer!important}
html body #chefpluto-cart .ec-minicart{position:relative!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:4px!important;box-sizing:border-box!important;transform:none!important}
html body #chefpluto-cart .ec-minicart__icon{display:block!important;width:176px!important;height:176px!important;min-width:176px!important;max-width:176px!important;margin:0!important;background-image:url('/assets/cart/chef-pluto-cart-dog.webp')!important;background-position:center!important;background-size:contain!important;background-repeat:no-repeat!important;transform:none!important}
html body #chefpluto-cart .ec-minicart__icon svg,html body #chefpluto-cart .ec-minicart__icon img{display:none!important}
html body #chefpluto-cart [class*="badge"],html body #chefpluto-cart [class*="counter"],html body #chefpluto-cart [class*="count"]{min-width:26px!important;height:26px!important;line-height:26px!important;font-size:15px!important;padding:0 6px!important;transform:none!important;box-sizing:border-box!important;pointer-events:none!important}
@media(max-width:768px){html body #chefpluto-cart.chefpluto-cart{width:120px!important;max-width:120px!important;height:120px!important;top:8px!important;right:8px!important}html body #chefpluto-cart .ec-minicart__icon{width:112px!important;min-width:112px!important;max-width:112px!important;height:112px!important}}

/* Riserva spazio al cagnolino: i comandi di navigazione restano raggiungibili. */
@media(min-width:769px){body .site-header .header-inner{padding-right:208px!important;box-sizing:border-box!important}}
@media(max-width:768px){html.cp-mobile-nav-ready body .site-header .header-inner{min-height:128px!important;padding:8px 136px 8px 12px!important;box-sizing:border-box!important}html.cp-mobile-nav-ready body .cp-mobile-tools{flex-direction:column!important;align-items:stretch!important;gap:6px!important}html.cp-mobile-nav-ready body .cp-mobile-tools button{width:94px!important;min-height:40px!important;padding:6px 8px!important}}

/* Shared cart link: the dog stays visible even before Ecwid renders its widget. */
html body #chefpluto-cart.chefpluto-cart{display:block!important;visibility:visible!important;opacity:1!important;isolation:isolate}
html body #chefpluto-cart.chefpluto-cart::after{display:none!important;content:none!important}
html body #chefpluto-cart.chefpluto-cart>.ec-cart-widget{display:none!important}
html body #chefpluto-cart .cp-unified-cart-link{display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;width:100%!important;height:100%!important;padding:4px!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;text-decoration:none!important;transform:none!important;cursor:pointer!important;box-sizing:border-box!important;visibility:visible!important;opacity:1!important}
html body #chefpluto-cart .cp-unified-cart-link>img{display:block!important;width:176px!important;height:176px!important;max-width:100%!important;object-fit:contain!important;background:transparent!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;box-shadow:none!important;transform:none!important}
html body #chefpluto-cart .cp-unified-cart-link:focus-visible{outline:3px solid #0e7f91!important;outline-offset:2px!important;border-radius:16px!important}
html body #chefpluto-cart .cp-unified-cart-count{display:flex!important;align-items:center!important;justify-content:center!important;position:absolute!important;top:4px!important;right:4px!important;min-width:28px!important;height:28px!important;line-height:28px!important;padding:0 6px!important;border:2px solid #fff!important;border-radius:999px!important;background:#302e28!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:700 15px/28px system-ui,sans-serif!important;box-shadow:0 2px 6px #0003!important;transform:none!important}
html body #chefpluto-cart .cp-unified-cart-count[hidden]{display:none!important}
@media(max-width:768px){html body #chefpluto-cart .cp-unified-cart-link>img{width:112px!important;height:112px!important}}

/* Desktop: keep the cart above fixed headers (legacy header z-index 99999). */
@media(min-width:769px){html body #chefpluto-cart.chefpluto-cart{z-index:1000000!important}}
