/*!
Author: LxD
Description: Boiler lulua
Version: 1.0.0
Tested up to: 8.1
Requires PHP: 7.4
*/
body.tax-brand {
	--brand-default: var(--col-base);
}
body.tax-brand .brand-header {
	flex-direction: column;
}
body.tax-brand .site {
	background-repeat: no-repeat;
	background-size: cover;
}
body.tax-brand .site-content {
	flex-wrap: wrap;
}
.full-size-header h1 {
	text-align: center;
	justify-content: center;
	padding: var(--spacing-universal);
}
.full-size-content {
	background: var(--brand-default);
}
body.tax-brand .brand-products {
	display: flex;
}
/*filter*/
body.tax-brand .wcapf-filter-taxonomy-pa_brand {
	display: none !important;
}
/*general*/
.brand-header,
.brand-title-card {
	display: flex;
	align-items: center;
}
.brand-title-card {
	width: 100%;
	flex-direction: column;
	justify-content: center;/*adjust*/
	background-repeat: no-repeat;
	background-size: cover;/*adjust*/
}
.brand-title-card figure {
	padding: var(--spacing-universal);
}
.brand-title-card img {
	height: 80%;
	max-height: 250px;
}
.brand-navigation {
	flex-wrap: wrap;
	gap: var(--gap-xl);
	overflow: hidden;
}
.brand-navigation a {
	padding: var(--spacing-universal-left-right);
	overflow: hidden;
}
.brand-description {
	padding: var(--spacing-universal);
}
.brand-description,
.term-description {
	flex-direction: column;
	gap: var(--spacing-small);
	max-width: var(--wrapper);
}
/*highlights*/
.brand-highlights  {
	background: var(--col-base);
}
.product-highlights > h2 {
	display: flex;
	align-items: center;
	gap: var(--gap-s);
	padding: var(--spacing-universal-x-small-y);
}
.product-highlights li {
	flex: 1 0 100%;
}
.product-highlights li .product-info {
	flex: 1 0;
	padding: var(--spacing-universal) !important;
}
.product-highlights a.product-link h2 {
	font-size: var(--font-l);
}
.product-highlights .description.excerpt,
.product-highlights .description.excerpt p {
	display: inline;
	text-align: left;
}
.product-highlights .description.excerpt p::after {
	content: ' ';
}
.product-highlights.special {
	position: relative;
	overflow: hidden;
}
.special .special-cover {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	height: 100%;
	width: 100%;
	background: inherit;
	z-index: 2;
	transition-duration: 0.5s;
}
.special .woocommerce {
	max-height: 50px;
	opacity: 0;
	transition: 1s 0.24s;
}
input#reveal-surprise:checked ~ .special .special-cover {
	transform: translateY(-100%);
	opacity: 0;
}
input#reveal-surprise:checked ~ .special .woocommerce {
	max-height: 100vh;
	opacity: 1;
}
@media (min-width: 1200px) {
	/*menu*/
	#ui {
		background: var(--col-base);
	}
	.site-menu *::before {
		transition-duration: 0.5s;
	}
	body.tax-brand #main-menu::before,
	body.tax-brand #main-menu::after,
	body.tax-brand #brands-all-menu::after {
		background: transparent;
	}
	body.tax-brand #main-menu:hover::after {
		background: var(--col-base-darker);
	}
	body.tax-brand #brands-all-menu:hover::after {
		background: #333;
	}
	#brands-all-menu > li > :not(ul),
	#main-menu > li > :not(div) {
		border-bottom: 1px solid transparent;
	}
	#main-menu > li > :not(div) {
		border-bottom: 1px solid var(col-base-opposite);
	}
	#brands-all-menu > li > :not(ul) {
		border-bottom: 1px solid var(col-base);
	}
	/*brand-card*/
	.brand-title-card {
		min-height: 300px;
	}
	/*background*/
	.brand-title-card {
		background-image: url('../img/brands/background/brand-default-bg.jpg');/*default*/
		background-position: 50% 100%;
	}
	.brand-title-card img {
		max-width: calc(var(--wrapper) /2);
	}
	.brand-navigation {
		justify-content: center;
		min-width: calc(var(--wrapper) /2);
	}
	.brand-description,
	.term-description {
		width: var(--wrapper);
	}
	.brand-highlights .wrapper > div {
		flex: 1 0 30%;
	}
	#brand-info,
	#brand-highlights,
	#brand-products {
		margin-top: var(--spacing-universal);
	}
}
@media (max-width: 1199px) {
	.site-content {
		flex-wrap: wrap;
	}
	.site-content > * {
		flex: 100%;
	}
	.full-size-header {
		padding-top: 0;
	}
	.brand-title-card {
		min-height: 100%;
		padding-top: var(--header-height-full);
	}
	.brand-products {
		flex-direction: column;
	}
	.brand-highlights .wrapper,
	.brand-highlights li {
		flex-direction: column;
	}
	.brand-navigation {
		padding: var(--spacing-universal-left-right);	
		gap: 0.5rem;
	}
	.brand-navigation a {
		flex: 1 0 100%;
	}
}


/*ALL BRANDS PAGE - PRODUCENCI tax */
body.tax-product_cat .site-content {
	margin-top: var(--nav-height-neg);
	padding-top: var(--nav-height);
}
body.tax-product_cat .site-main {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 2rem 0;
}
body.tax-product_cat h2 {
	font-size: 20px;
}
ul.brands-list {
	display: flex;
	flex-wrap: wrap;
	max-width: var(--wrapper);
}
ul.brands-list li.brand {
	align-items: center;
	justify-content: center;
	padding: var(--spacing-universal);
}
.brand-container,
.brand-info {
	display: flex;
	flex-wrap: wrap;
	gap: var(--gap-m);
}
.brand-container figure {
	display: flex;
	align-items: center;
	justify-content: center;
}
.brand-container > * {
	flex: 1 0 100%;
}
.brand-info {
	justify-content: center;
}
.brand-info h2 {
	text-align: center;
}
.brand-products {
	justify-content: center;
}
.brand-suggested {
	overflow: hidden;
	max-height: 0;
}
.brand-products {
	position: relative;
}
@media (min-width: 1200px) {
	ul.brands-list li.brand {
		flex-basis: 20%;
		max-width: calc(var(--wrapper) /5);
	}
	ul.brands-list figure {
		height: 100px;
	}
}
@media (max-width: 1199px) {
	ul.brands-list li.brand,
	.brand-container {
		flex-basis: 33%;
	}
	body.tax-product_cat .brand-logo img {
		max-height: 120px;
	}
}
@media (max-width: 599px) {
	ul.brands-list li.brand,
	.brand-container {
		flex-basis: 100%;
	}
}
#herve-gambs .brand-img-link,
#pineward .brand-img-link,
#robert-piguet .brand-img-link,
#truefitt-hill .brand-img-link,
#wolf-brothers .brand-img-link {
	filter: invert(1);
}