/* 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;
	border-bottom: 1px solid var(--border);
}
header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--top-bar-height);
	background: var(--dark-blue);
}
.header-top {
	height: var(--top-bar-height);
	align-items: center;
	flex-wrap: nowrap!important;
}
header .icon-group-top-schedule .icon-group-text {
	display: flex;
	gap: 10px;
}
header .icon-calendar {
	--icon-base: 18px;
	filter: brightness(0) invert(1);
}
#top-bar-menu {
	list-style: none;
	display: flex;
	gap: 15px;
	color: var(--white);
	height: 16px;
}
#top-bar-menu a:hover {
	color: var(--primary);
}
.phone-rotator {
	position: relative;
	height: 17px;
	min-width: 145px;
	overflow: hidden;
	transition: height 0.3s ease;
}
.phone-rotator .phone-item {
	position: absolute;
	top: 0;
	left: 0;
	white-space: nowrap;
	font-size: 14px;
	line-height: 17px;
	opacity: 0;
	transition: opacity 0.3s ease;
	animation: phone-fade 6s ease-in-out infinite;
}
.phone-rotator .phone-item:nth-child(2) {
	animation-delay: 3s;
}
.icon-group-phone:hover .phone-rotator {
	height: 34px;
}
.icon-group-phone:hover .phone-item {
	opacity: 1;
	animation: none;
}
.icon-group-phone:hover .phone-item:nth-child(2) {
	top: 17px;
}
@keyframes phone-fade {
	0% { opacity: 0; }
	8% { opacity: 1; }
	45% { opacity: 1; }
	53% { opacity: 0; }
	100% { opacity: 0; }
}
.top-bar-call-back {
	margin-top: 1px;
}
.top-bar-call-back a {
	color: #a2a2a2;
}
@media (max-width: 1279px) {
	.header-top {
		display: none !important;
	}
	header::before {
		display: none !important;
	}
}
/* Header Top - End */

/* Header Main - Start */
.header-main {
	height: calc(var(--header-height) - var(--top-bar-height));
}
.logo-header {
	display: flex;
	align-items: center;
}
.logo-header img {
	width: 190px;
}
.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: 1480px) {
	.header-main .block-with-cols {
		gap: 15px;
	}
	.logo-header img {
		width: 170px;
	}
	.mega-menu > li {
		padding-left: 10px;
	}
}

@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: 8px;
	}
	.header-shop-button img {
		width: 16px;
		height: 16px;
	}
	.compare-counter, .cart-counter, .wishlist-counter {
		top: 0px;
		right: 1px;
		width: 15px;
		font-size: 10px;
	}
	.side-menu-call {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 6px;
		width: 25px;
		height: 60px;
		cursor: pointer;
	}
	.side-menu-call > .menu-line {
		display: flex;
		width: 25px;
		height: 2px;
		background: #2aa2f0;
		border-radius: 10px;
	}
	.logo-header {
		margin-right: auto;
	}
	.logo-header img {
		width: 150px;
	}
	.btn-sale {
		display: none !important;
	}
	.btn-catalog {
		order: -1;
		height: 30px !important;
		width: 30px !important;
		padding: 5px 5px !important;
	}
	header .btn-catalog span {
		display: none !important;
	}
	header .chating,
	header .change-lang {
		display: none !important;
	}
	header .user-account {
		display: none;
	}
}
/* Header Main - End */

/* Lanuage Switcher - Start */
.language-wrapper {
	position: relative;
}
.language-wrapper .language-box {
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(-84px - 8px);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	transition: all 0.5s ease;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}
.language-wrapper.active .language-box {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
}
.language-wrapper .language-box a {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: #fff;
	width: 38px;
	height: 38px;
	padding: 9px;
	border: 1px solid var(--border);
	border-radius: 100%;
	transition: all 0.5s ease;
}
.language-wrapper .language-box a:hover,
.language-wrapper .language-box a.active {
	background: var(--border);
}
.language-wrapper .language-box a.active {
	pointer-events: none;
	cursor: default;
}
@media (max-width: 1279px) {
	header .language-wrapper {
		display: none;
	}
}
/* Lanuage Switcher - End */

/* Search - Start */
.search-wrapper {
	display: flex;
	flex-grow: 1;
	max-width: 600px;
	margin: 0 auto;
}
.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: 400;
	background: #f9f9f9;
	color: #676767;
	padding: 14px 14px 14px 14px;
	transform: translateY(0px);
}
.btn-search {
	margin-left: -50px;
	z-index: 3;
}
.search-inline-pc {
	display: none;
}
.search-inline-pc input {
	padding: 12px 30px 12px 20px;
	border-radius: var(--radius-large);
}
.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;
	min-width: 500px;
	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;
}
.search-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 250px;
}
.search-loading span {
	width: 30px;
	height: 30px;
	border: 3px solid #eee;
	border-top-color: var(--primary);
	border-radius: 50%;
	animation: search-spin 0.6s linear infinite;
}
@keyframes search-spin {
	to { transform: rotate(360deg); }
}
.category-tabs {
	position: sticky;
	top: 0;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: calc(30px + 16px);
	padding: 15px 0;
	margin: 0 0 0px 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: 13px;
	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: 1367px) {
	.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: 1366px) {
	.search-call-mob {
		display: flex;
		margin-left: auto;
		cursor: pointer;
		width: 20px;
		min-width: 20px;
	}
	.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;
	}
	.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 - End */

/* Shop Functions Group - Start */
.shop-functions-group {
	display: flex;
	align-items: center;
	gap: 15px;
}
.header-shop-button {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	width: 24px;
	height: 24px;
}
.header-shop-button img {
	width: 22px;
	height: 22px;
	object-fit: contain;
}
.compare-counter, 
.cart-counter, 
.wishlist-counter {
	position: absolute;
	top: -7px;
	right: -6px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	min-width: 16px;
	background: var(--primary);
	color: var(--primary-match);
	border-radius: 50%;
	font-size: 9px;
	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;
	background: var(--accent);
	width: 30px;
	height: 30px;
	border-radius: var(--radius-max);
}
.user-account img {
	width: 16px;
	height: 16px;
	filter: brightness(0);
}
.account-dropdown {
	top: 100%;
	right: 0;
	left: auto;
	min-width: 150px;
	z-index: 10;
}


@media (max-width: 1279px) {
	.user-account {
		width: 40px;
		height: 40px;
	}
}
/* Shop Functions Group - End */
