/* Markoni Header Adaptive Fix v1.0.0 */
@media screen and (min-width:1200px){
body.markoni-header-adaptive-active #masthead.header-v1{position:relative!important;z-index:50000!important;overflow:visible!important;padding-top:14px!important;padding-bottom:14px!important}
body.markoni-header-adaptive-active #masthead.header-v1>.col-full,body.markoni-header-adaptive-active #masthead.header-v1 .header-wrap,body.markoni-header-adaptive-active #masthead.header-v1 #site-navigation,body.markoni-header-adaptive-active #masthead.header-v1 .primary-navigation,body.markoni-header-adaptive-active #masthead.header-v1 #menu-topmenu,body.markoni-header-adaptive-active #masthead.header-v1 #menu-topmenu>li{overflow:visible!important}
body.markoni-header-adaptive-active #masthead.header-v1 #site-navigation,body.markoni-header-adaptive-active #masthead.header-v1 .primary-navigation,body.markoni-header-adaptive-active #masthead.header-v1 #menu-topmenu{position:relative!important;z-index:50010!important}
body.markoni-header-adaptive-active #masthead.header-v1 #menu-topmenu>li.menu-item-has-children{position:relative!important;z-index:50020!important}
body.markoni-header-adaptive-active #masthead.header-v1 #menu-topmenu>li>ul.sub-menu{z-index:50030!important;min-width:220px!important;background:#fff!important;box-shadow:0 12px 28px rgba(0,0,0,.18)!important;border-radius:4px!important;overflow:visible!important}
body.markoni-header-adaptive-active #masthead.header-v1 #menu-topmenu>li>ul.sub-menu>li{display:block!important}
body.markoni-header-adaptive-active #masthead.header-v1 #menu-topmenu>li>ul.sub-menu>li>a{display:block!important;white-space:nowrap!important}
body.markoni-header-adaptive-active #masthead.header-v1>.col-full{width:calc(100% - 48px)!important;max-width:2280px!important;margin-left:auto!important;margin-right:auto!important;padding-left:16px!important;padding-right:16px!important}
body.markoni-header-adaptive-active #masthead.header-v1 .site-branding{width:auto!important;min-width:0!important;float:none!important;padding:0!important;margin:0!important}
body.markoni-header-adaptive-active #masthead.header-v1 .site-branding .custom-logo-link,body.markoni-header-adaptive-active #masthead.header-v1 .site-branding .site-logo-anchor,body.markoni-header-adaptive-active #masthead.header-v1 .site-branding .site-logo-link{float:none!important;margin:0!important;max-width:195px!important}
body.markoni-header-adaptive-active #masthead.header-v1 #site-navigation.main-navigation{width:auto!important;min-width:0!important;float:none!important;padding:0!important;margin:0!important}
body.markoni-header-adaptive-active #masthead.header-v1 #site-navigation .primary-navigation{width:100%!important}
body.markoni-header-adaptive-active #masthead.header-v1 #menu-topmenu{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:none!important;max-height:none!important;min-height:0!important;clear:none!important;margin:0!important;padding:0!important;text-align:center!important}
body.markoni-header-adaptive-active #masthead.header-v1 #menu-topmenu>li{display:block!important;flex:0 0 auto!important;margin:0!important}
body.markoni-header-adaptive-active #masthead.header-v1 #menu-topmenu>li>a{white-space:nowrap!important}
body.markoni-header-adaptive-active #masthead.header-v1 #menu-topmenu>li.menu-item-has-children>a{display:inline-flex!important;align-items:center!important;gap:7px!important}
body.markoni-header-adaptive-active #masthead.header-v1 #menu-topmenu>li.menu-item-has-children>a::after,body.markoni-header-adaptive-active #masthead.header-v1 #menu-topmenu>li.menu-item-has-children>a .caret,body.markoni-header-adaptive-active #masthead.header-v1 #menu-topmenu>li.menu-item-has-children>a i{margin-left:4px!important;flex:0 0 auto!important;position:relative!important;top:0!important}
body.markoni-header-adaptive-active #masthead.header-v1 .header-info-wrapper{float:none!important;padding:0!important;margin:0!important;min-width:0!important}
body.markoni-header-adaptive-active #masthead.header-v1 .header-info-wrapper .header-phone-numbers,body.markoni-header-adaptive-active #masthead.header-v1 .header-info-wrapper .site-header-cart,body.markoni-header-adaptive-active #masthead.header-v1 .header-info-wrapper .site-header-cart-v2{float:none!important}


/* Server-rendered phone block: no legacy .phone-number markup exists. */
body.markoni-header-adaptive-active #masthead.header-v1 .header-phone-numbers.mhaf-server-phone{
	display:grid!important;
	grid-template-rows:auto auto auto!important;
	align-content:center!important;
	justify-items:center!important;
	width:100%!important;
	min-width:0!important;
	padding:0!important;
	margin:0!important;
	color:#fff!important;
	text-align:center!important;
	line-height:1!important;
}

body.markoni-header-adaptive-active #masthead.header-v1 .mhaf-server-phone>.intro-text{
	display:block!important;
	margin:0 0 3px!important;
	font-size:11px!important;
	line-height:1.1!important;
	font-weight:400!important;
	color:#f7b733!important;
	white-space:nowrap!important;
}

body.markoni-header-adaptive-active #masthead.header-v1 .mhaf-server-phone__short{
	display:flex!important;
	align-items:center!important;
	justify-content:center!important;
	gap:6px!important;
	min-height:24px!important;
	margin:0 0 7px!important;
}

body.markoni-header-adaptive-active #masthead.header-v1 .mhaf-server-phone__short img{
	display:block!important;
	width:100px!important;
	height:23px!important;
	max-width:none!important;
	margin:0!important;
}

body.markoni-header-adaptive-active #masthead.header-v1 .mhaf-server-phone__short a{
	display:block!important;
	font-size:18px!important;
	line-height:1!important;
	font-weight:800!important;
	color:#fff!important;
	text-decoration:none!important;
	white-space:nowrap!important;
}

body.markoni-header-adaptive-active #masthead.header-v1 .mhaf-server-phone__grid{
	display:grid!important;
	grid-template-columns:repeat(2,minmax(0,1fr))!important;
	align-items:stretch!important;
	width:100%!important;
	max-width:555px!important;
	margin:0 auto!important;
}

body.markoni-header-adaptive-active #masthead.header-v1 .mhaf-server-phone__item{
	display:flex!important;
	flex-direction:column!important;
	align-items:center!important;
	justify-content:center!important;
	min-width:0!important;
	padding:0 14px!important;
	color:#fff!important;
	text-decoration:none!important;
	text-align:center!important;
}

body.markoni-header-adaptive-active #masthead.header-v1 .mhaf-server-phone__item+.mhaf-server-phone__item{
	border-left:1px solid rgba(255,255,255,.28)!important;
}

body.markoni-header-adaptive-active #masthead.header-v1 .mhaf-server-phone__label{
	display:block!important;
	margin:0 0 4px!important;
	font-size:9px!important;
	line-height:1!important;
	font-weight:700!important;
	letter-spacing:.06em!important;
	text-transform:uppercase!important;
	color:rgba(255,255,255,.76)!important;
	white-space:nowrap!important;
}

body.markoni-header-adaptive-active #masthead.header-v1 .mhaf-server-phone__item strong{
	display:block!important;
	margin:0!important;
	font-size:15px!important;
	line-height:1!important;
	font-weight:800!important;
	letter-spacing:-.01em!important;
	color:#fff!important;
	white-space:nowrap!important;
}
body.markoni-header-adaptive-active #masthead.header-v1,
body.markoni-header-adaptive-active #masthead.header-v1>.col-full,
body.markoni-header-adaptive-active #masthead.header-v1 .header-wrap,
body.markoni-header-adaptive-active #masthead.header-v1 #site-navigation{height:auto!important}
}

@media screen and (min-width:1200px) and (max-width:2199px){
body.markoni-header-adaptive-active #masthead.header-v1>.col-full{max-width:1640px!important}
body.markoni-header-adaptive-active #masthead.header-v1 .header-wrap{width:100%!important;display:grid!important;grid-template-columns:210px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:center!important;column-gap:24px!important;row-gap:8px!important;margin-bottom:0!important}
body.markoni-header-adaptive-active #masthead.header-v1 .site-branding{grid-column:1!important;grid-row:1!important}
body.markoni-header-adaptive-active #masthead.header-v1 .header-info-wrapper{grid-column:2!important;grid-row:1!important;width:100%!important;display:grid!important;grid-template-columns:minmax(430px,1fr) 235px!important;align-items:center!important;column-gap:18px!important}
body.markoni-header-adaptive-active #masthead.header-v1 .header-info-wrapper .header-phone-numbers{width:100%!important;padding:0 12px 0 0!important}
body.markoni-header-adaptive-active #masthead.header-v1 .header-info-wrapper .site-header-cart,body.markoni-header-adaptive-active #masthead.header-v1 .header-info-wrapper .site-header-cart-v2{width:235px!important;padding:0!important;margin:0!important}
body.markoni-header-adaptive-active #masthead.header-v1 .site-header-cart-v2 .cart-content{width:225px!important;margin:0 auto!important}
body.markoni-header-adaptive-active #masthead.header-v1 #site-navigation.main-navigation{grid-column:1/-1!important;grid-row:2!important;width:100%!important;padding-top:2px!important}
body.markoni-header-adaptive-active #masthead.header-v1 #menu-topmenu>li>a{padding-left:9px!important;padding-right:9px!important}
body.markoni-header-adaptive-active #masthead.header-v1 .mhaf-server-phone__grid{grid-template-columns:1fr!important;gap:5px!important;max-width:360px!important}
body.markoni-header-adaptive-active #masthead.header-v1 .mhaf-server-phone__item{padding:0!important}
body.markoni-header-adaptive-active #masthead.header-v1 .mhaf-server-phone__item+.mhaf-server-phone__item{border-left:0!important}
}

@media screen and (min-width:2200px){
body.markoni-header-adaptive-active #masthead.header-v1>.col-full{width:calc(100% - 80px)!important;max-width:2280px!important;padding-left:20px!important;padding-right:20px!important}
body.markoni-header-adaptive-active #masthead.header-v1 .header-wrap{width:100%!important;display:grid!important;grid-template-columns:210px minmax(0,1fr) 825px!important;align-items:center!important;column-gap:24px!important;margin-bottom:0!important}
body.markoni-header-adaptive-active #masthead.header-v1 .header-info-wrapper{width:825px!important;min-width:825px!important;display:grid!important;grid-template-columns:570px 235px!important;align-items:center!important;column-gap:20px!important}
body.markoni-header-adaptive-active #masthead.header-v1 .header-info-wrapper .header-phone-numbers{width:570px!important;padding:0!important}
body.markoni-header-adaptive-active #masthead.header-v1 .header-info-wrapper .site-header-cart,body.markoni-header-adaptive-active #masthead.header-v1 .header-info-wrapper .site-header-cart-v2{width:235px!important;padding:0!important;margin:0!important}
body.markoni-header-adaptive-active #masthead.header-v1 .site-header-cart-v2 .cart-content{width:225px!important;margin:0 auto!important}
body.markoni-header-adaptive-active #masthead.header-v1 #menu-topmenu>li>a{padding-left:9px!important;padding-right:9px!important}
}


/* ---------------------------------------------------------
   0.2.1 — clear visual affordance for the expandable "Меню"
   --------------------------------------------------------- */
@media screen and (min-width:1200px) {
	body.markoni-header-adaptive-active #masthead.header-v1 #menu-item-918 > a{
		display:inline-flex!important;
		align-items:center!important;
		justify-content:center!important;
		gap:6px!important;
		padding:7px 11px!important;
		border:1px solid rgba(247,183,51,.78)!important;
		border-radius:999px!important;
		background:rgba(247,183,51,.13)!important;
		color:#fff!important;
		line-height:1!important;
		text-decoration:none!important;
		box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)!important;
		transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .16s ease!important;
	}

	body.markoni-header-adaptive-active #masthead.header-v1 #menu-item-918 > a::after{
		content:"▼"!important;
		display:inline-block!important;
		margin:0 0 0 1px!important;
		padding:0!important;
		font-family:inherit!important;
		font-size:8px!important;
		font-weight:800!important;
		line-height:1!important;
		color:#f7b733!important;
		opacity:1!important;
		position:static!important;
		transform:none!important;
		border:0!important;
		width:auto!important;
		height:auto!important;
	}

	body.markoni-header-adaptive-active #masthead.header-v1 #menu-item-918:hover > a,
	body.markoni-header-adaptive-active #masthead.header-v1 #menu-item-918 > a:hover,
	body.markoni-header-adaptive-active #masthead.header-v1 #menu-item-918 > a:focus-visible{
		background:#f7b733!important;
		border-color:#f7b733!important;
		color:#7f0d20!important;
		transform:translateY(-1px)!important;
		outline:none!important;
	}

	body.markoni-header-adaptive-active #masthead.header-v1 #menu-item-918:hover > a::after,
	body.markoni-header-adaptive-active #masthead.header-v1 #menu-item-918 > a:hover::after,
	body.markoni-header-adaptive-active #masthead.header-v1 #menu-item-918 > a:focus-visible::after{
		color:#7f0d20!important;
	}

	/* Keep enough air between "Главная", "Меню" and "Контакты". */
	body.markoni-header-adaptive-active #masthead.header-v1 #menu-item-918{
		margin-left:3px!important;
		margin-right:3px!important;
	}
}


/* ---------------------------------------------------------
   0.2.2 — remove Pizzaro's legacy hover underline/pseudo-line
   from the highlighted "Меню" pill.
   --------------------------------------------------------- */
@media screen and (min-width:1200px) {
	body.markoni-header-adaptive-active #masthead.header-v1 #menu-item-918 > a{
		text-decoration:none!important;
		background-image:none!important;
	}

	body.markoni-header-adaptive-active #masthead.header-v1 #menu-item-918 > a::before{
		content:none!important;
		display:none!important;
		position:static!important;
		width:0!important;
		height:0!important;
		border:0!important;
		background:none!important;
		background-image:none!important;
		box-shadow:none!important;
		transform:none!important;
		opacity:0!important;
	}

	body.markoni-header-adaptive-active #masthead.header-v1 #menu-item-918:hover > a::before,
	body.markoni-header-adaptive-active #masthead.header-v1 #menu-item-918 > a:hover::before,
	body.markoni-header-adaptive-active #masthead.header-v1 #menu-item-918 > a:focus::before,
	body.markoni-header-adaptive-active #masthead.header-v1 #menu-item-918 > a:focus-visible::before{
		content:none!important;
		display:none!important;
	}

	/* Keep only our own arrow pseudo-element. */
	body.markoni-header-adaptive-active #masthead.header-v1 #menu-item-918 > a::after{
		text-decoration:none!important;
	}
}
