/* Новая шапка, меню и фон по макету Figma (декабрь 2026).
   Подключается из styles/prosilver/template/overall_header.html (блок S_SP26). */

/* ---------- Фон страницы ---------- */
html {
	background: #eceef0 url("bg.jpg?v=1") center top / cover no-repeat fixed;
	background-image: image-set(url("bg.webp?v=1") type("image/webp"), url("bg.jpg?v=1") type("image/jpeg"));
}
body {
	background: transparent;
	padding-top: 0;
}

/* ---------- Шапка ---------- */
#sp26-head {
	margin: 0 0 8px;
	font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
}

#sp26-head .sp26-banner {
	position: relative;
	height: 282px;
	height: min(282px, 19.58vw);
	overflow: hidden;
}

#sp26-head .sp26-banner picture {
	display: block;
}
#sp26-head .sp26-banner img {
	display: block;
	width: 100%;
	height: auto;
	border: 0;
}

#sp26-head .sp26-women {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 363px;
	width: min(363px, 25.21vw);
}

#sp26-head .sp26-logo {
	position: absolute;
	left: 50%;
	top: 85px;
	top: min(85px, 5.9vw);
	width: 717px;
	width: min(717px, 49.79vw);
	transform: translateX(-50%);
}

#sp26-head .sp26-branch {
	position: absolute;
	right: 0;
	top: 0;
	width: 266px;
	width: min(266px, 18.47vw);
	pointer-events: none;
}

/* ---------- Верхнее меню ---------- */
#sp26-head .sp26-menu {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	margin: 0;
	padding: 0 84px;
	/* на широких экранах пункты держатся в центральной области ~1240px */
	padding: 0 max(84px, calc((100% - 1272px) / 2));
	height: 59px;
	list-style: none;
	background: #73686c;
}

#sp26-head .sp26-menu li {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
}

#sp26-head .sp26-menu a,
#sp26-head .sp26-menu a:link,
#sp26-head .sp26-menu a:visited {
	display: flex;
	align-items: center;
	padding: 0 16px;
	font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
	font-weight: 400;
	font-size: 24px;
	line-height: 1;
	color: #fff;
	text-decoration: none;
	transition: background-color .15s ease;
}

#sp26-head .sp26-menu a:hover,
#sp26-head .sp26-menu a:focus {
	color: #fff;
	text-decoration: none;
	background: #5f5559;
}

/* узкие экраны (телефоны показывают сайт как ~980px) */
@media (max-width: 760px) {
	#sp26-head .sp26-menu { padding: 0 8px; height: 48px; }
	#sp26-head .sp26-menu a { font-size: 20px; padding: 0 10px; }
}
