/* Grafica nuova dell'app clienti (asporto e tavolo): chiara, arancione, con banner e mascotte.
   Vale solo quando ordina.html mette la classe "cliente" (non per banco, telefono e cameriere). */
@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Figtree:wght@400;500;600;700&display=swap");
html.cliente {
  --bg: #f6f2ee; --panel: #ffffff; --panel2: #f1e9e1; --fg: #24170f; --muted: #7a6a5f;
  --gold: #e8590c; --gold-ink: #ffffff; --rule: #e9e0d8; --amber: #d9902f;
  --display: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  --serif: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pr-green: #2f7a3a; --pr-green-soft: #e3f3e2; --pr-cream: #fff6d6; --pr-soft: #ffe8d9; --pr-shadow: 0 6px 18px rgba(60,30,10,.10);
  color-scheme: light;
}
html.cliente body { background: var(--bg); color: var(--fg); font-family: var(--body); }
html.cliente header { background: var(--bg); border-bottom: 0; position: relative; top: 0; }
html.cliente section { scroll-margin-top: 1rem; }
html.cliente .brand { font-family: var(--display); font-weight: 800; color: var(--fg); letter-spacing: 0; font-size: 1.25rem; line-height: 1.05; }
html.cliente .brand small { color: var(--gold); font-weight: 700; letter-spacing: .08em; }
html.cliente .tavolo { background: var(--gold); color: #fff; border-radius: 999px; font-weight: 700; font-size: 1rem; }
html.cliente .btn { border-radius: 12px; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
html.cliente .btn.solid { background: var(--gold); color: #fff; border-color: var(--gold); }
html.cliente .lang { border-radius: 10px; background: var(--panel); }
html.cliente nav a { font-family: var(--body); font-weight: 600; letter-spacing: 0; border: 1px solid var(--rule); border-radius: 999px; background: var(--panel); flex: none; padding: .45rem .9rem; }
html.cliente nav a.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
html.cliente nav { gap: .4rem; scrollbar-width: none; }
html.cliente .srch input { background: var(--panel); border-color: var(--rule); }
html.cliente h2 { font-family: var(--display); font-weight: 800; color: var(--fg); text-align: left; letter-spacing: 0; font-size: 1.4rem; margin-top: .4rem; }
html.cliente h2::before, html.cliente h2::after { display: none; }
html.cliente section ul { background: var(--panel); border-radius: 18px; box-shadow: var(--pr-shadow); padding: 0 14px; gap: 0; }
html.cliente .item { border-bottom: 1px solid var(--rule); }
html.cliente .item:last-child { border-bottom: 0; }
html.cliente .item .name { font-family: var(--body); font-weight: 700; text-transform: none; letter-spacing: 0; }
html.cliente .ph { background: var(--panel2); border: 0; border-radius: 14px; }
html.cliente .item.in .ph { outline: 3px solid var(--gold); outline-offset: -3px; }
html.cliente .price { font-family: var(--body); font-weight: 600; color: var(--fg); }
html.cliente .pic .step { background: var(--panel); border-color: var(--rule); box-shadow: 0 3px 8px rgba(0,0,0,.18); }
html.cliente .step button { border-color: var(--gold); color: var(--gold); }
html.cliente .step button.add { background: var(--gold); color: #fff; }
html.cliente .extra-link { color: var(--gold); }
html.cliente .bar { background: transparent; border-top: 0; background: linear-gradient(to top, var(--bg) 70%, transparent); }
html.cliente .bar .in { background: var(--gold); color: #fff; border-radius: 16px; padding: .55rem .6rem .55rem 1rem; box-shadow: 0 8px 20px rgba(200,70,10,.3); }
html.cliente .bar .sum b { color: #fff; font-family: var(--body); font-weight: 700; }
html.cliente .bar .sum .muted { color: rgba(255,255,255,.85); }
html.cliente .bar .btn.solid { background: #fff; color: var(--gold); border-color: #fff; }
html.cliente .sheet { background: rgba(20,10,5,.45); }
html.cliente .sheet .box { background: var(--bg); border-top: 0; border-radius: 22px 22px 0 0; }
html.cliente .sheet h3 { font-family: var(--display); font-weight: 800; letter-spacing: 0; }
html.cliente .line { border-bottom-color: var(--rule); }
html.cliente textarea, html.cliente .field input, html.cliente .field select { background: var(--panel); border-color: var(--rule); border-radius: 10px; color: var(--fg); }
html.cliente .seg button { background: var(--panel); border-radius: 10px; }
html.cliente .seg.big button[aria-pressed="true"], html.cliente .seg button[aria-pressed="true"] { background: var(--gold); color: #fff; border-color: var(--gold); }
html.cliente .thanks, html.cliente .inst { background: var(--panel); border-color: var(--rule); border-radius: 16px; }
html.cliente .done .big, html.cliente .status .big { color: var(--gold); font-weight: 800; }
html.cliente .toast { border-radius: 12px; }
html.cliente .info, html.cliente .hours { color: var(--muted); }

/* blocco offerte in cima al menu */
.pr { display: flex; flex-direction: column; gap: 1rem; margin-top: .9rem; }
.pr-ban { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
.pr-ban::-webkit-scrollbar { display: none; }
.pr-b { flex: 0 0 88%; scroll-snap-align: center; border-radius: 20px; position: relative; overflow: hidden; min-height: 168px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; color: #fff; border: 0; text-align: left; font: inherit; cursor: pointer; }
.pr-b .tag { align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.22); padding: 3px 9px; border-radius: 99px; position: relative; z-index: 1; }
.pr-b h3 { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.05; margin: 0; max-width: 60%; position: relative; z-index: 1; }
.pr-b p { margin: .2rem 0 0; font-size: .82rem; max-width: 52%; opacity: .95; line-height: 1.3; position: relative; z-index: 1; }
.pr-b .pz { font-family: var(--display); font-size: 1.35rem; font-weight: 800; position: relative; z-index: 1; }
.pr-b .pz s { font-family: var(--body); font-size: .85rem; font-weight: 500; opacity: .8; margin-left: 6px; }
.pr-b .save { position: absolute; top: 44px; right: 12px; background: #fff; color: #c8321f; font-weight: 800; font-size: .78rem; padding: 4px 9px; border-radius: 99px; transform: rotate(6deg); z-index: 2; }
.pr-b img.f { position: absolute; right: -34px; bottom: -30px; width: 180px; height: 180px; object-fit: cover; border-radius: 50%; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.pr-b img.cl { position: absolute; right: -30px; bottom: -22px; width: 185px; max-width: none; filter: drop-shadow(0 6px 12px rgba(0,0,0,.25)); }
.pr-b img.ms { position: absolute; right: 4px; bottom: -6px; width: 110px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); }
.pr-b:focus-visible { outline: 3px solid var(--pr-green); outline-offset: 3px; }
.c1 { background: #7a3b16; } .c2 { background: #2f7a3a; } .c3 { background: #e2560b; } .c4 { background: #c98a00; } .c5 { background: #b8321f; } .c6 { background: #3b2a20; }
.pr-dots { display: flex; justify-content: center; gap: 6px; margin-top: -.5rem; }
.pr-dots button { width: 7px; height: 7px; border-radius: 99px; border: 0; padding: 0; background: var(--rule); cursor: pointer; transition: width .25s; }
.pr-dots button[aria-current="true"] { width: 20px; background: var(--gold); }
.pr-stage { position: relative; height: 160px; overflow: hidden; }
.pr-floor { position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: repeating-linear-gradient(90deg, var(--rule) 0 10px, transparent 10px 18px); }
.pr-walker { position: absolute; bottom: 10px; left: 0; width: 90px; transition: transform 3s linear; }
.pr-flip { transition: transform .25s; }
.pr-flip.left { transform: scaleX(-1); }
.pr-hop { position: relative; width: 90px; aspect-ratio: 240 / 281; }
.pr-hop img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pr-walking .pr-hop { animation: prHop .4s ease-in-out infinite; }
@keyframes prHop { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-9px) rotate(4deg); } }
.pr-hand { transform-origin: 17.7% 46.4%; }
.pr-waving .pr-hand { animation: prWave .32s ease-in-out infinite alternate; }
@keyframes prWave { from { transform: rotate(-16deg); } to { transform: rotate(18deg); } }
.pr-jump .pr-hop { animation: prJump .5s ease-out; }
@keyframes prJump { 30% { transform: translateY(-26px) rotate(-6deg); } 60% { transform: translateY(0) scaleY(.92); } }
.pr-say { position: absolute; bottom: 100%; left: 60%; width: max-content; max-width: 190px; background: var(--panel); border: 1px solid var(--rule); border-radius: 14px 14px 14px 4px; padding: 6px 10px; font-family: var(--display); font-weight: 700; font-size: .95rem; line-height: 1.2; box-shadow: var(--pr-shadow); margin-bottom: -12px; color: var(--fg); }
.pr-walker.re .pr-say { left: auto; right: 60%; border-radius: 14px 14px 4px 14px; }
.pr-chef { display: grid; grid-template-columns: 1fr 120px; align-items: end; gap: 8px; background: var(--panel); border-radius: 20px; padding: 16px 0 0 16px; box-shadow: var(--pr-shadow); overflow: hidden; }
.pr-chef > div { min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-bottom: 16px; }
.pr-chef .ey, .pr-ey { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.pr-chef b.t { font-family: var(--display); font-weight: 800; font-size: 1.25rem; line-height: 1.1; }
.pr-chef p { margin: 0; font-size: .85rem; color: var(--muted); }
.pr-chef ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: .84rem; background: none; box-shadow: none; }
.pr-chef li b { font-family: var(--display); color: var(--gold); font-size: 1rem; }
.pr-chef img { width: 120px; display: block; }
.pr-card { background: var(--panel); border-radius: 18px; box-shadow: var(--pr-shadow); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.pr-welcome { display: flex; align-items: center; gap: 12px; background: var(--pr-cream); border-radius: 18px; padding: 12px 14px; }
.pr-welcome img { width: 70px; flex: none; }
.pr-welcome b { font-family: var(--display); font-size: 1.15rem; line-height: 1.15; display: block; }
.pr-welcome span { font-size: .85rem; color: var(--muted); }
.pr-deal { border: 2px solid var(--gold); }
.pr-deal.won { border-color: var(--pr-green); }
.pr-deal b.t { font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.15; }
.pr-bar { height: 10px; border-radius: 99px; background: var(--pr-soft); overflow: hidden; }
.pr-bar i { display: block; height: 100%; background: var(--gold); border-radius: 99px; transition: width .4s; }
.pr-deal.won .pr-bar i { background: var(--pr-green); }
.pr-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: .9rem; background: none; box-shadow: none; }
.pr-checks li { display: flex; align-items: center; gap: 8px; }
.pr-checks li span:last-child { margin-left: auto; color: var(--muted); }
.pr-tick { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--rule); display: grid; place-items: center; font-size: 11px; font-weight: 800; flex: none; }
.pr-checks li.ok .pr-tick { background: var(--pr-green); border-color: var(--pr-green); color: #fff; }
.pr-msg { margin: 0; font-size: .88rem; color: var(--muted); }
.pr-msg b { color: var(--pr-green); }
/* suggerimenti nel carrello */
.pr-sug { display: flex; flex-direction: column; gap: 8px; margin: .6rem 0; }
.pr-s { display: flex; align-items: center; gap: 10px; background: var(--pr-soft); border-radius: 14px; padding: 9px 11px; color: var(--fg); }
.pr-s.ok { background: var(--pr-green-soft); }
.pr-s img { width: 38px; flex: none; }
.pr-s div { min-width: 0; flex: 1; font-size: .85rem; line-height: 1.3; }
.pr-s div b { display: block; font-family: var(--display); font-size: 1rem; }
.pr-s button { border: 0; background: var(--gold); color: #fff; font-weight: 700; font-size: .82rem; padding: 8px 10px; border-radius: 10px; cursor: pointer; flex: none; }
/* finestre (Sbloccato, Cuoppo, Gran Finale) */
.pr-pop { position: fixed; inset: 0; z-index: 40; background: rgba(20,10,5,.45); display: flex; align-items: flex-end; justify-content: center; }
.pr-pop > div { position: relative; width: 100%; max-width: 34rem; background: var(--panel); color: var(--fg); border-radius: 22px 22px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; overflow: hidden; animation: prRise .35s ease-out; max-height: 90vh; overflow-y: auto; font-family: var(--body); }
@keyframes prRise { from { transform: translateY(40%); } }
.pr-pop .hd { display: flex; gap: 12px; align-items: center; }
.pr-pop .hd img { width: 86px; flex: none; animation: prJump2 .6s ease-out 3; }
@keyframes prJump2 { 30% { transform: translateY(-20px); } }
.pr-pop .big { font-family: var(--display); font-weight: 800; font-size: 1.8rem; color: var(--gold); line-height: 1; }
.pr-pop p { margin: 0; }
.pr-pop .pz { font-family: var(--display); font-weight: 800; font-size: 1.5rem; }
.pr-pop .pz s { font-family: var(--body); font-weight: 500; font-size: .9rem; color: var(--muted); }
.pr-pop .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pr-pop .two img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.pr-pop .gift { background: var(--pr-green-soft); border-radius: 14px; padding: 10px 12px; }
.pr-pop .gift b { color: var(--pr-green); font-family: var(--display); font-size: 1.05rem; display: block; }
.pr-btn { border: 0; background: var(--gold); color: #fff; font: 700 1rem var(--body); padding: 12px; border-radius: 12px; cursor: pointer; }
.pr-btn.gh { background: var(--bg); color: var(--fg); border: 1px solid var(--rule); }
.pr-opt b { display: block; font-size: .9rem; margin-bottom: 6px; }
.pr-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pr-pills button { border: 1px solid var(--rule); background: var(--bg); color: var(--fg); border-radius: 99px; padding: 8px 13px; font: 600 .9rem var(--body); cursor: pointer; }
.pr-pills button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pr-conf { position: absolute; inset: 0; pointer-events: none; }
.pr-conf i { position: absolute; top: -12px; width: 8px; height: 12px; border-radius: 2px; animation: prFall 1.6s linear forwards; }
@keyframes prFall { to { transform: translateY(340px) rotate(540deg); opacity: 0; } }
.pr-spread { display: flex; gap: 12px; align-items: center; text-align: left; background: var(--panel); border-radius: 18px; padding: 14px; box-shadow: var(--pr-shadow); margin-top: 1rem; }
.pr-spread img { width: 70px; flex: none; }
.pr-spread b { font-family: var(--display); font-size: 1.1rem; line-height: 1.2; display: block; }
.pr-spread .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pr-spread .row a, .pr-spread .row button { border: 1px solid var(--rule); background: var(--bg); color: var(--fg); border-radius: 10px; padding: 7px 10px; font: 600 .85rem var(--body); text-decoration: none; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .pr-walking .pr-hop, .pr-waving .pr-hand, .pr-jump .pr-hop, .pr-pop > div, .pr-pop .hd img, .pr-conf i { animation: none !important; } .pr-walker { transition: none !important; } .pr-conf { display: none; } }

/* ---- testata stile Glovo (29/10/2026) ---- */
html.cliente header { display: flex; flex-direction: column; gap: 12px; padding-block: 10px 6px; }
html.cliente header .top { order: 1; }
html.cliente header .tri { order: 2; }
html.cliente header .srch { order: 3; margin-top: 0; }
html.cliente header nav { order: 4; }
html.cliente header .pr-pills { order: 5; }
html.cliente header .actions, html.cliente header .shared-note { order: 2; }
html.cliente header .brand { display: none; }
html.cliente header p.hours, html.cliente header .inst { display: none; }
html.cliente header .tri .tri-r { display: none; }
html.cliente.asp header .tavolo { display: none; }
html.cliente header .top { gap: 10px; justify-content: flex-start; }
.pr-name { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; text-align: left; color: var(--fg); cursor: pointer; font: inherit; min-width: 0; flex: 1; }
.pr-name .lg { width: 40px; height: 40px; border-radius: 12px; background: var(--gold); color: #fff; display: grid; place-items: center; font: 800 16px var(--display); flex: none; }
.pr-name b { display: flex; align-items: center; gap: 4px; font: 800 1.1rem/1.05 var(--display); }
.pr-name small { display: flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.pr-name small i { width: 7px; height: 7px; border-radius: 50%; background: var(--pr-green); display: inline-block; }
.pr-name small i.off { background: #c8321f; }
.pr-book { display: flex; align-items: center; gap: 6px; background: #c8321f; color: #fff; text-decoration: none; border-radius: 12px; padding: 6px 10px; font: 800 .74rem/1.05 var(--body); flex: none; }
html.cliente .tri { display: grid; grid-template-columns: 1fr 1fr; background: #ece4dc; border-radius: 14px; padding: 4px; gap: 4px; margin-top: 0; }
html.cliente .tri > * { min-height: 0; box-shadow: none; border: 0; padding: 9px; border-radius: 10px; font: 700 .92rem var(--body); background: none !important; color: var(--muted) !important; outline: 0 !important; opacity: 1 !important; }
html.cliente .tri > [aria-pressed="true"] { background: var(--panel) !important; color: var(--fg) !important; box-shadow: 0 2px 6px rgba(60,30,10,.12); }
html.cliente .tri.two { grid-template-columns: 1fr; }
html.cliente .tri + p.hours { display: none; }
html.cliente nav { gap: 14px; margin-top: 0; padding-bottom: 2px; }
html.cliente nav a { flex: none; width: 66px; border: 0 !important; background: none !important; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--fg) !important; white-space: normal; text-align: center; }
html.cliente nav a .c { width: 62px; height: 62px; border-radius: 50%; overflow: hidden; background: var(--pr-soft); display: grid; place-items: center; border: 2px solid transparent; }
html.cliente nav a .c img { width: 100%; height: 100%; object-fit: cover; }
html.cliente nav a.on .c { border-color: var(--gold); }
html.cliente nav a.pr-off .c { background: var(--gold); }
.pr-pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.pr-pills::-webkit-scrollbar { display: none; }
.pr-pills span { flex: none; font-size: .78rem; font-weight: 600; background: var(--panel); border: 1px solid var(--rule); border-radius: 99px; padding: 6px 11px; color: var(--fg); }
.pr-pills span.on { background: var(--pr-soft); border-color: #ffd2b8; color: #a8400a; }
.pr-foot { background: var(--panel); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--pr-shadow); margin-top: 1.2rem; }
.pr-foot p { margin: 0; font-size: .88rem; color: var(--muted); }
.pr-foot b.h, .pr-info b.h { font: 800 1.1rem var(--display); }
.pr-tel { color: var(--fg) !important; font-weight: 700; font-variant-numeric: tabular-nums; user-select: all; }
.pr-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.pr-acts a { display: block; text-align: center; background: var(--gold); color: #fff; text-decoration: none; font-weight: 700; border-radius: 12px; padding: 10px; }
.pr-acts a + a { background: var(--bg); color: var(--fg); border: 1px solid var(--rule); }
.pr-b[data-act] { cursor: pointer; }
