/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.2
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


/* ============================================================
   1. GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&display=swap');


/* ============================================================
   2. VARIABILI PALETTE
   ============================================================ */
:root {
  --pb-primary:        #3F2021;
  --pb-primary-light:  #5a3435;
  --pb-cream:          #FFF8F0;
  --pb-cream-dark:     #F5E6D3;
  --pb-gold:           #C9A96E;
  --pb-gold-light:     #d4b783;
  --pb-text-body:      #4a3233;
  --pb-text-light:     #8B6F5E;
  --pb-shadow-sm:      0 2px 8px rgba(63,32,33,0.06);
  --pb-shadow-md:      0 8px 30px rgba(63,32,33,0.10);
  --pb-shadow-lg:      0 20px 60px rgba(63,32,33,0.12);
  --pb-radius:         16px;
  --pb-transition:     0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --pb-header-height:           100px;
  --pb-header-height-scrolled:  65px;
}


/* ============================================================
   3. TIPOGRAFIA GLOBALE
   ============================================================ */
body,
:where(body) p {
  font-family: 'Lora', Georgia, serif;
  color: var(--pb-text-body);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--pb-primary);
}
.elementor-widget-heading h1.elementor-heading-title,
.elementor-widget-heading h2.elementor-heading-title,
.elementor-widget-heading h3.elementor-heading-title {
  font-family: 'Playfair Display', Georgia, serif;
}


/* ============================================================
   4. EYEBROW + SECTION TITLE — uniformi su tutte le sezioni
   ============================================================ */
.pb-eyebrow .elementor-heading-title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase !important;
  color: var(--pb-gold) !important;
  text-align: center;
  margin-bottom: 12px;
}
.pb-eyebrow-left .elementor-heading-title { text-align: left !important; }

.pb-section-title h2.elementor-heading-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 700 !important;
  color: var(--pb-primary) !important;
  text-align: center;
  line-height: 1.2;
  margin: 0 0 20px 0;
}
.pb-section-title-left h2.elementor-heading-title { text-align: left !important; }

.elementor-widget-divider .elementor-divider-separator {
  border-block-start: 2px solid var(--pb-gold) !important;
  width: 60px !important;
  margin: 0 auto 30px auto !important;
}


/* ============================================================
   5. BOTTONI — primary + on-dark + icone SVG
   ============================================================ */
.elementor-widget-button.pb-btn-primary .elementor-button {
  position: relative !important;
  overflow: hidden !important;
  padding: 16px 40px !important;
  background-color: var(--pb-primary) !important;
  color: var(--pb-cream) !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  border-radius: 50px !important;
  border: none !important;
  text-decoration: none !important;
  transition: all 0.4s ease !important;
  box-shadow: var(--pb-shadow-sm) !important;
}
.elementor-widget-button.pb-btn-primary .elementor-button:hover {
  background-color: var(--pb-gold) !important;
  color: var(--pb-cream) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--pb-shadow-md) !important;
}

.elementor-widget-button.pb-btn-primary .elementor-button::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
  pointer-events: none;
}
.elementor-widget-button.pb-btn-primary .elementor-button:hover::before {
  width: 300%;
  height: 300%;
}
.elementor-widget-button.pb-btn-primary .elementor-button-content-wrapper,
.elementor-widget-button.pb-btn-primary .elementor-button-text {
  position: relative;
  z-index: 1;
}

.elementor-widget-button.pb-btn-on-dark .elementor-button {
  background-color: var(--pb-cream) !important;
  color: var(--pb-primary) !important;
}
.elementor-widget-button.pb-btn-on-dark .elementor-button:hover {
  background-color: var(--pb-gold-light) !important;
  color: var(--pb-primary) !important;
}

.elementor-button .elementor-button-content-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.elementor-button.elementor-align-icon-right .elementor-button-content-wrapper,
.elementor-widget-button[class*="row-reverse"] .elementor-button-content-wrapper {
  flex-direction: row-reverse !important;
}
.elementor-button-icon i,
.elementor-button-icon svg {
  font-size: 0.9em;
  width: 1em;
  height: 1em;
  transition: transform 0.3s ease, fill 0.3s ease, color 0.3s ease;
}

.elementor-widget-button.pb-btn-primary .elementor-button-icon,
.elementor-widget-button.pb-btn-primary .elementor-button-icon svg,
.elementor-widget-button.pb-btn-primary .elementor-button-icon svg path,
.elementor-widget-button.pb-btn-primary .elementor-button-icon i {
  color: var(--pb-cream) !important;
  fill: var(--pb-cream) !important;
}
.elementor-widget-button.pb-btn-on-dark .elementor-button-icon,
.elementor-widget-button.pb-btn-on-dark .elementor-button-icon svg,
.elementor-widget-button.pb-btn-on-dark .elementor-button-icon svg path,
.elementor-widget-button.pb-btn-on-dark .elementor-button-icon i {
  color: var(--pb-primary) !important;
  fill: var(--pb-primary) !important;
}
.elementor-button .elementor-button-icon svg,
.elementor-button .elementor-button-icon svg path {
  fill: currentColor !important;
}

.pb-btn-primary:hover .elementor-button-icon svg.e-fas-arrow-right,
.pb-btn-primary:hover .elementor-button-icon svg.fa-arrow-right,
.pb-btn-primary:hover .elementor-button-icon i.fa-arrow-right {
  transform: translateX(4px);
}


/* ============================================================
   6. ICONESAV — SVG inline custom (categorie, badge)
   ============================================================ */
.iconesav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pb-primary);
  transition: all var(--pb-transition);
}
.iconesav svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 56px;
  max-height: 56px;
}

.iconesav-panificazione,
.iconesav-pasticceria,
.iconesav-secchi,
.iconesav-catering {
  width: 80px;
  height: 80px;
  background: rgba(201, 169, 110, 0.12);
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  transition: transform var(--pb-transition), background var(--pb-transition);
}

.iconesav-badge {
  width: 120px;
  height: 120px;
  background: var(--pb-primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  box-shadow: var(--pb-shadow-md);
  font-family: 'Playfair Display', Georgia, serif;
  position: relative;
  overflow: hidden;
  animation: pb-badgePulse 4s ease-in-out infinite;
}
.iconesav-badge .num {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--pb-gold);
}
.iconesav-badge .label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.4rem;
  line-height: 1.2;
  color: #fff;
}

.iconesav-badge::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255,255,255,0.18) 50%,
    transparent 70%
  );
  animation: pb-shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pb-badgePulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
@keyframes pb-shimmer {
  0%, 100% { transform: translateX(-100%) translateY(-100%); }
  50%      { transform: translateX(100%) translateY(100%); }
}


/* ============================================================
   7. HEADER STICKY
   ============================================================ */
.pb-site-header {
  background: #C8B190 !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(63,32,33,0.06);
  height: var(--pb-header-height);
  min-height: var(--pb-header-height);
  transition:
    height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    min-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    padding 0.4s ease,
    box-shadow 0.4s ease,
    background-color 0.4s ease;
}
.pb-site-header.scrolled {
  height: var(--pb-header-height-scrolled) !important;
  min-height: var(--pb-header-height-scrolled) !important;
  box-shadow: 0 4px 30px rgba(63,32,33,0.08);
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  background: #C8B190 !important;
}

.pb-site-header .pb-header-logo img {
  height: 70px;
  width: auto;
  transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pb-site-header.scrolled .pb-header-logo img {
  height: 42px;
}

.pb-site-header > .elementor-section,
.pb-site-header > .elementor,
.pb-site-header .elementor-section-wrap,
.pb-site-header .elementor-container {
  height: 100%;
  min-height: inherit;
  transition: min-height 0.4s ease;
}


/* ============================================================
   8. NAV MENU — fascia laptop piccolo (1025-1100px)
   ============================================================ */
@media (min-width: 1025px) and (max-width: 1100px) {
  .pb-site-header .hfe-nav-menu__layout-horizontal li.menu-item,
  .pb-site-header .hfe-nav-menu li.menu-item {
    margin-right: 0 !important;
  }
  .pb-site-header .hfe-nav-menu li.menu-item a.hfe-menu-item {
    padding: 8px 8px !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.1em !important;
  }
}


/* ============================================================
   9. MOBILE MENU — Hamburger + overlay fullscreen (< 1024px)
   Include gestione sotto-menu (es. Contatti → Catalogo)
   ============================================================ */
@media (max-width: 1024px) {

  /* === Hamburger toggle === */
  #menusav .hfe-nav-menu__toggle {
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    margin: 0 0 0 auto !important;
    background: transparent !important;
    border: none !important;
    position: relative !important;
    z-index: 1001 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  #menusav .hfe-nav-menu,
  #menusav .hfe-nav-menu-layout {
    display: flex !important;
    justify-content: flex-end !important;
    width: 100% !important;
  }

  /* Nascondi SVG originale */
  #menusav .hfe-nav-menu__toggle .screen-reader-text,
  #menusav .hfe-nav-menu__toggle svg {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
  }

  /* Container linee hamburger custom */
  #menusav .hfe-nav-menu__toggle .hfe-nav-menu-icon {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 26px !important;
    height: 18px !important;
    position: relative !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
  }

  /* Riga superiore */
  #menusav .hfe-nav-menu__toggle .hfe-nav-menu-icon::before {
    content: "" !important;
    position: absolute !important;
    display: block !important;
    width: 26px !important;
    height: 2px !important;
    background-color: var(--pb-primary) !important;
    border-radius: 2px !important;
    top: 0 !important;
    left: 0 !important;
    transition: transform 0.35s ease, top 0.35s ease, opacity 0.2s ease !important;
    transform-origin: center !important;
  }

  /* Riga centrale + inferiore */
  #menusav .hfe-nav-menu__toggle .hfe-nav-menu-icon::after {
    content: "" !important;
    position: absolute !important;
    display: block !important;
    width: 26px !important;
    height: 2px !important;
    background-color: var(--pb-primary) !important;
    border-radius: 2px !important;
    top: 8px !important;
    left: 0 !important;
    transition: transform 0.35s ease, top 0.35s ease, opacity 0.2s ease, box-shadow 0.2s ease !important;
    transform-origin: center !important;
    box-shadow: 0 8px 0 var(--pb-primary) !important;
  }

  /* Stato aperto (X) */
  #menusav .hfe-nav-menu__toggle.pb-menu-open .hfe-nav-menu-icon::before {
    top: 8px !important;
    transform: rotate(45deg) !important;
  }
  #menusav .hfe-nav-menu__toggle.pb-menu-open .hfe-nav-menu-icon::after {
    top: 8px !important;
    transform: rotate(-45deg) !important;
    box-shadow: 0 0 0 transparent !important;
  }

  /* === Overlay fullscreen === */
  #menusav nav.hfe-nav-menu__layout-horizontal {
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    right: 0 !important; bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(255, 255, 255, 0.99) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    z-index: 999 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  #menusav nav.hfe-nav-menu__layout-horizontal.pb-nav-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
  }

  /* UL verticale scrollabile */
  #menusav nav.hfe-nav-menu__layout-horizontal ul.hfe-nav-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.8rem !important;
    padding: 4rem 1rem 2rem 1rem !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100% !important;
    height: 100vh !important;
    max-height: 100vh !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }

  #menusav nav.hfe-nav-menu__layout-horizontal ul.hfe-nav-menu::-webkit-scrollbar {
    width: 4px;
  }
  #menusav nav.hfe-nav-menu__layout-horizontal ul.hfe-nav-menu::-webkit-scrollbar-thumb {
    background: rgba(63, 32, 33, 0.2);
    border-radius: 2px;
  }

  /* Voci top-level */
  #menusav nav.hfe-nav-menu__layout-horizontal li.menu-item {
    width: auto !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  #menusav nav.hfe-nav-menu__layout-horizontal li.menu-item > a.hfe-menu-item,
  #menusav nav.hfe-nav-menu__layout-horizontal li.menu-item > .hfe-has-submenu-container > a.hfe-menu-item {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.4rem !important;
    font-weight: 400 !important;
    color: var(--pb-primary) !important;
    text-decoration: none !important;
    padding: 0.3rem 1rem !important;
    background: transparent !important;
    border: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.3 !important;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, color 0.3s ease;
  }

  #menusav nav.hfe-nav-menu__layout-horizontal.pb-nav-open li.menu-item > a.hfe-menu-item,
  #menusav nav.hfe-nav-menu__layout-horizontal.pb-nav-open li.menu-item > .hfe-has-submenu-container > a.hfe-menu-item {
    opacity: 1;
    transform: translateY(0);
  }

  #menusav nav.hfe-nav-menu__layout-horizontal li.menu-item > a.hfe-menu-item:hover,
  #menusav nav.hfe-nav-menu__layout-horizontal li.menu-item > .hfe-has-submenu-container > a.hfe-menu-item:hover,
  #menusav nav.hfe-nav-menu__layout-horizontal li.menu-item.current-menu-item > a.hfe-menu-item,
  #menusav nav.hfe-nav-menu__layout-horizontal li.menu-item.current_page_item > a.hfe-menu-item {
    color: var(--pb-gold) !important;
  }

  /* === SOTTO-MENU mobile === */
  #menusav nav.hfe-nav-menu__layout-horizontal li.menu-item-has-children .hfe-has-submenu-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
  }

  #menusav nav.hfe-nav-menu__layout-horizontal .hfe-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    cursor: pointer !important;
    color: var(--pb-gold) !important;
    transition: transform 0.35s ease !important;
  }

  #menusav nav.hfe-nav-menu__layout-horizontal .hfe-menu-toggle i.fa::before {
    content: "\25BC" !important;
    font-family: inherit !important;
    font-style: normal !important;
    font-size: 0.7rem !important;
    color: var(--pb-gold) !important;
  }

  #menusav nav.hfe-nav-menu__layout-horizontal li.pb-submenu-open > .hfe-has-submenu-container .hfe-menu-toggle {
    transform: rotate(180deg) !important;
  }

  #menusav nav.hfe-nav-menu__layout-horizontal ul.sub-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.4rem !important;
  }

  #menusav nav.hfe-nav-menu__layout-horizontal li.pb-submenu-open > ul.sub-menu {
    max-height: 500px;
    opacity: 1;
    margin-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  #menusav nav.hfe-nav-menu__layout-horizontal ul.sub-menu li.menu-item {
    width: auto !important;
    list-style: none !important;
  }

  #menusav nav.hfe-nav-menu__layout-horizontal ul.sub-menu li.menu-item a {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: var(--pb-text-light) !important;
    text-decoration: none !important;
    padding: 0.3rem 1rem !important;
    background: transparent !important;
    border: none !important;
    line-height: 1.3 !important;
    transition: color 0.3s ease !important;
  }

  #menusav nav.hfe-nav-menu__layout-horizontal ul.sub-menu li.menu-item a:hover {
    color: var(--pb-gold) !important;
  }

  /* Body lock quando menu aperto */
  body.pb-menu-active {
    overflow: hidden !important;
  }
}

@media (min-width: 600px) and (max-width: 1024px) {
  #menusav nav.hfe-nav-menu__layout-horizontal li.menu-item > a.hfe-menu-item,
  #menusav nav.hfe-nav-menu__layout-horizontal li.menu-item > .hfe-has-submenu-container > a.hfe-menu-item {
    font-size: 1.6rem !important;
    padding: 0.4rem 1.2rem !important;
  }
  #menusav nav.hfe-nav-menu__layout-horizontal ul.hfe-nav-menu {
    gap: 1rem !important;
  }
  #menusav nav.hfe-nav-menu__layout-horizontal ul.sub-menu li.menu-item a {
    font-size: 1.1rem !important;
  }
}


/* ============================================================
   10. SEZIONE HERO — #pb-home-hero
   ============================================================ */
.pb-hero-title h1.elementor-heading-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  color: var(--pb-primary) !important;
  margin: 0 !important;
}
.pb-hero-subtitle .elementor-heading-title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-style: italic !important;
  font-size: 1.6rem !important;
  font-weight: 400 !important;
  color: var(--pb-gold) !important;
  margin: 0 !important;
}
.pb-hero-desc {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--pb-text-body);
  max-width: 500px;
}
.pb-hero-desc p { margin: 0; }

.pb-hero-visual.e-con {
  position: relative !important;
}

.pb-hero-img-main {
  will-change: transform;
}
.pb-hero-img-main img {
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  object-fit: cover !important;
  display: block !important;
}

.pb-hero-img-float,
.pb-about-img-float {
  animation: pb-floatY 4s ease-in-out infinite;
}
.pb-hero-img-float img {
  width: 180px !important;
  height: 180px !important;
  object-fit: cover !important;
  border: 5px solid #fff !important;
  box-shadow: var(--pb-shadow-lg) !important;
  display: block !important;
}

@keyframes pb-floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}


/* ============================================================
   11. SEZIONE CATEGORIE — #pb-categories
   ============================================================ */
.pb-cat-card.e-con {
  display: flex !important;
  flex-direction: column !important;
  position: relative;
  transition: all var(--pb-transition) !important;
}
.pb-cat-card.e-con:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(63,32,33,0.14) !important;
}

.pb-cat-card.e-con::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--pb-gold);
  transition: width 0.4s ease, left 0.4s ease;
  border-radius: 2px;
  pointer-events: none;
}
.pb-cat-card.e-con:hover::after {
  width: 60%;
  left: 20%;
}

.pb-cat-card.e-con:hover .iconesav-panificazione,
.pb-cat-card.e-con:hover .iconesav-pasticceria,
.pb-cat-card.e-con:hover .iconesav-secchi,
.pb-cat-card.e-con:hover .iconesav-catering {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(201, 169, 110, 0.3);
}
.pb-cat-card.e-con:hover .iconesav {
  color: var(--pb-gold);
}

.pb-cat-title h3.elementor-heading-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: var(--pb-primary) !important;
  text-align: center !important;
  margin: 0 !important;
}
.pb-cat-desc {
  text-align: center;
}
.pb-cat-desc p {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--pb-text-light);
  margin: 0;
  text-align: center;
}


/* ============================================================
   12. SEZIONE ABOUT — #pb-about
   ============================================================ */
.pb-about-visual.e-con {
  position: relative !important;
}
.pb-about-img-main img {
  width: 100% !important;
  aspect-ratio: 8 / 11 !important;
  object-fit: cover !important;
  display: block !important;
}
.pb-about-img-float img {
  width: 200px !important;
  height: 200px !important;
  object-fit: cover !important;
  border: 5px solid #fff !important;
  box-shadow: var(--pb-shadow-lg) !important;
  display: block !important;
}
.pb-about-desc p {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--pb-text-body);
  margin: 0 0 1rem;
}


/* ============================================================
   13. SEZIONE COUNTERS — #pb-counters
   ============================================================ */
.pb-counter .elementor-counter-number-wrapper,
.pb-counter .elementor-counter-number {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
  font-weight: 900 !important;
  color: var(--pb-gold) !important;
  text-align: center !important;
  line-height: 1 !important;
}
.pb-counter .elementor-counter-number-prefix,
.pb-counter .elementor-counter-number-suffix {
  color: var(--pb-gold) !important;
  font-size: 0.6em !important;
}
.pb-counter .elementor-counter-title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--pb-cream) !important;
  text-align: center !important;
  margin-top: 0.6rem !important;
}


/* ============================================================
   14. SEZIONE PRODOTTI — #pb-products

   Struttura DOM (3 livelli):
   .pb-prod-card
     ├── .pb-prod-imgwrap            ← wrapper relativo
     │   ├── .pb-prod-img            ← immagine (z:1)
     │   └── .pb-prod-overlay        ← overlay (z:5)
     │       └── .pb-prod-overlay-btn  ← bottone "Scopri" (z:10)
     └── .pb-prod-body
         ├── .pb-prod-title
         └── .pb-prod-desc
   ============================================================ */
.pb-prod-card.e-con {
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
  border-radius: var(--pb-radius) !important;
  overflow: hidden !important;
  box-shadow: var(--pb-shadow-sm) !important;
  transition: transform 0.4s ease, box-shadow 0.4s ease !important;
  padding: 0 !important;
}
.pb-prod-card.e-con:hover {
  box-shadow: 0 20px 40px rgba(63,32,33,0.18) !important;
}

.pb-prod-imgwrap.e-con {
  position: relative !important;
  overflow: hidden !important;
  aspect-ratio: 4 / 3 !important;
  padding: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}

.pb-prod-imgwrap .pb-prod-img {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}
.pb-prod-imgwrap .pb-prod-img > .elementor-widget-container {
  width: 100% !important;
  height: 100% !important;
}
.pb-prod-imgwrap .pb-prod-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.pb-prod-card.e-con:hover .pb-prod-img img {
  transform: scale(1.12) !important;
}

.pb-prod-imgwrap .pb-prod-overlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 5 !important;
  background-color: rgba(63, 32, 33, 0.75) !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.pb-prod-imgwrap .pb-prod-overlay > .elementor-widget-container {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  padding: 0 !important;
}

.pb-prod-card.e-con:hover .pb-prod-overlay {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.pb-prod-overlay-btn,
.pb-prod-overlay a {
  display: inline-block !important;
  position: relative !important;
  z-index: 10 !important;
  padding: 14px 32px !important;
  background-color: var(--pb-gold) !important;
  color: #fff !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  border: none !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}
.pb-prod-overlay-btn:hover,
.pb-prod-overlay a:hover {
  background-color: var(--pb-gold-light) !important;
  color: var(--pb-primary) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--pb-shadow-md) !important;
}

.pb-prod-body.e-con {
  padding: 24px !important;
  background: #fff !important;
}
.pb-prod-title h3 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: var(--pb-primary) !important;
  margin: 0 0 8px 0 !important;
}
.pb-prod-desc p {
  font-family: 'Lora', Georgia, serif !important;
  font-size: 0.95rem !important;
  color: var(--pb-text-light) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}


/* ============================================================
   15. SEZIONE CTA — #pb-cta
   ============================================================ */
.pb-eyebrow-cta .elementor-heading-title {
  color: var(--pb-gold) !important;
}
.pb-cta-title h2.elementor-heading-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 700 !important;
  color: var(--pb-cream) !important;
  text-align: center !important;
  margin: 0 !important;
}
.pb-cta-desc {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.pb-cta-desc p {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--pb-cream);
  margin: 0;
  text-align: center;
}


/* ============================================================
   16. FIX ANIMAZIONI ENTRANCE — Elementor 4.0.8
   ============================================================ */

/* ----- 16.1 — Container con e-transform + entrance animation -----

   Quando un container ha sia un'entrance animation (fadeInDown,
   fadeInUp, fadeInLeft, fadeInRight, fadeIn) sia un "transform
   hover effect" impostato in Avanzate > Movimento (es.
   _transform_translateY_effect_hover: -10px), Elementor aggiunge
   la classe `.e-transform` al container e applica un
   `transform: translate3d(0, 0, -0.9375px)` statico via CSS interno.

   Quel transform statico sovrascrive il transform delle keyframes
   fadeInDown/Up/Left/Right → il browser annulla l'animation-name
   e l'elemento appare di colpo senza transizione visibile.

   Fix: durante l'animazione di entrata (classe .animated) azzeriamo
   il transform statico, lasciando alle keyframes il controllo
   completo. L'effetto hover di sollevamento continua a funzionare
   regolarmente quando l'animazione è completata e si passa col
   mouse sopra (lo stato hover non è in .animated). */
.e-con.e-transform.animated.fadeInDown,
.e-con.e-transform.animated.fadeInUp,
.e-con.e-transform.animated.fadeInLeft,
.e-con.e-transform.animated.fadeInRight,
.e-con.e-transform.animated.fadeIn {
  transform: none;
  animation-fill-mode: both;
}

/* ----- 16.2 — Widget invisible orfani -----

   Alcuni widget Elementor (counter, heading "pb-eyebrow",
   "pb-section-title", "pb-cta-title", "pb-cta-desc", bottoni
   "pb-btn-on-dark") hanno la classe `elementor-invisible` ma NO
   `data-settings` con un'animation. L'IntersectionObserver di
   Elementor non scatta su di loro, quindi senza questo fix
   resterebbero con `visibility: hidden` per sempre su Chrome
   moderno.

   Fix: per i WIDGET con `.elementor-invisible` ripristiniamo
   visibilità e opacità. Limitato a `.elementor-widget` per non
   interferire con le animazioni dei container `.e-con` che
   funzionano correttamente.

   Nota: se l'utente del browser ha attivato
   `prefers-reduced-motion: reduce` (Windows: Accessibilità →
   Effetti visivi → Effetti animazione OFF), TUTTE le entrance
   animations vengono disabilitate alla fonte da Chrome/Elementor.
   Questo è un comportamento corretto e di accessibilità — non un
   bug del sito. */
.elementor-widget.elementor-invisible {
  visibility: visible;
  opacity: 1;
}


/* ============================================================
   17a. PAGE HERO — banner parallax pagine interne
   ============================================================ */
.pb-page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.pb-page-hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 1024px) {
  .pb-page-hero {
    background-attachment: scroll !important;
  }
}


/* ============================================================
   17b. BREADCRUMB — Yoast shortcode styling
   ============================================================ */
.pb-breadcrumb-section {
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.pb-breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
}

.pb-breadcrumb,
.pb-breadcrumb p,
.pb-breadcrumb #breadcrumbs,
.pb-breadcrumb .breadcrumb {
  font-family: 'Lora', serif;
  font-size: 0.88rem;
  color: var(--pb-text-light);
  margin: 0;
}

.pb-breadcrumb a {
  color: var(--pb-text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.pb-breadcrumb a:hover {
  color: var(--pb-gold);
}

.pb-breadcrumb .breadcrumb_last,
.pb-breadcrumb span[aria-current="page"] {
  color: var(--pb-primary);
  font-weight: 600;
}


/* ============================================================
   17d. SECTION HEADER — header centrato (eyebrow + h2 + deco-line)
   ============================================================ */
.pb-section-header.e-con {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pb-section-header .pb-section-title .elementor-heading-title {
  margin-bottom: 1rem !important;
}

.pb-deco-line {
  margin: 1.2rem auto !important;
}

.pb-deco-line .elementor-divider-separator {
  border-top-style: solid;
  border-image: linear-gradient(90deg, var(--pb-gold), var(--pb-primary)) 1;
  border-width: 2px 0 0 0;
  width: 60px;
  margin: 0 auto;
}


/* ============================================================
   17e. TIMELINE SAV — override palette + fix allineamento
   Card sinistre: text-align LEFT
   Card destre: text-align RIGHT
   Mobile (<767px): tutte LEFT
   ============================================================ */
.pb-timeline-section {
  text-align: center;
}

.pb-timeline-section .tsav-wrapper {
  margin-top: 0;
  max-width: 800px;
  text-align: left;
}

.pb-timeline-section .tsav-content {
  border: 1px solid rgba(201, 169, 110, 0.15);
  padding: 1.5rem !important;
  width: 42% !important;
}

.pb-timeline-section .tsav-item--left .tsav-content {
  text-align: left !important;
}

.pb-timeline-section .tsav-item--right .tsav-content {
  text-align: right !important;
}

.pb-timeline-section .tsav-year {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.5rem !important;
  font-weight: 900 !important;
  color: var(--pb-gold) !important;
  margin-bottom: 0.3rem !important;
  line-height: 1.1 !important;
}

.pb-timeline-section .tsav-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: var(--pb-primary) !important;
  margin: 0 0 0.6rem 0 !important;
  line-height: 1.3 !important;
}

.pb-timeline-section .tsav-desc {
  font-family: 'Lora', serif !important;
  font-size: 0.95rem !important;
  color: var(--pb-text-light) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.pb-timeline-section .tsav-line::before {
  background: linear-gradient(to bottom, var(--pb-gold), var(--pb-primary)) !important;
}


/* ============================================================
   17f. PHILOSOPHY GRID — 3 cards numerate (01/02/03)
   ============================================================ */
.pb-philosophy-grid.e-con {
  display: flex !important;
  flex-direction: row !important;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.pb-philosophy-card.e-con {
  flex: 1;
  display: flex !important;
  flex-direction: column !important;
  text-align: center;
  padding: 3rem 2rem !important;
  background: #ffffff !important;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(63, 32, 33, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.pb-philosophy-card.e-con::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pb-gold), var(--pb-primary));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.pb-philosophy-card.e-con:hover {
  box-shadow: 0 12px 40px rgba(63, 32, 33, 0.12);
  transform: translateY(-4px);
}

.pb-philosophy-card.e-con:hover::after {
  transform: scaleX(1);
}

.pb-philosophy-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(63, 32, 33, 0.06);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pb-philosophy-title .elementor-heading-title {
  margin-bottom: 0.8rem !important;
}

.pb-philosophy-desc p {
  margin: 0 !important;
}


/* ============================================================
   17g. FINAL QUOTE — frase Playfair italica conclusiva
   ============================================================ */
.pb-final-quote-wrap.e-con {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.pb-final-quote p {
  margin: 0 !important;
}


/* ============================================================
   18. RESPONSIVE GLOBALE
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --pb-header-height: 80px;
    --pb-header-height-scrolled: 55px;
  }
  .pb-site-header .pb-header-logo img { height: 55px; }
  .pb-site-header.scrolled .pb-header-logo img { height: 38px; }

  .pb-hero-img-float img {
    width: 140px !important;
    height: 140px !important;
  }
  .pb-about-img-float img {
    width: 150px !important;
    height: 150px !important;
  }
  .iconesav-badge {
    width: 100px;
    height: 100px;
  }
  .iconesav-badge .num { font-size: 1.6rem; }
  .iconesav-badge .label { font-size: 0.6rem; }
}

@media (max-width: 600px) {
  .pb-hero-img-float img {
    width: 110px !important;
    height: 110px !important;
  }
  .pb-about-img-float img {
    width: 120px !important;
    height: 120px !important;
  }
  .iconesav-badge {
    width: 100px;
    height: 100px;
  }
  .iconesav-badge .num { font-size: 1.8rem; }
  .iconesav-badge .label { font-size: 0.6rem; letter-spacing: 0.1em; }
}


/* ============================================================
   19. RESPONSIVE — Chi Siamo (e pagine interne con philosophy)
   ============================================================ */
@media (max-width: 1024px) {
  .pb-philosophy-grid.e-con {
    flex-direction: column !important;
    max-width: 400px;
  }

  .pb-page-hero {
    min-height: 50vh;
    padding: 80px 24px !important;
  }

  .pb-timeline-section .tsav-content {
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  .pb-timeline-section .tsav-item--left .tsav-content,
  .pb-timeline-section .tsav-item--right .tsav-content {
    text-align: left !important;
  }
}

@media (max-width: 600px) {
  .pb-philosophy-card.e-con {
    padding: 2rem 1.5rem !important;
  }
  .pb-philosophy-num {
    font-size: 2.8rem;
  }

  .pb-page-hero {
    min-height: 45vh;
  }
  .pb-page-hero-content {
    padding: 0 16px;
  }

  .pb-final-quote p {
    font-size: 1.15rem !important;
  }
}


/* ============================================================
   20. CHI SIAMO — override pb-about-desc + pb-quote-inline
   ============================================================ */
#pb-chisiamo-storia .pb-about-desc p,
#pb-chisiamo-filosofia-intro .pb-about-desc p {
  margin-bottom: 1.2rem;
}

#pb-chisiamo-storia .pb-about-desc p:last-child,
#pb-chisiamo-filosofia-intro .pb-about-desc p:last-child {
  margin-bottom: 0;
}

#pb-chisiamo-storia .pb-about-desc strong,
#pb-chisiamo-filosofia-intro .pb-about-desc strong {
  color: var(--pb-primary);
  font-weight: 700;
}

#pb-chisiamo-storia .pb-about-desc em,
#pb-chisiamo-filosofia-intro .pb-about-desc em {
  font-style: italic;
  color: var(--pb-primary);
}

/* Frase iconica inline (es. "Il tempo, in PanBignè, non è un vincolo. È un ingrediente.") */
.pb-about-desc em.pb-quote-inline,
.pb-about-desc .pb-quote-inline,
.pb-section-text .pb-quote-inline,
.pb-section-text em.pb-quote-inline,
em.pb-quote-inline,
p.pb-quote-inline,
.pb-quote-inline {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--pb-primary);
  margin-top: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
}

.pb-quote-inline.pb-quote-center,
p.pb-quote-inline.pb-quote-center {
  text-align: center;
  font-size: 1.35rem;
  margin-top: 2rem;
}


/* ============================================================
   21. PRODUCT FILTER — pagina Prodotti
   ============================================================ */
.pb-filter-bar-wrap {
  width: 100%;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.pb-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1200px;
}

.pb-filter-btn {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 24px;
  background: transparent;
  color: var(--pb-text-body);
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pb-filter-btn:hover {
  background: rgba(201, 169, 110, 0.12);
  color: var(--pb-primary);
  border-color: var(--pb-gold);
}

.pb-filter-btn.active {
  background: var(--pb-primary);
  color: var(--pb-cream);
  border-color: var(--pb-primary);
}

.pb-prod-card.hidden {
  display: none !important;
}

@media (max-width: 600px) {
  .pb-filter-bar {
    gap: 8px;
  }
  .pb-filter-btn {
    font-size: 0.82rem;
    padding: 8px 16px;
    letter-spacing: 0.08em;
  }
}


/* ============================================================
   22. PRODUCT TAG — etichetta categoria sopra titolo card
   ============================================================ */
.pb-prod-tag-wrap {
  margin-bottom: 0;
}

.pb-prod-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201, 169, 110, 0.15);
  color: var(--pb-primary);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 3px;
  margin-bottom: 8px;
}


/* ============================================================
   23. PB-PROD-SECTION — sezioni narrative pagina Produzione
   ============================================================ */
.pb-prod-section.e-con > .e-con-inner,
.pb-prod-section .e-con-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.pb-prod-section .pb-section-header {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.pb-section-text p {
  margin-bottom: 1.2rem;
}

.pb-section-text p:last-child {
  margin-bottom: 0;
}

.pb-section-text strong {
  color: var(--pb-primary);
  font-weight: 700;
}

.pb-section-text a {
  color: var(--pb-gold);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.pb-section-text a:hover {
  border-bottom-color: var(--pb-gold);
}


/* ============================================================
   24. CATERING LIST — icon-list "Come richiedere il servizio"
   ============================================================ */
.pb-catering-list .elementor-icon-list-item {
  align-items: flex-start;
}

.pb-catering-list .elementor-icon-list-icon {
  color: var(--pb-gold);
  margin-top: 4px;
}

.pb-catering-list .elementor-icon-list-icon svg {
  width: 14px;
  height: 14px;
}

.pb-catering-list .elementor-icon-list-text {
  color: var(--pb-text-body);
  font-family: 'Lora', Georgia, serif;
}


/* ============================================================
   25. CATERING RICHIEDI WRAP
   ============================================================ */
.pb-catering-richiedi-wrap.e-con {
  max-width: 700px;
  margin: 0 auto;
}

.pb-catering-richiedi-wrap .pb-h3-section {
  margin-bottom: 1.5rem;
}

.pb-catering-richiedi-wrap .elementor-icon-list-items {
  max-width: 600px;
  margin: 0 auto;
}


/* ============================================================
   26. FOCACCIA STEPS — griglia 4 step-card
   ============================================================ */
.pb-focaccia-steps-grid.e-con {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
  justify-content: center;
}

.pb-focaccia-step-card.e-con {
  flex: 1 1 calc(25% - 24px);
  min-width: 220px;
  max-width: 280px;
  display: flex !important;
  flex-direction: column !important;
  text-align: center;
  background: #ffffff !important;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(63, 32, 33, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.pb-focaccia-step-card.e-con::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pb-gold), var(--pb-primary));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.pb-focaccia-step-card.e-con:hover {
  box-shadow: 0 12px 40px rgba(63, 32, 33, 0.12);
  transform: translateY(-4px);
}

.pb-focaccia-step-card.e-con:hover::after {
  transform: scaleX(1);
}

.pb-focaccia-step-title .elementor-heading-title {
  margin-bottom: 0.8rem !important;
}

.pb-focaccia-step-desc p {
  margin: 0 !important;
}

@media (max-width: 1024px) {
  .pb-focaccia-step-card.e-con {
    flex: 1 1 calc(50% - 24px);
    max-width: calc(50% - 24px);
  }
}

@media (max-width: 600px) {
  .pb-focaccia-step-card.e-con {
    flex: 1 1 100%;
    max-width: 400px;
  }
}


/* ============================================================
   27. NEWS & SINGLE POST
   ============================================================ */

/* --- 27.1 Widget Elementor "posts" su pagina /news/ --- */
.pb-news-posts .elementor-post {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(63,32,33,0.06);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pb-news-posts .elementor-post:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(63,32,33,0.12);
}

.pb-news-posts .elementor-post__thumbnail {
  border-radius: 0;
}

.pb-news-posts .elementor-post__thumbnail__link {
  display: block;
  overflow: hidden;
}

.pb-news-posts .elementor-post__thumbnail img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pb-news-posts .elementor-post:hover .elementor-post__thumbnail img {
  transform: scale(1.05);
}

.pb-news-posts .elementor-post__text {
  padding: 24px 24px 28px;
}

.pb-news-posts .elementor-post__title {
  margin-bottom: 12px;
}

.pb-news-posts .elementor-post__title a {
  text-decoration: none;
}

.pb-news-posts .elementor-post__meta-data {
  margin-bottom: 12px;
}

.pb-news-posts .elementor-post__excerpt {
  margin-bottom: 16px;
}

.pb-news-posts .elementor-post__excerpt p {
  margin: 0;
}

.pb-news-posts .elementor-post__read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-bottom: 4px;
}

.pb-news-posts .elementor-post__read-more::after {
  content: " →";
  transition: transform 0.3s ease;
  display: inline-block;
}

.pb-news-posts .elementor-post__read-more:hover::after {
  transform: translateX(4px);
}

.pb-news-posts .elementor-pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.pb-news-posts .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #FFF8F0;
  color: #3F2021;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.pb-news-posts .page-numbers:hover,
.pb-news-posts .page-numbers.current {
  background: #C9A96E;
  color: #FFFFFF;
}


/* --- 27.2 Single post hero & body --- */
.pb-single-meta i,
.pb-single-cat i {
  margin-right: 6px;
}

.pb-single-cat .elementor-post-info__terms-list-item {
  background: #FFFFFF;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #C9A96E;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pb-single-cat .elementor-post-info__terms-list-item:hover {
  background: #C9A96E;
  color: #FFFFFF;
}

.pb-single-body h2,
.pb-single-body h3,
.pb-single-body h4 {
  font-family: 'Playfair Display', serif;
  color: #3F2021;
  margin-top: 2.4rem;
  margin-bottom: 1rem;
}

.pb-single-body h2 {
  font-size: 2rem;
  font-weight: 700;
}

.pb-single-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.pb-single-body p {
  margin-bottom: 1.4rem;
}

.pb-single-body img {
  border-radius: 12px;
  margin: 1.5rem 0;
}

.pb-single-body blockquote {
  border-left: 3px solid #C9A96E;
  padding: 1rem 1.5rem;
  margin: 1.8rem 0;
  font-style: italic;
  color: #3F2021;
  background: #FFF8F0;
  border-radius: 0 8px 8px 0;
}

.pb-single-body a {
  color: #C9A96E;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.pb-single-body a:hover {
  color: #3F2021;
}

.pb-single-body ul,
.pb-single-body ol {
  margin: 0 0 1.4rem 1.5rem;
}

.pb-single-body li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
}

.pb-single-tags .elementor-post-info__terms-list-item {
  display: inline-block;
  background: #FFF8F0;
  padding: 4px 12px;
  border-radius: 999px;
  margin-right: 6px;
  margin-bottom: 6px;
  text-decoration: none;
  font-size: 12px;
  transition: all 0.3s ease;
}

.pb-single-tags .elementor-post-info__terms-list-item:hover {
  background: #C9A96E;
  color: #FFFFFF;
}


/* --- 27.3 Sidebar widgets WP --- */
.pb-sidebar .widget,
.pb-sidebar .elementor-widget {
  margin-bottom: 0;
}

.pb-sidebar .widget-title,
.pb-sidebar h3.widget-title,
.pb-sidebar h2.widget-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #3F2021;
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #C9A96E;
}

.pb-sidebar .widget_search input[type="search"],
.pb-side-search input[type="search"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(63,32,33,0.15);
  border-radius: 8px;
  background: #FFFFFF;
  font-family: 'Lora', serif;
  font-size: 14px;
  color: #3F2021;
  transition: border-color 0.3s ease;
}

.pb-sidebar .widget_search input[type="search"]:focus,
.pb-side-search input[type="search"]:focus {
  outline: none;
  border-color: #C9A96E;
}

.pb-sidebar .widget_search input[type="submit"],
.pb-side-search input[type="submit"] {
  margin-top: 8px;
  padding: 8px 16px;
  background: #3F2021;
  color: #FFF8F0;
  border: none;
  border-radius: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.pb-sidebar .widget_search input[type="submit"]:hover,
.pb-side-search input[type="submit"]:hover {
  background: #C9A96E;
}

.pb-side-recent .elementor-post {
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid rgba(63,32,33,0.08);
  padding-bottom: 12px;
  margin-bottom: 12px;
  transition: none;
}

.pb-side-recent .elementor-post:hover {
  transform: none;
  box-shadow: none;
}

.pb-side-recent .elementor-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.pb-side-recent .elementor-post__thumbnail {
  border-radius: 8px;
  overflow: hidden;
}

.pb-sidebar .widget_categories ul,
.pb-side-categories ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pb-sidebar .widget_categories li,
.pb-side-categories li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(63,32,33,0.08);
  font-family: 'Lora', serif;
  font-size: 14px;
}

.pb-sidebar .widget_categories li:last-child,
.pb-side-categories li:last-child {
  border-bottom: none;
}

.pb-sidebar .widget_categories a,
.pb-side-categories a {
  color: #3F2021;
  text-decoration: none;
  transition: color 0.3s ease;
}

.pb-sidebar .widget_categories a:hover,
.pb-side-categories a:hover {
  color: #C9A96E;
}

.pb-sidebar .tagcloud a,
.pb-side-tags a {
  display: inline-block;
  background: #FFF8F0;
  color: #3F2021 !important;
  padding: 6px 14px;
  margin: 0 4px 8px 0;
  border-radius: 999px;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 12px !important;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.pb-sidebar .tagcloud a:hover,
.pb-side-tags a:hover {
  background: #C9A96E;
  color: #FFFFFF !important;
}


/* --- 27.4 Newsletter widget (sidebar + footer page-news) --- */
.pb-widget-newsletter input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255,248,240,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #FFF8F0;
  font-family: 'Lora', serif;
  font-size: 14px;
  margin-bottom: 12px;
}

.pb-widget-newsletter input[type="email"]::placeholder {
  color: rgba(255,248,240,0.5);
}

.pb-widget-newsletter input[type="email"]:focus {
  outline: none;
  border-color: #C9A96E;
  background: rgba(255,255,255,0.12);
}

.pb-widget-newsletter input[type="submit"],
.pb-widget-newsletter .pb-btn-gold {
  width: 100%;
  padding: 12px 24px;
  background: #C9A96E;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pb-widget-newsletter input[type="submit"]:hover,
.pb-widget-newsletter .pb-btn-gold:hover {
  background: #d4b783;
  transform: translateY(-2px);
}

.pb-widget-newsletter .wpcf7-acceptance label {
  color: rgba(255,248,240,0.7) !important;
  font-size: 12px;
}

.pb-widget-newsletter .wpcf7-list-item {
  margin: 0;
}

/* Share buttons single post */
.pb-single-share .elementor-share-btn {
  border: 1px solid rgba(63,32,33,0.2) !important;
  transition: all 0.3s ease !important;
}

.pb-single-share .elementor-share-btn:hover {
  background: #C9A96E !important;
  border-color: #C9A96E !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}


/* --- 27.5 Responsive --- */
@media (max-width: 1024px) {
  .pb-sidebar {
    position: static !important;
  }
}

@media (max-width: 767px) {
  .pb-news-posts .elementor-post__title a {
    font-size: 1.15rem !important;
  }

  .pb-single-body h2 {
    font-size: 1.6rem;
  }

  .pb-single-body h3 {
    font-size: 1.3rem;
  }
}


/* ============================================================
   28. CONTACT FORM 7 — form pagina /contatti/
   Layout 2 colonne (nome+cognome, email+telefono),
   stile coerente con palette PanBignè,
   override del default rosa di CF7 (bottone submit, link privacy,
   validation messages, spinner).
   ============================================================ */

/* === Layout 2 colonne (desktop + tablet) === */
.wpcf7-row {
  display: flex;
  gap: 16px;
  margin-bottom: 1rem;
}

.wpcf7-col {
  flex: 1;
  min-width: 0; /* permette flex shrink corretto su input width:100% */
}

/* Mobile: stack verticale */
@media (max-width: 600px) {
  .wpcf7-row {
    flex-direction: column;
    gap: 1rem;
  }
}

/* === Label === */
.wpcf7 label {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pb-primary);
  margin-bottom: 6px;
}

/* === Input, textarea, select === */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(63, 32, 33, 0.15);
  border-radius: 8px;
  background: #fff;
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  color: var(--pb-text-body);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: none;
  border-color: var(--pb-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

.wpcf7 textarea {
  min-height: 140px;
  height: 140px;
  resize: vertical;
}

.wpcf7 select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233F2021'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
  cursor: pointer;
}

/* === Acceptance checkbox (privacy) === */
.wpcf7-acceptance {
  display: block;
}

.wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--pb-text-body);
  cursor: pointer;
  margin: 0;
  line-height: 1.5;
}

.wpcf7-acceptance input[type="checkbox"] {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: var(--pb-gold);
  cursor: pointer;
  flex-shrink: 0;
}

/* Link privacy dentro acceptance — gold, non rosa default CF7 */
.wpcf7-acceptance a,
.wpcf7 a {
  color: var(--pb-gold);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.wpcf7-acceptance a:hover,
.wpcf7 a:hover {
  color: var(--pb-primary);
}

/* === Submit button (override su <input type="submit">) ===
   La classe pb-btn-primary del .wpcf7-submit punta a un input,
   non a un .elementor-button → il CSS sezione 5 non lo raggiunge.
   Qui ridichiariamo lo stile bottone primary direttamente
   sull'input/submit di CF7. */
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
  position: relative;
  overflow: hidden;
  padding: 16px 40px;
  background-color: var(--pb-primary);
  color: var(--pb-cream);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: var(--pb-shadow-sm);
  width: auto;
  display: inline-block;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
  background-color: var(--pb-gold);
  color: var(--pb-cream);
  transform: translateY(-2px);
  box-shadow: var(--pb-shadow-md);
}

.wpcf7 input[type="submit"]:disabled,
.wpcf7 .wpcf7-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* === Validation messages (override default rosa CF7) === */
.wpcf7 .wpcf7-not-valid {
  border-color: #c0392b !important;
}

.wpcf7 .wpcf7-not-valid-tip {
  color: #c0392b;
  font-size: 0.85rem;
  font-family: 'Lora', Georgia, serif;
  margin-top: 6px;
  display: block;
}

.wpcf7-response-output {
  border-radius: 8px;
  padding: 12px 16px !important;
  margin: 1.5rem 0 0 0 !important;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.95rem;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--pb-gold) !important;
  color: var(--pb-primary);
  background: rgba(201, 169, 110, 0.08);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: #c0392b !important;
  color: #c0392b;
  background: rgba(192, 57, 43, 0.05);
}

/* === Spinner === */
.wpcf7-spinner {
  background-color: var(--pb-gold) !important;
}

/* ============================================================
   29. WATERMARK SVG ANIMATO — sezioni home (v3 max-specificity)
   ============================================================ */
.elementor-section.pb-watermark-section,
.elementor-element.pb-watermark-section,
section.pb-watermark-section,
.pb-watermark-section {
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
}

.pb-watermark-section > * {
  position: relative;
  z-index: 1;
}

/* Regola base: pseudo-element con background */
.elementor-section.pb-watermark-section::before,
.elementor-element.pb-watermark-section::before,
section.pb-watermark-section::before,
.pb-watermark-section::before {
  content: '' !important;
  position: absolute !important;
  z-index: 0 !important;
  pointer-events: none !important;
  width: 520px !important;
  height: 520px !important;
  background-image: url('https://www.panbigne.it/wp-content/uploads/2026/05/panbigne-favicon2.svg') !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  opacity: 0.04;
  transform-origin: center;
  animation: pbWatermarkBreath 12s ease-in-out infinite;
  will-change: opacity, transform;
  /* DEFAULT: basso-sinistra */
  bottom: -100px !important;
  left: -100px !important;
  top: auto !important;
  right: auto !important;
}

/* Override basso-sinistra esplicito */
.elementor-section.pb-watermark-section.pb-watermark-bottomleft::before,
.elementor-element.pb-watermark-section.pb-watermark-bottomleft::before,
section.pb-watermark-section.pb-watermark-bottomleft::before,
.pb-watermark-section.pb-watermark-bottomleft::before {
  bottom: -50px !important;
  left: -100px !important;
  top: auto !important;
  right: auto !important;
}

/* Override alto-destra (sezione Storia) */
.elementor-section.pb-watermark-section.pb-watermark-topright::before,
.elementor-element.pb-watermark-section.pb-watermark-topright::before,
section.pb-watermark-section.pb-watermark-topright::before,
.pb-watermark-section.pb-watermark-topright::before {
  top: -50px !important;
  right: -100px !important;
  bottom: auto !important;
  left: auto !important;
}

@keyframes pbWatermarkBreath {
  0%, 100% {
    opacity: 0.04;
    transform: scale(1) rotate(-4.5deg);
  }
  50% {
    opacity: 0.07;
    transform: scale(1.04) rotate(4.5deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pb-watermark-section::before {
    animation: none !important;
    opacity: 0.05 !important;
  }
}

@media (max-width: 767px) {
  .pb-watermark-section::before {
    width: 320px !important;
    height: 320px !important;
    animation: none !important;
  }
  .pb-watermark-section.pb-watermark-topright::before {
    top: -60px !important;
    right: -60px !important;
  }
  .pb-watermark-section::before,
  .pb-watermark-section.pb-watermark-bottomleft::before {
    bottom: -60px !important;
    left: -60px !important;
  }
}


/* ============================================================
   30. ICONESAV HORECA — 4 categorie pagina Horeca
   Aggiunge le 4 nuove classi cerchio gold pastello + hover.
   Riusa il container .pb-cat-card della home (sezione 11).
   ============================================================ */
.iconesav-horeca-pane,
.iconesav-horeca-frozen,
.iconesav-horeca-buns,
.iconesav-horeca-servizio {
  width: 80px;
  height: 80px;
  background: rgba(201, 169, 110, 0.12);
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  transition: transform var(--pb-transition), background var(--pb-transition);
}

/* Hover: stesso effetto delle 4 categorie home */
.pb-cat-card.e-con:hover .iconesav-horeca-pane,
.pb-cat-card.e-con:hover .iconesav-horeca-frozen,
.pb-cat-card.e-con:hover .iconesav-horeca-buns,
.pb-cat-card.e-con:hover .iconesav-horeca-servizio {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(201, 169, 110, 0.3);
}


/* ============================================================
   31. PRIVACY POLICY — tipografia legale + card Titolare + griglia diritti
   Classi: .pb-privacy-body / .pb-titolare-card / .pb-diritti-grid
   ============================================================ */

/* Corpo del testo legale (pb-privacy-body): H2 numerati color primary,
   H3 gold, paragrafi giustificati con line-height ampia, ancore accessibili */
.pb-privacy-body .elementor-widget-text-editor h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  color: #3F2021;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(201, 169, 110, 0.3);
  scroll-margin-top: 100px; /* per ancore #tipologie-dati ecc. con header sticky */
}
.pb-privacy-body .elementor-widget-text-editor h2:first-child {
  margin-top: 0;
}
.pb-privacy-body .elementor-widget-text-editor h3 {
  font-family: "Lora", serif;
  font-size: 1.2rem;
  color: #C9A96E;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.pb-privacy-body .elementor-widget-text-editor p {
  font-size: 1rem;
  line-height: 1.85;
  color: #3F2021;
  margin-bottom: 1.15rem;
  text-align: justify;
  hyphens: auto;
}
.pb-privacy-body .elementor-widget-text-editor ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.pb-privacy-body .elementor-widget-text-editor ul li {
  font-size: 1rem;
  line-height: 1.75;
  color: #3F2021;
  margin-bottom: 0.7rem;
}
.pb-privacy-body .elementor-widget-text-editor ul li strong {
  color: #3F2021;
  font-weight: 700;
}
.pb-privacy-body .elementor-widget-text-editor a {
  color: #C9A96E;
  text-decoration: underline;
  text-decoration-color: rgba(201, 169, 110, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.pb-privacy-body .elementor-widget-text-editor a:hover {
  color: #3F2021;
  text-decoration-color: currentColor;
}

/* Card Titolare (pb-titolare-card): sfondo primary, testo cream,
   link gold, spacing paragrafi compatto */
.pb-titolare-card {
  position: relative;
  overflow: hidden;
}
.pb-titolare-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #C9A96E;
}
.pb-titolare-card .elementor-widget-text-editor p {
  margin-bottom: 0.4rem;
  font-size: 0.98rem;
}

/* Griglia riepilogo diritti (pb-diritti-grid): 2 colonne desktop,
   1 colonna mobile, item con check gold e testo secondario */
.pb-diritti-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}
.pb-diritti-grid .pb-diritto-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.5rem;
  background: #FFFFFF;
  border-radius: 12px;
  border-left: 3px solid #C9A96E;
  box-shadow: 0 2px 8px rgba(63, 32, 33, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pb-diritti-grid .pb-diritto-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(63, 32, 33, 0.09);
}
.pb-diritti-grid .pb-diritto-item strong {
  font-family: "Lora", serif;
  font-size: 1rem;
  color: #3F2021;
  font-weight: 600;
}
.pb-diritti-grid .pb-diritto-item span {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(63, 32, 33, 0.7);
}

/* Mobile: griglia 1 colonna + tipografia legale ridotta */
@media (max-width: 767px) {
  .pb-diritti-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .pb-privacy-body .elementor-widget-text-editor h2 {
    font-size: 1.4rem;
    margin-top: 2.25rem;
  }
  .pb-privacy-body .elementor-widget-text-editor h3 {
    font-size: 1.05rem;
  }
  .pb-privacy-body .elementor-widget-text-editor p,
  .pb-privacy-body .elementor-widget-text-editor ul li {
    font-size: 0.95rem;
    text-align: left; /* niente justify su mobile */
  }
}


/* ============================================================
   32. COOKIE POLICY — CookieYes button + tabella audit
   Classi: .pb-cookieyes-card / .pb-cookie-btn / .pb-cookie-audit
   Il pulsante "Modifica preferenze" ha classe .cky-banner-element
   che è la classe magica CookieYes: cliccandola riapre il banner.
   ============================================================ */

/* Card CookieYes (pb-cookieyes-card): bordo gold leggero + tipografia */
.pb-cookieyes-card {
  position: relative;
}
.pb-cookieyes-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #C9A96E;
  border-radius: 0 0 3px 3px;
}

/* Pulsante "Modifica preferenze cookie" — stile primary PanBignè
   Il pulsante è un <button class="cky-banner-element pb-cookie-btn">
   Cliccandolo CookieYes riapre automaticamente il banner. */
.pb-cookie-btn,
button.pb-cookie-btn,
.cky-banner-element.pb-cookie-btn {
  position: relative;
  overflow: hidden;
  padding: 14px 36px;
  background-color: #3F2021;
  color: #FFF8F0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(63, 32, 33, 0.1);
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.pb-cookie-btn:hover,
button.pb-cookie-btn:hover,
.cky-banner-element.pb-cookie-btn:hover {
  background-color: #C9A96E;
  color: #FFF8F0;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(63, 32, 33, 0.18);
}

/* Tabella audit cookie (pb-cookie-audit): stile CookieYes automatico
   Il plugin genera <div class="cky-audit-table"> con <table> dentro */
.pb-cookie-audit {
  margin: 2rem 0;
  overflow-x: auto;
}
.pb-cookie-audit .cky-audit-table,
.pb-cookie-audit table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Lora", Georgia, serif;
  font-size: 0.9rem;
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(63, 32, 33, 0.05);
}
.pb-cookie-audit table thead {
  background: #3F2021;
}
.pb-cookie-audit table thead th {
  color: #FFF8F0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 14px 16px;
  text-align: left;
  border: none;
}
.pb-cookie-audit table tbody tr {
  border-bottom: 1px solid rgba(63, 32, 33, 0.08);
  transition: background 0.2s ease;
}
.pb-cookie-audit table tbody tr:hover {
  background: rgba(201, 169, 110, 0.04);
}
.pb-cookie-audit table tbody tr:last-child {
  border-bottom: none;
}
.pb-cookie-audit table tbody td {
  padding: 12px 16px;
  color: #3F2021;
  vertical-align: top;
  line-height: 1.5;
  border: none;
}
.pb-cookie-audit table tbody td strong {
  color: #3F2021;
  font-weight: 700;
}

/* Titoletti categorie della cookie audit (Necessari / Analitici / Marketing) */
.pb-cookie-audit h3,
.pb-cookie-audit h4,
.pb-cookie-audit .cky-audit-title {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: #3F2021;
  margin: 2rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid rgba(201, 169, 110, 0.3);
}

/* Responsive: tabella scrollabile su mobile invece che orribile stretta */
@media (max-width: 767px) {
  .pb-cookie-audit table {
    font-size: 0.82rem;
    min-width: 560px; /* forza scroll orizzontale */
  }
  .pb-cookie-audit table thead th,
  .pb-cookie-audit table tbody td {
    padding: 10px 12px;
  }
  .pb-cookie-btn {
    padding: 12px 28px;
    font-size: 0.88rem;
    letter-spacing: 0.15em;
  }
}


/* ============================================================
   33. COOKIEYES BANNER — palette PanBignè
   Sovrascrive lo stile inline blu #1863dc di default con la
   palette del brand (bordeaux/gold/cream). Rispetta la parità
   visiva Accetta/Rifiuta prescritta dal Provvedimento del
   Garante 10 giugno 2021: entrambi i pulsanti hanno stesso
   peso visivo (background pieno), colori diversi ma equipollenti.
   Necessario !important perché CookieYes applica style="..."
   inline su ogni elemento.
   ============================================================ */

/* --- Banner container e testo --- */
.cky-consent-container .cky-notice,
.cky-notice {
  font-family: 'Lora', Georgia, serif;
  background: #FFF8F0 !important;
  border-top: 3px solid var(--pb-gold) !important;
  box-shadow: 0 -8px 32px rgba(63, 32, 33, 0.12) !important;
}

.cky-notice .cky-title,
.cky-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  color: var(--pb-primary) !important;
  font-weight: 700 !important;
  font-size: 1.4rem !important;
  margin-bottom: 0.5rem !important;
}

.cky-notice .cky-notice-des,
.cky-notice-des,
.cky-notice-des p {
  font-family: 'Lora', Georgia, serif !important;
  color: var(--pb-text-body) !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
}

.cky-notice-des a,
.cky-notice a,
.cky-preference-content-wrapper a {
  color: var(--pb-gold) !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
  transition: color 0.25s ease !important;
}

.cky-notice-des a:hover,
.cky-notice a:hover,
.cky-preference-content-wrapper a:hover {
  color: var(--pb-primary) !important;
}

/* --- Base bottoni --- */
.cky-notice-btn-wrapper .cky-btn,
.cky-preference-btn-wrapper .cky-btn,
.cky-btn {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 12px 24px !important;
  border-radius: 50px !important;
  border-width: 2px !important;
  border-style: solid !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 6px rgba(63, 32, 33, 0.08) !important;
}

/* --- Accetta tutto = CTA primaria (bordeaux) --- */
.cky-notice-btn-wrapper .cky-btn-accept,
.cky-btn-accept {
  background-color: var(--pb-primary) !important;
  border-color: var(--pb-primary) !important;
  color: var(--pb-cream) !important;
}

.cky-notice-btn-wrapper .cky-btn-accept:hover,
.cky-btn-accept:hover {
  background-color: var(--pb-gold) !important;
  border-color: var(--pb-gold) !important;
  color: var(--pb-cream) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(63, 32, 33, 0.18) !important;
}

/* --- Rifiuta tutto = parità visiva GDPR (gold pieno) ---
   Stessa dignità visiva di Accetta ma colore diverso perché
   il Garante impone pari facilità di scelta, non pari colore. */
.cky-notice-btn-wrapper .cky-btn-reject,
.cky-btn-reject {
  background-color: var(--pb-gold) !important;
  border-color: var(--pb-gold) !important;
  color: var(--pb-cream) !important;
}

.cky-notice-btn-wrapper .cky-btn-reject:hover,
.cky-btn-reject:hover {
  background-color: var(--pb-primary) !important;
  border-color: var(--pb-primary) !important;
  color: var(--pb-cream) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(63, 32, 33, 0.18) !important;
}

/* --- Personalizza = secondaria/ghost (outline bordeaux) --- */
.cky-notice-btn-wrapper .cky-btn-customize,
.cky-btn-customize {
  background-color: transparent !important;
  border-color: var(--pb-primary) !important;
  color: var(--pb-primary) !important;
  box-shadow: none !important;
}

.cky-notice-btn-wrapper .cky-btn-customize:hover,
.cky-btn-customize:hover {
  background-color: var(--pb-primary) !important;
  border-color: var(--pb-primary) !important;
  color: var(--pb-cream) !important;
}

/* --- Preference Center (modal apre da "Personalizza") --- */
.cky-preference-center {
  font-family: 'Lora', Georgia, serif !important;
  background: #FFF8F0 !important;
  border-radius: var(--pb-radius) !important;
}

.cky-preference-header {
  background: var(--pb-primary) !important;
  border-bottom: 3px solid var(--pb-gold) !important;
}

.cky-preference-header .cky-preference-title,
.cky-preference-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  color: var(--pb-cream) !important;
  font-weight: 700 !important;
}

.cky-btn-preferences-close,
.cky-btn-close {
  color: var(--pb-cream) !important;
}

.cky-preference-body-wrapper,
.cky-preference-content-wrapper p,
.cky-always-active {
  font-family: 'Lora', Georgia, serif !important;
  color: var(--pb-text-body) !important;
}

.cky-accordion-header .cky-accordion-title,
.cky-accordion-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  color: var(--pb-primary) !important;
  font-weight: 700 !important;
}

.cky-accordion-chevron {
  color: var(--pb-gold) !important;
}

.cky-always-active {
  color: var(--pb-gold) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem !important;
}

/* --- Toggle switch (categorie ON/OFF) --- */
.cky-switch input[type="checkbox"]:checked + .cky-slider,
.cky-switch input[type="checkbox"]:checked + label .cky-slider {
  background-color: var(--pb-gold) !important;
}

/* --- Bottone "Salva le mie preferenze" in Preference Center --- */
.cky-preference-btn-wrapper .cky-btn-preferences,
.cky-btn-preferences {
  background-color: var(--pb-primary) !important;
  border-color: var(--pb-primary) !important;
  color: var(--pb-cream) !important;
}

.cky-preference-btn-wrapper .cky-btn-preferences:hover,
.cky-btn-preferences:hover {
  background-color: var(--pb-gold) !important;
  border-color: var(--pb-gold) !important;
}

/* --- Badge floating "Riapri banner cookie" (in basso) ---
   Il colore di sfondo del badge è applicato dal plugin come
   inline style="background-color: #xxxxxx;" sul WRAPPER
   (.cky-btn-revisit-wrapper), non sul button interno. Serve
   quindi override diretto sul wrapper con !important. */
.cky-btn-revisit-wrapper,
.cky-btn-revisit-wrapper.cky-revisit-bottom-left,
.cky-btn-revisit-wrapper.cky-revisit-bottom-right,
.cky-revisit-consent {
  background-color: var(--pb-primary) !important;
  box-shadow: 0 4px 16px rgba(63, 32, 33, 0.25) !important;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
}

.cky-btn-revisit-wrapper:hover,
.cky-btn-revisit-wrapper.cky-revisit-bottom-left:hover,
.cky-btn-revisit-wrapper.cky-revisit-bottom-right:hover,
.cky-revisit-consent:hover {
  background-color: var(--pb-gold) !important;
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(63, 32, 33, 0.35) !important;
}

/* Button interno: trasparente per lasciare vedere il colore del wrapper */
.cky-btn-revisit-wrapper .cky-btn-revisit {
  background-color: transparent !important;
  border: none !important;
  color: var(--pb-cream) !important;
}

/* Icona SVG bianca su sfondo colorato — l'SVG di default di
   CookieYes è già bianco, ma forziamo filtro per sicurezza in
   caso di aggiornamenti asset. */
.cky-btn-revisit-wrapper .cky-btn-revisit img {
  filter: brightness(0) invert(1);
}

/* Tooltip che appare al hover ("Preferenze di consenso") */
.cky-btn-revisit-wrapper[data-tooltip]::after,
.cky-btn-revisit-wrapper::after {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  background-color: var(--pb-primary) !important;
  color: var(--pb-cream) !important;
  border-radius: 6px !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
  padding: 6px 10px !important;
}

/* --- Responsive: bottoni stack verticali su mobile --- */
@media (max-width: 600px) {
  .cky-notice-btn-wrapper,
  .cky-preference-btn-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  .cky-notice-btn-wrapper .cky-btn,
  .cky-preference-btn-wrapper .cky-btn {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 0.85rem !important;
  }
  .cky-notice .cky-title,
  .cky-title {
    font-size: 1.2rem !important;
  }
  .cky-notice-des,
  .cky-notice-des p {
    font-size: 0.9rem !important;
  }
}


/* ============================================================
   34. FOODSERVICE — pagina /foodservice/ (fusione horeca + Word)
   Classi: .iconesav-fs-* (6 icone canali) / .pb-spec-card /
   .pb-adv-5 (5 vantaggi in fila) / .pb-fs-steps (step numerati)
   ============================================================ */

/* --- 34.1 Icone dei 6 canali: cerchio gold pastello + hover ---
   Stesso pattern delle iconesav-horeca-* (sezione 30). */
.iconesav-fs-ristorazione,
.iconesav-fs-bar,
.iconesav-fs-pizzeria,
.iconesav-fs-catering,
.iconesav-fs-gastronomia,
.iconesav-fs-distribuzione {
  width: 80px;
  height: 80px;
  background: rgba(201, 169, 110, 0.12);
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  transition: transform var(--pb-transition), background var(--pb-transition);
}

.pb-cat-card.e-con:hover .iconesav-fs-ristorazione,
.pb-cat-card.e-con:hover .iconesav-fs-bar,
.pb-cat-card.e-con:hover .iconesav-fs-pizzeria,
.pb-cat-card.e-con:hover .iconesav-fs-catering,
.pb-cat-card.e-con:hover .iconesav-fs-gastronomia,
.pb-cat-card.e-con:hover .iconesav-fs-distribuzione {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(201, 169, 110, 0.3);
}

/* --- 34.2 Card "Su specifica / private label": bordo sinistro gold --- */
.pb-spec-card.e-con {
  border-left: 4px solid var(--pb-gold) !important;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.pb-spec-card .pb-quote-inline {
  border-left: 3px solid var(--pb-gold);
  padding-left: 18px;
}

/* Icona cerchio grande della card specifica (96px, non ruota al hover) */
.iconesav-fs-spec {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  background: rgba(201, 169, 110, 0.12);
  border-radius: 50%;
}
.iconesav-fs-spec svg {
  max-width: 52px;
  max-height: 52px;
}
@media (max-width: 767px) {
  .iconesav-fs-spec {
    margin: 0 auto;
  }
}

/* --- 34.3 Griglia vantaggi: 5 card in fila su desktop largo ---
   Le card riusano .pb-focaccia-step-card (flex base 25%, max 280px):
   con 5 elementi andrebbero 4+1. Su desktop >1024 le comprimiamo
   a 5 colonne strette. Tablet/mobile ereditano i media della
   sezione 26 (2 col / 1 col). */
@media (min-width: 1025px) {
  .pb-adv-5 .pb-focaccia-step-card.e-con {
    flex: 1 1 calc(20% - 24px);
    min-width: 185px;
    max-width: 235px;
    padding: 2.2rem 1.3rem !important;
  }
  .pb-adv-5 .pb-focaccia-step-title .elementor-heading-title {
    font-size: 1.1rem !important;
  }
}

/* --- 34.4 Step campionatura: lista ordinata con numeri gold --- */
.pb-fs-steps {
  list-style: none;
  counter-reset: fs-step;
  max-width: 680px;
  margin: 0.6rem 0 0;
  padding: 0;
}
.pb-fs-steps li {
  counter-increment: fs-step;
  position: relative;
  padding: 0 0 0 48px;
  margin-bottom: 1.1rem;
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--pb-text-body);
}
.pb-fs-steps li:last-child { margin-bottom: 0; }
.pb-fs-steps li::before {
  content: counter(fs-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  background: var(--pb-gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .pb-fs-steps li {
    font-size: 0.95rem;
    padding-left: 42px;
  }
  .pb-spec-card.e-con {
    border-left-width: 3px !important;
  }
}


/* === FINE STYLE.CSS PANBIGNÈ === */
