/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: #fff !important;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
}

.whatsapp-button:hover {
    background-color: #1ebe5d;
    transform: translateY(-2px);
}

.whatsapp-button img {
    width: 24px;
    height: 24px;
}


.woocommerce-tabs {
    display: none !important;
}

.brand-logo-link {
    display: inline-block;
    margin-bottom: 0px;
    margin-top: 0px;
}

.brand-logo-img {
    max-width: 120px;
    height: auto;
    display: block;
}

.product_meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.brand-logo-wrapper {
    margin-bottom: 0px !important; /* ridotto da 20px */
}

.woocommerce-product-details__short-description {
    margin-top: 0 !important; /* elimina spazio in eccesso */
}
.call-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #007bff;
    color: #fff !important;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
    margin-left: 10px;
}

.call-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Ingrandisce loghi marchi Filter Everything */
#wpc-filter-product_brands .wpc-filter-link .image-overlay {
  background-size: 120% !important;  /* ingrandisce lo sfondo */
  transition: all 0.3s ease-in-out;
}

/* Effetto hover */
#wpc-filter-product_brands .wpc-filter-link:hover .image-overlay {
  background-size: 140% !important;
  filter: brightness(1.1);
}

/* Quando è attivo un filtro brand, rimuovi evidenziazione da categorie */
body.avia-querystring-filtering .current-menu-item,
body.avia-querystring-filtering .current-menu-parent,
body.avia-querystring-filtering .current_page_parent {
    color: inherit !important;
    font-weight: normal !important;
    opacity: 1 !important;
}

/* EVIDENZIA SOLO il brand attivo */
body.avia-querystring-filtering .avia-menu .menu-item a[href*="product_brand="] {
    font-weight: 600 !important;
    color: #000 !important;
}


