/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.pull-right {
	float: right;
}
.pull-left {
	float: left;
}
.pull-none {
	float: none;
}
.pull-center {
	float: center;
}
.amount {
    font-weight: 800;
	font-size: 18px;
}


.listino-block {
  background-color: #fff;
  border-radius: 10px;
  /* padding: 20px; */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  min-height: 150px;
  display: flex;
  justify-content: center;
  /* align-items: flex-end;*/
  align-items: center;
  flex-direction: column;

  cursor: pointer;
  overflow:hidden;
  box-sizing: border-box;
}

.listino-block-title {
  /* display:inline; */
  padding: 20px;
  vertical-align: baseline;
  margin:0;
  transition: color 0.4s ease;
}

.listino-block:hover .listino-block-title {
  color: #d41317;
}

.home-block-listino:hover .listino-block-title {
  color: #d41317;
}

.listino-block.active {
  /* border: 2px solid #d41317; */
  box-shadow: 0 20px 2px white;
  border-bottom: none;
  border-radius:10px 10px 0 0 ;
}

.listino-block.active .listino-block-title {
  color: #d41317;
}
/* 
.listino-block > div {
  flex: 1 1 0;
  min-width: 0;
    box-sizing: border-box;
    word-wrap: break-word;
      overflow-wrap: break-word;
} */

.listino-block>div {
  width: 100%;
  min-height: 105px;
  overflow: hidden;
}

.listino-block > div:first-child {
  width: 100%;
  min-height: 250px;
  overflow: hidden;
}

/* ============================================
   Listini Expanded Grid (layout verticale)
   - Immagine sopra
   - Nome listino sotto
   - Elenco sezioni in basso
   ============================================ */
.listini-expanded-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px;
  /* align-items: start; */
  align-items: stretch;
}

.listino-expanded-block {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.listino-expanded-block:hover {
  /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12); */
  /* transform: translateY(-2px); */
}

.listino-expanded-image {
  width: 100%;
  height: 120px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.listino-expanded-title {
  margin: 0;
  padding: 10px 15px 8px;
  font-size: 22px;
  font-weight: 400;
  text-align: center;
  font-family: "Lexend Deca", Arial, Helvetica, sans-serif;
  color: #d41317;
}

.listino-expanded-sezioni {
  padding: 10px 15px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.listino-expanded-sezione-link {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  /* background: #f8f8f8; */
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
}

.listino-expanded-sezione-link:hover {
  background: #d41317;
  color: #fff;
}

.listino-expanded-sezione-icon {
  margin-right: 8px;
  font-size: 1em;
  color: #d41317;
  transition: color 0.2s ease;
}

.listino-expanded-sezione-link:hover .listino-expanded-sezione-icon {
  color: #fff;
}

.listino-expanded-sezione-name {
  font-size: 14px;
  /* font-weight: 500;*/
    font-weight: 500;
}

/* Responsive - Tablet */
@media (max-width: 1100px) {
  .listini-expanded-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Responsive - Mobile */
@media (max-width: 575px) {
  .listini-expanded-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .listino-expanded-block {
    border-radius: 8px;
  }

  .listino-expanded-image {
    height: 100px;
  }

  .listino-expanded-title {
    padding: 8px 12px 6px;
    font-size: 18px;
  }

  .listino-expanded-sezioni {
    padding: 8px 12px 10px;
    gap: 3px;
  }

  .listino-expanded-sezione-link {
    padding: 5px 8px;
  }

  .listino-expanded-sezione-name {
    font-size: 13px;
  }
}

/* Listini in versione carousel (shortcode [grid_listini_carousel])
   Adatta le card allo slide Swiper: stessa altezza e larghezza piena */
.listini-carousel .wd-carousel-item {
  display: flex;
}

.listini-carousel .listino-expanded-block {
  width: 100%;
  height: 100%;
}

/* Transizione colonne morbida 4 > 3 > 2 > 1 gestita via media query.
   Swiper in modalità auto (--wd-col-lg/md/sm = auto) rispetta la larghezza CSS
   degli slide; il numero di colonne lo decide --wd-col (larghezza item = 100%/--wd-col).
   Soglie: >=1300 -> 4, 1040-1299 -> 3, 760-1039 -> 2, <760 -> 1. */
.listini-carousel .wd-carousel {
  --wd-col-lg: auto !important;
  --wd-col-md: auto !important;
  --wd-col-sm: auto !important;
  --wd-col: 4;
}

@media (max-width: 1299px) {
  .listini-carousel .wd-carousel {
    --wd-col: 3;
  }
}

@media (max-width: 1039px) {
  .listini-carousel .wd-carousel {
    --wd-col: 2;
  }
}

@media (max-width: 759px) {
  .listini-carousel .wd-carousel {
    --wd-col: 1;
  }
}

/* Tutte le card alla stessa altezza (= la più alta) */
.listini-carousel .wd-carousel-wrap {
  align-items: stretch;
}

.listini-carousel .wd-carousel-item {
  height: auto;
}

/* Padding laterale del wrapper: ospita le frecce nel gutter, non sopra le card */
.listini-carousel {
  padding-inline: 40px;
}

/* Frecce sempre visibili (stile minimale di tema, come i caroselli prodotti) */
.listini-carousel .wd-nav-arrows .wd-btn-arrow {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Da 2 colonne in giù: frecce più vicine al bordo pagina e più staccate dalle card.
   --wd-arrow-offset-h spinge le frecce verso l'esterno; il padding maggiore le contiene. */
@media (max-width: 1039px) {
  .listini-carousel {
    padding-inline: 72px;
  }
  .listini-carousel .wd-nav-arrows {
    --wd-arrow-offset-h: 26px;
  }
}

/* Phone: padding/offset ridotti per non sprecare larghezza (override dopo il blocco 1039) */
@media (max-width: 575px) {
  .listini-carousel {
    padding-inline: 30px;
  }
  .listini-carousel .wd-nav-arrows {
    --wd-arrow-offset-h: 6px;
  }
}

/* ============================================ */

/* Menu verticale listini off-canvas */
.listini-vertical-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.listini-vertical-block {
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.listini-vertical-block:last-child {
  border-bottom: none;
}

.listini-vertical-title {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 600;
  color: #d41317;
  font-family: "Lexend Deca", Arial, Helvetica, sans-serif;
}

.listini-vertical-sezioni {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.listini-vertical-sezioni li {
  margin: 0;
  padding: 0;
}

.listini-vertical-sezioni a {
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.listini-vertical-sezioni a:hover {
  background: #f5f5f5;
  color: #d41317;
}

/* ============================================ */

/* .sezione-block {
  background-color: #fff;
  border-radius: 10px;
  padding: 0 10px 5px 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  text-align: left;
} */

.sezione-block {
  /* background-color: #fff; */
  /* border-radius: 10px; */
  padding: 0 10px 5px 10px;
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); */
  text-align: left;
}

.sezione-block.active {
  /* border: 2px solid #d41317; */
  box-shadow: 0 0 2px #d41317;
}

.sezione-block.active .sezione-block-title {
  color: #d41317;
}

.sezione-block > div:first-child {
  /* flex: 1;
  padding: 10px; */
  padding: 10px 10px 5px 10px;
}

.sezione-block-sub {
  column-count: 2;
    /* numero di colonne */
    column-gap: 5px;
    /* spazio tra le colonne */
}

.sezione-block-sub > div {
  break-inside: avoid;
    /* evita che un box venga spezzato */
    margin-bottom: 0;
    /* background: lightblue; */
    padding: 5px 10px;
    /* border: 1px solid #ccc; */
}

.sezione-block-title {
  display: inline;
  vertical-align: baseline;
  margin: 0;
  transition: color 0.4s ease;
  padding-left: 15px;
}

.sezione-block:hover .sezione-block-title {
  /* color: #d41317;*/
    color: gray;
}


.home-block-sezione {
  column-count: 2;
  /* due colonne */
  column-gap: 20px;
  /* spazio fra colonne */

  background-color: #fff;
  /* border-radius: 10px;*/
  border-radius: 0 0 10px 10px;
  padding: 0 10px 5px 10px;
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); */
  /* text-align: left; */

  /* border: 2px solid #d41317; */
  /* box-shadow: 0 0 2px #d41317; */
  border-top: none;

}

.home-block-sezione > div {
  break-inside: avoid;
  /* evita che un blocco venga spezzato */
  /* margin-bottom: 20px; */
}


/* .famiglia-block {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  min-height: 150px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.famiglia-block-title {
  display: inline;
  vertical-align: baseline;
  margin: 0;
  transition: color 0.4s ease;
}

.famiglia-block:hover>.famiglia-block-title {
  color: #d41317;
} */

 .famiglia-block {
   /* background-color: gray; */
   /* border-radius: 10px; */
   /* padding: 10px; */
   /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); */
   /* text-align: center; */
   /* min-height: 150px; */

   display: block;
   justify-content: center;
   align-items: center;
 }

 .famiglia-block-title {
  color: gray;
   display: inline;
   vertical-align: baseline;
   margin: 0;
   transition: color 0.4s ease;
 }

 .famiglia-block:hover .famiglia-block-title {
   color: black;
 }

.product-listing {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* .product-card-title {
  
} */

.product-card {
  display: block !important;
  flex: 1 1 300px;
  max-width: 380px;
  min-height: 460px;

  background-color: #fff;

  border-radius: 20px;
  padding: 20px;
}


.product-card > .product-title {
  margin-top: 10px;
}

.product-title {
  font-size: 20px;
  font-weight: 400;
  margin-top: 10px;
  margin-bottom: 10px;
  min-height: 60px;
}

.product-title {
  /* color: #d41317; */
  /* font-weight: bold; */
  /* color: #767676; */
  font-weight: 200;
}

.color-g {
  /* color: #767676; */
  font-weight: 200;
}

.color-r {
  /* color: #d41317; */
  font-weight: 500;
}

.product-content {
  display: flex;
  gap: 20px;
  border-top: 1px solid #ccc;
  margin-top:10px;
  padding-top:10px;
}

.product-image {
  flex: 1;
  position: relative;
}

.product-image img {
  max-width: 100%;
  height: 150px;
  object-fit: contain;
}

.product-image .badges {
    margin-top: 0px;
}
.badges {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
}


.badge.red {
  background-color: #d41317;
  color: white;
}

.product-info {
  flex: 1;
}

.price > div {
  margin-bottom: 10px;
  color: #d41317;
}

.price {
  font-size: 18px;
}


.specs {
  list-style: none;
  padding: 0;
  font-size: 14px;
  color: #333;
}

.specs li {
    margin-bottom: 0;
    font-size: 13px;
}

.highlight {
  /* color: #d41317; */
  /* color: #767676; */
  font-weight: 500;
}

.highlight-version {
  color: #d41317;
  font-weight: light;
}

.codice {
  line-height: 8px;
  color: #767676;
  font-weight: bold;
}


.product-variations {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.product-variations .variation-item {
  flex: 0 1 200px;
}

.variation-item {
  /* display: inline-block;
  flex: 1 1 300px; */
  margin-bottom: 10px;
}




.badges img.badge-icon {
    margin-right: 0;
    /* height: 40px!important; */
    height: 50px !important;
}


ul.specs {
  list-style: disc;
  padding-left: 20px;
  margin-top: 20px;
}

.black-bold {
  color: #000;
  font-weight: bold;
}

.sezione-titolo-container {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 80px;

  margin-bottom: 20px;
  margin-top: 60px;

  background: white;
  padding: 5px 15px;

  border-radius: 20px;
}
.sezione-container:first-child .sezione-titolo-container {
	  margin-top: 15px;
}
.sezione-titolo {
  /* width: 100%; */
}

.sezione-titolo h3 {
	margin-bottom: 0;
	margin-right: 5px;;
}
.sezione-titolo.left {
    /* width: 100%; */
    display: flex;
    justify-content: left;
    align-items: center;
}

.sezione-titolo .icone {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: end;
}

.sezione-titolo .icone img.badge-icon,
.sezione-titolo .loghi img.badge-icon {
    margin-right: 5px;
    /* height: 50px !important; */
    height: 60px !important;
    vertical-align: middle;
}

.sezione-titolo .icone,
.sezione-titolo .loghi {
  text-align:right;
  padding: 5px;
}

html {
  scroll-behavior: smooth;
}

.famiglie-anchor-menu {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.famiglie-anchor-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.famiglie-anchor-menu li {
  /* margin-bottom: 12px; */
  margin-bottom: 0;
}

.famiglie-anchor-menu a {
  text-decoration: none;
  /* font-weight: 600; */
  font-weight:500;
  color: #333;
  border-left: 3px solid transparent;
  /* padding-left: 12px; */
  padding: 5px 10px;
  display: block;
  transition: all 0.2s ease-in-out;
  border-radius: 6px;
}

/* .famiglie-anchor-menu a:hover,
.famiglie-anchor-menu a.active {
  color: #d41317;
  border-left-color: #d41317;
  background-color: #f9f9f9;
  border-radius: 4px;
} */

.famiglie-anchor-menu a.active {
  color: #d41317;
  /* font-weight: 600; */
  background-color: rgba(212, 19, 23, 0.08);
}

.famiglie-anchor-menu a:hover {
  color: white;
  background-color: #d41317;
}

/* Breadcrumb con dropdown */
.breadcrumbs-dropdown {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.fx-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.fx-breadcrumbs > span,
.fx-breadcrumbs > strong {
  margin: 0 8px;
}

.fx-breadcrumbs > span:first-child {
  margin-left: 0;
}

.breadcrumb-separator {
  margin: 0 12px;
  color: #999;
}

.breadcrumb-select {
  padding: 6px 28px 6px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: auto;
}

.breadcrumb-select:hover {
  border-color: #999;
}

.breadcrumb-select:focus {
  border-color: #d41317;
  box-shadow: 0 0 0 2px rgba(212, 19, 23, 0.15);
}

.breadcrumb-listino {
  font-weight: 600;
  color: #d41317;
}

.breadcrumb-label {
  font-weight: 500;
  color: rgb(118, 118, 118);
}

.breadcrumb-back-link {
  margin-top: 10px;
}

.breadcrumb-back-link a {
  color: #d41317;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s ease;
}

.breadcrumb-back-link a:hover {
  color: #a00f12;
  text-decoration: underline;
}

/* Breadcrumb responsive - mobile */
@media (max-width: 575px) {
  .breadcrumbs-dropdown {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .breadcrumbs-dropdown .breadcrumb-label {
    width: 100%;
  }

  .breadcrumbs-dropdown .breadcrumb-select {
    width: 100%;
  }
} 

.wd-products .wd-col > div > h3 {
  min-height: 62px;
} 

.swiper-pagination-bullets {
  margin-top: 25px;
}
 

.product-badge-sezione {
  display:inline-block;
  padding: 5px 15px;
  border-radius: 25px;

  background-color:#d41317;
  color:#fff;
  font-size: 12px;
}

.product-badge-famiglia {
  display: inline-block;
  margin: 10px 3px;

  color: #d41317;

  /* border-radius: 25px; */

  /* background-color: #d41317; */
  /* color: #fff; */
}


.product-sezione-row > .badges {
  display:inline-block;
  float: right;
}

.product-sezione-row > .badges > img {
  margin-right: 5px;
  /* height: 50px !important; */
  height: 60px !important;
  vertical-align: middle;
}



.home-title-listini h4 {
  font-size: 22px;
}


.wd-dropdown {
  border-radius: 0 !important;
}


/* Smartphone piccoli (fino a 575px) */
@media (max-width: 575px) {
  /* CSS per smartphone */ 
  
  .product-card {
    max-width: 1000px;
  }

  .wd-products .wd-col>div>h3 {
    min-height: auto;
  }
    
  .listino-block {
    min-height: auto;
    border: 2px solid gray;
  }

  .listino-block > div {
    min-height: 0;
  }

  .listino-block > div:first-child {
    /* min-height: auto; */
    display:none;
  }

  .listino-block-title {
    padding: 0;
  }

  .home-block-sezione {
    column-count: 1;
  }

  .sezione-block-sub {
    column-count: 1;
  }
}

/* Smartphone grandi / piccoli tablet (576px – 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  /* CSS per dispositivi medi */
  .product-card {
    max-width: 1000px;
  }
}

/* Tablet (768px – 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  /* CSS per tablet */
}

/* Laptop e desktop (992px – 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  /* CSS per schermi medi/grandi */
}

/* Desktop grandi (da 1200px in su) */
@media (min-width: 1200px) {
  /* CSS per schermi larghi */
}



.wd-header-text {
  width: 100%;
}

.search-category-results { 
  display: none !important;
}

.ywcas-popover-results .popover-content .wp-block-yith-filled-block .ywcas-search-results.list .ywcas-search-results-grid {
  grid-template-columns: repeat(2, minmax(0px, 2fr)) !important;
}

/* .css-1ey3iux {
} */


.select-loading-wrapper {
  position: relative;
  display: inline-block;
}

.select-loading-wrapper.loading::after {
  content: "";
  position: absolute;
  right: 40px;
  top: 70%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 2px solid #ccc;
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  pointer-events: none;
}

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



.wd-page-title {
  padding: 8px 10px !important;
}

/* Stile pulsante "Visualizza lista" nel minicart */
.widget_shopping_cart .buttons .button.wc-forward.view-cart,
.wd-cart-side .buttons .button.wc-forward.view-cart,
.woocommerce-mini-cart__buttons .button.wc-forward.view-cart,
.shopping-cart-widget-footer .buttons .button.view-cart,
.shopping-cart-widget-footer .buttons a[href*="lista-corrente"] {
  background-color: rgb(212, 19, 23) !important;
  color: #fff !important;
  border-color: rgb(212, 19, 23) !important;
}

.widget_shopping_cart .buttons .button.wc-forward.view-cart:hover,
.wd-cart-side .buttons .button.wc-forward.view-cart:hover,
.woocommerce-mini-cart__buttons .button.wc-forward.view-cart:hover,
.shopping-cart-widget-footer .buttons .button.view-cart:hover,
.shopping-cart-widget-footer .buttons a[href*="lista-corrente"]:hover {
  background-color: rgb(180, 16, 20) !important;
  border-color: rgb(180, 16, 20) !important;
}

.wd-empty-mini-cart:before {
  content: "\f109" !important;
  /* color: red !important; */
}

.wd-empty-wishlist:before {
  content: "\f109" !important;
}

.wd-empty-mini-cart > .empty.title {
  text-align:center;
  /* color: red; */
}

.wd-product-stock {
  display:none !important;
}

.star-rating {
  display:none !important;
}

.social-share {
  display: none !important;
}

.cart-pdf-button {
  border-radius: 35px;
  /* font-weight: bold; */
  /* color:white; */
  /* background-color:black; */
  /* color:white; */
  background-color: white;
  border: 2px solid #ccc;
  /* color: rgb(212, 19, 23); */
  /* background-color:rgba(212, 19, 23, 0.2); */
}

.cart-pdf-button:hover {
  /* color: white; */
  background-color:white;
  border: 2px solid #ccc;
  /* color: rgb(212, 19, 23); */
  /* background-color: rgba(212, 19, 23, 0.2); */
}

/* .wd-action-btn.wd-style-icon {
  width:250px;
} */


/* .wd-wishlist-icon > a:before {

} */

.wd-action-btn.wd-style-icon > a {
  flex-direction: unset;
  width:auto !important;
  font-size: 14px !important;
  line-height: inherit !important;
}

.wd-action-btn.wd-style-icon > a > span {
  width: 250px;
  font-size: 14px !important;
  padding-left: 10px;
}

.button, .btn {
  text-transform:none !important;
}

.wd-wishlist-icon>a:before {
  content:"\f106";
}

.wd-wishlist-add-success:before {
  content: "\f107" !important;
}


.cart-actions {
  gap: 20px !important;
}

.cart-actions > button {
  padding: 0 40px !important;
}

.csas-share-cart {
  display:none;
}

.csas-cart-box {
  background-color: white !important;
  padding: 15px 20px;
  border-radius: 35px;
}

.csas-cart-item {
  padding: 5px;
}

.csas-cart-item:hover {
  /* background-color:#ccc;*/
}

/* Titolo liste personalizzate - ora gestito da .csas-list-header */

.csas-cart-item-name {
  display:inline-block;
  line-height: 17px;
}

.csas-cart-item-name .name {
  font-size: 16px;
}

.csas-share-cart,
.csas-load-cart,
.csas-delete-cart {
  border-radius: 35px;
}

.csas-save-cart {
  border: 2px solid #ccc;
  background-color: white !important;
  color: #3E3E3E !important;
}

/* .csas-load-cart {
  border: 2px solid #ccc;
  background-color: white;
} */

.csas-load-cart {
  border: 0;
  background-color: #d41317;
  border-radius: 20px;
  color: white;
}

.csas-load-cart:hover {
  border: 0;
  background-color: #d41317;
  color: white;
}

/* .print-list {
  border: 2px solid #ccc;
  background-color: white;
  border-radius: 35px;
} */

.print-list {
  border: 0;
  background-color: #d41317;
  border-radius: 20px;
  color: white;
}

.print-list:hover {
  background-color: #d41317;
  color: white;
}

/* .csas-delete-cart {
  color: rgb(212, 19, 23);
  background-color: rgba(212, 19, 23, 0.2);
} */

.csas-delete-cart {
  background-color:white;
}


.cart_save_no_lists {
  text-align:center;
  margin: 50px 0 0 30%;
}

.cart_save_no_lists:before {
  display: block;
  margin-bottom: 20px;
  /* color: #242424; */
  font-size: 86px;
  line-height: 1;
  content: "\f109" !important;
  font-family: "woodmart-font";
}

.xd-body-inner a {
  text-decoration:underline;
}


/* Quick shop nascosto di default, ma visibile quando attivato */
.wd-quick-shop {
  display:none !important;
}
.wd-product.quick-shop-shown .wd-quick-shop {
  display: block !important;
}

.cart-empty:before {
 content: "\f109" !important;
}

.csas-cart-name {
  display: inline;
  cursor: pointer !important;
}

.csas-cart-name:hover h2 {
  text-decoration: underline;
}

.csas-cart-name h2:before {
  content: '\f116  ';
  font-family: "woodmart-font";
  font-size: 14px;
}

.le-mie-liste-link a:before {
  content: '\f122 ' !important;
}

.csas-loader {
  background-color: rgb(246, 246, 246);
  margin: 100px 45%;
  width: 70px;
  height: 70px;
}

/* Cursore pointer per elementi editabili */
.csas-cart-name,
.csas-cart-notes {
  cursor: pointer;
}

/* Input inline per editing titolo e note */
.csas-inline-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #d41317;
  border-radius: 4px;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
  background: #fff;
}

.csas-inline-input:focus {
  border-color: #d41317;
  box-shadow: 0 0 0 2px rgba(212, 19, 23, 0.15);
}

.csas-inline-title {
  font-size: inherit;
  font-weight: 600;
}

.csas-inline-notes {
  font-size: 14px;
  resize: vertical;
  min-height: 60px;
}

/* Badge email destinatari nelle liste inviate */
.hikvision-email-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.hikvision-email-badge {
  display: inline-block;
  background-color: #e0e0e0;
  color: #333;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}




/* Laptop / Desktop medio → 2 colonne */
@media (max-width: 1400px) {
  .csas-cart-box {
    width: calc(50% - 10px);
  }
}

/* Tablet / Desktop piccolo → 1 colonna */
@media (max-width: 900px) {
  .csas-cart-box {
    width: 100%;
  }
}


.famiglia-block-title > i {
  color: #d41317;
}



.product-card {
    position: relative;
    /* overflow: hidden; */
    border-radius: 20px;
}

/* Liste personalizzate - Header con titolo e note */
.csas-list-header {
    background: #f8f8f8;
    padding: 15px 20px;
    border-left: 4px solid #d41317;
    margin-bottom: 15px;
    border-radius: 0 4px 4px 0;
}

.csas-list-header .csas-cart-name h2 {
    margin: 0;
    font-size: 1.3em;
    color: #333;
}

.csas-cart-notes-wrapper {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    font-size: 14px;
    color: #555;
}

.csas-cart-notes-label {
    color: #333;
    margin-right: 5px;
}

.csas-cart-notes {
    color: #555;
    text-decoration: none;
}

.csas-cart-notes:hover {
    text-decoration: underline;
}

.csas-no-notes {
    color: #999;
    font-style: italic;
}

.csas-cart-notes-text {
    display: inline;
}


/* Menu Account - Spazi tra gruppi di voci */
.woocommerce-MyAccount-navigation ul li.menu-item-space-before {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* Dropdown My Account Header - Separatori tra gruppi */
/* Gruppo 1: Bacheca | Gruppo 2: Le mie liste, Liste inviate | Gruppo 3: Dettagli account, I tuoi dati | Gruppo 4: Disconnetti */
.wd-dropdown-my-account li a[href*="le-mie-liste"],
.wd-dropdown-my-account li a[href*="edit-account"],
.wd-dropdown-my-account li a[href*="customer-logout"] {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}
 


:is(.wd-custom-icon, picture.wd-custom-icon img) {
  max-height: 30px;
}


.wd-nav-mob-tab {
  display:none !important;
}

.mobile-pages-menu {
  display: none !important;
}

.widgetarea-mobile {
  display: none !important;
}

td.product-thumbnail img {
  border-radius: 0;
}

.product_list_widget>li img {
  border-radius: 0 !important;
}

.hw_selection_logo {
  height: 31px;
  min-width: 100px;
  /* margin-left: 20px; */
  margin-top: 10px;
}

.hw_logo {
  height: 80px !important;
}

/* .wd-toolbar {
  display: none !important;
} */

/* .elementor-social-icon {
  border-radius: 0!important;
}

.css-a1jvfi .ywcas-input-field-wrapper {
  border-radius: 0 !important;
}

.ywcas-popover-results .popover-content {
  border-radius: 0 !important;
}

:is(.btn, .button, button, [type=submit], [type=button]) {
  border-radius: 0 !important;
}

.csas-cart-box {
  border-radius: 0 !important;
}

.elementor-widget-container {
  border-radius: 0 !important;
}

.wd-sticky-container-top {
  border-radius: 0 !important;
}

.csas-cart-input, .csas-cart-textarea, .hikvision-recipient-textarea, .csas-cart-meta-section {
  border-radius: 0 !important;
}

.hikvision-recipient-emails-section {
  border-radius: 0 !important;
}

.listino-expanded-block, .listino-expanded-sezione-link {
  border-radius: 0 !important;
}

.elementor-widget-container {
  border-radius: 0 !important;
}

.product-card {
  border-radius: 0 !important;
}

.sezione-titolo-container {
  border-radius: 0 !important;
}

.famiglie-anchor-menu {
  border-radius: 0 !important;
}

.breadcrumb-select {
  border-radius: 0 !important;
}

.famiglie-anchor-menu a {
  border-radius: 0 !important;
}

.scrollToTop {
  border-radius: 0 !important;
}

.promo-banner {
  border-radius: 0 !important;
} */

/* Icona envelope per Liste ricevute nella bacheca My Account */
.wd-my-account-links .liste-ricevute-link a:before {
  content: "\f157" !important;
}

/* Badge "Nuovo" per product-card */
.product-card {
  position: relative;
}

.product-badge-new {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #438E44;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 10;
  letter-spacing: 0.5px;
}

/* Pulsante Wishlist nella product-card */
.product-card .product-card-wishlist {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 15;
  /* border: 2px solid #d41317; */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-card:hover .product-card-wishlist {
  opacity: 1;
  visibility: visible;
}

/* Mobile: pulsante wishlist sempre visibile */
@media (max-width: 1024px) {
  .product-card .product-card-wishlist {
    opacity: 1;
    visibility: visible;
  }
}

.product-card .product-card-wishlist a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #fff;
  border-radius: 50%;
  /* border-radius: 20px; */
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.product-card .product-card-wishlist a:hover {
  background-color: var(--wd-primary-color, #83b735);
}

.product-card .product-card-wishlist a:before {
  color: #d41317;
}

.product-card .product-card-wishlist a:hover:before {
  color: #fff;
}

.product-card .product-card-wishlist a span {
  display: none;
}

/* Badge "Nuovo" nella pagina singola prodotto */
.product-badge-new-single {
  position: static;
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  padding: 5px 12px;
}

/* Badge "Consigliato" per product-card */
.product-badge-featured {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: #d41317;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 10;
  letter-spacing: 0.5px;
}

/* Se entrambi i badge sono presenti, posiziona "Consigliato" sotto "Novità" */
.product-badge-new + .product-badge-featured {
  top: 38px;
}

/* Badge "Consigliato" nella pagina singola prodotto */
.product-badge-featured-single {
  position: static;
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  padding: 5px 12px;
  background-color: #d41317;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

/* Badge "Consigliato" nel template WoodMart labels */
.product-label-featured {
  background-color: #d41317 !important;
}

.wd-wishlist-btn {
  margin-left: 10px;
}

/* Wishlist Products Grid */
.wishlist-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.wishlist-product-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.wishlist-product-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.wishlist-product-card .product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 15px;
}

.wishlist-product-card .product-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 15px 0;
  color: #333;
}

.wishlist-product-card .product-title .highlight {
  color: var(--wd-primary-color, #83b735);
}

.wishlist-product-card .product-content {
  display: flex;
  gap: 15px;
}

.wishlist-product-card .product-image {
  flex: 0 0 120px;
}

.wishlist-product-card .product-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.wishlist-product-card .product-info {
  flex: 1;
}

.wishlist-product-card .product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--wd-primary-color, #83b735);
  margin-bottom: 8px;
}

.wishlist-product-card .product-sku {
  font-size: 12px;
  color: #888;
}

/* Wishlist Card Actions */
.wishlist-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  border-top: 1px solid #e5e5e5;
  background: #f9f9f9;
}

.wishlist-add-to-cart-wrapper {
  flex: 1;
  display: flex;
  gap: 10px;
}

.wishlist-add-to-cart-wrapper.variable-product {
  flex-direction: column;
}

.wishlist-variation-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
}

.wishlist-add-to-cart-btn {
  padding: 10px 20px;
  background: var(--wd-primary-color, #83b735);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.wishlist-add-to-cart-btn:hover:not(:disabled) {
  background: #6a9a2a;
}

.wishlist-add-to-cart-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.wishlist-remove-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  color: #999;
  transition: all 0.3s ease;
}

.wishlist-remove-btn:hover {
  background: #d41317;
  border-color: #d41317;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .wishlist-products-grid {
    grid-template-columns: 1fr;
  }

  .wishlist-add-to-cart-wrapper {
    flex-direction: column;
  }

  .wishlist-card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .wishlist-remove-btn {
    width: 100%;
    height: auto;
    padding: 10px;
  }
}

.wd-add-btn-replace .add-to-cart-loop:before {
  content: "\f143" !important;
}

.wd-product .product-wrapper {
  padding: 20px !important;
  border-radius: 20px !important;
}

.wd-wishlist-product-actions {
  margin-top: 25px;
}

.content-product-imagin {
  border-radius: 20px !important;
}

.wd-quick-shop {
  border-radius: 20px !important;
}

.quick-shop-wrapper {
  /* height: auto; */
}

.quick-shop-wrapper .single_add_to_cart_button {
  border-radius: 20px !important;
}

/* ==========================================================================
   WISHLIST PRODUCTS - Usa product-card identiche ai cataloghi
   ========================================================================== */

/* Reset wrapper WooCommerce per wishlist */
.wd-wishlist-content .wd-product {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
}

.wd-wishlist-content .wd-product .product-wrapper {
  display: none !important;
}

/* Nascondi elementi WooCommerce residui (swatches, variazioni hover, ecc.) */
.wd-wishlist-content .wd-product .wrapp-swatches,
.wd-wishlist-content .wd-product .wd-swatches-grid,
.wd-wishlist-content .wd-product .variations,
.wd-wishlist-content .wd-product .wd-attr,
.wd-wishlist-content .wd-product .wd-swatch-text,
.wd-wishlist-content .wd-product .fade-in-block.wd-scroll {
  display: none !important;
}

/* Product-card nella wishlist - eredita tutti gli stili delle product-card normali */
.wd-wishlist-content .product-card {
  display: block !important;
  position: relative;
  flex: 1 1 300px;
  max-width: 380px;
  /* min-height: 460px; */
  min-height: auto;
  background-color: #fff;
  border-radius: 20px;
  padding: 20px;
}

.wd-wishlist-content .product-card .product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Griglia prodotti wishlist */
/* .wd-wishlist-content .products {
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
} */

.wd-wishlist-content .wd-product.wd-col {
  width: auto !important;
  max-width: 380px;
  flex: 1 1 300px;
}

/* Pulsante rimuovi dalla wishlist - posizionato sopra il blocco */
.wd-wishlist-content .product-card {
  margin-top: 35px;
}

.wd-wishlist-content .product-card-remove {
  position: absolute;
  top: -30px;
  right: 0;
  z-index: 20;
}

.wd-wishlist-content .product-card-remove a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background-color: transparent;
  color: #d41317;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.wd-wishlist-content .product-card-remove a:hover {
  color: #a00f12;
}

.wd-wishlist-content .product-card-remove a span {
  display: inline;
}

.wd-wishlist-content .product-card-remove a::before {
  font-family: "woodmart-font";
  content: "\f112";
  font-size: 12px;
}

/* Pulsante Aggiungi alla lista */
.wd-wishlist-content .product-card-add-to-cart {
  position: relative;
  z-index: 30;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.wd-wishlist-content .product-card-add-to-cart button {
  display: block;
  position: relative;
  z-index: 31;
  width: 100%;
  padding: 12px 20px;
  background-color: #d41317;
  color: #fff !important;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 25px;
  border: none;
  transition: background-color 0.3s ease;
  pointer-events: auto !important;
  cursor: pointer;
}

.wd-wishlist-content .product-card-add-to-cart button:hover {
  background-color: #a00f12;
}

.wd-wishlist-content .product-card-add-to-cart button.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Quick shop popup dentro product-card wishlist */
.wd-wishlist-content .product-card .wd-quick-shop {
  display: block !important;
  position: relative;
}

.wd-wishlist-content .product-card .quick-shop-wrapper {
  display: none;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-top: 15px;
  border: 1px solid #eee;
}

.wd-wishlist-content .wd-product.quick-shop-shown .product-card .quick-shop-wrapper {
  display: block;
}

.wd-wishlist-content .quick-shop-close {
  text-align: right;
  margin-bottom: 10px;
}

.wd-wishlist-content .quick-shop-close a {
  color: #999;
  font-size: 13px;
}

.wd-wishlist-content .quick-shop-form .variations {
  display: block !important;
  margin-bottom: 15px;
}

.wd-wishlist-content .quick-shop-form .variations select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.wd-wishlist-content .quick-shop-form .single_add_to_cart_button {
  width: 100%;
  background-color: #d41317 !important;
  color: #fff !important;
  border: none;
  padding: 12px 20px;
  border-radius: 25px !important;
  cursor: pointer;
  font-weight: 500;
}

.wd-wishlist-content .quick-shop-form .single_add_to_cart_button:hover {
  background-color: #a00f12 !important;
}

/* =============================================
   Pulsante "Aggiungi alla lista" nelle product-card
   (archivi, carousel, ecc.)
   ============================================= */
.product-card .product-card-add-to-cart {
  /* Quando dentro .product-card-actions, non serve margin/padding/border */
}

.product-card > .product-card-add-to-cart {
  /* Solo quando è figlio diretto di product-card (senza wrapper actions) */
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.product-card .product-card-add-btn {
  display: block;
  width: 100%;
  padding: 8px 16px;
  background-color: #d41317;
  color: #fff !important;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.product-card .product-card-add-btn:hover {
  background-color: #a00f12;
}

.product-card .product-card-add-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Quick shop popup dentro product-card (archivi) */
.product-card .wd-quick-shop {
  display: none;
}

.product-card.quick-shop-shown .wd-quick-shop {
  display: block;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-top: 15px;
  border: 1px solid #eee;
}

.product-card .quick-shop-close {
  text-align: right;
  margin-bottom: 10px;
}

.product-card .quick-shop-close a {
  color: #999;
  font-size: 13px;
  text-decoration: none;
}

.product-card .quick-shop-close a:hover {
  color: #d41317;
}

.product-card .quick-shop-form .variations {
  display: block !important;
  margin-bottom: 15px;
}

.product-card .quick-shop-form .variations select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.product-card .quick-shop-form .single_add_to_cart_button {
  width: 100%;
  background-color: #d41317 !important;
  color: #fff !important;
  border: none;
  padding: 12px 20px;
  border-radius: 25px !important;
  cursor: pointer;
  font-weight: 500;
}

.product-card .quick-shop-form .single_add_to_cart_button:hover {
  background-color: #a00f12 !important;
}

/* Contenitore azioni product-card (Aggiungi alla lista + Wishlist) */
.product-card .product-card-actions {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

/* Pulsante Wishlist inline (sempre visibile, sotto il pulsante add-to-cart) */
/* Stile testuale come nella pagina prodotto (.wd-action-btn.wd-style-text) */
.product-card .product-card-wishlist-inline {
  display: block !important;
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  margin-top: 12px;
  text-align: center;
}

.product-card .product-card-wishlist-inline a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  color: var(--wd-action-color, var(--color-gray-800));
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-card .product-card-wishlist-inline a:hover {
  color: var(--wd-action-color-hover, var(--color-gray-500));
}

.product-card .product-card-wishlist-inline a::before {
  font-family: "woodmart-font";
  content: "\f106";
  font-size: 1.1em;
  font-weight: 400;
  margin-right: 0.4em;
}

.product-card .product-card-wishlist-inline a span {
  display: inline !important;
}

/* Stato aggiunto ai preferiti */
.product-card .product-card-wishlist-inline.wd-wishlist-add-success a::before {
  content: "\f107";
}

/* Nascondi il vecchio pulsante wishlist in overlay se presente */
.product-card .product-card-wishlist:not(.product-card-wishlist-inline) {
  display: none !important;
}

.woocommerce-MyAccount-content>h2,
.woocommerce-MyAccount-content header>h2 {
  font-size: 18px;
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--brdcolor-gray-300);
}

/* Pulsante Stampa lista in view-order - stesso stile della tabella liste-inviate */
a.print_order_pdf.order-actions-button {
  padding: 5px 14px !important;
  min-height: 36px !important;
  font-size: 12px !important;
  border-radius: var(--btn-accented-brd-radius) !important;
  color: var(--btn-accented-color) !important;
  background-color: var(--btn-accented-bgcolor) !important;
  box-shadow: var(--btn-accented-box-shadow) !important;
  text-transform: var(--btn-accented-transform, var(--btn-transform, uppercase)) !important;
  font-weight: var(--btn-accented-font-weight, var(--btn-font-weight, 600)) !important;
}
a.print_order_pdf.order-actions-button:hover {
  color: var(--btn-accented-color-hover) !important;
  background-color: var(--btn-accented-bgcolor-hover) !important;
  box-shadow: var(--btn-accented-box-shadow-hover) !important;
}

/* Link "Torna alle liste inviate" - stile testo semplice */
.hikvision-back-to-list .button {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: auto !important;
  color: var(--btn-accented-bgcolor) !important;
  text-transform: none !important;
  font-weight: normal !important;
}
.hikvision-back-to-list .button:hover {
  background: none !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  color: var(--btn-accented-bgcolor-hover) !important;
}

/* Nascondi titolo originale WooCommerce in view-order */
.woocommerce-order-details__title {
  display: none !important;
}

.wd-wishlist-product-actions {
  display: none !important;
}

/* Wishlist: 1 colonna su mobile */
.wd-wishlist-content .products {
  --wd-col-sm: 1 !important;
}


.wd-header-nav,
.site-logo {
  /* padding-inline: 10px; */
  padding-inline: 0!important;
}


.whb-general-header :is(.whb-mobile-left, .whb-mobile-right) {
  flex: none !important;
}


/* Menu mobile categorie: indentazione secondo livello */
#menu-mobile-categories-mega-electronics > li.item-level-0 > .wd-sub-menu,
#menu-mobile-categories-mega-electronics > li.item-level-0 > ul {
  margin-left: 20px;
}

/* Menu mobile categorie: indentazione terzo livello */
#menu-mobile-categories-mega-electronics .item-level-1 > .sub-sub-menu,
#menu-mobile-categories-mega-electronics .item-level-1 > ul {
  margin-left: 20px;
}


.wd-login-title {
  text-align: center;
}

/* Nasconde il box "Prodotti correlati" quando non ci sono prodotti */
.elementor-element-1f4a63c:has(.e-loop-nothing-found-message) {
  display: none !important;
}