.subscription-product .wc-block-components-product-price .woocommerce-Price-amount {
    display: none !important;
}

/* Product grid: evenly spaced, consistent row alignment */
.wc-block-product-template__responsive {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-start;
}

/* Fixed width per product item for 3 per row */
.wc-block-product {
  width: calc(33.333% - 1.34rem); /* 3 columns, minus gap compensation */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  background: #fff;
  padding: 1rem;
  min-height: 520px; /* Adjust based on tallest product */
  border: 1px solid #eaeaea;
  border-radius: 6px;
}

/* Product image handling */
.wc-block-components-product-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Product title and optional details */
.wc-block-product h2,
.subscription-period-prices {
  min-height: 3.5em;
  text-align: center;
}

/* Price and add-to-cart button pinned to bottom */
.wp-block-woocommerce-product-price,
.wp-block-woocommerce-product-button {
  margin-top: auto;
  text-align: center;
}

.subscription-options-wrapper {
  margin-top: 10px;
}
.subscription-options-wrapper label {
  display: block;
  margin-bottom: 5px;
}

/* Responsive: 2 items per row on tablets */
@media (max-width: 1024px) {
  .wc-block-product {
    width: calc(50% - 1rem);
  }
}

/* Responsive: 1 item per row on mobile */
@media (max-width: 600px) {
  .wc-block-product {
    width: 100%;
  }
}

.my-account-subscriptions-table .button {
	background-color: #cc0000;
	color: white;
	padding: 6px 10px;
	text-decoration: none;
}

.subscription-error {
  clear: both;
  color: red;
  font-size: 12px;
  display: block;
  margin-top: 4px;
}

#_subscription_interval {
  float: none !important;
}

.description {
  padding: 0;
  margin: 0 0 0 40px;
  display: inline;
}

.wc-block-components-product-details__value {
  font-weight: normal !important;
}
