/*
Theme Name: Зима-Лето
Description: Тема турагентства «Зима-Лето»: верхнее меню, каталог туров в левой колонке, карточки туров с датами. Работает вместе с плагином «Туры Зима-Лето». Страницы редактируются в стандартном редакторе WordPress.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Author: Турагентство Зима-Лето
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zimaleto
Tags: two-columns, left-sidebar, custom-menu, custom-logo, editor-style, featured-images, translation-ready
*/

/* ---------- Токены ---------- */

:root {
	--zl-ink: #17323d;
	--zl-muted: #566a73;
	--zl-glacier: #1f6f8b;
	--zl-glacier-deep: #155a72;
	--zl-ice: #e9f2f6;
	--zl-sun: #f3b23a;
	--zl-sun-ink: #7a4c00;
	--zl-line: #cfdde4;
	--zl-paper: #ffffff;
	--zl-page: #ffffff;
	--zl-font: "Golos Text", "Segoe UI", Roboto, Arial, sans-serif;
	--zl-font-display: "Unbounded", "Golos Text", "Segoe UI", Arial, sans-serif;
	--wrap: 1260px;
	--gutter: 24px;
	--side: 280px;
}

/* ---------- Основа ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 16px;
}

body {
	margin: 0;
	background: var(--zl-page);
	color: var(--zl-ink);
	font-family: var(--zl-font);
	font-size: 17px;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}
img {
	height: auto;
}

a {
	color: var(--zl-glacier);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
a:hover {
	color: var(--zl-glacier-deep);
}

:focus-visible {
	outline: 3px solid var(--zl-sun);
	outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 1.8em 0 0.5em;
	color: var(--zl-ink);
	font-weight: 650;
	line-height: 1.25;
}
h1,
h2 {
	font-family: var(--zl-font-display);
	font-weight: 600;
	letter-spacing: -0.01em;
}
h1 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; }
h2 { font-size: clamp(21px, 2vw, 25px); }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5,
h6 { font-size: 16px; }

p,
ul,
ol,
dl,
blockquote,
figure,
table {
	margin: 0 0 1.1em;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding-inline: var(--gutter);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--zl-ink);
	color: #fff;
	border-radius: 0 0 8px 8px;
}
.skip-link:focus {
	top: 0;
	color: #fff;
}

/* ---------- Шапка ---------- */

.topbar {
	background: var(--zl-ink);
	color: #cfe1e8;
	font-size: 14px;
	line-height: 1.4;
}
.topbar__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 28px;
	padding-block: 8px;
}
.topbar__item {
	margin: 0;
}
.topbar__email {
	margin-left: auto;
}
.topbar a {
	color: #fff;
	text-decoration: none;
}
.topbar a:hover {
	text-decoration: underline;
}

.masthead {
	background: var(--zl-paper);
	position: relative;
}
.masthead__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 14px;
}

.navbar {
	background: var(--zl-paper);
	border-top: 1px solid var(--zl-line);
}

.brand {
	display: flex;
	align-items: center;
	min-width: 0;
}
.brand img,
.custom-logo {
	display: block;
	width: auto;
	max-width: 240px;
	max-height: 64px;
}
.brand__name {
	font-family: var(--zl-font-display);
	font-weight: 700;
	font-size: 22px;
	color: var(--zl-ink);
	text-decoration: none;
}

.primary-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0 6px;
	margin: 0 0 0 -14px;
	padding: 0;
	list-style: none;
}
.primary-nav__list > li {
	position: relative;
}
.primary-nav__list a {
	display: block;
	padding: 13px 14px;
	color: var(--zl-ink);
	font-size: 15px;
	font-weight: 550;
	text-decoration: none;
	border-radius: 6px;
}
.primary-nav__list > li > a {
	box-shadow: inset 0 -3px 0 transparent;
	border-radius: 0;
}
.primary-nav__list > li > a:hover {
	color: var(--zl-glacier);
}
.primary-nav__list > .current-menu-item > a,
.primary-nav__list > .current-menu-ancestor > a,
.primary-nav__list > .current_page_item > a {
	box-shadow: inset 0 -3px 0 var(--zl-sun);
}
.primary-nav .sub-menu {
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 20;
	min-width: 230px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--zl-paper);
	border: 1px solid var(--zl-line);
	border-radius: 10px;
	box-shadow: 0 12px 28px rgba(23, 50, 61, 0.12);
	visibility: hidden;
	opacity: 0;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
}
.primary-nav .sub-menu a:hover {
	background: var(--zl-ice);
}

.masthead__phone {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	color: var(--zl-ink);
	text-decoration: none;
	white-space: nowrap;
}
.masthead__phone-number {
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.01em;
}
.masthead__phone-hint {
	display: none;
	font-size: 13px;
	color: var(--zl-muted);
}
.masthead__phone:hover .masthead__phone-number {
	color: var(--zl-glacier);
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--zl-line);
	border-radius: 8px;
	background: var(--zl-paper);
	color: var(--zl-ink);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	position: relative;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* Полоса «зима | лето» — фирменный знак агентства */
.season-bar {
	display: flex;
	height: 6px;
}
.season-bar span {
	flex: 1;
	background: var(--zl-glacier);
}
.season-bar span + span {
	background: var(--zl-sun);
}
.season-bar--thin {
	height: 4px;
}

/* ---------- Макет: каталог слева, содержимое справа ---------- */

.site-body {
	display: grid;
	grid-template-columns: var(--side) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
	padding-block: 32px 72px;
}

.site-main {
	min-width: 0;
}
.site-main:focus {
	outline: none;
}

/* ---------- Каталог ---------- */

.catalog {
	position: sticky;
	top: 16px;
	max-height: calc(100vh - 32px);
	overflow: auto;
	scrollbar-width: thin;
}
.admin-bar .catalog {
	top: 48px;
	max-height: calc(100vh - 64px);
}
.catalog__box {
	border: 1px solid var(--zl-line);
	border-radius: 12px;
	background: var(--zl-paper);
	overflow: hidden;
}
.catalog__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	background: var(--zl-glacier);
	color: #fff;
	font-family: var(--zl-font-display);
	font-size: 15px;
	font-weight: 600;
	list-style: none;
	cursor: default;
}
.catalog__title::-webkit-details-marker {
	display: none;
}
.catalog__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.catalog__list > li + li {
	border-top: 1px solid var(--zl-line);
}
.catalog__list a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 18px 12px 15px;
	border-left: 3px solid transparent;
	color: var(--zl-ink);
	text-decoration: none;
}
.catalog__label {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}
.catalog__desc {
	font-size: 13px;
	line-height: 1.35;
	color: var(--zl-muted);
}
.catalog__list a:hover {
	background: var(--zl-ice);
}
.catalog__list a:hover .catalog__label {
	color: var(--zl-glacier-deep);
}
.catalog__list .current-menu-item > a,
.catalog__list .current_page_item > a,
.catalog__list .current-menu-ancestor > a {
	border-left-color: var(--zl-sun);
	background: var(--zl-ice);
}
.catalog__list .sub-menu {
	margin: 0;
	padding: 0 0 8px;
	list-style: none;
}
.catalog__list .sub-menu a {
	padding: 6px 18px 6px 30px;
}
.catalog__list .sub-menu .catalog__label {
	font-size: 14px;
	font-weight: 500;
}
.catalog__widgets {
	margin-top: 20px;
	display: grid;
	gap: 16px;
}
.side-widget {
	padding: 16px 18px;
	border-radius: 12px;
	background: var(--zl-ice);
	font-size: 15px;
}
.side-widget__title {
	margin: 0 0 8px;
	font-family: var(--zl-font);
	font-size: 16px;
	font-weight: 650;
}
.side-widget > :last-child {
	margin-bottom: 0;
}
.menu-hint {
	margin: 0;
	padding: 12px 18px;
	font-size: 14px;
	color: var(--zl-muted);
}

/* ---------- Заголовки страниц ---------- */

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
	font-size: 14px;
	color: var(--zl-muted);
}
.breadcrumbs li + li::before {
	content: "/";
	margin: 0 8px;
	color: #9db2bb;
}
.breadcrumbs a {
	color: var(--zl-muted);
}
.breadcrumbs a:hover {
	color: var(--zl-glacier);
}

.page-head {
	margin-bottom: 28px;
}
.page-title {
	margin: 0;
}
.page-lead {
	margin: 12px 0 0;
	font-size: 18px;
	color: var(--zl-muted);
	max-width: 62ch;
}
.page-lead p:last-child {
	margin-bottom: 0;
}
.page-meta {
	margin: 8px 0 0;
	font-size: 14px;
	color: var(--zl-muted);
}
.section-title {
	margin: 2.4em 0 0.8em;
}

/* ---------- Текст страниц (блочный редактор) ---------- */

.entry-content {
	overflow-wrap: break-word;
}
.entry-content > :first-child {
	margin-top: 0;
}
.entry-content p,
.entry-content li {
	max-width: 72ch;
}
.entry-content .zl-request p,
.entry-content .zl-card p,
.entry-content .zl-facts p,
.entry-content .zl-destinations li {
	max-width: none;
}
.entry-content .zl-request .zl-request__text {
	max-width: 62ch;
}
.entry-content .zl-request__title,
.entry-content .zl-conditions h2 {
	margin-top: 0;
}
.entry-content .zl-tours-block__title {
	margin: 2em 0 0.8em;
}
.entry-content > .zl-tours-block:first-child .zl-tours-block__title {
	margin-top: 0;
}
.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
}
.entry-content li + li {
	margin-top: 0.3em;
}
.entry-content h2 {
	margin-top: 2em;
}
.entry-content blockquote,
.wp-block-quote {
	margin-left: 0;
	padding: 4px 0 4px 20px;
	border-left: 4px solid var(--zl-sun);
}
.entry-content hr,
.wp-block-separator {
	border: 0;
	border-top: 1px solid var(--zl-line);
	margin: 2.4em 0;
}
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}
.entry-content th,
.entry-content td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--zl-line);
	text-align: left;
	vertical-align: top;
}
.entry-content th {
	color: var(--zl-muted);
	font-weight: 600;
}
.entry-content figure img,
.wp-block-image img {
	border-radius: 10px;
}
.wp-block-image figcaption,
.wp-element-caption {
	margin-top: 8px;
	font-size: 14px;
	color: var(--zl-muted);
}
.entry-content iframe {
	display: block;
	width: 100%;
	border: 0;
	border-radius: 12px;
}
.entry-content details,
.wp-block-details {
	padding: 14px 18px;
	border: 1px solid var(--zl-line);
	border-radius: 10px;
	margin-bottom: 12px;
}
.wp-block-details summary {
	font-weight: 600;
	cursor: pointer;
}
.wp-block-details[open] summary {
	margin-bottom: 8px;
}

/* Кнопки блоков и общие */
.wp-block-button__link,
.wp-element-button,
.zl-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 22px;
	border: 2px solid var(--zl-glacier);
	border-radius: 8px;
	background: var(--zl-glacier);
	color: #fff;
	font-family: var(--zl-font);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}
.wp-block-button__link:hover,
.wp-element-button:hover,
.zl-button:hover {
	background: var(--zl-glacier-deep);
	border-color: var(--zl-glacier-deep);
	color: #fff;
}
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--zl-glacier);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--zl-ice);
	color: var(--zl-glacier-deep);
}
.wp-block-buttons {
	gap: 12px;
}

/* Обложка (первый экран главной и разделов) */
.wp-block-cover {
	border-radius: 14px;
	overflow: hidden;
	padding: 40px;
}
.wp-block-cover .wp-block-cover__inner-container {
	max-width: 640px;
	margin-right: auto;
}
.wp-block-cover h1,
.wp-block-cover h2,
.wp-block-cover p {
	color: #fff;
}
.wp-block-cover .wp-block-button.is-style-outline > .wp-block-button__link {
	border-color: #fff;
	color: #fff;
}
.wp-block-cover .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.14);
}

/* Первый экран главной: группа с классом hero */
.wp-block-group.hero.has-background {
	position: relative;
	padding: 44px 44px 40px;
	border-radius: 14px;
	overflow: hidden;
}
.wp-block-group.hero::after {
	/* Тонкая полоса «зима | лето» по нижнему краю */
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 6px;
	background: linear-gradient(90deg, var(--zl-glacier-deep) 0 50%, var(--zl-sun) 50% 100%);
}
.wp-block-group.hero h1 {
	margin: 0 0 16px;
	color: inherit;
	font-size: clamp(28px, 3.3vw, 44px);
	line-height: 1.1;
	max-width: 16ch;
}
.wp-block-group.hero p {
	font-size: 18px;
	max-width: 54ch;
	color: inherit;
	opacity: 0.92;
}
.wp-block-group.hero .wp-block-buttons {
	margin-top: 24px;
}
.wp-block-group.hero .wp-block-button__link {
	background: var(--zl-sun);
	border-color: var(--zl-sun);
	color: #2b1d00;
}
.wp-block-group.hero .wp-block-button__link:hover {
	background: #ffc75a;
	border-color: #ffc75a;
}
.wp-block-group.hero .is-style-outline > .wp-block-button__link {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.8);
	color: #fff;
}
.wp-block-group.hero .is-style-outline > .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.12);
}

/* Карточки разделов на главной: колонки с фоном */
.wp-block-column.has-background {
	padding: 20px 22px;
	border-radius: 12px;
}
.wp-block-column.has-background > :first-child {
	margin-top: 0;
}
.wp-block-column.has-background > :last-child {
	margin-bottom: 0;
}
.wp-block-column h3 {
	margin-top: 1.2em;
}
.wp-block-column h3 a {
	color: var(--zl-ink);
	text-decoration: none;
}
.wp-block-column h3 a:hover {
	color: var(--zl-glacier);
	text-decoration: underline;
}

/* Группа с фоном: «плашка» */
.wp-block-group.has-background {
	padding: 24px 28px;
	border-radius: 14px;
}
.wp-block-columns {
	gap: 24px 32px;
}

/* Цвета палитры редактора */
.has-ink-color { color: var(--zl-ink); }
.has-glacier-color { color: var(--zl-glacier); }
.has-sun-color { color: var(--zl-sun); }
.has-muted-color { color: var(--zl-muted); }
.has-white-color { color: #fff; }
.has-ink-background-color { background-color: var(--zl-ink); }
.has-glacier-background-color { background-color: var(--zl-glacier); }
.has-ice-background-color { background-color: var(--zl-ice); }
.has-sun-background-color { background-color: var(--zl-sun); }
.has-sun-light-background-color { background-color: #fdf1d8; }
.has-white-background-color { background-color: #fff; }

/* Поиск в боковой колонке и в тексте (блок «Поиск») */
.wp-block-search__inside-wrapper {
	display: flex;
	gap: 6px;
}
.wp-block-search__input {
	flex: 1;
	min-width: 0;
	min-height: 42px;
	padding: 8px 10px;
	border: 1px solid #a9bcc5;
	border-radius: 8px;
	font: inherit;
}
.wp-block-search__button {
	min-height: 42px;
	padding: 8px 14px;
	margin: 0;
}

/* Подборка ссылок-разделов: «чипы» */
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}
.chips a {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid var(--zl-line);
	border-radius: 999px;
	color: var(--zl-ink);
	font-size: 15px;
	text-decoration: none;
}
.chips a:hover {
	border-color: var(--zl-glacier);
	color: var(--zl-glacier);
}

/* ---------- Тур ---------- */

.tour__place {
	margin: 0 0 6px;
	color: var(--zl-muted);
	font-weight: 500;
}
.tour__hero {
	margin: 0 0 24px;
}
.tour__hero img {
	display: block;
	width: 100%;
	aspect-ratio: 2 / 1;
	object-fit: cover;
	border-radius: 14px;
}
.tour__program h2 {
	margin-top: 1.4em;
}
.tour__program h3 {
	margin: 1.6em 0 0.4em;
	padding-top: 1em;
	border-top: 1px solid var(--zl-line);
	font-size: 19px;
}
.related {
	margin-top: 48px;
}

/* ---------- Списки статей ---------- */

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
	margin-bottom: 32px;
}
.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--zl-line);
	border-radius: 12px;
	background: var(--zl-paper);
	overflow: hidden;
}
.post-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}
.post-card__body {
	padding: 16px 18px 18px;
}
.post-card__title {
	margin: 0 0 6px;
	font-family: var(--zl-font);
	font-size: 18px;
	font-weight: 650;
	letter-spacing: 0;
}
.post-card__title a {
	color: inherit;
	text-decoration: none;
}
.post-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.post-card:hover .post-card__title a {
	color: var(--zl-glacier);
	text-decoration: underline;
}
.post-card__excerpt {
	margin: 0;
	font-size: 15px;
	color: var(--zl-muted);
}
.empty-note {
	color: var(--zl-muted);
}

/* Списки последних записей в блоках */
.wp-block-latest-posts.is-grid {
	gap: 20px;
}
.wp-block-latest-posts__post-title {
	font-weight: 600;
	color: var(--zl-ink);
}

/* Пагинация и навигация */
.pagination .nav-links,
.post-navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.page-numbers {
	display: inline-flex;
	min-width: 42px;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
	border: 1px solid var(--zl-line);
	border-radius: 8px;
	text-decoration: none;
	color: var(--zl-ink);
}
.page-numbers.current {
	background: var(--zl-ink);
	border-color: var(--zl-ink);
	color: #fff;
}
.post-navigation {
	margin-top: 40px;
}
.post-navigation .nav-links > div {
	flex: 1 1 260px;
}
.post-navigation a {
	display: block;
	padding: 14px 16px;
	border: 1px solid var(--zl-line);
	border-radius: 10px;
	color: var(--zl-ink);
	text-decoration: none;
}
.post-nav__label {
	display: block;
	font-size: 13px;
	color: var(--zl-muted);
}

/* Поиск */
.search-form {
	display: flex;
	gap: 8px;
	max-width: 560px;
	margin: 0 0 28px;
}
.search-form__input {
	flex: 1;
	min-width: 0;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid #a9bcc5;
	border-radius: 8px;
	font: inherit;
	color: var(--zl-ink);
}

/* ---------- Подвал ---------- */

.site-footer {
	background: var(--zl-ink);
	color: #cfe1e8;
	font-size: 15px;
}
.site-footer a {
	color: #fff;
	text-decoration: none;
}
.site-footer a:hover {
	text-decoration: underline;
}
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 32px;
	padding-block: 44px 32px;
}
.site-footer__brand {
	margin: 0 0 10px;
	color: #fff;
	font-family: var(--zl-font-display);
	font-size: 18px;
	font-weight: 600;
}
.site-footer__about p {
	max-width: 42ch;
}
.site-footer__title {
	margin: 0 0 12px;
	color: #fff;
	font-family: var(--zl-font);
	font-size: 16px;
	font-weight: 650;
	letter-spacing: 0;
}
.site-footer__list,
.site-footer__social {
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-footer__list li + li {
	margin-top: 6px;
}
.site-footer__phone {
	font-size: 19px;
	font-weight: 700;
}
.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}
.site-footer__social a {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	font-size: 14px;
}
.site-footer__widgets {
	grid-column: 1 / -1;
}
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	padding-block: 18px 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 14px;
	color: #a9c2cc;
}
.site-footer__bottom p {
	margin: 0;
}
.site-footer__bottom a {
	color: #cfe1e8;
}

/* ---------- Планшет и телефон ---------- */

@media (max-width: 1100px) {
	:root {
		--side: 250px;
	}
	.site-body {
		gap: 28px;
	}
	.primary-nav__list a {
		padding: 10px 8px;
		font-size: 14px;
	}
	.masthead__phone-number {
		font-size: 17px;
	}
}

@media (max-width: 900px) {
	:root {
		--gutter: 16px;
	}
	body {
		font-size: 16px;
	}
	.topbar__inner {
		gap: 4px 16px;
		padding-block: 6px;
		font-size: 13px;
	}
	.topbar__email {
		margin-left: 0;
	}
	.masthead__inner {
		gap: 10px;
		padding-block: 10px;
	}
	.brand {
		flex: 1 1 auto;
		min-width: 0;
		margin-right: auto;
	}
	.brand__name {
		font-size: 16px;
		line-height: 1.2;
	}
	.brand img,
	.custom-logo {
		max-width: 170px;
		max-height: 48px;
	}
	.nav-toggle {
		display: inline-flex;
	}
	.masthead__phone {
		align-items: center;
		justify-content: center;
		min-height: 44px;
		padding: 6px 12px;
		border-radius: 8px;
		background: var(--zl-glacier);
		color: #fff;
	}
	.masthead__phone-number {
		display: none;
	}
	.masthead__phone-hint {
		display: inline;
		color: #fff;
		font-size: 15px;
		font-weight: 600;
	}
	.masthead__phone:hover {
		background: var(--zl-glacier-deep);
	}
	.navbar {
		display: none;
	}
	.nav-open .navbar {
		display: block;
	}
	.primary-nav {
		padding-block: 4px 12px;
	}
	.primary-nav__list {
		flex-direction: column;
		gap: 0;
		margin: 0;
	}
	.primary-nav__list > li + li {
		border-top: 1px solid var(--zl-line);
	}
	.primary-nav__list a,
	.primary-nav__list > li > a {
		padding: 14px 4px;
		font-size: 16px;
		box-shadow: none;
	}
	.primary-nav__list > .current-menu-item > a {
		box-shadow: inset 4px 0 0 var(--zl-sun);
		padding-left: 14px;
	}
	.primary-nav .sub-menu {
		position: static;
		visibility: visible;
		opacity: 1;
		border: 0;
		box-shadow: none;
		padding: 0 0 8px 16px;
	}

	.site-body {
		display: block;
		padding-block: 16px 56px;
	}
	.catalog {
		position: static;
		max-height: none;
		overflow: visible;
		margin-bottom: 24px;
	}
	.catalog__title {
		cursor: pointer;
	}
	.catalog__title::after {
		content: "";
		width: 10px;
		height: 10px;
		border-right: 2px solid #fff;
		border-bottom: 2px solid #fff;
		transform: rotate(45deg) translate(-2px, -2px);
	}
	.catalog__box[open] .catalog__title::after {
		transform: rotate(-135deg) translate(-2px, -2px);
	}
	.catalog__widgets {
		display: none;
	}
	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 24px;
		padding-block: 32px 24px;
	}
	.wp-block-cover {
		padding: 28px 20px;
	}
	.wp-block-group.hero.has-background {
		padding: 28px 20px 32px;
	}
	.wp-block-group.has-background {
		padding: 20px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

@media print {
	.topbar,
	.catalog,
	.nav-toggle,
	.season-bar,
	.zl-request,
	.site-footer__nav {
		display: none !important;
	}
	.site-body {
		display: block;
	}
}
