/* Mezzaluna — WooCommerce product listing, scoped to product archives.
   Native WooCommerce links, sorting, pagination and filter widgets are untouched. */
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag {
  --mz-shop-ink: #251f1b;
  --mz-shop-muted: #766c64;
  --mz-shop-line: #e7ded5;
  --mz-shop-cream: #fcfaf6;
}
body.post-type-archive-product #main,
body.tax-product_cat #main,
body.tax-product_tag #main {
  background: var(--mz-shop-cream);
}
body.post-type-archive-product .woocommerce-notices-wrapper,
body.tax-product_cat .woocommerce-notices-wrapper { max-width: 1200px; margin: 0 auto; }
body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.post-type-archive-product .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering { margin-bottom: 26px; color: var(--mz-shop-muted); font-size: 13px; }
body.post-type-archive-product .products,
body.tax-product_cat .products,
body.tax-product_tag .products {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(22px,3vw,42px) clamp(16px,2.5vw,32px);
  align-items: start;
  padding: 0;
  clear: both;
}
body.post-type-archive-product .products::before,
body.post-type-archive-product .products::after,
body.tax-product_cat .products::before,
body.tax-product_cat .products::after { display: none !important; }
body.post-type-archive-product .products li.product,
body.tax-product_cat .products li.product,
body.tax-product_tag .products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  min-width: 0;
  list-style: none;
}
body.post-type-archive-product .products li.product img,
body.tax-product_cat .products li.product img,
body.tax-product_tag .products li.product img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #f3eee7;
}
body.post-type-archive-product .products li.product .woocommerce-loop-product__title,
body.tax-product_cat .products li.product .woocommerce-loop-product__title {
  color: var(--mz-shop-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(21px,2vw,29px);
  font-weight: 500;
  line-height: 1.17;
  margin-top: 14px;
}
body.post-type-archive-product .products li.product .price,
body.tax-product_cat .products li.product .price { color: var(--mz-shop-ink); font-size: 15px; font-weight: 500; }
body.post-type-archive-product .products li.product .button,
body.tax-product_cat .products li.product .button {
  display: inline-block;
  border: 1px solid var(--mz-shop-line);
  background: transparent;
  color: var(--mz-shop-ink);
  padding: 11px 20px;
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: .045em;
  text-decoration: none;
}
body.post-type-archive-product .products li.product .button:hover,
body.tax-product_cat .products li.product .button:hover {
  background: var(--mz-shop-ink);
  color: #fff;
}
@media(max-width:900px) {
  body.post-type-archive-product .products,
  body.tax-product_cat .products,
  body.tax-product_tag .products { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:540px) {
  body.post-type-archive-product .products,
  body.tax-product_cat .products,
  body.tax-product_tag .products { gap: 22px 12px; }
  body.post-type-archive-product .products li.product .woocommerce-loop-product__title,
  body.tax-product_cat .products li.product .woocommerce-loop-product__title { font-size: 20px; }
}
