/* Product cards on brand pages (.products-grid / .product-item), the same rules the
   Lighting page carries inline. Brand pages split off it on 2026-08-01 lost them. */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.product-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.product-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}
.product-item:hover {
  transform: translateY(-4px);
  border-color: rgba(254,174,30,0.2);
  box-shadow: var(--shadow-glow);
}
.product-item:hover::before { opacity: 1; }
.product-item h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.product-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.product-item .product-type-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(254,174,30,0.08);
  color: var(--gold);
  border: 1px solid rgba(254,174,30,0.12);
  margin-bottom: 12px;
}

/* Matrix product image containers */
.matrix-img-wrap {
  background: transparent;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.matrix-img-wrap img {
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
  animation: matrixFloat 4s ease-in-out infinite;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.5s ease;
}
.product-item:hover .matrix-img-wrap img {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 12px 32px rgba(107,51,163,0.25)) drop-shadow(0 4px 12px rgba(124,58,237,0.2));
  animation-play-state: paused;
}
.matrix-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 8px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(4px);
  animation: matrixShadow 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes matrixFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes matrixShadow {
  0%, 100% { transform: scaleX(1); opacity: 0.7; }
  50% { transform: scaleX(0.85); opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) {
  .matrix-img-wrap img { animation: none; }
  .matrix-img-wrap::after { animation: none; }
}
@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; }
}
