header {
	top: 0;
	left: 0;
	width: 100%;
	z-index: 99999;
}

body.header-fixed .header-bottom {	
    background: rgba(0,0,0,.25);
	box-shadow: 0 -2px 0 0 rgba(0,0,0,.25);
}

/* body.header-fixed .header-menu-content {	
	padding: 0 1rem 1rem;
} */

body.main.header-fixed .header-menu-content {
	display: none;	
}

body.header-fixed .header-bottom {
	border-top: none;
	margin-top:0!important;
}
body.header-fixed .header-bottom .inner {
	border-top: none;
}



.header-nav-item a {
	font-weight: 600;
	text-transform: uppercase;
	font-size: 1.1rem;
	display: inline-block;
	padding-top: 1rem;
	box-shadow: 0 -2px 0 0 transparent;
}
.menu-item-wrapper:hover a,
.menu-item-wrapper.current a {
	background: radial-gradient(#6759ac, #483b89);
    color: #fff!important;
    border-color: #483b89!important;
}

.menu-item-wrapper.current:hover a {
	background: #6759ac;
}

.header-fixed .header{
	background: #353f4a;
	background: -moz-linear-gradient(top,  #353f4a 0%, #653990 100%);
	background: -webkit-linear-gradient(top,  #353f4a 0%,#653990 100%);
	background: linear-gradient(to bottom,  #353f4a 0%,#653990 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#353f4a', endColorstr='#653990',GradientType=0 );
	position: fixed;
	box-shadow: 0 5px 10px 0 rgba(0,0,0,.2);
	-moz-box-shadow: 0 5px 10px 0 rgba(0,0,0,.2);
	-webkit-box-shadow: 0 5px 10px 0 rgba(0,0,0,.2);
	transform: translateY(-200%);
	-moz-transform: translateY(-200%);
	-webkit-transform: translateY(-200%);
	z-index: 99999;
}
.header-fixed.shown .header{
	transform: translateY(0);
	-moz-transform: translateY(0);
	-webkit-transform: translateY(0);
	transition: transform .25s ease;
	-moz-transition: transform .25s ease;
	-webkit-transition: transform .25s ease;
}


header a{
	color: #fff;
}



.header-about {
	font-weight: 600;
	font-size: .8rem;
}



.logo {
	font-size: 2rem;
	position: relative;
}

.logo-wrapper {
	position: relative;
	display: inline-block;
}


@media screen and (min-width: 769px) {
	body:not(.header-fixed) .logo-wrapper:before {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		width: 120%;
		height: 120%;
		border-radius: 50%;
		-moz-border-radius: 50%;
		-webkit-border-radius: 50%;
		background: #f0eeed;
		filter: blur(15px);
		-moz-filter: blur(15px);
		-webkit-filter: blur(15px);
	}
	.logo-wrapper .logo{
		color: #434d58;
	}
}

@media screen and (max-width: 576px) {
	/* .header-fixed.shown .header-top-section-menu {
		display: none;
	} */
}

/* Логотип в шапке.
   Май 2026: используется absit-logo.svg (фиолетовый #554293).
   Файл лежит в /app/images/absit-logo.svg. */
.header-logo,
.header-logo-m {
	position: relative;
	max-width: 170px;
	height: auto;
	display: inline-block;
}
.header-fixed img.header-logo {
	max-width: 130px;
}
.header-logo-link {
	display: inline-block;
	text-decoration: none;
	line-height: 0;
}
.header-logo-link:hover,
.header-logo-link:focus {
	text-decoration: none;
	opacity: 0.85;
}

/* Fallback для текстового лого (если когда-то понадобится показать имя текстом
   вместо SVG, например в e-mail-шаблонах или для печати — не применяется
   в стандартной шапке, оставлено для совместимости). */
.header-logo-text {
	display: inline-block;
	font-weight: 700;
	font-size: 28px;
	line-height: 1;
	letter-spacing: 0.02em;
	color: #6f58ae;
	white-space: nowrap;
}
.header-fixed .header-logo-text {
	font-size: 22px;
}
.header-fixed .header-top {
	padding-top: .5rem!important;
	padding-bottom: .5rem!important;
}
.header-fixed .logo {
	/* color:#fff!important */
}

.ph-circle ,
.contact-icon-circle {
	width: 35px;
	height: 35px;
	border-radius: 50%;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	background: #434d58/* 6b170e */ url('../images/phone.svg') center center no-repeat;
	background-size: 40%;
}
.mail-icon-circle {
	background-image: url('../images/envelope-svgrepo-com.svg');
}
.vk-icon-circle {
	background-image: url('../images/vk.svg');
}
.tg-icon-circle {
	background-image: url('../images/iconmonstr-telegram-1.svg');
}
.youtube-icon-circle {
	background-image: url('../images/play.svg');
}
.instagram-icon-circle {
	background-image: url('../images/instagram.svg');
}
.contact-icon-wrapper:hover .contact-icon-circle ,
.ph-wrapper:hover .ph-circle {
	background-color: #2966a9
}

.header-btn-cb {
	padding: .5rem 1rem;
	display: inline-block;
	border: 2px solid rgba(255,255,255,.5);
	color:rgba(255,255,255,.75);
	font-weight: 600;
	font-size: .75rem;
	text-transform: uppercase;
	cursor: pointer;
	transition: all .2s ease;
	-moz-transition: all .2s ease;
	-webkit-transition: all .2s ease;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	
}
.header-btn-cb:hover {
	background: rgba(255,255,255,1);
	border-color: #fff;
	color: #94958f
}

.contact-icon,
.ph-phone {
	font-size: 1.25rem;
	font-weight: 600;
	color: #fff;
}

.header-menu-hamburger {
	display: none;
	padding-top: 3px;
}
.header-fixed .header-menu-hamburger {
	display: block;
}
.header .burger-icon {
    width: 36px;
	padding: 5px;
    -webkit-transform: translateY(3px) rotate(0deg);
    -moz-transform: translateY(3px) rotate(0deg);
    -o-transform: translateY(3px) rotate(0deg);
    transform: translateY(3px) rotate(0deg);
    transition: all .5s ease-in-out;
    cursor: pointer;
}
.header .burger-icon span {
    display: block;
    height: 4px;
    width: 100%;
    background-color: #5a43a0;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    transition: all .25s ease-in-out,background-color 0s ease;
	margin-top: 4px;
}


.header-bottom .inner {
	border-top: 2px solid rgba(255,255,255,.5);
}

.header-top-cell {
	padding: 0 .5rem;
}

.header-top-cell:first-child {
	padding-left: 0;
}

.header-top-cell:last-child {
	padding-right: 0;
}

@media screen and (max-width: 960px){
	.header-top-cell {
		padding: .5rem!important;
	}
}

.header-menu .menu-item {
	/* background: #e8e8e8; */
	background: #f9f8fb;
	padding: .35rem 1.5rem;
	border: 1px solid #e8e8e8;
	font-weight: bold;
	display: inline-block;
	
	/* font-size: 16px; */
}

@media screen and (min-width: 992px){
	.header-menu .menu-item {
		border-radius: 4px;
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
	}
}



@media screen and (max-width: 768px) {
	.header-bottom {
		border-top: none;
	}
	.header-menu-content {
		display: none;
	}
	.header-menu-hamburger {
		display: block;
	}
	.ph-phone {
		padding-top: 2px;
	}
	.logo {
		font-size: 1.5rem;
	}
}

body.shown .header-menu-content {
	display: block;
}

body.shown .header-menu .menu-item {
	background: none;
    border-color: transparent;
	color: #fff!important;
	padding-right: 0!important;
}

body.shown .header-menu-content .menu-item {
	padding-right: 0!important;
}

.menu-item-wrapper {
	position: relative;
	padding-right: 0!important;
}

.icon-sn {
	display: inline-block;
	width: 30px;
	height: 30px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 15px;
}

.icon-instagram {
	background-image: url('../images/icon-insta.svg');
}

.icon-tg {
	background-image: url('../images/icon-tg.svg');
}

.icon-youtube {
	background-image: url('../images/icon-youtube.svg');
}

.icon-cart {
	background-image: url('../images/icon-cart.svg');
}

.icon-profile {
	background-image: url('../images/icon-profile.svg');
}

.header-menu-hamburger {
	text-align: right;
}

.header-close {
    background: url(../images/close.svg) center center no-repeat;
    background-size: auto 16px;
	display: inline-block;
	width: 22px;
	height: 16px;
    transition: all .25s ease;
    -moz-transition: all .25s ease;
    -webkit-transition: all .25s ease;
	cursor: pointer;
}

header .search-wrapper {
	width: 150px;
}

.search-wrapper .input-wrapper {
    position: relative;
}

.search-wrapper .loading:after {
	background-repeat: no-repeat;
	background-color: rgba(255,255,255,1);
	background-image: url('../images/loading.gif');
	background-position: calc(100% - 12px);
	background-position: -moz-calc(100% - 12px);
	background-position: -webkit-calc(100% - 12px);
	background-size: 25px;
}

header .search-wrapper .input-wrapper{
	border: 1px solid #ccc;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	overflow: hidden;
}

.search-wrapper .input-wrapper .input{
	border: none;
	width:100%;
	height:100%;
	padding: 0 35px 0 5px;
	font-size:.9rem;
	outline:none!important;
}

.search-wrapper .input-wrapper .btn-search{
	position: absolute;
	right: 0;
	top: 0;
	width:50px;
	height:100%;
	border:none;
	outline:none!important;
	cursor:pointer;
	background:url('../images/icon-search.svg') center center no-repeat;
	background-size: 25px auto;
}

header .search-wrapper .input-wrapper .btn-search{
	width:25px;
	background-size: 10px auto;
}

.header-dropwdown-block {
	position: relative;
	cursor: pointer;
}

.header-menu-dropdown {
	display: none;
	flex-direction: column;
	gap: 0px;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: max-content;
	max-width: 360px;
	background: #fff;
	border-radius: 0 0 6px 6px;
	overflow: hidden;
	z-index: 50;
	box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
}

.header-menu-link {
	padding: 15px 30px;
	margin: 0;
	font-size: 14px;
	text-indent: initial;
	display: block;
	width: 100%;
}

.header-dropwdown-block:hover .header-menu-dropdown {
	display: flex;
}

.menu-item.menu-item-wrapper {
	color: #5c41a6 !important;
	padding-right: 1.5rem !important;
}

.header-menu-item {
	text-indent: initial;
	line-height: initial;
	margin: 0px;
}

.menu-item.menu-item-wrapper:hover {
	background: radial-gradient(#6759ac, #483b89);
	color: #fff !important;
	border-color: #483b89 !important;
}

.header-menu-link {
	transition: color .15s ease;
}
/* Жёлтый hover на пунктах дропдауна (по образцу .consent-link в попапе «Заказ»).
   Высокая специфичность нужна, чтобы перебить каскад .menu-item-wrapper.current a / :hover a
   (mod_header.css ≈ строки 39-44), который красит ВСЕ <a> внутри активного/hovered пункта в #fff. */
.header-dropwdown-block .header-menu-link:hover,
.menu-item-wrapper.current .header-menu-link:hover,
.menu-item-wrapper:hover .header-menu-link:hover {
	color: #efda49 !important;
}

@media screen and (max-width: 1550px) {
	.header-menu-dropdown {
		right: 0;
		left: auto;
	}
}

@media screen and (max-width: 768px) {
	.header-menu-dropdown {
		display: flex;
		position: static;
	}

	.header-menu-link {
		color: white !important;
		padding: .35rem 0rem .35rem 1.5rem;
		font-size: 12px;
		font-weight: 500;
		line-height: 17px;
		text-align: end;
	}

	.header-menu-dropdown {
		box-shadow: none;
		gap: 0px;
		background: transparent;
		max-width: none;
	}

	.header-dropwdown-block {
		align-items: flex-end;
		display: flex;
		flex-direction: column;
	}

	.header-menu-link::after {
		content: "-";
		color: white;
		font-size: 12px;
		margin-left: 10px;
	}

	.header-menu-link:hover {
		background-color: transparent;
		color: white !important;
	}

	.menu-item-wrapper:hover a, .menu-item-wrapper.current a {
		border-color: transparent !important;
	}

	.menu-item.menu-item-wrapper:hover {
		border-color: transparent !important;
	}

}