/*
Theme Name: Goustò — Caffè Elena (ottobre 2026)
Theme URI: https://gousto.eu
Author: Infinity Net SRL
Author URI: https://infinitynet.it
Description: Variante ottobre 2026: menù aggiornato con simboli Slow Food e allergeni, palette calda ripresa da demo.gousto.eu.
Version: 0.8.1
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gousto
*/

/* ===== FONT SELF-HOSTED (GDPR - nessuna chiamata a Google) ===== */
@font-face{font-family:'Playfair Display';font-style:normal;font-display:swap;font-weight:400 900;src:url('assets/fonts/playfair-display-latin-wght-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Playfair Display';font-style:normal;font-display:swap;font-weight:400 900;src:url('assets/fonts/playfair-display-latin-ext-wght-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Playfair Display';font-style:italic;font-display:swap;font-weight:400 900;src:url('assets/fonts/playfair-display-latin-wght-italic.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Playfair Display';font-style:italic;font-display:swap;font-weight:400 900;src:url('assets/fonts/playfair-display-latin-ext-wght-italic.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-display:swap;font-weight:100 900;src:url('assets/fonts/montserrat-latin-wght-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-display:swap;font-weight:100 900;src:url('assets/fonts/montserrat-latin-ext-wght-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:italic;font-display:swap;font-weight:100 900;src:url('assets/fonts/montserrat-latin-wght-italic.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Montserrat';font-style:italic;font-display:swap;font-weight:100 900;src:url('assets/fonts/montserrat-latin-ext-wght-italic.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}


/* I colori e i font sono definiti come preset in theme.json.
   Qui stanno solo i trattamenti grafici che i blocchi core non coprono. */

:root{
  --g-paper:var(--wp--preset--color--paper,#FFF0D3);
  --g-paper-deep:var(--wp--preset--color--paper-deep,#4F473F);
  --g-ink:var(--wp--preset--color--ink,#FFF0D3);
  --g-ink-soft:var(--wp--preset--color--ink-soft,#C4B79C);
  --g-cantina:var(--wp--preset--color--cantina,#3C352F);
  --g-barolo:var(--wp--preset--color--barolo,#EAD996);
  --g-barolo-deep:#D4C27E;
  --g-nocciola:var(--wp--preset--color--nocciola,#EAD996);
  --g-blu:var(--wp--preset--color--blu,#595147);
  --g-blu-glow:var(--wp--preset--color--blu-glow,#7A6F60);
  --g-line:rgba(255,240,211,.16);
}

/* grana carta sottile */
body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:1;opacity:.5;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}
.wp-site-blocks{position:relative;z-index:2}

/* ---------- eyebrow / rule ---------- */
.gousto-eyebrow{
  font-family:var(--wp--preset--font-family--util);text-transform:uppercase;
  letter-spacing:.22em;font-size:.72rem;font-weight:600;color:var(--g-nocciola)!important;
}
.gousto-rule{width:54px;height:2px;background:var(--g-barolo);border:0;margin:0 0 18px}

/* ---------- HEADER / NAV ---------- */
.gousto-header{
  position:sticky;top:0;z-index:50;
  background:transparent;transition:background .35s ease,box-shadow .35s ease;
}
.gousto-header.is-scrolled{background:rgba(6,12,39,.96);box-shadow:0 1px 0 rgba(0,0,0,.25)}
.gousto-header .wp-block-site-title a,
.gousto-brand{font-family:var(--wp--preset--font-family--display)!important;font-weight:600;color:var(--g-paper)!important;text-decoration:none;font-size:1.65rem;line-height:1}
.gousto-brand small{display:block;font-family:var(--wp--preset--font-family--util);font-size:.6rem;letter-spacing:.32em;text-transform:uppercase;color:var(--g-nocciola);margin-top:3px;font-weight:600}
.gousto-nav-links a{font-family:var(--wp--preset--font-family--util);font-size:.82rem;font-weight:500;letter-spacing:.04em;color:var(--g-paper);opacity:.85;text-transform:uppercase;transition:opacity .2s,color .2s}
.gousto-nav-links a:hover{opacity:1;color:var(--g-nocciola)}
.gousto-btn .wp-block-button__link,
.wp-block-button.gousto-btn .wp-block-button__link{
  font-family:var(--wp--preset--font-family--util);font-weight:600;font-size:.8rem;letter-spacing:.06em;
  text-transform:uppercase;background:var(--g-barolo);color:var(--g-paper);border-radius:2px;padding:11px 20px;border:1px solid var(--g-barolo);transition:background .2s,transform .2s;
}
.gousto-btn .wp-block-button__link:hover{background:var(--g-barolo-deep);transform:translateY(-1px)}

/* ---------- HERO ---------- */
.gousto-hero{
  position:relative;color:var(--g-paper);padding:170px 0 110px;overflow:hidden;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(46,74,140,.30) 0%, transparent 55%),
    linear-gradient(180deg,#3C352F 0%, var(--g-cantina) 60%, #15264F 100%);
}
.gousto-hero .gousto-eyebrow{color:var(--g-nocciola)!important}
.gousto-hero h1{font-family:var(--wp--preset--font-family--display);font-weight:500;font-size:clamp(2.6rem,6vw,4.7rem);line-height:1.02;letter-spacing:-.01em;max-width:16ch;color:var(--g-paper)}
.gousto-hero h1 em{font-style:italic;color:var(--g-nocciola);font-weight:400}
.gousto-hero p{color:rgba(255,240,211,.82);font-weight:300;font-size:1.18rem;max-width:46ch}
.gousto-hero__filo{position:absolute;top:0;right:14%;width:1px;height:100%;background:linear-gradient(180deg,transparent,var(--g-blu-glow),transparent);box-shadow:0 0 28px 3px rgba(58,91,168,.5);opacity:.55}

/* ---------- PREMI ---------- */
.gousto-awards{background:#15264F;color:var(--g-paper);border-top:1px solid rgba(197,144,87,.2);text-align:center}
.gousto-awards .gousto-awards-lbl{font-family:var(--wp--preset--font-family--util);text-transform:uppercase;letter-spacing:.2em;font-size:.66rem;color:var(--g-nocciola);font-weight:600}
.gousto-awards .gousto-guide{font-family:var(--wp--preset--font-family--display);font-style:italic;font-size:1.02rem;color:rgba(255,240,211,.85)}

/* ---------- SEZIONI ---------- */
.gousto-section h2{font-family:var(--wp--preset--font-family--display);font-weight:500;font-size:clamp(2rem,4vw,3rem);line-height:1.06;letter-spacing:-.01em}
.gousto-prose p{color:var(--g-ink-soft);font-size:1.08rem}
.gousto-prose p.has-lead,.gousto-prose>p:first-child{font-size:1.18rem;color:var(--g-ink)}

/* placeholder foto */
.gousto-photo{position:relative;border:1px solid var(--g-line);min-height:380px;display:flex;align-items:flex-end;padding:18px;
  background:repeating-linear-gradient(135deg,rgba(197,144,87,.10) 0 18px,rgba(197,144,87,.04) 18px 36px),var(--g-paper-deep);}
.gousto-photo .gousto-cap{font-family:var(--wp--preset--font-family--util);font-size:.66rem;text-transform:uppercase;letter-spacing:.16em;color:var(--g-ink-soft);background:var(--g-paper);padding:5px 9px;border:1px solid var(--g-line);margin:0}

/* piatti firma */
.gousto-dish{border-top:2px solid var(--g-barolo);padding-top:18px}
.gousto-dish .gousto-dish-n{font-family:var(--wp--preset--font-family--util);font-size:.7rem;letter-spacing:.16em;color:var(--g-nocciola);font-weight:600;margin:0}
.gousto-dish h3{font-family:var(--wp--preset--font-family--display);font-weight:500;font-size:1.42rem;line-height:1.12;margin:8px 0}
.gousto-dish p{color:var(--g-ink-soft);font-size:1rem;margin:0}

/* ---------- PALAZZO ---------- */
.gousto-palazzo{background:linear-gradient(180deg,var(--g-cantina) 0%, #0B1838 100%);color:var(--g-paper)}
.gousto-palazzo h2{color:var(--g-paper)}
.gousto-palazzo .gousto-eyebrow{color:var(--g-blu-glow)!important}
.gousto-palazzo .gousto-rule{background:var(--g-blu-glow);box-shadow:0 0 14px rgba(58,91,168,.6)}
.gousto-palazzo .gousto-prose p{color:rgba(255,240,211,.78)}
.gousto-palazzo .gousto-prose>p:first-child{color:var(--g-paper)}
.gousto-palazzo .gousto-photo{background:repeating-linear-gradient(135deg,rgba(58,91,168,.14) 0 18px,rgba(58,91,168,.05) 18px 36px),#3C352F;border-color:rgba(255,240,211,.14)}
.gousto-palazzo .gousto-photo .gousto-cap{background:#3C352F;color:rgba(255,240,211,.7);border-color:rgba(255,240,211,.18)}
.gousto-gastini{text-align:center;max-width:34ch;margin:54px auto 0}
.gousto-gastini blockquote,.gousto-gastini p{font-family:var(--wp--preset--font-family--display);font-style:italic;font-weight:400;font-size:clamp(1.5rem,3.4vw,2.3rem);line-height:1.2;color:var(--g-blu-glow);text-shadow:0 0 30px rgba(58,91,168,.35);border:0;margin:0}
.gousto-gastini cite{display:block;font-family:var(--wp--preset--font-family--util);font-style:normal;font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,240,211,.55);margin-top:18px}

/* ---------- VISITA ---------- */
.gousto-visit{background:var(--g-paper-deep)}
.gousto-info-k{font-family:var(--wp--preset--font-family--util);text-transform:uppercase;letter-spacing:.16em;font-size:.68rem;color:var(--g-nocciola);font-weight:600;margin:0 0 8px}
.gousto-hours-row{display:flex;justify-content:space-between;border-bottom:1px dotted var(--g-line);padding:9px 0;gap:18px;font-size:1rem}
.gousto-hours-row span:last-child{color:var(--g-ink-soft);text-align:right}
.gousto-map iframe{width:100%;min-height:420px;border:1px solid var(--g-line);filter:sepia(.18) saturate(.9)}

/* ---------- FOOTER ---------- */
.gousto-footer{background:var(--g-cantina);color:var(--g-paper)}
.gousto-footer p,.gousto-footer a{color:rgba(255,240,211,.72)}
.gousto-footer a:hover{color:var(--g-paper)}
.gousto-footer h4{font-family:var(--wp--preset--font-family--util);text-transform:uppercase;letter-spacing:.16em;font-size:.7rem;color:var(--g-nocciola);font-weight:600;margin:0 0 14px}
.gousto-footer .gousto-legal{border-top:1px solid rgba(255,240,211,.14);padding-top:20px;font-size:.78rem;color:rgba(255,240,211,.5)}
.gousto-footer .gousto-legal a{color:rgba(255,240,211,.5)}

/* ---------- reveal ---------- */
.gousto-reveal{opacity:0;transform:translateY(22px);transition:opacity .8s ease,transform .8s ease}
.gousto-reveal.is-in{opacity:1;transform:none}

@media(prefers-reduced-motion:reduce){
  .gousto-reveal{opacity:1;transform:none;transition:none}
}
@media(max-width:781px){
  .gousto-hero{padding:120px 0 72px}
}

/* ============ PAGINA MENÙ ============ */
.gousto-menu-hero{background:linear-gradient(180deg,#3C352F,var(--g-cantina));color:var(--g-paper);text-align:center;padding:64px 28px 56px}
.gousto-menu-hero .gousto-eyebrow{color:var(--g-nocciola)!important}
.gousto-menu-hero h1{font-family:var(--wp--preset--font-family--display);font-weight:500;font-size:clamp(2.4rem,5vw,3.6rem);color:var(--g-paper);margin:14px 0 10px}
.gousto-menu-hero p{color:rgba(255,240,211,.78);font-weight:300;max-width:52ch;margin:0 auto}
.gousto-lang{display:flex;gap:7px;justify-content:center;margin-top:22px}
.gousto-lang a{font-family:var(--wp--preset--font-family--util);font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:var(--g-paper);opacity:.65;padding:6px 11px;border:1px solid rgba(255,240,211,.3);border-radius:2px;transition:.2s}
.gousto-lang a:hover{opacity:1;border-color:var(--g-nocciola)}
.gousto-lang a.is-active{background:var(--g-barolo);border-color:var(--g-barolo);opacity:1}

.gousto-menu-sec{max-width:720px;margin:0 auto 52px}
.gousto-menu-sechead{display:flex;align-items:center;justify-content:center;gap:16px;margin:0 0 30px}
.gousto-menu-sechead::before,.gousto-menu-sechead::after{content:"•";color:var(--g-nocciola);font-size:1rem}
.gousto-menu-sec h2{font-family:var(--wp--preset--font-family--display);font-weight:500;font-size:1.55rem;letter-spacing:.05em;text-transform:uppercase;color:var(--g-ink);text-align:center;margin:0}

.gousto-dish{max-width:720px;margin:0 auto 18px;padding-bottom:18px;border-bottom:1px dotted var(--g-line)}
.gousto-dish-row{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.gousto-dish-name{font-family:var(--wp--preset--font-family--display);font-size:1.2rem;font-weight:500;color:var(--g-ink);line-height:1.25;margin:0}
.gousto-dish-price{font-family:var(--wp--preset--font-family--util);font-weight:600;color:var(--g-barolo);font-size:1rem;white-space:nowrap;margin:0}
.gousto-dish-desc{color:var(--g-ink-soft);font-size:1.01rem;margin:5px 0 0;max-width:60ch}
.gousto-tag{display:inline-block;font-family:var(--wp--preset--font-family--util);font-size:.56rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--g-barolo);border:1px solid var(--g-barolo);border-radius:2px;padding:2px 5px;margin-left:7px;vertical-align:middle;transform:translateY(-2px)}
.gousto-var{display:flex;justify-content:space-between;align-items:baseline;gap:14px;margin-top:7px}
.gousto-var .v-name{color:var(--g-ink-soft);font-size:1rem}
.gousto-var .v-price{font-family:var(--wp--preset--font-family--util);font-weight:600;color:var(--g-barolo);font-size:.92rem;white-space:nowrap}

.gousto-motto{text-align:center;max-width:720px;margin:54px auto 10px}
.gousto-motto .m-dia{font-family:var(--wp--preset--font-family--display);font-style:italic;font-weight:500;font-size:clamp(1.6rem,3.5vw,2.1rem);color:var(--g-barolo)}
.gousto-motto .m-tr{font-family:var(--wp--preset--font-family--util);text-transform:uppercase;letter-spacing:.22em;font-size:.68rem;color:var(--g-ink-soft);margin-top:10px}

.gousto-legend{max-width:720px;margin:34px auto 0;padding-top:24px;border-top:1px solid var(--g-line);color:var(--g-ink-soft);font-size:.85rem}
.gousto-legend p{margin-bottom:10px}
.gousto-legend b{color:var(--g-ink)}

@media(max-width:560px){
  .gousto-dish-row{flex-wrap:wrap}
  .gousto-dish-price{margin-left:auto}
}

/* ---- carta vini ---- */
.gousto-wine{padding:9px 0;border-bottom:1px dotted var(--g-line);max-width:760px;margin:0 auto}
.gousto-wine .gousto-dish-name{font-size:1.05rem}
.gousto-wine-prod{font-family:var(--wp--preset--font-family--util);font-size:.72rem;letter-spacing:.04em;text-transform:uppercase;color:var(--g-ink-soft);margin:3px 0 0}
.gousto-wine-sub{font-family:var(--wp--preset--font-family--util);text-transform:uppercase;letter-spacing:.16em;font-size:.72rem;color:var(--g-barolo);font-weight:700;margin:26px auto 12px;text-align:center;max-width:760px}
.gousto-menu-sec .gousto-rule{margin-left:auto;margin-right:auto}

/* ---- galleria ---- */
.gousto-gallery-grid{columns:3;column-gap:14px;max-width:1100px;margin:0 auto}
.gousto-gallery-grid .gtile{break-inside:avoid;margin:0 0 14px;border:1px solid var(--g-line);position:relative;display:flex;align-items:flex-end;padding:16px;color:var(--g-ink-soft);
  background:repeating-linear-gradient(135deg,rgba(197,144,87,.10) 0 18px,rgba(197,144,87,.04) 18px 36px),var(--g-paper-deep)}
.gousto-gallery-grid .gtile span{font-family:var(--wp--preset--font-family--util);font-size:.62rem;text-transform:uppercase;letter-spacing:.14em;background:var(--g-paper);padding:4px 8px;border:1px solid var(--g-line)}
.gousto-gallery-grid .gtile.t1{min-height:300px}
.gousto-gallery-grid .gtile.t2{min-height:230px}
.gousto-gallery-grid .gtile.t3{min-height:360px}
@media(max-width:900px){.gousto-gallery-grid{columns:2}}
@media(max-width:560px){.gousto-gallery-grid{columns:1}}

/* ---- galleria con foto reali ---- */
.gousto-gallery-grid a{display:block;break-inside:avoid;margin:0 0 14px;line-height:0;border:1px solid var(--g-line);overflow:hidden}
.gousto-gallery-grid a img{width:100%;height:auto;display:block;transition:transform .5s ease,filter .4s ease;filter:saturate(.92)}
.gousto-gallery-grid a:hover img{transform:scale(1.04);filter:saturate(1.05)}

/* ---- foto reali nelle sezioni ---- */
.gousto-photo-img img{width:100%;height:100%;object-fit:cover;display:block;border:1px solid var(--g-line);filter:saturate(.95);aspect-ratio:4/5}
.gousto-palazzo .gousto-photo-img img{border-color:rgba(255,240,211,.14)}
.gousto-hero--photo{background-size:cover;background-position:center}

/* ---- logo emblema ---- */
.gousto-logo{display:inline-block;line-height:0}
.gousto-logo img{height:58px;width:auto;display:block}
.gousto-footer .gousto-logo img{height:72px;margin-bottom:10px}
@media(max-width:781px){.gousto-logo img{height:46px}}

/* ============ FIX LAYOUT: header scuro fisso + sezioni full-bleed ============ */
body{overflow-x:clip}

/* header sempre scuro: logo pergamena e voci chiare leggibili */
.gousto-header{background:var(--g-cantina);box-shadow:0 1px 0 rgba(0,0,0,.25)}
.gousto-header .gousto-nav-links a,
.gousto-header .wp-block-navigation-item__content{color:var(--g-paper)}
.gousto-header .gousto-nav-links a:hover,
.gousto-header .wp-block-navigation-item__content:hover{color:var(--g-nocciola)}

/* sezioni con sfondo a tutta larghezza (i contenuti interni restano centrati) */
.gousto-hero,
.gousto-awards,
.gousto-section,
.gousto-palazzo,
.gousto-visit,
.gousto-menu-hero{
  width:100vw;max-width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  padding-left:max(24px,env(safe-area-inset-left));
  padding-right:max(24px,env(safe-area-inset-right));
}

/* ---- fix: voci menu leggibili sull'header scuro ----
   WP forza color:inherit sugli item con specificità (0,3,0); imposto il colore
   sul contenitore nav cosi' le voci (che ereditano) diventano color pergamena. */
.gousto-header .gousto-nav-links{color:var(--g-paper)}
.gousto-header .gousto-nav-links .wp-block-navigation-item__content{color:inherit}
/* via la sottile striscia chiara tra header e prima sezione */
.wp-site-blocks > main{margin-top:0}
.gousto-hero,.gousto-menu-hero{margin-top:0}

/* ---- galleria raggruppata per argomento ---- */
.gousto-gall-cat{font-family:var(--wp--preset--font-family--display);font-size:1.7rem;color:var(--g-barolo);margin:46px 0 18px;padding-bottom:8px;border-bottom:1px solid var(--g-line)}
.gousto-gall-cat:first-of-type{margin-top:0}

/* ============================================================
   RESTYLE "CAFFÈ ELENA"  (sovrascrive i trattamenti caldi)
   ============================================================ */
body{background:var(--g-blu)!important}
body::before{opacity:.18;mix-blend-mode:soft-light}

/* titoli oro, Playfair, maiuscolo sui display principali */
.gousto-hero h1,.gousto-menu-hero h1,.gousto-menu-hero .gousto-eyebrow,
.gousto-menu-sechead{font-family:var(--wp--preset--font-family--display)!important}
.gousto-hero h1,.gousto-menu-hero h1{color:var(--g-nocciola)!important;text-transform:uppercase;letter-spacing:.03em;font-weight:700}
.gousto-hero h1 em{color:#FFF0D3!important;font-style:italic;font-weight:400}
.gousto-menu-sechead{color:var(--g-nocciola)!important;text-transform:uppercase;letter-spacing:.07em;font-weight:700}
.gousto-menu-sechead::before,.gousto-menu-sechead::after{color:var(--g-nocciola)}
/* sottosezioni / titoli interni in oro */
.gousto-menu-sec h2,.gousto-awards .gousto-awards-lbl{color:var(--g-nocciola)!important}

/* bottoni: oro pieno con testo blu, hover arancio Elena */
.gousto-btn .wp-block-button__link,
.wp-block-button.gousto-btn .wp-block-button__link{background:var(--g-barolo)!important;border-color:var(--g-barolo)!important;color:#0B1330!important;font-weight:700}
.gousto-btn .wp-block-button__link:hover{background:#E65121!important;border-color:#E65121!important;color:#FFF0D3!important}

/* selettore lingua attivo: oro su testo blu */
.gousto-lang a.is-active{color:#0B1330!important}

/* richiamo Elena: hairline ottone attorno alle foto */
.gousto-photo img,.gousto-gall-cat + * img,.wp-block-image img{border:1px solid rgba(197,144,87,.45)}

/* separatori/regole in oro */
.gousto-rule,.gousto-menu-sec .wp-block-separator{background:var(--g-barolo)!important;border-color:var(--g-barolo)!important}
.gousto-header img,.gousto-footer img,.wp-block-site-logo img,.gousto-brand img{border:0!important}

/* ---- HEADER VERTICALE (≤599px): hamburger a SINISTRA delle lingue, Prenota sotto ---- */
@media(max-width:599px){
  .gousto-header .wp-block-group:has(> .gousto-nav-links){flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px}
  .gousto-header .gousto-nav-links{order:1}
  .gousto-header .gousto-lang{order:2;margin-top:0}
  .gousto-header .wp-block-buttons{order:3;flex:0 0 100%;display:flex;justify-content:flex-end;margin:0}
  .gousto-header .gousto-btn{width:auto}
  .gousto-header .gousto-btn .wp-block-button__link{display:inline-block!important;width:auto!important;white-space:nowrap;padding:9px 18px}
}
/* ---- HEADER ORIZZONTALE/tablet (600–900px): menu + Prenota + lingue TUTTO su una riga ---- */
@media(min-width:600px) and (max-width:900px){
  .gousto-header .wp-block-group:has(> .gousto-nav-links){flex-wrap:nowrap;flex-direction:row;align-items:center;gap:10px}
  .gousto-header .gousto-nav-links a{font-size:.74rem;letter-spacing:.02em}
  .gousto-header .gousto-lang{margin-top:0}
  .gousto-header .gousto-lang a{padding:5px 7px;font-size:.66rem}
  .gousto-header .wp-block-buttons{flex:0 0 auto;margin:0}
  .gousto-header .gousto-btn .wp-block-button__link{padding:8px 14px;font-size:.74rem;white-space:nowrap;width:auto!important}
}
/* === INFINITYNET: simboli menu (Slow Food + allergeni) — 14/10/2026 === */
:root{
  --gd-gf:#E0785C;   /* senza glutine */
  --gd-veg:#86C27F;  /* vegetariano   */
  --gd-nl:#8FB4E8;   /* senza lattosio*/
  --gd-sf:#E0785C;   /* Presidio Slow Food */
}
.gd-syms{display:inline-flex;align-items:center;gap:.28em;margin-left:.45em;vertical-align:baseline}
.gd-sym{
  display:inline-block;width:1.02em;height:1.02em;flex:0 0 auto;
  background-color:currentColor;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:contain;mask-size:contain;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  position:relative;top:.1em;
}
.gd-gf{color:var(--gd-gf);-webkit-mask-image:var(--m-gf);mask-image:var(--m-gf)}
.gd-veg{color:var(--gd-veg);-webkit-mask-image:var(--m-veg);mask-image:var(--m-veg)}
.gd-nl{color:var(--gd-nl);-webkit-mask-image:var(--m-nl);mask-image:var(--m-nl)}
.gd-sf{color:var(--gd-sf);-webkit-mask-image:var(--m-sf);mask-image:var(--m-sf)}
:root{
  --m-gf:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 7.2v9.4'/%3E%3Cpath d='M12 8.6c-1.5-1-1.5-2.4 0-3.4 1.5 1 1.5 2.4 0 3.4z'/%3E%3Cpath d='M12 12c-1.7-.8-3-.2-3.3 1.6 1.7.8 3 .2 3.3-1.6z'/%3E%3Cpath d='M12 12c1.7-.8 3-.2 3.3 1.6-1.7.8-3 .2-3.3-1.6z'/%3E%3Cpath d='M5.2 18.8 18.8 5.2'/%3E%3C/g%3E%3C/svg%3E");
  --m-veg:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 3.5C10.5 3.8 5.5 8 5.5 14.4c0 1.9.5 3.5 1.4 4.8l1.7-1.6c-.5-.9-.8-2-.8-3.2 0-4.8 3.9-8 11-8.6z' fill='black'/%3E%3Cpath d='M4.6 21.2C6.9 14 11.9 9.6 19.6 8.2' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
  --m-nl:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 5.6c-2.4 3.3-3.7 5.5-3.7 7.1a3.7 3.7 0 0 0 7.4 0c0-1.6-1.3-3.8-3.7-7.1z'/%3E%3Cpath d='M5.2 18.8 18.8 5.2'/%3E%3C/g%3E%3C/svg%3E");
  --m-sf:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M12.4 11.8a1.6 1.6 0 1 1-1.7-1.6 3.4 3.4 0 1 1-3.2 3.6 5.4 5.4 0 1 1 5.6-5.6 7.6 7.6 0 1 1-7.9 7.6'/%3E%3Cpath d='M17.6 15.6c1.6.2 3 .9 4 2'/%3E%3C/g%3E%3C/svg%3E");
}
.gd-rtm{font-size:.62em;vertical-align:super;margin-left:.12em;opacity:.8}
.gd-req{
  display:inline-flex;align-items:center;gap:.25em;
  margin-left:.4em;font-size:.88em;font-style:italic;opacity:.82;white-space:nowrap;
}
.gd-req .gd-sym{width:.95em;height:.95em}
/* legenda in fondo al menu */
.gousto-legend .gd-key{
  display:flex;flex-wrap:wrap;gap:.35em 1.6em;
  margin:.2em 0 .9em;padding:0;list-style:none;
}
.gousto-legend .gd-key li{display:flex;align-items:center;gap:.45em;font-size:.95em}
@media (max-width:600px){
  .gd-syms{gap:.22em;margin-left:.35em}
  .gd-sym{width:.95em;height:.95em}
  .gd-req{white-space:normal}
}
/* === INFINITYNET: mappa su consenso — 14/10/2026 === */
.gousto-map-ph{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:.9rem;width:100%;min-height:320px;padding:2rem 1.4rem;text-align:center;
  background:
    repeating-linear-gradient(45deg,transparent,transparent 14px,rgba(255,240,211,.035) 14px,rgba(255,240,211,.035) 28px),
    var(--g-cantina,#3C352F);
  border:1px solid var(--g-line,rgba(255,240,211,.16));
  border-radius:4px;color:var(--g-ink,#FFF0D3);
}
.gousto-map-ph .gm-load{
  font-family:inherit;font-size:.96rem;letter-spacing:.06em;text-transform:uppercase;
  padding:.75em 1.7em;cursor:pointer;border-radius:2px;
  color:var(--g-cantina,#3C352F);background:var(--g-barolo,#EAD996);
  border:1px solid var(--g-barolo,#EAD996);transition:background .18s,color .18s;
}
.gousto-map-ph .gm-load:hover,.gousto-map-ph .gm-load:focus-visible{
  background:transparent;color:var(--g-barolo,#EAD996);
}
.gousto-map-ph .gm-note{margin:0;font-size:.84rem;opacity:.72;max-width:34em}
.gousto-map-ph .gm-addr{margin:0;font-size:.9rem;opacity:.9}
.gousto-map-ph .gm-addr a{color:var(--g-barolo,#EAD996)}
@media (max-width:600px){ .gousto-map-ph{min-height:240px;padding:1.6rem 1rem} }
/* === INFINITYNET: menù impaginato come la carta stampata — 14/10/2026 === */
.gm-menu{
  --gm-gap: 1.85rem;
  max-width:60rem;margin:0 auto;padding:0 1.25rem;
  font-family:var(--wp--preset--font-family--body,"Montserrat",system-ui,sans-serif);
  font-weight:300;line-height:1.5;
  color:var(--g-ink,#FFF0D3);
}
.gm-sec{margin:0 0 3.1rem}
.gm-sec:last-of-type{margin-bottom:1.6rem}

/* titolo di sezione: maiuscolo spaziato, con i punti della carta */
.gm-sechead{
  margin:0 0 1.5rem;padding:0;
  font-family:inherit;font-weight:700;font-size:clamp(1.02rem,.93rem + .5vw,1.32rem);
  text-transform:uppercase;letter-spacing:.17em;line-height:1.2;
  color:var(--g-barolo,#EAD996);text-align:left;
}
.gm-sechead span::before{content:"·";margin-right:.75em;opacity:.85}
.gm-sechead span::after{content:"·";margin-left:.6em;opacity:.85}

/* un piatto: riga continua, prezzo incolonnato a destra */
.gm-dish{margin:0 0 var(--gm-gap)}
.gm-row{
  display:flex;align-items:baseline;gap:1.1rem;
  margin:0;font-size:clamp(.96rem,.92rem + .18vw,1.06rem);
}
.gm-txt{flex:1 1 auto;min-width:0}
.gm-price{
  flex:0 0 auto;white-space:nowrap;text-align:right;min-width:3.1em;
  font-variant-numeric:tabular-nums;font-weight:400;
  color:var(--g-ink,#FFF0D3);
}
/* riga di continuazione, rientrata come nella carta */
.gm-sub{
  margin:.3rem 0 0;padding-left:2.2rem;
  font-size:.95em;opacity:.9;
}
.gm-rule{
  width:100%;max-width:none;height:0;margin:.4rem 0 2.1rem;
  border:0;border-top:1px solid var(--g-line,rgba(255,240,211,.16));
}
.gm-sec-extra .gm-dish{margin-bottom:.75rem}
.gm-sec-extra .gm-row{font-size:.92rem;opacity:.92}

/* note di chiusura */
.gm-notes{
  margin:2.4rem 0 0;padding-top:1.6rem;
  border-top:1px solid var(--g-line,rgba(255,240,211,.16));
  font-size:.86rem;line-height:1.65;opacity:.84;
}
.gm-notes p{margin:0 0 .8rem;max-width:62ch}
.gm-notes p:last-child{margin-bottom:0}
.gm-notes b{font-weight:600}

@media (max-width:640px){
  .gm-menu{--gm-gap:1.5rem;padding:0 1rem}
  .gm-sec{margin-bottom:2.4rem}
  .gm-row{gap:.8rem}
  .gm-sub{padding-left:1.1rem}
  .gm-sechead{letter-spacing:.13em}
}
.gm-key{
  display:flex;flex-wrap:wrap;gap:.3rem 1.8rem;
  margin:0 0 1.1rem;padding:0;list-style:none;
}
.gm-key li{display:flex;align-items:center;gap:.45em}
/* === INFINITYNET: niente scroll orizzontale — 14/10/2026 ===
   L'hero usa width:100vw, che include la barra di scorrimento e sforava di ~8px.
   'clip' taglia lo sforamento senza creare un contenitore di scroll (a differenza
   di hidden, che romperebbe eventuali position:sticky). */
html,body{overflow-x:clip}
@supports not (overflow-x:clip){ html,body{overflow-x:hidden} }
/* === INFINITYNET: copertina in fondo al menù (pagina 1 della carta) — 14/10/2026 === */
.gm-cover{
  max-width:60rem;margin:0 auto;padding:3.4rem 1.25rem 4.2rem;
  text-align:center;
  font-family:var(--wp--preset--font-family--body,"Montserrat",system-ui,sans-serif);
  color:var(--g-ink,#FFF0D3);
  border-top:1px solid var(--g-line,rgba(255,240,211,.16));
}
.gm-cover-title{
  margin:0 0 .9rem;font-weight:700;
  font-size:clamp(1.5rem,1.2rem + 1.5vw,2.3rem);
  text-transform:uppercase;letter-spacing:.2em;line-height:1.1;
  color:var(--g-barolo,#EAD996);
}
.gm-cover-title span::before{content:"·";margin-right:.6em;opacity:.85}
.gm-cover-title span::after{content:"·";margin-left:.45em;opacity:.85}
.gm-cover-sub{
  margin:0 0 2.6rem;font-weight:300;
  font-size:clamp(1.02rem,.95rem + .4vw,1.3rem);letter-spacing:.02em;opacity:.95;
}
.gm-cover-grp{margin:0 0 1.7rem}
.gm-cover-grp:last-child{margin-bottom:0}
.gm-cover-name{margin:0 0 .22rem;font-weight:600;font-size:1.02rem;letter-spacing:.03em}
.gm-cover-line{margin:0 auto;max-width:48ch;font-weight:300;font-size:.88rem;line-height:1.55;opacity:.82}
@media (max-width:640px){
  .gm-cover{padding:2.6rem 1rem 3.2rem}
  .gm-cover-sub{margin-bottom:2rem}
  .gm-cover-title{letter-spacing:.15em}
}
/* === INFINITYNET: carta vini con l'impaginazione del menù — 14/10/2026 ===
   Il contenuto resta il suo: cambiano solo griglia e tipografia, allineate a .gm-menu.
   Tutto sotto .gm-wine per non toccare home e pattern che usano le stesse classi. */
.gm-wine{
  max-width:60rem;margin:0 auto;padding:0 1.25rem;
  font-family:var(--wp--preset--font-family--body,"Montserrat",system-ui,sans-serif);
  font-weight:300;line-height:1.5;color:var(--g-ink,#FFF0D3);
}
.gm-wine .gousto-menu-sec{max-width:none;margin:0 0 3.1rem;padding:0}
.gm-wine .gousto-menu-sec:last-of-type{margin-bottom:1.6rem}
/* titolo di sezione: a sinistra, maiuscolo spaziato, con i punti della carta */
.gm-wine .gousto-menu-sechead{
  display:block;text-align:left;margin:0 0 1.5rem;gap:0;
}
.gm-wine .gousto-menu-sechead::before,
.gm-wine .gousto-menu-sechead::after{content:none}
.gm-wine .gousto-menu-sec h2{
  font-family:inherit;font-weight:700;
  font-size:clamp(1.02rem,.93rem + .5vw,1.32rem);
  text-transform:uppercase;letter-spacing:.17em;line-height:1.2;
  color:var(--g-barolo,#EAD996);text-align:left;margin:0;
}
.gm-wine .gousto-menu-sec h2::before{content:"·";margin-right:.75em;opacity:.85}
.gm-wine .gousto-menu-sec h2::after{content:"·";margin-left:.6em;opacity:.85}
/* sottotitoli interni (Metodo classico, ecc.) */
.gm-wine .gousto-wine-sub{
  font-family:inherit;font-weight:600;font-size:.84rem;
  text-transform:uppercase;letter-spacing:.13em;
  color:var(--g-ink-soft,#C4B79C);
  margin:2rem 0 .9rem;padding:0;border:0;text-align:left;
}
.gm-wine .gousto-wine-sub:first-child{margin-top:0}
/* una voce: riga continua, prezzo incolonnato, nessun filetto */
.gm-wine .gousto-wine,
.gm-wine .gousto-dish{
  max-width:none;margin:0 0 1.15rem;padding:0;border:0;
}
.gm-wine .gousto-dish-row{
  display:flex;align-items:baseline;gap:1.1rem;margin:0;
  font-size:clamp(.96rem,.92rem + .18vw,1.06rem);
}
.gm-wine .gousto-dish-name{flex:1 1 auto;min-width:0;font-weight:300}
.gm-wine .gousto-dish-price{
  flex:0 0 auto;white-space:nowrap;text-align:right;min-width:3.1em;
  font-variant-numeric:tabular-nums;font-weight:400;color:var(--g-ink,#FFF0D3);
}
.gm-wine .gousto-dish-desc{
  margin:.3rem 0 0;padding-left:2.2rem;font-size:.95em;opacity:.9;
}
@media (max-width:640px){
  .gm-wine{padding:0 1rem}
  .gm-wine .gousto-menu-sec{margin-bottom:2.4rem}
  .gm-wine .gousto-dish-row{gap:.8rem}
  .gm-wine .gousto-dish-desc{padding-left:1.1rem}
  .gm-wine .gousto-menu-sec h2{letter-spacing:.13em}
}
/* carta vini: font esplicito — .gousto-dish-name imponeva Playfair, qui serve il font del menù */
.gm-wine,
.gm-wine .gousto-menu-sec h2,
.gm-wine .gousto-wine-sub,
.gm-wine .gousto-dish-name,
.gm-wine .gousto-dish-price,
.gm-wine .gousto-dish-desc{
  font-family:var(--wp--preset--font-family--body,"Montserrat","Helvetica Neue",Arial,sans-serif);
}
/* pagina 4 centrata: note e legenda allineate al centro come nella carta */
.gm-notes{text-align:center}
.gm-notes p{margin-left:auto;margin-right:auto}
.gm-key{justify-content:center}
/* la copertina in fondo ora parte dai blocchi: meno stacco in alto */
.gm-cover{padding-top:2.6rem}
/* carta vini: titolo, batto !important
   La regola degli hero imposta il font display con !important e cattura anche questo h2. */
.gm-wine .gousto-menu-sec h2.gousto-menu-sechead{
  font-family:var(--wp--preset--font-family--body,"Montserrat","Helvetica Neue",Arial,sans-serif)!important;
}
/* carta vini: spaziature identiche al menù
   (la regola precedente sull'h2 azzerava il margine sotto il titolo) */
.gm-wine .gousto-menu-sec h2.gousto-menu-sechead{margin:0 0 1.5rem}
.gm-wine .gousto-wine,
.gm-wine .gousto-dish{margin:0 0 1.85rem}
.gm-wine .gousto-wine-sub{margin:2.4rem 0 1.1rem}
.gm-wine .gousto-wine-sub:first-child{margin-top:0}
@media (max-width:640px){
  .gm-wine .gousto-wine,
  .gm-wine .gousto-dish{margin-bottom:1.5rem}
}
/* === INFINITYNET: resa piu compatta per il web — 14/10/2026 ===
   Le spaziature della carta stampata sono troppo ariose a schermo: passo ridotto
   su menù e vini. I vini, righe singole senza descrizione, stanno ancora piu stretti. */
.gm-menu{--gm-gap:1.2rem}
.gm-sec{margin-bottom:2.3rem}
.gm-sechead{margin-bottom:1.1rem}
.gm-sub{margin-top:.22rem}
.gm-notes{margin-top:1.9rem;padding-top:1.3rem}
.gm-cover{padding:2.2rem 1.25rem 2.8rem}
.gm-cover-grp{margin-bottom:1.25rem}

/* titoli della carta vini: stesso bordo sinistro delle voci.
   Il gruppo e' un layout "constrained": WordPress dava al titolo max-width e
   margini automatici, quindi restava centrato mentre le voci partivano da sinistra. */
.gm-wine .gousto-menu-sec h2.gousto-menu-sechead{
  max-width:none;margin-left:0;margin-right:0;margin-bottom:1.1rem;
}
.gm-wine .gousto-wine,
.gm-wine .gousto-dish{max-width:none;margin:0 0 .92rem}
.gm-wine .gousto-menu-sec{margin-bottom:2.3rem}
.gm-wine .gousto-wine-sub{max-width:none;margin:1.7rem 0 .8rem}
.gm-wine .gousto-wine-sub:first-child{margin-top:0}
.gm-wine .gousto-dish-desc{margin-top:.2rem}
@media (max-width:640px){
  .gm-menu{--gm-gap:1.05rem}
  .gm-sec{margin-bottom:1.9rem}
  .gm-wine .gousto-wine,
  .gm-wine .gousto-dish{margin-bottom:.85rem}
  .gm-wine .gousto-menu-sec{margin-bottom:1.9rem}
}
/* carta vini: prezzo sempre a destra
   La riga andava a capo (flex-wrap:wrap) e su schermo stretto il prezzo finiva
   sotto il nome; nel menù resta in linea, qui si comporta allo stesso modo. */
.gm-wine .gousto-dish-row{flex-wrap:nowrap}
.gm-wine .gousto-dish-name{overflow-wrap:anywhere}
