/* Ua Che Switch! – menu digitale */
body.pf-wide .pf-main { max-width: 860px; }
.pf-menu { --pf-accent: var(--accent, #b3261e); color: #1f1b17; font-size: 16px; line-height: 1.5; }
.pf-menu-page .pf-menu-top { display: none; }
.pf-menu-bar { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-radius: 0 0 16px 16px; padding: 10px 0 8px; margin: 0 0 8px; box-shadow: 0 6px 18px rgba(40,25,10,.06); }
.pf-menu-cats { display: flex; gap: 6px; overflow-x: auto; padding: 0 12px 8px; scrollbar-width: none; }
.pf-menu-cats::-webkit-scrollbar { display: none; }
.pf-menu-cats a { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; background: #f4efe9; color: #1f1b17; text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.pf-menu-cats a.on { background: var(--pf-accent); color: #fff; }
.pf-menu-tools { display: flex; gap: 6px; padding: 0 12px; }
.pf-menu-q { flex: 1 1 auto; min-width: 0; min-height: 40px; border: 1.5px solid #e5ddd3; border-radius: 10px; padding: 0 12px; font: inherit; font-size: 15px; }
.pf-menu-filter, .pf-menu-lang { flex: 0 0 auto; min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1.5px solid #e5ddd3; background: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: #1f1b17; }
.pf-menu-filter.on { border-color: var(--pf-accent); color: var(--pf-accent); }
.pf-menu-alg { padding: 10px 12px 2px; }
.pf-menu-alg p { margin: 0 0 6px; font-size: 13px; color: #776e65; }
.pf-menu-alg div { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-menu-alg label { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; padding: 5px 9px; border: 1px solid #e5ddd3; border-radius: 999px; cursor: pointer; background: #fff; }
.pf-menu-alg label:has(input:checked) { border-color: var(--pf-accent); background: color-mix(in srgb, var(--pf-accent) 10%, #fff); }
.pf-menu-alg input { accent-color: var(--pf-accent); margin: 0; }
.pf-menu-sec { padding: 18px 4px 4px; scroll-margin-top: 120px; }
.pf-menu-sec h2 { font-size: 22px; margin: 0 0 4px; letter-spacing: -.01em; }
.pf-menu-cdesc { margin: 0 0 8px; color: #776e65; font-size: 14px; }
.pf-mitem { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #efe8e0; }
.pf-mimg { position: relative; flex: 0 0 96px; width: 96px; height: 96px; }
.pf-mimg img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; display: block; }
.pf-mbody { flex: 1 1 auto; min-width: 0; }
.pf-mhead { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.pf-mhead h3 { margin: 0; font-size: 17px; font-weight: 700; }
.pf-mtag { font-size: 14px; margin-left: 2px; }
.pf-mprice { font-weight: 800; white-space: nowrap; text-align: right; }
.pf-mprice small { display: block; font-weight: 600; color: #776e65; font-size: 12px; }
.pf-mbody p { margin: 4px 0 0; font-size: 14px; color: #4b443d; }
.pf-mbody .pf-malg { font-size: 12px; color: #8a8178; }
.pf-mitem.sold { opacity: .55; }
.pf-msold { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 700; color: #b42318; background: #fde8e6; border-radius: 6px; padding: 2px 8px; }
.pf-mitem.hide { display: none; }
.pf-menu-sec.hide { display: none; }
.pf-menu-none { text-align: center; color: #776e65; padding: 24px 0; }
.pf-menu-foot { padding: 20px 4px 4px; font-size: 13px; color: #776e65; }
.pf-menu-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.pf-menu-book { display: inline-flex; align-items: center; justify-content: center; margin-top: 14px; min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--pf-accent); color: #fff !important; font-weight: 700; text-decoration: none; }
.pf-menu .pf-en { display: none; }
.pf-menu[data-lang="en"] .pf-en { display: inline; }
.pf-menu[data-lang="en"] .pf-it { display: none; }
body.pf-wide .pf-card { padding: 0; background: transparent; box-shadow: none; }

/* ordini */
.pf-menu-ctx { margin: 0 0 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--pf-accent) 9%, #fff); border: 1px solid color-mix(in srgb, var(--pf-accent) 25%, #fff); display: flex; flex-direction: column; gap: 2px; }
.pf-menu-ctx b { font-size: 18px; }
.pf-menu-ctx span { font-size: 14px; color: #4b443d; }
.pf-menu-ctx.bad { background: #fde8e6; border-color: #f4b4ad; color: #8c1d13; }
.pf-menu-book.ghost { background: #fff; color: var(--pf-accent) !important; border: 1.5px solid var(--pf-accent); }
.pf-ordering .pf-mbody { position: relative; padding-right: 0; }
.pf-ordering .pf-mitem[data-id] .pf-mbody { padding-bottom: 4px; }
.pf-madd { float: right; margin: 8px 0 0 10px; min-width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--pf-accent); color: #fff; font: inherit; font-size: 20px; font-weight: 700; line-height: 1; cursor: pointer; box-shadow: 0 3px 10px color-mix(in srgb, var(--pf-accent) 35%, transparent); }
.pf-madd.on { font-size: 16px; background: #1f1b17; }
.pf-mvar { clear: both; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; }
.pf-mvar button { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--pf-accent); background: #fff; color: var(--pf-accent); font: inherit; font-weight: 700; cursor: pointer; }
.pf-cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(255,255,255,1) 60%, rgba(255,255,255,0)); }
.pf-cartbtn { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 560px; margin: 0 auto; min-height: 56px; padding: 0 18px; border: 0; border-radius: 16px; background: var(--pf-accent); color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 26px rgba(30,20,10,.25); }
.pf-cb-n { min-width: 28px; height: 28px; border-radius: 999px; background: rgba(255,255,255,.22); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.pf-cb-l { flex: 1 1 auto; text-align: left; }
.pf-cartbar.bump .pf-cartbtn { animation: pfbump .3s ease; }
@keyframes pfbump { 50% { transform: scale(1.03); } }
body.pf-has-cart .pf-menu-foot { padding-bottom: 90px; }
body.pf-sheet-open { overflow: hidden; }
.pf-sheet { position: fixed; inset: 0; z-index: 100; background: rgba(20,14,8,.45); display: flex; align-items: flex-end; justify-content: center; }
.pf-sheet[hidden] { display: none; }
.pf-sheet-box { width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 20px 20px 0 0; padding: 18px 16px calc(20px + env(safe-area-inset-bottom)); font-size: 16px; color: #1f1b17; }
@media (min-width: 700px) { .pf-sheet { align-items: center; } .pf-sheet-box { border-radius: 20px; } }
.pf-sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pf-sheet-head h2 { margin: 0; font-size: 20px; }
.pf-sheet-x { width: 40px; height: 40px; border-radius: 999px; border: 0; background: #f4efe9; font-size: 24px; line-height: 1; cursor: pointer; color: #1f1b17; }
.pf-sheet-lines { margin: 12px 0 4px; }
.pf-sl { padding: 10px 0; border-bottom: 1px solid #efe8e0; }
.pf-sl-top { display: flex; justify-content: space-between; gap: 10px; }
.pf-sl-ctl { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.pf-q { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 999px; border: 1.5px solid #e5ddd3; background: #fff; font-size: 18px; font-weight: 700; cursor: pointer; color: #1f1b17; }
.pf-qn { min-width: 20px; text-align: center; font-weight: 700; }
.pf-sl-note { flex: 1 1 auto; min-width: 0; min-height: 36px; border: 1.5px solid #e5ddd3; border-radius: 10px; padding: 0 10px; font: inherit; font-size: 14px; }
.pf-sheet-tot { display: flex; justify-content: space-between; font-size: 18px; padding: 10px 0 6px; }
.pf-sheet-form { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.pf-sf { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14px; min-width: 0; }
.pf-sf input, .pf-sf select, .pf-sf textarea { font: inherit; font-size: 16px; font-weight: 400; min-height: 46px; border: 1.5px solid #e5ddd3; border-radius: 12px; padding: 8px 12px; background: #fff; color: #1f1b17; width: 100%; box-sizing: border-box; }
.pf-sf small { font-weight: 400; color: #776e65; }
.pf-sf-err, .pf-sf-check .pf-sf-err { color: #b42318; font-style: normal; font-weight: 600; font-size: 13px; }
.pf-sf-err:empty { display: none; }
.pf-sf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pf-sf-pay { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 14px; }
.pf-sf-pay > span { font-weight: 600; width: 100%; }
.pf-radio { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1.5px solid #e5ddd3; border-radius: 10px; }
.pf-radio input, .pf-sf-check input { accent-color: var(--pf-accent); width: 18px; height: 18px; }
.pf-sf-check { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.pf-sf-check a { color: var(--pf-accent); }
.pf-sheet-info { margin: 0; font-size: 13px; color: #776e65; }
.pf-sheet-warn { margin: 0; color: #8c1d13; font-weight: 600; }
.pf-sheet-err { color: #b42318; font-weight: 600; }
.pf-sheet-err:empty { display: none; }
.pf-sheet-send { min-height: 54px; border: 0; border-radius: 14px; background: var(--pf-accent); color: #fff; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.pf-sheet-send.busy { opacity: .6; }

/* in evidenza, fuori menu, video */
.pf-menu-cats a.sp { background: #1f1b17; color: #fff; }
.pf-menu-feat { padding: 16px 4px 4px; }
.pf-menu-feat h2 { font-size: 22px; margin: 0 0 10px; }
.pf-feat-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 8px; scrollbar-width: none; }
.pf-feat-row::-webkit-scrollbar { display: none; }
.pf-feat-card { position: relative; flex: 0 0 72%; max-width: 300px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; scroll-snap-align: start; text-decoration: none; color: #fff; background: var(--pf-accent); box-shadow: 0 8px 22px rgba(40,25,10,.16); }
.pf-feat-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-feat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0) 55%); }
.pf-feat-card.noimg::after { display: none; }
.pf-feat-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 56px; opacity: .25; }
.pf-feat-txt { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.pf-feat-txt b { font-size: 18px; line-height: 1.2; }
.pf-feat-txt small { font-size: 16px; font-weight: 800; white-space: nowrap; }
.pf-feat-vid { position: absolute; top: 10px; right: 10px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.pf-specials { margin: 14px 0 6px; padding: 16px 14px 6px; border-radius: 18px; background: #1f1b17; color: #fff; }
.pf-specials h2 { color: #fff; }
.pf-specials .pf-menu-cdesc { color: #d9cfc4; }
.pf-specials .pf-mitem { border-bottom-color: rgba(255,255,255,.12); }
.pf-specials .pf-mbody p { color: #e9e2da; }
.pf-specials .pf-mbody .pf-malg { color: #b9afa5; }
.pf-specials .pf-madd.on { background: #fff; color: #1f1b17; }
.pf-mitem.feat .pf-mhead h3 { color: var(--pf-accent); }
.pf-specials .pf-mitem.feat .pf-mhead h3 { color: #fff; }
.pf-mfeat { display: inline-block; font-size: 12px; font-weight: 700; color: var(--pf-accent); background: color-mix(in srgb, var(--pf-accent) 12%, #fff); border-radius: 6px; padding: 1px 8px; margin-bottom: 4px; }
.pf-mplay { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; color: inherit; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.pf-mplay.on-img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; width: 40px; height: 40px; min-height: 0; padding: 0; justify-content: center; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 14px; }
.pf-vbox { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.88); display: flex; align-items: center; justify-content: center; padding: 16px; }
.pf-vbox[hidden] { display: none; }
.pf-vframe { width: min(960px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.pf-vframe.vert { width: min(420px, 100%); aspect-ratio: 9 / 16; max-height: 86vh; }
.pf-vframe iframe, .pf-vframe video { width: 100%; height: 100%; border: 0; display: block; }
.pf-vclose { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 26px; cursor: pointer; }

.pf-kind { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; background: #f4efe9; border-radius: 14px; }
.pf-kind-btn { min-height: 46px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-weight: 700; font-size: 14px; color: #4b443d; cursor: pointer; }
.pf-kind-btn.on { background: #fff; color: var(--pf-accent); box-shadow: 0 2px 8px rgba(40,25,10,.1); }
.pf-geo { min-height: 44px; border-radius: 12px; border: 1.5px dashed #d9cfc4; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: #4b443d; cursor: pointer; }
.pf-geo.ok { border-style: solid; border-color: #1e7a46; color: #1e7a46; }

/* abbinamenti */
.pf-mpair { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pf-mpair-l { width: 100%; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #8a7f74; }
.pf-pchip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: #f6f1eb; color: inherit; text-decoration: none; font-size: 13px; line-height: 1.2; min-height: 34px; }
.pf-pchip img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.pf-pchip:not(:has(img)) { padding-left: 10px; }
.pf-pchip small { color: #776e65; }
.pf-padd { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 50%; background: var(--pf-accent); color: #fff; font-size: 16px; margin-left: 2px; cursor: pointer; }
.pf-mpair-note { width: 100%; margin: 2px 0 0; font-size: 13px; font-style: italic; color: #6b6158; }
.pf-mitem.flash { animation: pfflash 1.4s ease; }
@keyframes pfflash { 0%, 60% { background: #fff4d6; } 100% { background: transparent; } }
.pf-upsell { margin: 6px 0 4px; padding: 12px; border-radius: 14px; background: #faf6f1; }
.pf-upsell > b { display: block; font-size: 14px; margin-bottom: 8px; }
.pf-upsell-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.pf-upsell-btn { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 120px; padding: 8px; border: 1.5px solid #e5ddd3; border-radius: 12px; background: #fff; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.pf-upsell-btn img { width: 100%; height: 64px; object-fit: cover; border-radius: 8px; }
.pf-upsell-btn small { color: var(--pf-accent); font-weight: 700; }

/* codice sconto */
.pf-code { margin: 4px 0 2px; }
.pf-code-toggle { border: 0; background: none; padding: 6px 0; font: inherit; font-size: 14px; font-weight: 700; color: var(--pf-accent); text-decoration: underline; cursor: pointer; min-height: 40px; }
.pf-code-row { display: flex; gap: 8px; }
.pf-code-row input { flex: 1 1 auto; min-width: 0; min-height: 46px; padding: 0 12px; border: 1.5px solid #d9cfc4; border-radius: 12px; font: inherit; font-size: 16px; text-transform: uppercase; }
.pf-code-apply { min-height: 46px; padding: 0 18px; border: 0; border-radius: 12px; background: #2b2724; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.pf-code-err { margin: 6px 0 0; color: #a1281c; font-size: 13px; }
.pf-code-err:empty { display: none; }
.pf-code-on { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #eef7f0; color: #1e4d31; font-size: 14px; }
.pf-code-on span { flex: 1 1 auto; }
.pf-code-x { border: 0; background: none; color: #1e4d31; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; min-height: 36px; }

.pf-menu-ctx .pf-menu-bill { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; min-height: 40px; padding: 0 14px; border-radius: 12px; background: #fff; border: 1.5px solid var(--pf-accent); color: var(--pf-accent); font-weight: 700; font-size: 14px; text-decoration: none; }
/* v3.6: piatti personalizzati */
.pf-sl-mods { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
.pf-mod-minus, .pf-mod-plus { font-size: 13px; font-weight: 700; border-radius: 20px; padding: 2px 10px; }
.pf-mod-minus { background: #fde8e6; color: #a1231b; }
.pf-mod-plus { background: #e3f4e8; color: #1e6b3e; }
.pf-sl-modask { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.pf-sl-modask > span { font-size: 13px; font-weight: 700; color: #6b6158; }
.pf-sl-modbtns { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.pf-sl-modbtn { min-height: 44px; border: 1.5px solid #e7a59e; background: #fdf3f1; color: #a1231b; border-radius: 12px; padding: 8px 12px; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.pf-sl-modbtn.add { border-color: #9fd1b1; background: #eef8f1; color: #1e6b3e; }
.pf-mcustom { margin: 8px 0 0; padding: 6px 12px; min-height: 36px; border-radius: 20px; border: 1.5px dashed color-mix(in srgb, var(--pf-accent) 55%, #fff); background: color-mix(in srgb, var(--pf-accent) 6%, #fff); color: var(--pf-accent); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.pf-modp { margin-top: 8px; padding: 12px; border-radius: 12px; background: #faf7f3; display: flex; flex-direction: column; gap: 8px; }
.pf-modp-t { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #6b6158; }
.pf-modp-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-modp-hint { margin: 0; font-size: 13px; color: #6b6158; }
.pf-modp-hint .pf-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: #2b2724; text-decoration: underline; cursor: pointer; }
.pf-mchip { min-height: 40px; padding: 6px 14px; border-radius: 20px; border: 1.5px solid #e1d8cd; background: #fff; font: inherit; font-size: 14px; color: #2b2724; cursor: pointer; }
.pf-mchip.minus.on { background: #fde8e6; border-color: #e7a59e; color: #a1231b; text-decoration: line-through; text-decoration-thickness: 2px; }
.pf-mchip.plus.on { background: #e3f4e8; border-color: #9fd1b1; color: #1e6b3e; font-weight: 700; }
.pf-mchip:disabled { opacity: .45; cursor: not-allowed; }
.pf-modp-ok { align-self: flex-end; min-height: 40px; padding: 0 22px; border-radius: 10px; border: 0; background: #2b2724; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
