/* ==========================================
   WOOCOMMERCE - CENTER ADD TO CART BUTTONS
   SYDNEY THEME
   ========================================== */

/* Make each product card a vertical flex container */
.woocommerce ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
}

/* Allow product information to expand */
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    width: 100% !important;
}

/* Center the button wrapper */
.woocommerce ul.products li.product .loop-button-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: auto !important;
    padding-top: 15px !important;
}

/* Center and standardize button width */
.woocommerce ul.products li.product
.loop-button-wrapper a.add_to_cart_button {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 85% !important;
    max-width: 260px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}