header {
	background: var(--color-bg-primary);
	position: relative;
}

.header__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 20px;
}

@media(min-width: 1024px) {
	.header__top {
		padding-bottom: 0;
	}
}

.header__top__open-nav {
	cursor: pointer;
}

.header__top__banner {
	background: var(--base-gradient-background);
}

.header__top__banner-text {
	padding: 8px;
	font-size: 0.95rem;
	text-align: center;
	font-weight: 700;
	color: #fff;
	display: flex;
    justify-content: center;
}

.header__login {
	background: #fff;
    border-radius: 100%;
}

.header__login a {
	display: flex;
    height: 100%;
    align-items: center;
}

.open__cart {
	position: relative;
}

.open__cart span:not(.cart-loader) {
	background: var(--color-text-secondary);
    border-radius: 100%;
    min-width: 20px;
    position: absolute;
    top: -5px;
    right: -3px;
    font-size: 11px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 5px;
}

.header__heading {
	font-size: 1.1rem;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	text-transform: capitalize;
}

.header__menu {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 180px;
}

.header__menu li {
	cursor: pointer;
	/* display: flex; */
}

.header__menu svg {
	width: 28px;
	height: 28px;
}

.header__menu > li:not(.languages) svg:hover path {
	fill: var(--color-hover-green);
}

.header__menu .lang__menu > svg {
	width: 10px;
	height: 5px;
	transform: rotate(180deg);
	transition: all 0.3s ease-in-out;
}

.header__menu:has( .lang__menu + .translation-dropdown-menu[hidden]) .lang__menu > svg {
	transform: rotate(0deg);
}

.header__menu .lang__menu > svg path {
	fill: #7f7f7f;
}

.header__menu .lang__menu label svg {
	width: 25px;
	height: auto;
	border: 1px solid rgb(128, 128, 128);
	border-radius: 2px;
}

.header__menu .lang__menu:hover > label svg {
	border-color: var(--color-hover-green);
}

.header__menu .lang__menu:hover > svg path {
	fill: var(--color-hover-green);
}

.header__menu .svg--logout {
	width: 24px;
	height: 24px;
	fill: red;
}

.header__search {
	margin: 0;
}

.header__search-input {
	padding: 14px 14px 14px 49px;
	font-size: 1rem;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	height: 100%;
	width: 100%;
}

.header__search-wrapper {
	position: relative;
	border-radius: 10px;
	background: var(--color-bg-secondary);
	display: flex;	
	align-items: center;
	height: 48px;
}

.header__search-wrapper svg {
	position: absolute;
	left: 14px;
	width: 16px;
	height: 16px;
}

.header__nav-links {
	display: flex;
	gap: 42px;
	margin: 0;
	padding: 0;
}

.header__nav-link,
.header__nav-link > a {
	position: relative;
	padding: 0;
	font-size: 1rem;
	font-weight: 500;
	color: var(--color-text-primary);
	display: flex;
	align-items: center;
	gap: 7px;
}

.header__nav-links > .header__nav-link > a {
	padding: 9px 7px 9px;
	text-transform: uppercase;
}

.groups,
.categories {
	display: none;
	position: absolute;
	top: 100%;
	left: 1px;
	background: var(--color-bg-primary);
	z-index: 100;
	width: calc(100% - 33px);
	border-radius: 10px;
	padding: 35px;
	color: var(--color-text-primary);
	flex-wrap: wrap;
	column-gap: 30px;
	box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
	column-count: 4;
}

/* .header__nav-link:hover .groups, 
.header__nav-link:hover .categories{
	display: block;
} */

.group__heading,
.category__heading {
	font-size: .8rem;
	font-weight: 400;
	line-height: 1.2;
	margin-bottom: 0;
	margin-top: 0;
	padding-left: 0;
	z-index: 9;
	position: relative;
	background: #fff;
	border-radius: 5px;
}

.group__sub-inner .group__sub-heading,
.category__sub-inner .category__sub-heading {
	padding-left: 30px;
}

.group__sub-heading,
.category__sub-heading {
	display: block;
	padding: 7px 5px 7px 20px;
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.2;
	border-left: 0px solid transparent;
}

.group__sub-heading:hover,
.category__sub-heading:hover {
	border-left: 0px solid #2180E4;
	background: #ffffff;
}

.header__menu .translation-dropdown-menu {
    position: absolute;
    background-color: #fff;
    border: 1px solid #7f7f7f;
    box-shadow: 0 2px 6px -3px #7f7f7f;
    padding: 12px 16px;
    z-index: 1;
}

.header__menu .translation-dropdown-menu a {
    padding: 2px;
    text-decoration: none;
    display: block;
    color: #333;
}

.translation-dropdown-menu:not([hidden]) {
	display: block;
}

.header__menu .dropdown-menu a:hover {
    background-color: #f1f1f1;
}

.header_top_links {
	background: #1a1a1a;
}

.header_top_links > div {
	display: flex;
	align-content: flex-end;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
}

.header_top_links #nav__store-scopes {
	margin-right: 30px;
}

.header_top_links .header__top-linkks-wrapper {
	padding-left: 30px;
	display: flex;
	flex-flow: row wrap;
	gap: 10px 30px;
}

.header_top_links a {
	display: block;
	padding: 0 0 0 10px;
	color: #fff;
	font-size: 0.8rem;
	text-decoration: none;
	font-weight: 500;
}


/* header social links */
.header_top_links .social-links {
	flex-flow: row wrap;
	margin: 0;
	padding-right: 30px;
}

.header_top_links .social-links a {
	height: 16px;
}

.header_top_links .social-links svg {
	height: 100%;
	width: auto;
}
/* END header social links */

.dashboard--link {
	display: block;
	position: relative;
}

.dashboard--link .label.dashboard {
	position: absolute;
	top: 0;
	left: auto;
	right: 0;
	width: 80px;
	opacity: 0;
	transition: all 0.5s ease;
	pointer-events: none;
}

.dashboard--link:hover .label.dashboard {
	top: 100%;
	left: auto;
	right: 0;
	opacity: 1;
}

.dashboard--link .sidebar__link-icon {
	height: 32px;
	width: 32px;
}

.dashboard--link .sidebar__link-icon svg {
	fill: var(--color-text-teritary);
}

.dashboard--link:hover .sidebar__link-icon svg {
	fill: var(--color-text-secondary-hover);
} 

@media(min-width: 1024px) {
	.header_top_links > div {
		flex-flow: row wrap;
		padding: 7px 0;
	}

	.header_top_links a {
		padding: 0;
		font-size: 0.8rem;
		font-weight: 300;
	}

	.header_top_links #nav__store-scopes {
		margin-right: 15px;
	}
}

@media(max-width: 480px) {
	.header_top_links {
    	padding: 6px 0;
	}

	.header_top_links .social-links {
		flex-flow: row wrap;
		gap: 0;
		margin: 0;
		padding-right: 30px;
	}

	.header_top_links .header__top-linkks-wrapper {
		padding-left: 0;
		gap: 5px 20px;
		justify-content: left;
	}

	.header_top_links #nav__store-scopes {
		margin-right: 10px;
	}

	.header_top_links .social-links {
		padding-right: 10px;
	}
	
	.header_top_links .social-links li {
		width: 50%;
		padding: 5px 0;
	}
}

@media(min-width: 1024px) {
	.header__menu {
		flex-direction: unset;
	}

	.header__menu li {
		height: auto;
	}
	
	.header__menu svg {
		width: 28px;
		height: 28px;
	}

	.header__wrapper {
		display: flex;
		align-items: center;
		align-content: center;
		justify-content: space-between;
	}

	.open__cart span:not(.cart-loader) {
		top: -10px;
		right: -6px;
	}

	.header__login a {
		padding-top: 0;
	}

	.header__search {
		order: 2;
		margin: 0;
		flex: 1;
		padding-right: 5%;
	}

	.header__top {
		order: 3;
	}
}

#nav__store-scopes {
	position: relative;
}

.lang__menu {
	display: flex;
	flex-flow: row nowrap;
	gap: 10px;
	background: transparent;
	border-radius: 5px;
	padding: 7px 11px 7px 9px;
	text-transform: uppercase;
	color: var(--color-text-primary);
	align-content: center;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
}

.lang__menu label {
	font-size: .8rem;
	cursor: pointer;
}

.store__scope-links {
	height: 0;
	overflow: hidden;
	visibility: hidden;
	position: absolute;
	top: 100%;
	left: auto;
	right: 0;
	min-width: 140px;
	width: 100%;
	display: flex;
	flex-flow: column;
	list-style: none;
	background: #a7a7a7;
	padding: 6px 11px;
	margin: 0;
	border-radius: 5px;
}

.store__scope-links:not([hidden]) {
	height: auto;
	visibility: visible;
	z-index: 1;
	display: flex;
}

.store__scope-links.active {
	height: auto;
	visibility: visible;
	z-index: 1;
}

#nav__store-scopes .store__scope-link {
	margin-bottom: 5px;
	padding-bottom: 5px;
	border-bottom: 1px solid #808080;
}

#nav__store-scopes .store__scope-link.current {
	display: none;
}

#nav__store-scopes .store__scope-link:last-child {
	margin: 0;
	padding: 0;
	border: none;
}

#nav__store-scopes .store__scope-link a {
	display: flex;
	flex-flow: row nowrap;
	gap: 10px;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	text-transform: uppercase;
	cursor: pointer;
}

#nav__store-scopes .store__scope-link svg {
	display: block;
	width: 25px;
	height: auto;
	border: 1px solid #808080;
	border-radius: 2px;
}

#nav__store-scopes .store__scope-link:hover svg {
	border-color: var(--color-hover-green);
}

/* Header search */
.header__search {
	max-width: 615px;
}

.header__wrapper:has(.header__search.active) .header__top__open-seach #search {
	display: none;
}

.header__wrapper:has(.header__search.active) .header__top__open-seach #close {
	display: block;
}

@media (max-width: 1024px) {
	.header__search {
		/* display: none; */
		opacity: 0;
		width: 0;
		overflow: hidden;
		max-width: 100%;
		position: absolute;
		top: 100%;
		left: 0;
		padding: 10px 20vw;
		background: #fff;
		box-shadow: 0 2px 5px -3px #000;
		transition: width 0.5s ease;
		z-index: -1;
	}

	.header__search.active {
		display: block;
		width: 1920px;
		opacity: 1;
		z-index: 2;
	}
}

@media (max-width: 640px) {
	.header__search {
		padding: 10px;
	}
}

.user__menu {
	display: flex;
	flex-flow: row nowrap;
	gap: 30px;
	justify-content: flex-start;
	align-items: center;
	list-style: none;
}

.user__menu li,
.user__menu button {
	cursor: pointer;
}

.header__search-wrapper {
	display: grid;
	grid-template-columns: minmax(120px, 50vw) auto 44px;
	align-items: center;
	justify-items: start;
	justify-content: start;
	height: 44px;
	position: relative;
}

@media (max-width: 640px) {
	.header__search-wrapper {
		grid-template-columns: minmax(120px, 80vw) auto 44px;
	}
}

input.header__search-input,
input.header__search-input:-webkit-autofill,
input.header__search-input:-webkit-autofill:hover,
input.header__search-input:-webkit-autofill:focus {
	background: #fff;
	margin: 0;
	padding: 0 5px 0 20px;
	border: 1px solid var(--border-color);
	border-right-color: var(--color-text-secondary);
	border-radius: 8px 0 0 8px;
	font-size: 1rem;
	line-height: 1;
	width: 100%;
	height: 100%;
}

input.header__search-input::placeholder {
	font-size: 0.9rem;
}

.header__search-wrapper:has(input.header__search-input:focus-visible) {
	border-color: var(--color-text-secondary);
}

input.header__search-input:focus-visible,
.header__search__categories select:focus-visible {
	outline: none;
}

.button__default.button-search {
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 44px;
	border-radius: 0 8px 8px 0;
	border-width: 0;
	padding: 0;
}

.header__search__categories {
	position: relative;
	width: 120px;
	height: 100%;
	border: 1px solid var(--border-color);
	border-width: 1px 0 1px 0;
}

.header__search__categories #search__category {
	display: block;
	border: none;
	width: inherit;
	height: 100%;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	cursor: pointer;
	appearance: none;
}

.header__search__categories .toggle {
	display: block;
	width: 12px;
	position: absolute;
	top: 50%;
	left: auto;
	right: 5px;
	transform: translateY(-50%);
	pointer-events: none;
}

.header__search__categories:has(select:focus) .toggle {
	transform: rotate(180deg) translateY(50%);
}

.button__default.button-search path {
	fill: #fff;
}

.header__top__open-seach {
	display: flex;
	width: 23px;
	height: 100%;
	align-content: center;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

@media (min-width: 1024px) {
	.mobile.header__top__open-seach {
		display: none;
	}
}

.header__top__open-seach svg {
	display: block;
	width: 100%;
	height: auto;
}

.header__top__open-seach #close {
	display: none;
}

.header__search.active+.header__top__open-seach svg {
	display: none;
}

.header__search.active+.header__top__open-seach #close {
	display: block;
}
/* END Header search */

/* Category Menu */
.button__open-categories {
	display: grid;
	grid-template-columns: 40px 1fr 20px;
	background: var(--color-text-secondary);
	color: #fff;
	align-content: center;
	justify-content: start;
	align-items: center;
	height: 100%;
	width: 100%;
	padding: 15px 20px 15px 10px;
	cursor: pointer;
	justify-items: start;
	border-radius: 8px;
	text-transform: uppercase;
}

.button__open-categories .close-icon {
	display: inline-flex;
	align-self: center;
	justify-self: flex-end;
}

.button__open-categories .close-icon svg {
	width: 14px;
	height: 14px;
	transform: rotate(0deg);
	transition: all 0.5s ease-out;
}

.button__open-categories .text {
	padding-right: 10px;
}

.button__open-categories .text a {
	pointer-events: none;
}

#js__productCatalogMenuContainer {
	width: 240px;
	max-width: 100%;
}

#js__productCatalogMenuContainer:has(.button__open-categories+.active) .button__open-categories .close-icon svg {
	transform: rotate(-180deg);
}

@media (max-width: 1023px) {
	.button__open-categories {
		grid-template-columns: 40px 1fr auto;
		height: auto;
	}
}

#js__nav-category {
	height: 0;
	width: auto;
	position: absolute;
	top: 110%;
	left: 0;
	/* background: #fff; */
	overflow: hidden;
}

#js__nav-category.active {
	display: block;
	width: auto;
	height: calc(100vh - 240px);
	overflow: visible;
	z-index: 99;
}

.header__category-links {
	display: flex;
	flex-flow: column;
	justify-content: flex-start;
	align-items: flex-start;
	max-width: inherit;
	position: relative;
	height: 0;
	width: 100%;
	border: var(--border-light-gray);
	border-radius: 6px;
	padding: 0;
	margin: 0;
	background: var(--color-bg-primary);
	box-shadow: 1px 1px 6px -3px #000;
	top: auto;
	left: auto;
	right: auto;
	bottom: auto;
}

@media (max-width: 1023px) {
	.js__open-categories {
		height: auto;
	}

	#js__nav-category.active {
		height: auto;
		overflow: visible;
		position: relative;
		top: auto;
		left: auto;
	}

	.header__category-links {
		box-shadow: none;
	}
}

#js__nav-category.active .header__category-links {
	height: auto;
}

.header__category-links ul {
	list-style: none;
}

.header__category__nav-link {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--border-color);
	position: relative;
}

.header__category-links:has(.header__category__nav-link.active:first-child) {
	border-top-right-radius: 0;
}

.header__category__nav-link:last-child {
	border-bottom: none;
}

.header__category__nav-link a {
	display: flex;
	flex-flow: row nowrap;
	padding: 10px 24px 10px 18px;
	gap: 10px;
	justify-content: flex-start;
	align-items: center;
	transition: all 0.2s ease-in;
}

.header__category__nav-link .group__heading a {
	text-transform: uppercase;
	transition: all 0.3s ease-out;
}

@media (max-width: 1023px) {
	.header__category__nav-link a {
		padding: 5px;
	}
}

.header__category__nav-link a:not(.horisontal-menu a):hover,
.header__category__nav-link.active a:not(.horisontal-menu a) {
	color: var(--color-text-secondary);
}

.header__category__nav-link.active .open-submenu svg {
	transform: rotate(-180deg);
}

.header__category__nav-link.active .open-submenu svg path {
	fill: var(--color-hover-green);
}

.header__category__nav-link .horisontal-menu a.active,
.header__category__nav-link .horisontal-menu a:hover {
	color: var(--color-hover-green);
}

.header__category__nav-link > .group__heading a.active,
.header__category__nav-link:has(.horisontal-menu a.active) > .group__heading a {
	color: var(--color-text-secondary);
}

.header__category__nav-link a:hover svg path {
	fill: var(--color-hover-green);
}

.header__category__nav-link .category__image {
	display: flex;
	flex-flow: row nowrap;
	align-content: center;
	justify-content: center;
	align-items: center;
	width: 27px;
	height: 27px;
	background-color: var(--color-text-secondary);
	border: 1.5px solid var(--color-text-secondary);
	border-radius: 5px;
	padding: 3px;
	transition: all 0.3s ease-out;
}

.header__category__nav-link:hover .category__image {
	background-color: var(--color-text-secondary-light);
	border-color: var(--color-hover-green);
}

.header__category__nav-link .category__image img,
.header__category__nav-link .category__image svg {
	display: block;
	width: 100%;
	height: auto;
	transition: all 0.3s ease-out;
}

.header__category__nav-link .category__name {
	font-size: 1rem;
	font-weight: 400;
	text-transform: uppercase;
}

.header__category-links>.header__category__nav-link>.horisontal-menu {
	display: grid;
	position: absolute;
	top: -1px;
	left: 100%;
	width: 0;
	padding: 15px;
	margin: 0;
	background: var(--color-text-white);
	border: var(--border-light-gray);
	border-radius: 0 6px 6px 0;
	box-shadow: 3px 1px 8px -4px #000;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	overflow: vivible;
}

.header__category-links>.header__category__nav-link:not(.active)>.horisontal-menu {
	display: none;
	overflow: hidden;
}

.header__category-links>.header__category__nav-link.active>.horisontal-menu {
	width: calc(100vw - 350px);
	max-width: 1024px;
}

.header__category-links>.header__category__nav-link>.horisontal-menu>li {
	padding: 10px;
}

.header__category-links>.header__category__nav-link>.horisontal-menu>li>a {
	padding: 0 0 20px;
	font-weight: 700;
	font-size: 0.9rem;
}

.header__category-links>.header__category__nav-link>.horisontal-menu>li .category__name {
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: uppercase;
}

.header__category-links>.header__category__nav-link .horisontal-menu .horisontal-menu .category__name {
	font-size: 0.8rem;
	font-weight: 400;
	text-transform: initial;
}

.header__category-links>.header__category__nav-link .horisontal-menu .horisontal-menu a {
	display: inline-block;
	padding: 0 0 2px;
	border-bottom: 1px solid transparent;
	margin-bottom: 8px;
	padding-right: 5px;
}

.header__category-links>.header__category__nav-link .horisontal-menu .horisontal-menu a:hover,
.header__category-links>.header__category__nav-link .horisontal-menu .horisontal-menu a.active {
	border-bottom: 1px solid var(--color-hover-green);
}

.open-submenu {
	display: flex;
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;
	height: 100%;
	align-content: center;
	justify-content: center;
	align-items: center;
}

.header__category__nav-link:hover a .open-submenu svg path {
	fill: var(--color-hover-green);
}

@media (max-width: 1023px) {
	.open-submenu {
		width: 30%;
		justify-content: flex-end;
		z-index: 1;
		height: 40px;
	}

	.open-submenu svg {
		display: block;
		transform: rotate(90deg);
		right: 20px;
		position: relative;
	}

	.header__category-links>.header__category__nav-link.active>.horisontal-menu {
		width: 100%;
		display: block;
		position: relative;
		top: auto;
		right: auto;
		left: auto;
		box-shadow: none;
		padding: 0 0 15px;
	}

	.header__category-links>.header__category__nav-link>.horisontal-menu>li>a {
		padding: 5px 0 2px 10px;
		border-bottom: var(--input-border);
	}
}

.menu__wrap {
	display: grid;
	grid-template-columns: 1fr;
	justify-content: start;
	justify-items: stretch;
	align-items: center;
	gap: 15px;
}

@media (max-width: 1023px) {
	.menu__wrap {
		padding: 50px 0 20px;
		gap: 5px;
	}

	.menu__wrap .category-menu-wrapper {
		order: 2;
	}

	.menu__wrap #nav__pages {
		order: 3;
		padding-top: 10px;
		margin-top: 30px;
		border-top: var(--input-border);
		border-width: 2px;
	}

	.menu__wrap #nav__store-scopes {
		order: 1;
	}
}

@media (min-width: 1024px) {
	.menu__wrap {
		grid-template-columns: minmax(140px, 250px) 1fr;
		justify-items: start;
	}
}

.category-menu-wrapper {
	width: 100%;
	height: 100%;
	padding: 0;
	position: relative;
}

.category-menu-wrapper label * {
	color: var(--color-text-white);
}

/* END Category Menu */
