/* Force Green on WooCommerce Buttons (Cart, Checkout, etc.) */
.woocommerce-page .button, 
.woocommerce-page button.button, 
.woocommerce-page a.button, 
.woocommerce-page input.button, 
.woocommerce-cart .button, 
.woocommerce-cart button.button, 
.woocommerce-cart a.button, 
.woocommerce-cart input.button, 
.woocommerce-checkout .button, 
.woocommerce-checkout button.button, 
.woocommerce-checkout a.button, 
.woocommerce-checkout input.button {
    background-color: #476448 !important;
    border-color: #476448 !important;
    color: #ffffff !important;
}

/* Ensure Cart Buttons are Green Site-Wide */
#site-header-cart .cart-contents,
.woocommerce ul.products li.product a.button,
.woocommerce div.product form.cart .button,
.widget_shopping_cart .buttons a,
.widget_shopping_cart .buttons button,
.woocommerce a.button.wc-forward,
.woocommerce a.button.checkout,
.woocommerce a.button.view-cart,
.woocommerce-mini-cart__buttons a.button,
.woocommerce-mini-cart__buttons button.button {
    background-color: #476448 !important;
    border-color: #476448 !important;
    color: #ffffff !important;
}

/* Fix Hover & Active State */
#site-header-cart .cart-contents:hover,
.woocommerce ul.products li.product a.button:hover,
.woocommerce div.product form.cart .button:hover,
.widget_shopping_cart .buttons a:hover,
.widget_shopping_cart .buttons button:hover,
.woocommerce a.button.wc-forward:hover,
.woocommerce a.button.checkout:hover,
.woocommerce a.button.view-cart:hover,
.woocommerce-mini-cart__buttons a.button:hover,
.woocommerce-mini-cart__buttons button.button:hover {
    background-color: #3a523b !important;
    border-color: #3a523b !important;
}

/* Store Notice Fix (Banner) */
p.woocommerce-store-notice {
    background-color: #476448 !important;
    color: #ffffff !important;
}

/* Store Notice Links */
p.woocommerce-store-notice a {
    color: #ffffff !important;
}

/* Store Notice Close Button */
p.woocommerce-store-notice .woocommerce-store-notice__dismiss-link {
    color: #ffffff !important;
    font-weight: bold;
}

/* Fix Cart Button in Menu */
#site-header-cart .cart-contents,
.site-header-cart a.cart-contents {
    background-color: #476448 !important;
    color: #ffffff !important;
}

/* Hover Fix for Cart in Menu */
#site-header-cart .cart-contents:hover,
.site-header-cart a.cart-contents:hover {
    background-color: #3a523b !important;
}

/* Fix Menu Cart Dropdown */
.woocommerce-mini-cart__buttons a.button,
.woocommerce-mini-cart__buttons button.button {
    background-color: #476448 !important;
    color: #ffffff !important;
}

/* Hover for Menu Cart Dropdown */
.woocommerce-mini-cart__buttons a.button:hover,
.woocommerce-mini-cart__buttons button.button:hover {
    background-color: #3a523b !important;
}

/* Mobile-specific Fix */
@media (max-width: 768px) {
    /* Ensure Cart Button on Mobile is Green */
    a.cart-contents, 
    button.cart-contents, 
    #site-header-cart .cart-contents, 
    .site-header-cart a.cart-contents {
        background-color: #476448 !important;
        color: #ffffff !important;
        border-color: #476448 !important;
    }

    /* Fix Hover on Mobile */
    a.cart-contents:hover, 
    button.cart-contents:hover, 
    #site-header-cart .cart-contents:hover, 
    .site-header-cart a.cart-contents:hover {
        background-color: #3a523b !important;
    }
}
