/*
Theme Name: Kupon
Theme URI: https://example.com/
Author: Kupon
Description: Тема для промокодного сайту: слайдер топових пропозицій, сітка промокодів, копіювання кодів, сторінки магазинів. Працює разом із плагіном Kupon Core.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kupon
Tags: coupons, affiliate, grid, custom-menu, translation-ready
*/

/* ==========================================================================
   1. Токени
   ========================================================================== */

:root {
	--ink: #101114;
	--ink-70: #4a4d57;
	--ink-45: #7a7e8a;
	--paper: #f2f2ee;
	--card: #ffffff;
	--cobalt: #1d3be0;
	--cobalt-dark: #1730b4;
	--acid: #ffd400;
	--mint: #0b9e68;
	--rust: #c8341f;
	--line: #e2e1dc;

	--font-display: "Unbounded", "Trebuchet MS", sans-serif;
	--font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--radius: 16px;
	--radius-sm: 10px;
	--wrap: 1200px;
	--shadow: 0 1px 2px rgba(16, 17, 20, .06), 0 8px 24px rgba(16, 17, 20, .06);
	--shadow-lift: 0 2px 4px rgba(16, 17, 20, .08), 0 16px 40px rgba(16, 17, 20, .12);
}

/* ==========================================================================
   2. База
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--cobalt-dark); }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

:focus-visible {
	outline: 3px solid var(--cobalt);
	outline-offset: 2px;
	border-radius: 4px;
}

.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;
}

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

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

.eyebrow {
	font-family: var(--font-mono);
	font-size: .75rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink-45);
	margin: 0 0 .6em;
}

/* ==========================================================================
   3. Кнопки
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-family: var(--font-body);
	font-size: .95rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { background: #24262d; color: #fff; transform: translateY(-1px); }
.btn--primary { background: var(--cobalt); }
.btn--primary:hover { background: var(--cobalt-dark); color: #fff; }
.btn--acid { background: var(--acid); color: var(--ink); }
.btn--acid:hover { background: #ffdf40; color: var(--ink); }
.btn--ghost {
	background: transparent;
	color: var(--ink);
	border: 1.5px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }

/* ==========================================================================
   4. Шапка
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(242, 242, 238, .92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 72px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: -0.03em;
	color: var(--ink);
	text-decoration: none;
	flex-shrink: 0;
}
.brand:hover { color: var(--cobalt); }
.brand__mark {
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	background: var(--cobalt);
	border-radius: 8px;
	position: relative;
}
.brand__mark::before,
.brand__mark::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 8px;
	height: 8px;
	background: var(--paper);
	border-radius: 50%;
	transform: translateY(-50%);
}
.brand__mark::before { left: -4px; }
.brand__mark::after { right: -4px; }

.nav { margin-left: auto; }
.nav ul {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav a {
	color: var(--ink);
	text-decoration: none;
	font-size: .95rem;
	font-weight: 500;
}
.nav a:hover { color: var(--cobalt); }
.nav .current-menu-item > a { color: var(--cobalt); }

.header-count {
	font-family: var(--font-mono);
	font-size: .72rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink-70);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 6px 12px;
	white-space: nowrap;
}

.nav-toggle {
	display: none;
	margin-left: auto;
	background: none;
	border: 1.5px solid var(--ink);
	border-radius: 8px;
	padding: 8px 12px;
	font-family: var(--font-mono);
	font-size: .8rem;
	cursor: pointer;
}

/* ==========================================================================
   5. Пошук
   ========================================================================== */

.search-form {
	display: flex;
	gap: 8px;
	max-width: 520px;
	width: 100%;
}
.search-form input[type="search"],
.search-form input[type="text"] {
	flex: 1;
	min-width: 0;
	padding: 14px 18px;
	border: 1.5px solid var(--ink);
	border-radius: 999px;
	background: #fff;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--ink);
}
.search-form input::placeholder { color: var(--ink-45); }
.search-form input:focus { outline: 3px solid var(--cobalt); outline-offset: 1px; }

/* ==========================================================================
   6. Головна: борд
   ========================================================================== */

.board { padding: 56px 0 40px; }
.board__title { max-width: 15ch; margin-bottom: .35em; }
.board__lead {
	max-width: 52ch;
	color: var(--ink-70);
	font-size: 1.06rem;
	margin-bottom: 28px;
}
.board__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 24px 0 0;
	padding: 0;
	font-family: var(--font-mono);
	font-size: .78rem;
	letter-spacing: .04em;
	color: var(--ink-70);
	text-transform: uppercase;
}
.board__stats b { color: var(--ink); font-weight: 600; }

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}
.chip {
	display: inline-block;
	padding: 7px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font-size: .85rem;
	text-decoration: none;
}
.chip:hover { border-color: var(--cobalt); color: var(--cobalt); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ==========================================================================
   7. Секції
   ========================================================================== */

.section { padding: 40px 0; }
.section--tight { padding: 24px 0 40px; }
.section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}
.section__head h2 { margin-bottom: 0; }
.section__more {
	font-family: var(--font-mono);
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	white-space: nowrap;
}

/* ==========================================================================
   8. Слайдер
   ========================================================================== */

.slider { position: relative; }

.slider__track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 4px 4px 20px;
	margin: 0 -4px;
	scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }

.slide {
	flex: 0 0 min(560px, 86%);
	scroll-snap-align: start;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	min-height: 260px;
	padding: 28px;
	border-radius: var(--radius);
	background: var(--cobalt);
	color: #fff;
	overflow: hidden;
}
.slide::after {
	content: "";
	position: absolute;
	right: -60px;
	bottom: -60px;
	width: 220px;
	height: 220px;
	border: 28px solid rgba(255, 255, 255, .08);
	border-radius: 50%;
}
.slide__top {
	display: flex;
	align-items: center;
	gap: 14px;
	position: relative;
	z-index: 1;
}
.slide__logo {
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	border-radius: 12px;
	background: #fff;
	display: grid;
	place-items: center;
	overflow: hidden;
}
.slide__logo img { width: 40px; height: 40px; object-fit: contain; }
.slide__store {
	font-family: var(--font-mono);
	font-size: .78rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	margin: 0;
	opacity: .85;
}
.slide__value {
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 5vw, 3.2rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--acid);
	margin: 0;
}
.slide__title {
	position: relative;
	z-index: 1;
	font-family: var(--font-body);
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0;
	margin: 10px 0 0;
	max-width: 30ch;
}
.slide__title a { color: #fff; text-decoration: none; }
.slide__title a:hover { text-decoration: underline; }
.slide__foot {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.slide__meta {
	font-family: var(--font-mono);
	font-size: .74rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	opacity: .8;
}

.slider__nav {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	margin-top: 4px;
}
.slider__btn {
	width: 42px;
	height: 42px;
	border: 1.5px solid var(--ink);
	background: transparent;
	border-radius: 50%;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	color: var(--ink);
	transition: background-color .15s;
}
.slider__btn:hover { background: var(--ink); color: #fff; }

/* ==========================================================================
   9. Сітка карток
   ========================================================================== */

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}

.ticket {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: transform .18s ease, box-shadow .18s ease;
}
.ticket:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lift);
}

.ticket__body { padding: 20px 20px 18px; flex: 1; }

.ticket__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}
.ticket__logo {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	display: grid;
	place-items: center;
	overflow: hidden;
}
.ticket__logo img { width: 34px; height: 34px; object-fit: contain; }
.ticket__logo span {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	color: var(--cobalt);
}
.ticket__store {
	font-family: var(--font-mono);
	font-size: .74rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink-70);
	margin: 0;
}
.ticket__store a { color: inherit; text-decoration: none; }
.ticket__store a:hover { color: var(--cobalt); }
.ticket__expiry {
	font-size: .78rem;
	color: var(--ink-45);
	margin: 2px 0 0;
}
.ticket__expiry.is-soon { color: var(--rust); }

.ticket__flag {
	margin-left: auto;
	align-self: flex-start;
	font-family: var(--font-mono);
	font-size: .65rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 4px 8px;
	border-radius: 4px;
	background: var(--acid);
	color: var(--ink);
}
.ticket__flag--exclusive { background: var(--ink); color: #fff; }

.ticket__value {
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--cobalt);
	margin: 0 0 10px;
}

.ticket__title {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0;
	margin: 0 0 8px;
}
.ticket__title a { color: var(--ink); text-decoration: none; }
.ticket__title a:hover { color: var(--cobalt); }

.ticket__terms {
	font-size: .85rem;
	color: var(--ink-45);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Перфорація */
.ticket__act {
	position: relative;
	padding: 18px 20px 20px;
	border-top: 1.5px dashed var(--line);
}
.ticket__act::before,
.ticket__act::after {
	content: "";
	position: absolute;
	top: -10px;
	width: 18px;
	height: 18px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 50%;
}
.ticket__act::before { left: -10px; }
.ticket__act::after { right: -10px; }

.ticket__uses {
	display: block;
	margin-top: 10px;
	font-family: var(--font-mono);
	font-size: .7rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink-45);
	text-align: center;
}

/* Кнопка «показати код» */
.peel {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	padding: 0;
	border: 1.5px solid var(--ink);
	border-radius: 10px;
	background: var(--ink);
	color: #fff;
	font-family: var(--font-body);
	font-size: .95rem;
	font-weight: 600;
	cursor: pointer;
	overflow: hidden;
	transition: background-color .15s ease;
}
.peel:hover { background: var(--cobalt); border-color: var(--cobalt); }
.peel__label {
	flex: 1;
	padding: 13px 14px;
	text-align: center;
}
.peel__tail {
	align-self: stretch;
	display: flex;
	align-items: center;
	padding: 0 14px;
	background: var(--acid);
	color: var(--ink);
	font-family: var(--font-mono);
	font-size: .9rem;
	font-weight: 600;
	letter-spacing: .05em;
	border-left: 1.5px dashed rgba(16, 17, 20, .35);
}

.peel--deal { background: var(--cobalt); border-color: var(--cobalt); }
.peel--deal:hover { background: var(--cobalt-dark); border-color: var(--cobalt-dark); }
.peel--deal .peel__label { padding: 13px 14px; }

.ticket.is-expired { opacity: .55; }

/* ==========================================================================
   10. Плитки магазинів
   ========================================================================== */

.stores {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}
.store-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 20px 12px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	text-decoration: none;
	color: var(--ink);
	text-align: center;
	transition: border-color .15s ease, transform .15s ease;
}
.store-tile:hover { border-color: var(--cobalt); transform: translateY(-2px); color: var(--ink); }
.store-tile img { width: 48px; height: 48px; object-fit: contain; }
.store-tile__name { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.store-tile__count {
	font-family: var(--font-mono);
	font-size: .7rem;
	letter-spacing: .06em;
	color: var(--ink-45);
	text-transform: uppercase;
}

/* ==========================================================================
   11. Сторінка промокоду / магазину
   ========================================================================== */

.page-head {
	padding: 40px 0 8px;
}
.store-head {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 36px 0 24px;
}
.store-head__logo {
	width: 84px;
	height: 84px;
	flex: 0 0 84px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fff;
	display: grid;
	place-items: center;
	overflow: hidden;
}
.store-head__logo img { width: 62px; height: 62px; object-fit: contain; }
.store-head h1 { margin-bottom: .15em; }
.store-head__meta {
	font-family: var(--font-mono);
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--ink-45);
	margin: 0;
}

.coupon-single {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 28px;
	align-items: start;
	padding-bottom: 40px;
}
.panel {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px;
}
.panel--sticky { position: sticky; top: 96px; }
.panel h2 { font-size: 1.2rem; }

.code-box {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	padding: 16px;
	border: 2px dashed var(--ink);
	border-radius: 12px;
	background: var(--paper);
}
.code-box__value {
	flex: 1;
	font-family: var(--font-mono);
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: .1em;
	word-break: break-all;
}
.copy-btn {
	border: 0;
	background: var(--ink);
	color: #fff;
	border-radius: 8px;
	padding: 10px 16px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: .9rem;
	cursor: pointer;
}
.copy-btn:hover { background: var(--cobalt); }
.copy-btn.is-done { background: var(--mint); }

.facts { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.facts li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	font-size: .92rem;
}
.facts dt, .facts .facts__key { color: var(--ink-45); }
.facts .facts__val { font-weight: 600; text-align: right; }

.notice {
	padding: 14px 16px;
	border-radius: 10px;
	background: #fff6d6;
	border: 1px solid #f0dc8e;
	font-size: .9rem;
	margin-bottom: 20px;
}

/* ==========================================================================
   12. Текстові сторінки
   ========================================================================== */

.prose {
	max-width: 68ch;
	font-size: 1.02rem;
}
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose code {
	font-family: var(--font-mono);
	font-size: .9em;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 4px;
	padding: 1px 5px;
}
.prose blockquote {
	margin: 1.5em 0;
	padding-left: 20px;
	border-left: 3px solid var(--acid);
	color: var(--ink-70);
}

/* ==========================================================================
   13. Модалка коду
   ========================================================================== */

.modal[hidden] { display: none; }
.modal {
	position: fixed;
	inset: 0;
	z-index: 90;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(16, 17, 20, .6);
}
.modal__box {
	position: relative;
	width: 100%;
	max-width: 420px;
	background: #fff;
	border-radius: var(--radius);
	padding: 32px 28px 28px;
	text-align: center;
	animation: kupon-pop .2s ease-out;
}
@keyframes kupon-pop {
	from { transform: translateY(8px) scale(.98); opacity: 0; }
	to { transform: none; opacity: 1; }
}
.modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: none;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	color: var(--ink-45);
	padding: 6px;
}
.modal__close:hover { color: var(--ink); }
.modal__store {
	font-family: var(--font-mono);
	font-size: .75rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink-45);
	margin: 0 0 6px;
}
.modal__title {
	font-family: var(--font-body);
	font-size: 1.05rem;
	font-weight: 600;
	margin: 0 0 20px;
}
.modal__hint { font-size: .85rem; color: var(--ink-45); margin: 14px 0 0; }

/* ==========================================================================
   14. Пагінація, підвал
   ========================================================================== */

.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin: 40px 0 0;
}
.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	color: var(--ink);
	text-decoration: none;
	font-weight: 600;
}
.pagination .page-numbers:hover { border-color: var(--cobalt); color: var(--cobalt); }
.pagination .current { background: var(--ink); border-color: var(--ink); color: #fff; }

.site-footer {
	margin-top: 60px;
	background: var(--ink);
	color: #c9cad0;
	padding: 48px 0 32px;
	font-size: .92rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 32px;
	margin-bottom: 32px;
}
.footer-grid h3 {
	font-family: var(--font-mono);
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #82848f;
	margin-bottom: 14px;
}
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-brand {
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 800;
	color: #fff;
	margin-bottom: 10px;
	display: block;
}
.footer-note {
	max-width: 60ch;
	color: #82848f;
	font-size: .85rem;
	line-height: 1.6;
}
.footer-bottom {
	border-top: 1px solid #2a2c33;
	padding-top: 20px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: .82rem;
	color: #82848f;
}

/* ==========================================================================
   15. Адаптив
   ========================================================================== */

@media (max-width: 980px) {
	.coupon-single { grid-template-columns: 1fr; }
	.panel--sticky { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
	.nav-toggle { display: block; }
	.header-count { display: none; }
	.nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid var(--line);
		padding: 12px 20px 20px;
	}
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; align-items: flex-start; gap: 14px; }
	.site-header__inner { position: relative; gap: 12px; }

	.board { padding: 36px 0 28px; }
	.slide { flex-basis: 88%; min-height: 230px; padding: 22px; }
	.grid { grid-template-columns: 1fr; }
	.stores { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
	.store-head { flex-direction: column; align-items: flex-start; }
	.footer-grid { grid-template-columns: 1fr; }
	.panel { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}
