:root {
	--bg-page: #f4f6fb;
	--bg-card: #ffffff;
	--text-1: #111827;
	--text-2: #6b7280;
	--line: #e5e7eb;
	--brand: #5b35f2;
	--brand-dark: #4322c9;
	--accent: #ff5a1f;
	--accent-dark: #e0460d;
	--grad-hero: linear-gradient(135deg, #1a1047 0%, #371b9c 55%, #5b35f2 100%);
	--grad-btn: linear-gradient(135deg, #6d4aff 0%, #4b25e0 100%);
	--grad-ticket: linear-gradient(135deg, #ff6b2b 0%, #ff4518 100%);
	--shadow-sm: 0 2px 10px rgba(17, 24, 39, 0.04);
	--shadow-md: 0 10px 28px rgba(17, 24, 39, 0.08);
	--radius: 16px;
}

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

body.page {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	background: var(--bg-page);
	color: var(--text-1);
	line-height: 1.5;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.page__main {
	flex: 1;
}

.container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Шапка */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	height: 68px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-weight: 800;
	font-size: 20px;
	color: var(--text-1);
}

.site-logo__mark {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--grad-btn);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	font-size: 18px;
}

.site-logo__dot {
	color: var(--brand);
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.site-nav__link {
	text-decoration: none;
	color: var(--text-2);
	font-weight: 600;
	font-size: 15px;
	padding: 8px 14px;
	border-radius: 10px;
	transition: 0.15s;
}

.site-nav__link:hover,
.site-nav__link.is-active {
	color: var(--brand);
	background: rgba(91, 53, 242, 0.08);
}

.header-search {
	display: flex;
	align-items: center;
	background: #f3f4f6;
	border: 1px solid transparent;
	border-radius: 12px;
	padding: 4px 6px 4px 14px;
	width: 280px;
	transition: 0.15s;
}

.header-search:focus-within {
	background: #fff;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(91, 53, 242, 0.12);
}

.header-search__input {
	border: 0;
	background: transparent;
	outline: none;
	width: 100%;
	font-size: 14px;
	color: var(--text-1);
}

.header-search__btn {
	border: 0;
	background: var(--brand);
	color: #fff;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
}

/* Hero на главной */
.hero {
	background: var(--grad-hero);
	color: #fff;
	padding: 56px 0 64px;
	text-align: center;
}

.hero__inner {
	max-width: 780px;
}

.hero__eyebrow {
	display: inline-block;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.24);
	padding: 6px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 18px;
}

.hero__title {
	margin: 0 0 14px;
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.02em;
}

.hero__subtitle {
	margin: 0 auto 28px;
	max-width: 600px;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.84);
}

.hero__search {
	display: flex;
	align-items: stretch;
	max-width: 600px;
	margin: 0 auto 22px;
	background: #fff;
	padding: 6px;
	border-radius: 16px;
	box-shadow: 0 16px 36px rgba(10, 6, 36, 0.28);
}

.hero__search-input {
	flex: 1;
	border: 0;
	outline: none;
	padding: 12px 16px;
	font-size: 15px;
	border-radius: 12px;
	color: var(--text-1);
}

.hero__search-btn {
	border: 0;
	background: var(--accent);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	padding: 0 24px;
	border-radius: 12px;
	cursor: pointer;
	transition: 0.15s;
}

.hero__search-btn:hover {
	background: var(--accent-dark);
}

.hero__chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.hero__chip {
	text-decoration: none;
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	transition: 0.15s;
}

.hero__chip:hover {
	background: rgba(255, 255, 255, 0.26);
}

/* Секции */
.section {
	padding: 36px 0;
}

.section--compact {
	padding: 12px 0 8px;
}

.section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.section__title {
	margin: 0;
	font-size: 24px;
	font-weight: 800;
}

.section__subtitle {
	margin: 0 0 16px;
	font-size: 19px;
	font-weight: 700;
	color: var(--text-2);
}

.section__link {
	text-decoration: none;
	color: var(--brand);
	font-weight: 700;
	font-size: 15px;
}

/* Сетка магазинов */
.stores-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 16px;
}

.store-card {
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px 14px;
	text-align: center;
	text-decoration: none;
	color: var(--text-1);
	box-shadow: var(--shadow-sm);
	transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.store-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--brand);
}

.store-card__logo {
	width: 76px;
	height: 76px;
	border-radius: 16px;
	border: 1px solid #f1f5f9;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	overflow: hidden;
}

.store-card__logo img {
	max-width: 82%;
	max-height: 82%;
	object-fit: contain;
}

.store-card__name {
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 4px;
}

.store-card__count {
	font-size: 13px;
	color: var(--text-2);
}

/* Чипсы категорий и тегов */
.chips-group {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 12px;
}

.chips-group__label {
	font-size: 14px;
	font-weight: 700;
	color: var(--text-2);
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.chip {
	text-decoration: none;
	background: #fff;
	border: 1px solid var(--line);
	color: var(--text-1);
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	transition: 0.15s;
}

.chip:hover {
	border-color: var(--brand);
	color: var(--brand);
}

.chip--accent {
	background: rgba(91, 53, 242, 0.08);
	border-color: rgba(91, 53, 242, 0.2);
	color: var(--brand);
}

/* Карточка-билет купона */
.coupon {
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	display: flex;
	align-items: stretch;
	margin-bottom: 16px;
	overflow: hidden;
	transition: transform 0.18s, box-shadow 0.18s;
}

.coupon:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.coupon__discount {
	width: 146px;
	flex-shrink: 0;
	background: #f8fafc;
	border-right: 2px dashed var(--line);
	padding: 20px 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
}

.coupon__discount::before,
.coupon__discount::after {
	content: "";
	position: absolute;
	right: -9px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--bg-page);
	border: 1px solid var(--line);
}

.coupon__discount::before {
	top: -9px;
}

.coupon__discount::after {
	bottom: -9px;
}

.coupon__store-logo img {
	width: 68px;
	height: 68px;
	object-fit: contain;
	border-radius: 12px;
}

.coupon__discount-val {
	font-size: 20px;
	font-weight: 800;
	color: var(--accent);
	line-height: 1.15;
}

.coupon__discount-sub {
	font-size: 12px;
	font-weight: 600;
	color: var(--text-2);
	margin-top: 4px;
}

.coupon__body {
	flex: 1;
	min-width: 0;
	padding: 20px 24px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.coupon__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.badge {
	font-size: 12px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 7px;
}

.badge--promo {
	background: #ede9fe;
	color: #5b21b6;
}

.badge--deal {
	background: #e0f2fe;
	color: #0369a1;
}

.badge--exclusive {
	background: #ffedd5;
	color: #c2410c;
}

.badge--verified {
	background: #dcfce7;
	color: #15803d;
}

.badge--expired {
	background: #f3f4f6;
	color: #4b5563;
}

.coupon__store-link {
	font-size: 13px;
	font-weight: 700;
	color: var(--text-2);
	text-decoration: none;
}

.coupon__store-link:hover {
	color: var(--brand);
}

.coupon__title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 800;
	color: var(--text-1);
}

.coupon__desc {
	margin: 0 0 10px;
	font-size: 14px;
	color: var(--text-2);
}

.coupon__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 13px;
	color: var(--text-2);
}

.coupon__action {
	width: 240px;
	flex-shrink: 0;
	padding: 20px 24px 20px 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

/* Кнопка открытия промокода с уголком */
.coupon__open {
	position: relative;
	width: 100%;
	height: 46px;
	border: 0;
	border-radius: 12px;
	background: var(--grad-ticket);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 12px 0 16px;
	cursor: pointer;
	overflow: hidden;
	box-shadow: 0 6px 16px rgba(255, 90, 31, 0.28);
	transition: transform 0.15s, box-shadow 0.15s;
}

.coupon__open:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(255, 90, 31, 0.38);
}

.coupon__open-code {
	background: #fff3ed;
	color: var(--text-1);
	font-family: Consolas, monospace;
	font-weight: 800;
	font-size: 13px;
	padding: 4px 8px;
	border-radius: 6px;
	border: 1px dashed #fdba74;
}

.coupon__deal-btn {
	width: 100%;
	height: 46px;
	border: 0;
	border-radius: 12px;
	background: var(--grad-btn);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(91, 53, 242, 0.25);
	transition: transform 0.15s;
}

.coupon__deal-btn:hover {
	transform: translateY(-1px);
}

/* Страница магазина и хлебные крошки */
.page-head {
	background: #fff;
	border-bottom: 1px solid var(--line);
	padding: 24px 0 28px;
}

.breadcrumbs {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13px;
	color: var(--text-2);
}

.breadcrumbs a {
	color: var(--text-2);
	text-decoration: none;
}

.breadcrumbs li + li::before {
	content: "/";
	margin-right: 8px;
	color: #cbd5e1;
}

.page-head__title {
	margin: 0 0 8px;
	font-size: clamp(24px, 3.2vw, 34px);
	font-weight: 800;
}

.store-hero {
	display: flex;
	align-items: center;
	gap: 22px;
}

.store-hero__logo {
	width: 96px;
	height: 96px;
	border-radius: 20px;
	border: 1px solid var(--line);
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
}

.store-hero__logo img {
	max-width: 85%;
	max-height: 85%;
	object-fit: contain;
}

.store-hero__desc {
	margin: 0 0 10px;
	color: var(--text-2);
	font-size: 15px;
}

.store-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	font-size: 14px;
}

.store-rating {
	color: #f59e0b;
	font-weight: 700;
}

.store-rating small {
	color: var(--text-2);
	font-weight: 400;
}

.store-hero__ext {
	color: var(--brand);
	font-weight: 700;
	text-decoration: none;
}

/* Вкладки фильтров */
.filter-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.filter-tab {
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	background: #fff;
	border: 1px solid var(--line);
	color: var(--text-2);
}

.filter-tab.is-active {
	background: var(--text-1);
	border-color: var(--text-1);
	color: #fff;
}

/* Истёкшие купоны и SEO-статья */
.coupon--expired {
	opacity: 0.72;
	padding: 14px 20px;
	align-items: center;
	justify-content: space-between;
}

.coupon--expired .coupon__body {
	padding: 0;
}

.seo-article,
.empty-box {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px 28px;
	margin-top: 24px;
}

/* Пагинация */
.pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 28px;
}

.pagination__item {
	padding: 8px 14px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--line);
	color: var(--text-1);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}

.pagination__item.is-active {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}

/* Модальное окно */
.promo-modal[hidden] {
	display: none !important;
}

.promo-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.promo-modal__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(4px);
}

.promo-modal__dialog {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 480px;
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
	overflow: hidden;
}

.promo-modal__close {
	position: absolute;
	top: 14px;
	right: 16px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: #f3f4f6;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: var(--text-2);
}

.promo-modal__header {
	padding: 24px 28px 16px;
	border-bottom: 1px solid var(--line);
	text-align: center;
}

.promo-modal__store {
	font-size: 13px;
	font-weight: 700;
	color: var(--brand);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 4px;
}

.promo-modal__title {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
}

.promo-modal__body {
	padding: 22px 28px 28px;
	text-align: center;
}

.promo-modal__desc {
	margin: 0 0 18px;
	font-size: 14px;
	color: var(--text-2);
}

.promo-modal__hint-top {
	font-size: 13px;
	color: var(--text-2);
	margin-bottom: 8px;
}

.promo-modal__code {
	display: flex;
	align-items: stretch;
	border: 2px dashed var(--brand);
	border-radius: 14px;
	background: rgba(91, 53, 242, 0.05);
	overflow: hidden;
	margin-bottom: 8px;
}

.promo-modal__code-text {
	flex: 1;
	padding: 14px;
	font-family: Consolas, monospace;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: var(--brand-dark);
	user-select: all;
}

.promo-modal__copy {
	border: 0;
	background: var(--grad-btn);
	color: #fff;
	font-weight: 700;
	padding: 0 20px;
	cursor: pointer;
}

.promo-modal__copied {
	font-size: 13px;
	font-weight: 700;
	color: #16a34a;
	margin-bottom: 12px;
}

.promo-modal__deal-note {
	background: #ecfdf5;
	color: #065f46;
	padding: 12px 16px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 16px;
}

.promo-modal__go {
	display: block;
	width: 100%;
	padding: 14px;
	border-radius: 12px;
	background: var(--text-1);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-size: 15px;
	margin-top: 14px;
}

.promo-modal__feedback {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.promo-modal__feedback-title {
	font-size: 13px;
	color: var(--text-2);
	margin-bottom: 10px;
}

.promo-modal__feedback-btns {
	display: flex;
	justify-content: center;
	gap: 10px;
}

.promo-modal__vote {
	padding: 7px 16px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	background: #fff;
}

.promo-modal__vote--yes {
	border: 1px solid #86efac;
	color: #15803d;
}

.promo-modal__vote--no {
	border: 1px solid #fca5a5;
	color: #b91c1c;
}

.promo-modal__thanks {
	margin-top: 8px;
	font-size: 13px;
	color: var(--brand);
	font-weight: 600;
}

/* Подвал */
.site-footer {
	background: #0f172a;
	color: #94a3b8;
	padding: 40px 0 24px;
	margin-top: 48px;
}

.site-footer .site-logo {
	color: #fff;
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__about {
	max-width: 420px;
	font-size: 14px;
	margin: 12px 0 0;
}

.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.site-footer__link {
	color: #cbd5e1;
	text-decoration: none;
	font-size: 14px;
}

.site-footer__link:hover {
	color: #fff;
}

.site-footer__bottom {
	padding-top: 18px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
}

.site-logo__mark--img {
	background: transparent;
}

.site-logo__mark--img img {
	width: 34px;
	height: 34px;
	object-fit: contain;
	display: block;
}

.site-logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.site-logo__tagline {
	font-size: 11px;
	font-weight: 500;
	color: var(--text-2);
}

@media (max-width: 640px) {
	.site-logo__tagline {
		display: none;
	}
}


/* Мобильный адаптив */
@media (max-width: 768px) {
	.header-search {
		display: none;
	}

	.coupon {
		flex-direction: column;
	}

	.coupon__discount {
		width: 100%;
		flex-direction: row;
		justify-content: space-between;
		padding: 12px 20px;
		border-right: 0;
		border-bottom: 2px dashed var(--line);
	}

	.coupon__discount::before,
	.coupon__discount::after {
		display: none;
	}

	.coupon__action {
		width: 100%;
		padding: 0 20px 20px;
	}

	.store-hero {
		flex-direction: column;
		text-align: center;
	}
}

/* =========================================================
   СОВРЕМЕННЫЕ UI-ФИШКИ: BENTO HERO, КАРУСЕЛЬ, ЖИВОЙ ФИЛЬТР
   ========================================================= */

/* Bento-сетка первого экрана */
.bento-hero {
	padding: 28px 0 36px;
}

.bento-grid {
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	gap: 20px;
	align-items: stretch;
}

.bento-main {
	background: var(--grad-hero);
	border-radius: 26px;
	padding: 40px 38px;
	color: #fff;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-shadow: 0 20px 44px rgba(26, 16, 71, 0.22);
}

.bento-main::before {
	content: "";
	position: absolute;
	top: -80px;
	right: -80px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 90, 31, 0.42) 0%, rgba(255, 90, 31, 0) 70%);
	pointer-events: none;
}

.bento-main .hero__search {
	margin: 0 0 20px;
	max-width: 100%;
}

.bento-main .hero__chips {
	justify-content: flex-start;
}

/* Правая колонка Bento (Карточка дня + статистика) */
.bento-side {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.bento-deal-card {
	flex: 1;
	background: linear-gradient(145deg, #111827 0%, #1e293b 100%);
	border-radius: 24px;
	padding: 26px 28px;
	color: #fff;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.bento-deal-card::after {
	content: "%";
	position: absolute;
	right: -14px;
	bottom: -36px;
	font-size: 160px;
	font-weight: 900;
	color: rgba(255, 255, 255, 0.05);
	line-height: 1;
	pointer-events: none;
}

.bento-deal-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	background: rgba(255, 90, 31, 0.2);
	border: 1px solid rgba(255, 90, 31, 0.45);
	color: #ff9e7d;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 999px;
	margin-bottom: 12px;
}

.bento-deal-title {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.28;
}

.bento-deal-store {
	font-size: 13px;
	color: #94a3b8;
	margin-bottom: 18px;
}

.bento-deal-btn {
	align-self: flex-start;
	background: var(--grad-ticket);
	color: #fff;
	border: 0;
	border-radius: 12px;
	padding: 11px 20px;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(255, 90, 31, 0.35);
	transition: transform 0.15s;
}

.bento-deal-btn:hover {
	transform: translateY(-2px);
}

.bento-stats {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 18px 22px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	text-align: center;
	box-shadow: var(--shadow-sm);
}

.bento-stat__num {
	font-size: 20px;
	font-weight: 800;
	color: var(--brand);
	line-height: 1.1;
}

.bento-stat__label {
	font-size: 12px;
	color: var(--text-2);
	margin-top: 4px;
}

/* Горизонтальная карусель магазинов (CSS Scroll Snap) */
.carousel-controls {
	display: flex;
	align-items: center;
	gap: 8px;
}

.carousel-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--text-1);
	font-size: 18px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: var(--shadow-sm);
	transition: 0.15s;
}

.carousel-btn:hover {
	border-color: var(--brand);
	color: var(--brand);
	transform: scale(1.06);
}

.stores-carousel {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 6px 4px 14px;
	scrollbar-width: none;
}

.stores-carousel::-webkit-scrollbar {
	display: none;
}

.stores-carousel .store-card {
	flex: 0 0 176px;
	scroll-snap-align: start;
}

/* Улучшенный эффект подвёрнутого уголка при наведении */
.coupon__open-code {
	transition: transform 0.2s ease, padding 0.2s ease, background 0.2s ease;
}

.coupon__open:hover .coupon__open-code {
	transform: translateX(-4px) scale(1.04);
	background: #ffffff;
}

/* Плавное скрытие карточек при живой фильтрации */
.coupon.is-filtered-out {
	display: none !important;
}

@media (max-width: 960px) {
	.bento-grid {
		grid-template-columns: 1fr;
	}

	.bento-main {
		padding: 30px 24px;
	}
}
/* Блок частых вопросов (FAQ) на странице магазина */
.store-faq {
	margin-top: 32px;
}

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.faq-item {
	background: var(--surface, #ffffff);
	border: 1px solid var(--border, #e2e8f0);
	border-radius: 14px;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
	border-color: var(--primary, #5b35f2);
	box-shadow: 0 6px 20px rgba(91, 53, 242, 0.06);
}

.faq-item__question {
	list-style: none;
	cursor: pointer;
	padding: 16px 44px 16px 18px;
	font-weight: 600;
	font-size: 15px;
	color: var(--text-1, #0f172a);
	position: relative;
	user-select: none;
}

.faq-item__question::-webkit-details-marker {
	display: none;
}

.faq-item__question::after {
	content: "+";
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
	font-weight: 500;
	color: var(--primary, #5b35f2);
	transition: transform 0.2s ease;
}

.faq-item[open] .faq-item__question::after {
	content: "−";
}

.faq-item__answer {
	padding: 0 18px 16px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-2, #475569);
}

.faq-item__answer p {
	margin: 0;
}

/* Блок «Похожие магазины» */
.similar-stores {
	margin-top: 32px;
	margin-bottom: 12px;
}

.similar-stores__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 12px;
}

.similar-store-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	background: var(--surface, #ffffff);
	border: 1px solid var(--border, #e2e8f0);
	border-radius: 14px;
	text-decoration: none;
	color: inherit;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.similar-store-card:hover {
	transform: translateY(-2px);
	border-color: var(--primary, #5b35f2);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.similar-store-card__logo {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	overflow: hidden;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f1f5f9;
}

.similar-store-card__logo img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	display: block;
}

.similar-store-card__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.similar-store-card__name {
	font-weight: 600;
	font-size: 14px;
	color: var(--text-1, #0f172a);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.similar-store-card__meta {
	font-size: 12px;
	color: var(--text-2, #64748b);
}
/* =========================================================
   МОБИЛЬНАЯ АДАПТАЦИЯ (360px - 480px) И СОВМЕСТИМОСТЬ КЛАССОВ
   ========================================================= */

/* Совместимость классов фильтров и хлебных крошек в store_detail.html */
.breadcrumbs__list {
	list-style: none;
	margin: 16px 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13px;
	color: var(--text-2);
}

.breadcrumbs__list a {
	color: var(--text-2);
	text-decoration: none;
}

.breadcrumbs__list li + li::before {
	content: "/";
	margin-right: 8px;
	color: #cbd5e1;
}

.filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0;
}

.filter-pill {
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	background: #fff;
	border: 1px solid var(--line);
	color: var(--text-2);
	transition: 0.15s;
}

.filter-pill:hover {
	border-color: var(--brand);
	color: var(--brand);
}

.filter-pill.is-active {
	background: var(--text-1);
	border-color: var(--text-1);
	color: #fff;
}

.btn--ghost {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--brand);
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
}

.store-about {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px 24px;
	margin-top: 24px;
}

.section-title {
	margin: 0 0 14px;
	font-size: 20px;
	font-weight: 800;
}

/* Жёсткая защита от горизонтального скролла на любых экранах */
html, body.page {
	overflow-x: hidden;
	max-width: 100%;
}

/* Адаптив под узкие смартфоны (360px - 480px) */
@media (max-width: 480px) {
	.container {
		padding: 0 14px;
	}

	/* Шапка: компактный логотип + горизонтально прокручиваемое меню в одну строку */
	.site-header__inner {
		height: 58px;
		gap: 10px;
	}

	.site-logo {
		font-size: 17px;
		gap: 8px;
		flex-shrink: 0;
	}

	.site-nav {
		overflow-x: auto;
		scrollbar-width: none;
		gap: 4px;
		padding: 2px 0;
	}

	.site-nav::-webkit-scrollbar {
		display: none;
	}

	.site-nav__link {
		font-size: 13px;
		padding: 6px 10px;
		white-space: nowrap;
	}

	/* Bento Hero и поиск на 360px */
	.bento-hero {
		padding: 16px 0 24px;
	}

	.bento-main {
		padding: 22px 16px;
		border-radius: 20px;
	}

	.hero__title {
		font-size: 23px;
	}

	.hero__subtitle {
		font-size: 14px;
		margin-bottom: 18px;
	}

	.hero__search {
		padding: 4px;
		border-radius: 13px;
	}

	.hero__search-input {
		min-width: 0;
		padding: 10px 10px;
		font-size: 14px;
	}

	.hero__search-btn {
		padding: 0 14px;
		font-size: 14px;
		border-radius: 10px;
		flex-shrink: 0;
	}

	.bento-deal-card {
		padding: 20px 18px;
		border-radius: 20px;
	}

	.bento-deal-title {
		font-size: 18px;
	}

	.bento-stats {
		padding: 14px 10px;
		gap: 6px;
	}

	.bento-stat__num {
		font-size: 17px;
	}

	.bento-stat__label {
		font-size: 11px;
	}

	/* Ровно 2 колонки магазинов на экранах 360px и 390px */
	.stores-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.store-card {
		padding: 14px 10px;
	}

	.store-card__logo {
		width: 60px;
		height: 60px;
	}

	.stores-carousel .store-card {
		flex: 0 0 142px;
	}

	.similar-stores__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.similar-store-card {
		padding: 10px;
		gap: 8px;
	}

	.similar-store-card__logo,
	.similar-store-card__logo img {
		width: 38px;
		height: 38px;
	}

	/* Карточки купонов на 360px */
	.coupon__body {
		padding: 14px 16px;
	}

	.coupon__title {
		font-size: 16px;
	}

	.coupon__meta {
		gap: 10px;
		font-size: 12px;
	}

	.coupon__action {
		padding: 0 16px 16px;
	}

	/* Модальное окно на 360px */
	.promo-modal {
		padding: 10px;
	}

	.promo-modal__header {
		padding: 20px 38px 14px 16px;
	}

	.promo-modal__title {
		font-size: 17px;
	}

	.promo-modal__body {
		padding: 16px;
	}

	.promo-modal__code {
		flex-direction: column;
	}

	.promo-modal__code-text {
		font-size: 18px;
		letter-spacing: 0.06em;
		padding: 12px 10px;
		word-break: break-all;
	}

	.promo-modal__copy {
		padding: 11px 16px;
		font-size: 14px;
	}

	.promo-modal__feedback-btns {
		flex-direction: column;
		gap: 8px;
	}
}
/* Виджет подписки на рассылку в подвале */
.footer-subscribe {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 24px;
	align-items: center;
	background: linear-gradient(135deg, #5b35f2 0%, #4322c9 100%);
	color: #ffffff;
	border-radius: 20px;
	padding: 26px 28px;
	margin-bottom: 28px;
}

.footer-subscribe__title {
	margin: 0 0 8px;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.25;
}

.footer-subscribe__desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.88);
}

.footer-subscribe__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.footer-subscribe__row {
	display: flex;
	gap: 8px;
}

.footer-subscribe__input {
	flex: 1;
	min-width: 0;
	padding: 12px 14px;
	border: none;
	border-radius: 12px;
	font-size: 14px;
	color: #0f172a;
	background: #ffffff;
	outline: none;
}

.footer-subscribe__btn {
	padding: 12px 20px;
	border: none;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 700;
	color: #ffffff;
	background: #ff5a1f;
	cursor: pointer;
	flex-shrink: 0;
	transition: transform 0.15s ease, background 0.15s ease;
}

.footer-subscribe__btn:hover {
	background: #e64d15;
}

.footer-subscribe__btn:disabled {
	opacity: 0.7;
	cursor: wait;
}

.footer-subscribe__consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 10px;
	font-size: 12px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.85);
	cursor: pointer;
}

.footer-subscribe__consent input {
	margin-top: 2px;
	accent-color: #ff5a1f;
}

.footer-subscribe__consent a {
	color: #ffffff;
	text-decoration: underline;
}

.footer-subscribe__status {
	margin-top: 8px;
	font-size: 13px;
	font-weight: 600;
}

.footer-subscribe__status.is-success {
	color: #bbf7d0;
}

.footer-subscribe__status.is-error {
	color: #fecaca;
}

@media (max-width: 768px) {
	.footer-subscribe {
		grid-template-columns: 1fr;
		padding: 20px 18px;
		gap: 16px;
	}

	.footer-subscribe__title {
		font-size: 18px;
	}
}

@media (max-width: 480px) {
	.footer-subscribe__row {
		flex-direction: column;
	}
}
/* Исправление ширины текстовой кнопки «Найти» в шапке */
.header-search__btn {
	width: auto;
	height: 32px;
	padding: 0 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	flex-shrink: 0;
}
