/* Homepage card photos. Category cards stay on catalog.css. */
body.home .product-image-link {
  position: relative;
}
body.home .product-image-link .lm-home-frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  background: #fff;
  transition: opacity .2s;
  pointer-events: none;
}
body.home .product-image-link .lm-home-frame.is-on {
  opacity: 1;
}
body.home .product-element-top:has(.lm-home-frames) > .hover-img {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
}
body.home .lm-home-bars {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 4;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
body.home .product-image-link:hover .lm-home-bars {
  opacity: 1;
}
body.home .lm-home-bars i {
  flex: 1 1 0;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}
body.home .lm-home-bars i.is-on {
  background: #fff;
}
