/* File: css/lazy-product-cats.css */
.lazy-product-cats { position: relative; min-height: 80px; }
.lpc-shimmer-wrapper {
  width: 100%;
  height: 100px;
  background: #f6f7f8;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.lpc-shimmer {
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.8), rgba(255,255,255,0));
  position: absolute;
  left: -50%;
  top: 0;
  animation: lpc-shimmer 1.2s infinite;
}
@keyframes lpc-shimmer {
  0% { left: -50%; }
  100% { left: 150%; }
}

/* Keep UL & items consistent with server output */
ul.custom-product-cats { list-style: none; margin:0; padding:0; display:flex; gap:8px; align-items:flex-start; }
ul.custom-product-cats li { width: 160px; border-radius:8px; overflow:hidden; flex:0 0 auto; }
ul.custom-product-cats li img { width:100%; height: 90px; object-fit: cover; display:block; }
ul.custom-product-cats li a {  }
ul.custom-product-cats li h3 { text-align: center;
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding: 15px 10px;
    color: #fff;
    font-size: 1.8rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    width: 100%;
    margin: 0px !important;}
.lpc-error { color: #b00; padding: 8px; }
.no-thumb { height: 90px; display:flex; align-items:center; justify-content:center; background:#eee; color:#444; padding:8px; }
