/* WooCommerce Theme Overrides matching By Baer Handmade design */

.woocommerce .button.alt,
.woocommerce input.button.alt,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce .button,
.woocommerce button.button {
  background-color: var(--primary) !important;
  color: var(--primary-foreground) !important;
  border-radius: 999px !important;
  padding: 0.75rem 1.5rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  border: none !important;
  transition: background-color 160ms ease !important;
}

.woocommerce .button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce .button:hover,
.woocommerce button.button:hover {
  background-color: color-mix(in oklch, var(--primary) 90%, transparent) !important;
}

.woocommerce span.onsale {
  background-color: var(--secondary) !important;
  color: var(--secondary-foreground) !important;
  border-radius: 999px !important;
  padding: 0.25rem 0.625rem !important;
  font-size: 0.75rem !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1 !important;
  font-weight: 500 !important;
}

.woocommerce ul.products li.product {
  text-align: left !important;
  margin-bottom: 2rem !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-serif) !important;
  font-size: 1.125rem !important;
  color: var(--foreground) !important;
  margin-top: 0.5rem !important;
}

.woocommerce ul.products li.product .price {
  color: color-mix(in oklch, var(--foreground) 80%, transparent) !important;
  font-size: 0.875rem !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: var(--font-serif) !important;
  font-size: 1.875rem !important;
  color: var(--foreground) !important;
}

/* Quantity Control */
.woocommerce .quantity .qty {
  width: 3.5rem !important;
  height: 2.75rem !important;
  text-align: center !important;
  border-radius: 999px !important;
  border: 1px solid var(--border) !important;
  font-size: 0.875rem !important;
}

/* Notice Bar */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--primary) !important;
  background-color: color-mix(in oklch, var(--blush-soft) 40%, transparent) !important;
  border-radius: 1rem !important;
  color: var(--foreground) !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--primary) !important;
}

/* Cart & Checkout */
.woocommerce-cart table.cart,
.woocommerce-checkout #order_review {
  border-radius: 1.5rem !important;
  overflow: hidden !important;
  border: 1px solid var(--border) !important;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  border-radius: 1.5rem !important;
  background: color-mix(in oklch, var(--secondary) 40%, transparent) !important;
  padding: 1.5rem !important;
}

.woocommerce-checkout #customer_details input[type="text"],
.woocommerce-checkout #customer_details input[type="email"],
.woocommerce-checkout #customer_details input[type="tel"],
.woocommerce-checkout #customer_details textarea {
  border-radius: 999px !important;
  padding: 0.625rem 1rem !important;
  border: 1px solid var(--input) !important;
  background: var(--background) !important;
}

.woocommerce-checkout #customer_details textarea {
  border-radius: 1rem !important;
}
