/* ==========================================================================
   GR-LPB — Base Components
   Buttons, header, navigation, badges, footer, breadcrumb, floating CTA.
   Caricato su TUTTE le pagine.
   @since 1.3.0 — Estratto da components.css (code-splitting)
   ========================================================================== */

/* --- BUTTONS ----------------------------------------------------------- */

/* Base class — condivisa da tutti i bottoni (usata come prefisso in HTML) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  font-family: var(--wp--preset--font-family--body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  min-height: 48px;
  transition: var(--gr-transition-base);
  border: none;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background-color: var(--wp--preset--color--primary);
  color: #FFFFFF;
  font-family: var(--wp--preset--font-family--body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  min-height: 48px;
  transition: var(--gr-transition-base);
}

.btn-primary:hover {
  background-color: var(--wp--preset--color--primary-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--gr-shadow-red);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--wp--preset--color--primary);
  outline-offset: 3px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: transparent;
  color: #FFFFFF;
  font-family: var(--wp--preset--font-family--body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  text-decoration: none;
  min-height: 48px;
  transition: var(--gr-transition-base);
}

.btn-outline:hover {
  border-color: #FFFFFF;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
}

/* Variante outline su sfondo chiaro */
.btn-outline--dark {
  color: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--primary);
}

.btn-outline--dark:hover {
  background: var(--wp--preset--color--primary);
  color: #FFFFFF;
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background-color: var(--wp--preset--color--secondary);
  color: #FFFFFF;
  font-family: var(--wp--preset--font-family--body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  min-height: 48px;
  transition: var(--gr-transition-base);
}

.btn-dark:hover {
  background-color: #333;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--gr-shadow-md);
}

.btn-dark:focus-visible {
  outline: 3px solid var(--wp--preset--color--primary);
  outline-offset: 3px;
}

/* Large button variant */
.btn-primary--lg {
  padding: 20px 48px;
  font-size: 16px;
}

@media (max-width: 767px) {
  .btn-primary--lg {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Bottone WhatsApp verde */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #FFFFFF;
  padding: 18px 36px;
  font-family: var(--wp--preset--font-family--body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  min-height: 48px;
  transition: all 0.3s ease;
}
.btn-whatsapp:hover {
  background: #1DA851;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:focus-visible {
  outline: 3px solid var(--wp--preset--color--info);
  outline-offset: 2px;
}

/* --- HEADER ------------------------------------------------------------ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 40px;
  transition: var(--gr-transition-smooth);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  max-width: 1400px;
  margin: 0 auto;
}

/* Stato trasparente (sopra hero) */
.site-header--transparent {
  background: transparent;
}

.site-header--transparent .site-header__brand-name {
  color: #FFFFFF;
}

.site-header--transparent .site-header__brand-tagline {
  color: rgba(255, 255, 255, 0.6);
}

.site-header--transparent .site-header__nav-link {
  color: #FFFFFF;
}
.site-header--transparent .wp-block-navigation-item__label {
  color: #FFFFFF;
}

.site-header--transparent .site-header__logo--light {
  display: block;
}
.site-header--transparent .site-header__logo--dark {
  display: none;
}

/* Header solid su pagine non-homepage (via body_class PHP, zero JS) */
.gr-header-solid .site-header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
  padding: 16px 40px;
}
.gr-header-solid .site-header .site-header__brand-name { color: var(--wp--preset--color--text-primary); }
.gr-header-solid .site-header .site-header__brand-tagline { color: var(--wp--preset--color--text-muted); }
.gr-header-solid .site-header .site-header__nav-link { color: var(--wp--preset--color--text-primary); }
.gr-header-solid .site-header .wp-block-navigation-item__label { color: var(--wp--preset--color--text-primary); }
.gr-header-solid .site-header .site-header__logo--light { display: none; }
.gr-header-solid .site-header .site-header__logo--dark { display: block; }

/* Stato scrolled (sfondo bianco) — per homepage dopo scroll */
.site-header--scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--wp--preset--color--border);
  padding: 16px 40px;
}

.site-header--scrolled .site-header__brand-name {
  color: var(--wp--preset--color--text-primary);
}

.site-header--scrolled .site-header__brand-tagline {
  color: var(--wp--preset--color--text-muted);
}

.site-header--scrolled .site-header__nav-link {
  color: var(--wp--preset--color--text-primary);
}
.site-header--scrolled .wp-block-navigation-item__label {
  color: var(--wp--preset--color--text-primary);
}

.site-header--scrolled .site-header__logo--light {
  display: none;
}
.site-header--scrolled .site-header__logo--dark {
  display: block;
}

/* Logo */
.site-header__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-header__logo {
  height: 40px;
  width: auto;
  transition: var(--gr-transition-base);
}

/* Default: logo nero visibile, grigio nascosto */
.site-header__logo--light {
  display: none;
}
.site-header__logo--dark {
  display: block;
}

/* Navigation — reset stili wp-block-navigation */
.site-header__nav.wp-block-navigation {
  /* Reset WP layout override */
  gap: 0;
}

.site-header__nav .wp-block-navigation__container {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

/*
 * NOTA: wp:navigation rende <li class="site-header__nav-link">
 *       con dentro <a class="wp-block-navigation-item__content">.
 *       Gli stili del link vanno applicati sia al <li> che al <a>.
 */
.site-header__nav-link {
  list-style: none;
}

.site-header__nav-link a,
.site-header .wp-block-navigation-item__content {
  font-family: var(--wp--preset--font-family--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: var(--gr-transition-base);
  color: inherit;
}

.site-header__nav-link a:hover,
.site-header .wp-block-navigation-item__content:hover,
.site-header__nav-link--active a {
  color: var(--wp--preset--color--primary);
  border-bottom-color: var(--wp--preset--color--primary);
}

.site-header__nav-link a:focus-visible,
.site-header .wp-block-navigation-item__content:focus-visible {
  outline: 3px solid var(--wp--preset--color--primary);
  outline-offset: 3px;
}

/* Colori link su header trasparente */
.site-header--transparent .site-header__nav-link a,
.site-header--transparent .wp-block-navigation-item__content {
  color: #FFFFFF;
}

/* Colori link su header scrolled */
.site-header--scrolled .site-header__nav-link a,
.site-header--scrolled .wp-block-navigation-item__content {
  color: var(--wp--preset--color--text-primary);
}

/* CTA header */
.site-header__cta {
  padding: 12px 24px;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Hamburger mobile — nascosto su desktop */
.site-header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  min-height: 48px;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
  cursor: pointer;
  background: none;
  border: none;
  -webkit-appearance: none;
  flex-shrink: 0;
}

.site-header__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: var(--gr-transition-base);
  transform-origin: center;
}

.site-header--scrolled .site-header__toggle-bar {
  background: var(--wp--preset--color--secondary);
}

/* Hamburger → X animazione */
.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar {
  background: #FFFFFF;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(2) {
  opacity: 0;
}
.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   MOBILE MENU (≤ 991px)
   ========================================================================== */
@media (max-width: 991px) {
  .site-header {
    padding: 16px 20px;
  }

  .site-header--scrolled {
    padding: 12px 20px;
  }

  /*
   * FIX: backdrop-filter crea un containing block per position:fixed,
   * impedendo al nav overlay di coprire l'intero viewport.
   * Lo rimuoviamo quando il menu mobile è aperto.
   */
  body.mobile-menu-open .site-header--scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Forza nowrap — logo + hamburger sulla stessa riga */
  .site-header__inner,
  .site-header__inner.is-layout-flex {
    flex-wrap: nowrap !important;
  }

  /* Brand shrink per lasciare spazio all'hamburger */
  .site-header__brand-wrap,
  .site-header__brand-wrap.wp-block-group {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  .site-header__brand {
    max-width: 100%;
  }

  .site-header__logo {
    max-width: 100%;
    height: 36px;
  }

  /* Mostra hamburger — !important necessario per vincere su WP core */
  .site-header__toggle {
    display: flex !important;
    z-index: 1001;
    position: relative;
    flex-shrink: 0;
    margin-left: 12px;
  }

  /* Nascondi CTA desktop su mobile — sostituito dal CTA dentro il menu overlay */
  .site-header__cta,
  .site-header__cta.btn-primary {
    display: none !important;
  }

  /* ── Menu overlay full-screen ──
     NOTA: il <ul> eredita la classe .site-header__nav da WP,
     quindi usiamo SOLO nav come tag selector per non nascondere l'UL */
  nav.site-header__nav,
  nav.site-header__nav.wp-block-navigation,
  nav.site-header__nav.is-layout-flex,
  nav.site-header__nav.wp-block-navigation.is-layout-flex {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--wp--preset--color--secondary);
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 100px 40px 40px;
  }

  /* ── Menu aperto ── */
  nav.site-header__nav.site-header__nav--open,
  nav.site-header__nav.site-header__nav--open.wp-block-navigation,
  nav.site-header__nav.site-header__nav--open.is-layout-flex {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* UL dentro nav aperto — forza visibilità */
  nav.site-header__nav--open .wp-block-navigation__container,
  .site-header__nav--open ul.wp-block-navigation__container {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  /* Link nel menu mobile —
     NOTA: .wp-block-navigation-item__label va forzato esplicitamente
     perché .site-header--scrolled lo colora di scuro e vincerebbe per specificità. */
  .site-header__nav--open .site-header__nav-link a,
  .site-header__nav--open .wp-block-navigation-item__content,
  .site-header__nav--open .wp-block-navigation-item__label {
    color: #FFFFFF !important;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 12px 0;
    border-bottom-color: transparent;
    display: block;
    text-align: center;
  }

  .site-header__nav--open .site-header__nav-link a:hover,
  .site-header__nav--open .wp-block-navigation-item__content:hover,
  .site-header__nav--open .wp-block-navigation-item__label:hover {
    color: var(--wp--preset--color--accent-gold) !important;
    border-bottom-color: transparent;
  }

  /* CTA dentro il menu mobile (aggiunto via JS come <li> dentro la <ul>) */
  .site-header__nav-cta-mobile-wrap {
    display: list-item;
    list-style: none;
    width: 100%;
    text-align: center;
    margin-top: 16px;
  }

  .site-header__nav-cta-mobile {
    display: none;
    margin-top: 8px;
    padding: 16px 40px;
    background: var(--wp--preset--color--primary);
    color: #FFFFFF;
    font-family: var(--wp--preset--font-family--body);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 0;
    transition: background 0.3s ease;
    min-height: 48px;
    text-align: center;
  }

  .site-header__nav--open .site-header__nav-cta-mobile {
    display: inline-block;
  }

  .site-header__nav-cta-mobile:hover {
    background: var(--wp--preset--color--primary-dark, #B71C1C);
    color: #FFFFFF;
  }
}

/* CTA mobile nascosto su desktop (JS lo aggiunge al DOM su tutti i viewport) */
.site-header__nav-cta-mobile-wrap {
  display: none;
}

/* Breakpoint tablet piccolo */
@media (max-width: 767px) {
  .site-header__logo {
    height: 28px;
  }
}

/* --- BADGES ------------------------------------------------------------ */

.badge {
  display: inline-block;
  padding: 6px 12px;
  font-family: var(--wp--preset--font-family--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.badge--classe3 {
  background: var(--wp--preset--color--primary);
  color: #FFFFFF;
}

.badge--classe4 {
  background: var(--wp--preset--color--secondary);
  color: #FFFFFF;
}

.badge--feature {
  background: transparent;
  border: 1px solid var(--wp--preset--color--border-medium);
  color: var(--wp--preset--color--text-muted);
}

.badge--smart {
  background: #7B1FA2;
  color: #FFFFFF;
}

.badge--made-italy {
  background: #FFFFFF;
  border: 2px solid var(--wp--preset--color--accent);
  color: var(--wp--preset--color--accent);
}

.badge--garanzia {
  background: #1976D2;
  color: #FFFFFF;
}

/* --- CTA BAR (componente condiviso) — spostato da product.css @since 1.3.0 */

.gr-cta-bar {
  padding: 24px 0;
  background: var(--wp--preset--color--surface-alt);
  border-bottom: 1px solid var(--wp--preset--color--border);
}

.gr-cta-bar__inner {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.gr-cta-bar .btn-outline {
  color: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--primary);
}

.gr-cta-bar .btn-outline:hover {
  background: var(--wp--preset--color--primary);
  color: #FFFFFF;
}

@media (max-width: 767px) {
  .gr-cta-bar__inner {
    padding: 0 20px;
    gap: 12px;
  }

  .gr-cta-bar .btn,
  .gr-cta-bar .btn-primary,
  .gr-cta-bar .btn-outline,
  .gr-cta-bar .btn-whatsapp {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ==========================================================================
   CARD PORTA — Componente condiviso (homepage, archivi, correlati)
   ========================================================================== */

.card-porta {
  padding: 40px;
  background: var(--wp--preset--color--surface-alt);
  border: 1px solid var(--wp--preset--color--border);
  transition: var(--gr-transition-smooth);
  display: flex;
  flex-direction: column;
}

.card-porta:hover {
  background: var(--wp--preset--color--surface);
  border-color: var(--wp--preset--color--primary);
  transform: translateY(-4px);
  box-shadow: var(--gr-shadow-lg);
}

.card-porta__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.card-porta__badges {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.card-porta__image-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  background: var(--wp--preset--color--border);
  margin-bottom: 24px;
  overflow: hidden;
}

.card-porta__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-porta__arrow {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: var(--wp--preset--color--primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--gr-transition-base);
}

.card-porta:hover .card-porta__arrow {
  background: var(--wp--preset--color--primary-dark);
}

.card-porta__title {
  font-family: var(--wp--preset--font-family--heading);
  font-size: 26px;
  font-weight: 400;
  color: var(--wp--preset--color--text-primary);
  margin-bottom: 12px;
}

.card-porta__excerpt {
  font-family: var(--wp--preset--font-family--body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
  flex: 1;
}

.card-porta__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--wp--preset--color--border);
}

.card-porta__price {
  font-family: var(--wp--preset--font-family--heading);
  font-size: 20px;
  color: var(--wp--preset--color--text-primary);
}

.card-porta__discover {
  font-family: var(--wp--preset--font-family--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--wp--preset--color--primary);
}

/* ==========================================================================
   CARD PANNELLO — Componente condiviso (homepage, archivi, correlati)
   ========================================================================== */

.card-pannello {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--gr-transition-smooth);
}

.card-pannello:hover {
  border-color: var(--wp--preset--color--primary);
  background: rgba(198, 40, 40, 0.05);
}

.card-pannello__image-wrap {
  position: relative;
  width: 100%;
  height: 160px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 24px;
  overflow: hidden;
}

.card-pannello__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 10px;
  padding: 4px 10px;
}

.card-pannello__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-pannello__title {
  font-family: var(--wp--preset--font-family--heading);
  font-size: 24px;
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.card-pannello__subtitle {
  font-family: var(--wp--preset--font-family--body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.card-pannello__excerpt {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-pannello__meta {
  font-family: var(--wp--preset--font-family--body);
  font-size: 13px;
  font-weight: 600;
  color: var(--wp--preset--color--primary);
  margin-bottom: 16px;
}

.card-pannello__cta {
  font-family: var(--wp--preset--font-family--body);
  font-size: 13px;
  font-weight: 600;
  color: var(--wp--preset--color--primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--gr-transition-base);
}

.card-pannello:hover .card-pannello__cta {
  color: #FFFFFF;
}

.card-pannello__count {
  font-family: var(--wp--preset--font-family--body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.card-pannello__link {
  font-family: var(--wp--preset--font-family--body);
  font-size: 13px;
  font-weight: 600;
  color: var(--wp--preset--color--primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--gr-transition-base);
}

.card-pannello:hover .card-pannello__link {
  color: #FFFFFF;
}

/* ==========================================================================
   CARD USP — Componente condiviso (homepage, chi-siamo)
   Spostato da homepage.css @since 1.3.0
   ========================================================================== */

.card-usp {
  padding: 48px;
  background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--border);
  transition: var(--gr-transition-smooth);
  text-align: center;
}

.card-usp:hover {
  border-color: var(--wp--preset--color--primary);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.card-usp__icon {
  width: 56px;
  height: 56px;
  border: 2px solid var(--wp--preset--color--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--wp--preset--color--primary);
}

.card-usp__icon svg {
  width: 24px;
  height: 24px;
}

.card-usp__title {
  font-family: var(--wp--preset--font-family--heading);
  font-size: 24px;
  font-weight: 400;
  color: var(--wp--preset--color--text-primary);
  margin-bottom: 16px;
}

.card-usp__text {
  font-family: var(--wp--preset--font-family--body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #666;
  margin-bottom: 24px;
}

.card-usp__detail {
  font-family: var(--wp--preset--font-family--body);
  font-size: 13px;
  font-weight: 600;
  color: var(--wp--preset--color--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Card responsive --------------------------------------------------- */

@media (max-width: 991px) {
  .card-usp {
    padding: 32px 24px;
  }

  .card-usp__title {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .card-porta {
    padding: 24px;
  }

  .card-porta__title {
    font-size: 22px;
  }

  .card-pannello {
    padding: 24px;
  }
}

/* --- BREADCRUMB -------------------------------------------------------- */

.gr-breadcrumb {
  padding-top: var(--gr-header-height, 80px);
  font-family: var(--wp--preset--font-family--body);
  background: var(--wp--preset--color--bg-light, #F5F5F5);
}

/* Rank Math breadcrumb container */
.gr-breadcrumb .rank-math-breadcrumb {
  padding: 8px 0;
}

.gr-breadcrumb .rank-math-breadcrumb p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--wp--preset--color--text-secondary);
}

/* Links */
.gr-breadcrumb .rank-math-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--wp--preset--color--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 400;
}

.gr-breadcrumb .rank-math-breadcrumb a:hover {
  color: var(--wp--preset--color--primary);
}

.gr-breadcrumb .rank-math-breadcrumb a:focus-visible {
  outline: 2px solid var(--wp--preset--color--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Icona Home — CSS only, prima del primo link */
.gr-breadcrumb .rank-math-breadcrumb a:first-child::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  flex-shrink: 0;
  opacity: 0.6;
  margin-right: 2px;
}

.gr-breadcrumb .rank-math-breadcrumb a:first-child:hover::before {
  opacity: 1;
}

/* Separatore — chevron CSS pseudo-element */
.gr-breadcrumb .separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  width: 14px;
  height: 14px;
}

.gr-breadcrumb .separator::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--wp--preset--color--text-secondary);
  border-right: 1.5px solid var(--wp--preset--color--text-secondary);
  transform: rotate(45deg);
  opacity: 0.5;
}

/* Pagina corrente */
.gr-breadcrumb .rank-math-breadcrumb .last {
  color: var(--wp--preset--color--text-primary);
  font-weight: 500;
}

/* ── Responsive breadcrumb ── */
@media (max-width: 767px) {
  .gr-breadcrumb .rank-math-breadcrumb {
    padding: 6px 0;
  }
  .gr-breadcrumb .rank-math-breadcrumb p {
    font-size: 12px;
  }
  .gr-breadcrumb .separator {
    margin: 0 5px;
  }
}

/* --- CTA FINALE -------------------------------------------------------- */

.gr-cta-final {
  background: linear-gradient(135deg, #1A1A1A 0%, #2A1A1A 100%);
  text-align: center;
}

.gr-cta-final__inner {
  max-width: 700px;
  margin: 0 auto;
}

.gr-cta-final__title {
  font-family: var(--wp--preset--font-family--heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.gr-cta-final__subtitle {
  font-family: var(--wp--preset--font-family--body);
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 40px;
}

.gr-cta-final__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.gr-cta-final__note {
  font-family: var(--wp--preset--font-family--body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.3);
}

/* --- FOOTER ------------------------------------------------------------ */

.site-footer {
  background: var(--wp--preset--color--surface-dark);
  border-top: 3px solid var(--wp--preset--color--primary);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 48px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
}

@media (max-width: 991px) {
  .site-footer__main {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 60px 32px;
  }

  .site-footer__col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 20px;
  }

  .site-footer__col--brand {
    grid-column: auto;
    text-align: center;
  }

  .site-footer__col--brand .site-footer__brand-logo {
    display: flex;
    justify-content: center;
  }

  .site-footer__col--brand .site-footer__brand-desc {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

.site-footer__brand-name {
  font-family: var(--wp--preset--font-family--body);
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.site-footer__brand-legal {
  font-family: var(--wp--preset--font-family--body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 16px;
}

.site-footer__brand-desc {
  font-family: var(--wp--preset--font-family--body);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
}

/* Brand column (col 1) */
.site-footer__col--brand .site-footer__list {
  margin-top: 0;
}

.site-footer__col--brand .site-footer__list-link {
  font-size: 13px;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__col--brand .site-footer__list-link:hover {
  color: #FFFFFF;
}

/* Social icons */
.site-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.site-footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: var(--gr-transition-base);
}

.site-footer__social-link:hover {
  border-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--primary);
  background: rgba(198, 40, 40, 0.1);
}

/* Footer brand logo */
.site-footer__brand-logo {
  margin-bottom: 24px;
}

.site-footer__logo-img {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.site-footer__logo-img:hover {
  opacity: 1;
}

/* Footer columns */
.site-footer__heading {
  font-family: var(--wp--preset--font-family--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__list-link {
  display: block;
  padding: 6px 0;
  font-family: var(--wp--preset--font-family--body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--gr-transition-base);
}

.site-footer__list-link:hover {
  color: var(--wp--preset--color--primary);
}

/* Footer contatti — layout compatto con icone */
.site-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__contact-row svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__contact-row a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__contact-row a:hover {
  color: #FFFFFF;
}

.site-footer__contact-row--wa svg {
  color: #25D366;
}

.site-footer__contact-row--wa a {
  color: #25D366;
  font-weight: 600;
}

.site-footer__contact-row--wa a:hover {
  color: #2EE672;
}

/* Bottom bar */
.site-footer__bottom {
  padding: 32px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.site-footer__bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer__copyright {
  font-family: var(--wp--preset--font-family--body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer__legal {
  display: flex;
  gap: 24px;
}

.site-footer__legal-link {
  font-family: var(--wp--preset--font-family--body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: var(--gr-transition-base);
}

.site-footer__legal-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* === Credit Developer @since 1.3.0 === */

.site-footer__credits {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.site-footer__credits-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #999;
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.3px;
}

.site-footer__credits-link:hover,
.site-footer__credits-link:focus-visible {
  color: #FFFFFF;
}

.site-footer__credits-link svg {
  height: 14px;
  width: auto;
  fill: currentColor;
  transition: fill 0.2s ease;
}

@media (max-width: 767px) {
  .site-footer__bottom {
    padding: 24px 20px;
  }

  .site-footer__bottom-row {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .site-footer__legal {
    justify-content: center;
  }
}

/* --- Narrow container ---------------------------------------------------- */

.gr-container--narrow {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   FLOATING CTA — Rimossa in v1.3.1
   WP Social Ninja Pro gestisce il widget WhatsApp su tutte le pagine.
   La barra mobile Chiama+WhatsApp e il FAB WhatsApp del tema sono stati
   rimossi per evitare ridondanza e alleggerire l'esperienza mobile.
   ========================================================================== */

/* ==========================================================================
   NEWSLETTER — Componente condiviso (tutte le pagine)
   Spostato da blog.css @since 1.3.0
   ========================================================================== */

.gr-newsletter {
  background: var(--wp--preset--color--secondary);
  padding: 64px 0;
  color: #FFFFFF;
}

.gr-newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.gr-newsletter__title {
  font-family: var(--wp--preset--font-family--heading);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  color: #FFFFFF;
  margin: 0 0 12px;
}

.gr-newsletter__desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.gr-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Honeypot — nascosto */
.gr-newsletter__form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.gr-newsletter__input-wrap {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.gr-newsletter__input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  outline: 2px solid transparent; /* Visibile in Windows High Contrast Mode. */
  font-size: 16px;
  font-family: var(--wp--preset--font-family--body);
  color: var(--wp--preset--color--text-primary);
  background: transparent;
  min-width: 0;
}

.gr-newsletter__input::placeholder {
  color: var(--wp--preset--color--text-secondary);
}

.gr-newsletter__input:focus {
  box-shadow: inset 0 0 0 2px var(--wp--preset--color--primary);
  border-radius: 8px 0 0 8px;
}

.gr-newsletter__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  background: var(--wp--preset--color--primary);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  font-family: var(--wp--preset--font-family--body);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.3s ease;
  white-space: nowrap;
  min-height: 48px;
}

.gr-newsletter__btn:hover {
  background: var(--wp--preset--color--primary-dark, #B71C1C);
}

.gr-newsletter__btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.gr-newsletter__btn-loading {
  display: inline-flex;
  align-items: center;
}

.gr-newsletter__btn-loading .gr-spinner {
  animation: gr-spin 1s linear infinite;
}

@keyframes gr-spin {
  to { transform: rotate(360deg); }
}

.gr-newsletter__privacy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.gr-newsletter__privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.gr-newsletter__checkbox {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--wp--preset--color--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.gr-newsletter__privacy a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gr-newsletter__privacy a:hover {
  color: var(--wp--preset--color--accent-gold);
}

.gr-newsletter__feedback {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.gr-newsletter__feedback--success {
  background: rgba(46, 125, 50, 0.2);
  color: #A5D6A7;
  border: 1px solid rgba(46, 125, 50, 0.4);
}

.gr-newsletter__feedback--error {
  background: rgba(198, 40, 40, 0.2);
  color: #EF9A9A;
  border: 1px solid rgba(198, 40, 40, 0.4);
}

/* ── Banner conferma double opt-in ── */
.gr-newsletter-banner { line-height: 1.5; }
.gr-newsletter-banner--success {
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
}
.gr-newsletter-banner--warning {
  background: #FFF3E0;
  color: #E65100;
  border: 1px solid #FFCC80;
}
.gr-newsletter-banner--error {
  background: #FFEBEE;
  color: #C62828;
  border: 1px solid #EF9A9A;
}

/* ── Responsive Newsletter ── */
@media (max-width: 767px) {
  .gr-newsletter {
    padding: 48px 0;
  }

  .gr-newsletter__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .gr-newsletter__input-wrap {
    flex-direction: column;
    border-radius: 8px;
  }

  .gr-newsletter__input {
    border-radius: 8px 8px 0 0;
    text-align: center;
  }

  .gr-newsletter__input:focus {
    border-radius: 8px 8px 0 0;
  }

  .gr-newsletter__btn {
    border-radius: 0 0 8px 8px;
    width: 100%;
    justify-content: center;
  }

  .gr-newsletter__privacy-label {
    justify-content: center;
  }
}

/* reCAPTCHA badge — nascosto (attribuzione nel footer form) */
.grecaptcha-badge {
  visibility: hidden !important;
}

/* ==========================================================================
   Landing Pages — Full-width breakout per wp:html dentro post-content
   @since 1.3.1
   ========================================================================== */

/* Sezioni landing full-width: usa alignfull nativo WordPress FSE */

/* --- Sezioni Landing --------------------------------------------------- */

/* Varianti sezione */
.lp-section--hero {
  background: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 40%, #2A1A1A 100%);
  padding-top: 96px;
  padding-bottom: 96px;
  text-align: center;
}

/* Hero con immagine di sfondo + overlay scuro */
.lp-section--hero-bg {
  position: relative;
  background: url('/wp-content/uploads/2026/03/chimera_02.jpeg') center center / cover no-repeat;
}

.lp-section--hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 13, 13, 0.85) 0%, rgba(26, 26, 26, 0.80) 40%, rgba(42, 26, 26, 0.80) 100%);
  z-index: 0;
}

.lp-section--hero-bg > .gr-container {
  position: relative;
  z-index: 1;
}

.lp-section--dark {
  background: linear-gradient(135deg, #1A1A1A 0%, #2A1A1A 100%);
  padding-top: 64px;
  padding-bottom: 64px;
  text-align: center;
}

.lp-section--gray {
  background-color: #f5f5f5;
}

/* Testi su sfondo scuro — rosso brand chiaro per contrasto WCAG AA (4.82:1 su #1A1A1A) */
.lp-section--hero .gr-section-label,
.lp-section--dark .gr-section-label {
  color: #EF5350;
}

.lp-section--hero .gr-section-title,
.lp-section--dark .gr-section-title {
  color: #fff;
}

.lp-section--hero .gr-section-description {
  color: #bdbdbd;
  max-width: 720px;
  margin: 0 auto 40px;
}

/* Hero H1 grande */
.lp-hero-title {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 24px;
}

/* Paragrafi su sfondo scuro */
.lp-text-muted {
  font-size: 18px;
  line-height: 1.7;
  color: #bdbdbd;
  margin-bottom: 20px;
}

.lp-text-muted:last-child {
  margin-bottom: 0;
}

.lp-text-muted strong {
  color: #fff;
}

.lp-text-muted a {
  color: #EF5350;
}

.lp-text-muted a:hover {
  color: #fff;
}

/* Outline button su sfondo scuro */
.lp-section--hero .btn-outline {
  border-color: #fff;
  color: #fff;
}

/* Contenitore narrow */
.lp-narrow {
  max-width: 900px;
  margin: 0 auto;
}

.lp-narrow--md {
  max-width: 800px;
  margin: 0 auto;
}

.lp-narrow--sm {
  max-width: 780px;
  margin: 0 auto;
}

/* Paragrafi contenuto */
.lp-body-text {
  font-family: var(--wp--preset--font-family--body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--wp--preset--color--text-secondary);
  max-width: 100%;
  margin-bottom: 24px;
}

.lp-body-text:last-child {
  margin-bottom: 0;
}

.lp-body-text a {
  color: var(--wp--preset--color--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lp-body-text a:hover {
  color: var(--wp--preset--color--primary-hover);
}

/* H3 sottosezione */
.lp-h3 {
  font-family: var(--wp--preset--font-family--heading);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 16px;
}

/* Spacing paragrafi dopo H3 */
.lp-h3 + .lp-body-text {
  margin-bottom: 32px;
}

/* Header sezione centrato */
.lp-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.lp-section-header .gr-section-description {
  max-width: 720px;
  margin: 0 auto;
}

/* --- CTA hero landing -------------------------------------------------- */
.lp-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Griglia landing --------------------------------------------------- */
.lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.lp-grid--products {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* --- Card punti di forza ----------------------------------------------- */
.lp-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-top: 3px solid var(--wp--preset--color--primary);
}

.lp-card h3 {
  font-family: var(--wp--preset--font-family--heading);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
}

.lp-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--wp--preset--color--text-secondary);
}

/* --- Card prodotto ----------------------------------------------------- */
.lp-product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.lp-product-card__header {
  background: #1A1A1A;
  padding: 24px 28px;
  color: #fff;
}

.lp-product-card__header h3 {
  font-family: var(--wp--preset--font-family--heading);
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  margin-top: 8px;
  margin-bottom: 0;
}

.lp-product-card__badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #EF5350;
}

.lp-product-card__body {
  padding: 24px 28px;
}

.lp-product-card__body p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--wp--preset--color--text-secondary);
  margin-bottom: 16px;
}

.lp-product-card__body p strong {
  color: var(--wp--preset--color--text-primary);
}

.lp-product-card__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--wp--preset--color--primary);
  text-decoration: none;
}

.lp-product-card__link:hover {
  text-decoration: underline;
}

/* --- FAQ accordion ----------------------------------------------------- */
.lp-faq {
  margin-bottom: 16px;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 8px;
  overflow: hidden;
}

.lp-faq:last-child {
  margin-bottom: 0;
}

.lp-faq summary {
  padding: 20px 24px;
  font-family: var(--wp--preset--font-family--heading);
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  background: #fff;
  list-style: none;
}

.lp-faq summary::-webkit-details-marker {
  display: none;
}

.lp-faq > div {
  padding: 0 24px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--wp--preset--color--text-secondary);
}

/* --- Card città (pagina Dove Operiamo) --------------------------------- */
.lp-city-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 2px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

a.lp-city-card:hover {
  border-color: var(--wp--preset--color--primary);
  box-shadow: 0 4px 20px rgba(198, 40, 40, 0.12);
  transform: translateY(-2px);
}

.lp-city-card__name {
  display: block;
  font-family: var(--wp--preset--font-family--heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--wp--preset--color--text-primary);
  margin-bottom: 6px;
}

a.lp-city-card:hover .lp-city-card__name {
  color: var(--wp--preset--color--primary);
}

.lp-city-card__distance {
  display: block;
  font-size: 14px;
  color: var(--wp--preset--color--text-secondary);
}

/* Città senza landing page (non linkate) */
.lp-city-card--local {
  background: #fafafa;
  border: 1px solid var(--wp--preset--color--border);
}

/* --- Mappa zone servite ------------------------------------------------ */
.lp-map-wrapper {
  max-width: 480px;
  margin: 40px auto 0;
}

.lp-map {
  width: 100%;
  height: auto;
}

/* Hero con immagine background personalizzata (override via inline style) */
.lp-section--hero-bg[style*="background-image"] {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* ==========================================================================
   Complianz Cookie Banner — Override stile GR-LPB
   @since 1.4.0
   ========================================================================== */

/* Banner container */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
  font-family: var(--wp--preset--font-family--body, 'Inter', sans-serif) !important;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3) !important;
  border-top: 2px solid var(--wp--preset--color--primary, #C62828) !important;
}

/* Bottone Accetta — stile coerente con CTA tema */
#cmplz-cookiebanner-container .cmplz-btn.cmplz-accept {
  font-family: var(--wp--preset--font-family--body, 'Inter', sans-serif) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 12px 28px !important;
  min-height: 44px !important;
  border-radius: 6px !important;
  transition: background 0.3s ease, transform 0.2s ease !important;
}

#cmplz-cookiebanner-container .cmplz-btn.cmplz-accept:hover {
  background: var(--wp--preset--color--primary-hover, #B71C1C) !important;
  transform: translateY(-1px) !important;
}

/* Bottone Rifiuta — outline */
#cmplz-cookiebanner-container .cmplz-btn.cmplz-deny {
  font-family: var(--wp--preset--font-family--body, 'Inter', sans-serif) !important;
  font-weight: 500 !important;
  padding: 12px 28px !important;
  min-height: 44px !important;
  border-radius: 6px !important;
  border-width: 2px !important;
  transition: background 0.3s ease !important;
}

#cmplz-cookiebanner-container .cmplz-btn.cmplz-deny:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Link impostazioni/policy */
#cmplz-cookiebanner-container .cmplz-btn.cmplz-manage,
#cmplz-cookiebanner-container .cmplz-btn.cmplz-view-preferences {
  font-weight: 500 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

/* Categorie toggle — accent oro */
#cmplz-cookiebanner-container .cmplz-categories .cmplz-category .cmplz-banner-checkbox:checked {
  background-color: var(--wp--preset--color--primary, #C62828) !important;
  border-color: var(--wp--preset--color--primary, #C62828) !important;
}

/* Focus visibile — accessibilita */
#cmplz-cookiebanner-container .cmplz-btn:focus-visible {
  outline: 3px solid var(--wp--preset--color--info, #1976D2) !important;
  outline-offset: 2px !important;
}

/* Mobile responsive */
@media (max-width: 767px) {
  #cmplz-cookiebanner-container .cmplz-cookiebanner {
    padding: 16px !important;
  }

  #cmplz-cookiebanner-container .cmplz-buttons {
    flex-direction: column !important;
    gap: 8px !important;
  }

  #cmplz-cookiebanner-container .cmplz-btn {
    width: 100% !important;
    text-align: center !important;
  }
}
