.elementor-kit-37{--e-global-color-primary:#1C1C1C;--e-global-color-secondary:#212121;--e-global-color-text:#FFD54F;--e-global-color-accent:#FFC107;--e-global-color-86b4fcd:#02010100;--e-global-color-96e9a00:#FAFAFA;--e-global-color-5da0728:#263238;--e-global-color-09d0ab6:#00695C;--e-global-color-ad227a2:#004D40;--e-global-color-007b0c8:#1C282E;--e-global-typography-primary-font-family:"Quattrocento";--e-global-typography-primary-font-size:5vw;--e-global-typography-primary-font-weight:400;--e-global-typography-primary-text-transform:uppercase;--e-global-typography-primary-font-style:normal;--e-global-typography-primary-text-decoration:none;--e-global-typography-primary-line-height:1.2em;--e-global-typography-primary-letter-spacing:-0.02em;--e-global-typography-primary-word-spacing:0em;--e-global-typography-secondary-font-family:"Great Vibes";--e-global-typography-secondary-font-size:50px;--e-global-typography-secondary-font-weight:400;--e-global-typography-secondary-text-transform:capitalize;--e-global-typography-secondary-font-style:normal;--e-global-typography-secondary-text-decoration:none;--e-global-typography-secondary-line-height:1.1em;--e-global-typography-secondary-letter-spacing:1px;--e-global-typography-secondary-word-spacing:0em;--e-global-typography-text-font-family:"Quattrocento Sans";--e-global-typography-text-font-size:18px;--e-global-typography-text-font-weight:300;--e-global-typography-text-text-transform:none;--e-global-typography-text-font-style:normal;--e-global-typography-text-text-decoration:none;--e-global-typography-text-line-height:1.5em;--e-global-typography-text-letter-spacing:0px;--e-global-typography-text-word-spacing:0em;--e-global-typography-accent-font-family:"Quattrocento Sans";--e-global-typography-accent-font-size:16px;--e-global-typography-accent-font-weight:400;--e-global-typography-accent-text-transform:capitalize;--e-global-typography-accent-font-style:normal;--e-global-typography-accent-text-decoration:none;--e-global-typography-accent-line-height:1.2em;--e-global-typography-accent-letter-spacing:0px;--e-global-typography-accent-word-spacing:0em;--e-global-typography-0bfb884-font-family:"Quattrocento";--e-global-typography-0bfb884-font-size:3.8vw;--e-global-typography-0bfb884-font-weight:400;--e-global-typography-0bfb884-text-transform:uppercase;--e-global-typography-0bfb884-font-style:normal;--e-global-typography-0bfb884-text-decoration:none;--e-global-typography-0bfb884-line-height:1.2em;--e-global-typography-0bfb884-letter-spacing:-0.02em;--e-global-typography-0bfb884-word-spacing:0px;--e-global-typography-f455da5-font-family:"Quattrocento Sans";--e-global-typography-f455da5-font-size:35px;--e-global-typography-f455da5-font-weight:300;--e-global-typography-f455da5-text-transform:none;--e-global-typography-f455da5-font-style:normal;--e-global-typography-f455da5-text-decoration:none;--e-global-typography-f455da5-line-height:1.5em;--e-global-typography-f455da5-letter-spacing:0px;--e-global-typography-f455da5-word-spacing:0em;--e-global-typography-d6a051f-font-family:"Quattrocento";--e-global-typography-d6a051f-font-size:25px;--e-global-typography-d6a051f-font-weight:500;--e-global-typography-d6a051f-line-height:26.5px;--e-global-typography-28901f8-font-family:"Quattrocento";--e-global-typography-28901f8-font-size:30px;--e-global-typography-28901f8-font-weight:700;--e-global-typography-28901f8-line-height:32px;--e-global-typography-b4c50ad-font-family:"Arial";--e-global-typography-b4c50ad-font-size:8px;--e-global-typography-b4c50ad-text-transform:uppercase;--e-global-typography-b4c50ad-letter-spacing:-0.5px;--e-global-typography-b4c50ad-word-spacing:0px;--e-global-typography-337f96e-font-family:"Arial";--e-global-typography-337f96e-text-transform:uppercase;background-color:#0F0F0F;color:#FFC207;}.elementor-kit-37 button,.elementor-kit-37 input[type="button"],.elementor-kit-37 input[type="submit"],.elementor-kit-37 .elementor-button{background-color:var( --e-global-color-5da0728 );color:var( --e-global-color-accent );}.elementor-kit-37 button:hover,.elementor-kit-37 button:focus,.elementor-kit-37 input[type="button"]:hover,.elementor-kit-37 input[type="button"]:focus,.elementor-kit-37 input[type="submit"]:hover,.elementor-kit-37 input[type="submit"]:focus,.elementor-kit-37 .elementor-button:hover,.elementor-kit-37 .elementor-button:focus{background-color:var( --e-global-color-secondary );color:var( --e-global-color-text );}.elementor-kit-37 e-page-transition{background-color:#FFBC7D;}.elementor-kit-37 a{color:var( --e-global-color-accent );font-size:71px;}.elementor-kit-37 a:hover{color:#BB2222;}.elementor-kit-37 h1{color:#FFC207;}.elementor-kit-37 h2{color:#FFC207;}.elementor-kit-37 h3{color:#FFC207;}.elementor-kit-37 h4{color:#FFC207;}.elementor-kit-37 h5{color:#FFC207;}.elementor-kit-37 h6{color:#FFC207;}.elementor-kit-37 img:hover{border-radius:0px 0px 0px 0px;}.elementor-kit-37 img{transition-duration:0.5s;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1300px;}.e-con{--container-max-width:1300px;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-kit-37{--e-global-typography-primary-font-size:45px;--e-global-typography-secondary-font-size:32px;--e-global-typography-text-font-size:16px;--e-global-typography-accent-font-size:14px;--e-global-typography-0bfb884-font-size:32px;--e-global-typography-f455da5-font-size:24px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-37{--e-global-typography-primary-font-size:40px;--e-global-typography-primary-line-height:1.1em;--e-global-typography-secondary-font-size:36px;--e-global-typography-text-font-size:18px;--e-global-typography-accent-font-size:18px;--e-global-typography-0bfb884-font-size:36px;--e-global-typography-f455da5-font-size:18px;--e-global-typography-337f96e-font-size:14px;--e-global-typography-337f96e-letter-spacing:-0.6px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* Risultati Ricerca */

.search-results-content .entry-title a {
  font-size: 1em;       /* dimensione testo */
  color: #ffc207;       /* colore giallo */
  text-decoration: none;
  margin-top:100px;
}

.search-results-content .entry-title a:hover {
  color: #e0a800;       /* variante più scura al passaggio */
}

/* Descrizione breve sotto il titolo */
.search-results-content p span {
  font-size: 1em;
  color: #ffc207;
}

/* Titolo del widget */
.widget_product_categories .widget-title {
  font-size: 1em;
  color: #ffc207;
}

/* Link delle categorie */
.widget_product_categories .product-categories li a {
  font-size: 1em;
  color: #ffc207;
  text-decoration: none;
}
/* Titolo del widget */
.widget_recently_viewed_products .widget-title {
  font-size: 1em ;
  color: #ffc207 ;
}

/* Titoli dei prodotti */
.widget_recently_viewed_products .product_list_widget .product-title {
  font-size: 1em ;
  color: #ffc207 ;
  text-decoration: none;
}

/* Prezzo dei prodotti */
.widget_recently_viewed_products .woocommerce-Price-amount {
  font-size: 1em ;
  color: #ffc207 ;
}

/* Hover sui titoli dei prodotti */
.widget_recently_viewed_products .product_list_widget a:hover .product-title {
  color: #e0a800 ; /* giallo più scuro al passaggio */
}


/*rercentlyviewed products*/

/* Forza dimensione e colore dei titoli prodotti nel widget Recently Viewed */
.widget_recently_viewed_products ul.product_list_widget li a {
  font-size: 1em ;   /* dimensione testo */
  color: #ffc207 ;   /* colore giallo */
  line-height: 1.4em;          /* opzionale per dare respiro */
  text-decoration: none;
}

/* Assicura che lo span interno erediti correttamente */
.widget_recently_viewed_products ul.product_list_widget li a span.product-title {
  font-size: inherit;
  color: inherit ;
}

.widget_recently_viewed_products ul.product_list_widget li a {
  border: 1px solid red;
}
















/* ================================
   CATEGORIA SCONTI — STILI IDENTICI AI PRODOTTI SIMILI
   ================================ */

/* Contenitore generale */
.product_cat-sconti ul.products li.product {
  padding: 10px 10px 10px 10px;
  margin-right: 20px;
  margin-left: 20px;
  margin-bottom: 15px;
}

/* --- Categoria (badge) --- */
.product_cat-sconti .woocommerce-card__header .product__categories,
.product_cat-sconti .woocommerce-card__header .product__categories a {
  font-size: 0.75em !important;
  color: #000000 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  margin: 0 0 4px 0 !important;
  display: inline-block !important;
}

.product_cat-sconti .woocommerce-card__header .product__categories a:hover {
  background: #ffc207 !important;
  color: #000000 !important;
}

/* --- Titolo prodotto --- */
.product_cat-sconti .woocommerce-loop-product__title,
.product_cat-sconti .woocommerce-loop-product__title a {
  font-size: 0.8em !important;
  line-height: 1.25 !important;
  color: #ffc207 !important;
  font-weight: 600 !important;
  margin: 6px 0 !important;
  display: block !important;
  text-decoration: none !important;
}

.product_cat-sconti .woocommerce-loop-product__title a:hover {
  color: #d16b04 !important;
}

/* --- Prezzo --- */
.product_cat-sconti .price,
.product_cat-sconti .woocommerce-Price-amount {
  font-size: 0.8em !important;
  color: #ffc207 !important;
  font-weight: 700 !important;
}

/* --- Icone ShopEngine (wishlist, compare, quickview) --- */
.product_cat-sconti .se-btn,
.product_cat-sconti .badge,
.product_cat-sconti .shopengine-quickview-trigger {
  font-size: 0.8em !important;
  color: #000000 !important;
  background-color: #ffc207 !important;
  padding: 4px;
  transform: scale(0.85) !important;
  margin-right: 4px !important;
  margin-bottom: 25px;
}

/* --- Bottone Add to Cart --- */
.product_cat-sconti a.add_to_cart_button,
.product_cat-sconti a.button {
  font-size: 0.75em !important;
  padding: 6px 6px !important;
  background-color: #ffc207 !important;
  color: #000000 !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  margin-top: 10px !important;
  display: inline-block !important;
}

.product_cat-sconti a.add_to_cart_button:hover,
.product_cat-sconti a.button:hover {
  background-color: #ffb207 !important;
}

/* --- Header card spacing --- */
.product_cat-sconti .woocommerce-card__header {
  padding: 6px 0 !important;
}

/* ================================
   Manda Add to Cart su nuova riga
   ================================ */
.product_cat-sconti a.add_to_cart_button,
.product_cat-sconti a.button {
  display: block !important;
  width: 100% !important;
  margin: 80px 10px 0 0 !important;
  padding: 10px 0px 0px 0px !important;
  text-align: center !important;
}

/* Flex fix */
.product_cat-sconti ul.products li.product form.cart,
.product_cat-sconti ul.products li.product .woocommerce-card__header {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 2px !important;
}

.product_cat-sconti ul.products li.product form.cart .add_to_cart_button,
.product_cat-sconti ul.products li.product form.cart .single_add_to_cart_button {
  flex-basis: 100% !important;
  order: 99 !important;
  margin-top: 80px !important;
}

/* ================================
   Centra la griglia
   ================================ */
.product_cat-sconti {
  text-align: center !important;
}

.product_cat-sconti ul.products {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 18px !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  list-style: none !important;
}

.product_cat-sconti ul.products li.product {
  box-sizing: border-box !important;
  width: 220px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 10px !important;
}

.product_cat-sconti ul.products li.product img {
  display: block !important;
  margin: 0 auto !important;
  max-width: 100% !important;
  height: auto !important;
}

.product_cat-sconti ul.products li.product .woocommerce-card__header,
.product_cat-sconti ul.products li.product .woocommerce-loop-product__title,
.product_cat-sconti ul.products li.product .price {
  width: 100% !important;
  text-align: center !important;
}

/* Mobile */
@media (max-width: 768px) {
  .product_cat-sconti ul.products {
    justify-content: center !important;
  }
  .product_cat-sconti ul.products li.product {
    width: calc(100% - 40px) !important;
    max-width: 420px !important;
  }
}

























/*
=========================
PRODOTTO SINGOLO
=========================
*/

/* ================================
   Prezzo nel widget Elementor (ID: 9b40a8e) 
   ================================ */

.elementor-element-9b40a8e .price,
.elementor-element-9b40a8e .price .woocommerce-Price-amount,
.elementor-element-9b40a8e .price .woocommerce-Price-amount bdi,
.elementor-element-9b40a8e .price .woocommerce-Price-currencySymbol {
  font-size: 1.26em !important;
  line-height: 1.2 !important;
  color: #d16b04 !important; /* opzionale, per uniformità */
  font-weight: 600 !important;
}




/* ================================
   WIDGET ADD TO CART 
   Stile coerente con la sezione precedente
   ================================ */

/* Layout generale */
.elementor-add-to-cart {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

/* Layout del form */
form.cart {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ================================
   ICONCINE WISHLIST / COMPARE
   ================================ */
.shopengine_add_to_list_action,
.shopengine_comparison_add_to_list_action {
  font-size: 0.8em !important;
  transform: scale(0.85) !important;
  margin-right: 4px !important;
  background-color: #ffc207 !important;
  color:#000000;
}

.shopengine_add_to_list_action i,
.shopengine_comparison_add_to_list_action i {
  font-size: 1.1em !important;
  color: #000000 !important;
  
}

/* ================================
   QUANTITÀ
   ================================ */
.quantity input.qty {
  font-size: 0.8em !important;
  padding: 6px 8px !important;
  height: 34px !important;
  border-radius: 4px !important;
  border: 1px solid #ccc !important;
  width: 60px !important;
  
}

/* ================================
   BOTTONE ADD TO CART
   ================================ */
.single_add_to_cart_button {
  font-size: 0.8em !important;
  padding: 10px 10px !important;
  background-color: #ffc207 !important;
  color: #000000 !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
}

.single_add_to_cart_button:hover {
  background-color: #ffb207 !important;
}


/* ================================
Manda add to cart su nuova riga, tipo <br>   ================================ */
/* 1) Regola globale: bottone su riga propria, full-width */
.single_add_to_cart_button,
.add_to_cart_button,
.woocommerce a.button.product_type_simple,
.woocommerce button.single_add_to_cart_button {
  display: block !important;
  width: 100% !important;
  box-sizing:border-box !important;
  clear: both !important;
  margin: 10px 0 0 0 !important;
}

/* 2) Se il form usa display:flex: forza il bottone a occupare tutta la riga */
form.cart,
.woocommerce form.cart {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
form.cart .single_add_to_cart_button,
.woocommerce form.cart .single_add_to_cart_button,
form.cart .add_to_cart_button {
  flex-basis: 100% !important;
  order: 99 !important;
}

/* 3) Copertura per widget Elementor specifici (se vuoi limitare il cambiamento) */
.elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button {
  display: block !important;
  width: 100% !important;
}

/* 4) Mobile: più compatto ma sempre su riga propria */
@media (max-width: 768px) {
  .single_add_to_cart_button,
  .add_to_cart_button {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}
































/* 
======================================== 
     Categorie Concessionaria
========================================
*/
/* Trasforma il link in un badge/pill */
.woocommerce-card__header .product__categories a {

  background: #ffc207; /* leggera area colorata */
  border: 1px solid rgba(209,107,4,0.18) ;
  padding: 4px 4px ;
  border-radius: 12px ;
  text-decoration: none ;
    color: #000000!important; 
    
}

/* Hover del badge categoria */
.woocommerce-card__header .product__categories a:hover {
  background: #d16b04 ;
  color: #000000 !important;
  border-color: #d16b04 ;
  transition: background-color 0.18s ease, color 0.18s ease ;
}

/* Se vuoi che il badge sia più discreto su mobile */
@media (max-width: 768px) {
  .woocommerce-card__header .product__categories,
  .woocommerce-card__header .product__categories a {
    font-size: 0.75em ;
    padding: 3px 6px ;
  }
}



/* ================================
   STRIPE EXPRESS CHECKOUT
   ================================ */
.wcpay-express-checkout-wrapper {
  margin-top: 10px !important;
  transform: scale(0.95) !important;
  transform-origin: top center !important;
}

/* Rimuove margini strani del tema */
.cart > * {
  margin: 0 !important;
}








/* ================================
   CATEGORIA CONCESSIONARIA — STILI IDENTICI AI PRODOTTI SIMILI
   ================================ */

/* Contenitore generale */
.product_cat-concessionaria ul.products li.product {
  padding: 10px 10px 10px 10px;
  margin-right: 20px;
  margin-left: 20px;
  margin-bottom: 15px;
}

/* --- Categoria (badge) --- */
.product_cat-concessionaria .woocommerce-card__header .product__categories,
.product_cat-concessionaria .woocommerce-card__header .product__categories a {
  font-size: 0.75em !important;
  color: #000000 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  margin: 0 0 4px 0 !important;
  display: inline-block !important;
}

.product_cat-concessionaria .woocommerce-card__header .product__categories a:hover {
  background: #ffc207 !important;
  color: #000000 !important;
}

/* --- Titolo prodotto --- */
.product_cat-concessionaria .woocommerce-loop-product__title,
.product_cat-concessionaria .woocommerce-loop-product__title a {
  font-size: 0.8em !important;
  line-height: 1.25 !important;
  color: #ffc207 !important;
  font-weight: 600 !important;
  margin: 6px 0 !important;
  display: block !important;
  text-decoration: none !important;
}

.product_cat-concessionaria .woocommerce-loop-product__title a:hover {
  color: #d16b04 !important;
}

/* --- Prezzo --- */
.product_cat-concessionaria .price,
.product_cat-concessionaria .woocommerce-Price-amount {
  font-size: 0.8em !important;
  color: #ffc207
  !important;
  font-weight: 700 !important;
}

/* --- Icone ShopEngine (wishlist, compare, quickview) --- */
.product_cat-concessionaria .se-btn,
.product_cat-concessionaria .badge,
.product_cat-concessionaria .shopengine-quickview-trigger {
  font-size: 0.8em !important;
  color: #000000 !important;
  background-color: #ffc207 !important;
  padding: 4px;
  transform: scale(0.85) !important;
  margin-right: 4px !important;
  margin-bottom: 25px;
}

/* --- Bottone Add to Cart --- */
.product_cat-concessionaria a.add_to_cart_button,
.product_cat-concessionaria a.button {
  font-size: 0.75em !important;
  padding: 6px 6px !important;
  background-color: #ffc207 !important;
  color: #000000 !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  margin-top: 10px !important;
  display: inline-block !important;
}

.product_cat-concessionaria a.add_to_cart_button:hover,
.product_cat-concessionaria a.button:hover {
  background-color: #ffb207 !important;
}

/* --- Header card spacing --- */
.product_cat-concessionaria .woocommerce-card__header {
  padding: 6px 0 !important;
}

/* ================================
   Manda Add to Cart su nuova riga
   ================================ */
.product_cat-concessionaria a.add_to_cart_button,
.product_cat-concessionaria a.button {
  display: block !important;
  width: 100% !important;
  margin: 80px 10px 0 0 !important;
  padding: 10px 0px 0px 0px !important;
  text-align: center !important;
}

/* Flex fix */
.product_cat-concessionaria ul.products li.product form.cart,
.product_cat-concessionaria ul.products li.product .woocommerce-card__header {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 2px !important;
}

.product_cat-concessionaria ul.products li.product form.cart .add_to_cart_button,
.product_cat-concessionaria ul.products li.product form.cart .single_add_to_cart_button {
  flex-basis: 100% !important;
  order: 99 !important;
  margin-top: 80px !important;
}

/* ================================
   Centra la griglia
   ================================ */
.product_cat-concessionaria {
  text-align: center !important;
}

.product_cat-concessionaria ul.products {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 18px !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  list-style: none !important;
}

.product_cat-concessionaria ul.products li.product {
  box-sizing: border-box !important;
  width: 220px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 10px !important;
}

.product_cat-concessionaria ul.products li.product img {
  display: block !important;
  margin: 0 auto !important;
  max-width: 100% !important;
  height: auto !important;
}

.product_cat-concessionaria ul.products li.product .woocommerce-card__header,
.product_cat-concessionaria ul.products li.product .woocommerce-loop-product__title,
.product_cat-concessionaria ul.products li.product .price {
  width: 100% !important;
  text-align: center !important;
}

/* Mobile */
@media (max-width: 768px) {
  .product_cat-concessionaria ul.products {
    justify-content: center !important;
  }
  .product_cat-concessionaria ul.products li.product {
    width: calc(100% - 40px) !important;
    max-width: 420px !important;
  }
}


/*ädd to carrt su hover dei prodotti shop*/

.woocommerce-card__header > a.add_to_cart_button[href*="add-to-cart="][data-product_id], .woocommerce-card__header > a.add_to_cart_button.ajax_add_to_cart { 
    min-width: 90px !important; 
    text-align: center !important; 
    box-sizing: border-box !important; 
    z-index: 5 !important; }


































/* ================================
   SEZIONE PRODOTTI SIMILI (RELATED)
   ================================ */

/* Contenitore generale */
.related.products ul.products li.product {
  padding: 10px 10px 10px 10px;
  margin-right: 20px;
  margin-left: 20px;
  margin-bottom: 15px;
  background: #000000;
}

/* --- Categoria (badge) --- */
.related.products .woocommerce-card__header .product__categories,
.related.products .woocommerce-card__header .product__categories a {
  font-size: 0.75em !important;
  color: #000000 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  margin: 0 0 4px 0 !important;
  display: inline-block !important;
}

.related.products .woocommerce-card__header .product__categories a:hover {
  background: #ffc207 !important;
  color: #000000 !important;
}

/* --- Titolo prodotto --- */
.related.products .woocommerce-loop-product__title,
.related.products .woocommerce-loop-product__title a {
  font-size: 0.8em !important;
  line-height: 1.25 !important;
  color: #ffc207 !important;
  font-weight: 600 !important;
  margin: 6px 0 !important;
  display: block !important;
  text-decoration: none !important;
}

.related.products .woocommerce-loop-product__title a:hover {
  color: #d16b04 !important;
}

/* --- Prezzo --- */
.related.products .price,
.related.products .woocommerce-Price-amount {
  font-size: 0.8em !important;
  color: #ffc207 !important;
  font-weight: 700 !important;
}

/* --- Icone ShopEngine (wishlist, compare, quickview) --- */
.related.products .se-btn,
.related.products .badge,
.related.products .shopengine-quickview-trigger {
  font-size: 0.8em !important;
  color: #000000 !important;
   background-color: #ffc207 !important;
   padding: 4px;
  transform: scale(0.85) !important;
  margin-right: 4px !important;
  margin-bottom: 25px;

}

/* --- Bottone Add to Cart --- */
.related.products a.add_to_cart_button,
.related.products a.button {
  font-size: 0.75em !important;
  padding: 6px 6px !important;
  background-color: #ffc207 !important;
  color: #000000 !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  margin-top: 10px !important;
  display: inline-block !important;
}

.related.products a.add_to_cart_button:hover,
.related.products a.button:hover {
  background-color: #ffb207 !important;
}

/* --- Header card spacing --- */
.related.products .woocommerce-card__header {
  padding: 6px 0 !important;
 
}


/*
======================
   PRODOTTI SIMILI
======================
*/


/* ================================
Manda add to cart su nuova riga, tipo <br> (Prodotti Simili)  ================================ */
.related.products a.add_to_cart_button,
.related.products a.button {
  display: block !important;        /* mette il bottone su una riga separata */
  width: 100% !important;           /* occupa tutta la larghezza della colonna */
  margin:80px 10px 0 0 !important;    /* spazio sopra il bottone */
  padding: 10px 0px 0px 0px !important;     /* padding coerente */
  text-align: center !important;
}

/* Se la lista usa display:flex: assicurati che il bottone venga spostato sotto gli altri elementi */
.related.products ul.products li.product form.cart,
.related.products ul.products li.product .woocommerce-card__header {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 2px !important;
}
.related.products ul.products li.product form.cart .add_to_cart_button,
.related.products ul.products li.product form.cart .single_add_to_cart_button {
  flex-basis: 100% !important;      /* occupa tutta la riga nel flex container */
  order: 99 !important;             /* posiziona il bottone dopo gli altri elementi */
}

/* Mobile: mantiene il bottone su riga propria e con padding più ampio */
@media (max-width: 768px) {
  .related.products a.add_to_cart_button,
  .related.products a.button {
    padding: 10px 14px !important;
  }
}


/* =====================================
 Centra la griglia di prodotti e il contenuto delle card  (Prodotti Simili)  ================================ */

.related.products {
  text-align: center !important;
}

/* Se la lista usa display:flex o grid, centra le colonne */
.related.products ul.products {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important; /* centra le colonne orizzontalmente */
  gap: 18px !important;                /* spazio tra le card */
  padding-left: 0 !important;
  margin-left: 0 !important;
  list-style: none !important;
}

/* Imposta larghezza coerente per ogni card e centra il contenuto interno */
.related.products ul.products li.product {
  box-sizing: border-box !important;
  width: 220px !important;        /* modifica se vuoi card più larghe/strette */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important; /* centra titolo, prezzo, bottoni */
  text-align: center !important;
  padding: 10px !important;
}

/* Assicura che immagini e link siano centrati e non traballino */
.related.products ul.products li.product .shoptimizer-plp-image-wrapper,
.related.products ul.products li.product img {
  display: block !important;
  margin: 0 auto !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Allinea i contenuti testuali al centro */
.related.products ul.products li.product .woocommerce-card__header,
.related.products ul.products li.product .woocommerce-loop-product__title,
.related.products ul.products li.product .price {
  width: 100% !important;
  text-align: center !important;
}

/* Mobile: una colonna, card full-width con padding */
@media (max-width: 768px) {
  .related.products ul.products {
    justify-content: center !important;
  }
  .related.products ul.products li.product {
    width: calc(100% - 40px) !important;
    max-width: 420px !important;
  }
}


/* ================================
   RELATED PRODUCTS — MOBILE OVERRIDE
   ================================ */
@media (max-width: 768px) {

  /* Griglia e card: full-width con padding coerente */
  .related.products ul.products {
    justify-content: center !important;
    padding-left: 0 !important;
  }
  .related.products ul.products li.product {
    width: calc(100% - 40px) !important;
    max-width: 420px !important;
    box-sizing: border-box !important;
    margin: 0 20px 15px !important;
    padding: 10px !important;
    background: #000000 !important;
  }

  /* Header e contenuti testuali: rimuove margini ereditati */
  .related.products ul.products li.product .woocommerce-card__header,
  .related.products ul.products li.product .woocommerce-loop-product__title,
  .related.products ul.products li.product .price {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    text-align: center !important;
  }

  /* Footer card: colonna pulita */
  .related.products ul.products li.product .woocommerce-card__footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 0 !important;
  }

  /* Raggruppa le icone in una riga: rimuove margin-bottom grande */
  .related.products .se-btn,
  .related.products .badge,
  .related.products .shopengine-quickview-trigger,
  .related.products .shopengine_add_to_list_action,
  .related.products .shopengine_comparison_add_to_list_action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 0 6px 0 0 !important;
    padding: 6px 8px !important;
    background-color: #ffc207 !important;
    color: #000 !important;
    font-size: 0.8em !important;
    border-radius: 4px !important;
    transform: scale(0.95) !important;
  }

  /* Forza le icone a stare nello stesso contenitore orizzontale */
  .related.products ul.products li.product .woocommerce-card__footer > *:not(.add_to_cart_button):not(.single_add_to_cart_button) {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 0 !important;
  }

  /* Add to Cart: riga propria, full-width, staccato dalle icone (niente 80px) */
  .related.products a.add_to_cart_button,
  .related.products a.button,
  .related.products .single_add_to_cart_button {
    display: block !important;
    width: 100% !important;
    margin: 8px 0 0 0 !important;
    padding: 8px 12px !important;
    text-align: center !important;
    font-size: 0.8em !important;
    background-color: #ffc207 !important;
    color: #000 !important;
    border-radius: 4px !important;
  }

  /* Se il form usa display:flex: forza il bottone in fondo */
  .related.products ul.products li.product form.cart,
  .related.products ul.products li.product .product-meta,
  .related.products ul.products li.product .woocommerce-card__header {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .related.products ul.products li.product form.cart .add_to_cart_button,
  .related.products ul.products li.product form.cart .single_add_to_cart_button {
    flex-basis: 100% !important;
    order: 99 !important;
    margin-top: 8px !important;
  }

  /* Immagini: mantieni proporzioni e centratura */
  .related.products ul.products li.product img,
  .related.products ul.products li.product .shoptimizer-plp-image-wrapper {
    display: block !important;
    margin: 0 auto 8px auto !important;
    max-width: 100% !important;
    height: auto !important;
  }
}





























/* Link dentro il div inline dentro below-woocommerce-category */

html body .below-woocommerce-category > div[style] a,
html body .below-woocommerce-category > div[style] a:link,
html body .below-woocommerce-category > div[style] a:visited,
html body .below-woocommerce-category > div[style] a:hover,
html body .below-woocommerce-category > div[style] a:active {
  font-size: 16px !important;        /* forza dimensione coerente con il contenitore */
  line-height: 1.45 !important;
  color: #d16b04 !important;         /* colore link coerente */
  text-decoration: none !important;
  font-weight: 600 !important;
  display: inline-block !important;  /* evita che il tema applichi comportamenti strani */
  padding: 4px 6px !important;       /* spazio interno per leggibilità */
  background: transparent !important;
  border: none !important;
}

/* Hover più evidente ma senza cambiare dimensione */
html body .below-woocommerce-category > div[style] a:hover,
html body .below-woocommerce-category > div[style] a:focus {
  color: #ffffff !important;
  background-color: #d16b04 !important;
  transform: translateY(-1px) !important;
}

/* Se il tema imposta font-size su elementi genitori, annullalo qui */
html body .below-woocommerce-category > div[style] {
  font-size: 16px !important;
}

/* Copertura extra: se il link eredita font-size da <p> o strong */
html body .below-woocommerce-category > div[style] p,
html body .below-woocommerce-category > div[style] p * {
  font-size: 16px !important;
  line-height: 1.45 !important;
}


























/* ========================================
   STILE PAGINA CARRELLO (COERENTE CON IL RESTO)
======================================== */

/* Titolo pagina */
.woocommerce-cart .entry-content h1,
.woocommerce-cart .woocommerce-products-header__title,
.page-title {
  color: #ffc207 !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Barra step checkout */
.checkout-bar li.active span a,
.checkout-bar li.active span {
  color: #ffc207 !important;
  font-weight: 700 !important;
}

.checkout-bar li span a:hover {
  color: #d16b04 !important;
}

/* Tabella carrello */
.woocommerce-cart table.shop_table th {
  background: #ffc207 !important;
  color: #000 !important;
  font-weight: 700 !important;
  text-transform: uppercase;
}

.woocommerce-cart table.shop_table td {
  border-color: rgba(209,107,4,0.25) !important;
}

/* Nome prodotto */
.woocommerce-cart .product-name a {
  color: #ffc207 !important;
  font-weight: 600 !important;
}

.woocommerce-cart .product-name a:hover {
  color: #d16b04 !important;
}

/* Prezzi */
.woocommerce-cart .woocommerce-Price-amount {
  color: #d16b04 !important;
  font-weight: 700 !important;
}

/* 
Quantità 
*/
/* Quantità: numero + freccette in #ffc207 */
.woocommerce-cart .quantity input.qty {
  color: #ffc207 !important;
  font-weight: 600 !important;
}


/* Contenitore freccette */
.woocommerce-cart .quantity .quantity-nav .quantity-button {
  color: #ffc207 !important;
  background: transparent !important;
  border: none !important;
  font-size: 1.2em !important;
}

/* Freccia + */
.woocommerce-cart .quantity .quantity-up.plus::after {
  content: "+" !important;
  color: #ffc207 !important;
  font-weight: 700 !important;
}

/* Freccia – */
.woocommerce-cart .quantity .quantity-down.minus::after {
  content: "-" !important;
  color: #ffc207 !important;
  font-weight: 700 !important;
}

/* Rimuove eventuali icone di default */
.woocommerce-cart .quantity .quantity-button {
  background-image: none !important;
}
/* 1) Nasconde solo le frecce native del browser */
.woocommerce-cart .quantity input.qty::-webkit-inner-spin-button,
.woocommerce-cart .quantity input.qty::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
.woocommerce-cart .quantity input.qty {
  -moz-appearance: textfield !important;
}

/* 2) Layout: rendi il wrapper relativo e posiziona i pulsanti custom sopra l'input */
.woocommerce-cart .quantity {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  border: none; /* evita bordo doppio dal wrapper */
}

/* 3) Input: bordo singolo, spazio a destra per i pulsanti */
.woocommerce-cart .quantity input.qty {
  border: 1px solid #ddd !important;
  padding-right: 3.2rem !important; /* lascia spazio per i pulsanti custom */
  box-sizing: border-box !important;
  height: 40px; /* regola se necessario */
}

/* 4) Pulsanti custom: posizionati assoluti a destra, senza bordo proprio */
.woocommerce-cart .quantity .quantity-nav {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  border: none !important;
  background: transparent !important;
  pointer-events: auto;
}

/* 5) Singoli bottoni: rimuovi bordo e gestisci dimensioni/colore */
.woocommerce-cart .quantity .quantity-button {
  border: none !important;
  background: transparent !important;
  color: #ffc207 !important;
  width: 2.6rem;
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* 6) Se vedi ancora una linea a separazione, rimuovila impostando border-left sull'area pulsanti */
.woocommerce-cart .quantity .quantity-nav {
  border-left: 1px solid transparent !important;
}
/* Rimuove bordi doppi nel mini‑carrello Caddy */
#cc-cart .cc-cart-product,
#cc-cart .cc-cart-product-list,
#cc-cart .cc_item_content,
#cc-cart .cc-item-content-top,
#cc-cart .cc-item-content-bottom,
#cc-cart .cc-total-box {
  border: none !important;
  box-shadow: none !important;
}











/* Apply coupon */
.woocommerce-cart .coupon .button {
  background-color: #ffc207 !important;
  color: #000 !important;
}

/* Totali carrello */
.cart_totals h2 {
  color: #ffc207 !important;
  font-weight: 700 !important;
}

.cart_totals table th {
  color: #ffc207 !important;
  font-weight: 700 !important;
}

.cart_totals table td .woocommerce-Price-amount {
  color: #d16b04 !important;
  font-weight: 700 !important;
}

/* Proceed to checkout */
.wc-proceed-to-checkout a.checkout-button {
  background-color: #ffc207 !important;
  color: #000 !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

.wc-proceed-to-checkout a.checkout-button:hover {
  background-color: #ffb207 !important;
}

/* Stripe express checkout */
.wcpay-express-checkout-wrapper {
  margin-top: 10px !important;
  transform: scale(0.95) !important;
  transform-origin: top center !important;
}

/* Remove item (X) */
.woocommerce-cart a.remove {
  color: #d16b04 !important;
}

.woocommerce-cart a.remove:hover {
  color: #ffc207 !important;
}

.woocommerce-cart .product-name a {
  font-size: 0.8em !important;
}
/* Nasconde solo le spin native del browser */
.woocommerce-cart .quantity input.qty::-webkit-inner-spin-button,
.woocommerce-cart .quantity input.qty::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
.woocommerce-cart .quantity input.qty {
  -moz-appearance: textfield !important;
}

/* Wrapper: nessun bordo, posizione relativa */
.woocommerce-cart .quantity {
  position: relative;
  display: inline-block;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Input: unico bordo visibile, spazio a destra per i pulsanti */
.woocommerce-cart .quantity input.qty {
  border: 1px solid #ddd !important;
  padding: 0.5rem 3.2rem 0.5rem 0.6rem !important; /* regola se serve */
  box-sizing: border-box !important;
  height: 40px !important;
  background: #fff !important;
  line-height: 1 !important;
}

/* Posiziona i pulsanti custom sopra l'input (a destra) */
.woocommerce-cart .quantity .quantity-nav {
  position: absolute;
  right: 0.15rem;
  top: 50%;
  transform: translateY(-50%);
  height: calc(100% - 4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  border: none !important;
  background: transparent !important;
  pointer-events: auto;
  box-shadow: none !important;
}

/* Stile singoli bottoni custom */
.woocommerce-cart .quantity .quantity-button {
  border: none !important;
  background: transparent !important;
  color: #ffc207 !important;
  width: 2.4rem !important;
  height: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Rimuove eventuali linee residue tra input e pulsanti */
.woocommerce-cart .quantity .quantity-nav,
.woocommerce-cart .quantity .quantity-nav * {
  border: none !important;
  box-shadow: none !important;
  color: #ffc207 !important;
}

/* Se il tema aggiunge un wrapper con bordo, forzalo invisibile */
.woocommerce-cart .quantity > * {
  border: none !important;
  box-shadow: none !important;
  color: #ffc207 !important;
}










/* Testo "Apply a promo code" — valido per tutto il mini‑carrello */
#cc-cart .cc-coupon-title {
  font-size: 0.8em !important;
  font-weight: 600 !important;
  color: #ffc207 !important;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Icona freccia accanto al testo — globale */
#cc-cart .cc-coupon-title svg {
  width: 14px !important;
  height: 14px !important;
  color: #ffc207 !important;
}


/* Titolo prodotto nel mini-carrello Caddy — valido per tutti i prodotti */
#cc-cart .cc-cart-product .cc_item_title a,
#cc-cart .cc-cart-product .cc-product-link {
  font-size: 0.8em !important;
  font-weight: 600 !important;
  color: #ffc207 !important;
}










/*
=====================
Sezione account
=====================
*/

/* Font e spaziatura */
.woocommerce-Addresses .woocommerce-Address {
  font-size: 0.8em !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  padding: 1rem !important;
  box-sizing: border-box !important;
}

/* Titolo e link "Add ..." */
.woocommerce-Addresses .woocommerce-Address .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem !important;
}
.woocommerce-Addresses .woocommerce-Address .woocommerce-Address-title h2 {
  font-size: 0.8em !important;
  margin: 0 !important;
  font-weight: 700 !important;
}
.woocommerce-Addresses .woocommerce-Address .woocommerce-Address-title a.edit {
  font-size: 0.8em !important;
  margin: 0 !important;
  text-decoration: none;
}

/* Contenitore colonne: affiancate e uguale altezza */
.u-columns.woocommerce-Addresses {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  flex-wrap: wrap;
  margin: 0 -0.5rem !important;
}
.u-columns.woocommerce-Addresses .u-column1,
.u-columns.woocommerce-Addresses .u-column2 {
  flex: 1 1 320px;
  min-width: 260px;
  margin: 0 0.5rem !important;
  background: transparent !important;
  border: 1px solid rgba(0,0,0,0.04) !important;
  border-radius: 6px !important;
}

/* Testo address */
.woocommerce-Addresses .woocommerce-Address address {
  display: block;
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: 0.8em !important;
}

/* Spazi interni coerenti */
.woocommerce-Addresses .woocommerce-Address .woocommerce-Address-title,
.woocommerce-Addresses .woocommerce-Address address {
  padding: 0.6rem 0.8rem !important;
}

/* Mobile: colonne impilate */
@media (max-width: 720px) {
  .u-columns.woocommerce-Addresses {
    flex-direction: column;
    gap: 0.6rem;
    margin: 0 !important;
  }
  .u-columns.woocommerce-Addresses .u-column1,
  .u-columns.woocommerce-Addresses .u-column2 {
    min-width: 100%;
    margin: 0 !important;
  }
}




/* Testo bottone "Add payment method" nero */
.woocommerce-MyAccount-content a.button,
.woocommerce-MyAccount-content .button {
  color: #000000 !important;
}












/*
==================
Tabella checkout
==================
*/
.woocommerce-cart .cart-collaterals .shop_table th,
.woocommerce-cart .cart-collaterals .shop_table td {
    background-color: #ffc207 !important;
    border-color: #000000 !important;
}





/* Checkout bar: solo per le prime 3 voci (Shopping Cart, Shipping and Checkout, Confirmation) */

/* voce 1: Shopping Cart */
.checkout-bar li:nth-child(1) span,
.checkout-bar li:nth-child(1) span a {
  color: #ffc207 !important; /* attiva / evidenziata se ha .active */
}

/* voce 2: Shipping and Checkout */
.checkout-bar li:nth-child(2) span,
.checkout-bar li:nth-child(2) span a {
  color: #ffffff !important; /* non attiva = bianca */
}

/* voce 3: Confirmation */
.checkout-bar li:nth-child(3) span,
.checkout-bar li:nth-child(3) span a {
  color: #ffffff !important; /* non attiva = bianca */
}

/* Se una di queste voci ha la classe .active, mantieni il giallo */
.checkout-ba        qqwqqr li:nth-child(1).active span,
.checkout-bar li:nth-child(1).active span a,
.checkout-bar li:nth-child(2).active span,
.checkout-bar li:nth-child(2).active span a,
.checkout-bar li:nth-child(3).active span,
.checkout-bar li:nth-child(3).active span a {
  color: #ffc207 !important;
}

/* Hover leggero per le non attive (opzionale) */
.checkout-bar li:nth-child(2):not(.active) span a:hover,
.checkout-bar li:nth-child(3):not(.active) span a:hover {
  color: #ffd86b !important;
}














/*aggiusta prodotti su concessionaria per mobile*/
/* ================================
   MOBILE FIX — layout coerente con desktop
   ================================ */
/* ================================
   MOBILE — CATEGORIA CONCESSIONARIA
   ================================ */
@media (max-width: 768px) {

  /* Griglia centrata e card più larghe ma coerenti */
  .product_cat-concessionaria ul.products {
    justify-content: center !important;
  }

  .product_cat-concessionaria ul.products li.product {
    width: calc(100% - 40px) !important;
    max-width: 420px !important;
  }

  /* Footer card: gestito a colonna */
  .product_cat-concessionaria ul.products li.product .woocommerce-card__footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    width: 100% !important;
  }

  /* Icone (wishlist, compare, quickview) tutte sulla stessa riga */
  .product_cat-concessionaria .se-btn,
  .product_cat-concessionaria .badge,
  .product_cat-concessionaria .shopengine-quickview-trigger {
    font-size: 0.8em !important;
    color: #000000 !important;
    background-color: #ffc207 !important;
    padding: 4px;
    transform: scale(0.85) !important;
    margin-right: 4px !important;
    margin-bottom: 0 !important;          /* <- niente spazio enorme sotto */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Add to Cart su nuova riga, staccato dalle icone */
  .product_cat-concessionaria a.add_to_cart_button,
  .product_cat-concessionaria a.button {
    display: block !important;
    width: 100% !important;
    margin: 10px 0 0 0 !important;        /* <- niente 80px */
    padding: 8px 0 !important;
    text-align: center !important;
    font-size: 0.8em !important;
  }

  /* Se c'è un form.cart che incasina l'ordine: forza Add to Cart in fondo */
  .product_cat-concessionaria ul.products li.product form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    width: 100% !important;
  }

  .product_cat-concessionaria ul.products li.product form.cart .add_to_cart_button,
  .product_cat-concessionaria ul.products li.product form.cart .single_add_to_cart_button {
    flex-basis: 100% !important;
    order: 99 !important;
    margin-top: 10px !important;          /* <- pulito, niente spazi esagerati */
  }
}






















/* ================================
   MOBILE OVERRIDE — product_cat-sconti
   ================================ */
@media (max-width: 768px) {

  /* Griglia e card */
  .product_cat-sconti ul.products {
    justify-content: center !important;
    padding-left: 0 !important;
  }
  .product_cat-sconti ul.products li.product {
    width: calc(100% - 40px) !important;
    max-width: 420px !important;
    box-sizing: border-box !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
    padding: 10px !important;
  }

  /* Footer card: colonna pulita */
  .product_cat-sconti ul.products li.product .woocommerce-card__footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 0 !important;
  }

  /* Raggruppa le icone in una riga: rimuove margin-bottom grande */
  .product_cat-sconti .se-btn,
  .product_cat-sconti .badge,
  .product_cat-sconti .shopengine-quickview-trigger,
  .product_cat-sconti .shopengine_add_to_list_action,
  .product_cat-sconti .shopengine_comparison_add_to_list_action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 0 6px 0 0 !important; /* niente margin-bottom grande */
    padding: 6px 8px !important;
    background-color: #ffc207 !important;
    color: #000 !important;
    font-size: 0.8em !important;
    border-radius: 4px !important;
    transform: scale(0.95) !important;
  }

  /* Forza le icone a stare nello stesso contenitore orizzontale */
  .product_cat-sconti ul.products li.product .woocommerce-card__footer .cc-icon-row,
  .product_cat-sconti ul.products li.product .woocommerce-card__footer > .icon-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
  }

  /* Se non esiste un wrapper, forza tutti gli elementi non add_to_cart a rimanere in alto */
  .product_cat-sconti ul.products li.product .woocommerce-card__footer > *:not(.add_to_cart_button):not(.single_add_to_cart_button) {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 0 !important;
  }

  /* Add to Cart: riga propria, full-width, staccato dalle icone */
  .product_cat-sconti a.add_to_cart_button,
  .product_cat-sconti a.button,
  .product_cat-sconti .single_add_to_cart_button {
    display: block !important;
    width: 100% !important;
    margin: 8px 0 0 0 !important; /* spazio contenuto */
    padding: 8px 12px !important;
    text-align: center !important;
    font-size: 0.8em !important;
    background-color: #ffc207 !important;
    color: #000 !important;
    border-radius: 4px !important;
  }

  /* Se il form usa display:flex: forza il bottone in fondo */
  .product_cat-sconti ul.products li.product form.cart,
  .product_cat-sconti ul.products li.product .product-meta,
  .product_cat-sconti ul.products li.product .woocommerce-card__header {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .product_cat-sconti ul.products li.product form.cart .add_to_cart_button,
  .product_cat-sconti ul.products li.product form.cart .single_add_to_cart_button {
    flex-basis: 100% !important;
    order: 99 !important;
    margin-top: 8px !important;
  }

  /* Riduce eventuali margini e padding eccessivi ereditati */
  .product_cat-sconti .woocommerce-card__header,
  .product_cat-sconti .woocommerce-loop-product__title,
  .product_cat-sconti .price {
    margin: 0 !important;
    padding: 0 !important;
  }
}















/*Popup account details*/
/* Dropdown menu generale - dimensione testo 0.6em, bordo, sfondo e ombra */
.elementor-nav-menu--dropdown {
  font-size: 0.2em !important;
  background: #000000 !important;
  color: #ffc207 !important;
  border: 1px solid #ffc207 !important;
  border-radius: 6px !important;
  padding: 6px !important;
  
}




















/*prova footerr*/
/* Forza span a blocco e orari arancioni di base */
.elementor-element-6c8b4fd3 .elementor-text-editor p span {
  display: block !important;
  color: #d15a00 !important;       /* colore principale per orari */
  font-size: 16px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Prima span: mantieni la prima riga (label) gialla */
.elementor-element-6c8b4fd3 .elementor-text-editor p span:first-of-type::first-line {
  color: #ffc207 !important;       /* label gialla */
  font-weight: 700 !important;
}

/* Se vuoi che la label (es. "Lun-Ven:") sia sempre su sua riga */
.elementor-element-6c8b4fd3 .elementor-text-editor p span:first-of-type {
  white-space: pre-line !important;
}

/* Piccola pulizia per il paragrafo */
.elementor-element-6c8b4fd3 .elementor-text-editor p {
  text-align: center !important;
  margin: 0.35rem 0 !important;
  white-space: normal !important;
}



















/* ================================
   CENTRA HEADER PAGINe sconti/concessionaria — SOLO MOBILE
   ================================ */
@media (max-width: 768px) {

  /* Contenitore principale: assicurati che non ci siano float o flex che spostano il titolo */
  #primary,
  #primary .woocommerce-products-header,
  #primary .woocommerce-products-header__title,
  .woocommerce-products-header,
  .woocommerce-products-header__title.page-title {
    width: 100% !important;
    max-width: 450px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    display: block !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Rimuove eventuali float o allineamenti ereditati dai genitori */
  #primary .woocommerce-products-header,
  .woocommerce-products-header {
    float: none !important;
    clear: both !important;
    align-self: center !important;
    justify-content: center !important;
  }

  /* Se il titolo è dentro un container flex, forza il centro */
  #primary .woocommerce-products-header,
  #primary .woocommerce-products-header > * {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Titolo: dimensione e peso leggibili su mobile */
  #primary .woocommerce-products-header__title.page-title,
  .woocommerce-products-header__title.page-title {
    font-size: 1.05rem !important;
    line-height: 1.2 !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    font-weight: 700 !important;
    color: inherit !important;
  }

  /* Copertura per casi con classi di categoria (es. CONCESSIONARIA / SCONTI) */
  .term-concessionaria .woocommerce-products-header,
  .term-sconti .woocommerce-products-header,
  .product_cat-concessionaria .woocommerce-products-header,
  .product_cat-sconti .woocommerce-products-header {
    max-width: 450px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  /* Forza rimozione di margin-left/right ereditati da elementi genitori */
  #primary .woocommerce-products-header,
  #primary .woocommerce-products-header * {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Se il tema applica inline styles con left/transform, neutralizzali */
  #primary .woocommerce-products-header[style],
  .woocommerce-products-header[style] {
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }
}/* End custom CSS */