/* Restores Standard WooCommerce Add to Cart Button Styling */
.woocommerce ul.products li.product .button, 
.elementor-widget-woocommerce-products .woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce-page ul.products li.product .button {
    background-color: #6B1F2A; /* Using primary brand color from globals */
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    padding: 13px 20px;
    width: 100%; /* Make button full width in grid */
    text-align: center;
    text-transform: none;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    margin-top: 15px;
}

.woocommerce ul.products li.product .button:hover,
.elementor-widget-woocommerce-products .woocommerce ul.products li.product .button.add_to_cart_button:hover {
    background-color: #222222; /* Using text color for hover */
    color: #FFFFFF;
}

/* Ensure consistent card heights and button alignment at the bottom */
.woocommerce ul.products li.product,
.elementor-widget-woocommerce-products ul.products li.product {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Push the button down to the bottom */
.woocommerce ul.products li.product > *:last-child,
.elementor-widget-woocommerce-products ul.products li.product .button {
    margin-top: auto;
}

/* Hide any stray WhatsApp buttons if they still appear */
.wa-order-btn,
.whatsapp-order-button,
a[href*="api.whatsapp.com"],
a[href*="wa.me"] {
    display: none !important;
}

/* Fix product image sizing and linking */
.woocommerce ul.products li.product a img,
.elementor-widget-woocommerce-products ul.products li.product a img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 10px;
    display: block;
}

/* Basic title styling consistency */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #222222;
    margin-bottom: 10px;
    text-align: center;
}

/* Price alignment */
.woocommerce ul.products li.product .price {
    color: #6B1F2A;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
}