/* SitoSmart Restaurant 3.0 — Showcase system */
:root{--ss-ink:#14231e;--ss-night:#0b1714;--ss-paper:#f6f1e8;--ss-champagne:#c9a86a;--ss-line:rgba(20,35,30,.14);--ss-radius:28px;--ss-ease:cubic-bezier(.2,.75,.2,1)}
body.sitosmart-preview-site{background:var(--ss-paper)!important;color:var(--ss-ink);-webkit-font-smoothing:antialiased}
body.sitosmart-preview-site :where(.fr-premium-title,.fr-menu-section-heading h2,.fr-weekly-title,.fr-events-section-head h2,.fr-chi-lead,.fr-contacts-compact-head h2){letter-spacing:-.035em}
/* Universal dark surfaces: never allow dark-on-dark */
.fr-premium-reservation,.fr-premium-story,.fr-global-footer,.fr-contacts-compact-hero{background-color:var(--ss-header,var(--ss-night))!important;color:#fff!important}
.fr-events-hero,.fr-menu-hero,.fr-weekly-hero{background-color:var(--ss-header,var(--ss-night))!important;color:#fff!important}
.fr-premium-reservation :where(h1,h2,h3,.fr-premium-title),.fr-premium-story :where(h1,h2,h3,.fr-premium-title),.fr-global-footer :where(h1,h2,h3,h4,a,p,span),.fr-events-hero :where(h1,h2,h3,p),.fr-menu-hero :where(h1,h2,h3,p),.fr-weekly-hero :where(h1,h2,h3,p),.fr-contacts-compact-hero :where(h1,h2,h3,p){color:#fff!important}
.fr-premium-reservation .fr-premium-script,.fr-premium-story .fr-premium-script,.fr-events-hero .fr-events-script,.fr-menu-hero .fr-menu-script{color:var(--ss-accent,var(--ss-champagne))!important}
/* Header: stable, glassy, premium */
.fr-premium-header,.frhf-final-header,.fr-weekly-header{background:color-mix(in srgb,var(--ss-header,var(--ss-night)) 94%,transparent)!important;backdrop-filter:blur(18px) saturate(130%);-webkit-backdrop-filter:blur(18px) saturate(130%);border-bottom:1px solid rgba(255,255,255,.08)!important}
.fr-premium-header.fr-scrolled,.frhf-final-header.is-scrolled,.fr-weekly-header.is-scrolled{box-shadow:0 18px 55px rgba(0,0,0,.14)!important}
.fr-premium-logo .ss-brand-text,.fr-premium-header.fr-scrolled .fr-premium-logo .ss-brand-text{color:#fff!important;transform:none!important;transition:font-size .35s var(--ss-ease)!important}
/* Hero: luxury editorial */
.fr-premium-hero{background:var(--ss-night)!important}
.fr-premium-slide::before{background:linear-gradient(90deg,rgba(4,14,11,.78),rgba(4,14,11,.32) 54%,rgba(4,14,11,.08)),linear-gradient(180deg,rgba(0,0,0,.12),transparent 45%,rgba(0,0,0,.62))!important}
.fr-premium-hero-title{font-weight:500!important;letter-spacing:-.055em!important;text-wrap:balance}
.fr-premium-hero-kicker,.fr-premium-script,.fr-menu-script,.fr-events-script{color:var(--ss-accent,var(--ss-champagne))!important}
.fr-premium-button--green{background:var(--ss-primary,var(--ss-ink))!important;color:#fff!important;border-color:transparent!important}
.fr-premium-button--outline{color:#fff!important;border-color:rgba(255,255,255,.55)!important;background:rgba(255,255,255,.04)!important;backdrop-filter:blur(8px)}
/* Light editorial sections */
.fr-premium-intro,.fr-premium-events,.fr-premium-special,.fr-menu-content,.fr-weekly-menu-section,.fr-events-main,.fr-chi-main,.fr-contacts-compact-main{background:var(--ss-light,var(--ss-paper))!important}
.fr-premium-intro :where(.fr-premium-title,h2),.fr-premium-events :where(.fr-premium-title,h2,h3),.fr-premium-special :where(h2,h3),.fr-menu-content :where(h1,h2,h3),.fr-weekly-menu-section :where(h1,h2,h3),.fr-events-main :where(h1,h2,h3),.fr-chi-main :where(h1,h2,h3),.fr-contacts-compact-main :where(h1,h2,h3){color:var(--ss-title,var(--ss-ink))!important}
/* Cards feel editorial, not template */
.fr-premium-feature,.fr-premium-event-card,.fr-premium-promo-card,.fr-events-card,.fr-chi-place-card,.fr-contacts-compact-card,.fr-day-card{border-radius:var(--ss-radius)!important;border:1px solid var(--ss-line)!important;box-shadow:0 22px 70px rgba(18,28,24,.08)!important;overflow:hidden}
.fr-premium-event-card,.fr-events-card,.fr-chi-place-card,.fr-contacts-compact-card,.fr-day-card{background:#fffdf9!important}
/* Reservation redesigned */
.fr-premium-reservation{background:var(--ss-header,var(--ss-night))!important}
.fr-premium-reservation-panel{background:linear-gradient(145deg,color-mix(in srgb,var(--ss-header,var(--ss-night)) 92%,white 8%),var(--ss-header,var(--ss-night)))!important}
.fr-premium-reservation-heading .fr-premium-title{color:#fff!important;opacity:1!important;text-shadow:none!important}
.fr-premium-reservation-heading .fr-premium-copy{color:rgba(255,255,255,.72)!important}
.fr-premium-booking-form :where(input,select,textarea){color:#fff!important;background:rgba(255,255,255,.035)!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:16px!important;transition:border-color .25s,background .25s}
.fr-premium-booking-form :where(input,select,textarea):focus{outline:none!important;border-color:var(--ss-accent,var(--ss-champagne))!important;background:rgba(255,255,255,.07)!important}
.fr-premium-booking-form :where(input,textarea)::placeholder{color:rgba(255,255,255,.58)!important}
.fr-premium-booking-form select{color-scheme:dark}
.fr-premium-booking-submit{border-radius:18px!important;background:var(--ss-light,var(--ss-paper))!important;color:var(--ss-ink)!important;border:0!important;box-shadow:0 18px 50px rgba(0,0,0,.18)!important}
.fr-premium-booking-submit *{color:var(--ss-ink)!important}
.fr-premium-reservation-trust{color:rgba(255,255,255,.55)!important}
/* Navigation chips and menu */
.fr-menu-category-nav,.fr-menu-smart-nav,.fr-week-day-nav{background:rgba(255,253,249,.9)!important;backdrop-filter:blur(14px);border-color:var(--ss-line)!important}
.fr-menu-category-nav a,.fr-menu-smart-nav a,.fr-week-day-nav-item{color:var(--ss-ink)!important}
.fr-menu-category-nav .is-active,.fr-menu-smart-nav .is-active,.fr-week-day-nav-item.is-today{color:var(--ss-primary,var(--ss-ink))!important;border-color:var(--ss-accent,var(--ss-champagne))!important}
/* Footer */
.fr-global-footer{background:var(--ss-footer,var(--ss-night))!important;border-top:1px solid rgba(255,255,255,.08)!important}
.fr-global-footer a{color:#fff!important}.fr-global-footer-bottom{border-color:rgba(255,255,255,.12)!important;color:rgba(255,255,255,.58)!important}
/* Preview badge becomes a signature, not a floating CTA */
.sspm-badge{background:rgba(11,23,20,.86)!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 12px 36px rgba(0,0,0,.14)!important;backdrop-filter:blur(16px)!important;transition:all .35s var(--ss-ease)!important}
.sspm-badge.sspm-compact{width:38px;height:38px;padding:0!important;font-size:0!important;display:grid!important;place-items:center;border-radius:50%!important}
.sspm-badge.sspm-compact:after{content:'S';font:700 15px/1 Georgia,serif;color:#fff}
/* Responsive is intentionally composed, not scaled */
@media(max-width:680px){
 .fr-premium-header,.fr-premium-header.fr-scrolled{height:76px!important}.fr-premium-nav,.fr-premium-header.fr-scrolled .fr-premium-nav{height:76px!important;min-height:76px!important}
 .fr-premium-logo .ss-brand-text{font-size:25px!important}.fr-premium-header.fr-scrolled .fr-premium-logo .ss-brand-text{font-size:22px!important}
 .fr-premium-menu-toggle{width:48px!important;height:48px!important}
 .fr-premium-hero{min-height:760px!important;height:100svh!important}.fr-premium-slide-content{padding:118px 24px 76px!important}
 .fr-premium-hero-title{font-size:clamp(58px,17vw,80px)!important;line-height:.82!important}.fr-premium-hero-text{font-size:14px!important;line-height:1.65!important;max-width:94%!important}
 .fr-premium-hero-actions{gap:10px!important}.fr-premium-button{font-size:9px!important;letter-spacing:.14em!important;min-height:50px!important}
 .fr-premium-intro{padding:92px 0 86px!important}.fr-premium-intro-header{text-align:left!important;margin:0 0 44px!important}.fr-premium-intro-header .fr-premium-copy{margin:0!important}.fr-premium-title{font-size:clamp(48px,13vw,65px)!important}
 .fr-premium-feature,.fr-premium-feature:last-child{height:540px!important;min-height:540px!important;border-radius:22px!important}
 .fr-premium-events{padding:92px 0!important}.fr-premium-event-card,.fr-premium-event-card:last-child{border-radius:22px!important}.fr-premium-event-image-wrap{height:350px!important}.fr-premium-event-body{min-height:290px!important}
 .fr-premium-reservation-photo{min-height:460px!important}.fr-premium-reservation-panel{padding:72px 24px 86px!important}.fr-premium-reservation-heading .fr-premium-title{font-size:56px!important;line-height:.9!important}.fr-premium-booking-form{gap:12px!important}.fr-premium-booking-form :where(input,select,textarea){min-height:64px!important;padding:18px 20px!important}.fr-premium-booking-form textarea{min-height:120px!important}.fr-premium-booking-submit{min-height:92px!important}
 .sspm-badge{right:14px!important;bottom:18px!important;max-width:72vw!important}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* =========================================================
   V3.0.2 — MOBILE GESTURE + CLEAN FOOTER
   - la card successiva e' visibile gia' al primo render
   - lo swipe verticale continua a scorrere la pagina
   - niente frecce artificiali sui caroselli mobile
   - firma SitoSmart discreta, nessuna bolla "S"
   - footer mobile compatto e nello stesso tono della prenotazione
========================================================= */
.sspm-badge.sspm-compact:after{content:none!important}
.sspm-badge.sspm-hidden{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(10px)!important}

@media(max-width:680px){
  /* Scroller: peek garantito dal primo frame */
  .fr-premium-feature-grid--four,
  .fr-premium-feature-grid,
  .fr-premium-events-grid,
  .fr-premium-special-grid{
    display:flex!important;
    width:calc(100vw - 24px)!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:calc(24px - 100vw)!important;
    padding:0 52px 12px 0!important;
    gap:12px!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    scroll-snap-type:x proximity!important;
    scroll-padding-left:0!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:auto!important;
    touch-action:pan-x pan-y pinch-zoom!important;
    scrollbar-width:none!important;
  }
  .fr-premium-feature-grid--four::-webkit-scrollbar,
  .fr-premium-feature-grid::-webkit-scrollbar,
  .fr-premium-events-grid::-webkit-scrollbar,
  .fr-premium-special-grid::-webkit-scrollbar{display:none!important}

  .fr-premium-feature,
  .fr-premium-feature:last-child,
  .fr-premium-event-card,
  .fr-premium-event-card:last-child,
  .fr-premium-promo-card,
  .fr-premium-promo-card:last-child{
    flex:0 0 calc(100vw - 92px)!important;
    width:calc(100vw - 92px)!important;
    max-width:none!important;
    scroll-snap-align:start!important;
    scroll-snap-stop:normal!important;
  }

  /* Nessuna freccia per spiegare lo swipe: parla la card successiva */
  .fr-premium-events-nav-hint,
  .fr-premium-events-swipe-arrow,
  .fr-premium-events-next,
  .fr-premium-events-prev{display:none!important}

  /* La firma resta solo nella prima parte della preview e non copre il contenuto */
  .sspm-badge{
    right:14px!important;
    bottom:16px!important;
    padding:8px 11px!important;
    max-width:68vw!important;
    font-size:9px!important;
    box-shadow:0 8px 24px rgba(0,0,0,.12)!important;
  }

  /* Niente quadrato oro flottante su mobile */
  .fr-premium-to-top{display:none!important}

  /* Footer: corto, pulito, stesso verde della prenotazione */
  .fr-global-footer{
    background:var(--ss-header,var(--ss-night))!important;
    padding:22px 0 14px!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
  }
  .fr-global-footer-inner{width:calc(100% - 36px)!important}
  .fr-global-footer-grid{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:14px 18px!important;
    align-items:start!important;
  }
  .fr-global-footer-grid>div{padding:0!important;border:0!important;min-width:0!important}
  .fr-global-footer-brand{grid-column:1/-1!important;display:flex!important;align-items:baseline!important;gap:12px!important;padding-bottom:12px!important;border-bottom:1px solid rgba(255,255,255,.10)!important}
  .fr-global-footer-brand-logo.ss-brand-text,
  .fr-global-footer-brand-logo .ss-brand-text{font-size:23px!important;line-height:1!important;margin:0!important;white-space:nowrap!important}
  .fr-global-footer-brand p{font-size:8.5px!important;line-height:1.35!important;margin:0!important;opacity:.62!important}
  .fr-global-footer h4{font-size:7.5px!important;letter-spacing:.15em!important;margin:0 0 5px!important}
  .fr-global-footer p,.fr-global-footer li,.fr-global-footer a{font-size:8.5px!important;line-height:1.45!important}
  .fr-global-footer-contact-head{margin:0 0 5px!important}
  .fr-global-footer-instagram{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;max-width:24px!important;max-height:24px!important}
  .fr-global-footer-instagram svg{width:15px!important;height:15px!important}
  .fr-global-footer-bottom{
    margin-top:14px!important;
    padding-top:10px!important;
    font-size:7px!important;
    gap:10px!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
  }
  .fr-global-footer-bottom span:last-child{padding-right:0!important}
}

/* =========================================================
   V3.0.3 — MOBILE POLISH
========================================================= */
@media(max-width:680px){
  /* Card rails: always show the next card, but never trap vertical page scroll */
  .fr-premium-feature-grid--four,
  .fr-premium-feature-grid,
  .fr-premium-events-grid,
  .fr-premium-special-grid{
    width:calc(100vw - 24px)!important;
    padding-right:72px!important;
    gap:14px!important;
    scroll-snap-type:none!important;
    overscroll-behavior-x:contain!important;
    overscroll-behavior-y:auto!important;
    touch-action:auto!important;
  }
  .fr-premium-feature,
  .fr-premium-feature:last-child,
  .fr-premium-event-card,
  .fr-premium-event-card:last-child,
  .fr-premium-promo-card,
  .fr-premium-promo-card:last-child{
    flex:0 0 calc(100vw - 108px)!important;
    width:calc(100vw - 108px)!important;
    scroll-snap-align:none!important;
  }
  .fr-premium-events-nav-hint,
  .fr-premium-events-nav-line,
  .fr-premium-events-nav-circle,
  .fr-premium-events-swipe-arrow,
  .fr-premium-events-next,
  .fr-premium-events-prev{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}

  /* SitoSmart signature lives only inside the hero; never floats over content */
  .fr-premium-hero .sspm-badge{
    position:absolute!important;
    z-index:8!important;
    right:18px!important;
    bottom:24px!important;
    width:auto!important;
    height:auto!important;
    max-width:74vw!important;
    padding:8px 12px!important;
    border-radius:999px!important;
    font-size:9px!important;
    opacity:.94!important;
    visibility:visible!important;
    transform:none!important;
    pointer-events:auto!important;
  }

  /* One compact footer. No second WordPress/Hello footer. */
  .fr-global-footer{
    padding:18px 0 12px!important;
    min-height:0!important;
    background:var(--ss-header,var(--ss-night))!important;
  }
  .fr-global-footer-inner{width:calc(100% - 36px)!important}
  .fr-global-footer-grid{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important}
  .fr-global-footer-brand{display:block!important;flex:1 1 auto!important;padding:0!important;border:0!important}
  .fr-global-footer-brand-logo.ss-brand-text,
  .fr-global-footer-brand-logo .ss-brand-text{font-size:20px!important;line-height:1!important;margin:0!important}
  .fr-global-footer-brand p{display:none!important}
  .fr-global-footer-hours{display:none!important}
  .fr-global-footer-contacts{flex:0 0 auto!important;text-align:right!important}
  .fr-global-footer-contact-head{display:none!important}
  .fr-global-footer-contacts p{margin:0!important;font-size:8px!important;line-height:1.35!important;opacity:.72!important}
  .fr-global-footer-contacts p br{display:none!important}
  .fr-global-footer-contacts p a+a:before{content:' · ';opacity:.55}
  .fr-global-footer-bottom{margin-top:10px!important;padding-top:8px!important;display:flex!important;justify-content:space-between!important;font-size:7px!important;line-height:1.2!important}

  body.sitosmart-preview-site > footer:not(.fr-global-footer),
  body.sitosmart-preview-site footer#site-footer,
  body.sitosmart-preview-site .site-footer:not(.fr-global-footer),
  body.sitosmart-preview-site #colophon{display:none!important}
}

/* =========================================================
   V3.0.4 — FINAL MOBILE UX FIX
   Fixes verified against 3.0.3 source:
   - next card visible immediately
   - vertical page scroll is never intentionally locked by rails
   - all mobile carousel arrows/cues removed
   - SitoSmart preview badge only in hero
   - compact single footer; theme footer suppressed
========================================================= */
@media (max-width:680px){
  .fr-premium-feature-grid--four,
  .fr-premium-feature-grid,
  .fr-premium-events-grid,
  .fr-premium-special-grid{
    display:flex!important;
    width:100vw!important;
    max-width:100vw!important;
    margin-left:0!important;
    margin-right:calc(50% - 50vw)!important;
    padding:0 46px 10px 0!important;
    gap:14px!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    scroll-snap-type:none!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-x:auto!important;
    overscroll-behavior-y:auto!important;
    touch-action:pan-x pan-y!important;
    scrollbar-width:none!important;
  }
  .fr-premium-feature-grid--four::-webkit-scrollbar,
  .fr-premium-feature-grid::-webkit-scrollbar,
  .fr-premium-events-grid::-webkit-scrollbar,
  .fr-premium-special-grid::-webkit-scrollbar{display:none!important}

  .fr-premium-feature,
  .fr-premium-event-card,
  .fr-premium-promo-card{
    flex:0 0 calc(100vw - 112px)!important;
    width:calc(100vw - 112px)!important;
    max-width:calc(100vw - 112px)!important;
    scroll-snap-align:none!important;
  }

  .fr-premium-events-swipe-cue,
  .fr-premium-events-swipe-line,
  .fr-premium-events-swipe-arrow,
  .fr-premium-events-nav-hint,
  .fr-premium-events-nav-line,
  .fr-premium-events-nav-circle,
  .fr-premium-events-next,
  .fr-premium-events-prev{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}

  /* Preview signature: one occurrence, inside hero only. */
  body.sitosmart-preview-site .sspm-badge{display:none!important}
  body.sitosmart-preview-site .fr-premium-hero .sspm-badge{
    display:block!important;
    position:absolute!important;
    right:18px!important;
    bottom:24px!important;
    z-index:8!important;
    max-width:74vw!important;
    padding:8px 12px!important;
    border-radius:999px!important;
    font-size:9px!important;
    opacity:.94!important;
    visibility:visible!important;
    transform:none!important;
  }
  .fr-premium-to-top{display:none!important}

  /* Footer reduced to a quiet legal/contact strip. */
  .fr-global-footer{
    background:var(--ss-header,var(--ss-night))!important;
    padding:15px 0 11px!important;
    min-height:0!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
  }
  .fr-global-footer-inner{width:calc(100% - 40px)!important;margin:0 auto!important}
  .fr-global-footer-grid{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
  .fr-global-footer-brand{display:block!important;flex:1 1 auto!important;padding:0!important;border:0!important;min-width:0!important}
  .fr-global-footer-brand-logo.ss-brand-text,
  .fr-global-footer-brand-logo .ss-brand-text{font-size:17px!important;line-height:1!important;margin:0!important;white-space:nowrap!important}
  .fr-global-footer-brand p,.fr-global-footer-hours,.fr-global-footer-contact-head{display:none!important}
  .fr-global-footer-contacts{flex:0 1 auto!important;text-align:right!important;min-width:0!important}
  .fr-global-footer-contacts p{margin:0!important;font-size:7.5px!important;line-height:1.35!important;opacity:.64!important;white-space:normal!important}
  .fr-global-footer-contacts p br{display:none!important}
  .fr-global-footer-contacts p a+a:before{content:' · ';opacity:.55}
  .fr-global-footer-bottom{margin-top:8px!important;padding-top:7px!important;display:flex!important;justify-content:space-between!important;gap:10px!important;border-top:1px solid rgba(255,255,255,.08)!important;font-size:6.8px!important;line-height:1.2!important;opacity:.66!important}

  body.sitosmart-preview-site > footer:not(.fr-global-footer),
  body.sitosmart-preview-site footer#site-footer,
  body.sitosmart-preview-site .site-footer:not(.fr-global-footer),
  body.sitosmart-preview-site #colophon,
  body.sitosmart-preview-site .site-info{display:none!important}
}


/* =========================================================
   V3.0.6 — FINAL PREMIUM FOOTER / MOBILE SPACING
   ========================================================= */
.fr-global-footer.ss-premium-footer{
  background:var(--ss-header,#102a24)!important;
  color:#fff!important;
  border:0!important;
  border-top:1px solid rgba(201,168,106,.28)!important;
  padding:34px 0 20px!important;
  min-height:0!important;
  overflow:hidden!important;
}
.fr-global-footer.ss-premium-footer .fr-global-footer-inner{
  width:min(1180px,calc(100% - 56px))!important;
  margin:0 auto!important;
}
.ss-footer-top{display:flex;align-items:flex-end;justify-content:space-between;gap:36px!important}
.ss-footer-identity{min-width:0!important}
.ss-footer-name{display:block!important;margin:0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-family:"Cormorant Garamond",Georgia,serif!important;font-size:32px!important;font-weight:500!important;line-height:1!important;letter-spacing:-.02em!important;text-decoration:none!important;white-space:normal!important}
.ss-footer-identity p{margin:8px 0 0!important;color:rgba(255,255,255,.56)!important;font:400 10px/1.45 Inter,Arial,sans-serif!important;max-width:420px!important}
.ss-footer-nav{display:flex!important;align-items:center!important;gap:24px!important;flex:0 0 auto!important}
.ss-footer-nav a{color:#c9a86a!important;font:600 9px/1 Montserrat,Arial,sans-serif!important;letter-spacing:.14em!important;text-transform:uppercase!important;text-decoration:none!important}
.ss-footer-bottom{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin-top:24px!important;padding-top:14px!important;border-top:1px solid rgba(255,255,255,.10)!important;color:rgba(255,255,255,.48)!important;font:500 8px/1.3 Montserrat,Arial,sans-serif!important}

@media(max-width:680px){
  .fr-premium-reservation-panel{padding:48px 24px 34px!important}
  .fr-global-footer.ss-premium-footer{padding:24px 0 16px!important;background:var(--ss-header,#102a24)!important}
  .fr-global-footer.ss-premium-footer .fr-global-footer-inner{width:calc(100% - 40px)!important;margin:0 auto!important}
  .ss-footer-top{display:block!important}
  .ss-footer-name{font-size:27px!important;line-height:1.02!important}
  .ss-footer-identity p{margin-top:6px!important;font-size:8.5px!important;line-height:1.35!important;max-width:290px!important}
  .ss-footer-nav{margin-top:18px!important;gap:20px!important;justify-content:flex-start!important}
  .ss-footer-nav a{font-size:7.5px!important}
  .ss-footer-bottom{margin-top:18px!important;padding-top:11px!important;font-size:6.8px!important;line-height:1.2!important}
  body.sitosmart-preview-site footer:not(.fr-global-footer),
  body.sitosmart-preview-site .site-footer:not(.fr-global-footer),
  body.sitosmart-preview-site #site-footer,
  body.sitosmart-preview-site #colophon,
  body.sitosmart-preview-site .elementor-location-footer,
  body.sitosmart-preview-site .site-info{display:none!important}
}

/* =========================================================
   V3.0.8 — HERO OVERLAY HEADER / REAL SCROLL STATE
   The master header uses #frMasterHeaderFinal. Previous class rules
   were overriding its transparent state with !important.
   ========================================================= */
body.sitosmart-preview-site #frMasterHeaderFinal,
#frMasterHeaderFinal{
  background:linear-gradient(180deg,rgba(5,24,19,.58) 0%,rgba(5,24,19,.30) 58%,rgba(5,24,19,.10) 100%)!important;
  -webkit-backdrop-filter:blur(7px) saturate(112%)!important;
  backdrop-filter:blur(7px) saturate(112%)!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
  box-shadow:none!important;
  transition:background .32s ease,backdrop-filter .32s ease,box-shadow .32s ease,border-color .32s ease!important;
}
body.sitosmart-preview-site #frMasterHeaderFinal.is-scrolled,
#frMasterHeaderFinal.is-scrolled{
  background:var(--ss-header,#102a24)!important;
  -webkit-backdrop-filter:blur(16px) saturate(125%)!important;
  backdrop-filter:blur(16px) saturate(125%)!important;
  border-bottom-color:rgba(255,255,255,.08)!important;
  box-shadow:0 12px 32px rgba(0,0,0,.18)!important;
}
@media(max-width:680px){
  body.sitosmart-preview-site #frMasterHeaderFinal,
  #frMasterHeaderFinal{
    background:linear-gradient(180deg,rgba(5,24,19,.54) 0%,rgba(5,24,19,.24) 72%,rgba(5,24,19,.08) 100%)!important;
  }
  body.sitosmart-preview-site #frMasterHeaderFinal.is-scrolled,
  #frMasterHeaderFinal.is-scrolled{
    background:var(--ss-header,#102a24)!important;
  }
}

/* =========================================================
   V3.0.9 — HOME DESKTOP LAYOUT + TRUE OVERLAY HEADER
   ========================================================= */
/* Home: the header is genuinely transparent over the hero. */
body.sitosmart-preview-site .fr-premium-home #frMasterHeaderFinal,
.fr-premium-home #frMasterHeaderFinal,
body.sitosmart-preview-site .fr-premium-home .fr-premium-header,
.fr-premium-home .fr-premium-header{
  background:transparent!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  border-bottom-color:rgba(255,255,255,.14)!important;
  box-shadow:none!important;
}
body.sitosmart-preview-site .fr-premium-home #frMasterHeaderFinal.is-scrolled,
.fr-premium-home #frMasterHeaderFinal.is-scrolled,
body.sitosmart-preview-site .fr-premium-home .fr-premium-header.fr-scrolled,
.fr-premium-home .fr-premium-header.fr-scrolled{
  background:var(--ss-header,#102a24)!important;
  -webkit-backdrop-filter:blur(16px) saturate(125%)!important;
  backdrop-filter:blur(16px) saturate(125%)!important;
  border-bottom-color:rgba(255,255,255,.08)!important;
  box-shadow:0 12px 32px rgba(0,0,0,.18)!important;
}

@media(min-width:981px){
  /* Dal mattino alla sera: balanced 2x2 editorial composition. */
  .fr-premium-feature-grid--four{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,minmax(430px,42vw))!important;
    gap:18px!important;
    overflow:visible!important;
    width:100%!important;
    max-width:none!important;
    padding:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  .fr-premium-feature-grid--four .fr-premium-feature{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    height:100%!important;
    min-height:0!important;
    grid-column:auto!important;
    grid-row:auto!important;
  }

  /* Eventi & novita: all four cards live in one horizontal rail. */
  .fr-premium-events-grid{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    gap:18px!important;
    width:calc(100vw - max(48px,calc((100vw - 1180px)/2)))!important;
    max-width:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:0 max(48px,calc((100vw - 1180px)/2)) 20px 0!important;
    margin:0!important;
    scroll-snap-type:x proximity!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .fr-premium-events-grid::-webkit-scrollbar{display:none!important}
  .fr-premium-events-grid .fr-premium-event-card,
  .fr-premium-events-grid .fr-premium-event-card:last-child{
    flex:0 0 clamp(330px,31vw,460px)!important;
    width:clamp(330px,31vw,460px)!important;
    max-width:460px!important;
    min-width:330px!important;
    grid-column:auto!important;
    scroll-snap-align:start!important;
  }
}


/* =========================================================
   V3.1.3 — HERO IMAGE / CONTRAST / FRONTEND CLEANUP
   ========================================================= */
/* Never replace a configured hero image with a background shorthand. */
.fr-menu-hero,.fr-weekly-hero,.fr-events-hero,.fr-contacts-compact-hero{
  background-color:var(--ss-header,#102a24)!important;
}
/* Dark green editorial panels must always use light typography. */
.fr-menu-pizza-feature-copy,
.fr-menu-lifestyle-feature-copy,
.fr-menu-pizza-feature-copy h1,.fr-menu-pizza-feature-copy h2,.fr-menu-pizza-feature-copy h3,.fr-menu-pizza-feature-copy h4,
.fr-menu-lifestyle-feature-copy h1,.fr-menu-lifestyle-feature-copy h2,.fr-menu-lifestyle-feature-copy h3,.fr-menu-lifestyle-feature-copy h4{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
}
.fr-menu-pizza-feature-copy p,.fr-menu-lifestyle-feature-copy p{
  color:rgba(255,255,255,.80)!important;-webkit-text-fill-color:rgba(255,255,255,.80)!important;
}
.fr-menu-pizza-feature-copy .fr-menu-eyebrow,.fr-menu-lifestyle-feature-copy .fr-menu-eyebrow{
  color:var(--ss-accent,#c9a86a)!important;-webkit-text-fill-color:var(--ss-accent,#c9a86a)!important;
}
\n\n/* =========================================================\n   V3.1.4 — HEADER VISIBILITY RESTORE / SAFE THEME CLEANUP\n   ========================================================= */\n/* SitoSmart headers are application UI: never hide them while suppressing theme chrome. */\nbody.sitosmart-preview-site .fr-premium-home .fr-premium-header,\nbody.sitosmart-preview-site #frPremiumHeader,\nbody.sitosmart-preview-site #frMasterHeaderFinal,\nbody.sitosmart-preview-site .frhf-final-header,\nbody.sitosmart-preview-site .fr-weekly-header{\n  display:block!important;\n  visibility:visible!important;\n  opacity:1!important;\n  pointer-events:auto!important;\n  position:fixed!important;\n  top:0!important;left:0!important;right:0!important;\n  width:100%!important;\n  z-index:9990!important;\n}\n/* Home starts as a real overlay over the hero. */\nbody.sitosmart-preview-site .fr-premium-home #frPremiumHeader{\n  background:linear-gradient(180deg,rgba(5,24,19,.52) 0%,rgba(5,24,19,.18) 68%,rgba(5,24,19,0) 100%)!important;\n  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;\n  border-bottom:1px solid rgba(255,255,255,.10)!important;box-shadow:none!important;\n}\nbody.sitosmart-preview-site .fr-premium-home #frPremiumHeader.fr-scrolled{\n  background:var(--ss-header,#102a24)!important;\n  -webkit-backdrop-filter:blur(16px) saturate(125%)!important;backdrop-filter:blur(16px) saturate(125%)!important;\n  box-shadow:0 12px 32px rgba(0,0,0,.18)!important;\n}\n/* Internal master header follows the same overlay -> solid behavior. */\nbody.sitosmart-preview-site #frMasterHeaderFinal{\n  background:linear-gradient(180deg,rgba(5,24,19,.52) 0%,rgba(5,24,19,.18) 68%,rgba(5,24,19,0) 100%)!important;\n}\nbody.sitosmart-preview-site #frMasterHeaderFinal.is-scrolled{background:var(--ss-header,#102a24)!important;}\n