/*
	Theme Name:   Savoy Child
	Theme URI:    http://themeforest.net/item/savoy-minimalist-ajax-woocommerce-theme/12537825
	Description:  Savoy child theme
	Author:       NordicMade
	Author URI:   http://www.nordicmade.com
	Template:     savoy
	Version:      1.0
*/


/* Child theme CSS
--------------------------------------------------------------- */

body.post-type-archive-product .nm-banner-slider {
    display: none;
}

.margin-top-link {
	margin-top: 20px;
}

p.buttons.nm-cart-empty-button {
	display: none !important;
}

body.woocommerce-page .nm-banner-slider {
    display: none;
}

body.home .nm-banner-slider {
    display: block !important;
}

.nm-shop-loop-thumbnail a {
    background: white;
}

.nm-shop-loop-thumbnail img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail.wp-post-image.lazyloaded {
    width: 100%;
    height: 200px;
    object-fit: contain;
	background: white;
}

#nm-quickview-slider img {
    width: 100%;
    height: 400px;
    object-fit: contain;
}

@media (min-width: 992px) {
	li#woocommerce_layered_nav-1 {
		width: 50%;
	}

	li#woocommerce_layered_nav-1 li.woocommerce-widget-layered-nav-list__item.wc-layered-nav-term {
		width: 33.33%;
		float: left;
	}	
}

@media (max-width: 768px) {
	.nm-banner-text.xlarge {
		text-align: center;
		margin-top: -40%;
	}
}