:root {
	--white: #444;
}
body.advision { padding-top: unset !important; }
body.mobile_menu_activated { overflow: hidden; }
.advision_header {
	position: sticky;
	top: 0;
	background-color: #fff;
	z-index: 800;
	.header-search-left::before { left: unset; }
	#header-search::before { display: none; }
	#header-search { position: unset; }
	#search-results {
		left: unset;
		transform: unset;
		margin-left: unset;
		right: 5px;
	}
	#header-search .search-button { right: 35px; height: unset; top: calc(50% - 15px); }
	#header-fancy-cart::before {
		top: 3.5rem;
	}	
	#fancy-cart {
		z-index: 100;
	}
}
.header_section {
	.container {
		display: flex;
		justify-content: space-between;
		align-items: center;
		position: relative;
	}
	.header_section__empty { width: 40%; }
	.header_section__logo { width: 20%; text-align: center; }
	#header-right { width: 40%;  }
}
.social-bluesky {
	position: relative;
	top: -3px;
	&:hover {
		svg { fill: #0085ff; opacity: 0.8; }
	}
}
.hidden { display: none !important; }
.arrow {
	display: block;
	width: 8px;
	height: 8px;
	border: 1px solid #fff;
	border-left: 0;
	border-top: 0;
	position: relative;
}

.arrow-right { transform: rotate(-45deg); right: 2px; }
.arrow-left { transform: rotate(135deg); left: 2px; }

.button-cta.out_of_stock {
	background: var(--non-success-color) !important;
}

.product__images_label {
	font-weight: bold;
	font-size: 1.1rem;
	em { color: red; }
}
.product-configure label em { color: red; }
.product__images {
	display: flex;
	flex-wrap: wrap;
	margin-top: 5px;
	margin-bottom: 25px;
	.product__image_wrapper {
		text-align: center;
		margin: 0 25px 25px 0;
		img {
			display: block;
			margin: auto;
			max-width: 100%;
			width: unset;
			height: unset;
			margin-bottom: 10px;
		}
		span {			
			font-size: 0.75rem;
			text-transform: uppercase;
			margin-top: 8px;
			position: relative;
		}
	}
	a { transition: all 0.3s ease-out; }
	a.disabled {
		pointer-events: none;
		position: relative;
		img { opacity: 0.35; }
		span { text-decoration: line-through; color: #777; }
	}
	a.active {
		img {
			border-bottom: 2px solid #555;
		}
		span { color: #000 !important; }
	}
	a:hover { color: #ccc; }
}

/* #product_configure_option_size { display: none; } */

.product__sizes {
	display: flex;
	flex-wrap: wrap;
	a {
		display: block;
		font-size: 0.85rem;
		padding: 6px 11px;
		margin: 0 12px 12px 0;
		border-radius: 3px;
		transition: all 0.3s ease-out;
		border: 1px solid #ccc;
		&.disabled {
			pointer-events: none;
			opacity: 0.35;
			text-decoration: line-through;
			background-color: #eee;
		}
		&:hover { 
			color: #ccc; 
			border-color: #ccc; 
		}
		&.active { 
			border-color: #000; 
			color: #000; 
		}
	}
}

.product_extra_images {
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
	min-height: 60px;
	a {
		display: inline-block;
		margin: 0 5px 5px; 0;
		padding: 2px;
		border-radius: 50%;
		border: 1px solid #ccc;
		overflow: hidden;
		transition: all 0.3s ease-out;
		img {
			display: block;
		}
		&:hover { border-color: #000; }
	}
}
.product-block-grid {
	.product_extra_images { justify-content: center; }		
}

.nav {
	padding-bottom: 15px;
	position: relative;
	.container {
		display: flex;
		justify-content: space-between;
	}
	.nav__main {
		list-style: none;
		display: flex;
		align-items: center;
		margin: 0;
		padding: 0;		
		> li {
			margin-right: 25px;			
			> a {
				display: inline-flex;
				padding: 4px 18px; 
				font-size: 1.1em;				
				border-radius: 20px;
				.line_1 {
					display: inline-block;
					width: 1px;
					height: 8px;
					background-color: #000;
					transition: transform 0.2s ease;
					position: relative;
					margin-left: 10px;
					top: 10px;
					transform: rotate(-45deg);
				}
				.line_2{
					display: inline-block;
					width: 1px;
					height: 8px;
					background-color: #000;
					transition: transform 0.2s ease;
					position: relative;
					top: 10px;
					margin-left: 4px;
					transform: rotate(45deg);
				}
			}
			&.active {
				> a {
					background-color: var(--adv_menu_bg);
					.line_1 { transform: rotate(45deg);}
					.line_2 { transform: rotate(-45deg); }
				}
				.subnav { display: block; }
			}
			&:hover ul { 
				display: flex; 
				align-items: center;
				flex-wrap: wrap;
			}
		}
		ul {			
			display: none;
			list-style: none;
			line-height: 1.2;
			position: relative;
			padding: 50px 40px 30px;
			left: 0;
			right: 0;
			top: 50%;
			width: 100%;
			position: absolute;
			z-index: 1000;			
			overflow: hidden;		
			
			.container { justify-content: unset; }
		
			li {
				margin: 5px 25px;
				animation: fade-in-stagger 0.5s ease forwards;
				transform: translateY(30px);	
				position: relative;
				&.active > a {
					color: var(--footer-text-color); 
					font-weight: bold;					
				}
			}
			&::before {
				content: '';
				background-color: var(--adv_menu_bg);
				display: block;
				border-radius: 3px;
				position: absolute;
				top: 20px;
				left: 0;
				right: 0;
				bottom: 0;
				z-index: -1;
			}
			a {
				display: block;
				white-space: nowrap;
				&:hover { color: var(--footer-text-color); font-weight: bold; }
			}
			ul { 
				display: block !important; 
				position: relative;
				top: 0;
				padding: 20px 0;
				list-style: disc !important;
				&::before { content: none; }
				li {					
					display: block;
					margin: 0 0 8px;
					padding-left: 10px;
					&::marker { color: #444; }
				}
			}
		}
	}
}
.hide {
	opacity: 0;
	visibility: hidden;
	height: 0;
	overflow: hidden;
	transition: all 0.4s ease-out;
}

.subnav {
	background-color: var(--adv_menu_bg);
	position: absolute;
	left: 0;
	right: 0;
	z-index: 1000;
	color: #444;
	/*
	transition: all 0.2s ease-in-out;
	transform: translate(-100%, 0px);
	&.active {
		transform: translate(0%, 0px);
	}
	*/
	section {
		padding: 4rem 18px;		
		animation: fade-in-stagger 1s ease forwards;
		transform: translateY(40px);		
		
		.subnav__shop_links ul {
			padding: 0;
			margin: 0;
			list-style: none;
			font-family: serif;
			font-size: 1.65em;
			transition: all 0.5s ease-in;
			li {
				margin-bottom: 12px;
				&:hover, &.hover {
					font-style: italic;
					font-weight: bold;
					a { color: var(--footer-text-color); }
				}
			}
		}
	}
	a { 
		transition: all 0.3s ease-in; display: block; 
		svg { transition: all 0.3s ease-in; }
		&.wavy {
			color: var(--sale-color);
			display: inline-block;
			position: relative;
			&::after {
				content: '';
				display: block;
				position: absolute;
				bottom: -1px;
				left: 0;
				right: 0;
				height: 5px;
				background-image: var(--wave-color);
				background-repeat: repeat;
			}
			&:hover::after {
				background-image: var(--wave-bw);
			}
		}
	}
	a:hover {
		color: var(--footer-text-color);
		font-weight: bold;
		svg { fill: var(--footer-text-color); }
	}
	li.active > a {
		color: var(--footer-text-color);
		font-weight: bold;
		svg { fill: var(--footer-text-color); }
	}	
}

.subnav__1, .subnav__2, .subnav__3, .subnav__4, .subnav__5 {
	display: grid;
	grid-template-columns: 25fr 25fr 25fr 25fr;
	grid-gap: 25px;	
}

.subnav__shop_sublinks_brands a, #sidemenu__brands a { text-transform: capitalize; }

.subnav__shop_sublinks, .subnav__shop_sub_sub_links {
	overflow: auto;
	max-height: 500px;
	ul {
		list-style: none;
		padding: 0;
		padding-left: 35px;
		border-left: 1px solid #333;
		li { 
			margin-bottom: 12px; 
			a {
				display: flex;
				width: 90%;
				justify-content: space-between;
				align-items: center;
				svg { fill: #444; }
			}
			&.active > a {
				color: var(--footer-text-color);
				font-weight: bold;
				svg { fill: var(--footer-text-color); }
			}
		}
	}
}

.subnav__shop_sub_sub_links {
	ul { border-left: 0; }
}

.subnav__shop_cta {
	text-align: right;
	
	img {
		display: block;
		width: 200px;
		height: 200px;
		object-fit: cover;
	}
	.cta {
		display: inline-block;
		width: 200px;
		margin-bottom: 20px;
		text-align: left;
		max-width: 220px;
		.title { font-family: serif; font-size: 1.15em; line-height: 1.2; margin: 5px 0; }
	}
	a:hover { font-weight: normal; }
}

button.btnMobile {
	background-color: transparent !important;
	width: 30px;
	padding: 0;
	border: 0;
	display: none;
	span {
		display: block;
		float: right;
		height: 3px;
		width: 100%;
		clear: right;
		margin: 2px 0;
		transition: all 1s ease-in-out;
		background-color: #444;
		&:first-of-type { margin-top: 0; }
		&:last-child { margin-bottom: 0; }		
	}
	&:hover {
		span { background-color: var(--footer-text-color); }
	}
}

.sidemenu {
	background-color: var(--adv_menu_bg);
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0;
	transform: translate(-100%, 0px);
	transition: all 0.5s ease;
	z-index: 5000000000;
	&.voila {
		opacity: 1;
		transform: translate(0%, 0px);
	}
	.sidemenu__box {		
		position: relative;		
		ul { 
			list-style: none; 
			overflow: auto;
			position: absolute;
			top: 0;
			left: 0;
			bottom: 0;
			background-color: var(--adv_menu_bg);
			padding: 0;
			right: 0;	
			height: 100vh;
			z-index: 6000000000;
			transform: translate(-100%,0px);
			transition: all 0.3s ease 0s;	
			&.voila {
				transform: translate(0%,0px);
			}			
		}	

		li {
			display: flex;
			font-size: 1.2rem;
			justify-content: space-between;
			border-top: 1px solid #cccccc80;
			font-family: "neuzeit-grotesk";
			&:last-of-type {
				border-bottom: 1px solid #cccccc80;
			}
			a {
				padding: 0.5rem 2.5rem;
				display: block;
				color: #444;
				font-family: serif;
				svg { fill: #444; }
			}
			a.btn_trigger {
				display: block;
				text-align: center;
				width: 60px;
				padding: 0.5rem 0;
				border-left: 1px solid #cccccc80;
			}
			&:hover > a, &.active > a { 
				color: #000; 
				svg { fill: #000; }
			}
		}		
		ul[data-level="1"] { 
			/* top: 8.5em; 			 */
			top: 0; 			
			> li { font-family: serif; font-size: 1.8rem; }
		}
		ul[data-level="2"] > li { font-size: 1.8rem; }
		a[data-cat="Shop"] + ul > li { font-family: serif; }
		a[data-cat="Shop"] + ul > li:last-of-type {
			> a { 
				color: var(--sale-color); 
				display: inline-block;
				position: relative;
				&::after {
					content: '';
					display: block;
					position: absolute;
					bottom: 7px;
					left: 35px;
					width: 160px;
					height: 5px;
					background-image: var(--wave-color);
					background-repeat: repeat;
				}
				&:hover::after {
					background-image: var(--wave-bw);
				}								
			}
		}
	}	
}

.sidemenu__breadcrumbs {
	list-style: none;
	padding: 0;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.9em;
	justify-content: center;
	align-items: center;
	text-transform: uppercase;
	color: #716262;
	li {
		a { 
			svg {
				position: relative; 
				display: inline-block;
				margin: 0 5px;
				top: -2px;				
			}
		}
		&:hover > a { color: #000; }
		&:last-of-type a svg { display: none; }
	}
}
	
.sidemenu__logo {
	position: relative;
	padding-top: 10px;
	text-align: center;
	
	.btnSlideClose {
		z-index: 1;
		position: absolute;
		top: 10px;
		right: 10px;
		padding: 0;
		width: 40px;
		height: 40px;
		display: flex;
		align-items: center;
		justify-content: center;
		background-color: transparent;
		cursor: pointer;
		border-radius: 50%;
		transition: all 0.3s ease-in;
		svg { all 0.3s ease-in; }
		&:hover {
			svg { 
				fill: red;
			}
		}
	}
	img.logo {
		max-width: 80px;
	}
}

.mm-ocd { z-index: 40000000; }
.mm-spn.mm-spn--light {
	background-color: var(--adv_menu_bg);
	.btnSlideClose {
		position: absolute;
		z-index: 1;
		top: 5px;
		right: 5px;
		left: unset;
		padding: 0;
		width: 32px;
		height: 32px;
		display: flex;
		align-items: center;
		justify-content: center;
		background-color: var(--button-bg-color-hover);
		padding: 0;
		cursor: pointer;
		@include border-radius(50%);
		@include transition(0.3s);
		svg { fill: #fff; @include transition(0.3s); width: 15px; height: 15px; }
		&:hover {
			transform: rotate(180deg);
			background-color: #000;
			svg { 
				fill: red;				
			}
		}
	}
	ul {
		font-size: 1.5rem; 
		font-family: serif;
		/* font-family: "neuzeit-grotesk";		 */
	}
	li {					
		a { 

			display: flex;
			align-items: center;
		}
	}
	ul.sp {
		font-family: serif;
		> li:last-of-type {
			> a { 
				color: var(--sale-color); 
				display: inline-block;
				position: relative;
				&::after {
					content: '';
					display: block;
					position: absolute;
					bottom: 1px;
					left: 20px;
					width: 125px;
					height: 5px;
					background-image: var(--wave-color);
					background-repeat: repeat;
				}
				&:hover::after {
					background-image: var(--wave-bw);
				}								
			}
		}		
	}
}
.highlighted { color: var(--sale-color) !important; }
.mm-ocd__content { max-width: 100%; width: 100%; }
.mm-ocd__backdrop { z-index: -1; }
.mm-ocd--open { background-color: rgba(0, 0, 0, 0.75); }
.mm-spn.mm-spn--navbar::after { 
	font-size: 1.6rem; 
	font-family: serif;
	opacity: 1 !important;
	letter-spacing: 1px;
}
#sidemenu li.active > a { color: var(--button-bg-color-hover); font-weight: 600; }
#sidemenu li:hover {
	> a { color: var(--button-bg-color-hover); }
	&::before { border-color: var(--button-bg-color-hover); }
}
.mm-spn.mm-spn--navbar ul::before { border-top: 1px solid transparent; }
.mm-spn.mm-spn--navbar::before { border-top: 1px solid var(--white); border-left: 1px solid var(--white); }
.mm-spn li::before { border-top: 1px solid var(--white); border-right: 1px solid var(--white); opacity: 0.75; }
.mm-spn li::after { margin-left: 0 !important; border-top: 1px solid transparent; }
.mm-spn li.suppressed_link {
	&::before, &::after { display: none; }
}
.mm-spn a.color-sale { color: red; }
.mm-spn a:not(:last-child)::after { border-right: 0; }


@keyframes fade-in-stagger {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.flex { display: flex; }
.color-red { color: red; }
.color_matrix {
	margin-top: 20px;
	a {
		display: block;
		max-width: 75px;
		text-align: center;
		margin: 5px 10px 5px 0px;
		
		span {
			font-size: 0.8rem;
			display: block;
			margin-top: 2px;
			line-height: 1.2;
			padding-top: 5px;
			border-top: 2px solid transparent;
		}

		&.active {
			span { border-color: #000; }
		}
		&.out {
			pointer-events: none;
			position: relative;
			&::before {
				content: '';
				width: 1px;
				height: 75px;
				background-color: #ccc;
				position: absolute;
				top: 0;
				transform: rotate(-130deg);
			}
			&::after {
				content: '';
				width: 1px;
				height: 75px;
				background-color: #ccc;
				position: absolute;
				top: 0;
				left: 40px;
				transform: rotate(130deg);
			}
		}			
	}
	img {
		display: block;
		margin: auto;
	}		
}

.size_matrix {
	margin-top: 7px;
	a {
		display: flex;
		width: 70px;
		height: 40px;
		text-align: center;
		align-items: center;
		line-height: 1.1;
		justify-content: center;
		margin: 5px 10px 5px 0px;
		border-radius: 3px;
		font-size: 0.8rem;
		border: 1px solid #ccc;
		@include border-radius(50%);
		
		&:hover {
			border-color: #000;
			color: #000;
		}
		&.active {
			border-color: #000;
			color: #000;
		}
		&.out {
			pointer-events: none;
			position: relative;
			background-color: #eee;
			&::before {
				content: '';
				width: 1px;
				height: 40px;
				background-color: #ccc;
				position: absolute;
				top: 0;
				transform: rotate(-230deg);
			}
			&::after {
				content: '';
				width: 1px;
				height: 40px;
				background-color: #ccc;
				position: absolute;
				top: 0;
				transform: rotate(230deg);
			}
		}
	}		
}

.swiper-wrapper {
	justify-content: unset;
}

@media (max-width: 768px) {
	button.btnMobile { display: block; }
	.nav{ display: none; }
	.advision_header #header-search {
		max-width: unset !important;
		margin-left: 15px;
	}
}

@media (max-width: 500px) {
	.advision_header {
		#search-results {
			left: 15px;
			width: 90%;
			max-width: unset;
			min-width: unset;
			padding: 5px !important;
		}
	}	
	.mini-list-title { padding: 0 !important; }
}
