/* Header */
.header {
	background: #fff;
	position: fixed;
	height: 82px;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 11;
}

.header__logo {
	flex: 1 1 250px;
	max-width: 250px;
}
.header__logo img{
    width: 100%;
}
.header__body {
	max-inline-size: 1920px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	margin: 0 auto;
}

.header::after {
	/* 	content: "";
	position: absolute;
	bottom: 0;
	width: 100vw;
	height: 1px;
	background-color: #5858584d; */
}

.header__container {
	margin: 0 auto;
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	column-gap: 40px;
}

.header__nav {
	display: flex;
	gap: 24px;
	flex: 0 0 520px;
	justify-content: start;
}

.header__nav a {
	text-decoration: none;
	color: #1c1c1c;
	font-weight: 500;
	transition: color 0.3s ease;
}

.header__nav a:hover {
	color: var(--accent-red);
}

.header__info {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex: 0 1 550px;
}

.header-buttons__block {
	display: flex;
	align-items: center;
	justify-content: end;
	width: 100%;
	max-width: 94px;
}

.header__hours {
	display: flex;
	align-items: center;
	justify-content: start;
	column-gap: 8px;
	font-size: var(--fs-link-1);
	font-weight: var(--w-regular);
	color: var(--text-primary);
}

.header__icon {
	background: none;
	border: none;
	font-size: 1.2rem;
	cursor: pointer;
	color: #1c1c1c;
	transition: opacity 0.2s ease;
}

.header__icon:hover {
	opacity: 0.7;
}

.header-menu a {
	text-decoration: none;
	color: #1c1c1c;
	font-weight: 500;
}

.mobile-hours {
	font-size: 0.9rem;
	color: #6b7280;
}

.header-menu {
	display: flex;
	justify-content: center;
	align-items: start;
	position: absolute;
	top: 82px;
	width: 100%;
	height: 0;
	overflow-x: hidden;

	transition: height 0.5s ease;
	background: #fff;
	column-gap: 20px;
}

.header-menu.open {
	transition: height 0.5s ease;
	height: calc(100vh - 86px);
	border-top: 1px solid #5858584d;
}

.header-menu__nav {
	display: flex;
	flex-direction: row;
	gap: 32px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.header-menu-link__content {
	display: flex;
	align-items: center;
	column-gap: 20px;
	justify-content: start;
	flex: 1 1 1092px;
	padding-top: 100px;
}

.header-menu__column {
	display: flex;
	flex-direction: column;
	gap: 26px;
	width: 100%;
	max-width: 390px;
	align-self: start;
}

.header-menu__wrapper {
	display: flex;
	width: 100%;
	height: 100%;
	flex-direction: column;
	position: relative;
	padding-right: 40px !important;
	padding-bottom: 60px !important;
	justify-content: space-between;
	max-inline-size: 1920px;
	row-gap: 48px;
}

.header-menu__footer {
	width: 100%;
	z-index: 0;
	height: auto;
}

.hours__dropdown {
	position: relative;
	display: inline-block;
}

.hours__dropdown__toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: none;
	cursor: pointer;
	font: inherit;
	color: var(--text-primary);
}

.hours__dropdown__arrow {
	position: relative;
	bottom: 2.5px;
	width: 8px;
	height: 8px;
	border-right: 1px solid var(--text-primary);
	border-bottom: 1px solid var(--text-primary);
	transform: rotate(45deg);
	transition: transform 0.3s ease;
}

.hours__dropdown[open] .hours__dropdown__arrow,
.hours__dropdown.open .hours__dropdown__arrow {
	transform: rotate(-135deg);
	bottom: -2px;
}

.hours__dropdown__menu {
	position: absolute;
	top: 100%;
	display: flex;
	left: 0;
	margin-top: 6px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 8px 8px 50px 0 rgba(0, 0, 0, 0.1);
	z-index: 10;
	overflow: hidden;
	transition: max-height 0.5s ease;
	width: 350px;
}

.hours__dropdown__menu ul {
	margin: 0;
	padding: 20px;
	display: flex;
	flex-direction: column;
	row-gap: 12px;
	list-style: none;
}

.hours__dropdown__menu li {
	color: var(--text-secondary);
}

.menu-item__time {
	color: #090714;
	font-size: 16px;
	font-weight: 500;
}

.menu-item__title {
	color: #989898;
	font-size: 16px;
	font-weight: 400;
}

.header-menu-footer__body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1410px;
	flex-wrap: wrap;
}

.header__signature {
	text-transform: uppercase;
	font-family: var(--font-headline);
	font-size: var(--fs-h5-fluid);
	font-weight: 200;
	letter-spacing: 0;
	color: var(--gray-900);
}

.header-menu-info__content {
	display: flex;
	align-items: start;
	justify-content: center;
	justify-content: space-between;
	height: auto;
	width: 100%;
}

.header-menu-info__center,
.header-menu-info__arenda {
	display: flex;
	flex-direction: column;
	row-gap: 30px;
}

.header-menu__column a {
	text-decoration: none;
	transition: color 0.3s ease;
	font-size: var(--fs-h5-fluid);
	font-weight: var(--w-medium);
	text-transform: uppercase;
}

@media (max-width: 1920px) {
	.header-menu__column a {
		font-size: clamp(1.75rem, 1rem + 0.833vi, 2rem);
	}

	.header__hours {
		font-size: clamp(1rem, 0.625rem + 0.417vi, 1.125rem);
	}
}

.header-menu-info__label {
	text-transform: uppercase;
	font-size: 20px;
	color: #09071480;
	font-weight: 500;
}

.header-menu__column a:hover {
	color: var(--accent-red);
}

.header-menu__info {
	margin-bottom: 16px;
	height: 100%;
	flex: 1 1 672px;
	padding-left: 40px;
	position: relative;
	padding-top: 100px;
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: start;
	row-gap: 48px;
}

.header-menu__info::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: calc(100vh - 86px);
	background-color: #5858584d;
}

.header-menu__social {
	display: flex;
	align-items: center;
	justify-content: center;
	column-gap: 8px;
	transition: all .3s ease;
}

a.header-menu__social:hover {
	color: var(--accent-red);
}

.header-menu__social span {
	text-decoration: none;
	font-weight: 500;
	font-size: 22px;
	line-height: 100%;
	text-transform: uppercase;
}

.burger {
	width: 24px;
	height: 24px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	user-select: none;
}

.header__map {
	display: none;
}

.burger span {
	display: block;
	height: 2px;
	background: #1c1c1c;
	transition: all 0.3s ease;
	user-select: none;
}

/* Анимация крестика */
.burger.open span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.burger.open span:nth-child(2) {
	opacity: 0;
}

.burger.open span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

.header-menu-info__block {
	display: flex;
	flex-direction: column;
	row-gap: 16px;
}

.header-menu-info__block p {
	font-weight: var(--w-medium);
	line-height: var(--lh-100);
	font-size: 20px;
	color: var(--gray-900);
}

@media (max-width: 1920px) {}

@media (max-width: 1440px) {
	.header__info {
		flex: 1 0 390px;
	}

	.header__nav {
		flex: 0 0 452px;
	}

	.header__logo {
		flex: 0 0 200px;
	}

	.header-buttons__block {
		max-width: 88px;
	}
}

:root {
	--header-h: 82px;
	--pad-x: 32px;
}

.header {
	height: var(--header-h);
}

.header-menu {
	top: var(--header-h);
}

.header-menu.open {
	height: calc(100vh - var(--header-h));
}

.header__hours span {
	display: inline-block;
	max-width: 340px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ===== 1280 (compact desktop) ===== */
@media (max-width: 1280px) {
	:root {
		--pad-x: 24px;
	}

	.header__info {
		gap: 12px;
	}

	.header__hours span {
		max-width: 260px;
	}
}

/* ===== 1024 (tablet) ===== */
/* как на гайде: оставляем "Магазины" и "Карта ТЦ" в строке */
@media (max-width: 1024px) {
	:root {
		--header-h: 68px;
		--pad-x: 20px;
	}

	/* скрыть "Кафе" и "Кинотеатр" */

	.header__nav {
		gap: 28px;
	}

	.header-buttons__block {
		max-width: 66px;
	}

	.header__hours {
		flex: 1 1 350px;
	}

	.header__hours span {
		max-width: 220px;
	}

	.header__icon {
		font-size: 1.05rem;
	}
}

@media (max-width: 1200px) {
	.header__nav a:nth-child(3) {
		display: none;
	}

	.header__nav {
		flex: 1 0 auto;
	}

	.header__info {
		flex: 1 0 350px;
	}
}

@media (max-width: 768px) {
	:root {
		--header-h: 60px;
		--pad-x: 16px;
	}

	.header__nav {
		display: none !important;
	}

	.header__container {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.header__logo {
		justify-self: center;
	}

	.header__info {
		justify-self: end;
		gap: 12px;
	}

	.header__hours-mobile {
		display: block;
		border-top: 1px solid #5858584d;
		background: #fff;
		padding: 10px var(--pad-x);
	}

	.header__hours-mobile .header__hours {
		justify-content: flex-start;
		font-size: 14px;
		opacity: 0.9;
	}

	.header__hours-mobile .header__hours span {
		max-width: none;
	}

	.header-menu {
		top: var(--header-h);
	}

	.header-menu.open {
		--header-h: 57px;
		height: calc(100vh - var(--header-h));
	}

	.header__icon {
		font-size: 1rem;
	}
}

@media (max-width: 390px) {
	:root {
		--pad-x: 12px;
	}

 
	.header__hours-mobile .header__hours {
		font-size: 13px;
	}

	.header-buttons__block {
		max-width: 82px;
	}
}

@media (max-width: 1100px) {
	.header__nav a:nth-child(2) {
		display: none;
	}

	.header__nav {
		justify-content: center;
	}

	.header::after {
		display: none;
	}
}

@media (max-width: 1100px) {
	.header-menu-link__content {
		padding-top: 20px;
		flex: 0 0 auto;
		width: 100%;
	}

	.header-menu-info__content {
		flex-direction: column;
		flex: 1 1 auto;
		row-gap: 80px;
		justify-content: start;
	}

	.header-menu__info {
		padding-top: 0;
		flex-direction: row;
		padding-left: 0;
		width: 100%;
		flex: 0 1 auto;
		justify-content: space-between;
		height: auto;
		padding: 40px 0px;
		flex-wrap: wrap;
	}

	.header-menu__info {
		margin-bottom: 0;
	}

	.header-menu__info::before {
		content: "";
		position: absolute;
		top: 0;
		left: -15%;
		width: 200%;
		height: 1px;
		background-color: #5858584d;
	}

	.header-menu__info::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: -15%;
		width: 200%;
		height: 1px;
		background-color: #5858584d;
	}
}

@media (max-width: 1024px) {
	.header-menu-link__content {
		padding-top: 56px;
	}
}

@media (max-width: 900px) {
	.header__nav a:nth-child(1) {
		display: none;
	}
}

@media (max-width: 768px) {
	.header-menu__nav {
		gap: 20px;
	}

	.header-menu-link__content {
		padding-top: 26px;
	}

	.header-menu__info {
		padding: clamp(1.875rem, 1.324rem + 2.451vi, 2.5rem) 0px;
	}

	.header-menu__column {
		max-width: 100%;
		gap: clamp(1rem, 0.669rem + 1.471vi, 1.375rem);
	}

	.header-menu__info {
		row-gap: clamp(2rem, 1.007rem + 4.412vi, 3.125rem);
	}

	.header-menu__info::before {
		opacity: 0.75;
	}
}

.hours__title {
	display: flex;
	align-items: center;
	justify-content: center;
	column-gap: 8px;
}

.hours__title .hours-title__span {
	display: block;
}

/* Responsive */
@media (max-width: 768px) {
	.header__nav {
		display: none;
	}

	.hours__dropdown__menu {
		width: 250px;
	}

	.header-menu-info__center,
	.header-menu-info__arenda {
		row-gap: 14px;
	}

	.header-menu-info__content {
		row-gap: 30px;
	}

	.header-menu-footer__body {
		flex-direction: column;
		justify-content: start;
		align-items: start;
		row-gap: 28px;
	}

	.hours__title .hours-title__span {
		display: none;
	}

	.header__map {
		display: block;
	}

	.header__info {
		width: 100%;
	}

	.header__hours {
		flex: 1 1 auto;
		display: flex;
		justify-content: center;
	}

	.header-buttons__block {
		max-width: 80px;
	}

	.header__container {
		column-gap: 12px;
	}

	.header-menu__column a {
		font-size: clamp(0.938rem, 0.221rem + 3.186vi, 1.75rem);
	}
}

.header__search {
	display: none;
}
.header__hours span.hours__every__block{
    display: flex;
    align-items: center;
    column-gap:8px;
}
@media (max-width: 650px) {
	.header {
		height: 57px;
	}

	.header-menu {
		top: 57px;
	}

	.header-menu__wrapper {
		height: auto;
		row-gap: 48px;
	}
    .header__hours span.hours__every{
        display: none;
    }
	.header__search {
		display: none;
	}

	.header-buttons__block {
		justify-content: end;
		max-width: max-content;
	}

	.header.menu-open .header-buttons__block {
		justify-content: space-between;
	}

	.header.menu-open .header__hours {
		display: none;
	}

	.header.menu-open .header__search {
		display: block;
	}

	.header__container {
		display: grid;
		grid-template-columns: auto 1fr auto;
		align-items: center;
		width: 100%;
		height: 100%;
	}

	.header__info {
		justify-content: end;
	}

	/* Лого всегда в первой строке */
	.header__logo {
		grid-column: 1;
		grid-row: 1;
		align-self: center;
		max-width: 140px;
	}

	/* Навигация остаётся в первом ряду */
	.header__nav {
		grid-column: 2;
		grid-row: 1;
	}

	/* Блок иконок — строго справа, в первом ряду */
	.header-buttons__block {
		grid-column: 3;
		grid-row: 1;
		display: flex;
		align-items: center;
		gap: 16px;
	}
}