/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/* Brands Plugin Modifications
------------------------------------------------------- */
/* Hide count after name on /stockists page */
body.stockists .pwb-all-brands small {
    display: none;
}

/* Ensure search results page spacing matches other pages. This isn't divi generated content. */
body.is_search .container {
    width: 90%;
}
body:not(.et-tb).is_search #main-content .container,
body:not(.et-tb-has-header).is_search #main-content .container {
    padding-top: 0;
}

/* Hide order by dropdown as it doesn't work on search results */
body.is_search .woocommerce-ordering {
    display: none;
}

.category-wrapper ul.products li.product:nth-child(4n+4) {
	margin-right: 0;
}
.category-wrapper ul.products li.product .cat-link {
	text-align:center;
	margin-top:8px;
}
.category-wrapper ul.products li.product .cat-link a {
	font-size: 16px;
}
.category-wrapper ul.products li.product:hover .cat-link a {
	color: #333;
}
.et_pb_widget ul li {
	width: 100%;
	text-align: left;
}

.single-product .pwb-single-product-brands.pwb-clearfix {
    display: none;
}

@media screen and (max-width:991px){
	.category-wrapper ul.products li.product .cat-link a {
		font-size: 14px;
	}
}

@media screen and (max-width:980px){
	.woocommerce.columns-4.category-wrapper {
		margin-top: 20px;
	}
}

@media screen and (max-width:768px){
/* 	.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
		margin: 0 2% 2.992em!important;
		padding: 0;
		position: relative;
		width: 46%!important;
	} */
	.woocommerce ul.products , .woocommerce-page ul.products {
		flex-wrap:wrap;
		display:flex;
	}
	.test-wrap .woocommerce  ul.products {
		justify-content:space-between;
	}
	.test-wrap  .woocommerce ul.products::before{
		display:none;
	}
	.test-wrap  .woocommerce ul.products[class*=columns-] li.product {
    width: 48%;
    float: left;
    clear: both;
    margin: 0 0 2.992em;
    }
}