/*
Theme Name: Angro Child
Theme URI: https://angro.modeltheme.com/
Template: angro
Author: ModelTheme
Author URI: http://modeltheme.com/
Description: WooCommerce B2B & Wholesale Theme
Version: 1.6.4
Text Domain: angro
Tags: custom-header, custom-menu, featured-images, post-formats, sticky-post
*/
/* Theme customization starts here
------------------------------------------------------- */

/* Header menu bar background color */
.header-v1 .navbar.bottom-navbar-default {
    background: #7CB04B !important;
}
header.header-v2 #modeltheme-main-head.navbar.bottom-navbar-default {
    background: #7CB04B !important;
}

/* Hide star ratings on homepage product listings */
body.home .woocommerce ul.products li.product .star-rating,
body.home .products .star-rating,
body.home .product_list_widget .star-rating {
    display: none !important;
}

/* Hide "KDV dahil" text on homepage */
body.home .woocommerce ul.products .woocommerce-price-suffix,
body.home .products .woocommerce-price-suffix {
    display: none !important;
}

/* Wishlist button on product cards - YITH new version */
body.home .yith-add-to-wishlist-button-block,
.woocommerce ul.products .yith-add-to-wishlist-button-block {
    position: absolute !important;
    top: 1px !important;
    left: 1px !important;
    right: auto !important;
    z-index: 10 !important;
    margin: 0 !important;
    width: auto !important;
}
body.home .yith-wcwl-add-to-wishlist-button:is(button),
.woocommerce ul.products .yith-wcwl-add-to-wishlist-button:is(button) {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #555 !important;
    border: none !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    transition: all 300ms ease !important;
    font-size: 0 !important;
    gap: 0 !important;
}
body.home .yith-wcwl-add-to-wishlist-button:is(button) .yith-wcwl-add-to-wishlist-button__label,
.woocommerce ul.products .yith-wcwl-add-to-wishlist-button:is(button) .yith-wcwl-add-to-wishlist-button__label {
    display: none !important;
}
body.home .yith-wcwl-add-to-wishlist-button:is(button) svg,
.woocommerce ul.products .yith-wcwl-add-to-wishlist-button:is(button) svg {
    width: 18px !important;
    height: 18px !important;
    fill: #888 !important;
    transition: all 300ms ease !important;
}
body.home .yith-wcwl-add-to-wishlist-button:is(button):hover,
.woocommerce ul.products .yith-wcwl-add-to-wishlist-button:is(button):hover {
    background-color: #7CB04B !important;
    box-shadow: 0 4px 12px rgba(124, 176, 75, 0.35) !important;
    transform: scale(1.1);
}
body.home .yith-wcwl-add-to-wishlist-button:is(button):hover svg,
.woocommerce ul.products .yith-wcwl-add-to-wishlist-button:is(button):hover svg {
    fill: #fff !important;
}
/* Wishlist button - already added state */
body.home .yith-wcwl-add-to-wishlist-button:is(button).yith-wcwl-add-to-wishlist-button--added,
.woocommerce ul.products .yith-wcwl-add-to-wishlist-button:is(button).yith-wcwl-add-to-wishlist-button--added {
    background-color: #7CB04B !important;
}
body.home .yith-wcwl-add-to-wishlist-button:is(button).yith-wcwl-add-to-wishlist-button--added svg,
.woocommerce ul.products .yith-wcwl-add-to-wishlist-button:is(button).yith-wcwl-add-to-wishlist-button--added svg {
    fill: #fff !important;
}

/* Old YITH selectors fallback */
.woocommerce ul.products li.product .overlay-components .add_to_wishlist.button,
.overlay-components .component.wishlist a.button {
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    transition: all 300ms ease !important;
}
.woocommerce ul.products li.product .overlay-components .add_to_wishlist.button:hover,
.overlay-components .component.wishlist a.button:hover {
    background: #7CB04B !important;
    border-color: #7CB04B !important;
    box-shadow: 0 4px 12px rgba(124, 176, 75, 0.3) !important;
    transform: scale(1.1);
}
.woocommerce ul.products li.product .overlay-components .add_to_wishlist.button i,
.overlay-components .component.wishlist a.button i {
    color: #555 !important;
    font-size: 14px !important;
    transition: color 300ms ease !important;
}
.woocommerce ul.products li.product .overlay-components .add_to_wishlist.button:hover i,
.overlay-components .component.wishlist a.button:hover i {
    color: #fff !important;
}

/* Wishlist button - already added state (old version) */
.yith-wcwl-wishlistaddedbrowse.show a,
.yith-wcwl-wishlistexistsbrowse.show a {
    background: #7CB04B !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #7CB04B !important;
    box-shadow: 0 2px 6px rgba(124, 176, 75, 0.25) !important;
}
.yith-wcwl-wishlistaddedbrowse.show a i,
.yith-wcwl-wishlistexistsbrowse.show a i {
    color: #fff !important;
    font-size: 14px !important;
}

/* Single product wishlist button */
.single-product .wishlist-container .yith-wcwl-add-to-wishlist a.button {
    background: #f5f5f5 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    transition: all 300ms ease !important;
    font-size: 14px;
}
.single-product .wishlist-container .yith-wcwl-add-to-wishlist a.button:hover {
    background: #7CB04B !important;
    border-color: #7CB04B !important;
    color: #fff !important;
}
.single-product .wishlist-container .yith-wcwl-add-to-wishlist a.button:hover i {
    color: #fff !important;
}
