@charset "UTF-8";
/* ==========================================================================
   VoinGear. Один шрифт (Onest), графит + одна жёлтая метка, фотография
   держит первый экран. Радиусы 2 px: снаряжение состоит из углов и строп.
   Точки перелома: 1200 / 1024 / 860 / 768 / 560 / 390.
   ========================================================================== */

@font-face {
	font-family: 'Onest';
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url('../fonts/onest-cyrillic.woff2') format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Onest';
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url('../fonts/onest-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

:root {
	--ink: #12161A;
	--ink-2: #1A1F25;
	--ink-3: #262C33;
	--accent: #F5B301;
	--accent-dk: #D99E00;
	--accent-ink: #1A1400;
	--sale: #D6382C;
	--ok: #3F8C3A;
	--paper: #FFFFFF;
	--paper-2: #F4F5F4;
	--paper-3: #E9EBEA;
	--text: #15181C;
	--mute: #5C636C;
	--mute-2: #8A929B;
	--line: #DCE0E3;
	--line-dk: rgba(255, 255, 255, .1);

	--r: 2px;
	--r-lg: 4px;
	--wrap: 1560px;
	--col: 16;
	--gut: 24px;
	--head-h: 80px;

	--font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

	--ease: cubic-bezier(.16, 1, .3, 1);
	--t: .22s;
	--sh: 0 1px 2px rgba(18, 22, 26, .06), 0 8px 24px rgba(18, 22, 26, .08);
	--sh-2: 0 24px 60px rgba(10, 12, 15, .32);

	--z-drop: 40;
	--z-sticky: 60;
	--z-panel: 200;
	--z-modal: 300;
	--z-toast: 400;
}

/* --- База ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Системная настройка «уменьшить движение» раньше глушила вообще всё, включая
   плавность наведения и прокрутки, — сайт становился деревянным. Теперь
   убираем только то, что действительно мешает: разъезжающиеся блоки при
   прокрутке и параллакс. Наведение, цвет и сама прокрутка остаются мягкими. */
@media (prefers-reduced-motion: reduce) {
	html.vg-js [data-vg-reveal] > * { opacity: 1 !important; transform: none !important; animation: none !important; }
	.vg-hero__media, .vg-topo, .vg-parallax { animation: none !important; transform: none !important; }
}
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	touch-action: manipulation;
}
body.vg-locked { overflow: hidden; }
img, svg, video, picture { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t) var(--ease); }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; }

.vg-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.vg-skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--accent); color: var(--accent-ink); padding: 12px 20px; font-weight: 600; }
.vg-skip:focus { left: 8px; }
.vg-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.vg-main { min-height: 40vh; }
.vg-ico { width: 20px; height: 20px; flex: none; }
.vg-photo { display: block; width: 100%; height: 100%; }
.vg-photo img { width: 100%; height: 100%; object-fit: cover; }

/* --- Кнопки и ссылки ----------------------------------------------------- */
.vg-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 22px;
	font-size: 15px; font-weight: 600; letter-spacing: -.005em; line-height: 1;
	border-radius: var(--r); border: 1px solid transparent;
	transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
	white-space: nowrap; text-align: center;
}
.vg-btn:active { transform: scale(.97); }
.vg-btn--amber { background: var(--accent); color: var(--accent-ink); }
.vg-btn--amber:hover { background: var(--accent-dk); color: var(--accent-ink); }
.vg-btn--ink { background: var(--ink); color: #fff; }
.vg-btn--ink:hover { background: var(--ink-3); color: #fff; }
/* Второе по важности действие: заметная рамка, но без заливки. */
.vg-btn--outline { background: transparent; color: var(--text); border-color: var(--ink); border-width: 1.5px; font-weight: 600; }
.vg-btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.vg-btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.vg-btn--ghost:hover { border-color: var(--text); color: var(--text); }
.vg-btn--glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vg-btn--glass:hover { background: rgba(255, 255, 255, .2); color: #fff; border-color: rgba(255, 255, 255, .5); }
.vg-btn--wide { width: 100%; }
.vg-btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.vg-btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.vg-btn[disabled], .vg-btn.is-busy { opacity: .6; pointer-events: none; }
.vg-btn.is-done { background: var(--ok); color: #fff; }
.vg-btn--tg { background: #2AABEE; color: #fff; }
.vg-btn--vk { background: #0077FF; color: #fff; }
.vg-btn--max { background: #6E4BF5; color: #fff; }
.vg-btn--tg:hover, .vg-btn--vk:hover, .vg-btn--max:hover { color: #fff; filter: brightness(.92); }

.vg-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--text); }
.vg-link .vg-ico { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.vg-link:hover { color: var(--accent-dk); }
.vg-link:hover .vg-ico { transform: translateX(4px); }
.vg-link--light { color: #fff; }
.vg-link--light:hover { color: var(--accent); }

/* --- Шапка --------------------------------------------------------------- */
.vg-header {
	position: sticky; top: 0; z-index: var(--z-sticky);
	background: var(--ink); color: #fff;
	transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.vg-header--over { position: fixed; left: 0; right: 0; background: transparent; }
.vg-header--over::before {
	content: ''; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(10, 12, 15, .6), rgba(10, 12, 15, 0));
	opacity: 1; transition: opacity .3s var(--ease);
}
.vg-header--over.is-solid { background: rgba(18, 22, 26, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-dk); }
.vg-header--over.is-solid::before { opacity: 0; }
.vg-header__in { display: flex; align-items: center; gap: 18px; min-height: var(--head-h); }
/* Поиск занимает всё свободное место, поэтому шапка тянется по краям секции. */
.vg-header .vg-search { max-width: none; }
.vg-header__burger { display: none; color: #fff; width: 44px; height: 44px; place-items: center; margin-left: -10px; }
.vg-burger { display: block; width: 18px; }
.vg-burger i { display: block; height: 2px; background: currentColor; border-radius: 1px; transition: transform var(--t) var(--ease), opacity var(--t); }
.vg-burger i + i { margin-top: 4px; }

.vg-logo { display: inline-flex; align-items: center; gap: 10px; flex: none; color: #fff; line-height: 1; }
.vg-logo:hover { color: #fff; }
.vg-logo__mark { color: var(--accent); display: flex; }
.vg-logo__mark .vg-ico { width: 34px; height: 34px; }
.vg-logo__text { display: flex; flex-direction: column; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.vg-logo__text b { font-weight: 800; }
.vg-logo__text i { font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: .02em; color: rgba(255, 255, 255, .6); margin-top: 3px; }

/* Каталог */
.vg-catalog { position: relative; flex: none; }
.vg-catalog__btn {
	display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px;
	background: var(--accent); color: var(--accent-ink); font-size: 15px; font-weight: 600;
	border-radius: var(--r); transition: background var(--t) var(--ease);
}
.vg-catalog__btn:hover { background: var(--accent-dk); color: var(--accent-ink); }
.vg-catalog[data-open] .vg-catalog__btn .vg-burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.vg-catalog[data-open] .vg-catalog__btn .vg-burger i:nth-child(2) { opacity: 0; }
.vg-catalog[data-open] .vg-catalog__btn .vg-burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.vg-catalog::after { content: ''; position: absolute; left: 0; top: 100%; width: 100%; height: 14px; }
.vg-catalog__panel {
	position: absolute; top: calc(100% + 12px); left: 0; z-index: var(--z-drop);
	display: grid; grid-template-columns: 264px minmax(600px, 1fr);
	width: max-content; max-width: min(1100px, calc(100vw - 48px)); min-height: 440px;
	background: #fff; color: var(--text); border-radius: var(--r-lg); box-shadow: var(--sh-2);
	overflow: hidden; transform-origin: 40px 0;
	animation: vg-pop .22s var(--ease);
}
.vg-catalog__panel[hidden] { display: none; }
@keyframes vg-pop { from { opacity: 0; transform: translateY(-6px) scale(.985); } to { opacity: 1; transform: none; } }
.vg-catalog__roots { background: var(--paper-2); padding: 10px 0; }
.vg-catalog__root a { display: flex; align-items: center; gap: 12px; padding: 11px 18px 11px 20px; font-size: 15px; font-weight: 500; color: var(--text); transition: background var(--t); }
.vg-catalog__root .vg-ico { color: var(--mute); }
.vg-catalog__root .vg-ico--chev { width: 16px; height: 16px; margin-left: auto; color: var(--mute-2); }
.vg-catalog__root.is-active a, .vg-catalog__root a:hover { background: #fff; }
.vg-catalog__root.is-active .vg-ico, .vg-catalog__root a:hover .vg-ico { color: var(--accent-dk); }
.vg-catalog__root--brands { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.vg-catalog__cols { position: relative; }
.vg-catalog__col { display: none; height: 100%; }
.vg-catalog__col.is-active { display: grid; grid-template-columns: minmax(0, 1fr) 236px; }
.vg-catalog__list { padding: 24px 28px; }
.vg-catalog__list ul { columns: 2; column-gap: 28px; }
.vg-catalog__list li { break-inside: avoid; }
.vg-catalog__list li a, .vg-catalog__brandcol li a { display: block; padding: 6px 0; font-size: 14.5px; color: #3A4049; transition: color var(--t); }
.vg-catalog__list li a:hover, .vg-catalog__brandcol li a:hover { color: var(--accent-dk); }
.vg-catalog__list li i { font-style: normal; font-size: 11.5px; color: var(--mute-2); margin-left: 4px; }
.vg-catalog__colhead { display: block; margin-bottom: 12px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.vg-catalog__colhead span { display: block; font-size: 12.5px; font-weight: 400; color: var(--mute); margin-top: 2px; }
.vg-catalog__colhead:hover { color: var(--accent-dk); }
.vg-catalog__photo { display: block; position: relative; overflow: hidden; }
.vg-catalog__photo .vg-photo img { transition: transform .8s var(--ease); }
.vg-catalog__col:hover .vg-catalog__photo img { transform: scale(1.04); }
.vg-catalog__col--brands.is-active { grid-template-columns: 220px minmax(0, 1fr); }
.vg-catalog__brands { background: var(--paper-2); padding: 12px 0; border-right: 1px solid var(--line); }
.vg-catalog__brands li a { display: block; padding: 9px 22px; font-size: 15px; font-weight: 600; color: var(--text); }
.vg-catalog__brands li.is-active a, .vg-catalog__brands li a:hover { background: #fff; color: var(--accent-dk); }
.vg-catalog__brandcats { padding: 24px 28px; }
.vg-catalog__brandcol { display: none; }
.vg-catalog__brandcol.is-active { display: block; }
.vg-catalog__brandcol ul { columns: 2; column-gap: 28px; }
.vg-catalog__branddesc { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--mute); line-height: 1.5; }
.vg-catalog__empty { font-size: 14px; color: var(--mute); }

/* Поиск */
.vg-search { position: relative; flex: 1 1 auto; max-width: 520px; }
.vg-search input[type="search"] {
	width: 100%; height: 46px; padding: 0 48px 0 16px;
	background: rgba(255, 255, 255, .09); color: #fff;
	border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r);
	font-size: 15px; transition: border-color var(--t), background var(--t);
	-webkit-appearance: none; appearance: none;
}
.vg-search input::placeholder { color: rgba(255, 255, 255, .55); }
.vg-search input:focus { border-color: var(--accent); background: rgba(255, 255, 255, .13); outline: none; }
.vg-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.vg-search button { position: absolute; right: 0; top: 0; width: 46px; height: 46px; display: grid; place-items: center; color: rgba(255, 255, 255, .7); }
.vg-search button:hover { color: var(--accent); }
.vg-suggest {
	position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: var(--z-drop);
	background: #fff; color: var(--text); border-radius: var(--r-lg); box-shadow: var(--sh-2);
	overflow: hidden; max-height: min(72vh, 620px); overflow-y: auto;
	animation: vg-pop .2s var(--ease);
}
.vg-suggest[hidden] { display: none; }
.vg-suggest__total { margin: 0; padding: 12px 16px 10px; font-size: 13px; color: var(--mute); background: var(--paper-2); }
.vg-suggest__facets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.vg-suggest__facets > span { font-size: 12.5px; color: var(--mute); margin-right: 2px; }
.vg-chip {
	display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px;
	background: var(--paper-2); border-radius: 100px; font-size: 13px; font-weight: 500;
	transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.vg-chip i { font-style: normal; font-size: 11.5px; color: var(--mute); }
.vg-chip:hover { background: var(--ink); color: #fff; }
.vg-chip:hover i { color: rgba(255, 255, 255, .6); }
/* Бренд отличаем оттенком: раздел и марка ищутся по-разному. */
.vg-chip--brand { background: #FFF3D6; }
.vg-chip--brand:hover { background: var(--accent); color: var(--accent-ink); }
.vg-chip--brand:hover i { color: rgba(26, 20, 0, .55); }

.vg-suggest__list { padding: 4px 0; }
.vg-sg { display: flex; gap: 12px; align-items: center; padding: 10px 16px; transition: background var(--t); }
.vg-sg:hover { background: var(--paper-2); color: var(--text); }
.vg-sg img, .vg-sg__noimg { width: 52px; height: 52px; flex: none; border-radius: var(--r); object-fit: cover; background: var(--paper-2); }
.vg-sg__body { flex: 1; min-width: 0; }
.vg-sg__brand { display: block; font-size: 11.5px; font-weight: 600; color: var(--mute); margin-bottom: 1px; }
.vg-sg b { display: block; font-size: 14.5px; font-weight: 500; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vg-sg__sku { display: block; font-size: 12px; color: var(--mute-2); margin-top: 2px; }
.vg-sg__right { flex: none; text-align: right; }
.vg-sg em { display: block; font-style: normal; font-size: 15px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.vg-sg__stock { display: block; font-style: normal; font-size: 11.5px; color: var(--mute-2); margin-top: 2px; }
.vg-sg__stock.is-in { color: var(--ok); }
.vg-suggest__all { display: block; padding: 13px 16px; text-align: center; font-size: 14px; font-weight: 600; border-top: 1px solid var(--line); background: var(--paper-2); }
.vg-suggest__all:hover { background: var(--ink); color: #fff; }
.vg-suggest__empty { padding: 16px; font-size: 14px; color: var(--mute); line-height: 1.5; margin: 0; }

.vg-header__phone { flex: none; text-align: right; line-height: 1.15; color: #fff; }
.vg-header__phone b { display: block; font-size: 17px; font-weight: 700; white-space: nowrap; letter-spacing: -.01em; }
.vg-header__phone i { font-style: normal; font-size: 11.5px; color: rgba(255, 255, 255, .6); }
.vg-header__phone:hover { color: #fff; }
.vg-header__phone:hover b { color: var(--accent); }
.vg-header__acts { display: flex; gap: 4px; flex: none; }
.vg-act { position: relative; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; border-radius: var(--r); transition: background var(--t), color var(--t); }
.vg-act:hover { background: rgba(255, 255, 255, .1); color: var(--accent); }
.vg-act--search { display: none; }
.vg-act__num { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; border-radius: 9px; font-style: normal; }
.vg-act__num[hidden] { display: none; }
.vg-act__num.is-bump { animation: vg-bump .4s var(--ease); }
@keyframes vg-bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* --- Мобильное меню ------------------------------------------------------ */
.vg-mobilemenu { position: fixed; inset: 0; z-index: var(--z-panel); background: #fff; display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .3s var(--ease); }
.vg-mobilemenu[hidden] { display: none; }
.vg-mobilemenu.is-open { transform: none; }
.vg-mobilemenu__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: var(--ink); color: #fff; }
.vg-mobilemenu__head button { color: #fff; width: 44px; height: 44px; display: grid; place-items: center; margin-right: -12px; }
.vg-mobilemenu__body { flex: 1; overflow-y: auto; padding: 6px 0 30px; -webkit-overflow-scrolling: touch; }
.vg-mobilemenu__label { padding: 18px 20px 6px; font-size: 12.5px; font-weight: 600; color: var(--mute); margin: 0; }
.vg-mobilemenu__body > ul > li { position: relative; border-bottom: 1px solid var(--line); }
.vg-mobilemenu__body > ul > li > a { display: flex; align-items: center; gap: 14px; padding: 14px 60px 14px 20px; font-size: 16px; font-weight: 500; }
.vg-mobilemenu__body > ul > li > a .vg-ico { color: var(--accent-dk); width: 22px; height: 22px; }
.vg-mobilemenu__body > ul > li > button { position: absolute; right: 0; top: 0; width: 56px; height: 54px; display: grid; place-items: center; color: var(--mute); }
.vg-mobilemenu__body > ul > li > button .vg-ico { transform: rotate(90deg); transition: transform var(--t) var(--ease); }
.vg-mobilemenu__body > ul > li > button[aria-expanded="true"] .vg-ico { transform: rotate(-90deg); }
.vg-mobilemenu__body ul ul { background: var(--paper-2); padding: 4px 0 10px; }
.vg-mobilemenu__body ul ul[hidden] { display: none; }
.vg-mobilemenu__body ul ul a { display: block; padding: 11px 20px 11px 56px; font-size: 15px; color: #3A4049; }
.vg-mobilemenu__extra { padding: 12px 20px; }
.vg-mobilemenu__extra a { display: block; padding: 9px 0; font-size: 15px; color: var(--mute); }
.vg-mobilemenu__call { margin: 12px 20px 0; }

/* --- Герой --------------------------------------------------------------- */
.vg-hero { position: relative; display: grid; min-height: min(92vh, 880px); background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.vg-hero__slide { grid-area: 1 / 1; position: relative; display: flex; align-items: flex-end; opacity: 0; transition: opacity 1s var(--ease); pointer-events: none; }
.vg-hero__slide.is-active { opacity: 1; pointer-events: auto; }
.vg-hero__media { position: absolute; inset: 0; z-index: 0; }
.vg-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.vg-hero__slide.is-active .vg-hero__media img { animation: vg-kb 16s var(--ease) forwards; }
@keyframes vg-kb { from { transform: scale(1.06); } to { transform: scale(1); } }
.vg-hero__media::after {
	content: ''; position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(10, 12, 15, .15) 0%, rgba(10, 12, 15, 0) 30%, rgba(10, 12, 15, .55) 70%, rgba(10, 12, 15, .92) 100%),
		linear-gradient(90deg, rgba(10, 12, 15, .55) 0%, rgba(10, 12, 15, .1) 60%);
}
.vg-hero__in { position: relative; z-index: 2; padding: calc(var(--head-h) + 80px) var(--gut) 96px; }
.vg-hero__body { max-width: 44rem; }
.vg-hero__title { font-size: clamp(2rem, 3.9vw, 3.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; margin: 0 0 18px; color: #fff; }
.vg-hero__text { font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.55; color: rgba(255, 255, 255, .82); max-width: 38rem; margin-bottom: 30px; }
.vg-hero__acts { display: flex; gap: 12px; flex-wrap: wrap; }
.vg-hero.is-ready .is-active .vg-hero__title { animation: vg-rise .9s var(--ease) both; }
.vg-hero.is-ready .is-active .vg-hero__text { animation: vg-rise .9s .12s var(--ease) both; }
.vg-hero.is-ready .is-active .vg-hero__acts { animation: vg-rise .9s .22s var(--ease) both; }
@keyframes vg-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.vg-hero__topo { position: absolute; inset: 0; z-index: 1; pointer-events: none; color: var(--accent); opacity: .3; mix-blend-mode: screen; }
.vg-topo { width: 100%; height: 100%; }
.vg-topo path { stroke-dasharray: var(--len, 4000); stroke-dashoffset: var(--len, 4000); }
.vg-hero.is-ready .vg-topo path { animation: vg-draw 2.6s var(--ease) forwards; animation-delay: calc(var(--k, 0) * 90ms); }
@keyframes vg-draw { to { stroke-dashoffset: 0; } }
.vg-hero__nav { position: absolute; right: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); bottom: 34px; z-index: 3; display: flex; gap: 10px; }
.vg-hero__nav button { width: 56px; height: 24px; display: flex; align-items: center; }
.vg-hero__nav button i { display: block; width: 100%; height: 2px; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; }
.vg-hero__nav button i::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.vg-hero__nav button.is-active i::after { animation: vg-progress 7s linear forwards; }
@keyframes vg-progress { to { transform: scaleX(1); } }
.vg-hero.is-paused .vg-hero__nav button.is-active i::after { animation-play-state: paused; }

/* --- Бегущая строка ------------------------------------------------------ */
.vg-ticker { background: var(--accent); color: var(--accent-ink); overflow: hidden; font-size: 14.5px; font-weight: 600; }
.vg-ticker__track { display: flex; width: max-content; }



.vg-ticker ul { display: flex; }
.vg-ticker li { display: flex; align-items: center; padding: 12px 0; white-space: nowrap; }
.vg-ticker li::after { content: ''; width: 6px; height: 6px; margin: 0 28px; background: var(--accent-ink); opacity: .55; transform: rotate(45deg); }


/* --- Секции -------------------------------------------------------------- */
.vg-sec { padding: clamp(48px, 6vw, 84px) 0; }
.vg-sec--tight { padding: 36px 0; }
.vg-sec--paper { background: var(--paper-2); }
.vg-sec--ink { background: var(--ink); color: #fff; }
.vg-sec--ink h2 { color: #fff; }
.vg-sec--ink .vg-sec__head p { color: rgba(255, 255, 255, .65); }
.vg-sec__head { margin-bottom: 28px; max-width: 640px; }
.vg-sec__head h2 { margin-bottom: 6px; }
.vg-sec__head p { color: var(--mute); font-size: 16px; }
.vg-sec__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.vg-sec__head--row > div { max-width: 640px; }
.vg-sec__head--row .vg-link { flex: none; margin-bottom: 4px; }

/* Появление списков: сначала всё видно, скрипт лишь добавляет движение. */
html.vg-js [data-vg-reveal]:not(.is-in) > * { opacity: 0; transform: translateY(16px); }
[data-vg-reveal].is-in > * { animation: vg-in .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes vg-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* --- Разделы каталога ---------------------------------------------------- */
.vg-cats { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
@media (min-width: 1400px) { .vg-cats { grid-auto-rows: 232px; } }
.vg-cat { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); background: var(--ink-2); color: #fff; isolation: isolate; }
.vg-cat--lead { grid-column: span 2; grid-row: span 2; }
.vg-cat__media { position: absolute; inset: 0; z-index: 0; }
.vg-cat__media img, .vg-cat__media .vg-photo { width: 100%; height: 100%; object-fit: cover; }
.vg-cat { transition: transform .55s var(--ease), box-shadow .55s var(--ease); will-change: transform; }
.vg-cat:hover { transform: translateY(-4px); box-shadow: 0 18px 44px -14px rgba(10, 12, 15, .55); }
.vg-cat__media img, .vg-cat__media .vg-photo { transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.vg-cat:hover .vg-cat__media img, .vg-cat:hover .vg-cat__media .vg-photo { transform: scale(1.09); }
.vg-cat::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 12, 15, 0) 34%, rgba(10, 12, 15, .86) 100%); transition: opacity .5s var(--ease); }
.vg-cat:hover::after { opacity: .92; }
.vg-cat__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; transform: translateY(6px); transition: transform .5s var(--ease); }
.vg-cat:hover .vg-cat__body { transform: none; }
/* Стрелка выезжает из-под края: подсказка, что плитка кликабельна. */
.vg-cat__body::after {
	content: ''; position: absolute; right: 20px; bottom: 20px;
	width: 34px; height: 34px; border-radius: 50%;
	background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312161A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M12 5l7 7-7 7'/%3E%3C/svg%3E") center/17px no-repeat;
	opacity: 0; transform: translate(6px, 6px) scale(.8);
	transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.vg-cat:hover .vg-cat__body::after, .vg-cat:focus-visible .vg-cat__body::after { opacity: 1; transform: none; }
@media (hover: none) { .vg-cat__body::after { display: none; } }
.vg-cat__name { font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.vg-cat--lead .vg-cat__name { font-size: 30px; }
.vg-cat__subs { font-size: 14px; color: rgba(255, 255, 255, .78); margin-top: 4px; }
.vg-cat__num { font-size: 13px; color: rgba(255, 255, 255, .62); }

/* --- Карточка товара ----------------------------------------------------- */
.vg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (min-width: 1400px) { .vg-grid { grid-template-columns: repeat(5, 1fr); } }
.vg-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .35s var(--ease), border-color .35s var(--ease); }
.vg-card:hover { box-shadow: var(--sh); border-color: transparent; }
.vg-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--paper-2); overflow: hidden; }
.vg-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s var(--ease), transform 1.2s var(--ease); }
.vg-card__img.is-active { opacity: 1; }
.vg-card:hover .vg-card__img.is-active { transform: scale(1.05); }

/* Зоны наведения делят фото на равные части: курсор идёт вправо, кадры сменяются. */
.vg-card__zones { position: absolute; inset: 0; z-index: 2; display: flex; }
.vg-card__zones i { flex: 1; }
.vg-card__strip { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 3; display: flex; gap: 4px; opacity: .55; transition: opacity var(--t); }
.vg-card:hover .vg-card__strip { opacity: 1; }
.vg-card__strip i { flex: 1; height: 3px; border-radius: 2px; background: rgba(20, 24, 28, .18); transition: background .25s var(--ease); }
.vg-card__strip i.is-active { background: var(--ink); }

/* Образцы расцветок. Наведение меняет кадр, клик уводит на эту расцветку. */
.vg-card__swatches { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; }
.vg-swatch { position: relative; width: 42px; height: 42px; border-radius: var(--r); overflow: hidden; flex: none; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.vg-swatch img, .vg-swatch svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.vg-swatch::after { content: ''; position: absolute; inset: 0; border-radius: var(--r); box-shadow: inset 0 0 0 2px var(--text); opacity: 0; transition: opacity .2s var(--ease); }
.vg-swatch:hover, .vg-swatch:focus-visible { transform: translateY(-2px); }
.vg-swatch.is-active::after, .vg-swatch:hover::after { opacity: 1; }
.vg-swatch__more { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 5px; border-radius: var(--r); background: var(--paper-2); font-size: 12px; font-weight: 600; color: var(--mute); transition: background var(--t), color var(--t); }
.vg-swatch__more:hover { background: var(--ink); color: #fff; }
.vg-card__badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.vg-badge { display: inline-block; padding: 4px 8px; border-radius: var(--r); font-size: 12px; font-weight: 600; line-height: 1.2; color: #fff; background: var(--ink); }
.vg-badge--sale { background: var(--sale); }
.vg-badge--new { background: #fff; color: var(--text); border: 1px solid var(--line); }
.vg-badge--hit { background: var(--accent); color: var(--accent-ink); }
.vg-card__tools { position: absolute; top: 8px; right: 8px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.vg-card__tool {
	width: 36px; height: 36px; display: grid; place-items: center;
	background: rgba(255, 255, 255, .94); border-radius: 50%; color: var(--mute);
	box-shadow: 0 2px 8px rgba(18, 22, 26, .1);
	transition: color .25s var(--ease), background .25s var(--ease), opacity .3s var(--ease), transform .3s var(--ease);
}
.vg-card__tool:hover { color: var(--sale); background: #fff; }
.vg-card__tool.is-on { color: var(--sale); }
.vg-card__tool.is-on .vg-ico { fill: currentColor; }
/* Глазок появляется при наведении: на витрине он не должен спорить с фото. */
.vg-card__tool--eye { opacity: 0; transform: translateY(-6px) scale(.9); }
.vg-card__tool--eye:hover { color: var(--ink); }
.vg-card:hover .vg-card__tool--eye, .vg-card__tool--eye:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .vg-card__tool--eye { opacity: 1; transform: none; } }
.vg-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 14px 14px; }
.vg-card__brand { font-size: 12.5px; font-weight: 600; color: var(--mute); margin: 0 0 4px; }
.vg-card__title { font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: 0; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vg-card__title a:hover { color: var(--accent-dk); }
.vg-card__sizes { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 10px; }
.vg-card__sizes span { padding: 2px 6px; border: 1px solid var(--line); border-radius: var(--r); font-size: 11.5px; color: var(--mute); line-height: 1.4; }
.vg-card__sizes i { font-style: normal; font-size: 11.5px; color: var(--mute-2); align-self: center; }
.vg-card__row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; margin-bottom: 4px; }
.vg-card__price { font-size: 20px; font-weight: 400; letter-spacing: -.025em; }
.vg-card__price i { font-style: normal; font-size: 12.5px; font-weight: 500; color: var(--mute); }
.vg-card__price .screen-reader-text { display: none; }
.vg-card__price .woocommerce-Price-amount { font-weight: 400; }
.vg-card__old { font-size: 13px; font-weight: 700; color: var(--mute-2); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.vg-card__off { margin-left: auto; padding: 2px 6px; background: #FBE9E7; color: var(--sale); font-size: 12px; font-weight: 700; border-radius: var(--r); }
/* Шкала наличия: точка, подпись, полоска. Три уровня плюс «нет». */
.vg-stock { margin: 0 0 10px; --st: var(--ok); }
.vg-stock--mid { --st: #E08A00; }
.vg-stock--low { --st: var(--sale); }
.vg-stock--out { --st: var(--mute-2); }
.vg-stock__row { display: flex; align-items: center; gap: 6px; margin: 0 0 5px; font-size: 12.5px; color: var(--st); font-weight: 500; }
.vg-stock--low .vg-stock__note { color: var(--mute); font-weight: 400; margin-left: auto; }
.vg-stock__bar { display: block; height: 3px; border-radius: 2px; background: var(--paper-3); overflow: hidden; }
.vg-stock__bar i { display: block; height: 100%; background: var(--st); border-radius: 2px; transform-origin: left; animation: vg-fill .8s var(--ease) both; }
@keyframes vg-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.vg-stock--wide { margin: 0 0 18px; }
.vg-stock--wide .vg-stock__row { font-size: 14.5px; gap: 8px; }
.vg-stock--wide .vg-stock--wide .vg-stock__bar { height: 4px; }
.vg-card__stock--out { color: var(--mute-2); }
.vg-card__cta { display: grid; grid-template-columns: 1fr 42px; gap: 6px; }
.vg-card__cta .vg-btn { min-height: 42px; padding: 0 10px; font-size: 14px; }
.vg-card__cta .vg-btn--icon { padding: 0; }

.vg-stocknote { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin: 22px 0 0; background: #FFF6DB; border-radius: var(--r-lg); font-size: 14px; line-height: 1.45; color: #4A3B0A; }
.vg-stocknote .vg-ico { width: 18px; height: 18px; color: var(--accent-dk); margin-top: 1px; }
.vg-stocknote--product { margin: 16px 0 0; }

/* --- Комплекты ----------------------------------------------------------- */
.vg-kits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vg-kit { display: flex; flex-direction: column; background: var(--ink-2); color: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-dk); transition: transform .35s var(--ease), border-color var(--t); }
.vg-kit:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .22); color: #fff; }
.vg-kit__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.vg-kit__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.vg-kit:hover .vg-kit__media img { transform: scale(1.05); }
.vg-kit__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; }
.vg-kit__tag { font-size: 13px; color: var(--accent); font-weight: 600; }
.vg-kit__title { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.vg-kit__text { font-size: 14.5px; color: rgba(255, 255, 255, .7); line-height: 1.5; }
.vg-kit__price { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.vg-kit__price b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.vg-kit__price del { color: rgba(255, 255, 255, .45); font-size: 14px; }

/* --- Камуфляж ------------------------------------------------------------ */
.vg-camos { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.vg-camo { display: block; text-align: center; }
.vg-camo__sw { display: block; aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 10px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.vg-camo__sw img, .vg-camo__svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.vg-camo:hover .vg-camo__sw { transform: translateY(-4px); box-shadow: var(--sh); }
.vg-camo__name { font-size: 14px; font-weight: 500; }

/* --- Бренды: бегущая строка --------------------------------------------- */
.vg-brandstrip { padding: clamp(40px, 5vw, 64px) 0 clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); overflow: hidden; }
.vg-brandstrip__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.vg-brandstrip__head h2 { margin: 0; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.vg-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.vg-marquee__track { display: flex; width: max-content; }

.vg-marquee ul { display: flex; align-items: center; }
.vg-marquee li a { display: flex; align-items: center; height: 64px; padding: 0 44px; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--mute-2); white-space: nowrap; transition: color var(--t); }
.vg-marquee li a:hover { color: var(--text); }
.vg-marquee li a img { max-height: 40px; width: auto; filter: grayscale(1); opacity: .7; }
.vg-marquee li a:hover img { filter: none; opacity: 1; }

/* --- О магазине ---------------------------------------------------------- */
.vg-about__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.vg-about__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.vg-about__media .vg-photo img { width: 100%; height: 100%; object-fit: cover; }
.vg-about__text p { font-size: 17px; line-height: 1.6; color: #2F353C; max-width: 52ch; }
.vg-about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.vg-about__facts b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: 6px; }
.vg-about__facts span { font-size: 13.5px; color: var(--mute); line-height: 1.4; display: block; }

/* --- Отзывы -------------------------------------------------------------- */
.vg-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vg-review { padding: 24px; background: var(--paper-2); border-radius: var(--r-lg); }
.vg-review__stars { display: flex; gap: 2px; color: var(--accent-dk); margin-bottom: 12px; }
.vg-review__stars .vg-ico { width: 16px; height: 16px; }
.vg-review p { font-size: 15px; line-height: 1.55; }
.vg-review__who { margin-top: 14px; font-size: 13.5px; color: var(--mute); }
.vg-review__who b { color: var(--text); font-weight: 600; margin-right: 8px; }

/* --- SEO-текст ----------------------------------------------------------- */
.vg-seotext { max-width: 820px; font-size: 15.5px; line-height: 1.7; color: #3A4049; }
.vg-seotext h2 { font-size: 1.5rem; }
.vg-seotext h3 { font-size: 1.1rem; margin-top: 1.4em; }
.vg-seotext__body { position: relative; max-height: 168px; overflow: hidden; transition: max-height .5s var(--ease); }
.vg-seotext__body.is-open { max-height: 5000px; }
.vg-seotext__body:not(.is-open)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); }
.vg-seotext__toggle { margin-top: 12px; }

/* --- Каталог: сетка с фильтрами ----------------------------------------- */
.vg-shophead { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.vg-shophead__media { position: absolute; inset: 0; opacity: .5; }
.vg-shophead__media .vg-photo img { width: 100%; height: 100%; object-fit: cover; }
.vg-shophead__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 22, 26, .96) 20%, rgba(18, 22, 26, .5) 100%); }
.vg-shophead__in { position: relative; z-index: 1; padding: 34px var(--gut) 30px; }
.vg-shophead h1 { margin-bottom: 8px; color: #fff; }
.vg-shophead__intro { font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .75); max-width: 720px; }
.vg-shophead__intro p:last-child { margin: 0; }
.vg-shop { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 34px; align-items: start; padding: 26px 0 60px; }
.vg-shop__side { position: sticky; top: calc(var(--head-h) + 16px); }
.vg-widget { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.vg-widget:last-child { border-bottom: 0; }
.vg-widget__title { font-size: 15px; font-weight: 700; margin: 0 0 12px; letter-spacing: -.01em; }
.vg-widget li a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 14.5px; }
.vg-widget li a:hover { color: var(--accent-dk); }
.vg-widget li.current-cat > a { font-weight: 600; }
.vg-widget .count { color: var(--mute-2); font-size: 12.5px; }
.vg-widget p { font-size: 14px; color: var(--mute); line-height: 1.5; margin-bottom: 12px; }
.vg-shop__bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 0 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.vg-shop__count { font-size: 14px; color: var(--mute); }
.vg-shop__sort { margin-left: auto; }
.vg-shop__sort select { height: 40px; padding: 0 32px 0 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C636C' stroke-width='2'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E") no-repeat right 8px center / 16px; font-size: 14px; -webkit-appearance: none; appearance: none; }
.vg-shop__filterbtn { display: none; }
.vg-subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.vg-subcats a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; background: var(--paper-2); border-radius: 100px; font-size: 14px; font-weight: 500; transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease); }
.vg-subcats a:hover { transform: translateY(-2px); }
.vg-subcats a:hover { background: var(--ink); color: #fff; }
.vg-subcats a i { font-style: normal; font-size: 12px; opacity: .6; }
.vg-pager { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.vg-pager a, .vg-pager span { min-width: 44px; height: 44px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r); font-size: 14.5px; font-weight: 500; transition: border-color var(--t) var(--ease), background var(--t) var(--ease), color var(--t) var(--ease); }
.vg-pager a:hover { border-color: var(--text); color: var(--text); }
.vg-pager .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.vg-pager .vg-ico { width: 18px; height: 18px; }

/* --- Товар --------------------------------------------------------------- */
.vg-product { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; padding: 20px 0 50px; align-items: start; }
.vg-gal { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
.vg-gal__thumbs { display: flex; flex-direction: column; gap: 8px; max-height: 620px; overflow-y: auto; }
.vg-gal__thumbs button { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; aspect-ratio: 1 / 1; background: var(--paper-2); transition: border-color var(--t); }
.vg-gal__thumbs button.is-active { border-color: var(--text); }
.vg-gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.vg-gal__main { position: relative; aspect-ratio: 1 / 1; background: var(--paper-2); border-radius: var(--r-lg); overflow: hidden; }
.vg-gal__main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .3s var(--ease); }
.vg-gal__main.is-swapping img { opacity: 0; }
.vg-buy { position: sticky; top: calc(var(--head-h) + 16px); }
.vg-buy__brand { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: var(--mute); }
.vg-buy__brand:hover { color: var(--accent-dk); }
.vg-buy h1 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 10px; }
.vg-buy__meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--mute); margin-bottom: 16px; }
.vg-buy__meta .is-in { color: var(--ok); font-weight: 500; }
.vg-buy__trust { display: flex; gap: 14px; flex-wrap: wrap; padding: 12px 0; margin-bottom: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13.5px; }
.vg-buy__trust div { display: flex; align-items: center; gap: 7px; }
.vg-buy__trust .vg-ico { width: 17px; height: 17px; color: var(--ok); }
/* Цена: крупная и лёгкая, старая рядом плотнее и приглушённая.
   Контраст держится размером, а не жирностью. */
.vg-buy__price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 4px; }
.vg-buy__price b { font-size: 38px; font-weight: 400; letter-spacing: -.035em; line-height: 1; }
.vg-buy__price b i { font-style: normal; font-size: 17px; font-weight: 500; color: var(--mute); margin-right: 2px; }
.vg-buy__price del { font-size: 17px; font-weight: 700; color: var(--mute-2); text-decoration-thickness: 1.5px; }
.vg-buy__price em { font-style: normal; padding: 4px 9px; background: var(--sale); color: #fff; font-size: 13px; font-weight: 700; border-radius: var(--r); letter-spacing: -.01em; }
.vg-buy__price del[hidden], .vg-buy__price em[hidden] { display: none; }
.vg-buy__price b, .vg-buy__price del, .vg-buy__price em { transition: opacity .22s var(--ease); }
.vg-buy__price.is-swap b, .vg-buy__price.is-swap del, .vg-buy__price.is-swap em { opacity: .2; }
.vg-buy__bonus { font-size: 13.5px; color: var(--mute); margin-bottom: 18px; }
.vg-buy__opt { margin-bottom: 18px; }
.vg-buy__opt > b { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.vg-buy__opt > b a { font-weight: 500; font-size: 13px; color: var(--accent-dk); }
/* Расцветки на странице товара: крупные фото вариаций. */
.vg-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.vg-color { position: relative; display: block; width: 60px; height: 60px; border-radius: var(--r); overflow: hidden; cursor: pointer; background: var(--paper-2); transition: transform .25s var(--ease); }
.vg-color input { position: absolute; opacity: 0; width: 0; height: 0; }
.vg-color > span:first-of-type { display: block; width: 100%; height: 100%; }
.vg-color img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vg-color::after { content: ''; position: absolute; inset: 0; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s var(--ease); }
.vg-color:hover { transform: translateY(-2px); }
.vg-color:has(input:checked)::after, .vg-color.is-active::after { box-shadow: inset 0 0 0 2px var(--ink); }
.vg-color:has(input:focus-visible)::after { box-shadow: inset 0 0 0 2px var(--accent); }
.vg-buy__opt > b span[data-vg-color-name] { font-weight: 500; color: var(--mute); }

.vg-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.vg-sizes label { position: relative; }
.vg-sizes input { position: absolute; opacity: 0; width: 0; height: 0; }
.vg-sizes span { display: grid; place-items: center; min-width: 52px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color var(--t), background var(--t), color var(--t); }
.vg-sizes span:hover { border-color: var(--mute-2); }
.vg-sizes input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; transform: translateY(-1px); }
.vg-sizes input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.vg-sizes input:disabled + span { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.vg-buy__row { display: flex; gap: 10px; margin-bottom: 10px; }
.vg-buy__row .vg-btn { flex: 1; }
/* Верхняя строка: счётчик и короткий заказ по телефону. Кнопка здесь
   намеренно ниже корзины — главное действие внизу и во всю ширину. */
.vg-buy__row--top .vg-btn { min-height: 46px; font-size: 15px; }
.vg-buy__row--top .vg-buy__qty { height: 46px; width: 118px; }
.vg-buy__qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); height: 54px; width: 130px; flex: none; transition: border-color var(--t) var(--ease); }
.vg-buy__qty:hover, .vg-buy__qty:focus-within { border-color: var(--ink); }
.vg-buy__qty button { width: 42px; height: 100%; display: grid; place-items: center; font-size: 20px; color: var(--mute); }
.vg-buy__qty input { width: 46px; height: 100%; text-align: center; border: 0; background: none; font-weight: 600; -moz-appearance: textfield; }
.vg-buy__qty input::-webkit-outer-spin-button, .vg-buy__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.vg-buy__delivery { border: 1px solid var(--line); border-radius: var(--r-lg); margin-top: 18px; }
.vg-buy__delivery > div { display: flex; gap: 12px; padding: 13px 15px; font-size: 13.5px; line-height: 1.45; }
.vg-buy__delivery > div + div { border-top: 1px solid var(--line); }
.vg-buy__delivery .vg-ico { width: 20px; height: 20px; color: var(--accent-dk); flex: none; }
.vg-buy__delivery b { display: block; font-weight: 600; }
.vg-buy__delivery span { color: var(--mute); }

.vg-tabs { border-top: 1px solid var(--line); padding-top: 30px; }
.vg-tabs__nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; }
.vg-tabs__nav button { position: relative; padding: 12px 18px; font-size: 16px; font-weight: 600; color: var(--mute); white-space: nowrap; transition: color var(--t); }
.vg-tabs__nav button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.vg-tabs__nav button.is-active { color: var(--text); }
.vg-tabs__nav button.is-active::after { transform: scaleX(1); }
.vg-tabs__panel { display: none; }
.vg-tabs__panel.is-active { display: block; animation: vg-in .4s var(--ease); }
.vg-prose { max-width: 72ch; font-size: 16.5px; line-height: 1.7; text-wrap: pretty; }
.vg-prose h2 { font-size: 1.5rem; margin: 1.8em 0 .6em; }
.vg-prose h3 { font-size: 1.15rem; margin: 1.6em 0 .5em; }
.vg-prose ul, .vg-prose ol { margin: 0 0 1.1em; padding-left: 22px; }
.vg-prose li { margin-bottom: 5px; }
.vg-prose img { border-radius: var(--r-lg); margin: 20px 0; }
.vg-prose a { color: var(--accent-dk); text-decoration: underline; text-underline-offset: 2px; }
.vg-prose table { font-size: 15px; margin: 1em 0 1.4em; }
.vg-prose th, .vg-prose td { padding: 9px 12px; border: 1px solid var(--line); text-align: left; }
.vg-prose th { background: var(--paper-2); font-weight: 600; }
.vg-prose blockquote { margin: 22px 0; padding: 14px 20px; background: var(--paper-2); border-radius: var(--r-lg); }
.vg-specs { max-width: 720px; font-size: 15px; }
.vg-specs tr { border-bottom: 1px solid var(--line); }
.vg-specs th, .vg-specs td { padding: 11px 0; text-align: left; vertical-align: top; }
.vg-specs th { width: 44%; font-weight: 400; color: var(--mute); padding-right: 20px; }
.vg-specs td { font-weight: 500; }



/* --- Логотипы служб доставки и оплаты ------------------------------------ */
.vg-logos { margin: 16px 0 0; }
.vg-logos__title { display: block; font-size: 12.5px; color: var(--mute); margin-bottom: 9px; }
.vg-logos__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vg-logos__item {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 92px; height: 42px; padding: 0 14px;
	background: #fff; border-radius: var(--r);
	box-shadow: inset 0 0 0 1px var(--line);
	transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.vg-logos__item:hover { box-shadow: inset 0 0 0 1px var(--mute-2), 0 4px 14px rgba(18, 22, 26, .08); transform: translateY(-2px); }
.vg-logos__item img { width: auto; max-width: 132px; flex: none; object-fit: contain; display: block; }

/* В подвале плашек нет: логотипы выбелены под тёмный фон, цвет возвращается
   при наведении — иначе чёрные части знаков на тёмном просто исчезают. */
.vg-footer .vg-logos { margin-top: 18px; }
.vg-footer .vg-logos__title { color: rgba(255, 255, 255, .42); }
.vg-footer .vg-logos__row { gap: 20px 26px; }
.vg-footer .vg-logos__item { background: none; box-shadow: none; min-width: 0; height: auto; padding: 0; }
.vg-footer .vg-logos__item img {
	filter: brightness(0) invert(1); opacity: .5;
	transition: opacity var(--t) var(--ease), filter var(--t) var(--ease);
}
.vg-footer .vg-logos__item:hover { transform: none; }
.vg-footer .vg-logos__item:hover img { filter: none; opacity: 1; }
.vg-footer .vg-logos__item.is-own img { filter: none; opacity: .82; }
.vg-footer .vg-logos__item.is-own:hover img { opacity: 1; }

/* В блоке доставки на карточке товара ряд занимает всю строку. */
.vg-buy__delivery > .vg-buy__carriers { display: block; padding: 14px 15px; }
.vg-buy__carriers .vg-logos { margin: 0; }
.vg-buy__carriers .vg-logos__row { gap: 6px; }
.vg-buy__carriers .vg-logos__item { min-width: 0; height: 38px; padding: 0 10px; }
.vg-buy__carriers .vg-logos__title { color: var(--mute); }

@media (max-width: 560px) {
	.vg-logos__item { min-width: 78px; height: 38px; padding: 0 11px; }
	.vg-logos__item img { max-width: 104px; }
	.vg-footer .vg-logos__row { gap: 16px 20px; }
}

/* --- Отзывы о товаре ----------------------------------------------------- */
.vg-reviews-box { max-width: 780px; }
.vg-reviews-box__head { margin-bottom: 22px; }
.vg-reviews-box__score { display: flex; align-items: center; gap: 12px; }
.vg-reviews-box__score b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.vg-reviews-box__score i { font-style: normal; font-size: 14px; color: var(--mute); }
.vg-stars { display: inline-flex; gap: 2px; }
.vg-stars .vg-ico { width: 17px; height: 17px; color: var(--line); }
.vg-stars .vg-ico.is-on { color: var(--accent); }
.vg-reviews-box__list { list-style: none; margin: 0 0 30px; }
.vg-review-item { padding: 18px 0; border-top: 1px solid var(--line); }
.vg-review-item__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.vg-review-item__head b { font-size: 15.5px; font-weight: 600; }
.vg-review-item__head time { font-size: 13px; color: var(--mute-2); margin-left: auto; }
.vg-review-item__ok { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--ok); }
.vg-review-item__ok .vg-ico { width: 14px; height: 14px; }
.vg-review-item__text { font-size: 15.5px; line-height: 1.6; margin-top: 8px; }
.vg-review-item__text p { margin: 0 0 .6em; }
.vg-reviews-box__empty { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; background: var(--paper-2); border-radius: var(--r-lg); margin-bottom: 28px; }
.vg-reviews-box__empty .vg-ico { width: 26px; height: 26px; color: var(--mute-2); flex: none; margin-top: 2px; }
.vg-reviews-box__empty b { display: block; font-size: 16px; margin-bottom: 4px; }
.vg-reviews-box__empty span { font-size: 14.5px; color: var(--mute); line-height: 1.5; }

.vg-reviewform { max-width: 560px; }
.vg-reviewform__title { font-size: 20px; margin-bottom: 16px; }
.vg-reviewform .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--mute); margin: 4px 0 14px; }
.vg-reviewform .comment-form-cookies-consent input { width: auto; height: auto; margin-top: 3px; }
.vg-reviewform .form-submit { margin: 6px 0 0; }
.vg-form .vg-reviewform__rating { margin-bottom: 16px; }
.vg-reviewform__rating > span:first-child { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 6px; color: var(--mute); }
/* Звёзды идут в разметке от пяти к одной, поэтому подсветка тянется влево. */
.vg-rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.vg-rate input { position: absolute; opacity: 0; width: 0; height: 0; }
.vg-form .vg-rate label, .vg-rate label { display: inline-flex; margin: 0; cursor: pointer; padding: 2px; line-height: 0; }
.vg-rate .vg-ico { width: 30px; height: 30px; color: var(--line); transition: color .15s var(--ease), transform .15s var(--ease); }
.vg-rate label:hover .vg-ico, .vg-rate label:hover ~ label .vg-ico,
.vg-rate input:checked + label .vg-ico, .vg-rate input:checked + label ~ label .vg-ico { color: var(--accent); }
.vg-rate label:hover .vg-ico { transform: scale(1.12); }
.vg-rate input:focus-visible + label .vg-ico { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- Страницы, блог, поиск ---------------------------------------------- */
.vg-page { padding: 22px 0 60px; }
.vg-page__head { max-width: 760px; margin-bottom: 28px; }
.vg-page__lead { font-size: 18px; line-height: 1.55; color: #3A4049; }
.vg-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vg-post__media { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); margin-bottom: 12px; }
.vg-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.vg-post:hover .vg-post__media img { transform: scale(1.04); }
.vg-post__date { font-size: 13px; color: var(--mute-2); margin-bottom: 5px; }
.vg-post h2 { font-size: 19px; margin-bottom: 6px; }
.vg-post p { font-size: 14.5px; color: var(--mute); line-height: 1.5; }
.vg-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.vg-brand { display: grid; place-items: center; min-height: 96px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color var(--t), transform .3s var(--ease); }
.vg-brand:hover { border-color: var(--text); transform: translateY(-3px); }
.vg-brand__txt { font-size: 20px; font-weight: 800; letter-spacing: -.03em; text-align: center; }


/* --- Избранное ----------------------------------------------------------- */
.vg-fav__empty { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 460px; padding: 30px 32px; background: var(--paper-2); border-radius: var(--r-lg); }
.vg-fav__empty .vg-ico { width: 34px; height: 34px; color: var(--mute-2); margin-bottom: 6px; }
.vg-fav__empty b { font-size: 18px; }
.vg-fav__empty span { font-size: 14.5px; color: var(--mute); line-height: 1.5; }
.vg-fav__empty .vg-btn { margin-top: 16px; }
.vg-fav__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--mute); }

/* --- 404 ----------------------------------------------------------------- */
.vg-err { position: relative; min-height: 100vh; min-height: 100dvh; background: var(--ink); color: #fff; overflow: hidden; display: flex; align-items: center; isolation: isolate; }
.vg-err__media { position: absolute; inset: 0; z-index: 0; }
.vg-err__media .vg-photo img { width: 100%; height: 100%; object-fit: cover; }
.vg-err__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 15, .7), rgba(10, 12, 15, .88)); }
.vg-err__topo { position: absolute; inset: 0; z-index: 1; color: var(--accent); opacity: .25; mix-blend-mode: screen; pointer-events: none; }
.vg-err__in { position: relative; z-index: 2; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: center; padding-top: calc(var(--head-h) + 40px); padding-bottom: 60px; }
.vg-radar { position: relative; width: 280px; aspect-ratio: 1; }
.vg-radar svg { width: 100%; height: 100%; overflow: visible; }
.vg-radar__ring { fill: none; stroke: rgba(245, 179, 1, .45); stroke-width: 1; }
.vg-radar__sweep { transform-origin: 100px 100px; animation: vg-spin 4s linear infinite; }
@keyframes vg-spin { to { transform: rotate(360deg); } }
.vg-radar__blip { fill: var(--accent); animation: vg-blip 4s ease-out infinite; transform-origin: 136px 62px; }
@keyframes vg-blip { 0%, 8% { opacity: 1; transform: scale(1); } 40% { opacity: .2; transform: scale(1.6); } 100% { opacity: 0; transform: scale(2.2); } }
.vg-radar__code { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 64px; font-weight: 800; letter-spacing: -.04em; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .5); }
.vg-err__text h1 { color: #fff; margin-bottom: 12px; }
.vg-err__text > p { font-size: 17px; color: rgba(255, 255, 255, .78); max-width: 52ch; margin-bottom: 24px; }
.vg-err__search { display: flex; gap: 8px; max-width: 560px; margin-bottom: 14px; }
.vg-err__search input { flex: 1; height: 54px; padding: 0 16px; background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--r); font-size: 16px; }
.vg-err__search input::placeholder { color: rgba(255, 255, 255, .55); }
.vg-err__search input:focus { border-color: var(--accent); outline: none; }
.vg-err__search .vg-btn { min-height: 54px; }
.vg-err__acts { display: flex; gap: 10px; flex-wrap: wrap; }

/* --- Подвал -------------------------------------------------------------- */
.vg-footer { position: relative; background: var(--ink); color: #A8B0BB; padding: 56px 0 26px; margin-top: 60px; font-size: 14.5px; overflow: hidden; isolation: isolate; }
.vg-footer__topo { position: absolute; inset: 0; z-index: 0; color: #fff; opacity: .05; pointer-events: none; }
.vg-footer > .vg-wrap { position: relative; z-index: 1; }
.vg-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 34px; border-bottom: 1px solid var(--line-dk); }
.vg-footer__brand p { font-size: 14.5px; line-height: 1.55; margin: 16px 0 18px; max-width: 340px; }
.vg-footer__phone { display: block; font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.vg-footer__phone:hover { color: var(--accent); }
.vg-footer__hours { display: block; font-size: 13px; margin: 4px 0 10px; }
.vg-footer__mail { color: var(--accent); }
.vg-footer__social { display: flex; gap: 8px; margin-top: 18px; }
.vg-footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-dk); border-radius: var(--r); color: #fff; transition: background var(--t), border-color var(--t), color var(--t); }
.vg-footer__social a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.vg-footer__col h2 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.vg-footer__col li { margin-bottom: 8px; }
.vg-footer__col a { font-size: 14.5px; display: inline-block; transition: color var(--t) var(--ease), transform var(--t) var(--ease); }
.vg-footer__col a:hover { transform: translateX(3px); }
.vg-footer__col a:hover { color: var(--accent); }
.vg-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; font-size: 13px; color: #6E7784; flex-wrap: wrap; }
.vg-footer__bottom p { margin: 0; }
.vg-footer__note { max-width: 480px; text-align: right; }

/* --- Нижняя панель ------------------------------------------------------- */
.vg-tabbar { display: none; }

/* --- Модальные окна, формы, уведомление ---------------------------------- */
.vg-modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 20px; background: rgba(10, 12, 15, .7); opacity: 0; transition: opacity var(--t); }
.vg-modal[hidden] { display: none; }
.vg-modal.is-open { opacity: 1; }
.vg-modal__box { position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: var(--r-lg); padding: 30px 28px 26px; box-shadow: var(--sh-2); max-height: 92vh; overflow-y: auto; transform: translateY(16px) scale(.98); transition: transform .3s var(--ease); }
.vg-modal.is-open .vg-modal__box { transform: none; }
.vg-modal__x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; color: var(--mute); border-radius: 50%; }
.vg-modal__x:hover { color: var(--text); background: var(--paper-2); }
.vg-modal h2 { font-size: 24px; margin-bottom: 8px; }
.vg-modal__sub { font-size: 15px; color: var(--mute); margin-bottom: 18px; line-height: 1.5; }
.vg-modal__or { position: relative; text-align: center; margin: 22px 0 14px; }
.vg-modal__or::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.vg-modal__or span { position: relative; background: #fff; padding: 0 12px; font-size: 13px; color: var(--mute); }
.vg-modal__msgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.vg-modal__msgs .vg-btn { min-height: 44px; font-size: 14px; }
.vg-modal__done { text-align: center; padding: 16px 0; }
.vg-modal__done .vg-ico { width: 56px; height: 56px; color: var(--ok); margin: 0 auto 14px; animation: vg-pop .5s var(--ease); }

.vg-form label { display: block; margin-bottom: 12px; }
.vg-form label > span { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 6px; color: var(--mute); }
.vg-form input[type="text"], .vg-form input[type="tel"], .vg-form input[type="email"], .vg-form textarea, .vg-form select { width: 100%; height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r); font-size: 16px; background: #fff; transition: border-color var(--t), box-shadow var(--t); -webkit-appearance: none; appearance: none; }
.vg-form textarea { height: auto; min-height: 96px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.vg-form input:focus, .vg-form textarea:focus { border-color: var(--text); outline: none; box-shadow: 0 0 0 3px rgba(245, 179, 1, .25); }
.vg-form input.has-error { border-color: var(--sale); animation: vg-shake .4s var(--ease); }
@keyframes vg-shake { 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }
.vg-form__hint { font-size: 13.5px; color: var(--mute); line-height: 1.45; margin: 0 0 14px; }
.vg-form__legal { font-size: 12px; color: var(--mute-2); line-height: 1.45; margin: 12px 0 0; }
.vg-form__legal a { text-decoration: underline; }
.vg-form .vg-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.vg-toast { position: fixed; left: 50%; bottom: 26px; z-index: var(--z-toast); transform: translate(-50%, 16px); padding: 13px 20px; background: var(--ink); color: #fff; border-radius: var(--r-lg); font-size: 14.5px; font-weight: 500; box-shadow: var(--sh-2); opacity: 0; transition: opacity var(--t), transform .3s var(--ease); max-width: calc(100vw - 40px); }
.vg-toast[hidden] { display: none; }
.vg-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.vg-toast--err { background: var(--sale); }

.vg-crumbs { padding: 14px 0 0; font-size: 13.5px; color: var(--mute); }
.vg-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.vg-crumbs li { display: flex; gap: 6px; align-items: center; }
.vg-crumbs li + li::before { content: '/'; color: var(--mute-2); }
.vg-crumbs a:hover { color: var(--accent-dk); }
.vg-crumbs--light { padding: 0 0 12px; color: rgba(255, 255, 255, .62); }
.vg-crumbs--light li + li::before { color: rgba(255, 255, 255, .35); }
.vg-crumbs--light a:hover { color: var(--accent); }

/* --- Чат: язычок у нижнего края, окно выезжает снизу -------------------- */
.vg-chat { position: fixed; right: 100px; bottom: 0; z-index: 160; }
.vg-chat__tab {
	display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px;
	background: #fff; color: var(--text); border-radius: var(--r-lg) var(--r-lg) 0 0;
	box-shadow: 0 -2px 24px rgba(10, 12, 15, .22); font-size: 15px; font-weight: 600;
	transform: translateY(110%); transition: transform .45s var(--ease), box-shadow var(--t);
	white-space: nowrap;
}
.vg-chat.is-visible .vg-chat__tab { transform: translateY(0); }
.vg-chat__tab:hover { transform: translateY(-4px); box-shadow: 0 -4px 30px rgba(10, 12, 15, .3); }
.vg-chat__tab .vg-ico { color: var(--accent-dk); }
.vg-chat.is-open .vg-chat__tab { transform: translateY(110%); pointer-events: none; }
.vg-chat__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mute-2); flex: none; }
.vg-chat__dot.is-on { background: var(--ok); box-shadow: 0 0 0 3px rgba(63, 140, 58, .18); }
.vg-chat__box {
	position: absolute; right: 0; bottom: 0; width: 372px; height: 560px; max-height: calc(100vh - 100px);
	display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0;
	box-shadow: var(--sh-2); overflow: hidden;
	transform: translateY(105%); transition: transform .35s var(--ease);
}
.vg-chat__box[hidden] { display: none; }
.vg-chat.is-shown .vg-chat__box { transform: translateY(0); }
.vg-chat__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: var(--ink); color: #fff; }
.vg-chat__head b { display: block; font-size: 15px; }
.vg-chat__head i { font-style: normal; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.vg-chat__head button { color: #fff; width: 40px; height: 40px; display: grid; place-items: center; margin-right: -10px; }
.vg-chat__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.vg-chat__msg { max-width: 84%; padding: 10px 13px; border-radius: var(--r-lg); font-size: 14.5px; line-height: 1.45; animation: vg-in .3s var(--ease); }
.vg-chat__msg p { margin: 0 0 .6em; }
.vg-chat__msg p:last-child { margin: 0; }
.vg-chat__msg a { color: var(--accent-dk); text-decoration: underline; word-break: break-word; }
.vg-chat__msg--in { align-self: flex-start; background: var(--paper-2); }
.vg-chat__msg--out { align-self: flex-end; background: var(--ink); color: #fff; }
.vg-chat__msg--out a { color: var(--accent); }
.vg-chat__typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; }
.vg-chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--mute-2); animation: vg-blink 1.2s infinite; }
.vg-chat__typing i:nth-child(2) { animation-delay: .2s; }
.vg-chat__typing i:nth-child(3) { animation-delay: .4s; }
@keyframes vg-blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.vg-chat__chips { display: flex; gap: 6px; padding: 0 12px 10px; flex-wrap: wrap; }
.vg-chat__chips button { padding: 7px 11px; border: 1px solid var(--line); border-radius: 100px; font-size: 12.5px; color: var(--mute); transition: border-color var(--t), color var(--t); }
.vg-chat__chips button:hover { border-color: var(--text); color: var(--text); }
.vg-chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.vg-chat__form input { flex: 1; height: 44px; padding: 0 14px; font-size: 15px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.vg-chat__form input:focus { border-color: var(--text); outline: none; }
.vg-chat__form button { width: 44px; height: 44px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); border-radius: var(--r); }
.vg-chat__form button:hover { background: var(--accent-dk); }

/* --- Кнопка звонка ------------------------------------------------------- */
.vg-callfab {
	position: fixed; right: 24px; bottom: 22px; z-index: 161;
	width: 56px; height: 56px; border-radius: 50%;
	background: var(--accent); color: var(--accent-ink);
	display: grid; place-items: center; box-shadow: 0 8px 24px rgba(245, 179, 1, .35);
	transition: transform .3s var(--ease), background var(--t);
}
.vg-callfab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: vg-ring 2.6s var(--ease) infinite; }
@keyframes vg-ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.vg-callfab:hover { transform: translateY(-3px) scale(1.04); background: var(--accent-dk); }
.vg-callfab .vg-ico { width: 24px; height: 24px; }
.vg-callfab__hint {
	position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px);
	padding: 8px 12px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500;
	border-radius: var(--r); white-space: nowrap; opacity: 0; pointer-events: none;
	transition: opacity var(--t), transform .3s var(--ease);
}
.vg-callfab:hover .vg-callfab__hint { opacity: 1; transform: translateY(-50%); }

/* --- Адаптив ------------------------------------------------------------- */
@media (max-width: 1200px) {
	.vg-header__phone i { display: none; }
	.vg-catalog__panel { grid-template-columns: 236px minmax(520px, 1fr); }
	.vg-catalog__col.is-active { grid-template-columns: 1fr; }
	.vg-catalog__photo { display: none; }
	.vg-camos { grid-template-columns: repeat(4, 1fr); }
	.vg-cats { grid-auto-rows: 190px; }
}

@media (max-width: 1024px) {
	:root { --head-h: 68px; }
	.vg-header__phone { display: none; }
	.vg-grid { grid-template-columns: repeat(3, 1fr); }
	.vg-cats { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
	.vg-cat--lead { grid-column: span 3; grid-row: span 1; }
	.vg-cat--lead .vg-cat__name { font-size: 26px; }
	.vg-kits { grid-template-columns: 1fr 1fr; }
	.vg-kits .vg-kit:last-child { grid-column: span 2; }
	.vg-kits .vg-kit:last-child .vg-kit__media { aspect-ratio: 16 / 7; }
	.vg-reviews { grid-template-columns: 1fr; }
	.vg-posts { grid-template-columns: repeat(2, 1fr); }
	.vg-product { grid-template-columns: 1fr; gap: 26px; }
	.vg-buy { position: static; }
	.vg-gal__main { max-width: 560px; }
	.vg-shop { grid-template-columns: 1fr; gap: 0; }
	.vg-shop__side { display: none; position: static; }
	.vg-shop__side.is-open { display: block; position: fixed; inset: 0; z-index: var(--z-panel); background: #fff; padding: 20px; overflow-y: auto; }
	.vg-shop__filterbtn { display: inline-flex; }
	.vg-hero { min-height: min(86vh, 760px); }
	.vg-about__in { grid-template-columns: 1fr; gap: 28px; }
	.vg-footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
	.vg-err__in { grid-template-columns: 1fr; gap: 28px; text-align: center; }
	.vg-radar { margin: 0 auto; width: 220px; }
	.vg-err__search { margin-left: auto; margin-right: auto; }
	.vg-err__acts { justify-content: center; }
}

@media (max-width: 860px) {
	.vg-catalog { display: none; }
	.vg-header__burger { display: grid; }
	.vg-header__in { gap: 10px; }
	.vg-search { display: none; }
	.vg-act--search { display: grid; }
	.vg-header--over .vg-header__in { min-height: 64px; }
}

@media (max-width: 768px) {
	:root { --gut: 16px; }
	.vg-sec { padding: 40px 0; }
	.vg-sec__head { margin-bottom: 20px; }
	.vg-sec__head--row { flex-direction: column; align-items: flex-start; gap: 8px; }
	.vg-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.vg-cats { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
	.vg-cat--lead { grid-column: span 2; grid-row: span 1; }
	.vg-cat--lead .vg-cat__name { font-size: 24px; }
	.vg-cat__name { font-size: 17px; }
	.vg-cat__body { padding: 14px; }
	.vg-cat__subs { display: none; }
	.vg-kits { grid-template-columns: 1fr; }
	.vg-kits .vg-kit:last-child { grid-column: auto; }
	.vg-kits .vg-kit:last-child .vg-kit__media { aspect-ratio: 4 / 3; }
	.vg-posts { grid-template-columns: 1fr; }
	.vg-gal { grid-template-columns: 1fr; }
	.vg-gal__thumbs { flex-direction: row; max-height: none; overflow-x: auto; order: 2; }
	.vg-gal__thumbs button { flex: 0 0 68px; }
	.vg-hero { min-height: min(84vh, 680px); }
	.vg-hero__in { padding: calc(var(--head-h) + 40px) var(--gut) 76px; }
	.vg-hero__title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
	.vg-hero__text { font-size: 15.5px; }
	.vg-hero__nav { left: var(--gut); right: auto; bottom: 26px; }
	.vg-hero__nav button { width: 40px; }
	.vg-ticker { font-size: 13.5px; }
	.vg-marquee li a { font-size: 24px; padding: 0 28px; height: 56px; }
	.vg-about__facts { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
	.vg-about__facts b { font-size: 22px; }
	.vg-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
	.vg-tabbar a, .vg-tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 2px 8px; font-size: 10.5px; color: var(--mute); line-height: 1.1; }
	.vg-tabbar .vg-ico { width: 22px; height: 22px; }
	.vg-tabbar a.is-current { color: var(--text); }
	.vg-tabbar .vg-act__num { top: 4px; right: 50%; margin-right: -22px; }
	body { padding-bottom: 62px; }
	.vg-footer__bottom { flex-direction: column; }
	.vg-footer__note { text-align: left; }
	.vg-modal { padding: 0; align-items: flex-end; }
	.vg-modal__box { max-width: none; border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 26px 20px 28px; max-height: 88vh; transform: translateY(40px); }
	.vg-buy h1 { font-size: 1.5rem; }
	.vg-buy__price b { font-size: 28px; }
	.vg-buy__row { flex-wrap: wrap; }
	.vg-chat { left: 12px; right: auto; bottom: 62px; }
	.vg-chat__tab { height: 44px; padding: 0 14px 0 12px; font-size: 13.5px; border-radius: var(--r-lg); box-shadow: var(--sh); }
	.vg-chat__tab span { display: none; }
	.vg-chat__tab::after { content: 'Чат'; }
	.vg-chat.is-visible .vg-chat__tab { transform: translateY(-10px); }
	.vg-chat.is-open { left: 0; right: 0; bottom: 0; }
	.vg-chat__box { position: fixed; inset: 0; width: 100%; height: 100dvh; max-height: none; border-radius: 0; }
	.vg-callfab { right: 14px; bottom: 74px; width: 52px; height: 52px; }
	.vg-callfab__hint { display: none; }
	.vg-err { min-height: auto; padding-bottom: 20px; }
	.vg-err__in { padding-top: calc(var(--head-h) + 30px); padding-bottom: 40px; }
	.vg-err__search { flex-direction: column; }
}

@media (max-width: 560px) {
	.vg-footer__top { grid-template-columns: 1fr; gap: 24px; }
	.vg-camos { grid-template-columns: repeat(4, 1fr); gap: 8px; }
	.vg-camo__name { font-size: 12.5px; }
	.vg-card__title { font-size: 14px; }
	.vg-card__price { font-size: 18px; }
	.vg-card__body { padding: 10px; }
	.vg-card__cta { grid-template-columns: 1fr; }
	.vg-card__cta .vg-btn--icon { display: none; }
	.vg-card__sizes { display: none; }
	.vg-swatch, .vg-swatch__more { width: 34px; height: 34px; min-width: 34px; }
	.vg-shop__bar { gap: 10px; }
	.vg-about__facts { grid-template-columns: 1fr; }
	.vg-about__facts li { display: flex; align-items: baseline; gap: 10px; }
	.vg-about__facts b { margin: 0; min-width: 84px; }
}

@media (max-width: 390px) {
	.vg-logo__text { font-size: 19px; }
	.vg-logo__mark .vg-ico { width: 30px; height: 30px; }
	.vg-grid { gap: 8px; }
	.vg-cats { grid-auto-rows: 136px; }
	.vg-hero__acts .vg-btn { flex: 1; }
}

@media print {
	.vg-header, .vg-tabbar, .vg-footer, .vg-modal, .vg-toast, .vg-chat, .vg-ticker { display: none !important; }
}

/* --- Быстрый просмотр ----------------------------------------------------- */
.vg-modal--peek .vg-modal__box { max-width: 880px; padding: 26px; }
.vg-peek { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.vg-peek__load { grid-column: 1 / -1; padding: 48px 0; text-align: center; color: var(--mute); }
.vg-peek__main { aspect-ratio: 1 / 1; background: var(--paper-2); border-radius: var(--r-lg); overflow: hidden; }
.vg-peek__main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .28s var(--ease); }
.vg-peek__thumbs { display: flex; gap: 6px; margin-top: 8px; }
.vg-peek__thumbs button { width: 54px; height: 54px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; transition: border-color .25s var(--ease); }
.vg-peek__thumbs button.is-active, .vg-peek__thumbs button:hover { border-color: var(--ink); }
.vg-peek__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.vg-peek__brand { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin: 0 0 6px; }
.vg-peek h2 { font-size: 23px; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 8px; }
.vg-peek h2 a { color: inherit; }
.vg-peek__sku { font-size: 13px; color: var(--mute); margin: 0 0 8px; }
.vg-peek__stock { font-size: 13.5px; font-weight: 600; margin: 0 0 12px; color: var(--ok); }
.vg-peek__stock.is-mid { color: #E08A00; }
.vg-peek__stock.is-low { color: var(--sale); }
.vg-peek__stock.is-out { color: var(--mute-2); }
.vg-peek__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.vg-peek__price b { font-size: 30px; font-weight: 400; letter-spacing: -.03em; }
.vg-peek__price b i { font-style: normal; font-size: 16px; color: var(--mute); }
.vg-peek__price del { font-size: 15px; font-weight: 700; color: var(--mute-2); }
.vg-peek__price em { font-style: normal; padding: 3px 8px; background: var(--sale); color: #fff; font-size: 12px; font-weight: 700; border-radius: var(--r); }
.vg-peek__row { margin-bottom: 14px; }
.vg-peek__row > b { display: block; font-size: 12.5px; font-weight: 600; color: var(--mute); margin-bottom: 7px; }
.vg-peek__colors { display: flex; flex-wrap: wrap; gap: 6px; }
.vg-peek__colors span { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: block; }
.vg-peek__colors img { width: 100%; height: 100%; object-fit: cover; }
.vg-sizes--peek span { min-width: 46px; height: 36px; font-size: 13px; color: var(--mute); cursor: default; }
.vg-peek__text { font-size: 14px; color: var(--mute); margin: 0 0 16px; }
.vg-peek__cta { display: grid; gap: 8px; }

@media (max-width: 720px) {
	.vg-modal--peek .vg-modal__box { max-width: 100%; padding: 22px 18px; }
	.vg-peek { grid-template-columns: 1fr; gap: 18px; }
	.vg-peek h2 { font-size: 20px; }
	.vg-peek__price b { font-size: 26px; }
}
