/* ==============================
  Stronger fallback CSS — targets common salla/shop classes
  Paste into Custom CSS field and save, then hard-refresh
   ============================== */

:root{
  --old-bg: #f7f9fa;
  --card-bg: #ffffff;
  --muted: #6b6b6b;
  --primary-green: #07a884;
  --accent-red: #b72b27;
  --radius-card: 14px;
  --card-padding: 18px;
}

/* apply background to section containers that likely hold products */
.old-section-style,
.products-section,
.collection-section,
.collection-products,
.products-grid,
.products-list,
.grid-products {
  background: var(--old-bg) !important;
  padding: 18px !important;
}

/* cards — multiple possible selectors */
.old-section-style .product-card,
.products-grid .product-card,
.products-list .product-item,
.grid-products .product-item,
.collection-products .product-card,
.card-product,
.product-card__inner,
.product { 
  background: var(--card-bg) !important;
  border-radius: var(--radius-card) !important;
  padding: var(--card-padding) !important;
  box-shadow: 0 6px 18px rgba(16,16,16,0.04) !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content: space-between !important;
  position: relative !important;
  overflow: visible !important;
}

/* image */
.old-section-style .product-card img,
.products-grid .product-card img,
.product-item img,
.product-card__image img,
.product__image img {
  max-width: 88% !important;
  height: 220px !important;
  object-fit: contain !important;
  display:inline-block !important;
  border-radius:10px !important;
  margin: 6px auto !important;
}

/* title center */
.old-section-style .product-title,
.product-card__title,
.product-item__title,
.card-product .title {
  text-align: center !important;
  font-size: 15px !important;
  line-height:1.45 !important;
  color: #222 !important;
  margin: 8px 6px 0 !important;
  font-weight:600 !important;
}

/* rating + price */
.old-section-style .meta-row,
.product-meta,
.product-item__meta,
.card-product .meta {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  margin:10px 0 14px !important;
  color: var(--muted) !important;
}

/* add to cart button */
.old-section-style .add-to-cart,
.product-card .add-to-cart,
.product-item .btn-add,
.card-product .add-to-cart,
.button--add-to-cart {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  margin-top: 12px !important;
  padding:12px 16px !important;
  border-radius: 12px !important;
  border:2px solid var(--primary-green) !important;
  color: var(--primary-green) !important;
  font-weight:700 !important;
  background: transparent !important;
}

/* badge new */
.old-section-style .badge-new,
.product-badge--new,
.card-product .badge.new {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  background: var(--accent-red) !important;
  color: #fff !important;
  padding:7px 12px !important;
  border-radius:10px !important;
  font-weight:600 !important;
  z-index: 999 !important;
}