/* Nelb WC Macchedil Pack — Navbar Pillola mobile (nelb_pill_nav) */

.nelb-pillnav{display:none}
.nelb-pillnav--vis-always{display:block}
@media(max-width:767px){.nelb-pillnav--vis-mobile{display:block}}

body.has-nelb-pillnav{padding-bottom:92px}
@media(min-width:768px){body.has-nelb-pillnav:not(.nelb-pillnav-always){padding-bottom:0}}

/* ── Pillola ── */
.nelb-pillnav__bar{position:fixed;left:14px;right:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px));height:64px;background:var(--pn-bar-bg,#fff);border:1px solid var(--pn-bar-bd,#EDEDED);border-radius:999px;box-shadow:0 10px 30px rgba(20,20,20,.16);display:flex;align-items:center;justify-content:space-around;padding:6px;z-index:999}
/* Specificità rinforzata: il Theme Style colora tutti gli <a> di arancio */
.nelb-pillnav .nelb-pillnav__bar a.nelb-pillnav__tab{flex:1;height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:999px;color:var(--pn-inactive,#9A9A9A);text-decoration:none;-webkit-tap-highlight-color:transparent;transition:background .18s ease,color .18s ease}
.nelb-pillnav .nelb-pillnav__bar a.nelb-pillnav__tab svg{width:var(--pn-icon,22px);height:var(--pn-icon,22px);display:block}
.nelb-pillnav .nelb-pillnav__bar a.nelb-pillnav__tab span{color:inherit;font:800 10px/1 'Libre Franklin',sans-serif;font-size:var(--pn-label,10px);letter-spacing:.05em;text-transform:uppercase}
.nelb-pillnav .nelb-pillnav__bar a.nelb-pillnav__tab.is-on{background:var(--pn-act-bg,#FFF3EF);color:var(--pn-act,#FE3F12)}
.nelb-pillnav .nelb-pillnav__bar a.nelb-pillnav__tab.is-on-blu{background:var(--pn-blu-bg,#E0F2FE);color:var(--pn-blu,#0C4A6E)}
.nelb-pillnav .nelb-pillnav__bar a.nelb-pillnav__tab.is-on-blu svg{color:#0284C7}
.nelb-pillnav .nelb-pillnav__bar a.nelb-pillnav__tab:focus-visible{outline:2px solid #FE3F12;outline-offset:-2px}

/* ── FAB ── */
.nelb-pillnav__fabs{position:fixed;right:14px;bottom:calc(96px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:10px;z-index:999}
.nelb-pillnav a.nelb-pillnav__fab{width:44px;height:44px;border-radius:999px;background:var(--pn-fab-bg,#fff);border:1px solid var(--pn-bar-bd,#EDEDED);box-shadow:0 6px 20px rgba(20,20,20,.14);display:flex;align-items:center;justify-content:center;color:var(--pn-fab,#212121);text-decoration:none;position:relative;-webkit-tap-highlight-color:transparent;transition:transform .12s ease}
.nelb-pillnav a.nelb-pillnav__fab:active{transform:scale(.94)}
.nelb-pillnav a.nelb-pillnav__fab svg{width:20px;height:20px}
.nelb-pillnav__badge{position:absolute;top:-4px;right:-4px;min-width:17px;height:17px;border-radius:999px;background:var(--pn-badge,#FE3F12);color:#fff;font:800 10px/17px 'Libre Franklin',sans-serif;text-align:center;padding:0 4px;box-shadow:0 2px 6px rgba(254,63,18,.4)}
.nelb-pillnav__badge[hidden]{display:none}

/* ── Skin DARK (Nolopoint) ── */
.nelb-pillnav--dark .nelb-pillnav__bar{background:#242424;border-color:#3A3A3A;box-shadow:0 10px 30px rgba(0,0,0,.5)}
.nelb-pillnav.nelb-pillnav--dark .nelb-pillnav__bar a.nelb-pillnav__tab{color:#8C8C8C}
.nelb-pillnav--dark .nelb-pillnav .nelb-pillnav__bar a.nelb-pillnav__tab.is-on{background:rgba(254,63,18,.14);color:#FF6038}
.nelb-pillnav--dark .nelb-pillnav .nelb-pillnav__bar a.nelb-pillnav__tab.is-on-blu{background:rgba(107,192,236,.14);color:#6BC0EC}
.nelb-pillnav--dark .nelb-pillnav .nelb-pillnav__bar a.nelb-pillnav__tab.is-on-blu svg{color:#6BC0EC}
.nelb-pillnav.nelb-pillnav--dark a.nelb-pillnav__fab{background:#242424;border-color:#3A3A3A;color:#fff}

/* ══ Carrello bottom sheet ══ */
.nelb-csheet[hidden]{display:none}
.nelb-csheet__scrim{position:fixed;inset:0;background:rgba(27,27,27,.55);z-index:1000;opacity:0;transition:opacity .2s ease}
.nelb-csheet.is-open .nelb-csheet__scrim{opacity:1}
.nelb-csheet__panel{position:fixed;left:0;right:0;bottom:0;z-index:1001;background:#fff;border-radius:20px 20px 0 0;box-shadow:0 -12px 40px rgba(0,0,0,.25);display:flex;flex-direction:column;max-height:78dvh;transform:translateY(100%);transition:transform .26s cubic-bezier(.32,.72,.35,1)}
.nelb-csheet.is-open .nelb-csheet__panel{transform:translateY(0)}
.nelb-csheet__handle{width:44px;height:5px;border-radius:999px;background:#E0E0E0;margin:10px auto 4px;flex:0 0 auto}
.nelb-csheet__head{display:flex;align-items:center;justify-content:space-between;padding:8px 18px 12px;border-bottom:1px solid #EDEDED;flex:0 0 auto}
.nelb-csheet__t{font:800 15px 'Libre Franklin',sans-serif;text-transform:uppercase;letter-spacing:.04em;color:#212121}
.nelb-csheet__n{font:700 12px Gudea,sans-serif;color:#9A9A9A;margin-left:4px}
.nelb-csheet__x{width:30px;height:30px;border-radius:999px;background:#F5F7F7;display:flex;align-items:center;justify-content:center;color:#212121;font-size:14px;cursor:pointer}
.nelb-csheet__body{overflow:auto;padding:6px 18px;flex:1 1 auto;-webkit-overflow-scrolling:touch}
.nelb-csheet__empty{padding:28px 0;text-align:center;font:400 14px Gudea,sans-serif;color:#9A9A9A}
.nelb-csheet__item{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #EDEDED}
.nelb-csheet__ph{flex:0 0 64px;width:64px;height:64px;border-radius:10px;background:#F5F7F7;border:1px solid #EDEDED;overflow:hidden;display:flex;align-items:center;justify-content:center}
.nelb-csheet__ph img{width:100%;height:100%;object-fit:contain}
.nelb-csheet__bd{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.nelb-csheet__bd b{font:800 13px/1.3 'Libre Franklin',sans-serif;color:#212121}
.nelb-csheet__bd small{font:400 12px Gudea,sans-serif;color:#9A9A9A}
.nelb-csheet__p{font:800 14px 'Libre Franklin',sans-serif;color:#212121}
.nelb-csheet__p small{font:700 11px Gudea,sans-serif;color:#9A9A9A}
.nelb-csheet__qty{display:inline-flex;align-items:center;border:1.5px solid #E0E0E0;border-radius:10px;overflow:hidden;margin-top:4px;align-self:flex-start;background:#fff}
.nelb-csheet__qbtn{width:28px;height:28px;display:flex;align-items:center;justify-content:center;font:800 14px 'Libre Franklin',sans-serif;color:#212121;cursor:pointer}
.nelb-csheet__qbtn:hover{background:#F5F7F7}
.nelb-csheet__qty i{width:34px;text-align:center;font:700 14px Gudea,sans-serif;font-style:normal;color:#212121}
.nelb-csheet__remove{align-self:flex-start;color:#9A9A9A;font-size:15px;cursor:pointer;padding:2px}
.nelb-csheet__remove:hover{color:#DC2626}
.nelb-csheet__item.is-busy{opacity:.45;pointer-events:none}
.nelb-csheet__foot{border-top:1px solid #EDEDED;padding:14px 18px calc(16px + env(safe-area-inset-bottom,0px));flex:0 0 auto;background:#fff}
.nelb-csheet__sub{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:4px}
.nelb-csheet__sub .l{font:700 13px Gudea,sans-serif;color:#4A4A4A}
.nelb-csheet__sub .v{font:800 20px 'Libre Franklin',sans-serif;color:#212121}
.nelb-csheet__sub .v small{font:700 11px Gudea,sans-serif;color:#9A9A9A}
.nelb-csheet__note{font:400 12px Gudea,sans-serif;color:#9A9A9A;margin-bottom:12px}
.nelb-csheet__ctas{display:flex;gap:10px}
.nelb-csheet__ctas a{display:flex;align-items:center;justify-content:center;font:800 13px 'Libre Franklin',sans-serif;letter-spacing:.04em;text-transform:uppercase;border-radius:10px;text-decoration:none;height:48px}
.nelb-csheet__view{padding:0 16px;background:#fff;color:#212121;border:1.5px solid #212121}
.nelb-csheet__go{flex:1;background:#FE3F12;color:#fff}
.nelb-csheet__go:hover{background:#E5380F}


/* ══ Feedback tocco e caricamento ══ */
.nelb-pillnav .nelb-pillnav__bar a.nelb-pillnav__tab{transition:background .18s ease,color .18s ease,transform .1s ease}
.nelb-pillnav .nelb-pillnav__bar a.nelb-pillnav__tab:active{transform:scale(.93);background:#F5F7F7}
.nelb-pillnav.nelb-pillnav--dark .nelb-pillnav__bar a.nelb-pillnav__tab:active{background:rgba(255,255,255,.06)}
@keyframes nelb-pn-pulse{0%,100%{opacity:1}50%{opacity:.35}}
.nelb-pillnav .nelb-pillnav__bar a.nelb-pillnav__tab.is-loading svg,
.nelb-pillnav .nelb-pillnav__bar a.nelb-pillnav__tab.is-loading span{animation:nelb-pn-pulse .9s ease infinite}
