/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

span.price {
    display: none !important;
}
/*ARCHIVIO WOOCOMMERCE*/
.archive.woocommerce .container-wrap {
    background: #f4f4f4;
}
.archive.woocommerce .container-wrap li {
    background: #fff;
    padding: 0 15px 15px 15px!important;
}

/*LOOP prodotto*/
.woocommerce .product-wrap {
    pointer-events: none !important; 
    cursor: default !important;
}
.woocommerce .product-wrap a img.attachment-woocommerce_thumbnail {
    max-height: 300px;
    width: auto !important;
    margin: 0 auto !important;
}

@media (max-width:1590px) {
    .woocommerce .product-wrap a img.attachment-woocommerce_thumbnail {
        max-height: 240px;
    }    
}
@media (max-width:768px) {
    .woocommerce .product-wrap a img.attachment-woocommerce_thumbnail {
        max-height: 170px;
    }    
}
@media (max-width:479px) {
    .woocommerce .product-wrap a img.attachment-woocommerce_thumbnail {
        max-height: 120px;
    }    
}
h2.woocommerce-loop-product__title {
    padding-bottom: 0 !important;
    min-height:55px;
}
.pwb-brands-in-loop {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    padding-bottom: 5px;
}
.formato, .provenienza, .gradazione {
    font-size: 14px;
}
span.loop-attitle {
    font-weight: 500;
}

.product-highlight .button {
    padding: 12px 20px !important;
    font-size: 14px !important;
    margin-top: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px;
    font-weight: bold !important;
}

/*PAGINA PRODUTTORI*/

.page-id-7565 .pwb-brand-shortcode a {
    max-width: 25%;
}
.page-id-7565 .pwb-brand-shortcode {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.page-id-7565 .pwb-brand-shortcode a {
    padding-right: 10px;
}
.page-id-7565 .pwb-brand-shortcode a+div {
    display: absolute;
}
@media (max-width:768px) {
    .page-id-7565 .pwb-brand-shortcode a {
        max-width: 50%;
    }
}
.menu-pagina-produttori .nectar-button {
width: 100% !important;
}
/*MEGAMENU*/
.megamenu.nectar-megamenu-menu-item>.sub-menu>li:not(:last-child) {
    border-right: 2px solid #000 !important;
}
.megamenu.nectar-megamenu-menu-item>.sub-menu>li {
    padding: 20px 30px !important;
    /*margin: 20px 0 !important;*/
}
.megamenu.nectar-megamenu-menu-item>.sub-menu>li:hover {
    background-color: #f4f4f4 !important;
}
/*titoli megamenu*/
.megamenu ul.sub-menu > li.menu-item-has-children > .sf-with-ul .menu-title-text {
    text-transform: uppercase !important;
    letter-spacing: 1px;
    font-weight: 700;
    color: #fca919;
    font-size: 18px;
}


/*bottone scopri*/
.megamenu ul.sub-menu > li.menu-item-has-children > ul li.button_solid_color a .nectar-menu-icon-text,
.megamenu ul.sub-menu > li.menu-item-has-children > .sf-with-ul .current-menu-item .menu-title-text {
    color: #000 !important;
}
.megamenu ul.sub-menu > li.menu-item-has-children > ul li.button_solid_color i {
    color: #fca919 !important;
    font-weight: bold !important;
}
.megamenu ul.sub-menu > li.menu-item-has-children > ul li.button_solid_color a .nectar-menu-icon-text,
.megamenu ul.sub-menu > li.menu-item-has-children > .sf-with-ul .current-menu-item a.nectar-menu-item-with-icon .menu-title-text {
    color: #000 !important;
}
/*BRAND PAGE*/
.archive.tax-pwb-brand h1 + .subheader {
    display: none;
}
