/* ============================================================
   GREEN RESTAURANT — HOME
   Tutto è sotto il prefisso .gr- (e sotto body.gr-green-header per gli
   override dell'header), così il foglio può restare globale
   senza toccare le altre pagine del tema.
   ============================================================ */

.gr-main {
    --gr-cream:      #FBF8F1;
    --gr-cream-2:    #F2ECDF;
    --gr-white:      #FFFFFF;
    --gr-ink:        #152019;
    --gr-muted:      #5F6D63;
    --gr-green:      #0E3B22;
    --gr-green-700:  #175934;
    --gr-lime:       #B6D94C;
    --gr-carne:      #B4502E;
    --gr-pesce:      #17697B;
    --gr-poke:       #DD7038;
    --gr-gold:       #E0A32B;
    --gr-line:       rgba(14, 59, 34, .13);
    --gr-shadow:     0 30px 70px -34px rgba(14, 59, 34, .45);
    --gr-shadow-sm:  0 14px 34px -20px rgba(14, 59, 34, .40);
    --gr-r-lg:       30px;
    --gr-r-md:       20px;
    --gr-r-sm:       12px;
    --gr-display:    'Outfit', 'Montserrat', system-ui, -apple-system, sans-serif;
    --gr-serif:      'Instrument Serif', Georgia, 'Times New Roman', serif;

    background: var(--gr-cream);
    color: var(--gr-ink);
    font-family: var(--gr-display);
    font-size: 17px;
    line-height: 1.6;
    overflow-x: clip;
}

.gr-main *,
.gr-main *::before,
.gr-main *::after { box-sizing: border-box; }

/* Reset a specificità zero (:where) così le classi dei componenti
   qui sotto vincono sempre senza dover ricorrere a !important. */
.gr-main :where(p, h1, h2, h3, h4, ul, ol, dl, dd, dt, figure, blockquote) {
    margin: 0;
    padding: 0;
}

.gr-main :where(ul, ol) { list-style: none; }

.gr-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gr-main :where(a) { text-decoration: none; }

.gr-main :where(h1, h2, h3, p, span, li, strong, a, cite, dd, dt, figcaption) {
    color: inherit;
}

.gr-main :focus-visible {
    outline: 3px solid var(--gr-lime);
    outline-offset: 3px;
    border-radius: 6px;
}

.gr-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.gr-section { padding: 104px 0; }

@media (max-width: 900px) {
    .gr-main { font-size: 16px; }
    .gr-section { padding: 72px 0; }
}


/* ── Reveal on scroll ──────────────────────────────────────────
   Il ritardo passa da --gr-delay: le classi gr-d1/d2/d3 lo scrivono
   a mano nel template, mentre home.js lo calcola da solo per i figli
   delle griglie (una cosa dopo l'altra, senza marcarle una per una).
   ------------------------------------------------------------- */
/* Lo spostamento passa da due variabili invece che da un transform scritto
   sullo stato .is-in. È voluto: se .is-in dichiarasse "transform: none"
   vincerebbe per specificità su regole come .gr-value:hover, e le card non
   si solleverebbero più al passaggio del mouse. Così l'unica dichiarazione
   di transform sta qui, e qualsiasi :hover più avanti nel file la scavalca. */
.gr-js .gr-reveal {
    opacity: 0;
    transform: translate3d(var(--gr-shift-x, 0px), var(--gr-shift-y, 20px), 0);
    transition: opacity .7s cubic-bezier(.22, .61, .36, 1),
                transform .7s cubic-bezier(.22, .61, .36, 1);
    transition-delay: var(--gr-delay, 0s);
}
.gr-js .gr-reveal.is-in {
    opacity: 1;
    --gr-shift-x: 0px;
    --gr-shift-y: 0px;
}
.gr-js .gr-d1 { --gr-delay: .08s; }
.gr-js .gr-d2 { --gr-delay: .16s; }
.gr-js .gr-d3 { --gr-delay: .24s; }

/* Entrate laterali, per le sezioni a due colonne: la foto arriva da una
   parte e il testo dall'altra. */
.gr-js .gr-reveal--left  { --gr-shift-x: -34px; --gr-shift-y: 0px; }
.gr-js .gr-reveal--right { --gr-shift-x: 34px;  --gr-shift-y: 0px; }

/* Il reveal si prende la transizione di transform, che per queste card era
   di .25s: sull'hover si rimette il tempo corto, altrimenti il sollevamento
   arriverebbe con quasi un secondo di ritardo. */
.gr-js .gr-value:hover,
.gr-js .gr-review:hover,
.gr-js .gr-aud:hover { transition-duration: .22s; }

/* Le foto grandi entrano scoprendosi dal basso, come una tendina.

   Il ritaglio sta sull'IMMAGINE e non sul contenitore, e non è un dettaglio:
   un elemento tagliato a zero ha area nulla, quindi non interseca più niente
   e l'IntersectionObserver che osserva proprio lui non scatta mai — la foto
   resterebbe invisibile per sempre. Così il contenitore osservato resta
   intero e a muoversi è solo l'immagine dentro.

   Lo stato finale è inset(-70px) e non inset(0): a zero il ritaglio
   coinciderebbe col bordo dell'immagine e mangerebbe l'ombra della cartella.

   Dentro @supports perché senza clip-path animabile l'immagine resterebbe
   tagliata: i browser che non lo reggono la mostrano e basta. */
@supports (clip-path: inset(0 0 0 0)) {
    .gr-js .gr-reveal--wipe {
        opacity: 1;
        transform: none;
    }
    .gr-js .gr-reveal--wipe img {
        clip-path: inset(0 0 100% 0);
        transition: clip-path 1.05s cubic-bezier(.22, .61, .36, 1) var(--gr-delay, 0s);
    }
    .gr-js .gr-reveal--wipe.is-in img {
        clip-path: inset(-70px);
    }
}

/* Parallasse: l'ampiezza la decide home.js, qui si prepara solo il
   compositore. Vale solo da desktop in su (vedi il media query in fondo). */
.gr-js [data-gr-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
    .gr-js .gr-reveal { opacity: 1; transform: none; transition: none; }
    .gr-js .gr-reveal--wipe img { clip-path: none; transition: none; }
    .gr-js [data-gr-parallax] { transform: none !important; will-change: auto; }
}


/* ============================================================
   HEADER (solo in home)
   ============================================================ */
body.gr-green-header header {
    background: #0E3B22;
    box-shadow: none;
}
body.gr-green-header.gr-scrolled header {
    box-shadow: 0 12px 34px -20px rgba(0, 0, 0, .6);
}
/* Stessa gabbia di .gr-wrap, così il logo è incolonnato con l'H1 della hero. */
body.gr-green-header .header-inner {
    max-width: 1180px;
    padding: 0 24px;
}

/* Nell'header c'è il nome del sito in grassetto (stili in header.css): il
   marchio grafico sta nel bollino della cover. Un logo caricato da
   Personalizza (.custom-logo) viene lasciato com'è. */
body.gr-green-header .site-logo .custom-logo { height: 40px; }

/* Ultima voce del menu allineata otticamente al bordo del contenuto
   (la voce-pulsante è esclusa: il suo padding fa parte della pillola). */
body.gr-green-header .menu > li:last-child:not(.gr-nav-cta) > a { padding-right: 0; }

/* Voce "Aziende": pulsante, non link. La classe gr-nav-cta si assegna
   alla voce da Aspetto → Menu (campo "Classi CSS"). */
@media (min-width: 1025px) {
    body.gr-green-header .menu > li.gr-nav-cta > a {
        margin-left: 10px;
        padding: 9px 18px;
        border-radius: 999px;
        background: var(--gr-lime, #B6D94C);
        /* !important necessario: menu.css colora .current-menu-item a con !important */
        color: #0E3B22 !important;
        transition: background .2s ease, transform .2s ease;
    }
    body.gr-green-header .menu > li.gr-nav-cta > a:hover {
        background: #C6E463;
        color: #0E3B22 !important;
        transform: translateY(-1px);
    }
}

@media (max-width: 1024px) {
    body.gr-green-header .menu > li.gr-nav-cta { border-bottom: 0; }
    body.gr-green-header .menu > li.gr-nav-cta > a {
        display: inline-flex;
        width: auto;
        margin-top: 18px;
        padding: 14px 26px;
        border-radius: 999px;
        background: #0E3B22;
        color: #fff !important;
    }
}

body.gr-green-header #mobile-menu-open span { background: #fff; }
body.gr-green-header .ajax-search { display: none; }

@media (max-width: 1024px) {
    body.gr-green-header .header-inner { padding: 0 20px; }

    /* Su mobile il logo deve lasciare spazio all'hamburger. */
    body.gr-green-header .site-logo .custom-logo { height: 30px; }
    body.gr-green-header .site-logo { max-width: 62vw; }

    /* Pannello del menu mobile: allineato al viewport e sotto la admin bar. */
    body.gr-green-header #main-menu {
        top: 0;
        left: 0;
        padding-top: 96px;
    }
    body.gr-green-header.admin-bar #main-menu {
        top: 46px;
        height: calc(100vh - 46px);
    }

    /* A menu aperto il pannello è bianco: la X torna scura, altrimenti sparisce. */
    body.gr-green-header #mobile-menu-open.is-open span { background: #152019; }
}


/* ============================================================
   TIPOGRAFIA CONDIVISA
   ============================================================ */
.gr-kicker {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gr-green-700);
    margin-bottom: 16px !important;
}
.gr-kicker--light { color: var(--gr-lime); }

.gr-title {
    font-family: var(--gr-display);
    font-size: clamp(2.1rem, 4.4vw, 3.35rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.025em;
}
.gr-title em,
.gr-hero__title em,
.gr-cta__title em {
    font-family: var(--gr-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.01em;
    color: var(--gr-green-700);
}
.gr-title--light { color: #fff; }
.gr-title--light em { color: var(--gr-lime); }

.gr-head { max-width: 720px; margin-bottom: 48px; }
.gr-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.gr-head__lead {
    margin-top: 18px !important;
    color: var(--gr-muted);
    font-size: 1.05rem;
}
.gr-head__note {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px !important;
    color: var(--gr-muted);
    font-size: .95rem;
}

.gr-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: var(--gr-cream-2);
    color: var(--gr-green);
}
.gr-chip--day   { background: var(--gr-lime); color: var(--gr-green); }
.gr-chip--carne { background: rgba(180, 80, 46, .12);  color: var(--gr-carne); }
.gr-chip--pesce { background: rgba(23, 105, 123, .12); color: var(--gr-pesce); }
.gr-chip--poke  { background: rgba(221, 112, 56, .14); color: var(--gr-poke); }

.gr-swatch {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}
.gr-swatch--carne { background: var(--gr-carne); }
.gr-swatch--pesce { background: var(--gr-pesce); }
.gr-swatch--poke  { background: var(--gr-poke); }


/* ── Bottoni ───────────────────────────────────────────────── */
.gr-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: 999px;
    font-size: .98rem;
    font-weight: 600;
    line-height: 1;
    border: 1.5px solid transparent;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.gr-btn:hover { transform: translateY(-2px); }
.gr-btn__arrow { transition: transform .2s ease; }
.gr-btn:hover .gr-btn__arrow { transform: translateX(4px); }

.gr-btn--primary { background: var(--gr-green); color: #fff; }
.gr-btn--primary:hover { background: var(--gr-green-700); color: #fff; }

.gr-btn--ghost {
    background: transparent;
    color: var(--gr-green);
    border-color: rgba(14, 59, 34, .25);
}
.gr-btn--ghost:hover { border-color: var(--gr-green); background: rgba(14, 59, 34, .05); }

.gr-btn--light { background: var(--gr-lime); color: var(--gr-green); }
.gr-btn--light:hover { background: #C6E463; }

.gr-btn--outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, .4);
}
.gr-btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }


/* ============================================================
   HERO
   ============================================================ */
.gr-hero {
    position: relative;
    padding: 184px 0 96px;
    background:
        radial-gradient(120% 90% at 80% -10%, #EFE9DA 0%, rgba(239, 233, 218, 0) 60%),
        var(--gr-cream);
    overflow: hidden;
}
.gr-hero__glow {
    position: absolute;
    top: -220px;
    right: -160px;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(182, 217, 76, .35) 0%, rgba(182, 217, 76, 0) 68%);
    pointer-events: none;
}
.gr-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 64px;
    align-items: center;
}

.gr-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--gr-line);
    font-size: .84rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--gr-green);
    margin-bottom: 26px !important;
}
.gr-eyebrow__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gr-lime);
    box-shadow: 0 0 0 4px rgba(182, 217, 76, .32);
}

.gr-hero__title {
    font-size: clamp(2.6rem, 5.6vw, 4.35rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.035em;
    margin-bottom: 24px !important;
}

.gr-hero__lead {
    max-width: 520px;
    font-size: 1.1rem;
    color: var(--gr-muted);
    margin-bottom: 34px !important;
}
.gr-hero__lead strong { color: var(--gr-ink); font-weight: 600; }

.gr-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.gr-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 34px;
    padding-top: 26px;
    border-top: 1px solid var(--gr-line);
    font-size: .95rem;
    color: var(--gr-muted);
}
.gr-hero__facts strong { color: var(--gr-ink); font-weight: 700; }

/* ── Colonna immagine ── */
.gr-hero__media { position: relative; }

.gr-hero__photo {
    position: relative;
    aspect-ratio: 9 / 11;
    border-radius: var(--gr-r-lg);
    overflow: hidden;
    box-shadow: var(--gr-shadow);
}

.gr-hero__card {
    position: absolute;
    left: -34px;
    bottom: 44px;
    width: 254px;
    padding: 20px 22px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    border-radius: var(--gr-r-md);
    box-shadow: var(--gr-shadow-sm);
    border: 1px solid var(--gr-line);
}
.gr-hero__card-label {
    display: block;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gr-muted);
    margin-bottom: 12px;
}
.gr-hero__card-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--gr-line);
    font-size: .95rem;
}
.gr-hero__card-row:last-child { border-bottom: 0; padding-bottom: 0; }
.gr-hero__card-name { font-weight: 600; }
.gr-hero__card-price { margin-left: auto; font-weight: 800; color: var(--gr-green); }

/* Bollino col marchio del Green: fondo chiaro perché il logo ha cappello e
   scritta scuri. Il file ha molto margine bianco attorno al disegno, quindi
   l'immagine è un po' più grande del cerchio e il bordo la ritaglia. */
.gr-hero__stamp {
    position: absolute;
    top: -22px;
    right: -18px;
    width: 124px;
    height: 124px;
    overflow: hidden;
    border: 4px solid var(--gr-white);
    border-radius: 50%;
    background: var(--gr-white);
    box-shadow: var(--gr-shadow-sm);
}
.gr-main .gr-hero__stamp img {
    width: 118%;
    height: 118%;
    margin: -9%;
    object-fit: contain;
}

@media (max-width: 980px) {
    .gr-hero { padding: 138px 0 72px; }
    .gr-hero__grid { grid-template-columns: 1fr; gap: 52px; }
    .gr-hero__media { max-width: 520px; }
    .gr-hero__photo { aspect-ratio: 4 / 3.4; }
    .gr-hero__card { left: auto; right: -12px; bottom: -26px; }
    .gr-hero__stamp { width: 100px; height: 100px; top: -16px; right: auto; left: -14px; }
}
@media (max-width: 560px) {
    .gr-hero__card { width: 218px; right: 0; }
    .gr-hero__cta .gr-btn { flex: 1 1 100%; justify-content: center; }
}


/* ============================================================
   TICKER
   ============================================================ */
.gr-ticker {
    background: var(--gr-green);
    color: var(--gr-lime);
    padding: 16px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, .06);
}
.gr-ticker__track {
    display: flex;
    width: max-content;
    animation: gr-ticker-scroll 46s linear infinite;
}
.gr-ticker__group {
    white-space: nowrap;
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding-right: 12px;
}
@keyframes gr-ticker-scroll {
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .gr-ticker__track { animation: none; }
}


/* ============================================================
   MENU DI OGGI
   ============================================================ */
.gr-menu { background: var(--gr-cream); }

.gr-tabs__list {
    display: flex;
    gap: 8px;
    padding: 8px;
    margin-bottom: 26px;
    background: var(--gr-white);
    border: 1px solid var(--gr-line);
    border-radius: 999px;
    box-shadow: var(--gr-shadow-sm);
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
}
.gr-tab {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 13px 26px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--gr-muted);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background .25s ease, color .25s ease;
}
.gr-tab:hover { color: var(--gr-ink); background: var(--gr-cream); }
.gr-tab__price { font-size: .85rem; font-weight: 600; opacity: .75; }

.gr-tab.is-active { color: #fff; }
.gr-tab--carne.is-active { background: var(--gr-carne); }
.gr-tab--pesce.is-active { background: var(--gr-pesce); }
.gr-tab--poke.is-active  { background: var(--gr-poke); }
.gr-tab.is-active .gr-tab__price { opacity: .9; }

.gr-panel {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 0;
    background: var(--gr-white);
    border: 1px solid var(--gr-line);
    border-radius: var(--gr-r-lg);
    overflow: hidden;
    box-shadow: var(--gr-shadow-sm);
}
.gr-panel[hidden] { display: none; }
.gr-panel.is-active { animation: gr-fade-up .45s cubic-bezier(.22, .61, .36, 1) both; }
@keyframes gr-fade-up {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .gr-panel.is-active { animation: none; }
}

.gr-panel__body { padding: 44px 44px 40px; }

.gr-panel__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--gr-line);
    margin-bottom: 8px;
}
.gr-panel__title {
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -.02em;
    margin-top: 12px !important;
}

.gr-price { text-align: right; flex-shrink: 0; }
.gr-price__from {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gr-muted);
    margin-bottom: 2px;
}
.gr-price__value {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
    color: var(--gr-green);
}

.gr-dishes { padding: 6px 0 4px; }
.gr-dish {
    padding: 18px 0;
    border-bottom: 1px dashed var(--gr-line);
}
.gr-dish:last-child { border-bottom: 0; }
.gr-dish__name {
    display: block;
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: -.01em;
}
.gr-dish__desc {
    display: block;
    margin-top: 3px;
    font-size: .95rem;
    color: var(--gr-muted);
}

.gr-included {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px !important;
    padding-top: 22px;
    border-top: 1px solid var(--gr-line);
}
.gr-included__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--gr-cream);
    font-size: .86rem;
    font-weight: 600;
    color: var(--gr-green);
}
.gr-included__item::before {
    content: "✓";
    font-size: .8rem;
    color: var(--gr-green-700);
}

/* Il wrapper non ha altezza propria (la prende dalla riga della griglia),
   quindi l'immagine va posizionata in assoluto: con display:grid l'img
   imponeva la sua altezza intrinseca e sbordava sopra il testo su mobile. */
.gr-panel__photo {
    position: relative;
    min-height: 380px;
}
.gr-panel__photo img {
    position: absolute;
    inset: 0;
}

/* Le carte stampate (mare, cartella poke) vanno mostrate intere: tagliarle
   con object-fit:cover renderebbe illeggibile metà foglio. */
.gr-panel__photo--doc { background: var(--gr-cream-2); }
.gr-panel__photo--doc img {
    inset: 22px;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: var(--gr-shadow-sm);
}

.gr-menu__footnote {
    margin-top: 26px !important;
    font-size: .95rem;
    color: var(--gr-muted);
    max-width: 640px;
}

@media (max-width: 900px) {
    .gr-panel { grid-template-columns: 1fr; }
    /* min-width:0 è obbligatorio: con aspect-ratio il browser calcola una
       larghezza minima automatica dall'altezza (240 × 16/10 = 384px) che
       allargherebbe la traccia 1fr oltre il pannello. */
    .gr-panel__photo {
        order: -1;
        aspect-ratio: 16 / 10;
        min-height: 0;
        min-width: 0;
    }

    /* min-width:0 impedisce che il contenuto largo allarghi la colonna
       oltre il pannello (che poi lo taglierebbe con overflow:hidden). */
    .gr-panel__body { padding: 30px 24px 32px; min-width: 0; }

    /* Su schermi stretti il prezzo va sotto il titolo, non a fianco. */
    .gr-panel__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .gr-price { text-align: left; }
    .gr-panel__title { font-size: 1.5rem; }
    .gr-price__value { font-size: 2rem; }
    .gr-tabs__list { width: 100%; justify-content: flex-start; }
    .gr-tab { padding: 12px 18px; }
}

/* Su schermi stretti le tre tab devono starci tutte senza scorrimento. */
@media (max-width: 480px) {
    .gr-tabs__list { padding: 6px; gap: 4px; }
    .gr-tab { padding: 11px 13px; gap: 6px; font-size: .95rem; }
    .gr-tab__price { font-size: .78rem; }
}


/* ============================================================
   VALORI
   ============================================================ */
.gr-values { background: var(--gr-white); }
.gr-values__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.gr-value {
    padding: 32px 28px 34px;
    background: var(--gr-cream);
    border: 1px solid var(--gr-line);
    border-radius: var(--gr-r-md);
    transition: transform .25s ease, box-shadow .25s ease;
}
.gr-value:hover { transform: translateY(-4px); box-shadow: var(--gr-shadow-sm); }
.gr-value__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--gr-green);
    color: var(--gr-lime);
    font-size: 1.15rem;
    font-weight: 700;
}
.gr-value__title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -.015em;
    margin-bottom: 8px !important;
}
.gr-value__text { font-size: .96rem; color: var(--gr-muted); }

@media (max-width: 1000px) { .gr-values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .gr-values__grid { grid-template-columns: 1fr; } }


/* ============================================================
   POKE
   ============================================================ */
.gr-poke {
    padding: 104px 0;
    background: var(--gr-green);
    color: #fff;
}
.gr-poke__grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: center;
}
.gr-poke__photo {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--gr-r-lg);
    overflow: hidden;
}
.gr-poke__badge {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--gr-lime);
    color: var(--gr-green);
    font-size: 1rem;
    font-weight: 800;
}
/* La cartella della poke è un foglio: si mostra intero, su un cartoncino. */
.gr-poke__photo--card {
    aspect-ratio: 3 / 4;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    padding: 20px;
}
.gr-poke__photo--card img {
    width: auto;
    height: 100%;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7);
}

.gr-poke__lead {
    margin-top: 20px !important;
    max-width: 520px;
    color: rgba(255, 255, 255, .74);
    font-size: 1.05rem;
}

/* I due formati della poke */
.gr-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}
.gr-size {
    flex: 1 1 190px;
    padding: 18px 22px;
    border-radius: var(--gr-r-md);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
}
.gr-size__name {
    display: block;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gr-lime);
}
.gr-size__price {
    display: block;
    margin: 4px 0 2px;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
}
.gr-size__meta {
    display: block;
    font-size: .88rem;
    color: rgba(255, 255, 255, .68);
}

.gr-steps { margin-top: 36px !important; }
.gr-step {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
}
.gr-step:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.gr-step__num {
    flex-shrink: 0;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--gr-lime);
    padding-top: 4px;
}
.gr-step__body strong {
    display: block;
    font-size: 1.08rem;
    font-weight: 700;
    color: #fff;
}
.gr-step__body span {
    display: block;
    margin-top: 2px;
    font-size: .95rem;
    color: rgba(255, 255, 255, .68);
}

@media (max-width: 900px) {
    .gr-poke { padding: 72px 0; }
    .gr-poke__grid { grid-template-columns: 1fr; gap: 40px; }
}


/* ============================================================
   CHI SIAMO
   ============================================================ */
.gr-about { background: var(--gr-cream); }
.gr-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.gr-about__content p {
    margin-top: 18px !important;
    color: var(--gr-muted);
}
.gr-about__content .gr-title + p { margin-top: 24px !important; }

.gr-quote {
    position: relative;
    margin-top: 30px !important;
    padding: 26px 28px;
    background: var(--gr-white);
    border-left: 4px solid var(--gr-lime);
    border-radius: 0 var(--gr-r-md) var(--gr-r-md) 0;
    box-shadow: var(--gr-shadow-sm);
}
.gr-quote p {
    margin: 0 !important;
    font-family: var(--gr-serif);
    font-size: 1.32rem;
    line-height: 1.42;
    color: var(--gr-ink) !important;
}
/* Il marchio fa da segno d'acqua: sta su fondo chiaro, quindi i bianchi
   del logo (cappello, posate) si confondono col cartoncino come sul menu. */
.gr-quote .gr-quote__mark {
    position: absolute;
    right: 18px;
    bottom: 14px;
    width: 92px;
    height: auto;
    object-fit: contain;
    opacity: .22;
    pointer-events: none;
}
.gr-quote__cite {
    display: block;
    margin-top: 12px;
    font-family: var(--gr-display);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gr-green-700);
}

.gr-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 46px;
    margin-top: 34px !important;
    padding-top: 28px;
    border-top: 1px solid var(--gr-line);
}
.gr-stat__label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gr-muted);
}
.gr-stat__value {
    display: block;
    /* tabular-nums: mentre il contatore sale le cifre non ballano. */
    font-variant-numeric: tabular-nums;
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--gr-green);
}

.gr-about__media { position: relative; }
.gr-about__photo--big {
    aspect-ratio: 5 / 4;
    border-radius: var(--gr-r-lg);
    overflow: hidden;
    box-shadow: var(--gr-shadow);
}
.gr-about__cap {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(14, 59, 34, .82);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
}
.gr-about__photo--big { position: relative; }

.gr-about__photo--small {
    position: absolute;
    right: -18px;
    bottom: -46px;
    width: 46%;
    aspect-ratio: 1;
    border-radius: var(--gr-r-md);
    overflow: hidden;
    border: 8px solid var(--gr-cream);
    box-shadow: var(--gr-shadow-sm);
}

@media (max-width: 900px) {
    .gr-about__grid { grid-template-columns: 1fr; gap: 48px; }
    .gr-about__media { margin-bottom: 40px; }
    .gr-about__photo--small { width: 42%; bottom: -34px; right: 0; }
}


/* ============================================================
   LA CARTA
   ============================================================ */
.gr-carta { background: var(--gr-white); }

/* Due colonne: i nomi lunghi ("Grigliata di calamari e gamberi con
   zucchine") su tre colonne andrebbero a capo quasi tutti. */
.gr-carta__grid {
    margin-top: 44px;
    columns: 2;
    column-gap: 56px;
}
.gr-carta__group {
    break-inside: avoid;
    margin-bottom: 34px;
}
.gr-carta__group-title {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gr-green);
    padding-bottom: 10px;
    margin-bottom: 12px !important;
    border-bottom: 2px solid var(--gr-lime);
}
/* align-items:flex-end tiene il prezzo sull'ultima riga del piatto
   quando il nome va a capo, come sul menu stampato. */
.gr-carta__row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 7px 0;
}
.gr-carta__name { font-size: .98rem; }
/* La fila di puntini tiene insieme piatto e prezzo come sul menu stampato. */
.gr-carta__dots {
    flex: 1 1 auto;
    min-width: 14px;
    height: 1px;
    margin-bottom: 6px;
    border-bottom: 1px dotted rgba(14, 59, 34, .35);
}
.gr-carta__price {
    flex-shrink: 0;
    font-weight: 800;
    color: var(--gr-green);
    font-variant-numeric: tabular-nums;
}
.gr-carta__note {
    margin-top: 10px !important;
    font-size: .95rem;
    color: var(--gr-muted);
}

@media (max-width: 700px) { .gr-carta__grid { columns: 1; } }


/* ============================================================
   SALA E CANTINA
   ============================================================ */
.gr-vibe { background: var(--gr-white); }
.gr-vibe__grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 64px;
    /* Il testo è corto e la foto alta: centrandolo il vuoto si divide
       sopra e sotto invece di accumularsi tutto in fondo. */
    align-items: center;
}
.gr-vibe__photo {
    position: relative;
    aspect-ratio: 7 / 8;
    border-radius: var(--gr-r-lg);
    overflow: hidden;
    box-shadow: var(--gr-shadow);
}
.gr-vibe__badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--gr-green);
    font-size: .9rem;
    font-weight: 800;
}
.gr-vibe__lead {
    margin-top: 22px !important;
    max-width: 560px;
    color: var(--gr-muted);
    font-size: 1.05rem;
}

/* Il mosaico: una griglia a quattro colonne con le aree nominate, così
   ogni foto sa dov'è e quanto spazio prende. La sala grande apre, la sala
   col bancone chiude in basso a destra, i piatti riempiono in mezzo. */
.gr-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(150px, 17vw, 230px);
    grid-template-areas:
        "a a b c"
        "a a d e"
        "f g h h";
    gap: 14px;
    margin-top: 64px;
}
.gr-mosaic__tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--gr-r-md);
    background: var(--gr-cream-2);
    box-shadow: var(--gr-shadow-sm);
}
.gr-mosaic__tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.gr-mosaic__tile:hover img { transform: scale(1.04); }

.gr-mosaic__tile--a { grid-area: a; }
.gr-mosaic__tile--b { grid-area: b; }
.gr-mosaic__tile--c { grid-area: c; }
.gr-mosaic__tile--d { grid-area: d; }
.gr-mosaic__tile--e { grid-area: e; }
.gr-mosaic__tile--f { grid-area: f; }
.gr-mosaic__tile--g { grid-area: g; }
.gr-mosaic__tile--h { grid-area: h; }

/* Nei piatti il soggetto sta in basso (la scritta Green è sopra): il
   taglio quasi quadrato lo tiene in vista invece di mostrare solo la parete. */
.gr-mosaic__tile--b img,
.gr-mosaic__tile--c img,
.gr-mosaic__tile--e img,
.gr-mosaic__tile--f img,
.gr-mosaic__tile--g img { object-position: 50% 78%; }
.gr-mosaic__tile--d img { object-position: 62% 50%; }

@media (max-width: 720px) {
    .gr-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: clamp(130px, 42vw, 220px);
        grid-template-areas:
            "a a"
            "b c"
            "d e"
            "f g"
            "h h";
        gap: 10px;
        margin-top: 44px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .gr-mosaic__tile img { transition: none; }
    .gr-mosaic__tile:hover img { transform: none; }
}

.gr-wines {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--gr-line);
    columns: 2;
    column-gap: 56px;
}
.gr-wines__group {
    break-inside: avoid;
    margin-bottom: 26px;
}
.gr-wines__title {
    font-family: var(--gr-serif);
    font-size: 1.5rem;
    line-height: 1;
    color: var(--gr-green);
    margin-bottom: 10px !important;
}
.gr-wines__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 6px 0;
    border-top: 1px solid var(--gr-line);
    font-size: .92rem;
}
.gr-wines__name { color: var(--gr-ink); }
.gr-wines__price {
    flex-shrink: 0;
    font-weight: 800;
    color: var(--gr-green);
    font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
    .gr-vibe__grid { grid-template-columns: 1fr; gap: 44px; }
    .gr-vibe__photo { max-width: 460px; }
}
@media (max-width: 560px) { .gr-wines { columns: 1; } }


/* ============================================================
   PER CHI
   ============================================================ */
.gr-audience { background: var(--gr-cream); }
.gr-audience__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gr-aud {
    padding: 36px 30px 38px;
    background: var(--gr-white);
    border: 1px solid var(--gr-line);
    border-radius: var(--gr-r-md);
}
.gr-aud__num {
    display: block;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .14em;
    color: var(--gr-lime);
    margin-bottom: 22px;
}
.gr-aud__title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 10px !important;
}
.gr-aud__text { color: var(--gr-muted); font-size: .98rem; }

@media (max-width: 900px) { .gr-audience__grid { grid-template-columns: 1fr; } }



/* ============================================================
   RECENSIONI
   ============================================================ */

/* Stelle: due strati sovrapposti, quello pieno ritagliato in larghezza
   con --gr-fill, così si rendono anche i mezzi voti (es. 4,8 → 96%). */
.gr-stars {
    position: relative;
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: .06em;
    font-size: .95rem;
}
.gr-stars__bg { color: rgba(14, 59, 34, .20); }
.gr-stars__fg {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--gr-fill, 100%);
    overflow: hidden;
    color: var(--gr-gold);
}
.gr-stars--lg { font-size: 1.45rem; }

/* ── Badge sulla cover ── */
.gr-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    padding: 9px 17px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid var(--gr-line);
    font-size: .86rem;
    transition: border-color .2s ease, transform .2s ease;
}
.gr-rating:hover {
    border-color: var(--gr-green);
    transform: translateY(-1px);
}
.gr-rating__score { font-weight: 800; }
.gr-rating__meta { color: var(--gr-muted); }

/* ── Avviso visibile solo agli amministratori ── */
.gr-admin-note {
    display: block;
    margin-bottom: 30px;
    padding: 11px 15px;
    border-radius: 12px;
    border: 1px dashed rgba(180, 80, 46, .45);
    background: rgba(180, 80, 46, .06);
    color: var(--gr-carne);
    font-size: .85rem;
    line-height: 1.5;
}
.gr-admin-note--block {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

/* ── Sezione ── */
/* Sabbia: sta tra il menu (crema) e i valori (bianco), così le tre
   sezioni consecutive restano distinguibili. */
.gr-reviews { background: var(--gr-cream-2); }

.gr-score {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-top: 24px;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--gr-white);
    border: 1px solid var(--gr-line);
    box-shadow: var(--gr-shadow-sm);
}
.gr-score__value {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.025em;
    color: var(--gr-green);
}
.gr-score__meta { font-size: .9rem; color: var(--gr-muted); }

.gr-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gr-review {
    display: flex;
    flex-direction: column;
    padding: 30px 28px 26px;
    background: var(--gr-white);
    border: 1px solid var(--gr-line);
    border-radius: var(--gr-r-md);
    transition: transform .25s ease, box-shadow .25s ease;
}
.gr-review:hover { transform: translateY(-4px); box-shadow: var(--gr-shadow-sm); }
.gr-review__text {
    flex: 1;
    margin: 16px 0 22px;
    font-size: 1rem;
    line-height: 1.55;
}
.gr-review__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--gr-line);
}
.gr-review__avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gr-green);
    color: var(--gr-lime);
    font-size: .95rem;
    font-weight: 700;
}
.gr-review__name { font-size: .95rem; font-weight: 600; }

/* Contenitore del widget Trustindex: gli stili li porta il plugin,
   qui gestiamo solo larghezza e centratura dentro la sezione. */
.gr-reviews__widget {
    max-width: 1000px;
    margin: 0 auto;
}
.gr-reviews__widget img { width: auto; height: auto; }

.gr-reviews__cta { margin-top: 34px; text-align: center; }

@media (max-width: 900px) {
    .gr-reviews__grid { grid-template-columns: 1fr; }
    .gr-score { gap: 10px; padding: 11px 18px; }
    .gr-score__value { font-size: 1.45rem; }
    .gr-score__meta { font-size: .85rem; }
}


/* ============================================================
   DOVE SIAMO
   ============================================================ */
.gr-where { background: var(--gr-white); }
.gr-where__grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.gr-info { margin-top: 34px !important; }
.gr-info__row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 20px;
    padding: 18px 0;
    border-top: 1px solid var(--gr-line);
}
.gr-info__row:last-child { border-bottom: 1px solid var(--gr-line); }
.gr-info__label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: var(--gr-muted);
    padding-top: 3px;
}
.gr-info__value { font-size: 1.02rem; font-weight: 500; }
.gr-info__value a { text-decoration: underline; text-underline-offset: 3px; }
.gr-info__value em { color: var(--gr-muted); font-size: .92rem; }
.gr-info__value--todo {
    color: var(--gr-carne);
    font-size: .92rem;
    font-weight: 500;
}

.gr-where__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.gr-where__map {
    aspect-ratio: 1 / 1;
    border-radius: var(--gr-r-lg);
    overflow: hidden;
    border: 1px solid var(--gr-line);
    box-shadow: var(--gr-shadow-sm);
    background: var(--gr-cream);
}
.gr-where__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(.9);
}

@media (max-width: 900px) {
    .gr-where__grid { grid-template-columns: 1fr; gap: 40px; }
    .gr-where__map { aspect-ratio: 4 / 3; }
    .gr-info__row { grid-template-columns: 1fr; gap: 4px; }
}


/* ============================================================
   CTA FINALE
   ============================================================ */
.gr-cta {
    padding: 96px 0;
    background:
        radial-gradient(90% 120% at 50% 0%, #17593400 0%, rgba(0, 0, 0, .22) 100%),
        var(--gr-green);
    color: #fff;
    text-align: center;
}
.gr-cta__inner { max-width: 680px; }
.gr-cta__title {
    font-size: clamp(2.1rem, 4.6vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.06;
}
.gr-cta__text {
    margin-top: 18px !important;
    color: rgba(255, 255, 255, .72);
    font-size: 1.05rem;
}
/* La firma dei titolari, scritta come a mano sotto il testo. */
.gr-cta__sign {
    margin-top: 14px !important;
    font-family: var(--gr-serif);
    font-size: 1.6rem;
    color: var(--gr-lime) !important;
}
.gr-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
}

@media (max-width: 560px) {
    .gr-cta { padding: 72px 0; }
    .gr-cta__actions .gr-btn { flex: 1 1 100%; justify-content: center; }
}


/* ============================================================
   ORDINA DA ASPORTO — pulsante nelle tab del menu del giorno
   Il prodotto e la disponibilità li decide DailyMenuController;
   qui c'è solo il vestito.
   ============================================================ */
.gr-panel__buy {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--gr-line);
}
.gr-panel__buy-note,
.gr-panel__buy-off {
    font-size: .88rem;
    color: var(--gr-muted);
}
/* Quando non si può ordinare la riga resta, ma senza il filo sopra: senza
   pulsante sarebbe una linea che divide il nulla. */
.gr-panel__buy:not(:has(.gr-btn)) {
    border-top: 0;
    padding-top: 0;
    margin-top: 18px;
}
.gr-panel__buy-off {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--gr-cream-2);
    font-weight: 600;
}

/* Il segno di spunta che Woo aggiunge al pulsante dopo l'aggiunta. */
.gr-panel__buy .gr-btn.added::after {
    content: '✓';
    margin-left: 4px;
    font-weight: 700;
}
/* Durante la chiamata ajax il pulsante resta fermo e si smorza, così non
   si clicca due volte. */
.gr-panel__buy .gr-btn.loading {
    opacity: .6;
    pointer-events: none;
}
/* "Visualizza carrello" che Woo infila dopo il pulsante: qui non serve,
   il carrello si apre da solo nell'header. */
.gr-panel__buy .added_to_cart { display: none; }

@media (max-width: 560px) {
    .gr-panel__buy .gr-btn { flex: 1 1 100%; justify-content: center; }
}
