/* FreshGifts — европейский плиточный минимализм.
   Монохром: графит #1A1A1A / белый #FFFFFF / светло-серый #F5F5F3.
   Один акцент: #56ABCB. Без градиентов и теней. Inter подключён локально.
   Анимации минимальны и отключаются при prefers-reduced-motion. */

/* ===== Inter (локально, latin + cyrillic) ===== */
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
	src: url(../fonts/inter-cyrillic-400-normal.woff2) format('woff2');
	unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
	src: url(../fonts/inter-latin-400-normal.woff2) format('woff2');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
	src: url(../fonts/inter-cyrillic-500-normal.woff2) format('woff2');
	unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
	src: url(../fonts/inter-latin-500-normal.woff2) format('woff2');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
	src: url(../fonts/inter-cyrillic-600-normal.woff2) format('woff2');
	unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
	src: url(../fonts/inter-latin-600-normal.woff2) format('woff2');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
	src: url(../fonts/inter-cyrillic-700-normal.woff2) format('woff2');
	unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
	font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
	src: url(../fonts/inter-latin-700-normal.woff2) format('woff2');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ===== Design tokens ===== */
:root {
	/* palette */
	--fg-ink: #1A1A1A;
	--fg-ink-2: #3A3A3A;
	--fg-white: #FFFFFF;
	--fg-surface: #F5F5F3;
	--fg-line: #E6E6E3;
	--fg-muted: #6B6B6B;
	--fg-accent: #56ABCB;
	--fg-accent-ink: #3C8AA6;
	--fg-accent-soft: rgba(86, 171, 203, .12);
	--fg-accent-ring: rgba(86, 171, 203, .35);
	--fg-ok: #2F8A4E;
	--fg-err: #C0392B;
	--fg-overlay: rgba(26, 26, 26, .5);
	/* shape */
	--fg-radius: 2px;
	--fg-radius-pill: 999px;
	--fg-max: 1280px;
	/* motion */
	--fg-ease: .18s ease;
	--fg-ease-slow: .4s ease;
	/* rhythm */
	--fg-gap: 20px;
	--fg-section: 56px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	color: var(--fg-ink);
	/* Текстура-«паркет» на фоне всех страниц (скроллится со страницей). */
	background-color: var(--fg-white);
	background-image: url(../img/texture.svg);
	background-repeat: repeat;
	background-size: 120px auto;
	line-height: 1.6;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }

a { color: var(--fg-ink); text-decoration: none; transition: color var(--fg-ease); }
a:hover { color: var(--fg-accent-ink); text-decoration: underline; }

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

.fg-container { max-width: var(--fg-max); margin: 0 auto; padding: 0 24px; }
.fg-muted { color: var(--fg-muted); }
.fg-section-title { font-size: 26px; margin: var(--fg-section) 0 24px; font-weight: 600; }

/* ===== Scroll-reveal (минимальная анимация появления) ===== */
.fg-reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; will-change: opacity, transform; }
.fg-reveal.is-in { opacity: 1; transform: none; }

/* ===== Buttons (единый компонент) ===== */
.fg-btn {
	display: inline-block; padding: 13px 26px; border-radius: var(--fg-radius);
	background: var(--fg-ink); color: var(--fg-white); font-weight: 500; font-size: 15px;
	border: 1px solid var(--fg-ink); cursor: pointer;
	transition: background-color var(--fg-ease), color var(--fg-ease), border-color var(--fg-ease);
}
.fg-btn:hover { background: #000; border-color: #000; color: var(--fg-white); text-decoration: none; }
.fg-btn:active { transform: translateY(1px); }
.fg-btn--cta { background: var(--fg-accent); border-color: var(--fg-accent); color: var(--fg-white); }
.fg-btn--cta:hover { background: var(--fg-accent-ink); border-color: var(--fg-accent-ink); color: var(--fg-white); }
.fg-btn--outline { background: var(--fg-white); color: var(--fg-ink); border-color: var(--fg-ink); }
.fg-btn--outline:hover { background: var(--fg-ink); color: var(--fg-white); }

/* ===== Chips (единый компонент: фильтры, теги, hero) ===== */
.fg-chip, .fg-subcats a, .fg-hero__chips li {
	display: inline-block; padding: 8px 16px; border: 1px solid var(--fg-line);
	border-radius: var(--fg-radius-pill); font-size: 14px; color: var(--fg-ink); background: var(--fg-white);
	transition: border-color var(--fg-ease), background-color var(--fg-ease), color var(--fg-ease);
}
.fg-chip:hover, .fg-subcats a:hover { border-color: var(--fg-ink); text-decoration: none; }
.fg-chip.is-active { background: var(--fg-ink); color: var(--fg-white); border-color: var(--fg-ink); }
.fg-subcats a { background: var(--fg-surface); }
.fg-subcats a:hover { background: var(--fg-white); }
.fg-hero__chips li { padding: 6px 14px; font-size: 13px; color: var(--fg-muted); }

/* ===== Header ===== */
.fg-header { border-bottom: 1px solid var(--fg-line); background: var(--fg-white); position: sticky; top: 0; z-index: 50; transition: box-shadow var(--fg-ease); }
.fg-header.is-scrolled { box-shadow: 0 1px 0 var(--fg-line); }
.fg-header__inner { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.fg-logo { font-weight: 700; font-size: 18px; color: var(--fg-ink); letter-spacing: -0.01em; }
.fg-logo:hover { text-decoration: none; }
.fg-logo img { display: block; height: 30px; width: auto; }
.fg-nav { flex: 1; }
.fg-menu { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.fg-menu a { color: var(--fg-ink); font-size: 15px; }
.fg-menu a:hover { color: var(--fg-accent-ink); }
.fg-header__catalog { padding: 10px 20px; border: 1px solid var(--fg-ink); border-radius: var(--fg-radius); color: var(--fg-ink); font-weight: 500; font-size: 15px; transition: background-color var(--fg-ease), color var(--fg-ease); }
.fg-header__catalog:hover { background: var(--fg-ink); color: var(--fg-white); text-decoration: none; }
.fg-header__cta { white-space: nowrap; padding: 11px 20px; }

/* ===== Burger + mobile off-canvas nav ===== */
.fg-burger { display: none; width: 42px; height: 42px; margin-left: -8px; padding: 10px; border: none; background: none; cursor: pointer; }
.fg-burger span { display: block; height: 2px; width: 100%; background: var(--fg-ink); border-radius: 2px; transition: transform var(--fg-ease), opacity var(--fg-ease); }
.fg-burger span + span { margin-top: 5px; }
.fg-burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fg-burger.is-active span:nth-child(2) { opacity: 0; }
.fg-burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.fg-mobile-nav { position: fixed; inset: 0; z-index: 150; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
.fg-mobile-nav.is-open { visibility: visible; opacity: 1; }
.fg-mobile-nav__overlay { position: absolute; inset: 0; background: var(--fg-overlay); }
.fg-mobile-nav__panel { position: absolute; top: 0; right: 0; height: 100%; width: 82%; max-width: 340px; background: var(--fg-white); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
.fg-mobile-nav.is-open .fg-mobile-nav__panel { transform: none; }
.fg-mobile-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--fg-line); }
.fg-mobile-nav__head .fg-logo img { height: 26px; }
.fg-mobile-nav__close { border: none; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--fg-muted); padding: 0 4px; }
.fg-mobile-nav__close:hover { color: var(--fg-ink); }
.fg-mobile-menu { list-style: none; margin: 0; padding: 8px 0; flex: 0 0 auto; }
.fg-mobile-menu li { border-bottom: 1px solid var(--fg-line); }
.fg-mobile-menu a { display: block; padding: 15px 20px; font-size: 16px; color: var(--fg-ink); }
.fg-mobile-menu a:hover { text-decoration: none; color: var(--fg-accent-ink); background: var(--fg-surface); }
.fg-mobile-menu .sub-menu { list-style: none; margin: 0; padding: 0; background: var(--fg-surface); }
.fg-mobile-menu .sub-menu a { padding-left: 36px; font-size: 15px; color: var(--fg-muted); }
.fg-mobile-nav__foot { padding: 20px; border-top: 1px solid var(--fg-line); display: grid; gap: 14px; }
.fg-mobile-nav__foot .fg-btn { width: 100%; text-align: center; }
.fg-mobile-nav__phone { font-weight: 600; font-size: 17px; text-align: center; color: var(--fg-ink); }

/* ===== Breadcrumbs ===== */
.fg-breadcrumbs { font-size: 13px; color: var(--fg-muted); margin: 24px 0; }
.fg-breadcrumbs a { color: var(--fg-muted); }
.fg-breadcrumbs a:hover { color: var(--fg-accent-ink); }
.fg-bc-sep { color: var(--fg-line); margin: 0 6px; }
.fg-bc-current { color: var(--fg-ink); }

/* ===== Hero (B2B landing) ===== */
.fg-hero { background: var(--fg-surface); padding: 72px 0; }
.fg-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.fg-hero__eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--fg-muted); margin-bottom: 14px; font-weight: 600; }
.fg-hero__title { font-size: 42px; margin: 0 0 16px; font-weight: 700; }
.fg-hero__subtitle { color: var(--fg-ink-2); font-size: 18px; max-width: 540px; margin: 0 0 24px; }
.fg-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.fg-hero__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.fg-hero__media { max-width: 600px; }
.fg-hero__media img { width: 100%; height: auto; object-fit: contain; display: block; }
.fg-hero__ph { color: var(--fg-muted); font-size: 14px; padding: 0 20px; text-align: center; }

/* ===== Stats ===== */
.fg-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--fg-line); margin: var(--fg-section) auto; background: var(--fg-white); }
.fg-stat { padding: 28px 20px; text-align: center; border-right: 1px solid var(--fg-line); }
.fg-stat:last-child { border-right: none; }
.fg-stat__num { font-size: 30px; font-weight: 700; }
.fg-stat__label { font-size: 13px; color: var(--fg-muted); margin-top: 4px; }

/* ===== Process ===== */
.fg-process { margin: var(--fg-section) auto; }
.fg-process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--fg-gap); }
.fg-step { border: 1px solid var(--fg-line); padding: 22px; background: var(--fg-white); transition: border-color var(--fg-ease); }
.fg-step:hover { border-color: var(--fg-ink); }
.fg-step__num { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--fg-ink); border-radius: 50%; font-weight: 600; margin-bottom: 14px; }
.fg-step__title { font-size: 16px; margin: 0 0 8px; }
.fg-step__text { font-size: 14px; color: var(--fg-muted); margin: 0; }
.fg-home-cats__more { margin-top: 24px; }

/* ===== Catalog head + bar ===== */
.fg-catalog__title { font-size: 30px; margin: 8px 0 28px; font-weight: 600; }
.fg-catalog__head { margin-bottom: 20px; }
.fg-catalog__subtitle { color: var(--fg-muted); font-size: 15px; margin: 6px 0 0; }
.fg-catalog__bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.fg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fg-sort select { padding: 9px 12px; border: 1px solid var(--fg-line); border-radius: var(--fg-radius); font: inherit; background: var(--fg-white); }
.fg-sort label { font-size: 14px; color: var(--fg-muted); display: flex; gap: 8px; align-items: center; }

/* ===== Product grid + card (единая карточка) ===== */
.fg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--fg-gap); }
.fg-card { border: 1px solid var(--fg-line); overflow: hidden; background: var(--fg-white); transition: border-color var(--fg-ease); }
.fg-card:hover { border-color: var(--fg-ink); }
.fg-card:hover .fg-card__title { color: var(--fg-accent-ink); }
.fg-card__link:hover { text-decoration: none; }
.fg-card__img { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--fg-surface); }
.fg-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--fg-ease-slow); }
.fg-card:hover .fg-card__img img { transform: scale(1.04); }
.fg-card__badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; font-size: 12px; font-weight: 500; background: var(--fg-ink); color: var(--fg-white); }
.fg-badge--eco { background: var(--fg-ok); }
.fg-badge--hit { background: var(--fg-accent-ink); }
.fg-card__title { font-size: 14px; font-weight: 400; margin: 14px 16px 6px; color: var(--fg-ink); line-height: 1.45; transition: color var(--fg-ease); }
.fg-card__sku { font-size: 12px; color: var(--fg-muted); margin: 0 16px 6px; }
.fg-card__price { font-size: 16px; font-weight: 600; margin: 0 16px 16px; color: var(--fg-ink); }

/* ===== Category tiles ===== */
.fg-subcats { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.fg-cat-tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--fg-gap); }
.fg-cat-tile a { display: block; border: 1px solid var(--fg-line); overflow: hidden; background: var(--fg-white); transition: border-color var(--fg-ease); }
.fg-cat-tile a:hover { border-color: var(--fg-ink); text-decoration: none; }
.fg-cat-tile__img { display: block; aspect-ratio: 4/3; background: var(--fg-surface); overflow: hidden; }
.fg-cat-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--fg-ease-slow); }
.fg-cat-tile a:hover .fg-cat-tile__img img { transform: scale(1.04); }
.fg-cat-tile__name { display: block; padding: 14px; text-align: center; font-weight: 500; font-size: 15px; color: var(--fg-ink); transition: color var(--fg-ease); }
.fg-cat-tile a:hover .fg-cat-tile__name { color: var(--fg-accent-ink); }

/* ===== Pagination ===== */
.fg-pagination { display: flex; gap: 6px; flex-wrap: wrap; margin: 44px 0; }
.fg-page { min-width: 40px; text-align: center; padding: 9px 12px; border: 1px solid var(--fg-line); border-radius: var(--fg-radius); color: var(--fg-ink); background: var(--fg-white); transition: border-color var(--fg-ease); }
.fg-page:hover { border-color: var(--fg-ink); text-decoration: none; }
.fg-page.is-active { background: var(--fg-accent); color: var(--fg-white); border-color: var(--fg-accent); }
.fg-page--nav { font-weight: 500; }
.fg-page-gap { min-width: 24px; text-align: center; color: var(--fg-muted); align-self: center; }

/* ===== Product page ===== */
.fg-product__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.fg-product__title { font-size: 28px; margin: 0 0 12px; font-weight: 600; }
.fg-product__meta { color: var(--fg-muted); font-size: 14px; margin-bottom: 12px; }
.fg-product__price-box { border-top: 1px solid var(--fg-line); border-bottom: 1px solid var(--fg-line); padding: 16px 0; margin: 16px 0; }
.fg-product__price { font-size: 24px; font-weight: 600; color: var(--fg-ink); }
.fg-product__price-qty { font-size: 14px; font-weight: 400; color: var(--fg-muted); margin-left: 6px; }
.fg-product__price-note { font-size: 13px; color: var(--fg-muted); margin: 8px 0 0; }
.fg-product__excerpt { font-size: 15px; color: var(--fg-ink-2); margin: 16px 0; }
.fg-product__description { margin-top: 56px; border-top: 1px solid var(--fg-line); padding-top: 36px; }
.fg-product__description h2 { font-size: 22px; }

/* ===== Attribute chips (product) ===== */
.fg-attr-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 14px; }
.fg-attr-chips li { padding: 5px 12px; background: var(--fg-surface); border: 1px solid var(--fg-line); font-size: 13px; color: var(--fg-muted); }

/* ===== Gallery (main + thumbs) ===== */
.fg-gallery__main { position: relative; border: 1px solid var(--fg-line); background: var(--fg-surface); aspect-ratio: 1/1; overflow: hidden; cursor: zoom-in; }
.fg-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.fg-gallery__zoom { position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; display: grid; place-items: center; background: var(--fg-white); border: 1px solid var(--fg-line); color: var(--fg-ink); font-size: 16px; pointer-events: none; }
.fg-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fg-thumb { width: 64px; height: 64px; padding: 0; border: 1px solid var(--fg-line); background: var(--fg-surface); cursor: pointer; overflow: hidden; transition: border-color var(--fg-ease); }
.fg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fg-thumb.is-active { border-color: var(--fg-ink); }
.fg-thumb:hover { border-color: var(--fg-accent); }
.fg-gallery--empty { aspect-ratio: 1/1; display: grid; place-items: center; color: var(--fg-muted); background: var(--fg-surface); }

/* ===== Price table ===== */
.fg-price-table { margin: 20px 0; }
.fg-price-table h3 { font-size: 16px; margin: 0 0 10px; font-weight: 600; }
.fg-price-table__label { font-weight: 500; margin-bottom: 10px; }
.fg-price-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.fg-price-table th, .fg-price-table td { border: 1px solid var(--fg-line); padding: 8px 6px; text-align: center; }
.fg-price-table td { background: var(--fg-white); }
.fg-price-table th { background: var(--fg-surface); font-weight: 500; }
.fg-price-table tr td:first-child, .fg-price-table tr th:first-child { text-align: left; white-space: nowrap; }
.fg-price-table th.is-best, .fg-price-table td.is-best { background: var(--fg-accent-soft); color: var(--fg-accent-ink); font-weight: 700; }
.fg-price-table__note { font-size: 12px; color: var(--fg-muted); margin: 8px 0 0; }

/* ===== Tabs ===== */
.fg-tabs { margin: var(--fg-section) 0; }
.fg-tabs__nav { display: flex; gap: 8px; border-bottom: 1px solid var(--fg-line); margin-bottom: 20px; flex-wrap: wrap; }
.fg-tab { padding: 11px 18px; border: 1px solid var(--fg-line); border-bottom: none; background: var(--fg-white); cursor: pointer; font: inherit; color: var(--fg-muted); border-radius: var(--fg-radius) var(--fg-radius) 0 0; transition: background-color var(--fg-ease), color var(--fg-ease); }
.fg-tab:hover { color: var(--fg-ink); }
.fg-tab.is-active { background: var(--fg-ink); color: var(--fg-white); }
.fg-tab-panel { display: none; font-size: 15px; animation: fg-fade .25s ease; }
.fg-tab-panel.is-active { display: block; }
.fg-spec-table { width: 100%; border-collapse: collapse; }
.fg-spec-table th, .fg-spec-table td { border: 1px solid var(--fg-line); padding: 10px 14px; text-align: left; font-size: 14px; }
.fg-spec-table td { background: var(--fg-white); }
.fg-spec-table th { background: var(--fg-surface); width: 32%; font-weight: 500; }

/* ===== Tags ===== */
.fg-product__tags { margin-top: 20px; font-size: 14px; color: var(--fg-muted); }
.fg-product__tags-label { font-weight: 500; color: var(--fg-ink); margin-right: 4px; }
.fg-product__tags a { color: var(--fg-accent-ink); }

/* ===== Variants + Related ===== */
.fg-variants, .fg-related { margin-top: var(--fg-section); border-top: 1px solid var(--fg-line); padding-top: 28px; }
.fg-variants h2, .fg-related h2 { font-size: 20px; margin: 0 0 18px; }
.fg-variants__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 14px; }
.fg-variant { display: block; border: 1px solid var(--fg-line); overflow: hidden; background: var(--fg-white); transition: border-color var(--fg-ease); }
.fg-variant:hover { border-color: var(--fg-ink); text-decoration: none; }
.fg-variant img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--fg-surface); transition: transform var(--fg-ease-slow); }
.fg-variant:hover img { transform: scale(1.04); }
.fg-variant__sku { display: block; padding: 6px 8px; font-size: 12px; color: var(--fg-muted); text-align: center; }

/* ===== Order form ===== */
.fg-order-form { display: grid; gap: 16px; margin-top: 24px; padding: 28px; border: 1px solid var(--fg-line); border-radius: var(--fg-radius); background: var(--fg-surface); }
.fg-order-form__title { font-size: 18px; margin: 0; font-weight: 600; }
.fg-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg-field { display: grid; gap: 6px; font-size: 14px; }
.fg-field > span { color: var(--fg-ink); font-weight: 500; }
.fg-field em { color: var(--fg-accent-ink); font-style: normal; }
.fg-field small { color: var(--fg-muted); font-weight: 400; }
.fg-field input, .fg-field select, .fg-field textarea { padding: 12px 13px; border: 1px solid var(--fg-line); border-radius: var(--fg-radius); font: inherit; width: 100%; background: var(--fg-white); color: var(--fg-ink); transition: border-color var(--fg-ease); }
.fg-field input:focus, .fg-field select:focus, .fg-field textarea:focus { border-color: var(--fg-accent); outline: 2px solid var(--fg-accent-ring); outline-offset: 0; }
.fg-hp { position: absolute; left: -9999px; }

/* ===== Alerts ===== */
.fg-alert { padding: 13px 16px; border-radius: var(--fg-radius); margin: 16px 0; font-size: 14px; background: var(--fg-surface); border-left: 3px solid var(--fg-line); }
.fg-alert--ok { border-left-color: var(--fg-ok); }
.fg-alert--err { border-left-color: var(--fg-err); }

/* ===== Catalogs page ===== */
.fg-catalogs__head { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; margin-bottom: 28px; }
.fg-catalogs__lead { color: var(--fg-muted); font-size: 15px; margin: 8px 0 0; }
.fg-catalogs__info { list-style: none; padding: 18px 20px; margin: 0; background: var(--fg-surface); border: 1px solid var(--fg-line); }
.fg-catalogs__info li { font-size: 14px; color: var(--fg-muted); padding: 5px 0; }
.fg-filters { display: grid; gap: 12px; padding: 18px 20px; border: 1px solid var(--fg-line); margin-bottom: 28px; }
.fg-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fg-filter-label { font-size: 14px; color: var(--fg-muted); width: 60px; }
.fg-catalogs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fg-catalog-card { border: 1px solid var(--fg-line); display: flex; flex-direction: column; background: var(--fg-white); transition: border-color var(--fg-ease); }
.fg-catalog-card:hover { border-color: var(--fg-ink); }
.fg-catalog-card__cover { aspect-ratio: 3/4; background: var(--fg-surface); overflow: hidden; }
.fg-catalog-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--fg-ease-slow); }
.fg-catalog-card:hover .fg-catalog-card__cover img { transform: scale(1.04); }
.fg-catalog-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fg-catalog-card__title { font-size: 17px; margin: 0; }
.fg-catalog-card__desc { font-size: 14px; color: var(--fg-muted); margin: 0; flex: 1; }
.fg-catalog-card__btn { align-self: flex-start; margin-top: 8px; }

/* ===== Contacts page ===== */
.fg-contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; max-width: 980px; margin: 0 auto; }
.fg-contacts__intro { font-size: 16px; margin-bottom: 24px; }
.fg-contacts__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.fg-contacts__list li { display: grid; gap: 2px; }
.fg-contacts__label { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--fg-muted); }
.fg-contacts__list a, .fg-contacts__list span:not(.fg-contacts__label) { font-size: 16px; color: var(--fg-ink); }
.fg-contacts__list a { font-weight: 500; }
.fg-contacts__social { display: flex; gap: 16px; }
.fg-contacts__social a { color: var(--fg-accent-ink); }
.fg-contacts__form { border: 1px solid var(--fg-line); padding: 28px; background: var(--fg-surface); }
.fg-contacts__form h2 { font-size: 22px; margin: 0 0 6px; }
.fg-contacts__form .fg-order-form { margin-top: 18px; padding: 0; border: none; background: none; }
@media (max-width: 860px) { .fg-contacts__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ===== CTA block ===== */
.fg-cta-block { text-align: center; padding: 48px 24px; background: var(--fg-surface); margin: var(--fg-section) 0; }
.fg-cta-block h2 { font-size: 26px; margin: 0 0 8px; }
.fg-cta-block p { color: var(--fg-muted); margin: 0 0 22px; }

/* ===== Article (страницы / пост) — читаемая типографика ===== */
.fg-article { max-width: 820px; margin: 0 auto; }
.fg-article__head { margin: 0 0 32px; }
.fg-article__head .fg-breadcrumbs { margin: 24px 0 18px; }
.fg-article__title { font-size: 36px; line-height: 1.2; margin: 0; font-weight: 700; }
.fg-article__meta { color: var(--fg-muted); font-size: 14px; margin-top: 12px; }
.fg-article__thumb { margin: 0 0 32px; }
.fg-article__thumb img { width: 100%; border: 1px solid var(--fg-line); }

.fg-prose { font-size: 17px; line-height: 1.7; color: var(--fg-ink-2); }
.fg-prose > *:first-child { margin-top: 0; }
.fg-prose p { margin: 0 0 1.2em; }
.fg-prose h2 { font-size: 26px; line-height: 1.3; margin: 1.8em 0 .6em; color: var(--fg-ink); }
.fg-prose h3 { font-size: 21px; line-height: 1.35; margin: 1.6em 0 .5em; color: var(--fg-ink); }
.fg-prose h4 { font-size: 18px; margin: 1.4em 0 .5em; color: var(--fg-ink); }
.fg-prose a { color: var(--fg-accent-ink); text-decoration: underline; }
.fg-prose ul, .fg-prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.fg-prose li { margin: 0 0 .4em; }
.fg-prose img { border: 1px solid var(--fg-line); margin: 1.5em 0; }
.fg-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--fg-accent); color: var(--fg-ink); font-size: 18px; }
.fg-prose strong, .fg-prose b { color: var(--fg-ink); }
.fg-prose hr { border: none; border-top: 1px solid var(--fg-line); margin: 2em 0; }
.fg-prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; }
.fg-prose th, .fg-prose td { border: 1px solid var(--fg-line); padding: 10px 14px; text-align: left; }
.fg-prose th { background: var(--fg-surface); }
.fg-prose figure { margin: 1.5em 0; }
.fg-prose figcaption { font-size: 13px; color: var(--fg-muted); margin-top: 8px; text-align: center; }

/* ===== WP native pagination (блог) ===== */
.fg-pagination-wrap { margin: 44px 0; }
.fg-pagination-wrap .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.fg-pagination-wrap .page-numbers { min-width: 40px; text-align: center; padding: 9px 12px; border: 1px solid var(--fg-line); border-radius: var(--fg-radius); color: var(--fg-ink); text-decoration: none; transition: border-color var(--fg-ease); }
.fg-pagination-wrap .page-numbers:hover { border-color: var(--fg-ink); }
.fg-pagination-wrap .page-numbers.current { background: var(--fg-accent); color: var(--fg-white); border-color: var(--fg-accent); }
.fg-pagination-wrap .page-numbers.dots { border: none; }

/* ===== Cases (кейси) ===== */
.fg-cases { padding-bottom: 8px; }
.fg-cases__intro { max-width: 720px; margin: 8px 0 32px; font-size: 16px; }
.fg-cases .fg-posts { margin-top: 8px; }
.fg-case-back { margin: 32px 0 0; }
.fg-case-back a { color: var(--fg-accent-ink); font-weight: 500; }

/* ===== Pages / blog (legacy) ===== */
.fg-entry__title { font-size: 32px; margin: 8px 0 24px; font-weight: 700; }
.fg-entry__content { font-size: 17px; }
.fg-entry__content img { margin: 20px 0; }
.fg-entry__content a { color: var(--fg-accent-ink); text-decoration: underline; }
.fg-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.fg-post-card { border: 1px solid var(--fg-line); overflow: hidden; background: var(--fg-white); transition: border-color var(--fg-ease); }
.fg-post-card:hover { border-color: var(--fg-ink); }
.fg-post-card__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--fg-surface); }
.fg-post-card__title { font-size: 17px; margin: 14px 16px 8px; font-weight: 500; }
.fg-post-card__excerpt { margin: 0 16px 16px; color: var(--fg-muted); font-size: 14px; }
.fg-empty { color: var(--fg-muted); padding: 48px 0; }

/* ===== Modal (с fade) ===== */
.fg-modal { position: fixed; inset: 0; z-index: 200; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.fg-modal.is-open { opacity: 1; visibility: visible; }
.fg-modal__overlay { position: absolute; inset: 0; background: var(--fg-overlay); }
.fg-modal__dialog { position: relative; max-width: 440px; margin: 8vh auto 0; background: var(--fg-white); border: 1px solid var(--fg-line); padding: 28px; max-height: 84vh; overflow: auto; transform: translateY(10px); transition: transform .2s ease; }
.fg-modal.is-open .fg-modal__dialog { transform: none; }
.fg-modal__close { position: absolute; top: 10px; right: 12px; border: none; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--fg-muted); transition: color var(--fg-ease); }
.fg-modal__close:hover { color: var(--fg-ink); }
.fg-modal__title { font-size: 22px; margin: 0 0 6px; }
.fg-modal__lead { color: var(--fg-muted); font-size: 14px; margin: 0 0 16px; }
.fg-order-form--modal { margin-top: 0; padding: 0; border: none; background: none; }

/* ===== Toast ===== */
.fg-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; transition: opacity .25s ease, transform .25s ease; z-index: 210; padding: 13px 20px; font-size: 14px; background: var(--fg-ink); color: var(--fg-white); border-radius: var(--fg-radius); max-width: 90vw; }
.fg-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.fg-toast--err { background: var(--fg-err); }

/* ===== Footer (3 колонки) ===== */
.fg-footer { border-top: 1px solid var(--fg-line); margin-top: 80px; background: var(--fg-surface); }
.fg-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 48px 24px; }
.fg-footer__logo img { height: 30px; width: auto; margin-bottom: 14px; }
.fg-footer__desc { color: var(--fg-muted); font-size: 14px; margin: 0 0 14px; max-width: 340px; }
.fg-footer__contact a { color: var(--fg-ink); font-weight: 500; }
.fg-footer__contact a:hover { color: var(--fg-accent-ink); }
.fg-footer__title { font-size: 14px; font-weight: 600; margin: 0 0 14px; text-transform: uppercase; letter-spacing: .04em; }
.fg-footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fg-footer-menu a { color: var(--fg-muted); font-size: 14px; }
.fg-footer-menu a:hover { color: var(--fg-accent-ink); }
.fg-footer__address { font-style: normal; color: var(--fg-muted); font-size: 14px; margin: 0 0 14px; }

/* ===== Social icons (footer + contacts) ===== */
.fg-social { display: flex; flex-wrap: wrap; gap: 10px; }
.fg-social__link { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--fg-line); border-radius: 50%; color: var(--fg-ink); background: var(--fg-white); transition: color var(--fg-ease), border-color var(--fg-ease), background-color var(--fg-ease); }
.fg-social__link:hover { color: var(--fg-white); background: var(--fg-accent); border-color: var(--fg-accent); text-decoration: none; }
.fg-social__link svg { display: block; }
.fg-footer__bottom { border-top: 1px solid var(--fg-line); }
.fg-footer__bottom-inner { max-width: var(--fg-max); margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fg-footer__copy { color: var(--fg-muted); font-size: 13px; }
.fg-footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.fg-footer__legal a { color: var(--fg-muted); font-size: 13px; }
.fg-footer__legal a:hover { color: var(--fg-accent-ink); }

/* ===== 404 ===== */
.fg-404 { text-align: center; padding: 96px 0; }
.fg-404 h1 { font-size: 28px; font-weight: 600; }

/* ===== Верхня інфо-смуга (top bar) ===== */
.fg-topbar { font-size: 13px; line-height: 1.4; }
.fg-topbar__inner { padding: 8px 24px; text-align: center; }

/* ===== Пошук (шапка / мобайл / сайдбар) ===== */
.fg-search { position: relative; display: flex; align-items: center; }
.fg-search__input { width: 100%; padding: 10px 42px 10px 15px; border: 1px solid var(--fg-line); border-radius: var(--fg-radius-pill); font: inherit; font-size: 14px; background: var(--fg-white); color: var(--fg-ink); transition: border-color var(--fg-ease); }
.fg-search__input:focus { border-color: var(--fg-accent); outline: 2px solid var(--fg-accent-ring); outline-offset: 0; }
.fg-search__submit { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; border: none; background: none; color: var(--fg-muted); cursor: pointer; transition: color var(--fg-ease); }
.fg-search__submit:hover { color: var(--fg-accent-ink); }
.fg-search--header { width: 280px; flex: none; }
.fg-search--mobile, .fg-search--sidebar { width: 100%; }
.fg-search--sidebar-wrap { margin-bottom: 16px; }

/* ===== Розкладка розділу «Товари» (сайдбар + контент) ===== */
.fg-shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.fg-shop-main { min-width: 0; }
.fg-shop-sidebar__toggle { display: none; width: 100%; padding: 12px 16px; border: 1px solid var(--fg-line); background: var(--fg-white); font: inherit; font-weight: 500; text-align: left; cursor: pointer; border-radius: var(--fg-radius); }
.fg-shop-sidebar__body { background: var(--fg-white); border: 1px solid var(--fg-line); padding: 6px 16px; }

/* ===== Меню-аккордеон категорій ===== */
.fg-catmenu, .fg-catmenu__sub { list-style: none; margin: 0; padding: 0; }
.fg-catmenu__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--fg-line); }
.fg-catmenu__link { flex: 1; display: block; padding: 11px 2px 11px 0; font-size: 15px; color: var(--fg-ink); }
.fg-catmenu__link:hover { color: var(--fg-accent-ink); text-decoration: none; }
.fg-catmenu__item.is-active > .fg-catmenu__row > .fg-catmenu__link { color: var(--fg-accent-ink); font-weight: 600; }
.fg-catmenu__toggle { width: 32px; height: 32px; flex: none; border: none; background: none; cursor: pointer; position: relative; color: var(--fg-muted); }
.fg-catmenu__toggle:hover { color: var(--fg-ink); }
.fg-catmenu__toggle span { position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.fg-catmenu__toggle span::after { content: ''; position: absolute; inset: 0; background: currentColor; transform: rotate(90deg); transition: opacity var(--fg-ease); }
.fg-catmenu__item.is-open > .fg-catmenu__row > .fg-catmenu__toggle span::after { opacity: 0; }
.fg-catmenu__sub { display: none; padding-left: 14px; }
.fg-catmenu__item.is-open > .fg-catmenu__sub { display: block; }

/* ===== Категорії на головній (сітка карток-аккордеонів) ===== */
.fg-cat-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--fg-gap); align-items: start; }
.fg-cat-card { border: 1px solid var(--fg-line); background: var(--fg-white); transition: border-color var(--fg-ease), box-shadow var(--fg-ease); }
.fg-cat-card:hover { border-color: var(--fg-ink); }
.fg-cat-card.is-open { border-color: var(--fg-ink); }
.fg-cat-card__head { display: flex; align-items: stretch; }
.fg-cat-card__title { flex: 1; display: flex; align-items: center; padding: 16px 18px; font-size: 16px; font-weight: 500; color: var(--fg-ink); transition: color var(--fg-ease); }
.fg-cat-card__title:hover { color: var(--fg-accent-ink); text-decoration: none; }
.fg-cat-card__toggle { flex: none; width: 52px; border: none; border-left: 1px solid var(--fg-line); background: none; cursor: pointer; color: var(--fg-muted); display: grid; place-items: center; transition: color var(--fg-ease), background-color var(--fg-ease); }
.fg-cat-card__toggle:hover { color: var(--fg-ink); background: var(--fg-surface); }
.fg-cat-card__toggle svg { transition: transform var(--fg-ease); }
.fg-cat-card.is-open .fg-cat-card__toggle svg { transform: rotate(180deg); }
.fg-cat-card.is-open .fg-cat-card__toggle { color: var(--fg-accent-ink); }
/* Плавне розкриття панелі підкатегорій (grid-rows 0fr → 1fr) */
.fg-cat-card__panelwrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s ease; }
.fg-cat-card.is-open .fg-cat-card__panelwrap { grid-template-rows: 1fr; }
.fg-cat-card__panel { overflow: hidden; }
.fg-cat-card__list { list-style: none; margin: 0; padding: 4px 0 10px; border-top: 1px solid var(--fg-line); }
.fg-cat-card__list li a { display: block; padding: 9px 18px; font-size: 14px; color: var(--fg-muted); transition: color var(--fg-ease), background-color var(--fg-ease); }
.fg-cat-card__list li a:hover { color: var(--fg-accent-ink); background: var(--fg-surface); text-decoration: none; }

/* ===== Модалка перегляду каталогу (флипбук) ===== */
.fg-catalog-modal { position: fixed; inset: 0; z-index: 220; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.fg-catalog-modal.is-open { opacity: 1; visibility: visible; }
.fg-catalog-modal__overlay { position: absolute; inset: 0; background: rgba(26, 26, 26, .7); }
.fg-catalog-modal__dialog { position: relative; width: 92vw; max-width: 1100px; height: 90vh; margin: 5vh auto 0; background: var(--fg-white); display: flex; flex-direction: column; overflow: hidden; }
.fg-catalog-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--fg-line); }
.fg-catalog-modal__title { font-size: 16px; margin: 0; font-weight: 600; }
.fg-catalog-modal__close { border: none; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--fg-muted); transition: color var(--fg-ease); }
.fg-catalog-modal__close:hover { color: var(--fg-ink); }
.fg-catalog-modal__frame { flex: 1; background: var(--fg-surface); }
.fg-catalog-modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ===== Мега-меню категорій у шапці (пункт «Товари») ===== */
.fg-menu__item--mega { position: relative; }
.fg-menu > .fg-menu__item--mega > a::after {
	content: ''; display: inline-block; margin-left: 7px; vertical-align: middle;
	border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--fg-muted);
}
.fg-mega {
	position: absolute; top: 100%; left: 0; z-index: 60;
	margin: 0; padding: 6px 0; list-style: none;
	background: var(--fg-white); border: 1px solid var(--fg-line); box-shadow: 0 10px 28px rgba(26, 26, 26, .10);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity var(--fg-ease), transform var(--fg-ease), visibility var(--fg-ease);
}
.fg-menu__item--mega:hover > .fg-mega, .fg-menu__item--mega:focus-within > .fg-mega { opacity: 1; visibility: visible; transform: none; }
.fg-mega__item { position: relative; }
.fg-mega__link { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 8px 18px; font-size: 14px; color: var(--fg-ink); white-space: nowrap; }
.fg-mega__link:hover { background: var(--fg-surface); color: var(--fg-accent-ink); text-decoration: none; }
.fg-mega__arrow { color: var(--fg-muted); font-size: 14px; line-height: 1; }
.fg-mega__sub {
	position: absolute; top: -7px; left: 100%;
	margin: 0; padding: 6px 0; list-style: none;
	background: var(--fg-white); border: 1px solid var(--fg-line); box-shadow: 0 10px 28px rgba(26, 26, 26, .10);
	opacity: 0; visibility: hidden; transform: translateX(6px);
	transition: opacity var(--fg-ease), transform var(--fg-ease), visibility var(--fg-ease);
}
.fg-mega__item.has-children:hover > .fg-mega__sub, .fg-mega__item.has-children:focus-within > .fg-mega__sub { opacity: 1; visibility: visible; transform: none; }
.fg-mega__sub a { display: block; padding: 8px 18px; font-size: 14px; color: var(--fg-muted); white-space: nowrap; }
.fg-mega__sub a:hover { background: var(--fg-surface); color: var(--fg-accent-ink); text-decoration: none; }

/* ===== Категорії в бургер-меню (мобайл) ===== */
.fg-mobile-cats { padding: 4px 20px 16px; border-top: 1px solid var(--fg-line); }
.fg-mobile-cats__title { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--fg-muted); margin: 14px 0 2px; }

/* ===== Доступні кольори — компактний варіант (під фото товару) ===== */
.fg-variants--compact { margin-top: 20px; padding-top: 18px; }
.fg-variants--compact h2 { font-size: 15px; margin-bottom: 12px; }
.fg-variants--compact .fg-variants__grid { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; }
.fg-variants--compact .fg-variant__sku { font-size: 11px; padding: 4px; }

/* ===== Keyframes ===== */
@keyframes fg-fade { from { opacity: 0; } to { opacity: 1; } }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
	.fg-header__inner { gap: 20px; }
	.fg-menu { gap: 20px; }
	.fg-search--header { width: 210px; }
}
@media (max-width: 860px) {
	.fg-nav { display: none; }
	.fg-header__cta { display: none; }
	.fg-search--header { display: none; }
	.fg-burger { display: block; }
	.fg-header__inner { justify-content: space-between; gap: 12px; }
	.fg-shop-layout { grid-template-columns: 1fr; gap: 20px; }
	.fg-shop-sidebar__toggle { display: block; }
	.fg-shop-sidebar__body { display: none; margin-top: 12px; }
	.fg-shop-sidebar.is-open .fg-shop-sidebar__body { display: block; }
	.fg-catalog-modal__dialog { width: 100vw; height: 100vh; margin: 0; }
	.fg-cat-cards { grid-template-columns: repeat(2, 1fr); }
	.fg-hero { padding: 48px 0; }
	.fg-hero__grid { grid-template-columns: 1fr; gap: 28px; }
	.fg-hero__title { font-size: 30px; }
	.fg-product__grid { grid-template-columns: 1fr; gap: 32px; }
	.fg-grid, .fg-cat-tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
	.fg-stats { grid-template-columns: repeat(2, 1fr); }
	.fg-stat:nth-child(2) { border-right: none; }
	.fg-stat { border-bottom: 1px solid var(--fg-line); }
	.fg-process__grid { grid-template-columns: repeat(2, 1fr); }
	.fg-catalogs__grid { grid-template-columns: repeat(2, 1fr); }
	.fg-catalogs__head { grid-template-columns: 1fr; }
	.fg-catalog__bar { flex-direction: column; }
	.fg-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
	.fg-footer__col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.fg-container { padding: 0 16px; }
	.fg-grid, .fg-cat-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.fg-header__inner { gap: 12px; }
	.fg-logo img { height: 26px; }
	.fg-header__cta { padding: 9px 14px; font-size: 13px; }
	.fg-footer__grid { grid-template-columns: 1fr; gap: 24px; }
	.fg-price-table { overflow-x: auto; }
	.fg-process__grid, .fg-catalogs__grid { grid-template-columns: 1fr; }
	.fg-cat-cards { grid-template-columns: 1fr; }
	.fg-field-row { grid-template-columns: 1fr; }
	.fg-hero__title { font-size: 26px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
	* { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.fg-reveal { opacity: 1 !important; transform: none !important; }
}
