/* YuPrint header */
.yu-site-header {
	position: relative;
	z-index: 100;
	padding: 0;
	border: 0;
	border-bottom: 1px solid #dfe3e7;
	background: #fff;
	box-shadow: none;
}

.yu-header-main {
	background: #fff;
}

.yu-header-inner {
	display: grid;
	grid-template-columns: minmax(300px, 1fr) minmax(360px, 602px) minmax(430px, 1fr);
	align-items: center;
	width: min(100%, 1904px);
	min-height: 114px;
	margin: 0 auto;
	padding: 20px 34px;
	box-sizing: border-box;
	gap: 30px;
}

.yu-header-brand {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
}

.yu-header-brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
	max-width: 290px;
}

.yu-header-brand .custom-logo {
	display: block;
	width: auto;
	max-width: 290px;
	height: auto;
	max-height: 68px;
	object-fit: contain;
}

.yu-header-brand .yu-brand-mark {
	color: var(--yu-red);
}

.yu-header-search {
	width: 100%;
}

.yu-product-search {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

body.yuprint-theme .yu-product-search input[type="search"] {
	height: 40px;
	min-height: 40px;
	padding: 0 48px 0 14px;
	border: 1px solid #ccd3da;
	border-radius: 16px;
	background: #fff;
	font-size: 16px;
	font-weight: 400;
}

body.yuprint-theme .yu-product-search input[type="search"]::placeholder {
	color: #5f6c79;
	opacity: 1;
}

body.yuprint-theme .yu-product-search button {
	position: absolute;
	right: 4px;
	width: 38px;
	height: 34px;
	min-height: 34px;
	padding: 8px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: #52606d;
}

body.yuprint-theme .yu-product-search button:hover {
	background: #f1f3f5;
	color: var(--yu-red);
	transform: none;
}

.yu-header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	min-width: 0;
}

.yu-header-phone {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-right: 14px;
	color: #718090;
	font-size: 16px;
	font-weight: 400;
	white-space: nowrap;
}

.yu-header-phone .yu-icon {
	width: 19px;
	height: 19px;
	color: var(--yu-red);
}

.yu-header-phone:hover {
	color: var(--yu-red);
}

.yu-header-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #eef1f3;
	color: #102131;
	transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.yu-header-icon .yu-icon {
	width: 17px;
	height: 17px;
}

.yu-header-icon:hover,
.yu-header-icon:focus {
	background: #e1e6ea;
	color: var(--yu-red) !important;
	transform: translateY(-1px);
}

.yu-header-cart {
	background: var(--yu-red);
	color: #fff;
}

.yu-header-cart:hover,
.yu-header-cart:focus {
	background: var(--yu-red-dark);
	color: #fff !important;
}

.yu-cart-count {
	position: absolute;
	top: -6px;
	right: -6px;
	display: none;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: #111820;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	box-sizing: border-box;
}

.yu-cart-count.has-items {
	display: inline-flex;
}

.yu-primary-navigation {
	border-top: 1px solid #e0e4e8;
	background: #fff;
}

.yu-nav-inner {
	width: min(100%, 1500px);
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.yu-main-menu,
.yu-main-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.yu-main-menu {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: clamp(28px, 5vw, 92px);
	min-height: 47px;
}

.yu-main-menu > li {
	position: relative;
	display: flex;
	align-items: stretch;
}

.yu-main-menu > li > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 0;
	color: #06121d;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: uppercase;
	white-space: nowrap;
}

.yu-main-menu > li > a::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: var(--yu-red);
	content: "";
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.2s ease;
}

.yu-main-menu > li:hover > a,
.yu-main-menu > li.current-menu-item > a,
.yu-main-menu > li.current-menu-ancestor > a {
	color: var(--yu-red);
}

.yu-main-menu > li:hover > a::after,
.yu-main-menu > li.current-menu-item > a::after,
.yu-main-menu > li.current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.yu-main-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 20;
	display: block;
	width: 260px;
	padding: 10px;
	border: 1px solid #e2e6e9;
	border-radius: 0 0 12px 12px;
	background: #fff;
	box-shadow: 0 18px 35px rgba(20, 27, 34, 0.14);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 8px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.yu-main-menu li:hover > .sub-menu,
.yu-main-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.yu-main-menu .sub-menu li {
	position: relative;
}

.yu-main-menu .sub-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 8px;
	color: var(--yu-ink);
	font-size: 14px;
	font-weight: 500;
	text-transform: none;
}

.yu-main-menu .sub-menu a:hover,
.yu-main-menu .sub-menu a:focus {
	background: #f5f6f7;
	color: var(--yu-red);
}

.yu-main-menu .sub-menu .sub-menu {
	top: -10px;
	left: calc(100% + 10px);
	transform: translate(8px, 0);
}

.yu-main-menu .sub-menu li:hover > .sub-menu,
.yu-main-menu .sub-menu li:focus-within > .sub-menu {
	transform: translate(0, 0);
}

.yu-menu-toggle {
	display: none;
}
