/* The legacy catalog script sets an inline height before images and fonts settle. */
.product:has(> .product__wrap > .product__price) {
  height: auto !important;
}

.product__wrap:has(> .product__price) > .product__desc {
  display: none;
}

@media (min-width: 992px) {
  .product:hover > .product__wrap:has(> .product__price) {
    position: static;
    width: auto;
    min-height: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .product:has(> .product__wrap > .product__price):hover {
    background-color: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
  }

  .product:hover > .product__wrap:has(> .product__price) > .product__desc:has(> li) {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 10px 10px;
    background: #fff;
    box-shadow: 0 8px 12px rgba(0, 0, 0, .14);
    pointer-events: auto;
  }
}
