/*.site-header .main-navigation ul li.tres-happy-menu-item > a {
	color: #caa3ff;
}*/

.site-header .main-navigation ul li>ul {
	min-width: 330px !important;
}
.product-family-category-div {
	display:  none;
}

.tres-happy-top-ribbon {
	padding: 14px 0 116px;
	display: inline-block;
	width: 100%;
	text-align:  center;
}

.tres-happy-top-ribbon img {
	vertical-align: bottom;
}


.tres-happy-subs-container {
	max-width: 1380px;
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
}

.tres-happy-subs {
	flex-wrap: wrap;
    display: flex;
    background: #fff;
    padding-bottom: 40px;
    justify-content:  center;
    max-width:  1038px;
    margin:  0 auto;
}
.tres-happy-subs .col-xs {
	-webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-preferred-size: 0;
    flex-basis: 33.33%;
    max-width: 33.33% ;
    padding:  0 25px;
}
.tres-happy-subs .col-xs .product-cat {
	margin-bottom:  24px;
}
.tres-happy-subs .col-xs img {
	width:100%;
	vertical-align: bottom;
    border-bottom: 10px solid #000;
}
.tres-happy-subs .category-name {
	font-size: 2em;
    line-height: 1.5;
    padding: 0;
    margin: 0.3em 0;
	color: #000000;
	font-weight: bold;
	text-align:  left;
}

.tres-happy-subs .image-animation {
	position: relative;
    width: 100%;
}
.tres-happy-subs .image-animation .hover-image {
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 1;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    opacity: 0;
}

.tres-happy-subs .subcat-link {
	text-decoration:  none;
}

.tres-happy-subs .subcat-link:hover .image-animation .hover-image {
	opacity:  1;
}


.tres-subcat-name {
	color: #caa3ff;
	font-size: 24px;
	font-weight:  bold;
	text-transform:  uppercase;
	margin-top:  5px;
}







@media(max-width: 1100px){
	.tres-happy-subs-container {
		max-width: 900px;
	}
	.tres-happy-subs {
		max-width:  700px;
	}
	.tres-happy-subs .col-xs {
		max-width:  50%;
		flex-basis:  50%;
	}
}


@media(max-width: 1024px){
	.site-header .main-navigation ul li.tres-happy-menu-item img {
		display:  none;
	}
	.tres-happy-subs .category-name {
		font-size:  1.6em;
	}
}
@media(max-width: 768px){
	.tres-happy-subs .category-name {
		font-size:  1.2em;
	}

	.post-type-archive-product ul.products li.product, 
	.tax-product_cat ul.products li.product {
		width: 48%;
	    float: left;
	    clear: both;
	    margin: 0 0 2.992em;
	}
}
@media(max-width: 500px){
	.tres-happy-subs .category-name {
		font-size:  1em;
	}
	.tres-happy-subs-container {
		max-width: 100%;
		padding:  0 6px;
	}
}
@media(max-width: 440px){
	.tres-happy-top-ribbon {
		padding-bottom:  40px;
	}
	.tres-happy-top-ribbon img {
		width: 100%;
		padding: 0 20px;
		max-width: 280px;
	}
	.tres-happy-subs .col-xs {
		padding:  0 12px;
	}
}

@media(max-width: 320px){
	.tres-happy-subs .col-xs {
		max-width:  100%;
		flex-basis:  100%;
	}
}