.woocommerce-ordering select {
  border: 0.5px solid rgba(61,34,118,0.2) !important;
  border-radius: 50px !important;
  font-size: 12px !important;
  color: #3d2276 !important;
  padding: 6px 14px !important;
  background: #fff !important;
  outline: none !important;
}

/* ── Product cards ── */
#wcfmmp-store ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 16px !important;
}
#wcfmmp-store ul.products li.product {
  background: #fff !important;
  border: 0.5px solid rgba(61,34,118,0.1) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s !important;
  float: none !important;
  width: auto !important;
}
#wcfmmp-store ul.products li.product:hover {
  border-color: rgba(61,34,118,0.25) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(61,34,118,0.08) !important;
}

/* Product image */
#wcfmmp-store ul.products li.product a img {
  border-radius: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
}

/* Product title */
#wcfmmp-store ul.products li.product h2.woocommerce-loop-product__title {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0f0a1a !important;
  letter-spacing: -0.01em !important;
  line-height: 1.4 !important;
  padding: 12px 14px 4px !important;
  margin: 0 !important;
}

/* Stars */
#wcfmmp-store ul.products li.product .glsr-themed-rating {
  padding: 0 14px 6px !important;
  display: block !important;
}

/* Price */
#wcfmmp-store ul.products li.product .price {
  padding: 0 14px 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #3d2276 !important;
  display: block !important;
}

/* Add to cart button */
#wcfmmp-store ul.products li.product a.button.add_to_cart_button {
  display: block !important;
  margin: 0 14px 14px !important;
  width: calc(100% - 28px) !important;
  background: #3d2276 !important;
  color: #fff !important;
  border-radius: 50px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 9px 0 !important;
  text-align: center !important;
  border: none !important;
  transition: background 0.15s !important;
}
#wcfmmp-store ul.products li.product a.button.add_to_cart_button:hover {
  background: #52309e !important;
}

/* Admin edit buttons — tuck them away */
#wcfmmp-store .wcfm_buttons {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  z-index: 2 !important;
  background: rgba(255,255,255,0.9) !important;
  border-radius: 8px !important;
  padding: 4px 8px !important;
  font-size: 11px !important;
}
#wcfmmp-store ul.products li.product {
  position: relative !important;
}

/* ── Pagination ── */
.woocommerce-pagination .page-numbers {
  display: flex !important;
  gap: 6px !important;
  list-style: none !important;
  padding: 24px 0 !important;
  margin: 0 !important;
  justify-content: center !important;
}
.woocommerce-pagination .page-numbers li { margin: 0 !important; }
.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  border: 0.5px solid rgba(61,34,118,0.15) !important;
  background: #fff !important;
  color: #3d2276 !important;
  text-decoration: none !important;
  transition: all 0.15s !important;
}
.woocommerce-pagination .page-numbers li span.current {
  background: #3d2276 !important;
  color: #fff !important;
  border-color: #3d2276 !important;
}
.woocommerce-pagination .page-numbers li a:hover {
  border-color: #3d2276 !important;
  background: #f0ecf9 !important;
}