/* WooCommerce Overrides — Mangal Kanya Inquiry-Only Theme */

/* Hide all default WC buttons/cart elements */
.woocommerce-cart-form,
.cart-collaterals,
.woocommerce-checkout,
.wc-block-cart,
.wc-block-checkout,
.added_to_cart,
.woocommerce-message .button,
.woocommerce-notices-wrapper,
.widget_shopping_cart,
.cart-contents,
.woocommerce div.product form.cart,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order {
  display: none !important;
}

/* Remove WC breadcrumbs */
.woocommerce-breadcrumb {
  display: none !important;
}

/* Clean up any WC default notices */
.woocommerce-info,
.woocommerce-error,
.woocommerce-message {
  display: none !important;
}

/* WC product title - use our own h2 styling */
.woocommerce div.product .product_title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  color: #181818;
}

/* Price styling */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #8f1721;
  font-size: 1.45rem;
  font-weight: 900;
}

/* Product tabs — hide if showing (we use our own detail spec grid) */
.woocommerce-tabs {
  display: none !important;
}

/* Related products — we use our own */
.related.products {
  display: none !important;
}

/* Up-sells — hide */
.up-sells.upsells.products {
  display: none !important;
}

/* Remove WC page title */
.woocommerce-products-header {
  display: none !important;
}

/* Pagination - style to match theme */
.woocommerce nav.woocommerce-pagination {
  text-align: center;
  margin: 40px 0;
}

.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border: 1px solid #e8ddcd;
  border-radius: 999px;
  color: #2b2925;
  font-weight: 700;
  padding: 0 12px;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: #8f1721;
  border-color: #8f1721;
  color: #fff;
}

/* Remove default WC column classes */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
  float: none !important;
  width: auto !important;
}
