/* DiV Lab — Products widget. All cards come from WooCommerce; no HTML widgets. */
.divlab-products-grid {
  --dlab-catalog-accent: #FF6E02;
  --dlab-catalog-background: #FFFFFF;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  align-items: stretch;
}
.divlab-product-card {
  border: 1px solid #E7E9EC;
  background: var(--dlab-catalog-background);
  border-radius: 15px;
  overflow: hidden;
  min-width: 0;
  transition: box-shadow .15s ease, transform .15s ease;
}
.divlab-product-card:hover {
  box-shadow: 0 6px 18px rgba(24,27,33,.07);
  transform: translateY(-2px);
}
.divlab-product-media {
  background: #F0F1F3;
  display: flex;
  width: 100%;
  aspect-ratio: 1.8 / 1;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.divlab-product-img {
  display: block;
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.divlab-product-info {
  min-height: 71px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 13px 12px;
}
.divlab-product-title {
  margin: 0 0 8px;
  font: 700 15px/1.28 Inter, sans-serif;
  color: #191C22;
}
.divlab-product-title a {
  color: inherit;
  text-decoration: none;
}
.divlab-product-title a:hover {
  color: var(--dlab-catalog-accent);
}
.divlab-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 8px;
  row-gap: 4px;
}
.divlab-product-price {
  font: 700 15px/1.3 Inter, sans-serif;
  color: #1E2229;
  min-width: 0;
}
.divlab-product-price del {
  font-size: 12px;
  opacity: .6;
  margin-right: 4px;
}
.divlab-product-price ins {
  background: none;
  text-decoration: none;
}
.divlab-product-cart {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: #21252C;
  border: 1px solid #D6D8DB;
  background: #FFFFFF;
  border-radius: 9px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 17px/1 Inter, sans-serif;
}
.divlab-product-cart:hover {
  color: var(--dlab-catalog-accent);
  border-color: var(--dlab-catalog-accent);
}
.divlab-product-cart--disabled {
  color: #A8ADB5;
}
.divlab-product-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #E5E7EA, #F5F6F7);
  color: #949CA5;
  width: 100%;
  height: 100%;
  font: 500 13px/1.4 Inter, sans-serif;
}
.divlab-product-card--mockup .divlab-product-title {
  color: #777D85;
  font-weight: 600;
}
.divlab-product-price--mockup {
  color: #A0A5AB;
  font-size: 12px;
  font-weight: 500;
}
.divlab-catalog-mockup-caption,
.divlab-catalog-empty {
  font: 500 14px/1.5 Inter, sans-serif;
  color: #5F646B;
}
.divlab-catalog-mockup-caption {
  margin-bottom: 12px;
}
@media (max-width: 1200px) {
  .divlab-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .divlab-products-grid { grid-template-columns: 1fr; gap: 15px; }
  .divlab-product-info { min-height: 78px; }
  .divlab-product-media { aspect-ratio: 1.8 / 1; }
}
@media (prefers-reduced-motion: reduce) {
  .divlab-product-card { transition: none; }
}

/* Keep the catalogue navigation CTA on one line on narrow screens. */
.divlab-products-all-link { flex-shrink: 0; }
.divlab-products-all-link .elementor-button-text { white-space: nowrap; }
