/* Header Top - Start */
header { 
	position: fixed;
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: var(--white);
	width: 100%;
	height: var(--header-height);
	margin: 0;
	padding: 0;
	z-index: 1000;
}
header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--top-bar-height);
	background: var(--black);
}
.header-top {
	display: flex;
	align-items: center;
	justify-content: center;
	height: var(--top-bar-height);
	position: relative;
}
.top-bar-text {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
	white-space: nowrap;
}
.top-bar-text span {
	color: var(--white);
}
.dropdown-wrapper.top-bar-lang {
	margin-right: calc(var(--container-indent) / 2);
	position: absolute;
	top: 4px;
	right: 0;
}
.dropdown-wrapper.top-bar-lang > .dropdown-box  {
	width: 41px;
	bottom: -71px;
}
.top-bar-lang .current-choise-value {
	color: var(--white);
}
.top-bar-lang .dropdown-icon {
	filter: brightness(0) invert(1);
}
@media (min-width: 1280px) {
	.top-bar-marquee span:not(:first-child) {
		display: none;
	}
}
@media (max-width: 1279px) {
	.top-bar-marquee {
		display: flex;
		width: max-content;
		animation: marquee var(--marquee-duration, 10s) linear infinite;
	}
	.top-bar-marquee span {
		padding: 0 40px;
		white-space: nowrap;
	}
	header::before {
		display: block !important;
	}
}
@keyframes marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-33.333%); }
}
/* Header Top - End */

/* Header Main - Start */
.header-main {
	height: calc(var(--header-height) - var(--top-bar-height) - var(--bottom-bar-height));
}
header .btn-catalog {
	background: none;
	padding: 0;
	height: auto;
	gap: 8px;
}
header .btn-catalog span {
	color: var(--black);
}
.logo-header {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
}
.logo-header img {
    width: 200px;
}
.login-text {
	cursor: pointer;
}
.header-bottom {
	height: var(--bottom-bar-height);
}
.top-bar-menu {
	display: flex;
	width: 100%;
	height: 100%;
}
.top-bar-menu nav {
	display: flex;
	width: 100%;
	height: 100%;
}
#top-bar-menu {
	list-style: none;
	display: flex;
	gap: 0;
	width: 100%;
	height: 100%;
}
#top-bar-menu li {
	display: flex;
	flex-grow: 1;
}
#top-bar-menu a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 0 10px;
	border-right: 1px solid var(--border);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	transition: all 0.3s ease;
}
#top-bar-menu li:last-child a {
	border-right: none;
}
#top-bar-menu a:hover {
	background: var(--primary);
	color: var(--white);
}
.btn-catalog picture {
	transition: all 0.3s ease-in-out;
}
.btn-catalog .close-menu {
	opacity: 0;
	visibility: hidden;
	position: absolute;
	transition: all 0.3s ease-in-out;
}
.btn-circle.user-account {
	margin-left: 14px;
}

@media (max-width: 1279px) {
	.side-menu-call {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 6.5px;
		width: 28px;
		height: 16px;
		cursor: pointer;
		position: relative;
	}
	.side-menu-call > .menu-line {
		display: flex;
		width: 28px;
		height: 1px;
		background: var(--black);
		transition: all 0.3s ease;
	}
	.side-menu-call.active > .menu-line:nth-child(1) {
		transform: rotate(45deg);
		position: absolute;
		top: 50%;
	}
	.side-menu-call.active > .menu-line:nth-child(2) {
		opacity: 0;
	}
	.side-menu-call.active > .menu-line:nth-child(3) {
		transform: rotate(-45deg);
		position: absolute;
		top: 50%;
	}
	.logo-header {
		position: static;
		transform: none;
		margin-right: auto;
	}
	.logo-header img {
        width: 36px;
	}
	.btn-sale {
		display: none !important;
	}
	.btn-catalog {
		order: -1;
		height: 30px !important;
		width: 30px !important;
		padding: 5px 5px !important;
	}
	.btn-catalog span {
		display: none !important;
	}
	.chating,
	.change-lang {
		display: none !important;
	}
	header .login-text {
		display: none!important;
	}
}
/* Header Main - End */

/* Search - Start */
.search-wrapper {
	display: flex;
	flex-grow: 1;
}
.search-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 1;
}
.search-wrapper.in-search .search-background {
	visibility: visible;
	pointer-events: all;
}
.search-wrapper .search-box .icon {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	/* Left - Right */
	left: initial;
	right: 14px;
	/* Left - Right */
	width: 17px;
	height: 17px;
	background: url(/wp-content/themes/shop/img/icons/search.svg) no-repeat center center;
	background-size: contain;
	/* filter: url(#primary-color); */
	transition: all 0.5s ease;
	cursor: pointer;
	z-index: 2;
}
.search-wrapper.in-search .search-box .icon {
	background: url(/wp-content/themes/shop/img/icons/close.svg) no-repeat center center;
	background-size: contain;
}
.search-wrapper .search-box .input {
	font-family: var(--font-family-1);
	font-size: 14px;
	line-height: 14px;
	font-weight: 300;
	background: #f9f9f9;
	color: #676767;
	padding: 14px 14px 14px 14px;
	transform: translateY(0px);
}
.search-inline-pc {
	display: none;
}
.search-popup-mob {
	display: none;
}
.search-call-mob {
	display: none;
}
/* Search Result - Start */
#search-results {
	position: fixed;
	top: var(--header-height);
	display: flex;
	flex-direction: column;
	width: 628px;
	height: fit-content;
	min-height: 250px;
	max-height: 50vh;
	padding: 0 15px;
	background: var(--white);
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	box-shadow: 0px 2px 5px rgb(0 0 0 / 10%);
	z-index: 2;
}
.no-result {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 250px;
}
.category-tabs {
	position: sticky;
	top: 0;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 15px;
	width: 100%;
	min-height: calc(30px + 16px);
	padding: 15px 0;
	margin: 0 0 15px 0;
	background: #fff;
	overflow-x: auto;
	overflow-y: hidden;
	z-index: 1;
}
.category-tabs::-webkit-scrollbar {
	height: 6px;
}
.category-tabs a {
	display: flex;
	color: #c7c7c7;
	min-width: max-content;
	font-size: 16px;
	line-height: 16px;
}
.category-tabs a.active,
.category-tabs a:hover {
	color: var(--primary);
}
.view-all-results {
	position: sticky;
	bottom: -1px;
	display: flex;
	padding: 15px 0;
	margin-top: auto;
	background: #fff;
}
.tab-content {
	display: flex;
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 5px;
}
.tab-pane {
	display: none;
	flex-direction: column;
	width: 100%;
}
.tab-pane.active {
	display: flex;
}

/* Search Result - Start */
@media (min-width: 9999px) {
	.search-inline-pc {
		position: relative;
		display: flex;
		gap: 10px;
		width: 100%;
		z-index: 2;
	}
	.search-wrapper.in-search .search-background {
		visibility: visible;
		pointer-events: all;
	}
}
@media (max-width: 9998px) {
	.search-call-mob {
		display: flex;
		align-items: center;
		margin-left: auto;
		cursor: pointer;
		width: fit-content;
		min-width: 26px;
		gap: 8px;
		margin-right: -10px;
		background: #f8f8f8;
		padding: 10px 20px;
		border-radius: 100px;
	}
	.search-call-mob img {
		width: 16px;
		height: 16px;
		object-fit: contain;
		transform: translateY(-1px);
	}
	.search-wrapper {
		position: fixed;
		display: flex;
		justify-content: center;
		width: 100%;
		z-index: 10;
	}
	.search-background {
		background: #00000000;
		-webkit-backdrop-filter: blur(2px);
		backdrop-filter: blur(2px);
	}
	.search-background.active {
		opacity: 1;
		visibility: visible;
		pointer-events: all;
	}
	.search-popup-mob {
		position: fixed;
		top: calc(var(--header-height) / 2);
		left: 0;
		right: 0;
		margin: 0 auto;
		width: 60%;
		max-width: 800px;
		padding: 10px;
		border-radius: var(--radius-medium);
		background: var(--light-gray);
		z-index: 2;
		display: flex;
		justify-content: center;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}
	.search-popup-mob.active {
		opacity: 1;
		visibility: visible;
		pointer-events: all;
	}
	.search-popup-mob input {
		background: #fff;
		padding-left: 10px;
	}
	.search-wrapper .search-box .icon {
		right: calc(14px + 10px);
	}
	#search-results {
		top: calc(var(--header-height) / 2 + 61px);
		left: 0;
		right: 0;
		margin: 0 auto;
	}
}
@media (max-width: 768px) {
	.search-background {
		background: rgb(0 0 0 / 5%);
		backdrop-filter: blur(0px);
	}
	.search-popup-mob {
		top: var(--header-height);
		width: 100%;
		border-radius: 0px;
	}
	#search-results {
		top: calc(var(--header-height) + 61px);
		width: 100%!important;
		max-height: 70vh;
	}
	.search-call-mob {
		margin-right: 0;
		padding: 12px 12px;
		border-radius: 100%;
	}
	.search-call-mob > span {
		display: none;
	}
}
/* Search - End */

/* Shop Functions Group - Start */
.shop-functions-group {
	display: flex;
	align-items: center;
	gap: 10px;
}
.header-shop-button {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	width: 40px;
	height: 40px;
	background: var(--light-gray);
	border-radius: 50%;
}
.header-shop-button img {
	width: 18px;
	height: 18px;
	object-fit: contain;
}
.compare-counter, .cart-counter, .wishlist-counter {
	position: absolute;
	top: -2px;
	right: -3px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	background: var(--primary);
	color: var(--primary-match);
	border-radius: 50%;
	font-size: 11px;
	font-weight: 500;
}
.compare-label, .cart-label, .wishlist-label {
	font-size: 12px;
	margin-top: 4px;
	color: var(--black);
}
.compare-counter:empty, .cart-counter:empty, .wishlist-counter:empty {
	display: none;
}
.user-account {
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.account-dropdown {
	top: 100%;
	right: 0;
	left: auto;
	min-width: 150px;
	z-index: 10;
}

@media (max-width: 1279px) {
	.shop-functions-group {
		gap: 5px;
	}
	.compare-label, .cart-label, .wishlist-label {
		display: none;
	}
	.header-shop-button {
		width: 40px;
		height: 40px;
		border-radius: 50%;
	}
	.header-shop-button img {
		width: 16px;
		height: 16px;
	}
	.compare-counter, .cart-counter, .wishlist-counter {
		top: 0px;
		right: 1px;
		width: 15px;
		font-size: 10px;
	}
}
/* Shop Functions Group - End */
