/* MISC */
html {
	--main-color: #990A06;
	--button-color: #ca0000;
	--lighter-color: #e30009;
	--lighter-color2: #ff8678;
	--darker-color: #6b0604;
}

.page-title {
	margin-top: 0;
	color: #000;
	font-size: 40px;
}


a.underline, .underline * a {
	position: relative;
	z-index: 1;
}

a.underline:after, .underline * a:after {
	content: "";
	position: absolute;
	width: 100%;
	height: 2px;
	bottom: 10%;
	border-radius: 100px;
	left: 0;
	z-index: -1;
	background: linear-gradient(90deg, #f000 50%, #f00 50%);
	background-size: 200%;
	background-position-x: 0%;
	transition: .4s ease-in-out;
}

a.underline:hover:after, .underline * a:hover:after {
	background-position-x: -100%;
	transition: .2s ease-in-out;
}

.redbg {
	color: #fff;
}

.switch {
	position: relative;
	display: inline-block;
	width: 45px;
	height: 25px;
}

/* Hide default HTML checkbox */
.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

/* The slider */
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 100px;
	background-color: #ccc;
	overflow: hidden;
	transition: .2s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 17px;
	width: 17px;
	left: 4px;
	bottom: 4px;
	border-radius: 100px;
	background-color: white;
	transition: .2s;
}

input:checked + .slider {
	background-color: #98070d;
}

input:focus + .slider {
	box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
	transform: translateX(20px);
}

.fancybox-opened .fancybox-skin {
	border-radius: 20px;
	background: #aaa;
}

.fancybox-wrap .fancybox-image {
	border-radius: 10px;
}

div.branch.disabled:after{
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: #0008;
	z-index: 10;
}


/* HEADER */
header#masthead {
	width: 100%;
	background: var(--main-color);
}

.widthhead {
	max-width: 90vw;
	width: 1400px;
	margin: auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	height: 70px;
	padding: 20px 0;
	gap: 20px;
}

.custom-logo-link {
	display: contents;
}

.custom-logo-link img {
	display: block;
	height: 40px
}

.main-navigation {
	width: auto;
}

nav#site-navigation * ul {
	display: flex;
	gap: 5px;
}

.main-navigation a {
	color: #fff;
	white-space: nowrap;
	font-weight: 500;
	transition: .2s;
}

.main-navigation a:after {
	content: "•";
	display: inline;
	color: #4a0104;
	font-weight: 800;
	margin-left: 5px;
}

.main-navigation li:last-child a:after {
	content: "";
}

.main-navigation a:hover {
	/* 	color: var(--lighter-color2); */
	font-weight: 800;
	transition: .2s;
}


.menu-socials-container {
	display: contents;
}

#social-menu {
	display: flex;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 10px;
	width: 100%;
}

#social-menu li {
	display: contents;
}

#social-menu li a {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	align-content: center;
	flex-wrap: nowrap;
	gap: 6px;
	text-decoration: none;
	color: #fff;
	padding: 6px 12px;
	background: var(--darker-color);
	border-radius: 10px;
	transition: .2s;
}

#social-menu li a:hover {
	background: var(--lighter-color);
	transform: translateY(-2px);
	transition: .2s;
}


#social-menu li a img {
	width: 20px;
}

/* MAIN */
main {
	width: 100%;
	padding: 30px 0 50px 0;
	min-height: 48vh;
}

.main-content {
	max-width: 90vw;
	width: 1400px;
	margin: auto;
}

.main-content h2 {
	font-size: 40px;
	text-transform: uppercase;
	margin: 0 0 20px 0;
}

.bg-grad {
	position: absolute;
	top: 0;
	user-select: none;
}

#firstgrad {
	z-index: -1001;
	/* 	filter: drop-shadow(-10px 40px 60px #0009); */
}

#secondgrad {
	z-index: -1002;
}

div.branch_handler {
	display: flex;
	flex-direction: row;
	gap: 20px;
	margin-top: 20px;
}

div.branch {
	position: relative;
	overflow: hidden;
	width: 100%;
	min-height: 400px;
	height: 50vh;
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 5px 80px 0px #0000;
	transition: .3s ease;
}

img.branch_bg {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	object-fit: cover;
	/* 	filter: brightness(0.4); */
	z-index: -2;
	transition: .3s ease;
}

div.branch:before {
	content: "";
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: linear-gradient(180deg, #000d 0%, #0008 40%, #0000);
	z-index: -1;
	transition: .2s;
}

span.branch_name {
	font-size: 35px;
	text-transform: uppercase;
	font-weight: 800;
	padding: 15px 30px 0 30px;
	color: #fff;
}

div.child_branches {
	color: #fff;
	padding: 5px 30px;
	height: 100%;
	display: flex;
	flex-direction: column;
}

a.child_branch {
	color: #fffe;
	text-decoration: none;
	font-size: 22px;
	font-weight: 500;
	transition: .2s;
	width: fit-content;
	outline: none;
}

a.child_branch:hover {
	transition: .2s;
}

a.branch_link {
	display: flex;
	justify-content: space-between;
	width: 100%;
	text-align: center;
	padding: 20px 30px;
	font-size: 20px;
	background: #CA0000aa;
	color: #fff;
	text-decoration: none;
	backdrop-filter: blur(5px);
	transition: .2s;
	outline: none;
}

div.branch:hover {
	transform: translateY(-10px);
	width: 115%;
	box-shadow: 0 5px 30px 5px #0005;
	transition: .4s ease;
}

div.branch:hover img.branch_bg {
	filter: brightness(0.9) blur(4px);
	transform: scale(1.1);
	transition: .4s ease;
}

a.branch_link:hover {
	font-size: 20px;
	padding: 20px 30px;
	background: #98070dff;
	backdrop-filter: blur(0px);
	font-weight: 900;
	transition: .2s;
}

a.branch_link img {
	transition: .2s;
}

a.branch_link:hover img {
	transform: translateX(10px) scale(1.2);
	transition: .2s;
}

/* ARCHIVES */
.page-header.archive {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
    margin-top: 10px;
}

.page-header.archive h1 {
	margin: 0;
	line-height: 1;
	color: #000;
	font-size: 36px;
}

.toggleStats {
	display: flex;
	gap: 10px;
	font-size: 14px;
	color: #000;
	font-weight: 700;
	text-transform: uppercase;
	align-items: center;
}

.product_handler {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 20px;
	margin-top: 20px;
}

.product {
	position: relative;
	height: auto;
	overflow: hidden;
	border-radius: 20px;
	border: 2px solid #0001;
	cursor: default !important;
	min-height: 300px;
	transition: .3s;
}

.product img.product_thumbnail {
	position: absolute;
	object-fit: cover;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -2;
	transition: .3s;
}

.product:before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background: linear-gradient(0deg, #fffb, #fff9 30%, #fff0 60%);
	transition: .3s;
}


.product a.branch_link {
	position: absolute;
	top: 100%;
	transition: .3s;
}

.product_thumb_content {
	display: flex;
	flex-direction: column-reverse;
	justify-content: space-between;
	height: 100%;
	gap: 15px;
	padding: 20px 20px 15px 20px;
	transition: .3s;
}

.product_thumb_content * {
	margin: 0;
}

.product_thumb_content h3.entry-title {
	line-height: 1;
	color: #000;
	margin: 0;
	width: 100%;
	font-size: 22px;
	transition: .3s;
}

.product_thumb_content div.excerpt {
	opacity: 0;
	color: #fff;
	transition: .3s;
}

.product_thumb_content div.quick_stats {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 6px;
	/* 	transform: translateY(50px); */
	opacity: 0;
	transition: .3s;
}

div.quick_stats .stat {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	gap: 2px;
	min-width: 80px;
	padding: 4px 6px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	background: #fff4;
	color: #fff;
	border-radius: 5px;
	transition: .2s;
}

div.quick_stats .stat .stat_name {
	color: #fffa;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 12px;
}

div.quick_stats .stat .stat_unit {
	color: #fffa;
	margin-left: 2px;
	font-weight: 400;
	font-size: 12px;
}

.product:hover {
	transform: translateY(-5px) scale(1.02);
	transition: .2s;
}

.product_handler.show_stats * a.branch_link,
.product:hover a.branch_link {
	top: calc(100% - 70px);
	transition: .2s;
}

.product_handler.show_stats * h3.entry-title,
.product:hover h3.entry-title {
	color: #fff;
	transition: .2s;
}

.product_handler.show_stats * .product_thumb_content,
.product:hover .product_thumb_content {
	height: calc(100% - 70px);
	color: #fff;
	transition: .2s;
}

.product_handler.show_stats .product:before,
.product:hover:before {
	opacity: 0;
	transition: .2s;
}

.product_handler.show_stats * img.product_thumbnail,
.product:hover img.product_thumbnail {
	filter: blur(60px) brightness(0.6) contrast(0.1);
	transform: scale(1.4);
	top: -40px;
	transition: .3s;
}

.product_handler.show_stats * .product_thumb_content div.excerpt,
.product:hover .product_thumb_content div.excerpt {
	opacity: 1;
	transition: .2s all, .4s ease-out opacity;
}

.product_handler.show_stats * .product_thumb_content div.quick_stats,
.product:hover .product_thumb_content div.quick_stats {
	opacity: 1;
	transform: translateY(0px);
	transition: .3s ease-out;
}

/* NAVIGATION */
.navigation_handler {
	display: flex;
	gap: 10px;
	margin: 20px 0;
	justify-content: flex-end;
}

.navigation_handler > a {
	padding: 15px 18px;
	display: flex;
	gap: 10px;
	line-height: 1;
	color: #fff;
	background: #98070d;
	border: 2px solid #98070d;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 700;
	text-transform: uppercase;
	transition: .2s;
}

.navigation_handler > a:hover {
	color: #98070d;
	background: #fff;
	transform: translateY(-2px) scale(1.03);
	transition: .2s;
}

.navigation_handler > a svg path {
	transition: .2s;
}

.navigation_handler > a:hover svg path {
	stroke: #98070d;
	transition: .2s;
}

/* SUB CATS */
.leftheader {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

div.bread {
	display: flex;
	gap: 4px;
	margin-bottom: -15px;
	min-height: 21px;
	z-index: 100;
}

div.bread.branch_term {
	margin-top: -15px;
	margin-bottom: -5px;
}

div.bread > a {
	color: #aaa;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 14px;
	transition: .2s;
}

div.bread > a:hover {
	color: #ca0000;
	transition: .2s;
}

div.bread > span {
	color: #aaa;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 14px;
	user-select: none;
}

div.bread.branch_term > *:nth-last-child(1), div.bread.branch_term > *:nth-last-child(2) {
	display: none;
}

.sub_categories {
	display: none;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 10px 0 20px;
}

.child_category {
	display: flex;
	padding: 6px 12px;
	background: #ca0000;
	color: #fff !important;
	text-decoration: none;
	font-weight: 600;
	border-radius: 10px;
	border: 2px solid #ca0000;
	transition: .2s;
}

.child_category:hover {
	display: flex;
	background: #fff;
	color: #ca0000 !important;
	text-decoration: none;
	border-radius: 10px;
	transform: translateY(-2px) scale(1.02);
	transition: .2s;
}

.divider {
	display: none;
}

/* FOOTER */
img.bg-grad-foot {
	width: 100%;
	height: auto;
	display: block;
	user-select: none;
	z-index: -1;
}

footer.site-footer {
	width: 100%;
	background: #4A0505;
}

div.widthfooter {
	display: flex;
	justify-content: space-between;
	width: 90vw;
	max-width: 1400px;
	margin: auto;
	color: #fff;
	padding: 50px 0;
	gap: 50px;
}

div.left_footer {
	display: flex;
	gap: 100px;
}

div.footer_block {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

div.footer_block h4 {
	font-size: 22px;
	text-transform: uppercase;
	white-space: nowrap;
	font-weight: 900;
	margin: 0 0 20px 0;
}

div.footer_block > div > ul {
	display: flex;
	flex-direction: column;
	gap: 7px;
	list-style: none;
	align-items: flex-end;
	white-space: nowrap;
	margin: 0;
	padding: 0;
}

div.footer_block li.menu-item a {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	align-content: center;
	flex-wrap: nowrap;
	gap: 10px;
	color: #fff;
	font-size: 18px;
	text-decoration: none;
	text-align: right;
}


div.footer_block li.menu-item a img {
	width: 25px;
}


div.footer_block.company_info {
	align-items: flex-start;
	width: 400px;
}

div.company_info h4 {
	display: flex;
	align-items: center;
	gap: 15px;
}

div.company_info p {
	margin: 0;
	font-weight: 500;
	font-size: 18px;
}

div.company_info p.secondary {
	color: #fffa;
	margin-top: 20px;
	font-weight: 300;
}

/* PRODUCT PAGE */
div.product_card {
	display: flex;
	align-items: flex-end;
	gap: 20px;
}

.pre_product_image {
	display: contents;
}

.product_image {
	aspect-ratio: 1.6/2;
	width: 20vw;
	object-fit: cover;
	border: 2px solid #0001;
	background: #fff;
	border-radius: 10px;
	cursor: zoom-in;
}

.product_card_info {
	display: flex;
	width: 100%;
	align-items: flex-start;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
}

.product_card_info > * {
	margin: 0;
	line-height: 1.2;
	font-size: 18px;
}

.product_title {
	font-size: 40px;
	color: #000;
	font-weight: 800;
	line-height: 1;
}

.description > p{
	margin: 0 0 0.5em 0;
	line-height: 1.3;
	font-size: 16px;
	font-weight: 500;
	color: #444;
}

a.download_button, a.download_button:visited {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 10px;
	padding: 15px 20px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 18px;
	background: #98070dff;
	color: #fff;
	text-decoration: none;
	border: 2px solid #98070dff;
	transition: .2s;
}


a.download_button:hover {
	color: #98070dff;
	transform: scale(1.03) translateY(-2px);
	background: #fff;
	transition: .2s;
}

a.download_button:hover svg path {
	fill: #98070dff;
	transition: .2s;
}

a.download_button svg path {
	transition: .2s;
}

.product_stats {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 10px;
}

.power_stats {
	display: flex;
	flex-direction: column;
	padding: 10px;
	background: #e5e5e5;
	border-radius: 10px;
	gap: 10px;
	width: 100%;
}

.section_name {
	color: #555;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 800;
	width: 100%;
	grid-column: 1/3;
	text-align: right;
}

.stats_flex {
	display: flex;
	gap: 10px;
	width: 100%;
}

.stats_grid {
	display: grid;
	grid-template-columns: 1fr;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	margin-bottom: 10px;
}

.product_stats.grid .power_stats{
	padding: 0;
	background: none;
}

.product_stats.grid .stat_value span{
	font-size: 16px;
	line-height: 16px;
	font-weight: 600;
	color: #444;
}

.product_stats.grid span.stat_name{
	font-size: 18px;
	color: #faa;
}

.product_stats.grid .stat{
	font-size: 18px;
	line-height: 20px;
	padding: 0;
}


.product_stats .stat.big{
	width: 100000%;
}

.vert_stats .stat.big{
	width: 100%;
	grid-column: 1/3;
}

.product_stats .stat {
	width: 100%;
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	gap: 2px;
	padding: 10px 15px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	background: #fff;
	color: #000;
	border-radius: 5px;
	transition: .2s;
}

.product_stats .stat .stat_name {
	color: #999;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 14px;
}

.product_stats .stat .stat_unit {
	color: #aaa;
	margin-left: 2px;
	font-weight: 500;
	font-size: 14px;
}

.product_stats .type_stats {
	display: flex;
	gap: 10px;
    align-items: flex-start;
}

.product_stats .vert_stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	flex-direction: column;
	padding: 10px;
	background: #e5e5e5;
	border-radius: 10px;
	gap: 10px;
	width: 100%;
}

.product_stats .vert_stats .stat:first-child {
	grid-column: 1/3;
}

.product_description {
	margin-top: 20px;
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
	border-radius: 10px;
	border: 2px solid #0001;
}

.wp-block-video video {
	border-radius: 10px;
}