/* FONT */.gagalin,.gagalin-regular,.cards-prodotti-principali,.my-special-kit {font-family: 'bebas-neue', sans-serif !important;}

/* =====================================================PRODOTTI SINGOLI - stile "LA NOSTRA LINEA"===================================================== */

.cards-prodotti-principali {background: transparent !important;padding: 30px 0 !important;}

.cards-prodotti-principali ul.products {display: grid !important;grid-template-columns: repeat(6, 1fr) !important;gap: 16px !important;margin: 0 !important;padding: 0 !important;}

.cards-prodotti-principali ul.products::before,.cards-prodotti-principali ul.products::after {display: none !important;}

.cards-prodotti-principali ul.products li.product {width: auto !important;float: none !important;clear: none !important;margin: 0 !important;padding: 18px 14px 20px !important;list-style: none !important;

background: linear-gradient(180deg, #151818 0%, #0f1111 100%) !important;border: 1px solid rgba(255,255,255,0.16) !important;border-radius: 8px !important;text-align: center !important;overflow: hidden !important;

transition: all 0.25s ease;}

.cards-prodotti-principali ul.products li.product:hover {transform: translateY(-4px);border-color: #C5191F !important;box-shadow: 0 0 22px rgba(197,25,31,0.25);}

/* Immagine prodotto */.cards-prodotti-principali ul.products li.product img {width: 100% !important;height: 260px !important;object-fit: contain !important;margin: 0 auto 18px !important;padding: 0 !important;background: transparent !important;border-radius: 0 !important;box-shadow: none !important;}

/* Titolo prodotto */.cards-prodotti-principali .woocommerce-loop-product__title {font-family: 'bebas-neue', sans-serif !important;color: #F5F5F5 !important;font-size: 28px !important;line-height: 1.05 !important;letter-spacing: 0.5px !important;text-transform: uppercase !important;margin: 12px 0 8px !important;padding: 0 !important;}

/* Prezzo */.cards-prodotti-principali .price {font-family: 'bebas-neue', sans-serif !important;color: #C5191F !important;font-size: 23px !important;margin: 14px 0 20px !important;display: block !important;}

.cards-prodotti-principali .price .woocommerce-Price-currencySymbol {font-size: 18px !important;}

/* Bottone */.cards-prodotti-principali a.button,.cards-prodotti-principali .button,.cards-prodotti-principali .add_to_cart_button {background: #C5191F !important;color: #ffffff !important;border: 1px solid #C5191F !important;border-radius: 4px !important;font-family: 'bebas-neue', sans-serif !important;font-size: 17px !important;line-height: 1 !important;letter-spacing: 0.4px !important;text-transform: uppercase !important;padding: 13px 12px !important;min-width: 145px !important;display: inline-block !important;margin-top: 6px !important;transition: all 0.25s ease;}

.cards-prodotti-principali a.button:hover,.cards-prodotti-principali .button:hover,.cards-prodotti-principali .add_to_cart_button:hover {background: #ffffff !important;color: #C5191F !important;border-color: #ffffff !important;}

/* Rimuove badge e dettagli non desiderati */.cards-prodotti-principali .onsale,.cards-prodotti-principali .star-rating {display: none !important;}

/* =====================================================KIT - stile card grandi come allegato 4===================================================== */

.my-special-kit {background: transparent !important;padding: 35px 0 !important;}

.my-special-kit ul.products {display: grid !important;grid-template-columns: repeat(2, minmax(0, 1fr)) !important;gap: 48px !important;max-width: 1180px !important;margin: 0 auto !important;padding: 0 !important;}

.my-special-kit ul.products::before,.my-special-kit ul.products::after {display: none !important;}

.my-special-kit ul.products li.product {width: auto !important;float: none !important;clear: none !important;margin: 0 !important;padding: 30px !important;list-style: none !important;

background: #17120d !important;border: 1px solid rgba(197,25,31,0.45) !important;border-radius: 14px !important;text-align: left !important;overflow: hidden !important;

transition: all 0.25s ease;}

.my-special-kit ul.products li.product:hover {transform: translateY(-4px);border-color: #C5191F !important;box-shadow: 0 0 26px rgba(197,25,31,0.25);}

/* Immagine kit */.my-special-kit ul.products li.product img {width: 100% !important;height: 360px !important;object-fit: contain !important;background: #ffffff !important;border-radius: 10px !important;padding: 20px !important;margin: 0 0 28px !important;box-shadow: none !important;}

/* Titolo kit */.my-special-kit .woocommerce-loop-product__title {font-family: 'bebas-neue', sans-serif !important;color: #F5F5F5 !important;font-size: 30px !important;line-height: 1.05 !important;letter-spacing: 0.4px !important;text-transform: uppercase !important;margin: 0 0 30px !important;padding: 0 !important;}

/* Prezzo kit */.my-special-kit .price {font-family: 'bebas-neue', sans-serif !important;color: #C5191F !important;font-size: 25px !important;margin: 0 0 34px !important;display: block !important;}

.my-special-kit .price .woocommerce-Price-currencySymbol {font-size: 19px !important;}

/* Bottone kit */.my-special-kit a.button,.my-special-kit .button,.my-special-kit .add_to_cart_button {background: transparent !important;border: 2px solid #C5191F !important;color: #C5191F !important;border-radius: 7px !important;font-family: 'bebas-neue', sans-serif !important;font-size: 18px !important;line-height: 1 !important;letter-spacing: 0.4px !important;text-transform: uppercase !important;padding: 16px 24px !important;width: 100% !important;display: block !important;text-align: left !important;transition: all 0.25s ease;}

.my-special-kit a.button:hover,.my-special-kit .button:hover,.my-special-kit .add_to_cart_button:hover {background: #C5191F !important;color: #ffffff !important;}

.my-special-kit .onsale,.my-special-kit .star-rating {display: none !important;}

/* =====================================================RESPONSIVE===================================================== */

@media (max-width: 1200px) {.cards-prodotti-principali ul.products {grid-template-columns: repeat(3, 1fr) !important;}

.cards-prodotti-principali ul.products li.product img {height: 230px !important;}}

@media (max-width: 768px) {.cards-prodotti-principali ul.products {grid-template-columns: repeat(2, 1fr) !important;gap: 14px !important;}

.cards-prodotti-principali ul.products li.product img {height: 190px !important;}

.cards-prodotti-principali .woocommerce-loop-product__title {font-size: 24px !important;}

.my-special-kit ul.products {grid-template-columns: 1fr !important;gap: 28px !important;}

.my-special-kit ul.products li.product img {height: 300px !important;}

.my-special-kit .woocommerce-loop-product__title {font-size: 26px !important;}}

@media (max-width: 480px) {.cards-prodotti-principali ul.products {grid-template-columns: 1fr !important;}

.cards-prodotti-principali ul.products li.product img {height: 240px !important;}

.my-special-kit ul.products li.product {padding: 22px !important;}

.my-special-kit ul.products li.product img {height: 250px !important;}}

/* Aumenta lo spazio immagine nelle card prodotti singoli */.cards-prodotti-principali ul.products li.product img {height: 360px !important;max-height: 360px !important;width: 100% !important;object-fit: contain !important;object-position: center center !important;margin-bottom: 20px !important;}

/* Aumenta leggermente l'altezza complessiva della card */.cards-prodotti-principali ul.products li.product {min-height: 560px !important;display: flex !important;flex-direction: column !important;justify-content: flex-start !important;}

/* Tiene prezzo e bottone ordinati sotto */.cards-prodotti-principali ul.products li.product .woocommerce-loop-product__title {margin-top: 10px !important;}

.cards-prodotti-principali ul.products li.product .price {margin-top: 14px !important;}

.cards-prodotti-principali ul.products li.product .button {margin-top: auto !important;}/* =====================================================
   CORREZIONE KIT - stile più simile all'allegato 4
   ===================================================== */

.my-special-kit ul.products {
  max-width: 820px !important;
  gap: 24px !important;
}

.my-special-kit ul.products li.product {
  background: rgba(15, 17, 17, 0.92) !important;
  border: 1px solid #C5191F !important;
  border-radius: 4px !important;
  padding: 16px 18px 18px !important;
  text-align: center !important;
}

/* Immagine kit senza box bianco */
.my-special-kit ul.products li.product img {
  height: 190px !important;
  max-height: 190px !important;
  width: 100% !important;
  object-fit: contain !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 auto 16px !important;
}

/* Titolo kit */
.my-special-kit .woocommerce-loop-product__title {
  font-size: 22px !important;
  text-align: left !important;
  margin: 0 0 22px !important;
}

/* Prezzo kit */
.my-special-kit .price {
  font-size: 18px !important;
  text-align: left !important;
  color: #C5191F !important;
  margin: 0 0 24px !important;
}

/* Bottone kit */
.my-special-kit a.button,
.my-special-kit .button,
.my-special-kit .add_to_cart_button {
  font-size: 15px !important;
  padding: 13px 20px !important;
  text-align: left !important;
  border-radius: 4px !important;
}


/* =====================================================
   SOLUZIONE COMPLETA - card orizzontale grande
   Classe wrapper: my-special-kit-soluzione-completa
   ===================================================== */

.my-special-kit-soluzione-completa {
  background: transparent !important;
  padding: 30px 0 60px !important;
}

/* Griglia WooCommerce */
.my-special-kit-soluzione-completa ul.products {
  display: block !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.my-special-kit-soluzione-completa ul.products::before,
.my-special-kit-soluzione-completa ul.products::after {
  display: none !important;
}

/* Card principale */
.my-special-kit-soluzione-completa ul.products li.product {
  width: 100% !important;
  float: none !important;
  clear: both !important;
  margin: 0 auto !important;
  padding: 34px 38px !important;
  list-style: none !important;

  display: grid !important;
  grid-template-columns: 58% 42% !important;
  column-gap: 42px !important;
  align-items: center !important;

  background: rgba(15, 17, 17, 0.92) !important;
  border: 1px solid #C5191F !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  text-align: left !important;
}

/* Immagine grande a sinistra */
.my-special-kit-soluzione-completa ul.products li.product img {
  grid-column: 1 !important;
  grid-row: 1 / span 5 !important;

  width: 100% !important;
  height: 360px !important;
  max-height: 360px !important;
  object-fit: contain !important;
  object-position: center center !important;

  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Titolo a destra */
.my-special-kit-soluzione-completa .woocommerce-loop-product__title {
  grid-column: 2 !important;

  font-family: 'bebas-neue', sans-serif !important;
  color: #F5F5F5 !important;
  font-size: 38px !important;
  line-height: 1.05 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  text-align: left !important;
}

/* Riga rossa sotto il titolo */
.my-special-kit-soluzione-completa .woocommerce-loop-product__title::after {
  content: "";
  display: block;
  width: 55px;
  height: 3px;
  background: #C5191F;
  margin-top: 18px;
}

/* Testo descrittivo inserito via CSS */
.my-special-kit-soluzione-completa ul.products li.product::after {
  content: "Cura la tua stufa in inverno e proteggila durante l\002019estate con il kit completo della linea salva stufa, pi\0000F9\000020protezione pi\0000F9\000020praticit\0000E0\000020e pi\0000F9\000020convenienza.";
  grid-column: 2 !important;

  font-family: Arial, sans-serif !important;
  color: #D8D8D8 !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
  margin: 0 0 24px !important;
  display: block !important;
}

/* Prezzo soluzione completa */
.my-special-kit-soluzione-completa .price {
  grid-column: 2 !important;

  font-family: 'bebas-neue', sans-serif !important;
  color: #C5191F !important;
  font-size: 22px !important;
  margin: 0 0 24px !important;
  display: block !important;
}

/* Bottone soluzione completa */
.my-special-kit-soluzione-completa a.button,
.my-special-kit-soluzione-completa .button,
.my-special-kit-soluzione-completa .add_to_cart_button {
  grid-column: 2 !important;

  background: #C5191F !important;
  color: #ffffff !important;
  border: 1px solid #C5191F !important;
  border-radius: 3px !important;
  font-family: 'bebas-neue', sans-serif !important;
  font-size: 18px !important;
  line-height: 1 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
  padding: 15px 24px !important;
  width: auto !important;
  min-width: 220px !important;
  display: inline-block !important;
  text-align: center !important;
  margin-top: 6px !important;
}

.my-special-kit-soluzione-completa a.button:hover,
.my-special-kit-soluzione-completa .button:hover,
.my-special-kit-soluzione-completa .add_to_cart_button:hover {
  background: #ffffff !important;
  color: #C5191F !important;
  border-color: #ffffff !important;
}

/* Nasconde elementi WooCommerce non utili */
.my-special-kit-soluzione-completa .onsale,
.my-special-kit-soluzione-completa .star-rating {
  display: none !important;
}


/* =====================================================
   RESPONSIVE KIT + SOLUZIONE COMPLETA
   ===================================================== */

@media (max-width: 900px) {
  .my-special-kit ul.products {
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
  }

  .my-special-kit-soluzione-completa ul.products li.product {
    grid-template-columns: 1fr !important;
    padding: 26px !important;
    text-align: center !important;
  }

  .my-special-kit-soluzione-completa ul.products li.product img {
    grid-column: 1 !important;
    height: 300px !important;
    margin-bottom: 28px !important;
  }

  .my-special-kit-soluzione-completa .woocommerce-loop-product__title,
  .my-special-kit-soluzione-completa .price,
  .my-special-kit-soluzione-completa a.button,
  .my-special-kit-soluzione-completa .button,
  .my-special-kit-soluzione-completa .add_to_cart_button,
  .my-special-kit-soluzione-completa ul.products li.product::after {
    grid-column: 1 !important;
    text-align: center !important;
  }

  .my-special-kit-soluzione-completa .woocommerce-loop-product__title::after {
    margin-left: auto;
    margin-right: auto;
  }
}
/* =====================================================
   SOLUZIONE COMPLETA - layout corretto orizzontale
   ===================================================== */

.my-special-kit-soluzione-completa {
  padding: 50px 0 70px !important;
}

.my-special-kit-soluzione-completa ul.products {
  display: block !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.my-special-kit-soluzione-completa ul.products::before,
.my-special-kit-soluzione-completa ul.products::after {
  display: none !important;
  content: none !important;
}

.my-special-kit-soluzione-completa ul.products li.product {
  width: 100% !important;
  float: none !important;
  margin: 0 auto !important;
  padding: 34px 40px !important;

  display: grid !important;
  grid-template-columns: 55% 45% !important;
  grid-template-rows: auto auto auto auto !important;
  column-gap: 45px !important;
  align-items: center !important;

  background: rgba(8, 12, 13, 0.92) !important;
  border: 1px solid #C5191F !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
}

/* Sblocca gli elementi interni del link WooCommerce */
.my-special-kit-soluzione-completa ul.products li.product a.woocommerce-LoopProduct-link {
  display: contents !important;
}

/* Immagine a sinistra */
.my-special-kit-soluzione-completa ul.products li.product img {
  grid-column: 1 !important;
  grid-row: 1 / span 4 !important;

  width: 100% !important;
  max-width: 560px !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Titolo a destra */
.my-special-kit-soluzione-completa .woocommerce-loop-product__title {
  grid-column: 2 !important;
  grid-row: 1 !important;

  font-family: 'bebas-neue', sans-serif !important;
  color: #ffffff !important;
  font-size: 42px !important;
  line-height: 1.05 !important;
  text-transform: uppercase !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  text-align: left !important;
}

/* Linea rossa sotto il titolo */
.my-special-kit-soluzione-completa .woocommerce-loop-product__title::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  background: #C5191F;
  margin-top: 18px;
}

/* Prezzo: se vuoi mostrarlo */
.my-special-kit-soluzione-completa .price {
  grid-column: 2 !important;
  grid-row: 2 !important;

  font-family: 'bebas-neue', sans-serif !important;
  color: #C5191F !important;
  font-size: 24px !important;
  margin: 0 0 22px !important;
  display: block !important;
  text-align: left !important;
}

/* Testo descrittivo corretto, senza entità HTML */
.my-special-kit-soluzione-completa ul.products li.product::after {
  content: "Cura la tua stufa in inverno e proteggila durante l\002019estate con il kit completo della linea salva stufa, pi\0000F9\000020protezione pi\0000F9\000020praticit\0000E0\000020e pi\0000F9\000020convenienza.";
  grid-column: 2 !important;
  grid-row: 3 !important;

  font-family: Arial, sans-serif !important;
  color: #D8D8D8 !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
  margin: 0 0 28px !important;
  display: block !important;
}

/* Bottone a destra */
.my-special-kit-soluzione-completa a.button,
.my-special-kit-soluzione-completa .button,
.my-special-kit-soluzione-completa .add_to_cart_button {
  grid-column: 2 !important;
  grid-row: 4 !important;

  background: #C5191F !important;
  color: #ffffff !important;
  border: 1px solid #C5191F !important;
  border-radius: 3px !important;
  font-family: 'bebas-neue', sans-serif !important;
  font-size: 20px !important;
  text-transform: uppercase !important;
  padding: 16px 28px !important;
  width: auto !important;
  min-width: 230px !important;
  max-width: 300px !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  margin: 0 !important;
}

.my-special-kit-soluzione-completa a.button:hover,
.my-special-kit-soluzione-completa .button:hover,
.my-special-kit-soluzione-completa .add_to_cart_button:hover {
  background: #ffffff !important;
  color: #C5191F !important;
  border-color: #ffffff !important;
}

/* Nasconde elementi inutili */
.my-special-kit-soluzione-completa .onsale,
.my-special-kit-soluzione-completa .star-rating {
  display: none !important;
}

/* Responsive */
@media (max-width: 900px) {
  .my-special-kit-soluzione-completa ul.products li.product {
    grid-template-columns: 1fr !important;
    padding: 28px !important;
    text-align: center !important;
  }

  .my-special-kit-soluzione-completa ul.products li.product img,
  .my-special-kit-soluzione-completa .woocommerce-loop-product__title,
  .my-special-kit-soluzione-completa .price,
  .my-special-kit-soluzione-completa ul.products li.product::after,
  .my-special-kit-soluzione-completa a.button,
  .my-special-kit-soluzione-completa .button,
  .my-special-kit-soluzione-completa .add_to_cart_button {
    grid-column: 1 !important;
    grid-row: auto !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .my-special-kit-soluzione-completa .woocommerce-loop-product__title::after {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* =====================================================
   RECENSIONI - Customer Reviews Slider
   Sezione: salvastufa-recensioni
   ===================================================== */

.salvastufa-recensioni {
  padding: 40px 0 70px !important;
  background: transparent !important;
}

/* Contenitore generale slider */
.salvastufa-recensioni .cr-reviews-slider,
.salvastufa-recensioni .cr-reviews-slider-inner,
.salvastufa-recensioni .cr-reviews-slider-list,
.salvastufa-recensioni .slick-list {
  background: transparent !important;
  border: none !important;
}

/* Rimuove bordo bianco esterno attuale */
.salvastufa-recensioni .cr-reviews-slider {
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Spaziatura tra card */
.salvastufa-recensioni .slick-slide {
  padding: 0 14px !important;
  box-sizing: border-box !important;
}

/* Card recensione */
.salvastufa-recensioni .cr-review-card,
.salvastufa-recensioni .cr-review-card-inner,
.salvastufa-recensioni .cr-review,
.salvastufa-recensioni .review {
  background: rgba(8, 12, 13, 0.94) !important;
  border: 1px solid rgba(197, 25, 31, 0.75) !important;
  border-radius: 8px !important;
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.45) !important;
  color: #F5F5F5 !important;
  overflow: hidden !important;
}

/* Padding interno card */
.salvastufa-recensioni .cr-review-card-inner,
.salvastufa-recensioni .cr-review-card {
  padding: 24px !important;
}

/* Nome recensore */
.salvastufa-recensioni .cr-review-card .cr-review-card-name,
.salvastufa-recensioni .cr-review-card .cr-review-card-author,
.salvastufa-recensioni .cr-review-card .reviewer,
.salvastufa-recensioni .cr-review-card .author {
  font-family: 'bebas-neue', sans-serif !important;
  color: #F5F5F5 !important;
  font-size: 24px !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* Avatar iniziali */
.salvastufa-recensioni .cr-avatar,
.salvastufa-recensioni .cr-review-card-avatar,
.salvastufa-recensioni .ivole-review-card-avatar {
  background: #1A1A1A !important;
  color: #F5F5F5 !important;
  border: 1px solid rgba(197, 25, 31, 0.7) !important;
}

/* Testo proprietario verificato */
.salvastufa-recensioni .cr-review-card .cr-review-card-verified,
.salvastufa-recensioni .cr-review-card .verified,
.salvastufa-recensioni .cr-verified-owner {
  font-family: 'bebas-neue', sans-serif !important;
  color: #C5191F !important;
  font-size: 14px !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
}

/* Stelle */
.salvastufa-recensioni .crstar-rating,
.salvastufa-recensioni .star-rating,
.salvastufa-recensioni .cr-review-card-rating {
  color: #C5191F !important;
}

/* Voto 5/5 */
.salvastufa-recensioni .cr-review-card-rating-text,
.salvastufa-recensioni .rating-label {
  color: #D8D8D8 !important;
  font-family: 'bebas-neue', sans-serif !important;
  font-size: 22px !important;
}

/* Titolo/commento recensione */
.salvastufa-recensioni .cr-review-card .cr-review-card-title,
.salvastufa-recensioni .cr-review-card .cr-review-card-text,
.salvastufa-recensioni .cr-review-card .review-text,
.salvastufa-recensioni .cr-review-card .description {
  color: #D8D8D8 !important;
  font-family: Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

/* Box centrale del testo recensione */
.salvastufa-recensioni .cr-review-card .cr-review-card-content {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 6px !important;
  color: #D8D8D8 !important;
}

/* Data */
.salvastufa-recensioni .cr-review-card .cr-review-card-date,
.salvastufa-recensioni .cr-review-card .review-date,
.salvastufa-recensioni .cr-review-card time {
  color: #A8A8A8 !important;
  font-size: 14px !important;
}

/* Sezione prodotto recensito */
.salvastufa-recensioni .cr-review-card-product,
.salvastufa-recensioni .cr-product {
  background: rgba(255, 255, 255, 0.04) !important;
  border-top: 1px solid rgba(197, 25, 31, 0.35) !important;
  padding: 12px !important;
}

/* Nome prodotto */
.salvastufa-recensioni .cr-review-card-product a,
.salvastufa-recensioni .cr-product a {
  font-family: 'bebas-neue', sans-serif !important;
  color: #C5191F !important;
  font-size: 17px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

.salvastufa-recensioni .cr-review-card-product a:hover,
.salvastufa-recensioni .cr-product a:hover {
  color: #F5F5F5 !important;
}

/* Immagine prodotto nelle recensioni */
.salvastufa-recensioni .cr-review-card-product img,
.salvastufa-recensioni .cr-product img {
  border-radius: 4px !important;
  background: #111 !important;
}

/* Frecce slider */
.salvastufa-recensioni .slick-prev,
.salvastufa-recensioni .slick-next,
.salvastufa-recensioni .cr-slider-arrow {
  background: rgba(197, 25, 31, 0.9) !important;
  border-radius: 50% !important;
  width: 34px !important;
  height: 34px !important;
  z-index: 5 !important;
}

.salvastufa-recensioni .slick-prev:hover,
.salvastufa-recensioni .slick-next:hover,
.salvastufa-recensioni .cr-slider-arrow:hover {
  background: #ffffff !important;
}

/* Pallini slider */
.salvastufa-recensioni .slick-dots li button:before {
  color: #C5191F !important;
  opacity: 0.45 !important;
}

.salvastufa-recensioni .slick-dots li.slick-active button:before {
  color: #C5191F !important;
  opacity: 1 !important;
}

/* Mobile */
@media (max-width: 768px) {
  .salvastufa-recensioni .slick-slide {
    padding: 0 8px !important;
  }

  .salvastufa-recensioni .cr-review-card,
  .salvastufa-recensioni .cr-review-card-inner {
    padding: 18px !important;
  }
}
/* =====================================================
   RECENSIONI - correzione testi e box trasparenti
   ===================================================== */

/* Nome recensore in bianco */
.salvastufa-recensioni .cr-review-card-name,
.salvastufa-recensioni .cr-review-card-author,
.salvastufa-recensioni .reviewer,
.salvastufa-recensioni .author,
.salvastufa-recensioni .cr-review-card .cr-review-card-name,
.salvastufa-recensioni .cr-review-card .cr-review-card-author {
  color: #ffffff !important;
}

/* Testo recensione: PERFETTO, APPROVATO, ecc. */
.salvastufa-recensioni .cr-review-card-content,
.salvastufa-recensioni .cr-review-card-text,
.salvastufa-recensioni .cr-review-card-title,
.salvastufa-recensioni .cr-review-card .description,
.salvastufa-recensioni .cr-review-card .review-text {
  background: transparent !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}

/* Forza anche i div interni del box commento */
.salvastufa-recensioni .cr-review-card-content *,
.salvastufa-recensioni .cr-review-card-text *,
.salvastufa-recensioni .cr-review-card-title *,
.salvastufa-recensioni .description *,
.salvastufa-recensioni .review-text * {
  /*color: #ffffff !important;*/
}

/* Data: 8 mesi fa, 9 mesi fa */
.salvastufa-recensioni .cr-review-card-date,
.salvastufa-recensioni .review-date,
.salvastufa-recensioni .cr-review-card time,
.salvastufa-recensioni time {
  color: #ffffff !important;
}

/* Box prodotto recensito trasparente */
.salvastufa-recensioni .cr-review-card-product,
.salvastufa-recensioni .cr-product,
.salvastufa-recensioni .cr-review-product {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Nome prodotto: rosso brand, non blu */
.salvastufa-recensioni .cr-review-card-product a,
.salvastufa-recensioni .cr-product a,
.salvastufa-recensioni .cr-review-product a,
.salvastufa-recensioni a[href*="/prodotto/"] {
  color: #C5191F !important;
  font-family: 'bebas-neue', sans-serif !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

/* Hover nome prodotto */
.salvastufa-recensioni .cr-review-card-product a:hover,
.salvastufa-recensioni .cr-product a:hover,
.salvastufa-recensioni .cr-review-product a:hover,
.salvastufa-recensioni a[href*="/prodotto/"]:hover {
  
}

/* Rimuove eventuali fondi bianchi forzati dal plugin */
.salvastufa-recensioni div[style*="background"],
.salvastufa-recensioni p[style*="background"],
.salvastufa-recensioni span[style*="background"] {
  background: transparent !important;
}

/* Riquadro prodotto: immagine + nome */
.salvastufa-recensioni .cr-review-card-product,
.salvastufa-recensioni .cr-product {
  padding: 12px 0 0 !important;
}

/* Immagine prodotto più coerente */
.salvastufa-recensioni .cr-review-card-product img,
.salvastufa-recensioni .cr-product img,
.salvastufa-recensioni .cr-review-product img {
  background: transparent !important;
  border-radius: 4px !important;
}
.salvastufa-recensioni .cr-review-card-content,
.salvastufa-recensioni .cr-review-card-content div,
.salvastufa-recensioni .cr-review-card-content p,
.salvastufa-recensioni .cr-review-card-product,
.salvastufa-recensioni .cr-review-card-product div {
  background-color: transparent !important;
}
/* =====================================================
   RECENSIONI - elimina sfondo bianco box commento
   ===================================================== */

.salvastufa-recensioni .cr-review-card-review,
.salvastufa-recensioni .cr-review-card-comment,
.salvastufa-recensioni .cr-review-card-content,
.salvastufa-recensioni .cr-review-card-text,
.salvastufa-recensioni .cr-review-card-body,
.salvastufa-recensioni .cr-comment,
.salvastufa-recensioni .cr-comment-text,
.salvastufa-recensioni .cr-review-content {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

/* Forza anche eventuali div interni del box */
.salvastufa-recensioni .cr-review-card-review *,
.salvastufa-recensioni .cr-review-card-comment *,
.salvastufa-recensioni .cr-review-card-content *,
.salvastufa-recensioni .cr-review-card-text *,
.salvastufa-recensioni .cr-review-card-body *,
.salvastufa-recensioni .cr-comment *,
.salvastufa-recensioni .cr-comment-text *,
.salvastufa-recensioni .cr-review-content * {
  background: transparent !important;
  background-color: transparent !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}

/* Rimuove nello specifico i riquadri bianchi con border-radius */
.salvastufa-recensioni div {
  --cr-card-bg: transparent !important;
}

.salvastufa-recensioni div[style*="background-color"],
.salvastufa-recensioni div[style*="background:"] {
  background: transparent !important;
  background-color: transparent !important;
}

/* Data dentro il commento */
.salvastufa-recensioni time,
.salvastufa-recensioni .cr-review-card-date,
.salvastufa-recensioni .review-date {
  color: #ffffff !important;
}
.salvastufa-recensioni .cr-review-card div[style] {
  background: transparent !important;
  background-color: transparent !important;
}
/* =====================================================
   RECENSIONI - rimozione definitiva box bianchi interni
   ===================================================== */

/* Toglie lo sfondo bianco da tutti i blocchi interni della card */
.salvastufa-recensioni .cr-review-card *,
.salvastufa-recensioni .cr-review-card-inner *,
.salvastufa-recensioni .cr-review-card-content *,
.salvastufa-recensioni .cr-review-card-comment *,
.salvastufa-recensioni .cr-review-card-text *,
.salvastufa-recensioni .cr-review-card-product * {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Mantiene la card principale scura */
.salvastufa-recensioni .cr-review-card,
.salvastufa-recensioni .cr-review-card-inner {
  background: rgba(8, 12, 13, 0.94) !important;
  background-color: rgba(8, 12, 13, 0.94) !important;
  border: 1px solid #C5191F !important;
  border-radius: 8px !important;
}

/* Box del commento: niente riquadro bianco */
.salvastufa-recensioni .cr-review-card-content,
.salvastufa-recensioni .cr-review-card-comment,
.salvastufa-recensioni .cr-review-card-text,
.salvastufa-recensioni .cr-review-card-review,
.salvastufa-recensioni .cr-review-card-body {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 12px 0 !important;
}

/* Testo commento e data in bianco */
.salvastufa-recensioni .cr-review-card-content,
.salvastufa-recensioni .cr-review-card-content *,
.salvastufa-recensioni .cr-review-card-comment,
.salvastufa-recensioni .cr-review-card-comment *,
.salvastufa-recensioni .cr-review-card-text,
.salvastufa-recensioni .cr-review-card-text *,
.salvastufa-recensioni .cr-review-card-review,
.salvastufa-recensioni .cr-review-card-review *,
.salvastufa-recensioni time,
.salvastufa-recensioni .cr-review-card-date,
.salvastufa-recensioni .review-date {
  color: #ffffff !important;
}

/* Nome recensore in bianco */
.salvastufa-recensioni .cr-review-card-name,
.salvastufa-recensioni .cr-review-card-author,
.salvastufa-recensioni .reviewer,
.salvastufa-recensioni .author {
  color: #ffffff !important;
}

/* Box prodotto recensito trasparente */
.salvastufa-recensioni .cr-review-card-product,
.salvastufa-recensioni .cr-product,
.salvastufa-recensioni .cr-review-product {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Nome prodotto rosso brand */
.salvastufa-recensioni .cr-review-card-product a,
.salvastufa-recensioni .cr-product a,
.salvastufa-recensioni .cr-review-product a,
.salvastufa-recensioni a[href*="/prodotto/"] {
  color: #C5191F !important;
  text-decoration: none !important;
}

/* Immagine prodotto senza box bianco */
.salvastufa-recensioni .cr-review-card-product img,
.salvastufa-recensioni .cr-product img,
.salvastufa-recensioni .cr-review-product img {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
}

/* Avatar: lo rendo leggibile anche dopo il reset */
.salvastufa-recensioni .cr-review-card-avatar,
.salvastufa-recensioni .cr-avatar,
.salvastufa-recensioni .ivole-review-card-avatar {
  background: #d9d9d9 !important;
  background-color: #d9d9d9 !important;
  color: #1a1a1a !important;
  border: 1px solid #C5191F !important;
}
/*trdt luca*/
/* =====================================================
   PAGINA PRODOTTO WOOCommerce - Salva Stufa
   ===================================================== */

/* Sfondo generale pagina prodotto */
body.single-product,
body.single-product .site,
body.single-product .page-content,
body.single-product .content,
body.single-product .woocommerce,
body.single-product .woocommerce-page {
  background: #161616 !important;
  background-color: #161616 !important;
}

/* Contenitore principale prodotto */
body.single-product div.product,
body.single-product .product {
  background: #161616 !important;
  color: #ffffff !important;
}

/* Eventuale area bianca centrale */
body.single-product .content-area,
body.single-product .site-main,
body.single-product main,
body.single-product article,
body.single-product .h-section,
body.single-product .h-container,
body.single-product .colibri-post-content {
  background: #161616 !important;
  background-color: #161616 !important;
}

/* Titolo prodotto */
body.single-product .product_title,
body.single-product h1,
body.single-product h2,
body.single-product h3 {
  color: #ffffff !important;
  font-family: 'bebas-neue', sans-serif !important;
  text-transform: uppercase !important;
}

/* Prezzo */
body.single-product .price,
body.single-product .price .amount,
body.single-product .woocommerce-Price-amount,
body.single-product .woocommerce-Price-currencySymbol {
  color: #C5191F !important;
  font-family: 'bebas-neue', sans-serif !important;
}

/* Link, categorie, SKU, meta prodotto */
body.single-product a,
body.single-product .posted_in a,
body.single-product .tagged_as a,
body.single-product .sku_wrapper,
body.single-product .posted_in,
body.single-product .product_meta,
body.single-product .product_meta span,
body.single-product .product_meta a {
  color: #C5191F !important;
}

/* Testi normali */
body.single-product p,
body.single-product li,
body.single-product span,
body.single-product div,
body.single-product .woocommerce-product-details__short-description {
  color: #f2f2f2 !important;
}

/* Disponibilità */
body.single-product .stock,
body.single-product .stock.in-stock {
  color: #C5191F !important;
}

/* Campo quantità */
body.single-product .quantity input.qty {
  background: #ffffff !important;
  color: #161616 !important;
  border: 1px solid #C5191F !important;
}

/* Bottone aggiungi al carrello */
body.single-product button.single_add_to_cart_button,
body.single-product .single_add_to_cart_button,
body.single-product .button {
  background: #C5191F !important;
  color: #ffffff !important;
  border: 1px solid #C5191F !important;
  border-radius: 4px !important;
  font-family: 'bebas-neue', sans-serif !important;
  text-transform: uppercase !important;
}

body.single-product button.single_add_to_cart_button:hover,
body.single-product .single_add_to_cart_button:hover,
body.single-product .button:hover {
  background: #ffffff !important;
  color: #C5191F !important;
  border-color: #ffffff !important;
}

/* Galleria immagini */
body.single-product .woocommerce-product-gallery,
body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery__image {
  background: #161616 !important;
}

/* Thumbnail sotto immagine */
body.single-product .flex-control-thumbs li img {
  border: 1px solid transparent !important;
  background: #161616 !important;
}

body.single-product .flex-control-thumbs li img.flex-active,
body.single-product .flex-control-thumbs li img:hover {
  border-color: #C5191F !important;
}

/* Tab descrizione / recensioni */
body.single-product .woocommerce-tabs,
body.single-product .woocommerce-tabs .panel,
body.single-product .woocommerce-Tabs-panel {
  background: #161616 !important;
  color: #ffffff !important;
  border-color: #333333 !important;
}

/* Tab header */
body.single-product .woocommerce-tabs ul.tabs {
  border-bottom: 1px solid #C5191F !important;
}

body.single-product .woocommerce-tabs ul.tabs li {
  background: #161616 !important;
  border: 1px solid #333333 !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active {
  background: #C5191F !important;
  border-color: #C5191F !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
  color: #ffffff !important;
  font-family: 'bebas-neue', sans-serif !important;
  text-transform: uppercase !important;
}

/* Titoli descrizione */
body.single-product .woocommerce-Tabs-panel h2,
body.single-product .woocommerce-Tabs-panel h3 {
  color: #ffffff !important;
}

/* Rimuove eventuale azzurro WooCommerce/tema */
body.single-product .summary a,
body.single-product .woocommerce-product-rating a,
body.single-product .reset_variations {
  color: #C5191F !important;
}

/* Bordo generale del blocco prodotto, se vuoi un effetto card */
body.single-product div.product {
  border: 1px solid rgba(197, 25, 31, 0.35) !important;
  padding: 35px !important;
  border-radius: 6px !important;
}
/* =====================================================
   FIX SHOP WOOCOMMERCE - card non schiacciate
   ===================================================== */

/* Sfondo shop */
body.woocommerce-shop,
body.post-type-archive-product,
body.woocommerce-shop #page,
body.post-type-archive-product #page,
body.woocommerce-shop .site-content,
body.post-type-archive-product .site-content,
body.woocommerce-shop .content-area,
body.post-type-archive-product .content-area,
body.woocommerce-shop main,
body.post-type-archive-product main,
body.woocommerce-shop .woocommerce,
body.post-type-archive-product .woocommerce,
body.woocommerce-shop .h-section,
body.post-type-archive-product .h-section,
body.woocommerce-shop .h-container,
body.post-type-archive-product .h-container {
  background: #161616 !important;
  background-color: #161616 !important;
}

/* Griglia prodotti shop */
body.woocommerce-shop .woocommerce ul.products,
body.post-type-archive-product .woocommerce ul.products,
body.woocommerce-shop ul.products,
body.post-type-archive-product ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 34px !important;
  max-width: 1180px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Reset totale colonne WooCommerce */
body.woocommerce-shop .woocommerce ul.products li.product,
body.post-type-archive-product .woocommerce ul.products li.product,
body.woocommerce-shop ul.products li.product,
body.post-type-archive-product ul.products li.product,
body.woocommerce-shop ul.products.columns-4 li.product,
body.post-type-archive-product ul.products.columns-4 li.product {
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;

  background: rgba(8, 12, 13, 0.94) !important;
  border: 1px solid rgba(197, 25, 31, 0.65) !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  text-align: center !important;
  padding: 0 0 24px !important;
  box-sizing: border-box !important;
}

/* Link interno pieno */
body.woocommerce-shop ul.products li.product a.woocommerce-LoopProduct-link,
body.post-type-archive-product ul.products li.product a.woocommerce-LoopProduct-link {
  display: block !important;
  width: 100% !important;
}

/* Immagini prodotto */
body.woocommerce-shop ul.products li.product img,
body.post-type-archive-product ul.products li.product img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto 18px !important;
  object-fit: contain !important;
}

/* Titolo prodotto */
body.woocommerce-shop .woocommerce-loop-product__title,
body.post-type-archive-product .woocommerce-loop-product__title {
  color: #ffffff !important;
  font-family: 'bebas-neue', sans-serif !important;
  font-size: 23px !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  writing-mode: horizontal-tb !important;
  margin: 14px 14px 10px !important;
}

/* Prezzi */
body.woocommerce-shop ul.products li.product .price,
body.post-type-archive-product ul.products li.product .price,
body.woocommerce-shop .woocommerce-Price-amount,
body.post-type-archive-product .woocommerce-Price-amount {
  color: #C5191F !important;
  font-family: 'bebas-neue', sans-serif !important;
  font-size: 22px !important;
}

/* Pulsanti */
body.woocommerce-shop ul.products li.product .button,
body.post-type-archive-product ul.products li.product .button,
body.woocommerce-shop ul.products li.product .add_to_cart_button,
body.post-type-archive-product ul.products li.product .add_to_cart_button {
  background: #C5191F !important;
  color: #ffffff !important;
  border: 1px solid #C5191F !important;
  border-radius: 4px !important;
  font-family: 'bebas-neue', sans-serif !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  padding: 13px 18px !important;
  display: inline-block !important;
  width: auto !important;
  min-width: 150px !important;
  margin-top: 12px !important;
}

/* Hover */
body.woocommerce-shop ul.products li.product .button:hover,
body.post-type-archive-product ul.products li.product .button:hover {
  background: #ffffff !important;
  color: #C5191F !important;
}

/* Ordinamento */
body.woocommerce-shop .woocommerce-ordering select,
body.post-type-archive-product .woocommerce-ordering select {
  background: #0f1111 !important;
  color: #ffffff !important;
  border: 1px solid #C5191F !important;
}

/* Testo risultati */
body.woocommerce-shop .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count {
  color: #ffffff !important;
}

/* Responsive */
@media (max-width: 1200px) {
  body.woocommerce-shop ul.products,
  body.post-type-archive-product ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  body.woocommerce-shop ul.products,
  body.post-type-archive-product ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  body.woocommerce-shop ul.products,
  body.post-type-archive-product ul.products {
    grid-template-columns: 1fr !important;
  }
}
/* =====================================================
   PAGINA CARRELLO WOOCOMMERCE - Salva Stufa
   ===================================================== */

/* Sfondo generale carrello */
body.woocommerce-cart,
body.woocommerce-cart #page,
body.woocommerce-cart .site,
body.woocommerce-cart .site-content,
body.woocommerce-cart .content-area,
body.woocommerce-cart main,
body.woocommerce-cart article,
body.woocommerce-cart .page-content,
body.woocommerce-cart .colibri-post-content,
body.woocommerce-cart .h-section,
body.woocommerce-cart .h-container,
body.woocommerce-cart .woocommerce {
  background: #161616 !important;
  background-color: #161616 !important;
  color: #ffffff !important;
}

/* Contenitore principale */
body.woocommerce-cart .woocommerce {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 50px 20px 70px !important;
}

/* Layout carrello */
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .cart_totals {
  background: rgba(8, 12, 13, 0.94) !important;
  border: 1px solid rgba(197, 25, 31, 0.55) !important;
  border-radius: 6px !important;
  padding: 28px !important;
  color: #ffffff !important;
}

/* Tabella carrello */
body.woocommerce-cart table.shop_table {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
}

body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td {
  border-color: rgba(255,255,255,0.14) !important;
  color: #ffffff !important;
}

/* Intestazioni */
body.woocommerce-cart table.shop_table th,
body.woocommerce-cart .cart_totals h2,
body.woocommerce-cart h1,
body.woocommerce-cart h2,
body.woocommerce-cart h3 {
  font-family: 'bebas-neue', sans-serif !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
}

/* Nome prodotto e link */
body.woocommerce-cart a,
body.woocommerce-cart .product-name a,
body.woocommerce-cart .woocommerce-remove-coupon {
  color: #C5191F !important;
  text-decoration: none !important;
}

body.woocommerce-cart a:hover,
body.woocommerce-cart .product-name a:hover {
  color: #ffffff !important;
}

/* Prezzi e totali */
body.woocommerce-cart .amount,
body.woocommerce-cart .woocommerce-Price-amount,
body.woocommerce-cart .woocommerce-Price-currencySymbol,
body.woocommerce-cart .cart-subtotal td,
body.woocommerce-cart .order-total td {
  color: #C5191F !important;
  font-family: 'bebas-neue', sans-serif !important;
  font-size: 22px !important;
}

/* Immagine prodotto */
body.woocommerce-cart .product-thumbnail img {
  border-radius: 4px !important;
  border: 1px solid rgba(197,25,31,0.45) !important;
  background: #0f1111 !important;
}

/* Quantità */
body.woocommerce-cart .quantity input.qty {
  background: #0f1111 !important;
  color: #ffffff !important;
  border: 1px solid #C5191F !important;
  border-radius: 4px !important;
}

/* Rimuovi prodotto */
body.woocommerce-cart a.remove {
  color: #C5191F !important;
  border: 1px solid #C5191F !important;
  background: transparent !important;
}

body.woocommerce-cart a.remove:hover {
  background: #C5191F !important;
  color: #ffffff !important;
}

/* Coupon */
body.woocommerce-cart .coupon input.input-text,
body.woocommerce-cart input[type="text"],
body.woocommerce-cart input[type="number"] {
  background: #0f1111 !important;
  color: #ffffff !important;
  border: 1px solid rgba(197,25,31,0.7) !important;
  border-radius: 4px !important;
}

/* Bottoni */
body.woocommerce-cart .button,
body.woocommerce-cart button.button,
body.woocommerce-cart input.button,
body.woocommerce-cart .checkout-button {
  background: #C5191F !important;
  color: #ffffff !important;
  border: 1px solid #C5191F !important;
  border-radius: 4px !important;
  font-family: 'bebas-neue', sans-serif !important;
  text-transform: uppercase !important;
  font-size: 18px !important;
  padding: 15px 24px !important;
}

body.woocommerce-cart .button:hover,
body.woocommerce-cart button.button:hover,
body.woocommerce-cart input.button:hover,
body.woocommerce-cart .checkout-button:hover {
  background: #ffffff !important;
  color: #C5191F !important;
  border-color: #ffffff !important;
}

/* Totale carrello */
body.woocommerce-cart .cart_totals {
  float: none !important;
  width: 100% !important;
}

body.woocommerce-cart .cart-collaterals {
  margin-top: 35px !important;
}

/* Spedizione / note */
body.woocommerce-cart .woocommerce-shipping-totals,
body.woocommerce-cart .cart_totals p,
body.woocommerce-cart .cart_totals small,
body.woocommerce-cart .cart_totals span,
body.woocommerce-cart .cart_totals label {
  color: #d8d8d8 !important;
}

/* Messaggi WooCommerce */
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
  background: #0f1111 !important;
  color: #ffffff !important;
  border-top-color: #C5191F !important;
}

body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before {
  color: #C5191F !important;
}

/* Responsive */
@media (max-width: 768px) {
  body.woocommerce-cart .woocommerce {
    padding: 35px 15px 55px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals,
  body.woocommerce-cart .cart_totals {
    padding: 20px !important;
  }

  body.woocommerce-cart .button,
  body.woocommerce-cart .checkout-button {
    width: 100% !important;
    text-align: center !important;
  }
}
/* =====================================================
   FIX CARRELLO WOOCOMMERCE BLOCKS
   ===================================================== */

/* Sfondo generale dei blocchi carrello */
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wc-block-components-sidebar,
body.woocommerce-cart .wc-block-cart-items,
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
  background: #161616 !important;
  background-color: #161616 !important;
  color: #ffffff !important;
}

/* Pulsante "Procedi al pagamento" */
body.woocommerce-cart .wc-block-components-button,
body.woocommerce-cart .wc-block-components-button:not(.is-link),
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart a.wc-block-components-button,
body.woocommerce-cart button.wc-block-components-button {
  background: #C5191F !important;
  background-color: #C5191F !important;
  color: #ffffff !important;
  border: 1px solid #C5191F !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font-family: 'bebas-neue', sans-serif !important;
  text-transform: uppercase !important;
}

body.woocommerce-cart .wc-block-components-button:hover,
body.woocommerce-cart .wc-block-components-button:not(.is-link):hover,
body.woocommerce-cart .wc-block-cart__submit-button:hover {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #C5191F !important;
  border-color: #ffffff !important;
}

/* Testo interno del pulsante */
body.woocommerce-cart .wc-block-components-button__text {
  color: inherit !important;
}

/* Prezzi e link */
body.woocommerce-cart .wc-block-components-product-name,
body.woocommerce-cart .wc-block-components-product-name a,
body.woocommerce-cart .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-cart-item__prices,
body.woocommerce-cart .wc-block-formatted-money-amount {
  color: #C5191F !important;
}

/* Testi normali */
body.woocommerce-cart .wc-block-components-product-metadata,
body.woocommerce-cart .wc-block-components-product-metadata *,
body.woocommerce-cart .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-wrapper,
body.woocommerce-cart .wc-block-components-panel__button,
body.woocommerce-cart .wc-block-components-totals-shipping__via {
  color: #ffffff !important;
}

/* Linee divisorie */
body.woocommerce-cart .wc-block-cart-items,
body.woocommerce-cart .wc-block-cart-items__row,
body.woocommerce-cart .wc-block-components-totals-wrapper,
body.woocommerce-cart .wc-block-components-panel {
  border-color: rgba(255,255,255,0.22) !important;
}

/* =====================================================
   FIX QUANTITÀ - elimina riquadro bianco esterno
   ===================================================== */

body.woocommerce-cart .wc-block-components-quantity-selector {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Pulsanti meno/più */
body.woocommerce-cart .wc-block-components-quantity-selector__button {
  background: #161616 !important;
  background-color: #161616 !important;
  color: #ffffff !important;
  border: 1px solid #C5191F !important;
  box-shadow: none !important;
}

/* Campo numero */
body.woocommerce-cart .wc-block-components-quantity-selector__input {
  background: #161616 !important;
  background-color: #161616 !important;
  color: #ffffff !important;
  border-top: 1px solid #C5191F !important;
  border-bottom: 1px solid #C5191F !important;
  border-left: none !important;
  border-right: none !important;
  box-shadow: none !important;
  font-family: 'bebas-neue', sans-serif !important;
}

/* Rimuove il bianco dai wrapper interni */
body.woocommerce-cart .wc-block-components-quantity-selector *,
body.woocommerce-cart .wc-block-cart-item__quantity,
body.woocommerce-cart .wc-block-cart-item__quantity * {
  box-shadow: none !important;
}

/* Selettore quantità come blocco unico */
body.woocommerce-cart .wc-block-components-quantity-selector {
  display: inline-flex !important;
  border: 1px solid #C5191F !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

/* Evita doppio bordo interno */
body.woocommerce-cart .wc-block-components-quantity-selector__button,
body.woocommerce-cart .wc-block-components-quantity-selector__input {
  border-radius: 0 !important;
}

/* Cestino */
body.woocommerce-cart .wc-block-cart-item__remove-link,
body.woocommerce-cart .wc-block-components-product-metadata a {
  color: #ffffff !important;
}

body.woocommerce-cart .wc-block-cart-item__remove-link:hover {
  color: #C5191F !important;
}

/* Sfondo pagina ancora azzurrino: override forte */
body.woocommerce-cart,
body.woocommerce-cart #page,
body.woocommerce-cart .site,
body.woocommerce-cart .site-content,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .wp-site-blocks {
  background: #161616 !important;
  background-color: #161616 !important;
}

/* =====================================================
   FIX TITOLO PAGINA PRODOTTO
   ===================================================== */

body.single-product .summary .product_title,
body.single-product .summary h1.product_title,
body.single-product h1.entry-title.product_title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;

  color: #ffffff !important;
  font-family: 'bebas-neue', sans-serif !important;
  font-size: 38px !important;
  line-height: 1.1 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;

  margin: 0 0 18px !important;
  padding: 0 !important;
}
@media (max-width: 768px) {
  body.single-product .summary .product_title,
  body.single-product .summary h1.product_title {
    font-size: 30px !important;
  }
}
/* =====================================================
   PAGINA DIVENTA RIVENDITORE
   ===================================================== */

.salvastufa-dealer-section {
  background: #151515 !important;
  padding: 70px 20px !important;
}

.salvastufa-dealer-section .dealer-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  border: 1px solid #C5191F !important;
  background: #111 !important;
}

.salvastufa-dealer-image {
  min-height: 720px !important;
  overflow: hidden !important;
}

.salvastufa-dealer-image img {
  width: 100% !important;
  height: 100% !important;
  min-height: 720px !important;
  object-fit: cover !important;
  display: block !important;
}

.salvastufa-dealer-content {
  background: #151515 !important;
  padding: 50px 45px !important;
  color: #ffffff !important;
}

.salvastufa-dealer-content h2 {
  color: #ffffff !important;
  font-family: 'bebas-neue', sans-serif !important;
  font-size: 46px !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  margin: 0 0 18px !important;
}

.salvastufa-dealer-content h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #C5191F;
  margin-top: 18px;
}

.salvastufa-dealer-content p {
  color: #d6d6d6 !important;
  font-family: Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  margin-bottom: 32px !important;
}

.salvastufa-dealer-form {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 18px !important;
}

.salvastufa-dealer-form label {
  display: block !important;
  color: #ffffff !important;
  font-family: 'bebas-neue', sans-serif !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
}

.salvastufa-dealer-form input,
.salvastufa-dealer-form select,
.salvastufa-dealer-form textarea {
  width: 100% !important;
  margin-top: 7px !important;
  padding: 13px 14px !important;
  background: #0d0d0d !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}

.salvastufa-dealer-form input:focus,
.salvastufa-dealer-form select:focus,
.salvastufa-dealer-form textarea:focus {
  border-color: #C5191F !important;
  outline: none !important;
}

.salvastufa-dealer-form textarea {
  min-height: 130px !important;
}

.salvastufa-dealer-form label:has(textarea),
.salvastufa-dealer-form .wpcf7-acceptance,
.salvastufa-dealer-form input[type="submit"] {
  grid-column: 1 / -1 !important;
}

.salvastufa-dealer-form .wpcf7-acceptance label {
  font-family: Arial, sans-serif !important;
  font-size: 13px !important;
  text-transform: none !important;
  color: #d6d6d6 !important;
}

.salvastufa-dealer-form .wpcf7-acceptance input {
  width: auto !important;
  margin-right: 8px !important;
}

.salvastufa-dealer-form input[type="submit"] {
  background: #C5191F !important;
  color: #ffffff !important;
  border: 1px solid #C5191F !important;
  font-family: 'bebas-neue', sans-serif !important;
  font-size: 19px !important;
  text-transform: uppercase !important;
  padding: 15px 22px !important;
  cursor: pointer !important;
}

.salvastufa-dealer-form input[type="submit"]:hover {
  background: #ffffff !important;
  color: #C5191F !important;
  border-color: #ffffff !important;
}

@media (max-width: 900px) {
  .salvastufa-dealer-section .dealer-grid {
    grid-template-columns: 1fr !important;
  }

  .salvastufa-dealer-image,
  .salvastufa-dealer-image img {
    min-height: 420px !important;
  }

  .salvastufa-dealer-content {
    padding: 36px 24px !important;
  }

  .salvastufa-dealer-form {
    grid-template-columns: 1fr !important;
  }

  .salvastufa-dealer-form label,
  .salvastufa-dealer-form .wpcf7-acceptance,
  .salvastufa-dealer-form input[type="submit"] {
    grid-column: 1 !important;
  }
}
.salvastufa-dealer-form a {
  color: #C5191F !important;
  text-decoration: underline !important;
}

.salvastufa-dealer-form a:hover {
  color: #ffffff !important;
}

.dealer-policy-links {
  color: #d6d6d6 !important;
  font-size: 13px !important;
  margin: 8px 0 18px !important;
}

/* =====================================================
   FIX CARRELLO VUOTO - pallini e prodotti consigliati
   ===================================================== */

/* Nasconde i pallini sopra "Novità in negozio" */
body.woocommerce-cart .wc-block-grid__products::before,
body.woocommerce-cart .wc-block-grid__products::after,
body.woocommerce-cart .wc-block-cart__empty-cart__title + *,
body.woocommerce-cart .wp-block-separator,
body.woocommerce-cart .wc-block-components-notices,
body.woocommerce-cart .slick-dots,
body.woocommerce-cart .swiper-pagination,
body.woocommerce-cart .owl-dots {
  display: none !important;
  content: none !important;
}

/* Bottoni prodotti consigliati: rosso con testo bianco */
body.woocommerce-cart .wc-block-grid__product-add-to-cart a,
body.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link,
body.woocommerce-cart .wc-block-grid__product-add-to-cart button,
body.woocommerce-cart .wc-block-grid__product .add_to_cart_button,
body.woocommerce-cart .wc-block-grid__product .button {
  background: #C5191F !important;
  background-color: #C5191F !important;
  color: #ffffff !important;
  border: 1px solid #C5191F !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

/* Forza anche il testo interno in bianco */
body.woocommerce-cart .wc-block-grid__product-add-to-cart a *,
body.woocommerce-cart .wc-block-grid__product-add-to-cart button *,
body.woocommerce-cart .wc-block-grid__product .button * {
  color: #ffffff !important;
}

/* Hover */
body.woocommerce-cart .wc-block-grid__product-add-to-cart a:hover,
body.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
body.woocommerce-cart .wc-block-grid__product-add-to-cart button:hover,
body.woocommerce-cart .wc-block-grid__product .add_to_cart_button:hover,
body.woocommerce-cart .wc-block-grid__product .button:hover {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #C5191F !important;
  border-color: #ffffff !important;
}
/* =====================================================
   CHECKOUT / PAGAMENTO - SALVA STUFA
   ===================================================== */

/* Sfondo generale */
body.woocommerce-checkout,
body.woocommerce-checkout #page,
body.woocommerce-checkout .site,
body.woocommerce-checkout .site-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .wp-site-blocks,
body.woocommerce-checkout .wp-block-woocommerce-checkout {
  background: #161616 !important;
  background-color: #161616 !important;
  color: #ffffff !important;
}

/* Contenitore checkout */
body.woocommerce-checkout .wc-block-checkout {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 55px 20px 80px !important;
}

/* Colonna riepilogo ordine */
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background: #101212 !important;
  border: 1px solid rgba(197, 25, 31, 0.6) !important;
  border-radius: 6px !important;
  padding: 24px !important;
}

/* Testi e titoli */
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-order-summary__button-text,
body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-product-name,
body.woocommerce-checkout h1,
body.woocommerce-checkout h2,
body.woocommerce-checkout h3 {
  color: #ffffff !important;
  font-family: 'bebas-neue', sans-serif !important;
  text-transform: uppercase !important;
}

/* Testi secondari */
body.woocommerce-checkout p,
body.woocommerce-checkout label,
body.woocommerce-checkout span,
body.woocommerce-checkout .wc-block-components-checkout-step__description,
body.woocommerce-checkout .wc-block-components-product-metadata {
  color: #d8d8d8 !important;
}

/* Campi */
body.woocommerce-checkout input,
body.woocommerce-checkout select,
body.woocommerce-checkout textarea,
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox-control input {
  background: #0e1010 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 3px !important;
  box-shadow: none !important;
}

body.woocommerce-checkout input:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout textarea:focus {
  border-color: #C5191F !important;
  outline: none !important;
}

/* Prezzi */
body.woocommerce-checkout .wc-block-formatted-money-amount,
body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-product-price {
  color: #C5191F !important;
}

/* =====================================================
   PAGAMENTO RAPIDO PAYPAL
   ===================================================== */

body.woocommerce-checkout .wc-block-components-express-payment {
  background: #101212 !important;
  border: 1px solid rgba(197, 25, 31, 0.55) !important;
  border-radius: 6px !important;
  padding: 24px !important;
  margin-bottom: 28px !important;
}

/* Rimuove altezza eccessiva del box */
body.woocommerce-checkout .wc-block-components-express-payment__content {
  min-height: auto !important;
  height: auto !important;
  padding: 15px 0 0 !important;
}

/* Allinea PayPal al centro */
body.woocommerce-checkout .wc-block-components-express-payment__event-buttons,
body.woocommerce-checkout .wc-block-components-express-payment__event-buttons ul,
body.woocommerce-checkout .wc-block-components-express-payment__event-buttons li {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 !important;
}

/* Larghezza bottone PayPal */
body.woocommerce-checkout .wc-block-components-express-payment__event-buttons iframe,
body.woocommerce-checkout .wc-block-components-express-payment__event-buttons > div {
  width: 100% !important;
  max-width: 420px !important;
  margin: 0 auto !important;
}

/* =====================================================
   OPZIONI DI PAGAMENTO
   ===================================================== */

body.woocommerce-checkout .wc-block-checkout__payment-method {
  margin-top: 32px !important;
}

/* Singolo metodo di pagamento */
body.woocommerce-checkout
.wc-block-components-radio-control-accordion-option {
  background: #101212 !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 5px !important;
  margin-bottom: 14px !important;
  overflow: hidden !important;
}

/* Metodo selezionato */
body.woocommerce-checkout
.wc-block-components-radio-control-accordion-option:has(
  input[type="radio"]:checked
) {
  border-color: #C5191F !important;
  box-shadow: 0 0 18px rgba(197, 25, 31, 0.18) !important;
}

/* Riga cliccabile */
body.woocommerce-checkout
.wc-block-components-radio-control-accordion-option
.wc-block-components-radio-control__option {
  min-height: 68px !important;
  padding: 18px 20px !important;
  cursor: pointer !important;
}

/* Nome metodo */
body.woocommerce-checkout
.wc-block-components-radio-control__label {
  color: #ffffff !important;
  font-family: 'bebas-neue', sans-serif !important;
  font-size: 21px !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
}

/* Radio button */
body.woocommerce-checkout
.wc-block-components-radio-control__input {
  width: 20px !important;
  height: 20px !important;
  accent-color: #C5191F !important;
}

/* Contenuto interno del metodo selezionato */
body.woocommerce-checkout
.wc-block-components-radio-control-accordion-content {
  background: #0d0f0f !important;
  border-top: 1px solid rgba(197, 25, 31, 0.35) !important;
  padding: 22px !important;
}

/* Campi carta */
body.woocommerce-checkout
.wc-block-components-radio-control-accordion-content input {
  background: #ffffff !important;
  color: #161616 !important;
  min-height: 48px !important;
}

/* Pulsante principale ordine */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background: #C5191F !important;
  color: #ffffff !important;
  border: 1px solid #C5191F !important;
  border-radius: 4px !important;
  font-family: 'bebas-neue', sans-serif !important;
  font-size: 21px !important;
  text-transform: uppercase !important;
  min-height: 55px !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  background: #ffffff !important;
  color: #C5191F !important;
  border-color: #ffffff !important;
}

/* Mobile */
@media (max-width: 768px) {
  body.woocommerce-checkout .wc-block-checkout {
    padding: 35px 15px 55px !important;
  }

  body.woocommerce-checkout
  .wc-block-components-radio-control__label {
    font-size: 18px !important;
  }

  body.woocommerce-checkout
  .wc-block-components-express-payment__event-buttons iframe,
  body.woocommerce-checkout
  .wc-block-components-express-payment__event-buttons > div {
    max-width: 100% !important;
  }
}
/* =====================================================
   SFONDO PAGINA CHECKOUT
   ===================================================== */

body.woocommerce-checkout,
body.woocommerce-checkout #page,
body.woocommerce-checkout .site,
body.woocommerce-checkout .site-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout main,
body.woocommerce-checkout .wp-site-blocks,
body.woocommerce-checkout .content-area,
body.woocommerce-checkout .site-main {
    background: #161616 !important;
}

/* Anche il contenitore del blocco checkout */
body.woocommerce-checkout .wp-block-woocommerce-checkout {
    background: #161616 !important;
}

/* Elimina eventuali sfondi chiari del tema */
body.woocommerce-checkout .entry-content > *,
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout .woocommerce-checkout {
    background: transparent !important;
}
/* =====================================================
   FIX DEFINITIVO SFONDO PAGINA PAGAMENTO
   ===================================================== */

html,
body:has(.wp-block-woocommerce-checkout),
body.woocommerce-checkout,
body.woocommerce-cart {
  background: #161616 !important;
  background-color: #161616 !important;
}

/* Wrapper generali WordPress e Colibri */
body:has(.wp-block-woocommerce-checkout) #page,
body:has(.wp-block-woocommerce-checkout) .site,
body:has(.wp-block-woocommerce-checkout) .site-content,
body:has(.wp-block-woocommerce-checkout) .content-area,
body:has(.wp-block-woocommerce-checkout) .site-main,
body:has(.wp-block-woocommerce-checkout) main,
body:has(.wp-block-woocommerce-checkout) article,
body:has(.wp-block-woocommerce-checkout) .entry-content,
body:has(.wp-block-woocommerce-checkout) .page-content,
body:has(.wp-block-woocommerce-checkout) .colibri-post-content,
body:has(.wp-block-woocommerce-checkout) .wp-site-blocks,
body:has(.wp-block-woocommerce-checkout) .h-section,
body:has(.wp-block-woocommerce-checkout) .h-container,
body:has(.wp-block-woocommerce-checkout) .h-row-container {
  background: #161616 !important;
  background-color: #161616 !important;
}

/* Contenitore diretto del checkout */
body:has(.wp-block-woocommerce-checkout)
.wp-block-woocommerce-checkout {
  background: #161616 !important;
  background-color: #161616 !important;
}

/* Sezioni intermedie create dal builder */
body:has(.wp-block-woocommerce-checkout) .entry-content > div,
body:has(.wp-block-woocommerce-checkout) .page-content > div,
body:has(.wp-block-woocommerce-checkout) main > div {
  background-color: #161616 !important;
}
/* =====================================================
   CHECKOUT: LARGHEZZA SCHERMO E TESTI LEGGIBILI
   ===================================================== */

/* Elimina i limiti di larghezza imposti dal tema */
body:has(.wc-block-checkout) .h-container,
body:has(.wc-block-checkout) .h-section-boxed-container,
body:has(.wc-block-checkout) .content-area,
body:has(.wc-block-checkout) .site-main,
body:has(.wc-block-checkout) .entry-content,
body:has(.wc-block-checkout) .colibri-post-content,
body:has(.wc-block-checkout) .wp-block-woocommerce-checkout {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Contenitore principale del checkout */
body:has(.wc-block-checkout)
.wc-block-components-sidebar-layout.wc-block-checkout {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 60px 5vw 90px !important;
  box-sizing: border-box !important;
}

/* Mantiene le due colonne WooCommerce */
body:has(.wc-block-checkout)
.wc-block-components-sidebar-layout.is-large {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 50px !important;
}

/* Colonna principale */
body:has(.wc-block-checkout) .wc-block-checkout__main {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  padding-right: 0 !important;
}

/* Riepilogo ordine */
body:has(.wc-block-checkout) .wc-block-checkout__sidebar {
  flex: 0 0 420px !important;
  width: 420px !important;
  max-width: 420px !important;
  margin: 0 !important;
  position: sticky !important;
  top: 25px !important;
}

/* Dimensione generale dei testi */
body:has(.wc-block-checkout) .wc-block-checkout {
  font-size: 17px !important;
  line-height: 1.5 !important;
}

/* Titoli delle sezioni */
body:has(.wc-block-checkout)
.wc-block-components-checkout-step__title,
body:has(.wc-block-checkout)
.wc-block-components-title,
body:has(.wc-block-checkout)
.wc-block-components-order-summary__button-text {
  font-size: 25px !important;
  line-height: 1.15 !important;
}

/* Testi descrittivi e checkbox */
body:has(.wc-block-checkout)
.wc-block-components-checkout-step__description,
body:has(.wc-block-checkout)
.wc-block-components-checkbox__label,
body:has(.wc-block-checkout)
.wc-block-components-product-metadata,
body:has(.wc-block-checkout) p {
  font-size: 16px !important;
  line-height: 1.5 !important;
}

/* Etichette dei campi */
body:has(.wc-block-checkout)
.wc-block-components-text-input label,
body:has(.wc-block-checkout)
.wc-block-components-combobox-control label {
  font-size: 15px !important;
}

/* Campi di testo */
body:has(.wc-block-checkout)
.wc-block-components-text-input input,
body:has(.wc-block-checkout)
.wc-block-components-combobox-control input,
body:has(.wc-block-checkout)
.wc-block-components-combobox-control select,
body:has(.wc-block-checkout)
.wc-block-components-textarea {
  min-height: 56px !important;
  font-size: 17px !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* Opzioni di spedizione e pagamento */
body:has(.wc-block-checkout)
.wc-block-components-radio-control__option {
  min-height: 68px !important;
  padding: 18px 20px !important;
}

body:has(.wc-block-checkout)
.wc-block-components-radio-control__label {
  font-size: 19px !important;
  line-height: 1.3 !important;
}

/* Riepilogo ordine */
body:has(.wc-block-checkout)
.wc-block-components-product-name {
  font-size: 20px !important;
  line-height: 1.2 !important;
}

body:has(.wc-block-checkout)
.wc-block-components-totals-item__label,
body:has(.wc-block-checkout)
.wc-block-components-totals-item__value {
  font-size: 16px !important;
}

/* Campi aggiuntivi fatturazione */
body:has(.wc-block-checkout)
.wc-block-checkout__additional-fields {
  font-size: 17px !important;
}

/* Pulsante finale */
body:has(.wc-block-checkout)
.wc-block-components-checkout-place-order-button {
  min-height: 58px !important;
  font-size: 21px !important;
}

/* Tablet e mobile */
@media (max-width: 1000px) {
  body:has(.wc-block-checkout)
  .wc-block-components-sidebar-layout.wc-block-checkout {
    padding: 40px 24px 70px !important;
  }

  body:has(.wc-block-checkout)
  .wc-block-components-sidebar-layout.is-large {
    display: block !important;
  }

  body:has(.wc-block-checkout) .wc-block-checkout__sidebar {
    width: 100% !important;
    max-width: none !important;
    position: static !important;
    margin-top: 40px !important;
  }
}
/* =====================================================
   CHECKOUT - TESTI PIÙ GRANDI
   ===================================================== */

/* Testo generale */
body:has(.wc-block-checkout) .wc-block-checkout {
  font-size: 20px !important;
  line-height: 1.55 !important;
}

/* Titoli principali delle sezioni */
body:has(.wc-block-checkout)
.wc-block-components-checkout-step__title,
body:has(.wc-block-checkout)
.wc-block-components-title,
body:has(.wc-block-checkout)
.wc-block-checkout__additional-fields h2,
body:has(.wc-block-checkout)
.wc-block-checkout__additional-fields h3 {
  font-size: 32px !important;
  line-height: 1.15 !important;
  margin-bottom: 22px !important;
}

/* Testi descrittivi */
body:has(.wc-block-checkout)
.wc-block-components-checkout-step__description,
body:has(.wc-block-checkout)
.wc-block-components-checkbox__label,
body:has(.wc-block-checkout)
.wc-block-checkout__additional-fields p,
body:has(.wc-block-checkout)
.wc-block-components-product-metadata {
  font-size: 18px !important;
  line-height: 1.55 !important;
}

/* Etichette campi */
body:has(.wc-block-checkout)
.wc-block-components-text-input label,
body:has(.wc-block-checkout)
.wc-block-components-combobox-control label,
body:has(.wc-block-checkout)
.wc-block-components-formatted-money-amount,
body:has(.wc-block-checkout)
.wc-block-components-address-form label {
  font-size: 18px !important;
  line-height: 1.3 !important;
}

/* Testo dentro input e select */
body:has(.wc-block-checkout)
.wc-block-components-text-input input,
body:has(.wc-block-checkout)
.wc-block-components-combobox-control input,
body:has(.wc-block-checkout)
.wc-block-components-combobox-control select,
body:has(.wc-block-checkout)
.wc-block-components-textarea,
body:has(.wc-block-checkout)
input,
body:has(.wc-block-checkout)
select,
body:has(.wc-block-checkout)
textarea {
  font-size: 20px !important;
  line-height: 1.3 !important;
}

/* Placeholder */
body:has(.wc-block-checkout) input::placeholder,
body:has(.wc-block-checkout) textarea::placeholder {
  font-size: 18px !important;
}

/* Opzioni spedizione e pagamento */
body:has(.wc-block-checkout)
.wc-block-components-radio-control__label {
  font-size: 22px !important;
  line-height: 1.3 !important;
}

body:has(.wc-block-checkout)
.wc-block-components-radio-control__description,
body:has(.wc-block-checkout)
.wc-block-components-radio-control__secondary-label {
  font-size: 17px !important;
}

/* Riepilogo ordine */
body:has(.wc-block-checkout)
.wc-block-components-order-summary {
  font-size: 18px !important;
}

body:has(.wc-block-checkout)
.wc-block-components-product-name {
  font-size: 24px !important;
  line-height: 1.2 !important;
}

body:has(.wc-block-checkout)
.wc-block-components-totals-item__label,
body:has(.wc-block-checkout)
.wc-block-components-totals-item__value {
  font-size: 19px !important;
}

/* Titolo riepilogo ordine */
body:has(.wc-block-checkout)
.wc-block-components-order-summary__button-text,
body:has(.wc-block-checkout)
.wc-block-components-checkout-order-summary__title-text {
  font-size: 25px !important;
}

/* Pulsante finale */
body:has(.wc-block-checkout)
.wc-block-components-checkout-place-order-button {
  font-size: 24px !important;
  min-height: 64px !important;
}

/* Campi aggiuntivi fatturazione creati dal plugin */
body:has(.wc-block-checkout)
.thwcfe-block-fields,
body:has(.wc-block-checkout)
.thwcfe-block-fields label,
body:has(.wc-block-checkout)
.thwcfe-block-fields input,
body:has(.wc-block-checkout)
.thwcfe-block-fields select,
body:has(.wc-block-checkout)
.thwcfe-block-fields p {
  font-size: 19px !important;
  line-height: 1.5 !important;
}
/* =====================================================
   CHECKOUT - TESTI MOLTO PIÙ GRANDI
   ===================================================== */

/* Titolo Pagamento rapido */
body:has(.wc-block-checkout)
.wc-block-components-express-payment__title,
body:has(.wc-block-checkout)
.wc-block-components-express-payment__event-buttons::before {
  color: #ffffff !important;
  font-family: 'bebas-neue', sans-serif !important;
  font-size: 28px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
  opacity: 1 !important;
}

/* Testo generale del checkout */
body:has(.wc-block-checkout)
.wc-block-checkout,
body:has(.wc-block-checkout)
.wc-block-checkout * {
  line-height: 1.45 !important;
}

/* Titoli principali */
body:has(.wc-block-checkout)
.wc-block-components-checkout-step__title,
body:has(.wc-block-checkout)
.wc-block-components-title,
body:has(.wc-block-checkout)
.wc-block-checkout__additional-fields h1,
body:has(.wc-block-checkout)
.wc-block-checkout__additional-fields h2,
body:has(.wc-block-checkout)
.wc-block-checkout__additional-fields h3 {
  font-size: 38px !important;
  line-height: 1.1 !important;
  color: #ffffff !important;
}

/* Etichette dei campi */
body:has(.wc-block-checkout)
.wc-block-components-text-input label,
body:has(.wc-block-checkout)
.wc-block-components-combobox-control label,
body:has(.wc-block-checkout)
.wc-block-components-address-form label {
  font-size: 22px !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
}

/* Testo dentro input, select e textarea */
body:has(.wc-block-checkout)
input,
body:has(.wc-block-checkout)
select,
body:has(.wc-block-checkout)
textarea {
  font-size: 22px !important;
  line-height: 1.3 !important;
}

/* Altezza campi */
body:has(.wc-block-checkout)
.wc-block-components-text-input input,
body:has(.wc-block-checkout)
.wc-block-components-combobox-control input,
body:has(.wc-block-checkout)
.wc-block-components-combobox-control select {
  min-height: 64px !important;
}

/* Checkbox e testi descrittivi */
body:has(.wc-block-checkout)
.wc-block-components-checkbox__label,
body:has(.wc-block-checkout)
.wc-block-components-checkout-step__description,
body:has(.wc-block-checkout)
.wc-block-checkout__additional-fields p,
body:has(.wc-block-checkout)
.wc-block-components-product-metadata {
  font-size: 20px !important;
  line-height: 1.5 !important;
  color: #ffffff !important;
}

/* Opzioni di spedizione e pagamento */
body:has(.wc-block-checkout)
.wc-block-components-radio-control__label {
  font-size: 25px !important;
  line-height: 1.25 !important;
  color: #ffffff !important;
}

body:has(.wc-block-checkout)
.wc-block-components-radio-control__secondary-label,
body:has(.wc-block-checkout)
.wc-block-components-radio-control__description {
  font-size: 20px !important;
}

/* Titolo riepilogo ordine */
body:has(.wc-block-checkout)
.wc-block-components-order-summary__button-text,
body:has(.wc-block-checkout)
.wc-block-components-checkout-order-summary__title-text {
  font-size: 30px !important;
  line-height: 1.15 !important;
}

/* Nome prodotto */
body:has(.wc-block-checkout)
.wc-block-components-product-name {
  font-size: 28px !important;
  line-height: 1.15 !important;
}

/* Prezzi e totali */
body:has(.wc-block-checkout)
.wc-block-components-totals-item__label,
body:has(.wc-block-checkout)
.wc-block-components-totals-item__value,
body:has(.wc-block-checkout)
.wc-block-formatted-money-amount {
  font-size: 22px !important;
}

/* Campi aggiuntivi del plugin */
body:has(.wc-block-checkout)
.thwcfe-block-fields,
body:has(.wc-block-checkout)
.thwcfe-block-fields label,
body:has(.wc-block-checkout)
.thwcfe-block-fields input,
body:has(.wc-block-checkout)
.thwcfe-block-fields select,
body:has(.wc-block-checkout)
.thwcfe-block-fields p {
  font-size: 22px !important;
  line-height: 1.45 !important;
}

/* Pulsante finale */
body:has(.wc-block-checkout)
.wc-block-components-checkout-place-order-button {
  min-height: 72px !important;
  font-size: 28px !important;
}
/* Sostituisce "Additional Information" */
body:has(.wc-block-checkout)
.wc-block-checkout__additional-fields
.wc-block-components-checkout-step__title {
  font-size: 0 !important;
}

body:has(.wc-block-checkout)
.wc-block-checkout__additional-fields
.wc-block-components-checkout-step__title::after {
  content: "DATI PER LA FATTURAZIONE";
  display: block;
  color: #ffffff;
  font-family: 'bebas-neue', sans-serif;
  font-size: 38px;
  line-height: 1.1;
  text-transform: uppercase;
}

/* =====================================================
   CHECKOUT RESPONSIVE - MOBILE E TABLET
   ===================================================== */

@media (max-width: 1000px) {

  /* Layout a colonna singola */
  body:has(.wc-block-checkout)
  .wc-block-components-sidebar-layout.wc-block-checkout,
  body:has(.wc-block-checkout)
  .wc-block-components-sidebar-layout.is-large {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 30px 20px 60px !important;
  }

  /* Colonna principale e riepilogo */
  body:has(.wc-block-checkout) .wc-block-checkout__main,
  body:has(.wc-block-checkout) .wc-block-checkout__sidebar {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
  }

  /* Riepilogo ordine sopra il checkout */
  body:has(.wc-block-checkout) .wc-block-checkout__sidebar {
    margin-bottom: 35px !important;
  }

  /* Evita overflow orizzontale */
  body:has(.wc-block-checkout) .wc-block-checkout,
  body:has(.wc-block-checkout) .wc-block-checkout *,
  body:has(.wc-block-checkout) .wc-block-components-sidebar-layout * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Pagamento rapido su più righe */
  body:has(.wc-block-checkout)
  .wc-block-components-express-payment__event-buttons,
  body:has(.wc-block-checkout)
  .wc-block-components-express-payment__event-buttons ul {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  body:has(.wc-block-checkout)
  .wc-block-components-express-payment__event-buttons li,
  body:has(.wc-block-checkout)
  .wc-block-components-express-payment__event-buttons iframe,
  body:has(.wc-block-checkout)
  .wc-block-components-express-payment__event-buttons > div {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  /* Titoli */
  body:has(.wc-block-checkout)
  .wc-block-components-checkout-step__title,
  body:has(.wc-block-checkout)
  .wc-block-components-title,
  body:has(.wc-block-checkout)
  .wc-block-checkout__additional-fields h1,
  body:has(.wc-block-checkout)
  .wc-block-checkout__additional-fields h2,
  body:has(.wc-block-checkout)
  .wc-block-checkout__additional-fields h3 {
    font-size: 28px !important;
    line-height: 1.15 !important;
  }

  /* Pagamento rapido */
  body:has(.wc-block-checkout)
  .wc-block-components-express-payment__title {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }

  /* Campi */
  body:has(.wc-block-checkout)
  .wc-block-components-text-input input,
  body:has(.wc-block-checkout)
  .wc-block-components-combobox-control input,
  body:has(.wc-block-checkout)
  .wc-block-components-combobox-control select,
  body:has(.wc-block-checkout)
  textarea,
  body:has(.wc-block-checkout)
  input,
  body:has(.wc-block-checkout)
  select {
    font-size: 17px !important;
    min-height: 54px !important;
  }

  body:has(.wc-block-checkout)
  .wc-block-components-text-input label,
  body:has(.wc-block-checkout)
  .wc-block-components-combobox-control label,
  body:has(.wc-block-checkout)
  .wc-block-components-address-form label {
    font-size: 15px !important;
  }

  /* Opzioni pagamento e spedizione */
  body:has(.wc-block-checkout)
  .wc-block-components-radio-control__label {
    font-size: 19px !important;
  }

  body:has(.wc-block-checkout)
  .wc-block-components-radio-control__option {
    padding: 16px !important;
  }

  /* Riepilogo */
  body:has(.wc-block-checkout)
  .wc-block-components-product-name {
    font-size: 21px !important;
  }

  body:has(.wc-block-checkout)
  .wc-block-components-totals-item__label,
  body:has(.wc-block-checkout)
  .wc-block-components-totals-item__value {
    font-size: 17px !important;
  }
}

@media (max-width: 520px) {

  body:has(.wc-block-checkout)
  .wc-block-components-sidebar-layout.wc-block-checkout {
    padding: 24px 14px 50px !important;
  }

  /* Un pulsante per riga sui telefoni stretti */
  body:has(.wc-block-checkout)
  .wc-block-components-express-payment__event-buttons,
  body:has(.wc-block-checkout)
  .wc-block-components-express-payment__event-buttons ul {
    grid-template-columns: 1fr !important;
  }

  body:has(.wc-block-checkout)
  .wc-block-components-checkout-step__title,
  body:has(.wc-block-checkout)
  .wc-block-components-title {
    font-size: 25px !important;
  }

  body:has(.wc-block-checkout)
  .wc-block-components-express-payment__title {
    font-size: 20px !important;
  }
}

/* =====================================================
   FIX CHECKOUT: TITOLO PAGINA E RIEPILOGO ORDINE
   ===================================================== */

/* Il titolo pagina "CARRELLO" torna contenuto e centrato */
body:has(.wc-block-checkout) .entry-title,
body:has(.wc-block-checkout) .page-title,
body:has(.wc-block-checkout) h1.entry-title,
body:has(.wc-block-checkout) .colibri-post-title {
  width: auto !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  font-size: 42px !important;
  line-height: 1.1 !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* Il full width deve valere solo per il blocco checkout */
body:has(.wc-block-checkout)
.wp-block-woocommerce-checkout {
  width: 100% !important;
  max-width: none !important;
}

/* =====================================================
   RIEPILOGO ORDINE: TESTI RIDIMENSIONATI
   ===================================================== */

/* Titolo riepilogo */
body:has(.wc-block-checkout)
.wc-block-components-checkout-order-summary__title-text,
body:has(.wc-block-checkout)
.wc-block-components-order-summary__button-text {
  font-size: 22px !important;
  line-height: 1.15 !important;
}

/* Nome prodotto */
body:has(.wc-block-checkout)
.wc-block-components-product-name {
  font-size: 20px !important;
  line-height: 1.2 !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
}

/* Descrizione prodotto */
body:has(.wc-block-checkout)
.wc-block-components-product-metadata,
body:has(.wc-block-checkout)
.wc-block-components-product-metadata p {
  font-size: 14px !important;
  line-height: 1.4 !important;
}

/* Prezzi prodotto */
body:has(.wc-block-checkout)
.wc-block-components-product-price,
body:has(.wc-block-checkout)
.wc-block-components-product-price__value,
body:has(.wc-block-checkout)
.wc-block-formatted-money-amount {
  font-size: 16px !important;
  line-height: 1.2 !important;
}

/* Totali */
body:has(.wc-block-checkout)
.wc-block-components-totals-item__label,
body:has(.wc-block-checkout)
.wc-block-components-totals-item__value {
  font-size: 16px !important;
  line-height: 1.3 !important;
}

/* Riepilogo: larghezza più equilibrata */
body:has(.wc-block-checkout)
.wc-block-checkout__sidebar {
  flex-basis: 360px !important;
  width: 360px !important;
  max-width: 360px !important;
}

/* Evita parole spezzate male */
body:has(.wc-block-checkout)
.wc-block-components-order-summary-item__description,
body:has(.wc-block-checkout)
.wc-block-components-product-name {
  white-space: normal !important;
  word-break: normal !important;
}

/* Mobile */
@media (max-width: 1000px) {
  body:has(.wc-block-checkout)
  .wc-block-checkout__sidebar {
    width: 100% !important;
    max-width: none !important;
    flex-basis: auto !important;
  }

  body:has(.wc-block-checkout)
  .wc-block-components-product-name {
    font-size: 18px !important;
  }

  body:has(.wc-block-checkout)
  .wc-block-components-checkout-order-summary__title-text,
  body:has(.wc-block-checkout)
  .wc-block-components-order-summary__button-text {
    font-size: 20px !important;
  }

  body:has(.wc-block-checkout) .entry-title,
  body:has(.wc-block-checkout) .page-title {
    font-size: 34px !important;
  }
}

/* =====================================================
   SHOP - PULSANTI CARRELLO SENZA SOVRAPPOSIZIONI
   ===================================================== */

body.woocommerce-shop ul.products li.product,
body.post-type-archive-product ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

/* Link principale contenente immagine, titolo e prezzo */
body.woocommerce-shop ul.products li.product
a.woocommerce-LoopProduct-link,
body.post-type-archive-product ul.products li.product
a.woocommerce-LoopProduct-link {
  display: block !important;
  width: 100% !important;
}

/* Pulsante aggiungi al carrello */
body.woocommerce-shop ul.products li.product
a.button.add_to_cart_button,
body.post-type-archive-product ul.products li.product
a.button.add_to_cart_button {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  float: none !important;
  clear: both !important;

  order: 10 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: calc(100% - 40px) !important;
  min-width: 0 !important;
  min-height: 46px !important;
  margin: 18px 20px 0 !important;
  padding: 12px 10px !important;

  background: #C5191F !important;
  color: #ffffff !important;
  border: 1px solid #C5191F !important;
  box-sizing: border-box !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

/* Link visualizza carrello */
body.woocommerce-shop ul.products li.product
a.added_to_cart.wc-forward,
body.post-type-archive-product ul.products li.product
a.added_to_cart.wc-forward {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;

  transform: none !important;
  float: none !important;
  clear: both !important;
  z-index: auto !important;

  order: 20 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: calc(100% - 40px) !important;
  min-width: 0 !important;
  min-height: 44px !important;
  margin: 10px 20px 20px !important;
  padding: 11px 10px !important;

  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid #C5191F !important;
  border-radius: 4px !important;

  font-family: 'bebas-neue', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: normal !important;
  box-sizing: border-box !important;
}

body.woocommerce-shop ul.products li.product
a.added_to_cart.wc-forward:hover,
body.post-type-archive-product ul.products li.product
a.added_to_cart.wc-forward:hover {
  background: #ffffff !important;
  color: #C5191F !important;
  border-color: #ffffff !important;
}

.menu-carrello > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
}

.menu-cart-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-width: 24px !important;
  height: 24px !important;
  padding: 0 6px !important;

  background: #C5191F !important;
  color: #ffffff !important;
  border-radius: 20px !important;

  font-family: Arial, sans-serif !important;
  font-size: 13px !important;
  line-height: 1 !important;
}
.menu-cart-count {
  min-width: 23px !important;
  height: 23px !important;
  padding: 0 8px !important;

  font-family: Arial, sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 30px !important;

  background: #C5191F !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  text-align: center !important;
}

/* =====================================================
   MENU RESPONSIVE - mantiene una sola riga
   ===================================================== */

/* Desktop */
@media (max-width: 1450px) {
    .header-navigation a,
    .navigation a,
    .h-navigation a,
    .h-menu a {
        font-size: 24px !important;
        letter-spacing: 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Schermi come quello dello screenshot */
@media (max-width: 1280px) {
    .header-navigation a,
    .navigation a,
    .h-navigation a,
    .h-menu a {
        font-size: 20px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

/* Evita il ritorno a capo */
.header-navigation ul,
.navigation ul,
.h-navigation ul,
.h-menu ul {
    flex-wrap: nowrap !important;
}

.header-navigation li,
.navigation li,
.h-navigation li,
.h-menu li {
    white-space: nowrap !important;
}
body.single-product .product_meta {
  display: none !important;
}

/* =====================================================
   PAGAMENTO RAPIDO - LAYOUT SENZA FORZARE I WALLET
   ===================================================== */

/* Contenitore generale */
body:has(.wc-block-checkout)
.wc-block-components-express-payment__event-buttons,
body:has(.wc-block-checkout)
.wc-block-components-express-payment__event-buttons ul {
  width: 100% !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/*
 * Non impostare display, visibility o opacity sui singoli
 * pulsanti: devono essere controllati da Stripe.
 */
body:has(.wc-block-checkout)
.wc-block-components-express-payment__event-buttons li {
  min-width: 0 !important;
  margin: 0 !important;
}

/* I pulsanti realmente disponibili occupano lo spazio */
body:has(.wc-block-checkout)
.wc-block-components-express-payment__event-buttons li:not([style*="display: none"]) {
  flex: 1 1 220px !important;
}

/* Dimensioni degli iframe effettivamente caricati */
body:has(.wc-block-checkout)
.wc-block-components-express-payment__event-buttons iframe {
  width: 100% !important;
  max-width: none !important;
}

/* Mobile */
@media (max-width: 700px) {
  body:has(.wc-block-checkout)
  .wc-block-components-express-payment__event-buttons,
  body:has(.wc-block-checkout)
  .wc-block-components-express-payment__event-buttons ul {
    gap: 10px !important;
  }

  body:has(.wc-block-checkout)
  .wc-block-components-express-payment__event-buttons li {
    flex-basis: 100% !important;
  }
}
/* =====================================================
   PAGAMENTO RAPIDO - PULIZIA GRAFICA E ALLINEAMENTO
   ===================================================== */

body:has(.wc-block-checkout)
.wc-block-components-express-payment {
  background: #101212 !important;
  border: 1px solid rgba(197, 25, 31, 0.65) !important;
  border-radius: 6px !important;
  padding: 22px 24px !important;
  
}

/* Rimuove la linea interna */
body:has(.wc-block-checkout)
.wc-block-components-express-payment__content,
body:has(.wc-block-checkout)
.wc-block-components-express-payment__event-buttons,
body:has(.wc-block-checkout)
.wc-block-components-express-payment__event-buttons ul {
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Allinea correttamente i pulsanti */
body:has(.wc-block-checkout)
.wc-block-components-express-payment__event-buttons,
body:has(.wc-block-checkout)
.wc-block-components-express-payment__event-buttons ul {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Singoli elementi */
body:has(.wc-block-checkout)
.wc-block-components-express-payment__event-buttons li,
body:has(.wc-block-checkout)
.wc-block-components-express-payment__event-buttons > div {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

/* Altezza uniforme */
body:has(.wc-block-checkout)
.wc-block-components-express-payment__event-buttons iframe,
body:has(.wc-block-checkout)
.wc-block-components-express-payment__event-buttons button,
body:has(.wc-block-checkout)
.wc-block-components-express-payment__event-buttons > div {
  width: 100% !important;
  min-height: 48px !important;
  max-height: 48px !important;
  border-radius: 4px !important;
}

/* Titolo pagamento rapido */
body:has(.wc-block-checkout)
.wc-block-components-express-payment__title {
  background: #101212 !important;
  color: #ffffff !important;
  padding: 0 10px !important;
  margin-left: 0 !important;
}

/* Tablet */
@media (max-width: 900px) {
  body:has(.wc-block-checkout)
  .wc-block-components-express-payment__event-buttons,
  body:has(.wc-block-checkout)
  .wc-block-components-express-payment__event-buttons ul {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Mobile */
@media (max-width: 520px) {
  body:has(.wc-block-checkout)
  .wc-block-components-express-payment__event-buttons,
  body:has(.wc-block-checkout)
  .wc-block-components-express-payment__event-buttons ul {
    grid-template-columns: 1fr !important;
  }
}
/* =====================================================
   PAYPAL EXPRESS - NASCONDE IL CONTENITORE VUOTO
   ===================================================== */

li#express-payment-method-ppcp-gateway-paypal:empty,
li#express-payment-method-ppcp-gateway-paypal:not(:has(iframe)):not(:has(button)) {
  display: none !important;
}
body:has(.wc-block-checkout)
.wc-block-components-express-payment__event-buttons,
body:has(.wc-block-checkout)
.wc-block-components-express-payment__event-buttons ul {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* =====================================================
   CHECKBOX E RADIO - SPUNTA ROSSA VISIBILE
   ===================================================== */

/* Base */
body.woocommerce-checkout input[type="radio"],
body.woocommerce-checkout input[type="checkbox"],
body:has(.wc-block-checkout) input[type="radio"],
body:has(.wc-block-checkout) input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;

  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;

  background: #0e1010 !important;
  border: 2px solid #777777 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  position: relative !important;
}

/* Radio rotondo */
body.woocommerce-checkout input[type="radio"],
body:has(.wc-block-checkout) input[type="radio"] {
  border-radius: 50% !important;
}

/* Checkbox quadrato */
body.woocommerce-checkout input[type="checkbox"],
body:has(.wc-block-checkout) input[type="checkbox"] {
  border-radius: 3px !important;
}

/* Radio selezionato */
body.woocommerce-checkout input[type="radio"]:checked,
body:has(.wc-block-checkout) input[type="radio"]:checked {
  border-color: #C5191F !important;
}

body.woocommerce-checkout input[type="radio"]:checked::after,
body:has(.wc-block-checkout) input[type="radio"]:checked::after {
  content: "" !important;
  position: absolute !important;
  width: 10px !important;
  height: 10px !important;
  top: 4px !important;
  left: 4px !important;
  background: #C5191F !important;
  border-radius: 50% !important;
}

/* Checkbox selezionato con spunta */
body.woocommerce-checkout input[type="checkbox"]:checked,
body:has(.wc-block-checkout) input[type="checkbox"]:checked {
  background: #C5191F !important;
  border-color: #C5191F !important;
}

body.woocommerce-checkout input[type="checkbox"]:checked::after,
body:has(.wc-block-checkout) input[type="checkbox"]:checked::after {
  content: "✓" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -54%) !important;

  color: #ffffff !important;
  font-family: Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

/* Hover */
body.woocommerce-checkout input[type="radio"]:hover,
body.woocommerce-checkout input[type="checkbox"]:hover,
body:has(.wc-block-checkout) input[type="radio"]:hover,
body:has(.wc-block-checkout) input[type="checkbox"]:hover {
  border-color: #C5191F !important;
}
/* Rimuove completamente la spunta nativa WooCommerce */
body.woocommerce-checkout input[type="checkbox"]:checked,
body:has(.wc-block-checkout) input[type="checkbox"]:checked {
  background-image: none !important;
}

/* Nasconde eventuale SVG/icona interna generata da WooCommerce */
body.woocommerce-checkout .wc-block-components-checkbox__input svg,
body:has(.wc-block-checkout) .wc-block-components-checkbox__input svg,
body.woocommerce-checkout .wc-block-components-checkbox svg,
body:has(.wc-block-checkout) .wc-block-components-checkbox svg {
  display: none !important;
}

/* Mantiene solo la spunta bianca personalizzata */
body.woocommerce-checkout input[type="checkbox"]:checked::after,
body:has(.wc-block-checkout) input[type="checkbox"]:checked::after {
  content: "✓" !important;
  color: #ffffff !important;
  z-index: 2 !important;
}

/* =====================================================
   PAGAMENTI RAPIDI SCHEDA PRODOTTO
   Tutti i pulsanti della stessa larghezza
   ===================================================== */

body.single-product
.wc-block-components-express-payment__event-buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 0 10px !important;
    padding: 0 !important;

    list-style: none !important;
    border: 0 !important;
    background: transparent !important;
}

/* Singoli metodi Stripe */
body.single-product
.wc-block-components-express-payment__event-buttons > li {
    display: block !important;
    grid-column: 1 !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
}

/* Apple Pay, Google Pay e Link */
body.single-product
.wc-block-components-express-payment__event-buttons button,
body.single-product
.wc-block-components-express-payment__event-buttons iframe,
body.single-product
.wc-block-components-express-payment__event-buttons [role="button"],
body.single-product
.wc-block-components-express-payment__event-buttons > li > div {
    display: block !important;

    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;

    margin: 0 !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
}

/* Contenitore PayPal nella pagina prodotto */
body.single-product
.ppcp-button-wrapper,
body.single-product
.ppc-button-wrapper,
body.single-product
[id*="ppcp"],
body.single-product
[class*="ppcp-button"] {
    display: block !important;

    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

    margin: 8px 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Pulsante PayPal effettivo */
body.single-product
.ppcp-button-wrapper iframe,
body.single-product
.ppc-button-wrapper iframe,
body.single-product
[id*="ppcp"] iframe,
body.single-product
[class*="ppcp-button"] iframe {
    display: block !important;

    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;

    margin: 0 !important;
    box-sizing: border-box !important;
}
/* ===== Fix pagina Carrello WooCommerce (Cart Block) ===== */

/* Nascondi i pulsanti di pagamento espresso vuoti (Apple Pay, Google Pay, Link)
   che spesso restano visibili ma senza contenuto, creando spazi vuoti */
.wc-block-components-express-payment__event-buttons li:empty {
    display: none !important;
}

/* Se anche con :empty non si nascondono (a volte contengono un div vuoto),
   nascondi direttamente quelli specifici non funzionanti - regola/rimuovi
   in base a quali NON vuoi mostrare */
#express-payment-method-express_checkout_element_applePay:empty,
#express-payment-method-express_checkout_element_googlePay:empty,
#express-payment-method-express_checkout_element_link:empty {
    display: none !important;
}

/* Allinea meglio il blocco dei pulsanti (rimuove spazi vuoti tra loro) */
.wc-block-components-express-payment__event-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 !important;
}

/* Riduci lo spazio eccessivo sopra/sotto il divisore "Oppure" */
.wc-block-components-express-payment-continue-rule {
    margin: 12px 0 !important;
}

/* Allinea correttamente la scritta "OPPURE" con le due linee laterali */
.wc-block-components-express-payment-continue-rule {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: center;
}
.wc-block-components-express-payment-continue-rule::before,
.wc-block-components-express-payment-continue-rule::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

/* Riepilogo carrello: spaziatura uniforme tra le righe (totale, spedizione, ecc.) */
.wc-block-components-totals-item {
    padding: 12px 0 !important;
    margin: 0 !important;
}

/* Rimuove margini doppi tra sezioni del riepilogo */
.wc-block-cart__totals-title,
.wc-block-components-totals-wrapper {
    margin-bottom: 8px !important;
}

/* Allinea a destra tutti i valori numerici nel riepilogo */
.wc-block-components-totals-item__value {
    text-align: right;
}
/* ===== Nascondi i metodi di pagamento espresso non configurati/vuoti ===== */

/* Nasconde specificamente Apple Pay, Google Pay e Link (vuoti nel tuo caso) */
#express-payment-method-express_checkout_element_applePay,
#express-payment-method-express_checkout_element_googlePay,
#express-payment-method-express_checkout_element_link {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Rimuove anche eventuali margini residui sulla lista che li contiene */
.wc-block-components-express-payment__event-buttons {
    margin: 0 !important;
    padding: 0 !important;
}

/* Toglie lo spazio del contenitore express-payment se PayPal è l'unico visibile */
.wc-block-components-express-payment__content {
    margin-bottom: 0 !important;
}
/* ===== Fix pulsanti pagamento scheda prodotto ===== */

/* Contenitore generale dei pulsanti express payment (Apple Pay, Google Pay, Link) */
.wc-block-components-express-payment,
.woocommerce div.product form.cart .payment_methods,
[class*="express-payment"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 12px !important;
}

/* Riga con Apple Pay + Google Pay affiancati, stessa altezza e larghezza */
.wc-block-components-express-payment__event-buttons {
    display: flex !important;
    gap: 10px !important;
    width: 100% !important;
}

.wc-block-components-express-payment__event-buttons > li {
    flex: 1 1 0 !important;
    margin: 0 !important;
    display: flex !important;
}

.wc-block-components-express-payment__event-buttons > li > * {
    width: 100% !important;
    height: 48px !important;
}

/* Uniforma altezza e border-radius di TUTTI i pulsanti (Apple/Google/Link/PayPal) */
[class*="apple-pay"],
[class*="applepay"],
[class*="google-pay"],
[class*="googlepay"],
[id*="link"],
[class*="paypal-button"],
.wc-block-components-express-payment button,
.wc-block-components-express-payment iframe {
    height: 48px !important;
    border-radius: 6px !important;
    width: 100% !important;
}
/* ===== Fix Stripe Express Checkout (scheda prodotto) ===== */

/* Contenitore principale: resetta margini imposti inline dal plugin */
#wc-stripe-express-checkout-element {
    margin-top: 16px !important;
    clear: both !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

/* Ogni singolo metodo di pagamento (Apple Pay, Google Pay, Link) */
#wc-stripe-express-checkout-element > div {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    transition: none !important; /* elimina l'animazione che sfasa l'altezza durante il caricamento */
}

/* L'elemento Stripe interno (contenitore dell'iframe) */
#wc-stripe-express-checkout-element .StripeElement {
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* L'iframe stesso deve riempire tutto lo spazio del contenitore */
#wc-stripe-express-checkout-element iframe {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* Spazio uniforme prima del pulsante "Paga con PayPal" classico */
form.cart {
    display: flex;
    flex-direction: column;
}
/* ===== Fix altezza pulsanti Stripe Express Checkout ===== */

/* Ogni singolo metodo di pagamento: altezza fissa e uguale per tutti */
#wc-stripe-express-checkout-element-applePay,
#wc-stripe-express-checkout-element-googlePay,
#wc-stripe-express-checkout-element-link,
#wc-stripe-express-checkout-element > div {
    height: 48px !important;
    max-height: 48px !important;
    min-height: 48px !important;
    margin: 0 0 10px 0 !important;
    overflow: hidden !important;
    transition: none !important;
}

/* Lo StripeElement interno */
#wc-stripe-express-checkout-element .StripeElement,
#wc-stripe-express-checkout-element ._PrivateStripeElement {
    height: 48px !important;
    max-height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: none !important;
}

/* Gli iframe stessi (Apple Pay, Google Pay, Link) */
#wc-stripe-express-checkout-element iframe {
    height: 48px !important;
    max-height: 48px !important;
    min-height: 48px !important;
    width: 100% !important;
    transition: none !important;
}

/* Contenitore generale: gap pulito e niente margini extra */
#wc-stripe-express-checkout-element {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 16px !important;
}

/* ===== Ingrandisci il pulsante "Procedi al pagamento" ===== */
.wc-block-cart__submit .wc-proceed-to-checkout-button,
.wp-block-woocommerce-proceed-to-checkout-block a {
    font-size: 20px !important;
    padding: 20px 30px !important;
    min-height: 64px !important;
    line-height: 1.4 !important;
    border-radius: 6px !important;
}

/* ===== Aggiunge il testo con le opzioni di pagamento SOPRA il pulsante ===== */
.wc-block-cart__submit.wp-block-woocommerce-proceed-to-checkout-block::before {
    content: "Procedi per il pagamento in caso di:\A Carta di Credito\A Bonifico bancario\A Acquisto con Fattura";
    white-space: pre-line;
    display: block;
    text-align: center;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 14px;
    font-weight: 500;
}

/* ===== Testo opzioni di pagamento sopra il pulsante ===== */
.wc-block-cart__submit.wp-block-woocommerce-proceed-to-checkout-block::before {
    content: "Procedi per il pagamento in caso di:\A Carta di Credito\A Bonifico bancario\A Acquisto con Fattura";
    white-space: pre-line;
    display: block;
    width: 100%;
    flex: 1 1 100%;
    text-align: center;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 14px;
    font-weight: 500;
    text-transform: none !important;
}

/* ===== Ingrandisci il pulsante "Procedi al pagamento" ===== */
.wc-block-cart__submit .wc-proceed-to-checkout-button,
.wp-block-woocommerce-proceed-to-checkout-block a {
    font-size: 20px !important;
    padding: 20px 30px !important;
    min-height: 64px !important;
    line-height: 1.4 !important;
    border-radius: 6px !important;
}