/*
 * Стыковка WooCommerce с вёрсткой эталона.
 *
 * Здесь только то, для чего в style.min.css нет готовых классов:
 * страницы оформления заказа, личного кабинета, служебные сообщения
 * и мелкие состояния, которых не было в исходной вёрстке.
 * Основные стили — в style.min.css, его править не нужно.
 */

/* --- Сообщения WooCommerce --- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	margin: 0 0 20px;
	padding: 15px 30px 15px 15px;
	list-style: none;
	line-height: 130%;
	color: #007eff;
	background-color: #eff4fa;
	border-radius: 4px;
}

.woocommerce-error {
	color: #e93c3c;
	background-color: #fdeeee;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
	color: #e93c3c;
}

/* --- Оформление заказа --- */
.checkout {
	padding-bottom: 60px;
}

.checkout__customer {
	margin-bottom: 40px;
}

.checkout .form-row {
	display: flex;
	flex-direction: column;
	margin-bottom: 16px;
}

.checkout .form-row label {
	margin-bottom: 6px;
	font-size: 15px;
	font-weight: 500;
	color: #52575c;
}

.checkout .input-text,
.checkout select,
.checkout textarea {
	width: 100%;
	padding: 12px;
	font-size: 16px;
	color: #25282b;
	border: 1px solid #e8e8e8;
	border-radius: 4px;
	background-color: #fff;
}

.checkout .input-text:focus,
.checkout select:focus,
.checkout textarea:focus {
	outline: none;
	border-color: #e93c3c;
}

.checkout .required {
	color: #e93c3c;
	text-decoration: none;
}

.checkout__review {
	height: auto;
}

.checkout__review table {
	width: 100%;
	margin-bottom: 20px;
	border-collapse: collapse;
}

.checkout__review th,
.checkout__review td {
	padding: 10px 0;
	text-align: left;
	border-bottom: 1px solid #cacccf;
}

.checkout .wc_payment_methods {
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.checkout .wc_payment_method label {
	cursor: pointer;
}

.checkout #place_order {
	width: 100%;
	padding: 22px;
	font-size: 16px;
	color: #fff;
	cursor: pointer;
	border: 1px solid #e93c3c;
	background-color: #e93c3c;
}

.checkout #place_order:hover {
	color: #e93c3c;
	background-color: #fff;
}

/* --- Корзина --- */
.cart__update {
	margin-bottom: 30px;
}

.cart__empty,
.catalog__empty,
.comments__empty {
	margin-bottom: 30px;
	font-size: 18px;
	color: #52575c;
}

/* --- Модальное окно выбора размера --- */
.modal-size__row--out {
	opacity: 0.5;
}

.modal-size__out {
	font-size: 14px;
	color: #a0a4a8;
}

.form-error_msg--ok {
	color: #2fa84f;
}

.item__buy--disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.item__buy.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

/* --- Личный кабинет --- */
.woocommerce-MyAccount-navigation ul {
	display: flex;
	margin: 0 0 30px;
	padding: 0;
	list-style: none;
	flex-wrap: wrap;
	gap: 10px;
}

.woocommerce-MyAccount-navigation a {
	display: block;
	padding: 8px 14px;
	font-size: 14px;
	color: #52575c;
	text-decoration: none;
	border: 1px solid #cacccf;
	border-radius: 2px;
	background-color: #f9f9fa;
}

.woocommerce-MyAccount-navigation .is-active a {
	color: #fff;
	border-color: #e93c3c;
	background-color: #e93c3c;
}

/* --- Комментарии и отзывы --- */
.comments__list {
	margin: 0 0 30px;
	padding: 0;
	list-style: none;
}

.comment-item__head {
	display: flex;
	margin-bottom: 10px;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.comment-item__date {
	font-size: 14px;
	color: #a0a4a8;
}

.comment-item__rating svg {
	fill: #e8e8e8;
}

.comment-item__rating svg.is-active {
	fill: #ffb800;
}

.comment-item__pending {
	font-size: 14px;
	color: #a0a4a8;
}

/* --- Страница 404 --- */
.not-found {
	padding-bottom: 60px;
	text-align: center;
}

.not-found .search-form {
	margin: 0 auto 30px;
	max-width: 420px;
}

.not-found__text {
	margin-bottom: 30px;
	font-size: 18px;
	color: #52575c;
}

.not-found .catalog__btns {
	justify-content: center;
}

/* --- Лента новостей --- */
.news__container--archive {
	display: grid;
	margin-bottom: 40px;
	gap: 20px;
	grid-template-columns: 1fr;
}

@media (min-width: 700px) {
	.news__container--archive {
		grid-template-columns: 1fr 1fr;
	}
}

.news-single__image {
	margin-bottom: 24px;
}

.news-single__image img {
	max-width: 100%;
	height: auto;
}

/* --- Плитка категорий на главной ---
 * В эталоне высоту плитки задавала сама картинка: все feat-*.jpg были одного
 * размера. Категории магазина такого не гарантируют, поэтому фиксируем высоту —
 * иначе плитки получаются разной высоты, а без картинки схлопываются в ноль.
 */
.categories__item {
	overflow: hidden;
	height: 220px;
	border-radius: 2px;
}

@media (min-width: 700px) {
	.categories__item {
		height: 260px;
	}
}

.categories__item--empty {
	background-color: #f3f3f3;
}

.categories__item--empty .categories__heading {
	color: #52575c;
}

/* Заголовок поверх картинки должен читаться на любой фотографии. */
.categories__heading {
	z-index: 1;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* --- Название сайта вместо логотипа, пока он не загружен --- */
.header__logo-text {
	display: block;
	max-width: 150px;
	font-size: 17px;
	font-weight: 700;
	line-height: 118%;
	color: #e93c3c;
	text-decoration: none;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

/* --- Описание категории в каталоге --- */
.catalog-page__description {
	margin-bottom: 30px;
	line-height: 150%;
	color: #52575c;
}

/* --- Высота фото в карточке товара ---
 * В эталоне у .item__img стоит height:auto с большим max-height (438px):
 * там все фотографии товаров были одного формата, поэтому карточки
 * получались одинаковыми сами собой. В каталоге «Формата» пропорции
 * фотографий разные — от узких вертикальных до широких горизонтальных,
 * из-за чего строки сетки разъезжались по высоте, а слайдер «Новинки»
 * растягивался почти на 900px. Фиксируем высоту области изображения:
 * object-fit: contain оставляет фото целиком, не обрезая его.
 */
.item__img {
	height: 180px;
	max-height: none;
	object-fit: contain;
}

@media (min-width: 700px) {
	.item__img {
		height: 200px;
	}
}

@media (min-width: 1024px) {
	.item__img {
		height: 220px;
	}
}

/* На странице товара блок «С этим товаром покупают» чуть компактнее. */
.product__wrapper .item__img {
	height: 180px;
}

/* Карточки в сетке тянутся на всю высоту строки, чтобы кнопки были на одной линии. */
.catalog__items .item {
	height: 100%;
}

/* ============================================================
 * Фильтры каталога
 *
 * В эталоне у .filter стоит height:100% и flex-grow:1 — панель тянется
 * на всю высоту колонки товаров. Там секций фильтра было много, и она
 * выглядела заполненной. У «Формата» секций мало, и получался серый
 * столб под три тысячи пикселей при 200px содержимого. Поэтому высоту
 * отпускаем, панель прижимаем к верху и делаем «липкой» при прокрутке.
 * ============================================================ */
@media (min-width: 1024px) {
	.catalog__container .filters {
		align-self: flex-start;
	}

	.filter {
		height: auto;
		flex-grow: 0;
		position: sticky;
		top: 20px;
		max-height: calc(100vh - 40px);
		overflow-y: auto;
		padding: 22px 20px 24px;
		border: 1px solid #e8e8e8;
		border-radius: 6px;
		background-color: #fff;
	}

	/* Тонкая полоса прокрутки, если фильтров станет много. */
	.filter::-webkit-scrollbar {
		width: 6px;
	}

	.filter::-webkit-scrollbar-thumb {
		border-radius: 3px;
		background-color: #e0e0e0;
	}
}

.filter__header {
	padding: 0 0 14px;
	border-bottom: 1px solid #e8e8e8;
}

.filter__title {
	font-size: 18px;
	font-weight: 500;
	color: #25282b;
}

/* Заголовок секции: кликабельная строка с шевроном. */
.filter__item {
	padding: 0;
	border-bottom: 1px solid #e8e8e8;
}

.filter__item:last-child {
	border-bottom: 0;
}

.filter__item > .nav__link {
	display: flex;
	padding: 16px 0;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	font-size: 15px;
	font-weight: 500;
	color: #25282b;
	transition: color 0.15s ease;
}

.filter__item > .nav__link:hover {
	color: #e93c3c;
}

.filter__item > .nav__link::after {
	content: "";
	width: 9px;
	height: 9px;
	margin-left: 10px;
	border-right: 2px solid #a0a4a8;
	border-bottom: 2px solid #a0a4a8;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.2s ease, border-color 0.15s ease;
	pointer-events: none;
	flex-shrink: 0;
}

.filter__item > .nav__link.opened::after {
	transform: rotate(-135deg) translateY(-2px);
	border-color: #e93c3c;
}

.filter__item > .accordeon {
	padding-bottom: 18px;
}

/* --- Цена --- */
.price__input {
	gap: 10px;
	padding-bottom: 26px;
}

.price__field {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 6px;
	padding: 7px 10px;
	border: 1px solid #e8e8e8;
	border-radius: 4px;
	background-color: #fff;
	transition: border-color 0.15s ease;
}

.price__field:focus-within {
	border-color: #e93c3c;
}

.price__label {
	font-size: 13px;
	color: #a0a4a8;
}

.price__input input {
	width: 100%;
	min-width: 0;
	padding: 0;
	font-size: 15px;
	color: #25282b;
	border: 0;
	outline: 0;
	background: transparent;
	-moz-appearance: textfield;
	appearance: textfield;
}

.filter__slider {
	width: 100%;
	max-width: none;
	margin-bottom: 4px;
}

/* --- Чекбоксы --- */
.filter__item .checkbox__label {
	display: flex;
	padding: 7px 0;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	line-height: 135%;
	transition: color 0.15s ease;
}

.filter__item .checkbox__label:hover {
	color: #e93c3c;
}

.filter__item .checkbox-text__count {
	top: 0;
	margin-left: 4px;
	color: #a0a4a8;
}

.catalog-page__more {
	margin-top: 6px;
	padding: 0;
	font-size: 14px;
	color: #1a8bff;
	text-decoration: underline;
	cursor: pointer;
	border: 0;
	background: 0 0;
}

/* --- Кнопки под фильтром --- */
.filter__actions {
	display: flex;
	margin-top: 18px;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.filter__submit {
	width: 100%;
	padding: 13px 16px;
	font-size: 15px;
	color: #fff;
	cursor: pointer;
	border: 1px solid #e93c3c;
	border-radius: 4px;
	background-color: #e93c3c;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.filter__submit:hover {
	color: #e93c3c;
	background-color: #fff;
}

.filter__clear {
	font-size: 14px;
	color: #a0a4a8;
	text-decoration: none;
	border-bottom: 1px dashed currentColor;
	transition: color 0.15s ease;
}

.filter__clear:hover {
	color: #e93c3c;
}

/* Ссылка «Сбросить» в шапке панели — только на десктопе. */
.filter__close--desktop {
	font-size: 14px;
}

/* Кнопка открытия фильтров на мобильном. */
.catalog__open-filters {
	padding: 9px 14px;
	font-size: 15px;
	cursor: pointer;
	border: 1px solid #cacccf;
	border-radius: 4px;
	background-color: #fff;
}

.catalog__open-filters:hover {
	border-color: #e93c3c;
	color: #e93c3c;
}

/* Селект сортировки. */
.catalog__select {
	padding: 9px 12px;
	font-size: 15px;
	color: #52575c;
	cursor: pointer;
	border: 1px solid #cacccf;
	border-radius: 4px;
	background-color: #fff;
}

.catalog__select:focus {
	outline: none;
	border-color: #e93c3c;
}

/* --- Промо-баннер справа от слайдера ---
 * В эталоне у .main-banner__link задано только max-height:400px у картинки:
 * там промо-баннер был подготовлен ровно под этот блок. Произвольная
 * картинка (например квадратная) занимала лишь часть высоты и блок выглядел
 * незаполненным. Растягиваем ссылку на всю высоту контейнера и на всю
 * оставшуюся ширину, а картинку вписываем через object-fit: cover.
 */
@media (min-width: 1025px) {
	.main-banner__link {
		display: block;
		align-self: stretch;
		flex: 1 1 auto;
		min-width: 0;
		overflow: hidden;
		border-radius: 2px;
	}

	.main-banner__link img {
		display: block;
		width: 100%;
		height: 100%;
		max-height: none;
		object-fit: cover;
		object-position: center;
	}

	/* Если слайдов ещё нет, промо занимает всю ширину блока. */
	.main-banner__link:only-child {
		flex: 1 1 100%;
	}
}

/* ============================================================
 * Обычные страницы: «О нас», «Доставка», «Услуги», «Магазины»
 *
 * В эталоне отдельной вёрстки для таких страниц не было — текст
 * выводился одной колонкой. Здесь добавлена шапка страницы,
 * двухколоночная раскладка и типографика для содержимого.
 * ============================================================ */
.page-hero {
	margin-bottom: 30px;
	padding: 22px 0 26px;
	border-bottom: 1px solid #e8e8e8;
	background-color: #f9f9fa;
}

.page-hero .breadcrumbs {
	margin-bottom: 10px;
}

.page-hero__title {
	margin: 0;
}

/* Именно div.page: WordPress сам вешает класс page на <body> страниц. */
div.page {
	padding-bottom: 60px;
}

.page__layout {
	display: grid;
	gap: 30px;
	grid-template-columns: 1fr;
	align-items: start;
}

@media (min-width: 1024px) {
	.page__layout {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 40px;
	}
}

.page__content {
	min-width: 0;
}

.page__thumb {
	margin-bottom: 26px;
}

.page__thumb img {
	width: 100%;
	height: auto;
	border-radius: 4px;
}

/* --- Типографика содержимого --- */
.page__content h2,
.page__content h3,
.page__content h4 {
	margin: 32px 0 14px;
	line-height: 130%;
	color: #25282b;
}

.page__content h2 {
	font-size: 24px;
	font-weight: 500;
}

.page__content h3 {
	font-size: 20px;
	font-weight: 500;
}

.page__content h4 {
	font-size: 17px;
	font-weight: 500;
}

.page__content > *:first-child {
	margin-top: 0;
}

.page__content p {
	margin: 0 0 16px;
	line-height: 160%;
	color: #52575c;
}

.page__content ul,
.page__content ol {
	margin: 0 0 18px;
	padding-left: 20px;
	line-height: 160%;
	color: #52575c;
}

.page__content li {
	margin-bottom: 8px;
}

.page__content a {
	color: #e93c3c;
}

.page__content img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}

.page__content blockquote {
	margin: 0 0 20px;
	padding: 16px 20px;
	border-left: 3px solid #e93c3c;
	background-color: #f9f9fa;
	color: #52575c;
}

.page__content table {
	width: 100%;
	margin-bottom: 22px;
	border-collapse: collapse;
}

.page__content th,
.page__content td {
	padding: 11px 14px;
	text-align: left;
	line-height: 150%;
	border: 1px solid #e8e8e8;
}

.page__content th {
	font-weight: 500;
	background-color: #f9f9fa;
}

/* Широкие таблицы прокручиваются, а не ломают раскладку. */
.page__content .table-scroll,
.page__content .tab-table {
	overflow-x: auto;
}

/* --- Боковая колонка --- */
.page__aside {
	display: grid;
	gap: 16px;
	align-content: start;
}

@media (min-width: 1024px) {
	.page__aside {
		position: sticky;
		top: 20px;
	}
}

.page__card {
	padding: 20px;
	border: 1px solid #e8e8e8;
	border-radius: 6px;
	background-color: #fff;
}

.page__card--accent {
	border-color: #f3c9c9;
	background-color: #fdf5f5;
	text-align: center;
}

.page__card-title {
	margin-bottom: 14px;
	font-size: 17px;
	font-weight: 500;
	color: #25282b;
}

.page__card-text {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 150%;
	color: #52575c;
}

.page__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.page__links li {
	margin-bottom: 10px;
}

.page__links li:last-child {
	margin-bottom: 0;
}

.page__links a {
	font-size: 15px;
	color: #52575c;
	text-decoration: none;
	transition: color 0.15s ease;
}

.page__links a:hover {
	color: #e93c3c;
}

.page__contact {
	display: flex;
	margin-bottom: 14px;
	gap: 10px;
	align-items: flex-start;
	font-size: 15px;
	line-height: 145%;
	color: #52575c;
}

.page__contact:last-child {
	margin-bottom: 0;
}

.page__contact svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: #e93c3c;
}

.page__contact a {
	color: #25282b;
	text-decoration: none;
}

.page__contact a:hover {
	color: #e93c3c;
}

.page__phone {
	display: block;
	font-weight: 500;
}

.page__contact--muted {
	font-size: 14px;
	color: #a0a4a8;
}

.page__cta {
	width: 100%;
	padding: 13px 16px;
	font-size: 15px;
	color: #fff;
	cursor: pointer;
	border: 1px solid #e93c3c;
	border-radius: 4px;
	background-color: #e93c3c;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.page__cta:hover {
	color: #e93c3c;
	background-color: #fff;
}

/* ============================================================
 * Страница «Контакты» (шаблон «Контакты»)
 * ============================================================ */
.contacts {
	padding-bottom: 60px;
}

.contacts__block {
	margin-bottom: 24px;
}

.contacts__label {
	margin-bottom: 6px;
	font-size: 14px;
	color: #a0a4a8;
}

.contacts__value {
	font-size: 18px;
	line-height: 150%;
	color: #25282b;
}

.contacts__value a {
	display: block;
	color: #25282b;
	text-decoration: none;
}

.contacts__value a:hover {
	color: #e93c3c;
}

.contacts__phone {
	font-weight: 500;
}

.contacts__left .info__link {
	margin-top: 10px;
	cursor: pointer;
}

.contacts__left .socials {
	justify-content: flex-start;
	margin-top: 20px;
}

.map {
	overflow: hidden;
	border-radius: 6px;
}

.map iframe {
	display: block;
	width: 100%;
	height: 408px;
	border: 0;
}

@media (max-width: 1023px) {
	.map iframe {
		height: 280px;
	}

	.contacts__item {
		gap: 30px;
	}
}

/* ============================================================
 * Доводка 1.2.0
 * ============================================================ */

/* --- Шапка: пункты меню не переносятся на две строки --- */
.header__item {
	white-space: nowrap;
}

@media (min-width: 1024px) and (max-width: 1279px) {
	.header__menu .header__item {
		padding-left: 10px;
		padding-right: 10px;
	}
}

/* --- Шапка страницы: без лишней высоты и двойной линии --- */
.page-hero .breadcrumbs {
	padding: 0 0 12px;
}

.page__content.about__section,
.contacts__route .about__section {
	margin-bottom: 0;
	padding-top: 0;
	border-top: 0;
}

/* --- Плитки категорий: готовые баннеры со своим текстом --- */
.categories__item--designed {
	height: auto;
	aspect-ratio: 16 / 9;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.categories__item--designed:hover {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
	transform: translateY(-2px);
}

.categories__item--designed::before {
	display: none;
}

/* Название на картинке уже есть; для поисковиков и экранных дикторов оставляем. */
.categories__item--designed .categories__heading {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.categories__item:not(.categories__item--designed) {
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

/* --- Подвал: адреса --- */
.footer__address {
	margin-bottom: 8px;
	font-size: 14px;
	line-height: 145%;
	color: #52575c;
}

/* --- Контакты --- */
.contacts__note {
	margin-top: 4px;
	font-size: 14px;
	color: #a0a4a8;
}

/* ============================================================
 * Содержимое страниц из прежней темы (WPBakery + Goya)
 *
 * Страницы «О нас», «Доставка», «Услуги», «Магазины» собраны в
 * конструкторе под тему Goya. Её стили больше не подключаются, поэтому
 * без правок ниже блоки разваливаются: баннер без раскладки, карусель
 * фото столбиком по 400px, лишние отступы колонок, надзаголовки-метки
 * выглядят как обычный текст. Ниже — аккуратные замены этим элементам.
 * ============================================================ */
.page__content .sec_row,
.page__content .vc_row {
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	max-width: 100%;
}

/*
 * Отступ между секциями — только у внешнего ряда. У вложенных рядов
 * конструктора были свои отступы, и они складывались: под баннером
 * «О нас» набегало 148px пустоты.
 */
.page__content .wpb-content-wrapper > .sec_row,
.page__content .wpb-content-wrapper > .vc_row {
	margin-bottom: 32px;
}

.page__content .wpb-content-wrapper > :last-child {
	margin-bottom: 0;
}

/* Отступы и фоны из настроек WPBakery (классы vc_custom_…) рассчитаны на Goya. */
.page__content .vc_row[class*="vc_custom_"],
.page__content .vc_row-has-fill {
	margin-top: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	background: none !important;
}

/* Отрицательные отступы Goya: блок «Доставки» заезжал на −200px вверх, на шапку страницы. */
.page__content .vc_row,
.page__content .wpb_column,
.page__content .vc_column-inner {
	margin-top: 0 !important;
}

.page__content .wpb_wrapper > h2:first-child,
.page__content .wpb_wrapper > h3:first-child,
.page__content .wpb_wrapper > h4:first-child {
	margin-top: 0;
}

.page__content .vc_column-inner {
	padding-top: 0 !important;
	padding-left: 0;
	padding-right: 0;
}

.page__content .vc_row .vc_row {
	margin-bottom: 0;
}

@media (min-width: 768px) {
	.page__content .vc_row {
		display: flex;
		flex-wrap: wrap;
		gap: 0 28px;
	}

	.page__content .vc_row > .wpb_column {
		float: none;
		flex: 1 1 0;
		min-width: 0;
		width: auto;
	}

	.page__content .vc_row > .vc_col-sm-12 {
		flex-basis: 100%;
	}
}

.page__content .wpb_content_element {
	margin-bottom: 18px;
}

/* Пустые отступы конструктора по 100px — слишком много для новой вёрстки. */
.page__content .vc_empty_space {
	height: 24px !important;
}

/* Надзаголовок-метка («ИНФОРМАЦИЯ», «МАГАЗИНЫ» над заголовком). */
.page__content h5,
.page__content h6 {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #e93c3c;
}

.page__content h5 + h2,
.page__content h6 + h2,
.page__content .wpb_wrapper > h5:first-child + h2 {
	margin-top: 0;
}

/* Баннер Goya → аккуратный блок-обложка с текстом поверх фото. */
.page__content .et-banner {
	position: relative;
	display: flex;
	height: auto !important;
	min-height: 280px;
	margin-bottom: 0;
	overflow: hidden;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	background-color: #25282b;
}

.page__content .et-banner-image {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
}

.page__content .et-banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(18, 20, 22, 0.72) 0%, rgba(18, 20, 22, 0.35) 100%);
}

.page__content .et-banner-content {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 40px 32px;
}

.page__content .et-banner-content-inner {
	max-width: none;
	padding: 0;
}

.page__content .et-banner-text {
	text-align: center;
}

.page__content .et-banner-text-inner {
	opacity: 1 !important;
	transform: none !important;
}

.page__content .et-banner .et-banner-title,
.page__content .et-banner h2,
.page__content .et-banner h3,
.page__content .et-banner h4 {
	margin: 0 0 12px;
	font-size: 28px;
	font-weight: 500;
	color: #fff;
}

.page__content .et-banner p,
.page__content .et-banner .et-banner-paragraph {
	max-width: 640px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 160%;
	color: rgba(255, 255, 255, 0.88);
}

/* Карусель фото Goya → сетка-галерея. */
.page__content .et-image-slider,
.page__content .et-image-slider .slick-track {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
	width: auto !important;
	transform: none !important;
}

.page__content .et-image-slider .slick-list {
	display: contents;
}

.page__content .et-image-slider .gallery-item,
.page__content .et-image-slider .slick-slide {
	width: auto !important;
	margin: 0;
}

.page__content .et-image-slider img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 4px;
}

.page__content .slick-arrow,
.page__content .slick-dots {
	display: none !important;
}

/* Анимации появления Goya без её скриптов оставляли блоки невидимыми или сдвинутыми. */
.page__content .animated,
.page__content .animation,
.page__content [class*="bottom-to-top"],
.page__content [class*="top-to-bottom"],
.page__content [class*="left-to-right"],
.page__content [class*="right-to-left"],
.page__content [data-animate] {
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}

/* Фон подвала из CSS эталона ссылается на /templates/demomarket/img/Footer.png —
   этого файла нет и на исходном сайте, запрос только даёт 404 в консоли. */
.footer__upper {
	background-image: none;
}
