/** breadcrumb **/
#wrapper .breadcrumb li:has(a[href="https://staging.errebigioielli.sbs/funzioni"]) {
  display: none !important;
}

/** HOME PAGE **/
/* slider categorie */
.box__category--3 .block-carousel-image-container a .item-title {display: none;}
.box__category--3 .block-carousel-image-container a img {max-height: 50px;}
.box__category--3 .block-carousel-image-container a .item-sub-title{
  height: 50px;
  min-height: 50px;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.2em !important;
  overflow: hidden;
}

/** PAGINE CMS **/
@media (min-width: 1200px) {
  #page #content .container {
    width: 100%;
    padding: 0;
  }
}

/** CARRELLO - Prodotti Nivoda e non solo **/
.product-line-grid-body > .product-line-info.product-price {display: flow-root;}
/* allinea verticalmente le colonne del carrello */
.product-line-grid {
  display: flex;
  align-items: center;
}
/* ripristina i <br> nel body della riga prodotto */
.product-line-grid-body br {
  display: block !important;
}
/* quantità non modificabile per diamanti */
.nivoda-qty.disabled-qty {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid #eaeae9;
  border-radius: 4px;
  background: #f6f6f6;
  color: #666;
  font-weight: 500;
  min-width: 42px;
  text-align: center;
}
/* stile del prezzo IVA esclusa */
.nivoda-price-excl {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #666;
}

/** CATEGORIE PRODOTTO **/
.product-miniature .highlighted-informations {
  position: absolute;
  top: 5px;
  right: 0px;
}
.product-miniature .product-flags {top: 5px; left: 5px;}

/** PAGINA PRODOTTO **/
@media (min-width: 576px) {
/* Etichetta a sinistra e opzione a destra */
#add-to-cart-or-refresh .product-variants > .product-variants-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}
/* Annulla lo stile del tema per le etichette delle varianti */
#add-to-cart-or-refresh .product-variants .control-label {
  width: auto;
  flex: 0 0 180px;
  margin-bottom: 0;
}
/* Mantiene i campioni colore in riga */
#add-to-cart-or-refresh .product-variants > .product-variants-item ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

/* Larghezza dei menu a tendina */
#add-to-cart-or-refresh .product-variants > .product-variants-item select {
  width: auto;
  min-width: 100px;
}
}

/** Conferma e pagina ORDINE **/
#content-hook_order_confirmation {text-align: center;}
#order-items .order-line {
  margin-top: 0;
  font-size: 1.1em;
  padding: 15px 0;
}
#order-items .order-line:nth-child(odd) {background-color: #f6f6f6;}
#order-items .order-line:nth-child(even) {background-color: #fbfbfb;}
#order-items .image img {width: auto; margin-bottom: 0; }
#order-items .details span {display: block;}
#order-items .details span::first-line {font-weight: bold;}
#order-items .details,
#order-items .qty {margin: 15px 0;}

/** FOOTER **/
.box__gallery .item-title {display: none;}
.box__gallery .item-sub-title {
  position: absolute;
  bottom: -15px;
  width: 100%;
  background: linear-gradient(0deg,rgba(34, 32, 29, 0.75) 33%, rgba(34, 32, 29, 0) 100%);
  padding: 40px 0 20px;
  border-radius: 0 0 15px 15px;
  color: #fff;
}
.box__gallery .block-carousel-image-container a:hover .item-sub-title {
  color:  var(--theme-color-default)
}

#back-top {
  bottom: 70px;
  right: 15px;
}