/*
Theme Name: Hello Elementor Child Theme
Author: 
Description: Your description goes here
Version: 1.0
Template: hello-elementor

This is the child theme for Hello Elementor theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

body {
  padding: 20px;
  border-radius: 40px !important;
}
h2.gform_title {
    display: none;
}
@media screen and (max-width: 500px) {
  p {
    font-size: 14px !important;
  }
  h1 {
    font-size: 30px !important;
  }
}
.menu2_header ul li a::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-left: 8px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M8.25 4.5L15.75 12L8.25 19.5' stroke='%232F383C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: unset!important;
    background-color: unset!important;
}


.menu2_header ul li a::after {
    right: 0;
}
.wpml-menu a.js-wpml-ls-item-toggle.wpml-ls-item-toggle,
.wpml-menu-mobile a.js-wpml-ls-item-toggle.wpml-ls-item-toggle{
    border-radius: 4px;
    background: #e8eced;
}

.menu2_header ul#menu-1-46cada9 {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.menu2_header ul#menu-1-46cada9 li a {
    text-align: left;
    display: flex;
    justify-content: flex-start;
    padding: 9px 0;
}
.wpml-menu,
.wpml-menu-mobile {
  width: fit-content !important;
}

.wpml-menu .wpml-elementor-ls,
.wpml-menu-mobile .wpml-elementor-ls {
  width: auto !important;
}

.wpml-menu
  .wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-dropdown-click.js-wpml-ls-legacy-dropdown-click,
.wpml-menu-mobile
  .wpml-ls-statics-shortcode_actions.wpml-ls.wpml-ls-legacy-dropdown-click.js-wpml-ls-legacy-dropdown-click {
  width: unset !important;
}
.elementor-country-selector {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}
form#filter-tassonomie-form {
  display: flex;
  align-items: flex-end;
  gap: 30px;
}
form#filter-tassonomie-form div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
}
.country-selector-container {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

#save-selection {
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
}

#save-selection:hover {
  background-color: #45a049;
}

/* ! CARATTERISTICHE TECNICHE */
.table-caratteristiche {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.table-caratteristiche tbody > tr:nth-child(odd) > td,
.table-caratteristiche tbody > tr:nth-child(odd) > th {
  background: none;
}

.table-caratteristiche tbody > tr:nth-child(odd) > td,
.table-caratteristiche tbody > tr:nth-child(odd) > th {
  background: none;
}
.table-caratteristiche thead {
  display: none;
}
.table-caratteristiche th,
.table-caratteristiche td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
}

.table-caratteristiche th {
  background-color: #f4f4f4;
  font-weight: bold;
}

.table-caratteristiche tr:nth-child(even) {
  background-color: #f9f9f9;
}

.table-caratteristiche td.metric-column,
.table-caratteristiche td.imperial-column,
.table-caratteristiche th,
.table-caratteristiche td {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 16.8px;
}
/* Stile per la tabella delle caratteristiche */
.table-caratteristiche {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.table-caratteristiche th,
.table-caratteristiche td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
}

.table-caratteristiche th {
  background-color: #f4f4f4;
  font-weight: bold;
}

.table-caratteristiche tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Nascondi le colonne per la selezione iniziale */
.metric-column {
  display: table-cell;
}

.imperial-column {
  display: none;
}

.toggle-container {
  margin-bottom: 20px;
  text-align: center;
}

.toggle-container label {
  margin: 0 10px;
  font-weight: bold;
}

.container_content {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  width: 100%;
}
/* ! FILTRI ARCHIVIO PRODOTTI */
.product-filters {
  margin-bottom: 30px;
}

.product-filters h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
ul.wpc-filter-chips-list.wpc-filter-chips-1729-1.wpc-filter-chips-1729 {
  display: none;
}
.subcategory-filter {
  margin-bottom: 8px;
}

.subcategory-filter a {
  font-size: 16px;
  color: #0073aa;
  text-decoration: none;
}

.subcategory-filter a:hover {
  color: #005177;
}

.filtri_popup .widget-title.wpc-filter-title {
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 22px;
}
.filtri_popup
  .wpc-filters-main-wrap
  input.wpc-label-input:checked
  + label
  span.wpc-filter-label-wrapper {
  background: #2f383c;
  border: none;
}
.filtri_popup
  .wpc-filters-main-wrap
  .wpc-filters-labels
  li.wpc-term-item
  label
  span.wpc-filter-label-wrapper {
  border-radius: 4px;
  border: 1px solid #2f383c;
}

.filtri_popup a.wpc-filter-link {
  color: #2f383c;
  text-align: center;
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
}
.filtri_popup
  body
  .wpc-filters-main-wrap
  input.wpc-label-input:checked
  + label
  span.wpc-filter-label-wrapper {
  background: #2f383c;
  border: none;
}

.filtri_popup .wpc-filters-range-inputs .ui-slider-horizontal .ui-slider-range {
  background-color: #2f383c;
}

.filtri_popup
  .wpc-filters-range-inputs
  .ui-slider-horizontal
  .ui-slider-handle {
  border: 3px solid;
  top: -8px;
}

.filtri_popup .wpc-filters-range-inputs .ui-slider-horizontal .ui-slider-range {
  height: 10px;
}
.filtri_popup .wpc-filters-range-inputs .ui-slider-horizontal {
  height: 10px;
  border-radius: 4px;
}

.filtri_popup
  .wpc-filters-widget-content
  .wpc-filters-section
  input[type="number"],
.filtri_popup
  .wpc-filters-widget-content
  .wpc-filters-section
  input[type="text"] {
  border: 1px solid;
  font-family: "Open Sans";
  font-weight: 700;
  border-radius: 5px;
}

.filtri_popup .wpc-filter-layout-submit-button {
  font-family: "Open Sans";
  text-transform: uppercase;
}

.filtri_popup .wpc-filters-main-wrap a.wpc-filters-reset-button {
  border: 1px solid #2f383c;
  color: #2f383c;
  font-weight: 400;
}

.filtri_popup .wpc-filters-main-wrap a.wpc-filters-reset-button:hover {
  background: #2f383c;
  color: #fff;
}

body
  .wpc-filters-main-wrap
  .wpc-filters-widget-controls-container
  a.wpc-filters-apply-button,
body .wpc-filters-main-wrap a.wpc-filters-submit-button,
body
  .wpc-filters-main-wrap
  .wpc-filters-widget-controls-container
  a.wpc-filters-apply-button,
body .wpc-filters-main-wrap a.wpc-filters-submit-button {
  border-color: #2f383c !important;
  background-color: #2f383c !important;
}

.filtri_popup
  .wpc-filters-section.wpc-filters-section-1941.wpc-filter-settore.wpc-filter-taxonomy.wpc-filter-layout-labels.wpc-counter-length-1.wpc-filter-full-height.wpc-filter-terms-count-2.wpc-filter-visible-term-names {
  border-bottom: 2px solid #c5c5c57d;
}
.filtri_popup
  .wpc-filters-main-wrap
  .wpc-filters-labels
  li.wpc-term-item
  label
  span.wpc-filter-label-wrapper:hover {
  background: #2f383c;
}
.filtri_popup
  .wpc-filters-section.wpc-filters-section-1832.wpc-filter-stabilizzatore.wpc-filter-taxonomy.wpc-filter-layout-labels.wpc-counter-length-1.wpc-filter-full-height.wpc-filter-terms-count-1.wpc-filter-visible-term-names {
  border-bottom: 2px solid #c5c5c57d;
}

.filtri_popup
  .wpc-filters-section.wpc-filters-section-1985.wpc-filter-capacita_di_sollevamento_sollevamento_metrico.wpc-filter-post_meta_num.wpc-filter-layout-range.wpc-counter-length-1.wpc-filter-has-selected.wpc-filter-terms-count-0.wpc-filter-visible-term-names {
  border-bottom: 2px solid #c5c5c57d;
  padding-bottom: 15px;
}

.filtri_popup
  .wpc-filters-section.wpc-filters-section-1986.wpc-filter-altezza_di_sollevamento_altezza_di_sollevamento_metrico.wpc-filter-post_meta_num.wpc-filter-layout-range.wpc-counter-length-1.wpc-filter-terms-count-0.wpc-filter-visible-term-names {
  border-bottom: 2px solid #c5c5c57d;
  padding-bottom: 15px;
}

.filtri_popup
  .wpc-filters-section.wpc-filters-section-2029.wpc-filter-potenza_nominale_potenza_nominale_metrico.wpc-filter-post_meta_num.wpc-filter-layout-range.wpc-counter-length-1.wpc-filter-terms-count-0.wpc-filter-visible-term-names {
  border-bottom: 2px solid #c5c5c57d;
  padding-bottom: 15px;
}
.filtri_popup
  .wpc-filters-section.wpc-filters-section-1941.wpc-filter-settore.wpc-filter-taxonomy.wpc-filter-layout-labels.wpc-counter-length-1.wpc-filter-full-height.wpc-filter-terms-count-3.wpc-filter-visible-term-names {
  border-bottom: 2px solid #c5c5c57d;
}
.filtri_popup .wpc-filters-section {
  margin-bottom: 0;
  padding-block: 5px;
}
.filtri_popup
  .wpc-filters-section.wpc-filters-section-1729.wpc-filter-layout-submit-button {
  padding-top: 16px;
}

/* ! GALLERY FOTO PRODOTTO */
/* Impostazioni base per il carosello */
.gallery-carousel,
.accessory-carousel {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}

.carousel-item {
  margin: 0 10px; /* Distanza tra gli elementi */
}

/* Per Slick Carousel */
.slick-track {
  display: flex !important;
  flex-direction: row !important;
}

.slick-slide {
  display: flex !important;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
}

.slick-prev,
.slick-next {
  z-index: 1; /* Per mettere le frecce sopra le immagini */
}

.slick-prev {
  left: -40px;
}

.slick-next {
  right: -40px;
}

/* Imposta un'altezza fissa per le immagini del carosello */
.gallery-carousel .carousel-item img,
.accessory-carousel .carousel-item img {
  width: 100%; /* Per fare in modo che l'immagine si adatti alla larghezza del contenitore */
  height: 300px; /* Imposta l'altezza desiderata */
  object-fit: cover; /* Assicurati che l'immagine riempia il contenitore senza deformarsi */
}

/* Se vuoi forzare anche la larghezza per una disposizione piu uniforme */
.gallery-carousel .carousel-item,
.accessory-carousel .carousel-item {
  width: 100%;
  height: 300px; /* Stessa altezza per il contenitore */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .gallery-carousel,
  .accessory-carousel {
    max-width: 90%;
  }
}

@media screen and (max-width: 768px) {
  .gallery-carousel,
  .accessory-carousel {
    max-width: 100%;
  }
}

/* ! EQUIPAGGIAMENTI */
.equipaggiamenti-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.equipaggiamento-item {
  width: calc(
    100% / 6 - 20px
  ); /* Calcola il 100% diviso per 6 e sottrai il gap */
  max-width: 300px; /* Limita la larghezza degli item per evitare che diventino troppo grandi */
  background: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.equipaggiamento-img img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.equipaggiamento-testo {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}

/* Media query per schermi piccoli */
@media (max-width: 1200px) {
  .equipaggiamento-item {
    width: calc(100% / 5 - 20px); /* 5 per schermi un po' piccoli */
  }
}

@media (max-width: 992px) {
  .equipaggiamento-item {
    width: calc(100% / 4 - 20px); /* 4 per schermi ancora più piccoli */
  }
}

@media (max-width: 768px) {
  .equipaggiamento-item {
    width: calc(100% / 3 - 20px); /* 3 per schermi mobile */
  }
  body {
    padding: 0px;
  }
}

@media (max-width: 576px) {
  .equipaggiamento-item {
    width: 100%; /* 1 per schermi molto piccoli */
  }
}

/* ! ARCHIVIO CAT PADRE */
/* Contenitore principale */
.sollevatori-telescopici-container {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

/* Contenitore principale della riga */
.sollevatori-telescopici-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Distanza tra le colonne */
  flex-direction: column;
}
.sollevatori-telescopici-up {
  width: 100%;
}

.sollevatori-telescopici-down {
  width: 100%;
  margin-top: 140px;
}
/* Colonna sinistra - Filtri */
.sollevatori-telescopici-left {
  width: 25%; /* Imposta la larghezza della colonna sinistra su 25% */
  min-width: 220px; /* Impedisce che la colonna si restringa troppo */
  padding: 10px;
  box-sizing: border-box;
}

/* Colonna destra - Listing dei prodotti */
.sollevatori-telescopici-right {
  width: 70%; /* Imposta la larghezza della colonna destra su 70% */
  min-width: 600px; /* Impedisce che la colonna si restringa troppo */
  padding: 10px;
  box-sizing: border-box;
}

/* Stile per i filtri di categoria */
.category-filters ul {
  list-style: none;
  padding: 0;
}

.category-filters ul li {
  margin: 10px 0;
}

.category-filters ul li a {
  text-decoration: none;
  color: #0073aa;
  font-size: 16px;
}

/* Stile per la lista dei prodotti */
div#product-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Crea 4 colonne */
  gap: 20px;
}

.products-list .product {
  background-color: #fff;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

/* Paginazione */
.pagination {
  text-align: center;
  margin-top: 20px;
}

/* Responsive: Tablet (larghezza max 768px) */
@media (max-width: 768px) {
  .sollevatori-telescopici-left {
    width: 100%; /* La colonna dei filtri occupa l'intera larghezza */
    margin-bottom: 20px;
  }

  .sollevatori-telescopici-right {
    width: 100%; /* La colonna dei prodotti occupa l'intera larghezza */
  }
}

@media screen and (max-width: 600px) {
  .table-caratteristiche tr {
    display: flex;
    flex-direction: column;
  }

  .table-caratteristiche td {
    font-weight: 600;
    border-bottom: 0px !important;
    font-size: 14px;
  }

  .table-caratteristiche td.metric-column,
  .table-caratteristiche td.imperial-column {
    border-top: 0px !important;
    border-top-color: transparent !important;
  }
}

/* Responsive: Mobile (larghezza max 480px) */
@media (max-width: 480px) {
  .category-filters ul li a {
    font-size: 14px;
  }

  .products-list {
    grid-template-columns: 1fr; /* Mostra un solo prodotto per riga su dispositivi mobili */
  }
}
#products-list {
  display: grid; /* grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); */
}

/* PAGINA ARCHIVIO PRODOTTI */

.acf-product-image {
  text-align: center;
  margin-bottom: 10px;
  background: #e8eced;
  padding: 12px;
  border-radius: 4px;
}
.single .elementor-widget-theme-post-featured-image.elementor-widget-image img {
  mix-blend-mode: darken !important;
}
.acf-product-image img {
  max-width: 100%;
  height: auto;
  mix-blend-mode: darken !important;
}
.accessorio-image img {
  mix-blend-mode: darken !important;
}
.acf-product-title {
  text-align: left !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  font-family: "Open Sans" !important;
  margin-bottom: 4px !important;
}

.acf-product-title a {
  text-decoration: none;
  color: #333;
  font-family: "Open Sans";
}

.acf-product-category {
  text-align: left !important;
  color: #555;
  margin-bottom: 10px;
  font-size: 17px !important;
  font-weight: 400 !important;
  font-family: "Open Sans" !important;
}
.acf-column {
  flex: 1 1 calc(33.333% - 12px); /* 3 colonne con gap */
}
@media (max-width: 992px) {
  .acf-column {
    flex: 1 1 calc(50% - 12px); /* 2 colonne su tablet */
  }
}
@media (max-width: 600px) {
  .acf-column {
    flex: 1 1 100%; /* 1 colonna su mobile */
  }
}

.acf-column {
  flex: 1;
  margin-bottom: 20px;
}

#height-slider {
  width: 100%;
  max-width: 300px;
  height: 10px;
  margin: 20px 10px;
}

/* Popup di caricamento */
.loading-popup {
  display: none; /* Di default, nascosto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Sfondo semi-trasparente */
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Assicurati che il popup sia sopra il contenuto */
}

.loading-content {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  font-size: 18px;
  color: #333;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Sidebar Filters */
.sollevatori-telescopici-up {
  position: fixed;
  top: 0;
  left: -500px;
  width: 500px;
  height: 100%;
  background-color: #fff;
  box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.1);
  transition: left 0.3s ease-in-out;
  z-index: 9999;
  padding: 60px 51px;
}

.sollevatori-telescopici-up.open {
  left: 0;
}

/* Pulsante di apertura dei filtri */
.filter-toggle-btn {
  position: absolute;
  left: 20px;
  padding: 10px 20px;
  background-color: #0073e6;
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  z-index: 998;
}

/* Pulsante di chiusura dei filtri */
.close-btn {
  background-color: #f00;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  position: absolute;
  top: 49px;
  right: 20px;
  font-size: 16px;
}

/* Styling dei filtri */
.category-filters h3 {
  margin-top: 0;
}

.category-filters label {
  display: block;
  margin-bottom: 10px;
}

.category-filters .subcategory-item,
.category-filters .sector-item,
.category-filters .stabilizer-item {
  margin-bottom: 15px;
}

.filter-section {
  margin-bottom: 30px;
}

.filter-section button {
  padding: 10px 20px;
  background-color: #0073e6;
  color: #fff;
  border: none;
  cursor: pointer;
  width: 46%;
  font-size: 16px;
}

.filter-section button:hover {
  background-color: #005bb5;
}

/* Loading spinner */
.loading-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none; /* Nascondi di default */
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.loading-content p {
  color: #000;
  font-size: 20px;
  padding: 30px;
}

/* Slider altezza */
#height-slider {
  margin-top: 20px;
}

.slider-values {
  margin-top: 10px;
  font-size: 16px;
}

#height-slider .noUi-tooltip {
  background: #0073e6;
  color: white;
}

#apply-filters {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .sollevatori-telescopici-up {
    width: 80%; /* Ridurre la larghezza per dispositivi mobili */
  }

  .filter-toggle-btn {
    left: 10px;
  }
}

.product-details {
  padding: 15px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
}

.product-title {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.product-category {
  font-size: 1em;
  color: #777;
  margin-bottom: 15px;
}

.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 15px;
}

.product-feature {
  font-size: 0.9em;
}

.product-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.product-buttons .button {
  padding: 10px 20px;
  font-size: 1em;
  border: none;
  cursor: pointer;
  background-color: #0073aa;
  color: #fff;
  border-radius: 5px;
}

.product-buttons .button:hover {
  background-color: #005177;
}

.woocommerce .custom-product-listing {
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
  padding: 10px;
  margin-bottom: 20px;
}

.woocommerce .custom-product-listing .product-image img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}

.woocommerce .custom-product-listing .product-details {
  padding: 10px 0;
}

.woocommerce .custom-product-listing .product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.woocommerce .custom-product-listing .product-actions {
  margin-top: 10px;
}

.woocommerce .custom-product-listing .compare-checkbox {
  margin-top: 10px;
}

.compare-checkbox.checked {
  accent-color: #fff; /* Colore personalizzato, cambia a piacere */
}
.content_item-title {
    margin-bottom: -13px;
}
.compare-row_heading {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 1rem;
    text-align: center;
}
.compare-list-item a .item-info {
  background: #fff;
  display: flex;
  flex-direction: row;
  padding: 10px;
  gap: 10px;
}
#yith-woocompare-preview-bar {
  background: #fff !important;
  color: #000 !important;
  width: 100% !important;
}
#yith-woocompare-preview-bar .container {
  display: flex !important;
  gap: 30px !important;
  margin: auto !important;
  padding: 17px 30px !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
}
#yith-woocompare-preview-bar .container .content {
  width: 70%;
}
#yith-woocompare-preview-bar .container header {
  width: 30%;
}
@media screen and (max-width: 1366px) {
  #yith-woocompare-preview-bar .container .content {
    width: 80%;
  }
  #yith-woocompare-preview-bar .container header {
    width: 20%;
  }
  #yith-woocompare-preview-bar .compare-row_heading h2 {
    font-size: 18px;
  }

  #yith-woocompare-preview-bar .item-info .content_item-title h6 {
    font-size: 12px !important;
  }

  #yith-woocompare-preview-bar
    .item-info
    .content_item-values.compare-value-row
    * {
    font-size: 13px !important;
  }

  #yith-woocompare-preview-bar .content_prod_preview .content_prod-item {
    gap: 3px;
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
  }

  #yith-woocompare-preview-bar .container header p {
    font-size: 16px;
  }

  #yith-woocompare-preview-bar a.yith-woocompare-open.button {
    font-size: 12px;
  }
}

@media screen and (max-width: 1200px) {
  #yith-woocompare-preview-bar header {
    display: unset !important;
  }
  #yith-woocompare-preview-bar .container header p {
    font-size: 14px !important;
    font-weight: 600;
  }
  .compare-list li.compare-list-item {
    width: 28% !important;
  }
  #yith-woocompare-preview-bar .item-info .content_item-title h6 {
    font-size: 9px !important;
  }
  #yith-woocompare-preview-bar
    .item-info
    .content_item-values.compare-value-row
    * {
    font-size: 11px !important;
  }
  #yith-woocompare-preview-bar span.remove {
    font-size: 10px !important;
    padding: 4px 8px !important;
  }
}

@media screen and (max-width: 1024px) {
  #yith-woocompare-preview-bar .container {
    padding: 17px 11px !important;
  }

  #yith-woocompare-preview-bar {
    padding: 20px 12px;
  }
}

@media screen and (max-width: 991px) {
  #yith-woocompare-preview-bar .container {
    padding: 17px 11px !important;
  }

  #yith-woocompare-preview-bar {
    padding: 20px 12px;
  }

  #yith-woocompare-preview-bar .container {
    display: flex;
    flex-direction: column-reverse;
  }

  #yith-woocompare-preview-bar .container header {
    width: 100%;
  }

  #yith-woocompare-preview-bar .container header p {
    display: none;
  }

  #yith-woocompare-preview-bar .container .content {
    width: 100%;
  }

  #yith-woocompare-preview-bar .item-info {
    display: flex;
    flex-direction: column-reverse;
  }

  #yith-woocompare-preview-bar .content_prod_preview {
    width: 100%;
  }

  #yith-woocompare-preview-bar .compare-list .image-wrap {
    width: 100%;
    height: 150px;
  }
}

#yith-woocompare-preview-bar .remove {
  height: fit-content;
  position: absolute;
  right: 0;
}
#yith-woocompare-preview-bar span.remove {
  position: relative;
  right: -10px;
  top: -10px;
  color: #fff;
  z-index: 9999;
  font-size: 18px;
  background: #2f383c;
  padding: 4px 12px;
  line-height: 0;
  border-radius: 4px;
}
#yith-woocompare-preview-bar .remove a {
  color: transparent;
  font-size: 0;
}
.item-info {
  display: flex;
  padding: 10px;
  align-items: flex-start;
  width: 100%;
  justify-content: space-between;
}
.compare-list li.compare-list-item {
  width: 34% !important;
  background: #fff;
  display: flex;
  flex-direction: row-reverse;
  position: relative;
  justify-content: flex-end;
  border-radius: 4px;
  border: 1px solid #d1d8db;
}
.content_prod_preview {
  width: 50%;
  height: 100%;
}
.compare-row_heading h2 {
  font-size: 22px;
  font-weight: 600;
}
#yith-woocompare-preview-bar * {
  font-family: "Open Sans";
}
#yith-woocompare-preview-bar .container header p {
  font-size: 20px;
  font-weight: 600;
}
#yith-woocompare-preview-bar .compare-list {
  gap: 60px;
}
#yith-woocompare-preview-bar .compare-list .image-wrap {
  position: relative;
  width: 50%;
  height: 100%;
}
#yith-woocompare-preview-bar a.yith-woocompare-open.button {
  background: #2f383c;
  color: #fff;
  text-transform: uppercase;
  font-weight: 400;
  padding: 11px 40px;
  font-family: "Open Sans";
}
#yith-woocompare-preview-bar .compare-list .image-wrap img {
  max-width: 100% !important;
  aspect-ratio: 1 !important;
  object-fit: contain !important;
  height: 100%;
}
/* Personalizzazione della checkbox */
.acf-compare-button .compare-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: 2px solid #ccc; /* Colore del bordo */
  appearance: none; /* Disabilita l'aspetto predefinito della checkbox */
  background-color: #fff; /* Colore di sfondo della checkbox */
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.woocommerce.product.compare-button {
  width: 100%;
  text-align: left;
  padding-left: 40px;
  margin-left: -39px;
}

.acf-compare-button.added .compare-checkbox {
  background-color: #c40001;
  border: 2px solid #c40001;
}
/* Rimuovi la spunta predefinita della checkbox */
.acf-compare-button .compare-checkbox:checked::before {
  content: ""; /* Rimuove la spunta */
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px; /* Imposta la dimensione dell'elemento "spunta" */
  height: 12px;
  background-color: #c40001; /* Colore rosso per l'interno della checkbox */
  border-radius: 50%; /* Forma circolare per l'interno */
  transform: translate(-50%, -50%); /* Centra l'interno */
}
a.compare {
  font-family: "Open Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 14.4px */
  color: #333333;
  text-transform: uppercase;
}
/* Aggiungi un effetto hover per la checkbox */
.acf-compare-button .compare-checkbox:hover {
  border-color: #999;
}
.acf-compare-button {
  display: flex;
  align-items: center;
  gap: 14px;
}
.product-specs {
  display: flex !important;
  flex-direction: row !important;
}

.product-specs .spec-item {
  display: flex !important;
  flex-direction: column !important;
}

/* Stile per il popup di confronto */
.compare-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.compare-popup-content {
  background-color: white;
  padding: 20px;
  width: 60%;
  max-height: 80%;
  overflow-y: auto;
  border-radius: 8px;
}

#compare-close {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #f44336;
  color: white;
  border: none;
  cursor: pointer;
}

.compare-item {
  margin-bottom: 10px;
}

/* ! FILTRI */

/* Assicurati che la barra del filtro sia visibile */
.fe-widget .fe-range-wrapper {
  display: block !important;
  visibility: visible !important;
}

/* Se la barra  nascosta, mostra il filtro di intervallo */
.fe-widget .fe-range-slider {
  display: flex;
  width: 100%;
  margin-bottom: 10px;
}

/* Ottimizza la visibilità */
.fe-widget .fe-range-bar {
  background-color: #eee;
  height: 10px;
}

/* Aggiungi altri stili per ottimizzare la visibilità e l'interattivita */
.fe-widget .fe-range-label {
  color: #333;
}

/* ! LOOP GRID PRODOTTO DENTRO TEMPLATE CATEGORIA */
.acf-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.acf-column {
  flex: 1;
  display: flex;
  gap: 6px;
  flex-direction: column;
}

/* Aggiunge i bordi laterali solo alla seconda colonna */
.acf-column:nth-child(2) {
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  padding-inline: 4px;
}

.acf-columns h6 {
  font-family: "Open Sans";
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 10.8px */
  color: #798d96;
  padding: 0;
  margin: 0;
}
.acf-column strong {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.acf-column p {
  color: #000;
  font-family: "Open Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  margin: 0;
}

/* ! CONFRONTA */
/* Contenitore principale del confronto */
#yith-woocompare {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 30px;
}
.compare-products-container-table {
  display: flex;
  flex-direction: row;
  width: 100%;
}
/* Singolo prodotto */

.product_acf-video-section {
  background-size: cover;
  background-position: center;
  padding: 160px 30px;
  text-align: left;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.product_acf-video-button {
  background-color: #fff;
  font-family: "Open Sans", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 22px;
  padding: 12px 24px;
  border-radius: 4px;
  color: #000;
}
.product_acf-video-section h2 {
  font-family: "Open Sans", Sans-serif;
  font-size: 60px;
  font-weight: 300;
  color: #fff;
  text-align: left;
}
.product_acf-video-section p {
  font-size: 16px;
  text-align: left;
  margin-bottom: 20px;
  width: 40%;
}
#product_acf-video-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  display: flex;
}

#product_acf-video-popup .acf-popup-content {
  position: relative;
  background: #000;
  padding: 20px;
  max-width: 800px;
  width: 90%;
  margin: auto;
}

#product_acf-video-popup .acf-popup-close {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

#product_acf-video-popup .acf-popup-video iframe {
  width: 100%;
  height: 450px;
}

@media screen and (max-width: 768px) {
  .product_acf-video-section {
    padding: 60px 30px;
  }
  .product_acf-video-section h2 {
    font-size: 35px;
  }
  .product_acf-video-section p {
    font-size: 14px;
    width: 90%;
  }
}
.compare-product {
  border-radius: 8px;
  width: 100%; /* Ensure it takes full width within grid cells */
}
.caratteristiche_mobile .card * {
  color: #ffff;
}
.caratteristiche_mobile .card {
  border: none;
}
.custom-accordion button.accordion-header {
  width: 100%;
  text-align: left;
  display: flex;
  background: none;
  color: #000;
  border: none;
  padding-inline: 0;
  font-family: "Open Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%; /* 21.6px */
  border-bottom: 2px solid #e8eced;
  border-radius: 0;
  padding-block: 16px;
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #eee;
  padding: 10px;
  cursor: pointer;
  width: 100%;
  border: none;
  outline: none;
}

.icon_accordion_plus,
.icon_accordion_minus {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.icon_accordion_minus {
  display: none;
}
.accordion-body p {
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  color: #798d96;
  padding-top: 24px;
}
.accordion-header.open .icon_accordion_plus {
  display: none;
}

.accordion-header.open .icon_accordion_minus {
  display: block;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 !important;
  background: none;
  border: 0;
}

/* Nome prodotto */
.compare-product h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Tabella dati ACF */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  display: flex;
}
.content_prod {
  width: 100%;
}
.compare-table th,
.compare-table td {
  padding: 12px 4px;
  text-align: left;
  border-bottom: 1px solid #d1d8db;
  color: #2f383c;
}

.compare-table th {
  width: 200px;
  background-color: transparent !important;
}
.compare-table tr:hover {
  background-color: transparent !important;
}
.compare-table td {
  background-color: #e8eced !important;
  padding: 12px 4px;
  border-radius: 4px;
  margin-bottom: 14px;
  width: 97% !important;
}

/* Immagine prodotto (aggiunta facoltativa) */
.compare-product img {
  max-width: 100%;
  height: auto;
  margin-top: 15px;
}

.compare-table td,
.compare-table th {
  border: none;
}

.compare-products-container-table
  .compare-product
  .content_prod:nth-of-type(1)
  .content_item-title
  h6:first-child {
  visibility: visible !important;
}
/*
.compare-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}*/

.content_item-values {
  height: 43px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #e8eced;
  /*width: fit-content;*/
  padding: 18px;
  text-align: center;
}
.content_prod_preview .content_prod-item .compare-row {
    display: flex;
}
.content_item-values.compare-value-row.compare-download *,
.content_item-values.compare-value-row.compare-download {
    background: #2f383c;
    color: #fff;
}
.compare-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 1rem;
    margin-bottom: 20px;
}
.content_prod_preview .content_item-title {
    margin-bottom: unset;
}
.compare-table tr {
  border-block: 1px solid;
  display: flex;
  flex-direction: column;
  border-top: 1px;
}
.compare-table td,
.compare-table th {
  width: 100%;
}

.compare-table tbody > tr:nth-child(odd) > th {
  background-color: transparent !important;
}

.compare-table tbody > tr:nth-child(even) > th,
.compare-table tbody > tr:nth-child(even) > th {
  background-color: transparent !important;
}
.item-info .content_item-title h6 {
  font-family: "Open Sans" !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 120% !important;
  padding: 0;
  margin: 0;
}
.item-info .content_item-values.compare-value-row * {
  color: #000 !important;
  font-family: "Open Sans" !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 20px !important;
  background: transparent !important;
  padding: 0 !important;
  height: auto !important;
}
.content_prod_preview .content_prod-item {
  gap: 10px;
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.compare-list .item-info .content_item-values.compare-value-row {
  background: unset;
  padding: 0;
  height: unset;
}
.content_item-title h6 {
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 22px; /* 137.5% */
}

.content_item-metrico,
.content_item-imperiale {
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px; /* 137.5% */
}
.compare-product h2 {
  color: #2f383c;
  font-family: "Open Sans";
  font-size: 37.9px;
  font-style: normal;
  font-weight: 300;
  line-height: 100%;
  margin-bottom: 35px;
}
tr.document_pdf {
  border-bottom: 0;
}

.document_pdf th,
.document_pdf td {
  background: none !important;
  padding-top: 40px;
  padding-left: 0;
}
.document_pdf a.download-pdf-btn {
  background: #e8eced;
  color: #333333;
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  text-transform: uppercase;
  border-radius: 4px;
}

@media screen and (max-width: 991px) {
  .compare-table * {
    font-size: 10px !important;
  }
  .compare-product h2 {
    font-size: 22px !important;
  }
  #yith-woocompare {
    padding: 70px 0;
  }
}

/* ! POPUP */
body.yith-woocompare-popup div#popup-compare-1 {
  display: flex !important;
  align-content: center !important;
  align-items: baseline !important;
  padding: 33px;
}

body.yith-woocompare-popup .left-column {
  width: 30% !important;
}

body.yith-woocompare-popup .right-column {
  width: 70% !important;
  display: flex !important;
  gap: 32px !important;
}

body.yith-woocompare-popup .product-card {
  padding: 20px !important;
  border: 1px solid lightgray !important;
  display: flex !important;
}
#cboxOverlay {
  background: #00000024 !important;
}

body.yith-woocompare-popup {
  display: flex !important;
  justify-content: space-between !important;
}

#cboxClose {
  right: 0;
  background-position: -100px -25px;
  top: 0 !important;
}

/* Stile per il pulsante di rimozione X */
.remove-product {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: red;
  color: white;
  border: none;
  padding: 5px 10px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 50%;
}

.remove-product:hover {
  background-color: darkred;
}

/* Assicurati che la card del prodotto abbia una posizione relativa per contenere il pulsante X */
.product-card {
  position: relative;
  border: 1px solid #ddd;
  margin: 10px;
  padding: 10px;
  display: inline-block;
  width: calc(33.33% - 20px); /* Per 3 card su una riga */
  box-sizing: border-box;
}

/*! TABLE COMPARE */
.toggle-container-compare,
.toggle-container {
  width: 100%;
  text-align: left;
}
.content_item-metrico,
.toggle-container td.metric-column {
  display: table-cell;
}

.content_item-imperiale,
.toggle-container td.imperial-column {
  display: none;
}
/* Contenitore del toggle */
.toggle-container-compare,
.toggle-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
}

/* Stile del toggle (switch) */
.toggle-container-compare .switch,
.toggle-container .switch {
  position: relative;
  display: inline-block;
  width: 75px;
  height: 23px;
}

/* Nascondi il checkbox originale */
.toggle-container-compare .switch input,
.toggle-container .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Stile dello slider (l'interruttore) */
.toggle-container-compare .slider,
.toggle-container .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 30px;
}

/* Lo stato del cerchio all'interno dello slider */
.toggle-container-compare .slider:before,
.toggle-container .slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  left: 53px;
  bottom: 3px;
  background-color: #ffffff;
  transition: 0.4s;
}
.toggle-container-compare input:checked + .slider,
.toggle-container input:checked + .slider {
  background-color: #ccc; /* Colore quando attivo */
}

.toggle-container-compare input:checked + .slider:before,
.toggle-container input:checked + .slider:before {
  transform: translateX(-50px);
  background-color: #333;
}

/* ! HEADER SOTTOCATEGORIE */

.sottocategorie-container {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-direction: row;
  width: 89%;
}

.sottocategoria-card {
  background-color: #f7f8f8;
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
  transition: transform 0.3s ease;
     flex: 1 1 calc(20% - 20px); /* oppure una larghezza fissa, ad es. 250px */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    height: 100%; /* essenziale */
}
.sottocategoria-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sottocategoria-card:hover {
  transform: scale(1.05);
  background-color: #e8eced;
}

.sottocategoria-img {
  width: 100%;
  height: 140px !important;
  display: block;
  object-fit: contain;
}

@media screen and (min-width: 1500px) {
  .sottocategoria-img {
    height: 220px !important;
  }
  .content_subheader a.vedi-tutti-btn {
    font-size: 15px !important;
    padding: 12px 24px;
  }
}

.sottocategoria-body {
  padding: 15px;
}

.sottocategoria-title {
  font-family: "Open Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 22px; /* 137.5% */
  color: #2f383c;
  margin: 0;
  margin-bottom: 10px;
}

/* Stile di base per i bottoni */
.sottocategoria-btn {
  font-family: "Open Sans";
  background-color: transparent; /* Bottone trasparente */
  border: 1px solid #ccc; /* Bordo grigio */
  color: #2f383c; /* Colore del testo */
  padding: 10px 20px; /* Distanza interna */
  font-size: 16px; /* Dimensione del testo */
  cursor: pointer; /* Puntatore a mano */
  transition: background-color 0.3s, border-color 0.3s, color 0.3s; /* Transizione per il cambiamento di colore */
}

/* Colore del bottone quando viene cliccato */
.first-sottocategoria:active,
.first-sottocategoria:focus,
.first-sottocategoria {
  background-color: #2f383c; /* Bottone nero */
  border-color: #2f383c; /* Bordo nero */
  color: #fff; /* Colore del testo bianco */
}
button.sottocategoria-btn.selected {
  background: #2f383c;
  color: #fff; /* Colore del testo bianco */
}

.pagination-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.pagination-container button.pagina-btn {
    padding: 8px 16px !important;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    font-family: "Open Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    color: #000;
}

.pagination-container button.pagina-btn.active,
.pagination-container button.pagina-btn:hover,
.pagination-container button.pagina-btn:focus  {
    font-weight: 600;
    background: #c20000;
    color: #fff;
    border: 1px solid #c20000;
}
/* Colore del bottone quando è in hover */
.sottocategoria-btn:hover {
  background-color: #2f383c; /* Colore di sfondo chiaro quando si passa sopra */
  border-color: #2f383c; /* Colore del bordo grigio chiaro quando si passa sopra */
}

.sottocategoria-subtitle {
  font-family: "Open Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
  color: #2f383c;
}

/* Contenitore delle card */
.sottocategorie-container-accessori {
  display: flex;
  gap: 10px;
  flex-direction: row;
  align-items: flex-end;
}

.content_accessori {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Creates four equal columns */
}
.content_accessori-optional{
    display: grid;
    grid-template-columns: repeat(3, 1fr)!important;
}
.sottocat-content-optional {
    width: 100%;
}
.sottocategoria-card-accessori .sottocategoria-btn-accessori {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  padding: 10px;
  text-align: center;
  color: #333;
  text-decoration: none;
  align-items: center;
  gap: 20px;
  text-transform: uppercase;
  font-family: "Open Sans";
  font-size: 15px;
}
.sottocategoria-card-accessori .sottocategoria-btn-accessori:hover {
  color: #333333;
  
}
.vedi-tutti-btn:hover {
  color: #fff;

}
.sottocategoria-card-accessori .categoria-thumbnail {
  width: 50px;
  height: 50px;
}

.sottocategoria-card-accessori .freccia-svg {
  margin-left: 5px;
  vertical-align: middle;
}

.sottocategoria-card-accessori .vedi-tutti-wrapper {
  margin-top: 30px;
  text-align: center;
}

.vedi-tutti-btn {
  display: inline-flex;
  align-items: center;
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 15px;

}

.sottocategoria-card-accessori .vedi-tutti-btn svg {
  margin-left: 8px;
}

/* Bottone e freccia */

.sottocategoria-btn-accessori .freccia {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

.sottocategoria-btn-accessori:hover {
  color: #0073e6;
}

.sottocategoria-card-accessori:hover .freccia {
  color: #0073e6;
}

.categoria-thumbnail {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-right: 10px;
  border-radius: 5px;
}

/* ! CANDIDATURE */
.loopgrid_candidature span.page-numbers.prev,
.loopgrid_candidature .page-numbers.next {
  background: #000;
  padding: 10px 15px;
  color: #fff;
  border-radius: 4px;
}

/* ! DOWNLOAD */

.cataloghi-search_info h5 {
  font-family: "Open Sans";
  font-size: 21.33px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 21.33px */
  text-align: center;
}
div#risultati-ricerca {
    width: 100%;
}
.cataloghi-search_info p {
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px; /* 137.5% */
  text-align: center;
}
.cataloghi-search {
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  align-self: stretch;
}

.cataloghi-categorie {
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  text-align: center;
  width: 100%;
  justify-content: center;
  align-content: center;
}

.cataloghi-download {
  font-family: "Open Sans";
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 28px 0px;
}
.cataloghi-download form.pdf_cataloghi {
  display: flex;
  gap: 20px;
  width: 30%;
}

.categorie-container {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
  justify-content: center;
}

.categorie-container::-webkit-scrollbar {
  display: none; /* nasconde la scrollbar su Webkit */
}
.categoriapadre-name {
  width: 40%;
  text-align: left;
}
.categorie-container button.categoria-padre {
  background: #fff;
  border: none;
  color: #000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  white-space: nowrap;
  scroll-snap-align: start;
  border-radius: 4px;
  box-shadow: 0px 1px 5px #00000040;
  transition: background-color 0.3s ease;
  min-width: fit-content;
}

.categorie-container button.categoria-padre:hover {
  background-color: #f0f0f0;
  cursor: pointer;
}

.categorie-container .categoria-icon {
  width: 34px;
  height: auto;
}
.cataloghi-search button {
  background: #2f383c !important;
  border: none;
  display: flex;
}
@media (max-width: 768px) {
  .categorie-container {
    gap: 10px;
  }
  .cataloghi-download button.categoria-padre {
    padding: 8px 12px;
    gap: 10px;
    font-size: 12px;
    width: 100%;
  }
  .cataloghi-download .categoria-icon {
    width: 20px;
  }
  .cataloghi-download .sotto-categorie {
    flex-direction: column;
  }
  .sotto-categorie .categoriapadre-name {
    width: 100%;
  }
  div#sotto-categorie-container .sottocategorie-container {
    width: 100%;
  }
  .cataloghi-download form.pdf_cataloghi {
    width: 100%;
  }
}

.sotto-categorie {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin-bottom: 50px;
}

div#sotto-categorie-container {
  width: 100%;
}
div#sotto-categorie-container .sottocategorie-container {
  width: 89%;
  overflow: auto;
  padding-bottom: 10px;
}

#products-list .page-numbers,
#product-list .page-numbers,
#accessori-list .page-numbers {
  padding: 8px 16px !important;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  font-family: "Open Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
}

#products-list .page-numbers:hover,
#product-list .page-numbers:hover,
#accessori-list  .page-numbers:hover{
  background: #c20000;
  color: #fff;
  border: 1px solid #c20000;
}

#products-list span.page-numbers.current,
#product-list span.page-numbers.current,
#accessori-list span.page-numbers.current {
  background: #c20000;
  color: #fff;
  border: 1px solid #c20000;
}

/* ! NEWSLETTER */
.newsletter_form div#gform_fields_5,
.newsletter_form div#gform_fields_16,
.newsletter_form div#gform_fields_17,
.newsletter_form div#gform_fields_18,
.newsletter_form div#gform_fields_19,
.newsletter_form div#gform_fields_20,
.newsletter_form div#gform_fields_21,
.newsletter_form div#gform_fields_22,
.newsletter_form div#gform_fields_23 {
  display: flex;
  flex-direction: row;
  width: 100%;
  flex-wrap: wrap;
  column-gap: 0;
  row-gap: 15px;
}
.newsletter_form .gform-theme--foundation #field_submit {
  align-items: flex-start;
}
.newsletter_form div#field_5_4,
.newsletter_form div#field_16_4,
.newsletter_form div#field_17_4,
.newsletter_form div#field_18_4,
.newsletter_form div#field_19_4,
.newsletter_form div#field_20_4,
.newsletter_form div#field_21_4,
.newsletter_form div#field_22_4,
.newsletter_form div#field_23_4  {
  order: 0;
  width: 80%;
}
.newsletter_form div#gform_5_validation_container,
.newsletter_form div#gform_16_validation_container,
.newsletter_form div#gform_17_validation_container,
.newsletter_form div#gform_18_validation_container,
.newsletter_form div#gform_19_validation_container,
.newsletter_form div#gform_20_validation_container,
.newsletter_form div#gform_21_validation_container,
.newsletter_form div#gform_22_validation_container,
.newsletter_form div#gform_23_validation_container   {
  display: none;
}

.newsletter_form div#field_submit {
  order: 1;
  width: 20%;
}

.newsletter_form fieldset#field_5_8,
.newsletter_form fieldset#field_16_8,
.newsletter_form fieldset#field_17_8,
.newsletter_form fieldset#field_18_8,
.newsletter_form fieldset#field_19_8,
.newsletter_form fieldset#field_20_8,
.newsletter_form fieldset#field_21_8,
.newsletter_form fieldset#field_22_8,
.newsletter_form fieldset#field_23_8 {
  order: 2;
  width: 100%;
}

.newsletter_form div#field_5_9,
.newsletter_form div#field_16_9,
.newsletter_form div#field_17_9,
.newsletter_form div#field_18_9,
.newsletter_form div#field_19_9,
.newsletter_form div#field_20_9,
.newsletter_form div#field_21_9,
.newsletter_form div#field_22_9,
.newsletter_form div#field_23_9  {
  order: 3;
}
.newsletter_form label.gfield_label.gform-field-label {
  display: none;
}

.newsletter_form
  legend.gfield_label.gform-field-label.gfield_label_before_complex {
  display: none;
}
.newsletter_form input#input_5_4,
.newsletter_form input#input_16_4,
.newsletter_form input#input_17_4,
.newsletter_form input#input_18_4,
.newsletter_form input#input_19_4,
.newsletter_form input#input_20_4,
.newsletter_form input#input_21_4,
.newsletter_form input#input_22_4,
.newsletter_form input#input_23_4  {
  background: transparent;
  border: 1px solid #fff;
  border-radius: 4px 0px 0px 4px !important;
  color: #fff;
  font-family: "Open Sans";
  font-size: 14px;
  padding: 24px;
}

.newsletter_form input#gform_submit_button_5,
.newsletter_form input#gform_submit_button_16,
.newsletter_form input#gform_submit_button_17,
.newsletter_form input#gform_submit_button_18,
.newsletter_form input#gform_submit_button_19,
.newsletter_form input#gform_submit_button_20,
.newsletter_form input#gform_submit_button_21,
.newsletter_form input#gform_submit_button_22,
.newsletter_form input#gform_submit_button_23  {
  background: transparent;
  border: 1px solid #fff;
  border-radius: 0px 4px 4px 0px !important;
  color: #fff;
  font-family: "Open Sans";
  font-size: 14px;
  padding: 17px;
  text-transform: uppercase;
}

/* ! SOTTOMENU HEADER PRODOTTI */
.sottomenu_header .e-n-tab-title {
  display: flex !important;
  flex-direction: row !important;
  align-content: space-around !important;
  justify-content: space-between !important;
}

.sottomenu_header img[src$=".svg"],
.sottomenu_header svg {
  fill: none !important;
  background: none !important;
}

/* ! MENU HEADER */
.menu2_header li {
  background: #fff;
  margin-bottom: 5px !important;
  padding: 7px 7px !important;
  border: 1px solid #e8eced !important;
  border-radius: 4px !important;
}
.menu2_header li:hover,
.menu2_header li:active {
  background: #d1d8db;
  margin-bottom: 5px !important;
  padding: 7px 7px !important;
  border: 1px solid #e8eced !important;
  border-radius: 4px !important;
}

.content_subheader {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  align-content: flex-end;
  gap: 20px;
}
.sottocategorie-container a {
  width: 100%;
}
.content_subheader a.vedi-tutti-btn {
  background-color: #2f383c;
  font-family: "Roboto", Sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 3px;
  color: #fff;
  display: flex;
  justify-content: center;
  gap: 7px;
  font-size: 10px;
  padding: 12px 13px;
  fill: #fff;
  text-align: center;
  transition: all 0.3s;
}
/* ! AZIENDA */
.azienda_sedi summary.e-n-accordion-item-title {
  width: fit-content;
}

/* ! SELECT LANG */
#filter-tassonomie-form label {
  font-family: "Open Sans";
  font-weight: 500;
  font-size: 14px;
}

#filter-tassonomie-form select {
  font-family: "Open Sans";
  font-size: 13px;
  color: #afafaf;
  border: 1px solid #afafaf;
  border-radius: 4px !important;
}
#filter-tassonomie-form button.btn_filtra {
  background: #2f383c !important;
  border: none;
  display: flex;
}

/* ! TEMPLATE PRODOTTO SINGOLO */

.card {
  padding: 16px 8px;
  border: 1px solid #d1d8db;
  font-family: "Open Sans";
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 4px;
}
.card p {
  font-size: 30px;
  font-family: "Open Sans";
  font-weight: 300;
  margin: 0;
}
.card h6 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
.accessori-categorie {
  display: flex;
  gap: 10px;
  padding: 10px;
  overflow: auto;
}

@media screen and (max-width: 1024px) {
  .card p {
    font-size: 20px;
  }

  .card h6 {
    font-size: 14px;
  }

  .custom-accordion button.accordion-header {
    font-size: 14px;
    text-wrap: auto;
  }

  .icon_accordion_plus,
  .icon_accordion_minus,
  .icon_accordion_plus svg,
  .icon_accordion_minus svg {
    width: 30px;
    height: 30px;
  }
}
@media screen and (min-width: 991px) {
  .accessori-categorie {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 10px;
    padding: 10px;
    overflow: auto;
  }
}
.accessori-categorie .categoria-accessorio,
.accessori-categorie .categoria-optional {
  margin-bottom: 20px;
  text-align: center;
  padding: 15px 20px;
  transition: 0.2s ease-in-out;
  min-width: 250px;
}
.accessori-categorie .categoria-accessorio .categoria-imagem-wrapper,
.accessori-categorie .categoria-optional .categoria-imagem-wrapper {
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
}
.accessori-categorie .categoria-imagem {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 10px;
  padding: 10px;
}

.accessori-categorie h3 {
  font-size: 18px;
  color: #333;
}

.loop-accessori {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
  margin-top: 20px;
  width: 100%;
}
@media screen and (min-width: 991px) {
  .loop-accessori {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
    width: 100%;
  }
}

.categoria-accessorio:hover,
.categoria-optional:hover {
  transform: scale(1.05); /* Effetto di ingrandimento al passaggio del mouse */
}

.categoria-imagem-wrapper {
  margin-bottom: 10px;
}

.categoria-imagem {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.categoria-accessorio h3,
.categoria-optional h3 {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}

/* ! FORM CONTATTI */
.form_contatti *,
.contatti_cv * {
  font-family: "Open Sans";
  font-size: 16px;
  border-radius: 5px !important;
  row-gap: 12px !important;
}

.form_contatti label.gform-field-label.gform-field-label--type-sub,
.contatti_cv label.gform-field-label.gform-field-label--type-sub {
  display: none;
}

.form_contatti span.gfield_required,
.contatti_cv span.gfield_required {
  display: none;
}
.form_contatti div#field_2_6 {
  width: 20%;
}

.form_contatti fieldset#field_2_7,
.form_contatti fieldset#field_2_11 {
  width: 37%;
}

.form_contatti div#gform_fields_2 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.form_contatti fieldset#field_2_1 {
  width: 100%;
}

.form_contatti div#field_2_3 {
  width: 30%;
}

.form_contatti div#field_2_4 {
  width: 30%;
}

.form_contatti div#field_2_10 {
  width: 30%;
}
.form_contatti span.gfield_required,
.contatti_cv span.gfield_required {
  display: none !important;
}

.form_contatti .gfield--type-choice legend,
.contatti_cv .gfield--type-choice legend {
  display: none !important;
}

.form_contatti .gform_button,
.contatti_cv .gform_button {
  background: #a81318 !important;
  --gf-local-bg-color: #a81318 !important;
  --gf-local-border-color: #a81318 !important;
  --gf-local-shadow: #a81318 !important;
  --gf-local-outline-color: #a81318 !important;
  font-family: "Open Sans" !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 22px !important;
  text-transform: uppercase !important;
}
.contatti_cv div#gform_fields_2 {
  row-gap: 18px;
}
/* ! FILTRI CANDIDATURE */
.taxonomy-filter-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.filtri_candidature .wpc-filter-title {
  display: none !important;
}
.taxonomy-dropdown {
  padding: 5px;
  font-size: 14px;
  width: 200px;
}

.taxonomy-filter-button {
  padding: 5px 15px;
  font-size: 14px;
  cursor: pointer;
  background-color: #0073e6;
  color: white;
  border: none;
  border-radius: 3px;
  transition: background-color 0.3s;
}

.taxonomy-filter-button:hover {
  background-color: #005bb5;
}

.filtri_posizioni .wpc-filters-widget-wrapper {
  display: flex;
  column-gap: 30px;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.filtri_posizioni
  .wpc-filters-section.wpc-filters-section-3879.wpc-filter-area.wpc-filter-taxonomy.wpc-filter-layout-dropdown.wpc-counter-length-1.wpc-filter-has-selected.wpc-filter-terms-count-0.wpc-filter-visible-term-names {
  order: 0;
}

.filtri_posizioni
  .wpc-filters-section.wpc-filters-section-3881.wpc-filter-paese.wpc-filter-taxonomy.wpc-filter-layout-dropdown.wpc-counter-length-1.wpc-filter-terms-count-0.wpc-filter-visible-term-names {
  order: 1;
  width: 20%;
  min-width: 200px;
}

.filtri_posizioni .wpc-instead-of-posts-found {
  order: 2;
}
.filtri_posizioni
  .select2-container
  .select2-selection--single
  .select2-selection__arrow
  b {
  background: none !important;
}
#candidature .page-numbers {
  background: #2f383c;
  padding: 7px 13px;
  color: #fff;
  font-family: "Open Sans";
}

.filtri_posizioni
  .wpc-filters-section.wpc-filters-section-3879.wpc-filter-area.wpc-filter-taxonomy.wpc-filter-layout-dropdown.wpc-counter-length-1.wpc-filter-terms-count-0.wpc-filter-visible-term-names {
  width: 20%;
}

.filtri_posizioni
  span.select2.select2-container.select2-container--default.select2-container--below {
  width: max-content !important;
  min-width: 100% !important;
}

.filtri_posizioni span.selection {
  width: 100% !important;
}

.filtri_posizioni span.select2-selection.select2-selection--single {
  width: 100%;
}

.filtri_posizioni select#wpc-taxonomy-area-3879 {
  width: 100%;
}

.filtri_posizioni span#select2-wpc-taxonomy-area-3879-container {
  width: 100% !important;
}

.filtri_posizioni span.select2.select2-container.select2-container--default {
  width: max-content !important;
  min-width: 100% !important;
}

.filtri_posizioni span.selection {
  width: max-content !important;
  min-width: 100% !important;
}

.filtri_posizioni span.select2-selection.select2-selection--single {
  width: max-content !important;
  min-width: 100% !important;
}

.filtri_posizioni span#select2-wpc-taxonomy-paese-3881-container {
  width: max-content !important;
  min-width: 100% !important;
}

.filtri_posizioni select#wpc-taxonomy-paese-3881 {
  width: max-content !important;
  min-width: 100% !important;
}

.filtri_posizioni .wpc-filter-content.wpc-filter-paese {
  width: max-content !important;
  min-width: 100% !important;
}
@media screen and (max-width: 991px) {
  .form_contatti div#gform_fields_2 {
    flex-direction: column;
  }
}

/* ! ACCESSORI COMPATIBILI */
.accessorio-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border: 1px solid lightgray;
  padding: 16px;
  gap: 32px;
  border-radius: 4px;
}

.accessorio-item h4 {
  font-family: "Open Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 110%; /* 26.4px */
  text-align: left;
  width: 100%;
  padding-bottom: 0;
  margin-bottom: 0;
}
.content_btn {
  display: flex;
  gap: 20px;
  width: 100% !important;
}

.content_btn a.btn-dettagli {
  border-radius: 4px;
  padding: 12px 16px;
  background: #e8eced;
  font-family: "Open Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  color: #000000;
  text-transform: uppercase;
  width: 100% !important;
  text-align: center !important;
}

.content_btn a.btn-preventivo {
  border-radius: 4px;
  padding: 12px 16px;
  background: #ae171a;
  font-family: "Open Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  color: #e8eced;
  text-transform: uppercase;
  width: 100% !important;
  text-align: center !important;
}
.accessorio-image {
  border-radius: 4px;
  background: #e8eced;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
}

.accessorio-image img {
  height: 300px !important;
  width: 100%;
  object-fit: contain;
}
.accessorio-item .content_info_prod {
  width: 100%;
  display: flex;
  gap: 4px;
  flex-direction: column;
}
.accessorio-item .content_info_prod p.product-category {
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  color: #333333;
}

.newsletter_form
  label.gform-field-label.gform-field-label--type-inline.gfield_consent_label {
  font-family: "Open Sans";
  color: #fff;
  font-size: 12px;
  font-weight: 400;
}

.prodotti-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  justify-items: left;
  margin: 0 auto;
  width: 100%;
  padding: 20px 0;
}
.acf-card {
  width: 100%;
}
@media (max-width: 1024px) {
  .prodotti-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .prodotti-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalogo-card-img {
    border: 1px solid;
    border-radius: 4px;
    padding: 10px;
    width: 40%;
  }
  .catalogo-card-info {
    width: 60%;
  }
  .catalogo-card {
    border-radius: 0;
  }
}
@media (max-width: 600px) {
  .prodotti-cards {
    grid-template-columns: 1fr;
  }
  .catalogo-card {
    max-width: none !important;
  }
  .catalogo-card {
    border-radius: 0 !important;
    box-shadow: none !important;
    border-left: 0 !important;
    border-right: 0 !important;
    padding-block: 20px !important;
  }
  .catalogo-card-info h3 {
    font-size: 22px !important;
  }
  .download-btn {
    font-size: 0 !important;
    width: fit-content !important;
    background: #2f383c !important;
  }
  .download-btn img {
    filter: invert(1);
  }
}

.catalogo-card {
  background-color: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  height: auto;
  border: 1px solid;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 15px;
  gap: 10px;
}

.catalogo-card-img {
  height: 100%;
}
.catalogo-card-img img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.catalogo-card-info {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.catalogo-card-info h3 {
  color: #2f383c;
  font-family: "Open Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 22px;
  text-align: right;
  word-wrap: break-word !important;
}

.download-btn {
  display: flex;
  background-color: #e8eced;
  color: #2f383c;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 400;
  text-transform: uppercase;
  flex-direction: row;
  justify-content: space-evenly;
  gap: 3px;
  font-size: 14px;
}
.download-btn img {
  filter: invert(1);
}
.download-btn:hover {
  background-color: #2f383c;
  color: #e8eced;
}
.download-btn:hover img {
  filter: brightness(6.5);
}

/* ! ARCHIVIO NEWS */
.categoria-con-colore {
  border-radius: 4px;
  text-align: center;
  font-family: "Open Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 12px;
  color: #fff;
  text-transform: uppercase;
}

/* ! SINGOLA NEWS */
@media (max-width: 768px) {
  .article_gallery_mobile .elementor-image-carousel img {
    height: 428px;
    object-fit: cover;
  }
  .article_gallery_mobile span.swiper-pagination-bullet {
    width: 19px;
    height: 4px;
    border-radius: 4px;
    display: inline-block;
  }

  .article_gallery_mobile
    .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    white-space: nowrap;
    display: block;
  }
}

/* ! MENU MOBILE WALKER */
/* Contenitore principale del menu */
.mobile-menu-container {
  position: relative;
  width: 100%;
  max-width: 100vw;
  height: 80vh;
  background-color: #fff;
  overflow: hidden;
  z-index: 9999;
}
.spaced-menu {
  padding-top: 40px;
}
/* Wrapper dei livelli di menu */
.mobile-menu-panels {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Ogni livello (ul) */
.mobile-menu-panels ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  visibility: hidden;
  overflow-y: auto;
  transition: left 0.3s ease, opacity 0.3s ease, visibility 0s ease 0.3s; /* Ritardo per la visibilità */
}

/* Pannello attivo */
.mobile-menu-panels ul.active {
  left: 0;
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transition: left 0.3s ease, opacity 0.3s ease; /* Anima quando diventa visibile */
}

/* Voce menu */
.list-item-menu {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 11px 18px;
  margin-inline: 20px;
  text-transform: uppercase;
  font-size: 14px;
}

.list-item-menu a {
  flex-grow: 1;
  text-decoration: none;
  color: #333;
  font-size: 16px;
}
.mobile-menu-panels ul li ul li ul.active li:not(.all-products-menu) a {
  font-weight: 700;
}
.mobile-menu .menu-item {
  width: fit-content;
}
.all-products-menu {
  background: #2f383c;
  color: #fff !important;
  border-radius: 4px;
}

.all-products-menu * {
  color: #fff !important;
  border: none;
  text-transform: uppercase;
}
/* Pulsante submenu (freccia destra) */
.submenu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 0.5rem;
  padding: 0;
}

/* Voce Indietro */
.menu-item-back {
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
  background: #f7f7f7;
}

.menu-item-back .go-back {
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  color: #333;
  text-transform: uppercase;
}

/* Voce attiva */
.menu-item.active > .list-item-menu > a {
  font-weight: bold;
  background: #f0f0f0;
}

/* ! CONCESSIONARI */
#wpsl-wrap #wpsl-result-list ul li {
  background: #e8eced;
  margin-bottom: 10px;
  border-radius: 4px;
  padding: 30px 20px;
}
#wpsl-result-list li p {
  display: flex;
  flex-direction: column;
  padding: 0;
}
#wpsl-search-wrap form {
  display: flex;
  flex-direction: row;
  gap: 38px;
}

#wpsl-search-wrap div,
#wpsl-search-btn {
  margin-right: 0;
}
.wpsl-select-wrap {
  display: none !important;
}
#wpsl-stores .wpsl-store-thumb {
  display: none;
}

.wpsl-direction-wrap {
  display: none;
}
.wpsl-store-location a {
  font-family: "Open Sans";
  color: #2f383c;
  font-size: 18px;
  font-weight: 600;
}
.gm-style-iw.gm-style-iw-c * {
  font-family: "Open Sans";
}
.gm-style-iw.gm-style-iw-c a {
  color: #ae1719;
  font-weight: 500;
}
.gm-style-iw.gm-style-iw-c a:first-child {
  text-transform: uppercase;
}

/* ! RICERCA */

.custom-search-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  font-family: "Open Sans";
}

.search-item {
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.search-item:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.search-thumb img {
  width: 100%;
  height: 100px !important;
  display: block;
  margin-bottom: 15px;
  object-fit: contain;
}

.search-title {
  font-size: 20px;
  margin: 10px 0 10px;
  text-align: center;
}

.search-excerpt {
  flex-grow: 1;
  font-size: 14px;
  margin-bottom: 15px;
  color: #555;
}

.search-button {
  text-align: center;
}

.search-button a.button {
  display: inline-block;
  background-color: #a81318;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
}

.search-pagination {
  margin-top: 40px;
  text-align: center;
  font-family: "Open Sans";
}

.search-pagination .page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 0;
  border: none;
  color: #333;
  text-decoration: none;
}

.search-pagination .current {
  background-color: transparent;
  color: #a81318;
  border-color: transparent;
  padding: 0;
  font-weight: 600;
}


/* LIVE SEARCH */
.preview_content_search{
   display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

}
.e-search-results-list {
    max-height: 500px;
    overflow-y: auto;
}


.wpsl-user-location {
    display: none !important;
}


.wpsl-map.wpsl-initial-marker {
    border: 2px dashed red;
}





#yith-woocompare-preview-bar .compare-row_heading {
    display: flex;
}
#yith-woocompare-preview-bar  .content_prod_preview .content_prod-item{
  margin-bottom: 2px;
}
