:root{
  --ps-primary: #b03a2e;
  --ps-dark: #2b2b2b;
  --ps-muted: #6f6f6f;
  --ps-line: #e0e0e0;
  --ps-bg-panel: #f7f7f5;
}

/* ===== Product grid: 4 columns (wireframe) instead of 2 ===== */
.products-block-post-template.wp-block-post-template.is-layout-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
@media (max-width: 900px) {
  .products-block-post-template.wp-block-post-template.is-layout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ===== Product card ===== */
li.wp-block-post.product {
  border: 1px solid var(--ps-line);
  padding: 10px;
  background: #fff;
  text-align: left;
  transition: box-shadow .2s ease;
}
li.wp-block-post.product:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/* Title */
li.wp-block-post.product .wp-block-post-title,
li.wp-block-post.product .wp-block-post-title a {
  font-size: 13px;
  font-weight: 600;
  color: var(--ps-dark);
  text-align: left;
}

/* Price */
li.wp-block-post.product .wp-block-woocommerce-product-price,
li.wp-block-post.product .wc-block-components-product-price {
  color: var(--ps-primary) !important;
  font-weight: bold;
  text-align: left !important;
}
li.wp-block-post.product .wc-block-components-product-price del {
  color: var(--ps-muted);
  font-size: 11px;
  font-weight: normal;
}

/* Add to cart button */
li.wp-block-post.product .wp-block-woocommerce-product-button .wp-block-button__link {
  width: 100%;
  background: var(--ps-primary) !important;
  color: #fff !important;
  border-radius: 2px;
  font-size: 12px;
}
