/* CT_CATALOG_SOLDOUT_01B_COMBINATION_SUM_LABEL_AND_WISHLIST_ALIGNMENT_SAFE */
.ct-catalog-soldout {
  display: none;
}

body:is(#category, #search, #manufacturer, #prices-drop, #new-products, #best-sales)
  #js-product-list
  .product-miniature
  .product-image {
  position: relative;
}

body:is(#category, #search, #manufacturer, #prices-drop, #new-products, #best-sales)
  #js-product-list
  .product-miniature
  .ct-catalog-soldout {
  position: absolute;
  z-index: 12;
  top: 18px;
  left: 18px;
  display: inline-flex;
  min-height: 34px;
  padding: 0 15px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 2px;
  background: #f5f0e9;
  color: #111111;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

/*
 * Il cuore resta gestito dal modulo wishlist. Viene corretto soltanto
 * l'offset verticale per allinearne il centro al centro del tag SOLD OUT.
 */
body:is(#category, #search, #manufacturer, #prices-drop, #new-products, #best-sales)
  #js-product-list
  .product-miniature
  .product-image
  .wishlist
  .leo-wishlist-button {
  transform: translateY(-22px) !important;
}

@media (max-width: 767px) {
  body:is(#category, #search, #manufacturer, #prices-drop, #new-products, #best-sales)
    #js-product-list
    .product-miniature
    .ct-catalog-soldout {
    top: 10px;
    left: 10px;
    min-height: 28px;
    padding: 0 11px;
    font-size: 9px;
    letter-spacing: 0.07em;
  }

  body:is(#category, #search, #manufacturer, #prices-drop, #new-products, #best-sales)
    #js-product-list
    .product-miniature
    .product-image
    .wishlist
    .leo-wishlist-button {
    transform: translateY(-33px) !important;
  }
}
