/* GioEat – menù per il cliente (mobile-first). */

body.go-page { background: #f6f4f1; }
html.go-lock, html.go-lock body { overflow: hidden; }

/* ---------- Barra anteprima ---------- */
.go-preview { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 8px 16px; background: #fff4c2; color: #5c4a00; font-size: 13px; font-weight: 600; line-height: 1.35; }
.go-preview span { min-width: 0; }
.go-preview a { color: #5c4a00; font-weight: 800; white-space: nowrap; }

/* ---------- Intestazione ---------- */
.go-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: #fff; border-bottom: 1px solid var(--ge-line); }
.go-top__brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.go-top__logo { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: #f1eee9; }
.go-top__logo--txt { display: grid; place-items: center; background: var(--ge-red); color: #fff; font-size: 22px; font-weight: 800; }
.go-top__txt { min-width: 0; }
.go-top__name { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.go-status { margin: 2px 0 0; font-size: 13px; font-weight: 600; color: var(--ge-muted); }
.go-status::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #9a9aa2; vertical-align: 1px; }
.go-status--open::before { background: #16a34a; }
.go-status--closed::before, .go-status--paused::before { background: var(--ge-red); }
.go-top__btns { flex: 0 0 auto; display: flex; gap: 8px; }
.go-top__refresh { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--ge-line); border-radius: 14px; background: #fff; color: var(--ge-ink); font: inherit; font-size: 22px; font-weight: 700; cursor: pointer; }
.go-top__refresh[hidden] { display: none; }
.go-top__refresh.is-spin { animation: go-spin .8s linear infinite; }
@keyframes go-spin { to { transform: rotate(360deg); } }
.go-top__cart { position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--ge-line); border-radius: 14px; background: #fff; color: var(--ge-ink); cursor: pointer; }
.go-top__cart b { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ge-red); color: #fff; font-size: 12px; line-height: 22px; text-align: center; }

/* ---------- Categorie (scorrono in orizzontale, la pagina no) ---------- */
.go-page [hidden] { display: none !important; }
.go-catbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--ge-line); }
.go-catbar__all { flex: 0 0 auto; width: 40px; height: 40px; margin-left: 12px; border: 1px solid var(--ge-line); border-radius: 12px; background: #fff; color: var(--ge-ink); font-size: 18px; cursor: pointer; }
.go-cats { flex: 1 1 auto; min-width: 0; display: flex; gap: 8px; padding: 10px 16px 10px 10px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.go-cats::-webkit-scrollbar { display: none; }
.go-cats__chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #f1eee9; color: var(--ge-ink); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.go-cats__chip.is-active { background: var(--ge-ink); color: #fff; }
.go-catlist { display: grid; gap: 4px; }
.go-catlist__link, .go-catside__link { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; padding: 12px 12px; border-radius: 12px; color: var(--ge-ink); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.go-catlist__link small, .go-catside__link small { flex: 0 0 auto; color: var(--ge-muted); font-weight: 600; }
.go-catlist__link:hover, .go-catside__link:hover { background: #f4f1ec; }
.go-catlist__link.is-active, .go-catside__link.is-active { background: var(--ge-ink); color: #fff; }
.go-catlist__link.is-active small, .go-catside__link.is-active small { color: rgba(255, 255, 255, .7); }
/* Icone delle categorie (colore del ristorante; bianche sulla categoria attiva). */
.go-cico { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 20px; height: 20px; color: var(--ge-red); }
.go-cico .ge-cico { width: 100%; height: 100%; }
.go-cico .ge-cico--emoji { width: auto; height: auto; font-size: 17px; line-height: 1; }
.is-active > .go-cico { color: inherit; }
.go-catname { flex: 1 1 auto; min-width: 0; }
.go-cats__chip .go-catname { flex: 0 0 auto; }
.go-cat__name .go-cico { width: 26px; height: 26px; }
.go-cat__name .go-cico .ge-cico--emoji { font-size: 22px; }
.go-catside { display: none; }
.go-search { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 0 14px; border: 1.5px solid var(--ge-line); border-radius: 14px; background: #fff; }
.go-search:focus-within { border-color: var(--ge-red); box-shadow: 0 0 0 4px rgba(227, 27, 35, .12); }
.go-search input { flex: 1 1 auto; min-width: 0; min-height: 48px; border: 0; outline: none; background: transparent; color: var(--ge-ink); font: inherit; font-size: 16px; }
.go-search input[type="search"] { -webkit-appearance: none; appearance: none; }
.go-search input::-webkit-search-decoration, .go-search input::-webkit-search-results-decoration { -webkit-appearance: none; display: none; }

/* ---------- Menù ---------- */
.go-layout { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 0 96px; }
.go-menu { min-width: 0; padding: 0 16px; }
.go-empty { margin: 40px 0; text-align: center; color: var(--ge-muted); }
.go-cat { padding-top: 22px; scroll-margin-top: 64px; }
.go-cat__banner { margin-bottom: 12px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: #ece8e2; }
.go-cat__banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.go-cat__name { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; overflow-wrap: anywhere; }
.go-cat__desc { margin: 4px 0 0; color: var(--ge-muted); font-size: 14px; }
.go-cat__hours { display: inline-block; margin: 8px 0 0; padding: 4px 10px; border-radius: 8px; background: #fff4c2; color: #5c4a00; font-size: 13px; font-weight: 700; }
.go-items { display: grid; gap: 10px; margin-top: 12px; }

.go-item { display: flex; align-items: stretch; gap: 12px; width: 100%; min-width: 0; padding: 12px; border: 1px solid transparent; border-radius: 16px; background: #fff; box-shadow: 0 1px 3px rgba(27, 27, 31, .07); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.go-item:hover { border-color: #e6e1da; box-shadow: 0 4px 14px rgba(27, 27, 31, .08); }
.go-item:focus-visible { outline: 3px solid rgba(227, 27, 35, .35); outline-offset: 2px; }
.go-item.is-off { opacity: .62; }
.go-item__txt { display: flex; flex: 1 1 auto; flex-direction: column; gap: 4px; min-width: 0; }
.go-item__name { font-size: 16px; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.go-item__tag { font-size: 14px; }
.go-item__desc { display: -webkit-box; overflow: hidden; color: var(--ge-muted); font-size: 14px; line-height: 1.4; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.go-item__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: auto; padding-top: 4px; }
.go-item__price { font-weight: 800; }
.go-item__img { flex: 0 0 auto; width: 96px; height: 96px; border-radius: 12px; object-fit: cover; background: #f1eee9; }
@media (min-width: 400px) { .go-item__img { width: 112px; height: 112px; } }
.go-badge { display: inline-block; margin: 0; padding: 2px 8px; border-radius: 999px; background: #efefef; color: #55555c; font-size: 12px; font-weight: 700; }
.go-badge--out { background: #fde7e8; color: var(--ge-red-dark); }

/* ---------- Pulsanti ---------- */
.go-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--ge-red); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.go-btn:hover { background: var(--ge-red-dark); }
.go-btn:disabled { background: #c9c6c1; cursor: not-allowed; }
.go-btn--block { width: 100%; margin-top: 14px; }

/* ---------- Barra carrello (cellulare) ---------- */
.go-cartbar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 20; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px; border: 0; border-radius: 16px; background: var(--ge-red); color: #fff; font: inherit; font-weight: 800; box-shadow: 0 8px 24px rgba(227, 27, 35, .35); cursor: pointer; }
.go-cartbar[hidden] { display: none; }
.go-cartbar__n { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 8px; background: rgba(255, 255, 255, .22); }
.go-cartbar__t { margin-left: auto; }

/* ---------- Finestre (scheda piatto e carrello) ---------- */
.go-sheet { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: #fff; color: var(--ge-ink); }
.go-sheet::backdrop { background: rgba(20, 20, 24, .55); }
.go-sheet__box { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 0; }
.go-sheet__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.go-x { position: absolute; top: 12px; right: 12px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: 0 1px 6px rgba(0, 0, 0, .18); color: var(--ge-ink); font-size: 16px; cursor: pointer; }
.go-sheet__photo { aspect-ratio: 4 / 3; background: #f1eee9; }
.go-sheet__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.go-sheet__head { padding: 16px 16px 4px; }
.go-sheet__head--nophoto { padding-top: 22px; padding-right: 64px; }
.go-sheet__title { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.go-sheet__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.go-chip { padding: 2px 10px; border-radius: 999px; background: #f4f1ec; font-size: 13px; font-weight: 600; }
.go-sheet__desc { margin: 8px 0 0; color: var(--ge-muted); overflow-wrap: anywhere; }
.go-sheet__head .go-badge { margin-top: 10px; }
.go-sheet__err { margin: 0 16px 12px; color: var(--ge-red-dark); font-weight: 700; }
.go-sheet__err:empty { display: none; }
.go-sheet__foot { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--ge-line); background: #fff; }
.go-btn--add { flex: 1 1 auto; min-width: 0; }

/* Gruppi di scelta */
.go-opt { min-width: 0; margin: 14px 16px 0; padding: 0; border: 0; }
.go-opt__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 0; font-size: 16px; font-weight: 800; }
.go-opt__title > span { min-width: 0; overflow-wrap: anywhere; }
.go-opt__badge { flex: 0 0 auto; padding: 2px 8px; border-radius: 999px; background: #efefef; color: #55555c; font-size: 12px; font-style: normal; font-weight: 700; }
.go-opt__badge.is-req { background: #fde7e8; color: var(--ge-red-dark); }
.go-opt__hint { margin: 2px 0 0; color: var(--ge-muted); font-size: 13px; }
.go-opt__list { display: grid; gap: 6px; margin-top: 8px; }
.go-opt.is-err .go-opt__list { padding: 4px; border-radius: 14px; box-shadow: 0 0 0 2px var(--ge-red); }
.go-choice { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 8px 12px; border: 1px solid var(--ge-line); border-radius: 12px; background: #fff; cursor: pointer; }
.go-choice.is-on { border-color: var(--ge-ink); background: #faf8f5; }
.go-choice.is-dis { opacity: .5; cursor: not-allowed; }
.go-choice input { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; accent-color: var(--ge-red); }
.go-choice__name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.go-choice__price { flex: 0 0 auto; color: var(--ge-muted); font-size: 14px; font-weight: 700; }
.go-notes { margin-bottom: 16px; }
.go-notes textarea { display: block; width: 100%; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--ge-line); border-radius: 12px; font: inherit; resize: vertical; }

/* Quantità */
.go-qty { display: inline-flex; flex: 0 0 auto; align-items: center; border: 1px solid var(--ge-line); border-radius: 14px; }
.go-qty button { width: 44px; height: 48px; border: 0; background: none; color: var(--ge-ink); font: inherit; font-size: 20px; font-weight: 700; cursor: pointer; }
.go-qty output { min-width: 26px; text-align: center; font-weight: 800; }
.go-qty--sm button { width: 38px; height: 38px; font-size: 16px; }
@media (max-width: 359px) { .go-sheet__foot .go-qty button { width: 36px; } .go-btn--add { padding: 0 12px; font-size: 15px; } }

/* ---------- Carrello ---------- */
.go-cart { padding: 18px 16px; }
.go-sheet--cart .go-sheet__box { overflow-y: auto; }
.go-cart__title { margin: 0 52px 12px 0; font-size: 20px; font-weight: 800; }
.go-cart__empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px 8px; color: var(--ge-muted); text-align: center; }
.go-cart__empty strong { color: var(--ge-ink); }
.go-cart__icon { font-size: 34px; }
.go-lines { margin: 0; padding: 0; list-style: none; }
.go-line { padding: 12px 0; border-bottom: 1px solid var(--ge-line); }
.go-line__top { display: flex; justify-content: space-between; gap: 12px; }
.go-line__name { min-width: 0; overflow-wrap: anywhere; }
.go-line__price { flex: 0 0 auto; font-weight: 800; }
.go-line__det { margin: 4px 0 0; color: var(--ge-muted); font-size: 13px; overflow-wrap: anywhere; }
.go-line__notes { font-style: italic; }
.go-line__ctr { display: flex; justify-content: flex-end; margin-top: 8px; }
.go-cart__sum { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; font-size: 17px; }

/* ---------- Toast ---------- */
.go-toast { position: fixed; left: 50%; bottom: 84px; z-index: 50; width: max-content; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 12px; background: var(--ge-ink); color: #fff; font-size: 14px; font-weight: 600; transform: translateX(-50%); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.go-toast[hidden] { display: none; }

.go-side { display: none; }

/* ---------- Tablet e PC ---------- */
@media (min-width: 700px) {
	.go-top { padding-left: 24px; padding-right: 24px; }
	.go-catbar__all { margin-left: 24px; }
	.go-menu { padding: 0 24px; }
	.go-items { grid-template-columns: 1fr 1fr; }
	.go-sheet { width: min(560px, calc(100% - 48px)); height: fit-content; max-height: min(860px, calc(100% - 48px)); margin: auto; border-radius: 20px; overflow: hidden; }
	.go-sheet__box { height: auto; max-height: min(860px, calc(100vh - 48px)); }
	.go-sheet__photo { aspect-ratio: 16 / 9; }
}
@media (min-width: 1100px) {
	.go-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr) 340px; gap: 24px; max-width: 1440px; padding: 0 24px 48px; }
	.go-catbar { display: none; }
	.go-catside { display: block; }
	.go-catside__list { position: sticky; top: 16px; display: grid; gap: 2px; max-height: calc(100vh - 32px); margin-top: 22px; padding: 10px; overflow-y: auto; border-radius: 18px; background: #fff; box-shadow: 0 1px 3px rgba(27, 27, 31, .07); }
	.go-catside__link { padding: 10px 12px; font-size: 14px; }
	.go-search { margin-top: 22px; }
	.go-cat { scroll-margin-top: 16px; }
	.go-top { padding-left: max(24px, calc((100% - 1440px) / 2 + 24px)); padding-right: max(24px, calc((100% - 1440px) / 2 + 24px)); }
	.go-menu { padding: 0; }
	.go-side { display: block; }
	.go-side .go-cart { position: sticky; top: 76px; margin-top: 22px; max-height: calc(100vh - 100px); overflow-y: auto; border-radius: 18px; background: #fff; box-shadow: 0 1px 3px rgba(27, 27, 31, .07); }
	.go-cartbar { display: none; }
	.go-toast { bottom: 24px; }
}

/* ---------- Ordine (checkout) ---------- */
.go-co__h { padding: 22px 64px 0 16px; }
.go-co__test { margin: 10px 16px 0; padding: 10px 12px; border-radius: 12px; background: #fff4c2; color: #5c4a00; font-size: 13px; font-weight: 600; }
.go-co__block { min-width: 0; margin: 18px 16px 0; }
.go-co__title { margin: 0 0 10px; font-size: 16px; font-weight: 800; }
.go-co__warn { margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: #fde7e8; color: var(--ge-red-dark); font-size: 14px; font-weight: 700; }
.go-field { display: block; margin-top: 10px; }
.go-field__lbl { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 700; }
.go-field input, .go-field select, .go-field textarea, .go-tipamt { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--ge-line); border-radius: 12px; background: #fff; color: var(--ge-ink); font: inherit; font-size: 16px; }
.go-field textarea { resize: vertical; }
.go-field input:focus, .go-field select:focus, .go-field textarea:focus, .go-tipamt:focus { outline: none; border-color: var(--ge-red); box-shadow: 0 0 0 4px rgba(227, 27, 35, .14); }
.go-tips { display: flex; flex-wrap: wrap; gap: 8px; }
.go-tipbtn { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ge-line); border-radius: 999px; background: #fff; color: var(--ge-ink); font: inherit; font-weight: 700; cursor: pointer; }
.go-tipbtn.is-on { border-color: var(--ge-ink); background: var(--ge-ink); color: #fff; }
.go-tipamt { margin-top: 10px; max-width: 220px; }
.go-sum { margin-bottom: 16px; padding: 14px; border-radius: 16px; background: #f8f6f3; }
.go-sum__items { margin: 0 0 8px; padding: 0; list-style: none; }
.go-sum__items li, .go-sum__row { display: flex; justify-content: space-between; gap: 12px; margin: 4px 0; font-size: 14px; }
.go-sum__items li span:first-child, .go-sum__row span:first-child { min-width: 0; overflow-wrap: anywhere; }
.go-sum__items li span:last-child, .go-sum__row span:last-child { flex: 0 0 auto; }
.go-sum__rows { padding-top: 8px; border-top: 1px solid var(--ge-line); }
.go-sum__row.is-total { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--ge-line); font-size: 17px; font-weight: 800; }
.go-sum__row.is-incl { color: var(--ge-muted); font-size: 13px; }
.go-rcpt { margin: 16px; padding: 0 0 16px; border: 1px solid var(--ge-line); border-radius: 16px; overflow: hidden; }
.go-rcpt__head { display: flex; flex-direction: column; gap: 2px; padding: 18px 16px; background: var(--ge-dark); color: #fff; text-align: center; }
.go-rcpt__head strong { font-size: 18px; overflow-wrap: anywhere; }
.go-rcpt__head span { font-size: 14px; opacity: .85; }
.go-rcpt .go-co__test { margin: 12px 16px 0; }
.go-rcpt__meta { margin: 12px 16px 0; font-size: 14px; }
.go-rcpt__meta p { margin: 4px 0; overflow-wrap: anywhere; }
.go-rcpt__lines { margin: 12px 16px 0; padding: 0; list-style: none; }
.go-rcpt__lines li { padding: 8px 0; border-bottom: 1px solid var(--ge-line); }
.go-rcpt .go-sum__rows { margin: 8px 16px 0; border-top: 0; }
.go-rcpt__note { margin: 12px 16px 0; color: var(--ge-muted); font-size: 14px; overflow-wrap: anywhere; }
.go-when { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 10px; }

/* Indirizzo di consegna con mappa */
.go-addr { margin-top: 10px; }
.go-addr__tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.go-map { height: 240px; margin-top: 10px; border: 1px solid var(--ge-line); border-radius: 14px; overflow: hidden; background: #ece8e2; }
@media (min-width: 700px) { .go-map { height: 280px; } }
.go-pin span { position: absolute; left: 3px; top: 0; width: 24px; height: 24px; border-radius: 50% 50% 50% 0; background: var(--ge-red, #e31b23); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); transform: rotate(-45deg); }
.go-pin span::after { content: ""; position: absolute; left: 6px; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.go-pin { cursor: grab; }
.go-zone { margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: #f4f1ec; color: var(--ge-muted); font-size: 14px; font-weight: 600; }
.go-zone.is-ok { background: #e9f7ee; color: #0a7a2f; }
.go-zone.is-out { background: #fde7e8; color: var(--ge-red-dark); }

/* Stato dell'ordine */
.go-status-box { display: flex; align-items: center; gap: 12px; margin: 12px 16px 0; padding: 14px; border-radius: 14px; background: #fff4c2; color: #5c4a00; }
.go-status-box strong { min-width: 0; font-size: 15px; }
.go-status-box__dot { flex: 0 0 auto; width: 12px; height: 12px; border-radius: 50%; background: currentColor; animation: go-pulse 1.2s ease-in-out infinite; }
.go-status-box.is-accepted, .go-status-box.is-ready, .go-status-box.is-done { background: #e9f7ee; color: #0a7a2f; }
.go-status-box.is-accepted .go-status-box__dot, .go-status-box.is-ready .go-status-box__dot, .go-status-box.is-done .go-status-box__dot { animation: none; }
.go-status-box.is-rejected, .go-status-box.is-cancelled { background: #fde7e8; color: var(--ge-red-dark); }
.go-status-box.is-rejected .go-status-box__dot, .go-status-box.is-cancelled .go-status-box__dot { animation: none; }
@keyframes go-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
.go-rcpt__total { margin: 8px 16px 0; }

/* Pagamento nel checkout e nella ricevuta */
.go-pay__hint { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #f6f3ee; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-line; }
.go-pay__change { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: #0a7a33; }
.go-pay__change:empty { display: none; }
.go-pay__change.is-err { color: var(--ge-red-dark); }
.go-pay__box { margin: 12px 0 0; padding: 12px; border: 1.5px dashed var(--ge-line); border-radius: 12px; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.go-pay__box p { margin: 4px 0 0; white-space: pre-line; }

/* Web app del ristorante: invito a installarla */
.go-appbar { display: flex; align-items: center; gap: 12px; margin: 12px 16px 0; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--ge-line); box-shadow: 0 2px 10px rgba(27, 27, 31, .06); }
.go-appbar[hidden] { display: none; }
.go-appbar__ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--ge-line); object-fit: cover; }
.go-appbar__txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.go-appbar__txt strong { font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.go-appbar__txt small { color: var(--ge-muted); font-size: 12.5px; line-height: 1.4; }
.go-appbar__go { flex: 0 0 auto; min-height: 42px; padding: 8px 16px; border: 0; border-radius: 12px; background: var(--ge-red); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.go-appbar__x { flex: 0 0 auto; align-self: flex-start; border: 0; background: none; color: #999; font-size: 16px; cursor: pointer; padding: 0 2px; }
@media (min-width: 700px) { .go-appbar { max-width: 1140px; margin: 14px auto 0; } }
@media (max-width: 400px) { .go-appbar { flex-wrap: wrap; } .go-appbar__go { flex: 1 1 100%; order: 3; } }
.go-tablechip { margin: 0; padding: 8px 16px; background: #1b1b1f; color: #fff; font-weight: 800; font-size: 14px; text-align: center; }
.go-demo { position: sticky; top: 0; z-index: 7; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 12px; padding: 8px 14px; background: #fff4dc; border-bottom: 1px solid #f1d48c; color: #5a3d00; font-size: 13px; line-height: 1.35; text-align: center; box-shadow: 0 2px 6px rgba(90, 61, 0, .08); }
.go-demo span { display: none; }
@media (min-width: 900px) { .go-demo { font-size: 14px; } .go-demo span { display: inline; } }
/* Con la fascia demo fissa in alto, le barre fisse stanno sotto di lei. */
.has-demo .go-catbar { top: var(--go-demo-h, 0px); }
.has-demo .go-catside__list { top: calc(var(--go-demo-h, 0px) + 16px); }
.has-demo .go-side .go-cart { top: calc(var(--go-demo-h, 0px) + 76px); }
.go-top__demo { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #fff4dc; border: 1px solid #f1d48c; color: #5a3d00; font-size: 11px; font-weight: 800; letter-spacing: .04em; vertical-align: middle; }
.go-demo a { color: var(--ge-red, #e31b23); font-weight: 800; }
/* Nessuno scorrimento orizzontale della pagina, mai (clip non rompe le barre fisse). */
html, body { overflow-x: clip; }
.go-sheet__foot--co { flex-wrap: wrap; row-gap: 8px; }
.go-sheet__foot--co .go-btn { flex: 1 1 100%; }
.go-co-legal { flex: 1 1 100%; margin: 0; color: var(--ge-muted); font-size: 12px; line-height: 1.4; text-align: center; }
.go-co-legal a { color: inherit; text-decoration: underline; }

/* ---------- Piè di pagina: politiche + "con GioEat" ---------- */
.go-foot { margin: 32px 0 8px; padding: 18px 0 0; border-top: 1px solid var(--ge-line); text-align: center; color: var(--ge-muted); font-size: 13px; }
.go-foot__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; }
.go-foot__legal a { display: inline-block; padding: 6px 2px; color: var(--ge-muted); }
.go-foot__made { margin: 6px 0 0; font-size: 12px; }
.go-foot__made a { color: var(--ge-muted); text-decoration: none; }
.go-foot__made strong { color: var(--ge-red, #e31b23); }

/* ---------- Pagine delle politiche ---------- */
.gp-rest { margin: 0; font-size: 17px; font-weight: 800; overflow-wrap: anywhere; }
.gp-back { flex: 0 0 auto; padding: 10px 12px; border: 1px solid var(--ge-line); border-radius: 12px; color: var(--ge-ink); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.gp-tabs { display: flex; gap: 8px; padding: 12px 16px; overflow-x: auto; background: #fff; border-bottom: 1px solid var(--ge-line); }
.gp-tabs a { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; background: #f1eee9; color: var(--ge-ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.gp-tabs a.is-active { background: var(--ge-ink, #1f2228); color: #fff; }
.gp-main { max-width: 760px; margin: 0 auto; padding: 20px 16px 8px; line-height: 1.6; overflow-wrap: anywhere; }
.gp-main h1 { margin: 0 0 4px; font-size: 24px; line-height: 1.25; }
.gp-main h2 { margin: 24px 0 6px; font-size: 17px; }
.gp-main p, .gp-main li { font-size: 15px; color: var(--ge-ink, #1f2228); }
.gp-main ul { margin: 6px 0; padding-left: 20px; }
.gp-date { margin: 0 0 12px; color: var(--ge-muted) !important; font-size: 13px !important; }
.gp-page .go-foot { max-width: 760px; margin: 24px auto; padding: 18px 16px 0; }

/* Prenotazione del tavolo */
.go-resbar { padding: 10px 16px 0; }
.go-resbar__btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; padding: 0 16px; border: 2px solid var(--ge-red); border-radius: 14px; background: #fff; color: var(--ge-red); font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; }
.go-resbar__btn:hover { background: #fff5f5; }
@media (min-width: 700px) { .go-resbar__btn { width: auto; margin: 0 auto; } }
.go-resfood { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; padding: 12px; border-radius: 12px; background: #f6f5f3; }
.go-resfood p { flex: 1 1 180px; margin: 0; font-size: 14px; }
.go-btn--ghost { background: #fff; color: var(--ge-red); border: 2px solid var(--ge-red); }
.go-btn--ghost:hover { background: #fff5f5; }
.go-btn--small { min-height: 44px; padding: 0 16px; font-size: 15px; }

/* Computer: "Prenota un tavolo" sotto il carrello, sempre visibile. */
@media (min-width: 1100px) {
	.go-resbar { display: none; }
	.go-side__in { position: sticky; top: 76px; margin-top: 22px; }
	.has-demo .go-side__in { top: calc(var(--go-demo-h, 0px) + 76px); }
	.go-side .go-cart, .has-demo .go-side .go-cart { position: static; margin-top: 0; max-height: calc(100vh - 170px); }
	.go-side__res { width: 100%; margin-top: 12px; }
}

/* Demo: contatti e firma in fondo al menù */
.go-democredit { margin-top: 14px; padding: 14px; border-radius: 14px; background: #fff; text-align: center; font-size: 14px; }
.go-democredit p { margin: 0 0 6px; }
.go-democredit p:last-child { margin: 0; }
.go-democredit a { display: inline-block; margin: 2px 6px; color: var(--ge-red); font-weight: 700; }
.go-democredit__by, .go-democredit__by a { color: var(--ge-muted) !important; font-weight: 400 !important; font-size: 12px; }
