/* Menu Go · carrello a comanda + riquadro "Tipo di consegna" (caricati su tutte le pagine, anche quelle Elementor) */
.mgc{--mgc-ink:#1d2a5c;--mgc-red:#e23b22;--mgc-night:#0e1330;--mgc-paper:#fffdf8;--mgc-fm:"IBM Plex Mono",ui-monospace,Consolas,monospace;--mgc-fb:"Manrope","Segoe UI",system-ui,sans-serif;position:fixed;right:20px;bottom:20px;z-index:9990;width:236px;display:flex;flex-direction:column;align-items:center;border:0;padding:0;background:none;cursor:pointer;font:inherit;text-align:left;opacity:0;transform:translateY(16px);transition:opacity .35s,transform .45s cubic-bezier(.2,.7,0,1);-webkit-tap-highlight-color:transparent}
.mgc.is-ready{opacity:1;transform:none}
.mgc:focus-visible{outline:none}
.mgc:focus-visible .mgc__printer{box-shadow:0 0 0 3px #ffb547,0 18px 34px -14px rgba(0,0,0,.65)}
.mgc__printer{position:relative;z-index:2;width:100%;height:46px;border-radius:16px 16px 10px 10px;background:linear-gradient(180deg,#26306a,#0e1330);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 18px 34px -14px rgba(0,0,0,.65);display:flex;align-items:center;justify-content:space-between;padding:0 14px 6px}
.mgc__printer::after{content:"";position:absolute;left:14px;right:14px;bottom:8px;height:5px;border-radius:3px;background:#05081a}
.mgc__name{font:600 10.5px/1 var(--mgc-fm);letter-spacing:.16em;color:#b8bfdc;text-transform:uppercase}
.mgc__led{width:8px;height:8px;border-radius:50%;background:#5be3a3;box-shadow:0 0 10px #5be3a3}
.mgc.is-full .mgc__led{background:var(--mgc-red);box-shadow:0 0 12px var(--mgc-red);animation:mgc-blink 1.4s ease-in-out infinite}
@keyframes mgc-blink{50%{opacity:.35}}
.mgc__count{position:absolute;left:-8px;top:-10px;min-width:26px;height:26px;padding:0 7px;border-radius:999px;background:var(--mgc-red);color:#fff;font:700 13px/26px var(--mgc-fm);text-align:center;box-shadow:0 0 0 3px #fff,0 8px 16px -6px rgba(226,59,34,.8)}
.mgc:not(.is-full) .mgc__count{display:none}
.mgc.is-bump .mgc__count{animation:mgc-bump .6s cubic-bezier(.2,1.6,.4,1)}
@keyframes mgc-bump{0%{transform:scale(.4)}100%{transform:scale(1)}}
.mgc__slot{position:relative;z-index:1;width:88%;margin-top:-14px;overflow:hidden;padding-bottom:10px}
.mgc__paper{position:relative;display:block;background:var(--mgc-paper);color:#1b1b1b;font:500 11.5px/1.5 var(--mgc-fm);padding:20px 14px 12px;transform:rotate(-1.2deg);transform-origin:50% 0;filter:drop-shadow(0 14px 18px rgba(0,0,0,.28));transition:transform .4s cubic-bezier(.2,.7,0,1)}
.mgc__paper::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:8px;background:linear-gradient(-135deg,var(--mgc-paper) 5.5px,transparent 0) 0 0/11px 8px repeat-x,linear-gradient(135deg,var(--mgc-paper) 5.5px,transparent 0) 0 0/11px 8px repeat-x}
.mgc.is-printing .mgc__paper{animation:mgc-feed .9s steps(6,end)}
@keyframes mgc-feed{from{transform:translateY(-100%) rotate(0)}to{transform:translateY(0) rotate(-1.2deg)}}
.mgc:hover .mgc__paper{transform:rotate(0) translateY(3px)}
.mgc__h{display:flex;justify-content:space-between;align-items:baseline;font-weight:700;font-size:12.5px;letter-spacing:.1em;border-bottom:1px dashed #9a9a9a;padding-bottom:6px;margin-bottom:6px}
.mgc__h span{font-weight:500;font-size:11px;letter-spacing:0;color:#666}
.mgc__lines{display:block}
.mgc__l{display:flex;justify-content:space-between;gap:8px;white-space:nowrap}
.mgc__l b{font-weight:500;overflow:hidden;text-overflow:ellipsis}
.mgc__more{display:block;color:#777;font-size:10.5px}
.mgc__empty{display:block;color:#666;padding:2px 0 4px}
.mgc__tot{display:flex;justify-content:space-between;border-top:1px dashed #9a9a9a;margin-top:6px;padding-top:6px;font-weight:700;font-size:13px}
.mgc__cta{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:10px;padding:9px 10px;border-radius:999px;background:linear-gradient(180deg,#ff6243,var(--mgc-red));color:#fff;font:800 12.5px/1 var(--mgc-fb);letter-spacing:0;box-shadow:0 10px 20px -10px rgba(226,59,34,.85)}
.mgc .mgc__cta,.mgc .mgc__cta *{color:#fff}.mgc:not(.is-full) .mgc__tot{display:none}.mgc:not(.is-full) .mgc__empty{padding-bottom:0}
.mgc__cta i{font-style:normal;transition:transform .25s}
.mgc:hover .mgc__cta i{transform:translateX(3px)}
body:has(.fb_popup_modal.open) .mgc{opacity:0;pointer-events:none}
html body .fb_cart_count_btn{display:none!important}
.mgc button{font:inherit;color:inherit;margin:0;-webkit-appearance:none;appearance:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.mgc .mgc__printer{border:0;color:inherit;text-align:left}
.mgc .mgc__printer:focus-visible{outline:none;box-shadow:0 0 0 3px #ffb547,0 18px 34px -14px rgba(0,0,0,.65)}
.mgc .mgc__cta{width:100%;border:0;font:800 12.5px/1 var(--mgc-fb)}
.mgc .mgc__b{font:800 13.5px/1.1 var(--mgc-fb)}
.mgc .mgc__cta:focus-visible,.mgc .mgc__b:focus-visible{outline:2px solid #ffb547;outline-offset:2px}
.mgc__p,.mgc__del,.mgc__acts{display:none}
.mgc__l--x{display:none}
/* scontrino aperto: si allunga con tutti i piatti e i due pulsanti */
.mgc.is-open{width:300px;cursor:default}
.mgc.is-open .mgc__paper{transform:none;font-size:12.5px;padding:22px 16px 16px}
.mgc.is-open:hover .mgc__paper{transform:none}
.mgc.is-open .mgc__h{font-size:13.5px}
.mgc.is-open .mgc__lines{max-height:min(46vh,360px);overflow-y:auto;overscroll-behavior:contain;margin-right:-6px;padding-right:6px}
.mgc.is-open .mgc__l,.mgc.is-open .mgc__l--x{display:grid!important;grid-template-columns:minmax(0,1fr) auto 26px;align-items:center;gap:8px;padding:5px 0;border-bottom:1px dotted #d6d1c4;white-space:normal}
.mgc.is-open .mgc__l:last-child{border-bottom:0}
.mgc.is-open .mgc__l b{white-space:normal;overflow:visible;line-height:1.35}
.mgc.is-open .mgc__p{display:block;font-weight:700;white-space:nowrap}
.mgc.is-open .mgc__del{display:grid;place-items:center;width:26px;height:26px;border:0;border-radius:50%;background:#f1ede3;color:#1d2a5c;font:700 15px/1 var(--mgc-fb);padding:0;transition:background .2s,color .2s}
.mgc.is-open .mgc__del:hover{background:var(--mgc-red);color:#fff}
.mgc__l.is-gone{opacity:.35;pointer-events:none}
.mgc.is-open .mgc__more,.mgc.is-open .mgc__cta{display:none}
.mgc.is-open .mgc__tot{font-size:15px;margin-top:8px;padding-top:8px}
.mgc.is-open .mgc__acts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.mgc__b{display:flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:10px 12px;border-radius:999px;font:800 13.5px/1.1 var(--mgc-fb);text-align:center;text-decoration:none!important;letter-spacing:0;transition:transform .2s,box-shadow .2s,background .2s}
.mgc .mgc__b--more{background:#fff;color:var(--mgc-ink);border:1.5px solid var(--mgc-ink)}
.mgc .mgc__b--more:hover{background:var(--mgc-ink);color:#fff}
.mgc .mgc__b--pay{background:linear-gradient(180deg,#ff6243,var(--mgc-red));color:#fff!important;border:0;box-shadow:0 10px 20px -10px rgba(226,59,34,.85)}
.mgc .mgc__b--pay:hover{transform:translateY(-1px)}
.mgc .mgc__b--pay i{font-style:normal}
html.mgc-open .fb-address-information{opacity:0;pointer-events:none}
@media(max-width:600px){.mgc{width:196px;right:12px;bottom:12px}.mgc__paper{padding:16px 11px 9px;font-size:10.5px}.mgc:not(.is-open) .mgc__l:nth-child(n+3){display:none}.mgc.is-open{width:calc(100vw - 24px);max-width:380px}.mgc.is-open .mgc__paper{font-size:13px;padding:20px 14px 14px}.mgc.is-open .mgc__lines{max-height:48vh}.mgc.is-open .mgc__acts{gap:8px}.mgc .mgc__b{min-height:50px;font-size:14px}.mgc__h{margin-bottom:4px;padding-bottom:4px;font-size:11.5px}.mgc__tot{margin-top:4px;padding-top:4px;font-size:12px}.mgc .mgc__cta{margin-top:7px;padding:7px 8px;font-size:11.5px}.mgc__printer{height:36px;padding-bottom:5px}.mgc__name{font-size:9.5px;letter-spacing:.12em}.mgc__slot{margin-top:-12px}}
@media(prefers-reduced-motion:reduce){.mgc,.mgc *{animation:none!important;transition:none!important}}

/* Riquadro FoodBook "Tipo di consegna": pillola scura Menu Go in basso a sinistra */
html body .fb-address-information{position:fixed!important;top:auto!important;bottom:20px!important;left:20px!important;right:auto!important;z-index:9980!important;width:auto!important;max-width:calc(100vw - 240px);height:auto!important;min-height:0!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:999px!important;box-shadow:none!important;overflow:visible!important}
html body .fb-address-information .marker-icon-wrapper,html body .fb-address-information .fb-address-entry.fb-address-entry-hidden{display:none!important}
html body .fb-address-information:not(.fb-address-information-minimized){display:flex;flex-direction:column;gap:8px}
html body .fb-address-information .fb-address-entry:not(.fb-address-entry-hidden){display:flex!important;}html body .fb-address-information .fb-address-entry{align-items:center!important;gap:10px!important;margin:0!important;padding:10px 40px 10px 12px!important;min-height:0!important;width:auto!important;background:rgba(14,19,48,.9)!important;color:#fff!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:999px!important;box-shadow:0 18px 36px -16px rgba(0,0,0,.65)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
html body .fb-address-information .fb-address-entry .marker-icon{width:30px!important;height:30px!important;flex:none;border-radius:50%;background:#e23b22;display:grid!important;place-items:center;margin:0!important;box-shadow:0 0 14px rgba(226,59,34,.7)}
html body .fb-address-information .fb-address-entry .marker-icon img{width:14px!important;height:14px!important;filter:brightness(0) invert(1)}
html body .fb-address-information .delivery-type-content{display:flex!important;flex-direction:column;gap:2px;margin:0!important;padding:0!important}
html body .fb-address-information .delivery-type-content h3{margin:0!important;font:600 10px/1.1 "IBM Plex Mono",ui-monospace,Consolas,monospace!important;letter-spacing:.14em!important;text-transform:uppercase;color:#b8bfdc!important}
html body .fb-address-information .delivery-type-content :is(p,span,div){margin:0!important;font:700 14px/1.2 "Manrope","Segoe UI",system-ui,sans-serif!important;color:#fff!important}
html body .fb-address-information .fb_clear_your_address{position:absolute!important;right:12px!important;top:50%!important;left:auto!important;bottom:auto!important;transform:translateY(-50%)!important;width:24px!important;height:24px!important;border-radius:50%!important;background:rgba(255,255,255,.12)!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important;cursor:pointer;z-index:2;box-shadow:none!important}
html body .fb-address-information .fb_clear_your_address img{width:10px!important;height:10px!important;filter:brightness(0) invert(1)}
html body .fb-address-information .fb_clear_your_address:hover{background:#e23b22!important}
@media(max-width:600px){html body .fb-address-information{left:12px!important;bottom:12px!important;max-width:calc(100vw - 210px)}html body .fb-address-information .delivery-type-content h3{display:none!important}html body .fb-address-information .fb-address-entry{padding:7px 36px 7px 8px!important}html body .fb-address-information .fb-address-entry .marker-icon{width:26px!important;height:26px!important}html body .fb-address-information .delivery-type-content :is(p,span,div){font-size:13px!important}}
/* piatto che vola nello scontrino dopo "Aggiungi all'ordine" */
.mgc-fly{position:fixed;z-index:10000;width:64px;height:64px;border-radius:50%;background:#e23b22 center/cover;border:3px solid #fff;box-shadow:0 14px 30px -8px rgba(10,14,34,.6);pointer-events:none;transform:translate(-50%,-50%)}
.mgc.is-got .mgc__printer{animation:mgc-got .6s cubic-bezier(.2,1.6,.4,1)}
@keyframes mgc-got{40%{transform:scale(1.06)}}
.mgc.is-got .mgc__led{background:#ffb547;box-shadow:0 0 14px #ffb547}
