/*!
Theme Name: vigor
Theme URI: http://underscores.me/
Author: xside
Author URI: http://xside
Description: vigor
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: vigor
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready


*/

/* ============================================================================
   VIGOR E‑COMMERCE — STYLE.CS S (PART 1/4)
   - Цветовая система, типографика, контейнеры
   - Базовые утилиты, кнопки, чипы, бейджи, формы
   - Шапка/мегаменю/офканвас, поиск, мини‑корзина
   - Home: hero‑grid, плитки категорий, deal, промо‑пары, picker
   - Сетки/карточки товаров (desktop+mobile), табы
   Версия: 2.0.0
   ========================================================================== */

/* ============================== 0. TOKENS ================================= */

:root {
	/* Brand palette — основной цвет кнопок и сайта */
	--brand-h: 222;
	--brand-s: 86%;
	--brand-l: 22%;
	--brand: #082567;
	--brand-50: hsl(var(--brand-h) 100% 97%);
	--brand-100: hsl(var(--brand-h) 95% 93%);
	--brand-200: hsl(var(--brand-h) 90% 86%);
	--brand-300: hsl(var(--brand-h) 86% 78%);
	--brand-400: hsl(var(--brand-h) 86% 62%);
	--brand-500: var(--brand);
	--brand-600: #082567;
	--brand-700: #082567;
	--brand-old: #1e55d3;
	--brand-800: hsl(var(--brand-h) 95% 29%);
	--brand-hover-bg: #c9a95b;
	--brand-hover-ink: #000000;
  
	/* Accent palette (оранж) */
	--accent-h: 26;
	--accent: hsl(var(--accent-h) 100% 50%);
	--accent-600: hsl(var(--accent-h) 88% 48%);
	--accent-700: hsl(var(--accent-h) 82% 44%);
  
	/* Semantic */
	--success: #10b981;
	--warning: #f59e0b;
	--danger: #ef4444;
	--info: #0ea5e9;
  
	/* Neutrals */
	--ink: #0f172a;
	/* основной текст */
	--ink-2: #1f2937;
	/* заголовки */
	--ink-3: #475569;
	/* доп. текст */
	--muted: #94a3b8;
	/* примечания */
	--paper: #ffffff;
	--bg: #f7f8fb;
	--bg-2: #f1f3f9;
	--bg-3: #e8ecf6;
	--line: #e4e7f0;
  
	/* Elevation */
	--sh-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 0 1px rgba(15, 23, 42, .05);
	--sh-md: 0 6px 16px rgba(15, 23, 42, .10);
	--sh-lg: 0 14px 32px rgba(15, 23, 42, .18);
  
	/* Radius / Spaces */
	--r-4: 4px;
	--r-6: 6px;
	--r-8: 8px;
	--r-10: 10px;
	--r-12: 12px;	
	--r-16: 16px;
	--r-20: 20px;
	--s-2: 2px;
	--s-4: 4px;
	--s-6: 6px;
	--s-8: 8px;
	--s-10: 10px;
	--s-12: 12px;
	--s-14: 14px;
	--s-16: 16px;
	--s-18: 18px;
	--s-20: 20px;
	--s-24: 24px;
	--s-28: 28px;
	--s-32: 32px;
	--s-40: 40px;
	--s-48: 48px;
	--s-56: 56px;
	--s-64: 64px;
	--s-80: 80px;
  
	/* Typography */
	--font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	--fs-10: 10px;
	--fs-12: 12px;
	--fs-13: 13px;
	--fs-14: 14px;
	--fs-15: 15px;
	--fs-16: 16px;
	--fs-18: 18px;
	--fs-20: 20px;
	--fs-22: 22px;
	--fs-24: 24px;
	--fs-28: 28px;
	--fs-32: 32px;
	--fs-36: 36px;
	--fs-40: 40px;
	--fs-48: 48px;
	--fs-56: 56px;
  
	/* Layout */
	--container: 1280px;
	--gutter: 20px;
	--hdr-h: 72px;
  
	/* Transitions */
	--tr-fast: .15s ease;
	--tr: .25s ease;
  }
  
  /* ============================== 1. RESET ================================== */
  
  *,
  *::before,
  *::after {
	box-sizing: border-box;
	position: relative;
  }
  
  html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
  }
  
  body {
	margin: 0;
	font-family: var(--font);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.55;
	font-size: var(--fs-16);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
  }
  
  img,
  svg,
  video,
  canvas {
	display: block;
	max-width: 100%;
	height: auto;
  }
  
  picture {
	display: block;
  }
  
  a {
	color: var(--brand-700);
	text-decoration: none;
	transition: color var(--tr-fast);
  }
  
  a:hover {
	color: var(--brand-800);
	text-decoration: underline;
  }
  
  a:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
	border-radius: 6px;
  }
  
  button,
  input,
  select,
  textarea {
	font: inherit;
	color: inherit;
  }
  
  button {
	cursor: pointer;
  }
  
  ul,
  ol {
	margin: 0 0 var(--s-16);
	padding-left: var(--s-20);
  }
  
  p {
	margin: 0 0 var(--s-16);
  }

  p:last-child {
	margin-bottom: 0;
  }
  
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
	margin: 0 0 var(--s-12);
	font-weight: 700;
	color: var(--ink-2);
	line-height: 1.25;
  }
  
  h1 {
	font-size: clamp(28px, 2.6vw, var(--fs-48));
  }
  
  h2 {
	font-size: clamp(22px, 2vw, var(--fs-36));
  }
  
  h3 {
	font-size: clamp(18px, 1.6vw, var(--fs-24));
  }
  
  h4 {
	font-size: var(--fs-18);
  }
  
  blockquote {
	font-size: var(--fs-16);
	color: var(--brand-600);
	margin: 0 0 var(--s-16);
	padding-left: var(--s-20);
	border-left: 2px solid var(--brand-600);
  }
  
  /* ========================= 2. CONTAINERS / UTILS ========================== */
  
  .container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
  }
  
  .section {
	padding-block: clamp(20px, 5vw, 56px);
  }
  
  .section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-16);
	margin: var(--s-16) 0;
  }
  
  .section-head--row {
	align-items: center;
  }
  
  .section-sub {
	color: var(--ink-3);
	margin-top: -6px;
  }
  
  .muted {
	color: var(--muted);
  }
  
  .shadow-sm {
	box-shadow: var(--sh-sm);
  }
  
  .shadow-md {
	box-shadow: var(--sh-md);
  }
  
  .shadow-lg {
	box-shadow: var(--sh-lg);
  }
  
  .visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
  }
  
  /* Responsive helpers */
  .only-desktop {
	display: block;
  }
  
  .only-mobile {
	display: none;
  }
  
  
  
  /* =========================== 3. BUTTONS / LINKS =========================== */
  
  .btn {
	--btn-bg: var(--brand-600);
	--btn-ink: #fff;
	--btn-bd: transparent;
  
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 44px;
	padding: 0 18px;
	border-radius: var(--r-12);
	border: 1px solid var(--btn-bd);
	color: var(--btn-ink);
	background: var(--btn-bg);
	font-weight: 700;
	letter-spacing: .01em;
	box-shadow: var(--sh-sm);
	transition: transform var(--tr-fast), background var(--tr), color var(--tr), border-color var(--tr);
	text-decoration: none;
  }
  
  .btn:hover:not(.btn--link) {
	transform: translateY(-1px);
	background: var(--brand-hover-bg, #00d868);
	color: var(--brand-hover-ink, #000000);
	border-color: var(--brand-hover-bg, #00d868);
  }
  
  .btn:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
  }
  
  .btn:active {
	transform: translateY(0);
  }
  
  .btn:disabled {
	opacity: .55;
	cursor: not-allowed;
  }
  
  .btn--primary {
	--btn-bg: var(--brand-600);
	--btn-ink: #fff;
  }
  
  .btn--secondary {
	--btn-bg: #fff;
	--btn-ink: var(--brand-700);
	--btn-bd: var(--brand-600);
  }
  
  .btn--ghost {
	--btn-bg: transparent;
	--btn-ink: var(--brand-700);
	--btn-bd: transparent;
	box-shadow: none;
  }
  
  .btn--outline {
	--btn-bg: #fff;
	--btn-ink: var(--ink-2);
	--btn-bd: var(--line);
  }
  
  .btn--danger {
	--btn-bg: var(--danger);
  }
  
  .btn--success {
	--btn-bg: var(--success);
  }
  
  .btn--info {
	--btn-bg: var(--info);
  }
  
  .btn--sm {
	height: 34px;
	padding-inline: 12px;
	border-radius: var(--r-10);
	font-weight: 700;
  }
  
  .btn--lg {
	height: 52px;
	padding-inline: 22px;
	font-size: var(--fs-18);
  }
  
  .btn--xl {
	height: 56px;
	padding-inline: 26px;
	font-size: var(--fs-18);
	border-radius: var(--r-16);
  }
  
  .btn--block {
	width: 100%;
  }
  
  .btn--link {
	--btn-bg: transparent;
	--btn-ink: var(--brand-700);
	--btn-bd: transparent;
	box-shadow: none;
	height: auto;
	padding: 0;
  }
  
  .btn--link:hover {
	text-decoration: underline;
	transform: none;
  }
  
  /* Icon button */
  .btn-icon {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink-2);
	box-shadow: var(--sh-sm);
	transition: border-color var(--tr), color var(--tr), transform var(--tr-fast);
  }
  
  .btn-icon:hover {
	border-color: var(--brand-600);
	background: var(--brand-hover-bg, #00d868);
	color: var(--brand-hover-ink, #000000);
	transform: translateY(-1px);
  }
  
  .btn-icon:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
  }
  
  .btn-icon:active {
	transform: translateY(0);
  }

  .btn-icon.active {
	border-color: var(--brand-600);
	background: var(--brand-50);
	color: var(--brand-700);
  }

  .btn-icon.active img {
	/* тёмно-синий #082567 для активной иконки */
	filter: brightness(0) saturate(100%) invert(14%) sepia(92%) saturate(2500%) hue-rotate(222deg) brightness(40%) contrast(95%);
  }
  
  /* Links with chevron */
  .link-more {
	font-weight: 700;
	color: #082567;
  }
  
  .link-more:hover {
	color: #082567;
  }
  
  /* =========================== 4. CHIPS / BADGES ============================ */
  
  .chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	padding: 0 14px 0 14px;
	background: #fff;
	color: var(--ink-2);
	border: 1px solid var(--line);
	border-radius: 999px;
	font-weight: 700;
	box-shadow: var(--sh-sm);
	transition: border-color var(--tr), color var(--tr), background var(--tr);
	text-wrap-mode: nowrap;
	  min-width: fit-content;
  }
  
  .chip:hover {
	border-color: var(--brand-600);
	color: var(--brand-700);
	text-decoration: none;
	background: var(--brand-50);
  }
  
  .chip:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
  }
  
  .chip--applied {
	background: var(--brand-50);
	border-color: var(--brand-600);
	color: var(--brand-700);
  }
  
 
  
  /* Pills (small badges inside PDP) */
  .pill-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--bg-2);
	color: var(--ink-2);
	border: 1px solid var(--line);
	font-weight: 700;
  }
  
  /* Badges */
  .badge {
	display: inline-block;
	padding: 2px 6px;
	font-size: var(--fs-12);
	font-weight: 700;
	border-radius: 8px;
	background: var(--bg-2);
	color: var(--ink-2);
	box-shadow: var(--sh-sm);
  }
  
  .badge--sale {
	background: #ffe8ec;
	color: #c11235;
  }
  
  .badge--new {
	background: #eaf6ff;
	color: #0a74bd;
  }
  
  .badge--hit {
	background: #eafcf2;
	color: #0a9662;
  }
  
  .badge--flag {
	background: #f5efff;
	color: #6a3fd5;
  }

  .badge--old {
	background: #f3f4f6;
	color: #6b7280;
	border: 1px solid #d1d5db;
	font-weight: 600;
  }

  .badge--custom {
	background: #eafcf2;
	color: #0a9662;
	border: 1px solid;
  }
  
  /* ============================== 5. FORMS ================================== */
  
  input[type="text"],
  input[type="search"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
	width: 100%;
	height: 40px;
	border: 1px solid var(--line);
	border-radius: var(--r-10);
	padding: 0 12px;
	background: #fff;
	color: var(--ink-2);
	transition: border-color var(--tr), box-shadow var(--tr);
  }
  
  textarea {
	padding: 12px;
	height: auto;
	resize: vertical;
	min-height: 110px;
  }
  
  input:focus,
  select:focus,
  textarea:focus {
	border-color: var(--brand-600);
	box-shadow: 0 0 0 3px hsl(var(--brand-h) 86% 45% / .15);
	outline: none;
  }
  
  .form {
	display: grid;
	gap: var(--s-12);
  }
  
  .form__row {
	display: grid;
	gap: 6px;
  }
  
  .form__row>span {
	color: var(--ink-3);
	font-weight: 700;
	font-size: var(--fs-14);
  }
  
  .form__checkbox {
	display: grid;
	grid-template-columns: 18px 1fr;
	gap: 8px;
	align-items: flex-start;
	font-size: var(--fs-14);
	color: var(--ink-3);
  }
  
  /* Simple select look fix on iOS */
  select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
	background-position: calc(100% - 16px) 16px, calc(100% - 11px) 16px;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
  }
  
  /* ============================ 6. HEADER =================================== */
  
  .site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #fff;
	box-shadow: var(--sh-sm);
  }
  
  .topbar {
	border-bottom: 1px solid var(--line);
	background: #fff;
	color: var(--ink-3);
	font-size: var(--fs-14);
  }
  
  .topbar .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-16);
	padding-block: 8px;
  }
  
  .topbar__left,
  .topbar__right {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 16px;
  }
  
  .topbar__sep {
	color: var(--line);
  }

  .topbar__sep:last-child {
	display: none;
  }
  
  .topbar__link {
	color: var(--ink-2);
	font-weight: 700;
  }
  
  .topbar__link:hover {
	color: var(--brand-700);
  }
  
  .topbar__link:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
  }

  .topbar__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
  }

  .topbar__menu > li {
	margin: 0;
  }

  .topbar__menu a {
	color: var(--ink-2);
	font-weight: 700;
	text-decoration: none;
  }

  .topbar__menu a:hover {
	color: var(--brand-700);
  }

  .topbar__menu a:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
  }

  /* ===== REGION SELECTOR ===== */

  .region-selector {
	position: relative;
	margin-left: auto;
  }

  .region-selector__btn {
	display: flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	padding: 4px 8px;
	border-radius: 6px;
	cursor: pointer;
	font-family: inherit;
	font-size: var(--fs-14);
	font-weight: 700;
	color: var(--ink-2);
	transition: color .2s, background .2s;
	white-space: nowrap;
  }

  .region-selector__btn:hover {
	color: var(--brand-700);
	background: var(--brand-50, rgba(0,0,0,.04));
  }
  
  .region-selector__btn:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
  }

  .region-selector__arrow {
	transition: transform .2s;
  }

  .region-selector__btn[aria-expanded="true"] .region-selector__arrow {
	transform: rotate(180deg);
  }

  .region-selector__dropdown {
	position: absolute;
	top: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
	padding: 14px 16px;
	z-index: 1000;
	min-width: 240px;
  }

  .region-selector__title {
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-3);
	margin-bottom: 10px;
	text-align: center;
  }

  .region-selector__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px 12px;
  }

  .region-selector__option {
	display: block;
	width: 100%;
	background: none;
	border: none;
	padding: 7px 10px;
	border-radius: 6px;
	cursor: pointer;
	font-family: inherit;
	font-size: var(--fs-14);
	color: var(--ink-1);
	text-align: left;
	transition: background .15s, color .15s;
  }

  .region-selector__option:hover {
	background: var(--brand-50, #f0f4ff);
	color: var(--brand-700);
  }

  .region-selector__option.is-active {
	color: var(--brand-700);
	font-weight: 700;
	background: var(--brand-50, #f0f4ff);
  }

  /* ===== / REGION SELECTOR ===== */
  
  .navbar {
	height: var(--hdr-h);
	display: grid;
	align-items: center;
	background: #fff;
  }
  
  .navbar__container {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	align-items: center;
	gap: var(--s-16);
  }
  
  .logo img {
	width: 128px;
	height: auto;
  }
  
  .nav-primary {
	display: flex;
	align-items: center;
	gap: var(--s-12);
  }
  
  .btn--catalog {
	--btn-bg: var(--brand-600);
	--btn-ink: #fff;
	height: 40px;
	border-radius: var(--r-10);
	box-shadow: var(--sh-sm);
  }
  
  .nav-primary__list {
	display: flex;
	align-items: center;
	gap: var(--s-12);
	list-style: none;
	padding: 0;
	margin: 0;
  }
  
  .nav-primary__list a {
	color: var(--ink-2);
	font-weight: 700;
  }
  
  .nav-primary__list a:hover {
	color: var(--brand-700);
	text-decoration: none;
  }
  
  .nav-primary__list a:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
  }
  
  .menu-item-icon {
	display: inline-flex;
	align-items: center;
	margin-right: 6px;
	vertical-align: middle;
  }
  
  .menu-item-icon img {
	width: 16px;
	height: 16px;
	object-fit: contain;
	display: block;
  }
  
  .header-search {
	position: relative;
	display: flex;
	align-items: stretch;
	height: 40px;
	background: transparent;
	overflow: visible;
  }
  
  .header-search__input {
	flex: 1 1 auto;
	height: 100%;
	padding-inline: 12px 54px;
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-12);
	transition: border-color var(--tr), box-shadow var(--tr);
  }
  .header-search input.header-search__input:focus {
	outline: none;
	border-color: var(--brand-600);
	box-shadow: 0 0 0 3px hsl(var(--brand-h) 86% 45% / .15);
  }
  
  .header-search__btn {
	position: absolute;
	top: 1px;
	right: 11px;
	bottom: 1px;
	width: 44px;
	padding: 0;
	border: 0;
	background: var(--bg-2);
	color: var(--ink-2);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0 var(--r-12) var(--r-12) 0;
	flex-shrink: 0;
  }
  
  .header-search__btn:hover {
	background: var(--brand-50);
	color: var(--brand-700);
  }
  
  .header-search__icon {
	flex-shrink: 0;
  }
  
  .header-search__suggestions {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-12);
	padding: var(--s-12);
	box-shadow: var(--sh-md);
	min-height: 80px;
	display: none;
	z-index: 1100;
  }
  
  /*.header-search__suggestions:not(:empty) {
	display: block;
  }*/
  
  .header-search:focus-within .header-search__suggestions:empty {
	display: grid;
	gap: var(--s-12);
  }
  
  .suggestions__section {
	display: grid;
	gap: 6px;
  }
  
  .suggestions__title {
	font-size: var(--fs-12);
	color: var(--muted);
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
  }
  
  .suggestions__list,
  .suggestions__cats {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
  }
  
  .suggestions__list button {
	background: var(--bg-2);
	border: 1px solid var(--line);
	padding: 6px 10px;
	border-radius: 999px;
  }
  
  .suggestions__cats a {
	padding: 6px 10px;
	background: var(--brand-50);
	border: 1px solid var(--brand-600);
	border-radius: 999px;
	color: var(--brand-700);
  }

 
  
  .contacts {
	display: grid;
	gap: 2px;
	justify-items: start;
  }
  
  .contacts__phone {
	font-weight: 700;
	color: var(--brand-700);
  }
  
  .contacts__meta {
	color: var(--muted);
	font-size: var(--fs-13);
  }
  
  .user-actions {
	display: flex;
	align-items: center;
	gap: 10px;
  }
  
  .ua {
	position: relative;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink-2);
  }
  
  .ua__badge {
	position: absolute;
	right: -6px;
	top: -6px;
	min-width: 18px;
	height: 18px;
	border-radius: 999px;
	background: var(--danger);
	color: #fff;
	display: grid;
	place-items: center;
	padding: 0 4px;
	font-weight: 700;
	font-size: 11px;
  }
  
  /* Mini cart */
  .mini-cart {
	position: relative;
  }
  
  .mini-cart__btn {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: var(--r-12);
	border: 1px solid var(--line);
	background: #fff;
  }
  
  .mini-cart__count {
	position: absolute;
	right: -6px;
	top: -6px;
	min-width: 18px;
	height: 18px;
	border-radius: 9px;
	background: var(--danger);
	color: #fff;
	display: grid;
	place-items: center;
	padding: 0 4px;
	font-weight: 700;
	font-size: 11px;
  }
  
  .mini-cart__items {
	max-height: none;
	overflow: auto;
	display: grid;
	gap: var(--s-12);
  }

  .mini-cart__empty {
	padding: var(--s-20);
	text-align: center;
	color: var(--ink-3);
  }
  
  .mini-cart__item {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	gap: var(--s-12);
	align-items: center;
	padding: var(--s-8);
	border: 1px solid var(--line);
	border-radius: var(--r-10);
	background: #fff;
  }
  
  .mini-cart__item-image {
	width: 64px;
	height: 64px;
	border-radius: var(--r-10);
	overflow: hidden;
	background: var(--bg-2);
	display: block;
	flex-shrink: 0;
  }

  .mini-cart__item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
  }
  
  .mini-cart__item-info {
	display: grid;
	gap: 4px;
	flex: 1;
	min-width: 0;
  }

  .mini-cart__item-title {
	font-size: var(--fs-14);
	font-weight: 600;
	color: var(--ink-2);
	text-decoration: none;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
  }

  .mini-cart__item-title:hover {
	color: var(--brand-600);
  }

  .mini-cart__item-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: var(--fs-13);
	color: var(--ink-3);
  }

  .mini-cart__item-price {
	font-weight: 700;
	color: var(--ink-2);
  }

  .mini-cart__item-qty {
	color: var(--ink-3);
  }

  .mini-cart__item-remove {
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 0;
	background: #fff;
	color: var(--ink-3);
	font-size: 24px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
  }

  .mini-cart__item-remove:hover {
	background: var(--danger);
	color: #fff;
	border-color: var(--danger);
  }
  
  .mini-cart__item-remove:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
  }

  /* Wishlist styles */
  .wishlist__items {
	max-height: none;
	overflow: auto;
	display: grid;
	gap: var(--s-12);
  }
  
  .wishlist__empty {
	padding: var(--s-20);
	text-align: center;
	color: var(--ink-3);
  }
  
  .wishlist__item {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	gap: var(--s-12);
	align-items: center;
	padding: var(--s-8);
	border: 1px solid var(--line);
	border-radius: var(--r-10);
	background: #fff;
  }
  
  .wishlist__item-image {
	width: 85px;
    height: 95px;
	border-radius: var(--r-10);
	overflow: hidden;
	background: var(--bg-2);
	display: block;
	flex-shrink: 0;
	border: 1px solid var(--line);
  }

  .wishlist__item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
  }
  
  .wishlist__item-info {
	display: grid;
	gap: 4px;
	flex: 1;
	min-width: 0;
  }

  .wishlist__item-title {
	font-size: var(--fs-14);
	font-weight: 600;
	color: var(--ink-2);
	text-decoration: none;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
  }

  .wishlist__item-title:hover {
	color: var(--brand-600);
  }

  .wishlist__item-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: var(--fs-13);
	color: var(--ink-3);
	margin-bottom: var(--s-8);
  }

  .wishlist__item-price {
	font-weight: 700;
	color: var(--ink-2);
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 10px;
  }

  .wishlist__item-price ins{
	text-decoration: none;
  }

  .wishlist__item-price del {
	font-size: .8em;
	color: var(--muted);
  }

  .wishlist__item-actions {
	display: flex;
	gap: var(--s-8);
  }

  .wishlist__item-actions .btn {
	font-size: var(--fs-13);
	padding: var(--s-2) var(--s-12);
  }

  .wishlist__item-remove {
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 0;
	background: #fff;
	color: var(--ink-3);
	font-size: 24px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	flex-shrink: 0;
  }

  .wishlist__item-remove:hover {
	background: var(--danger);
	color: #fff;
	border-color: var(--danger);
  }
  
  .wishlist__item-remove:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
  }

  /* Cart drawer (right sidebar) */

  .cart-drawer {
	position: fixed;
	inset: 0;
	z-index: 1300;
	display: none;
  }

  .cart-drawer[aria-hidden="false"] {
	display: block;
  }

  .cart-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, .45);
  }

  .cart-drawer__panel {
	position: absolute;
	right: 0;
	top: 0;
	height: 100vh;
	width: min(420px, 100%);
	background: #fff;
	box-shadow: var(--sh-lg);
	display: grid;
	grid-template-rows: auto 1fr auto;
	transform: translateX(100%);
	transition: transform .25s ease;
  }

  .cart-drawer[aria-hidden="false"] .cart-drawer__panel {
	transform: translateX(0);
  }

  .cart-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	border-bottom: 1px solid var(--line);
  }

  .cart-drawer__title {
	margin: 0;
	font-size: var(--fs-18);
	font-weight: 700;
  }

  .cart-drawer__body {
	padding: 12px 16px 16px;
	overflow: auto;
  }

  .cart-drawer__footer {
	padding: 12px 16px 16px;
	border-top: 1px solid var(--line);
	background: #fff;
  }

  body.is-cart-open,
  body.is-wishlist-open {
	overflow: hidden;
  }
  
  .mini-cart__title {
	font-weight: 700;
	color: var(--ink-2);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
  }
  
  .mini-cart__remove {
	composes: btn-icon;
  }
  
  .mini-cart__summary {
	padding-top: var(--s-12);
	display: grid;
	gap: var(--s-12);
  }
  
  .mini-cart__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 700;
  }

  .mini-cart__row .woocommerce-Price-amount{
	font-size: 20px;
	font-weight: 700;
  }
  
  .mini-cart__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--s-10);
  }

  .mini-cart__clear {
	padding-top: var(--s-12);
	border-top: 1px solid var(--line);
	margin-top: var(--s-12);
  }

  .mini-cart__clear .btn {
	width: 100%;
	justify-content: center;
  }
  
  /* Burger (grid icon) */
  .burger {
	display: none;
	width: 40px;
	height: 40px;
	border: 1px solid var(--brand);
	border-radius: var(--r-10);
	background: var(--brand);
	color: #fff;
  }
  .burger .burger__icon {
	flex-shrink: 0;
  }
  
  /* Mega menu - 3 колонки на одном уровне */
  .megamenu {
	position: absolute;
	inset-inline: 0;
	top: calc(var(--hdr-h) + 27px);
	background: #fff;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	box-shadow: var(--sh-md);
	z-index: 20;
  }
  
  .megamenu__container {
	display: flex;
	padding: 0;
	min-height: 350px;
  }
  
  /* Общие стили колонок */
  .megamenu__col {
	flex-shrink: 0;
  }
  
  /* Колонка 1: корневые категории (260px) */
  .megamenu__col-1 {
	width: 220px;
	background: var(--bg-2);
	border-right: 1px solid var(--line);
  }
  
  .megamenu__col-1 .megamenu__list {
	display: flex;
	flex-direction: column;
	list-style: none;
	margin: 0;
	padding: 0px 0;
  }
  
  .megamenu__col-1 .megamenu__item .megamenu__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 20px;
	color: var(--ink-2);
	font-weight: 600;
	font-size: var(--fs-14);
	text-decoration: none;
	transition: background var(--tr), color var(--tr);
  }
  
  .megamenu__col-1 .megamenu__item .megamenu__link:hover,
  .megamenu__col-1 .megamenu__item.is-active .megamenu__link {
	background: #fff;
	color: var(--brand-600);
  }
  
  .megamenu__arrow {
	opacity: 0.4;
	transition: opacity var(--tr);
	flex-shrink: 0;
  }
  
  .megamenu__item.is-active .megamenu__arrow,
  .megamenu__item:hover .megamenu__arrow {
	opacity: 1;
  }
  
  /* Колонка 2: подкатегории (220px) */
  .megamenu__col-2 {
	width: 220px;
	background: #fff;
	border-right: 1px solid var(--line);
	overflow-y: auto;
	display: none;
  }
  
  .megamenu__col-2.is-visible {
	display: block;
  }
  
  .megamenu__col-2 .megamenu__panel {
	display: none;
  }
  
  .megamenu__col-2 .megamenu__panel.is-active {
	display: block;
  }
  
  .megamenu__col-2 .megamenu__list {
	display: flex;
	flex-direction: column;
	list-style: none;
	margin: 0;
	padding: 0;
  }
  
  .megamenu__col-2 .megamenu__item .megamenu__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 16px;
	color: var(--ink-2);
	font-weight: 500;
	font-size: var(--fs-14);
	text-decoration: none;
	transition: background var(--tr), color var(--tr);
  }
  
  .megamenu__col-2 .megamenu__item .megamenu__link:hover,
  .megamenu__col-2 .megamenu__item.is-active .megamenu__link {
	background: var(--bg-2);
	color: var(--brand-600);
  }
  
  /* Колонка 3: под-подкатегории (остаток ~800px) */
  .megamenu__col-3 {
	flex: 1;
	background: #fff;
	overflow-y: auto;
	display: none;
  }
  
  .megamenu__col-3.is-visible {
	display: block;
  }
  
  .megamenu__col-3 .megamenu__panel {
	display: none;
	padding: 16px 24px;
  }
  
  .megamenu__col-3 .megamenu__panel.is-active {
	display: block;
  }
  
  .megamenu__col-3 .megamenu__panel-header {
	display: flex;
	align-items: center;
	padding-bottom: 12px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--line);
  }
  
  .megamenu__col-3 .megamenu__panel-title {
	font-weight: 700;
	font-size: var(--fs-16);
	color: var(--ink-2);
	text-decoration: none;
  }
  
  .megamenu__col-3 .megamenu__panel-title:hover {
	color: var(--brand-600);
  }
  
  .megamenu__col-3 .megamenu__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 4px 5px;
	list-style: none;
	margin: 0;
	padding: 0;
  }
  
  .megamenu__col-3 .megamenu__link {
	display: block;
	padding: 5px 10px;
	color: var(--ink-2);
	font-weight: 500;
	font-size: var(--fs-12);
	text-decoration: none;
	border-radius: var(--r-8);
	transition: background var(--tr), color var(--tr);
  }
  
  .megamenu__col-3 .megamenu__link:hover {
	background: var(--bg-2);
	color: var(--brand-600);
  }

  /* Баннеры мегаменю */
  .megamenu__banners {
	flex: 1;
	display: flex;
	gap: 16px;
	padding: 16px;
	min-width: 0;
	margin-left: 220px; /* резервируем место под col-2 */
	max-height: 365px;	
  }

  .megamenu__col-2.is-visible ~ .megamenu__banners {
	margin-left: 0; /* col-2 уже занимает своё место */
  }

  .megamenu__col-3.is-visible ~ .megamenu__banners {
	display: none;
  }

  .megamenu__banner {
	flex: 1;
	position: relative;
	display: block;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: #fff;
	min-height: 200px;
  }

  .megamenu__banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
  }

  .megamenu__banner:hover img {
	transform: scale(1.04);
  }

  .megamenu__banner-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 16px;
	background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
  }

  .megamenu__banner-caption h3 {
	margin: 0 0 8px;
	font-size: var(--fs-16);
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
  }

 
  
  /* Адаптив для мегаменю */
  
  
  /* Offcanvas (mobile menu) */
  .offcanvas {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, .45);
	display: grid;
	place-items: start;
	z-index: 1100;
  }
  
  .offcanvas__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	background: #fff;
	border-bottom: 1px solid var(--line);
	width: min(86vw, 360px);
  }

  .offcanvas__header-left {
	display: flex;
	align-items: center;
	gap: 20px;
	min-width: 0;
	flex: 1;
  }

  .offcanvas__header .region-selector {
	margin-left: 0;
	flex-shrink: 0;
  }

  .offcanvas__header .region-selector__btn {
	font-size: 13px;
	padding: 4px 6px;
  }

  .offcanvas__header .region-selector__dropdown {
	left: 0;
	right: auto;
	transform: none;
	min-width: 200px;
  }

  /* Единый вид кнопок закрытия (модалки, оффканвас, корзина, сравнение, поиск, фильтр) */
  .offcanvas__close,
  .modal__close,
  .cart-drawer__close,
  .search-fs__close,
  .filters-drawer__close,
  .vigor-filter__close-drawer {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	border: none;
	font-size: 30px;
	line-height: 1;
	color: var(--ink-2);
	cursor: pointer;
	border-radius: 0;
	transition: background var(--tr, 0.2s), color var(--tr, 0.2s);
	margin-top: -6px;
  }
  .offcanvas__close:hover,
  .modal__close:hover,
  .cart-drawer__close:hover,
  .search-fs__close:hover,
  .filters-drawer__close:hover,
  .vigor-filter__close-drawer:hover {
	background: var(--bg-2, #f1f5f9);
	color: var(--ink-2);
  }
  
  .offcanvas__close:focus-visible,
  .modal__close:focus-visible,
  .cart-drawer__close:focus-visible,
  .search-fs__close:focus-visible,
  .filters-drawer__close:focus-visible,
  .vigor-filter__close-drawer:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
  }

  .logo--offcanvas {
	display: flex;
	align-items: center;
  }

  .logo--offcanvas img {
	height: 36px;
	width: auto;
  }
  
  .offcanvas__body {
	width: min(86vw, 360px);
	height: 100vh;
	background: #fff;
	box-shadow: var(--sh-lg);
	overflow-y: auto;
	display: flex;
    gap: 20px;
    flex-direction: column;
  }
  
  .offcanvas__search {
	margin: 10px 16px 0;
	padding: 0;
	position: relative;
  }

  .offcanvas__search.header-search {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	height: 31px;
	min-height: 31px;
	box-sizing: border-box;
  }

  .offcanvas__search .header-search__input {
	padding-inline: 12px 54px;
	height: 100%;
	min-height: 36px;
	box-sizing: border-box;
	border: 1px solid var(--line);
	border-radius: var(--r-8);
	background: #fff;
  }

  .offcanvas__search .header-search__btn {
	position: absolute;
	top: 1px;
	right: 0px;
	bottom: 1px;
	width: 44px;
	height: auto;
	min-height: 34px;
	margin: 0;
	background: transparent;
	color: #000;
	border-radius: var(--r-10);
	display: flex;
	align-items: center;
	justify-content: center;
  }
  .offcanvas__search .header-search__btn:hover {
	background: var(--brand-700);
	color: #fff;
  }

  .offcanvas__nav .offcanvas__sub-toggle span{
	font-size: 30px;
	font-weight: 300;
	margin-top: -3px;
  }

  .offcanvas__search .header-search__suggestions {
	position: absolute;
	top: calc(100% + 18px);
	left: 0;
	right: 0;
	width: auto;
	margin-top: 0;
  }
  
  .offcanvas__nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 2px;
  }

  .offcanvas__nav .sub-menu {
	display: none;
	padding-left: 0;
  }

  .offcanvas__nav .menu-item-has-children.is-open > .sub-menu {
	display: grid;
	gap: 2px;
	grid-row: 2;
	grid-column: 1;
  }

  .offcanvas__nav .menu-item-has-children > .sub-menu a {
	padding-left: 24px;
	font-weight: 500;
	font-size: 0.95em;
  }

  .offcanvas__nav .menu-item-has-children {
	display: grid;
  }

  .offcanvas__nav .menu-item-has-children > a,
  .offcanvas__nav .menu-item-has-children > .offcanvas__sub-toggle {
	grid-column: 1;
  }

  .offcanvas__nav .menu-item-has-children > a {
	grid-row: 1;
	padding-right: 44px;
  }

  .offcanvas__nav .offcanvas__sub-toggle {
	grid-row: 1;
	grid-column: 1;
	justify-self: end;
	align-self: center;
	width: 36px;
	height: 36px;
	margin-right: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: transparent;
	color: var(--ink-2);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	border-radius: var(--r-8, 8px);
	transition: transform var(--tr, 0.2s), background var(--tr, 0.2s);
  }

  .offcanvas__nav .offcanvas__sub-toggle:hover {
	background: var(--bg-2, #f1f5f9);
  }

  .offcanvas__nav .menu-item-has-children.is-open > .offcanvas__sub-toggle {
	transform: rotate(45deg);
  }
  
  .offcanvas__nav a {
	display: block;
	padding: 12px 16px;
	color: var(--ink-2);
	border-bottom: 1px solid var(--bg-3);
	font-weight: 700;
  }
  
  /* Первый пункт меню — акцент */
  .offcanvas__nav > ul > li:first-child > a {
	background: var(--brand-50);
	color: var(--brand-700);
	border-bottom-color: var(--brand-200);
	border-left: 4px solid var(--brand-600);
	font-weight: 800;
  }
  
  .offcanvas__nav > ul > li:first-child.menu-item-has-children > a {
	border-left-width: 4px;
  }
  
  .offcanvas__contacts {
	padding: 0 16px 18px;
	display: grid;
	gap: 6px;
  }

  .offcanvas__contacts .btn{
	margin-top: 10px;
  }
  
  /* =============================== 7. HOME ================================== */
  
  /* 7.1 Promo chips row */
  .promo-nav {
	background: #fff;
	border-bottom: 1px solid var(--line);
  }
  
  .promo-nav__row {
	display: flex;
	gap: 10px;
	padding-block: 10px;
	overflow: auto;
  }
  
  /* 7.2 HERO GRID */
  .hero--grid {
	padding-block: clamp(16px, 4vw, 28px);
	background: linear-gradient(180deg, #fff 0, #f6f8ff 100%);
  }
  
  .hero-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: var(--s-16);
  }
  
  .hero-grid__main {
	grid-row: 1 / span 2;
	display: block;
	position: relative;
	border-radius: var(--r-16);
	overflow: hidden;
	box-shadow: var(--sh-lg);
  }
  
  .hero-grid__main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
  }
  
  .hero-grid__side {
	display: block;
	position: relative;
	border-radius: var(--r-16);
	overflow: hidden;
	box-shadow: var(--sh-md);
  }
  
  .hero-grid__side img {
	width: 100%;
	height: 100%;
	object-fit: cover;
  }
  
  .hero-grid__caption {
	position: absolute;
	inset: auto 16px 16px 16px;
	background: linear-gradient(0deg, rgba(15, 23, 42, .65), rgba(15, 23, 42, .05));
	color: #fff;
	padding: 16px;
	border-radius: var(--r-12);
	display: grid;
	gap: 6px;
  }
  
  .hero-grid__caption h2,
  .hero-grid__caption h3 {
	color: #fff;
	margin: 0;
  }
  
  .hero-grid__caption .btn {
	justify-self: start;
  }
  
  /* 7.3 Category tiles (обновлено) */
  .home-cats {
	padding-block: var(--s-32);
  }
  
  .cat-tiles {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--s-16);
  }
  
  .cat-tile {
	display: grid;
	grid-template-rows: 180px auto;
	border: 1px solid var(--line);
	border-radius: var(--r-16);
	overflow: hidden;
	background: #fff;
	box-shadow: var(--sh-sm);
	transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr-fast);
	text-decoration: none;
	color: inherit;
  }
  
  .cat-tile__img {
	background: var(--bg-2);
  }
  
  .cat-tile__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
  }
  
  .cat-tile__body {
	padding: var(--s-12);
	display: grid;
	gap: 4px;
  }
  
  .cat-tile__title {
	font-size: var(--fs-18);
	color: var(--ink-2);
	font-weight: 700;
	margin: 0;
  }
  
  .cat-tile__meta {
	color: var(--muted);
	font-weight: 700;
  }
  
  .cat-tile:hover {
	border-color: var(--brand-600);
	box-shadow: var(--sh-md);
	transform: translateY(-2px);
  }
  
  .cat-tile:hover .cat-tile__title {
	color: var(--brand-700);
  }
  
  /* 7.4 Deal of the day */
  .deal {
	padding-block: var(--s-32);
	background: linear-gradient(180deg, #f6f8ff 0, #fff 100%);
  }
  
  .deal__timer {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	color: var(--accent-700);
  }
  
  .deal__time {
	padding: 4px 10px;
	background: #fff;
	border: 1px dashed var(--accent-700);
	border-radius: 999px;
	box-shadow: var(--sh-sm);
  }

  .deal h2{
	margin-bottom: 0;
  }
  
  /* 7.5 Promo pairs */
  .promo-pairs {
	padding-block: var(--s-24);
  }
  
  .promo-pairs__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--s-16);
  }
  
  .promo-card {
	display: block;
	position: relative;
	border-radius: var(--r-16);
	overflow: hidden;
	box-shadow: var(--sh-lg);
	transition: transform var(--tr-fast), box-shadow var(--tr);
  }
  
  .promo-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
  }
  
  .promo-card__cap {
	position: absolute;
	inset: auto 16px 16px 16px;
	background: linear-gradient(0deg, rgba(15, 23, 42, .6), rgba(15, 23, 42, .12));
	color: #fff;
	padding: 14px 16px;
	border-radius: var(--r-12);
	display: grid;
	justify-items: start;
	gap: 6px;
  }

  .promo-card__cap h3{
	color: #fff;
  }
  
  .promo-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--sh-lg);
  }
  
  /* 7.6 Picker (мини‑визард подбора) */
  .picker {
	padding-block: var(--s-64);
	background: #fff;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
  }
  
  .picker__wrap {
	display: grid;
	gap: var(--s-16);
  }
  
  .picker__form {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
  }
  
  .picker__form label {
	display: grid;
	gap: 6px;
  }
  
  .picker__form span {
	color: var(--ink-3);
	font-weight: 700;
	font-size: var(--fs-13);
  }
  
  /* ========================= 8. PRODUCTS / CARDS ============================ */
  
  .products-grid {
	display: grid;
	gap: var(--s-16);
  }
  
  .products-grid--5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  
  .products-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .products-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .products-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .product-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-16);
	box-shadow: var(--sh-sm);
	overflow: visible;
	gap: 10px;
	padding: 10px;
	transition: transform var(--tr-fast), box-shadow var(--tr), border-color var(--tr);
	display: flex;
	flex-direction: column;
	position: relative;
  }

  .product-card.product-old{
	filter: grayscale(100%);
  }
  
  .product-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--sh-md);
	border-color: var(--bg-3);
  }
  
  .product-card__thumb {
	aspect-ratio: 1/1;
	background: #fff;
	border-radius: var(--r-12);
	overflow: hidden;
	display: block;
	position: relative;
  }
  
  .product-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
	box-sizing: border-box;
	padding: 8px;
  }

  /* Таймер и скидка внутри превью карточки */
  .product-card__deal {
	position: absolute;
	bottom: 8px;
	left: 3px;
	display: flex;
	align-items: center;
	gap: 6px;
	z-index: 2;
  }

  .product-card__deal-save {
	display: inline-block;
	padding: 3px 8px;
	background: var(--danger);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	border-radius: 6px;
	line-height: 1.3;
	white-space: nowrap;
  }

  .product-card__deal-timer {
	display: inline-block;
	padding: 3px 8px;
	background: rgba(0,0,0,0.7);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	border-radius: 6px;
	line-height: 1.3;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
  }
  
  .product-card__badges {
	position: absolute;
	top: 14px;
	left: 14px;
	display: flex !important;
	gap: 6px;
	flex-wrap: wrap;
	z-index: 2;
	opacity: 1 !important;
	visibility: visible !important;
  }
  
  .product-card .badge {
	opacity: 1 !important;
	visibility: visible !important;
	display: inline-block !important;
	border: 1px solid;
  }
  
  .product-card__title {
	font-size: var(--fs-16);
	line-height: 1.35;
	margin-bottom: 0;
	min-height: 45px;
  }
  
  .product-card__title a {
	color: var(--ink-2);
	text-decoration: none;
  }
  
  .product-card__title a:hover {
	color: var(--brand-700);
  }
  
  .product-card__specs {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: var(--fs-12);
	line-height: 1.2em;
	display: flex;
	flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
	font-weight: 400;
	flex: 1;
  }

  .product-card__specs li{
	display: flex;
	justify-content: space-between;
  }

  .product-card__specs li::after{
	content: '';
	display: block;
	width: 100%;
	height: 1px;
	border: 1px dotted var(--line)!important;
	border-color: var(--line)!important;
	position: absolute;
	top: 8px;
	left: 0;
	z-index: 0;
  }

  .product-card__specs li span{
	background-color: #fff;
	padding: 1px 5px;
	z-index: 1;
  }

  .product-card__specs li span:first-child{
	font-weight: 600;
	padding-left: 0;
	
  }

  .product-card__specs li span:last-child{
	padding-right: 0;
	text-align: right;
  }

  .product-card__prices {
	display: flex;
	align-items: baseline;
	gap: 10px;
  }
  
  .price--new {
	font-weight: 700;
	color: var(--ink-2);
  }
  
  .price--old {
	color: var(--muted);
	text-decoration: line-through;
	font-size: 0.8em;
  }
  
  .product-card__actions {
	display: flex;
	grid-template-columns: 1fr 1fr auto auto;
	gap: 5px;
  }

  .product-card__actions .btn{
	font-size: 14px;
	padding: 0 10px;
  }
  .product-card__cart-btn {
	width: 44px;
	min-width: 44px;
	height: 44px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--brand-600) !important;
	color: #fff !important;
	border-color: var(--brand-600) !important;
  }
  .product-card__cart-btn:hover {
	background: var(--brand-hover-bg, #00d868) !important;
	color: var(--brand-hover-ink, #000) !important;
	border-color: var(--brand-hover-bg, #00d868) !important;
  }
  .product-card__cart-btn img {
	width: 20px;
	height: 20px;
	object-fit: contain;
	filter: brightness(0) invert(1);
  }
  
  .product-card__status {
	font-weight: 600;
	font-size: var(--fs-13);
  }
  
  .product-card__status--instock {
	color: #22c55e;
  }
  
  .product-card__status--outofstock {
	color: #ef4444;
  }
  
  .product-card__status--onbackorder {
	color: #f59e0b;
  }

  .product-card__old-label {
	color: #9ca3af;
	font-weight: 600;
  }

  .product-card__old-label::after {
	content: ' · ';
  }

  .product-card__swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 3px;
	margin-bottom: 6px;
  }
  .product-card__swatch {
	position: relative;
	display: inline-grid;
	place-items: stretch;
	width: 17px;
	height: 17px;
	min-width: 17px;
	min-height: 17px;
	margin-right: 0;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	box-sizing: border-box;
	overflow: hidden;
  }

  .product-card__swatch .swatch__color {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
  }

  .product-card__swatch input:checked + .swatch__color {
	outline: 2px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 1px;
  }
  .product-card__swatch .swatch__tooltip {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 6px);
	transform: translateX(-50%);
	width: max-content;
	min-width: max-content;
	max-height: 24px;
	box-sizing: border-box;
	padding: 5px 12px;
	background: #e5e7eb;
	color: #000;
	font-size: 12px;
	line-height: 1.2;
	white-space: nowrap;
	border-radius: 999px;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity .15s, visibility .15s;
	z-index: 5;
  }
  .product-card__swatch .swatch__tooltip::after {
	content: '';
	position: absolute;
	top: calc(100% - 2px);
	left: 50%;
	margin-left: -4px;
	border: 4px solid transparent;
	border-top-color: #e5e7eb;
  }
  .product-card__swatch:hover .swatch__tooltip {
	opacity: 1;
	visibility: visible;
  }
  .product-card__price-range {
	font-size: 12px;
	color: var(--ink-2);
	margin-top: 2px;
  }
  
  /* Cards — list view (when grid→list) */
  .view-list .products-grid {
	grid-template-columns: 1fr !important;
  }
  
  .view-list .product-card {
	grid-template-columns: 220px 1fr;
	padding: var(--s-12);
  }
  
  .view-list .product-card__thumb {
	aspect-ratio: auto;
	height: 160px;
  }
  
  /* =============================== 9. TABS ================================== */
  
  /* Секция с табами без фона */
  .home-catalog {
	background: transparent;
	padding-block: var(--s-32);
  }
  
  .tabs {
	padding-block: var(--s-4);
	background: transparent;
  }
  
  .tabs__nav {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-block: 2px;
  }
  .tabs__nav::-webkit-scrollbar {
	display: none;
  }
  
  .tabs__btn {
	flex-shrink: 0;
	height: 38px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--ink-2);
	font-weight: 600;
	white-space: nowrap;
	transition: border-color var(--tr), color var(--tr), background var(--tr);
	display: flex;
	align-items: center;
	gap: 2px;
  }
  
  .tabs__btn.is-active {
	border-color: var(--brand-600);
	color: var(--brand-700);
	background: var(--brand-50);
  }

  .tabs__btn .page-reviews__tab-star {
	display: inline-block;
	background: var(--brand-600, #13aa3f);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	font-size: 15px;
	line-height: 1;
	vertical-align: -0.05em;
  }
  
  .tabs__panel {
	display: none;
	margin-top: var(--s-16);
  }
  
  .tabs__panel.is-active {
	display: block;
  }
  
  /* ============================= 10. RESPONSIVE ============================= */
  
  
  
  
  
  
  
  
  
  /* ============================ 11. ANIMATIONS ============================== */
  
  @keyframes fadeInUp {
	from {
	  opacity: 0;
	  transform: translateY(10px);
	}
  
	to {
	  opacity: 1;
	  transform: translateY(0);
	}
  }
  
  .fade-in-up {
	animation: fadeInUp .4s ease both;
  }
  
  @keyframes ribbonSlide {
	0% {
	  transform: translateX(-10%);
	}
  
	100% {
	  transform: translateX(0);
	}
  }
  
  .ribbon {
	animation: ribbonSlide .8s ease both;
  }
  
  @keyframes shimmer {
	0% {
	  background-position: 100% 0;
	}
  
	100% {
	  background-position: -100% 0;
	}
  }
  
  .skeleton {
	background: linear-gradient(90deg, #f2f4fa 25%, #e9ecf4 37%, #f2f4fa 63%);
	background-size: 400% 100%;
	animation: shimmer 1.3s ease infinite;
  }
  
  /* ============================= 12. TOOLING ================================ */
  
  /* Tooltip */
  [data-tip] {
	position: relative;
  }
  
  [data-tip]::after {
	content: attr(data-tip);
	position: absolute;
	left: 50%;
	bottom: calc(100% + 8px);
	transform: translateX(-50%);
	white-space: nowrap;
	background: #0f172a;
	color: #fff;
	font-size: 12px;
	padding: 4px 8px;
	border-radius: 6px;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--tr);
  }
  
  [data-tip]:hover::after {
	opacity: 1;
  }
  
  /* Print */
  
  
  /* ====== END OF PART 1/4 (≈1000 lines including comments & whitespace) ===== */
  
  
  /* ============================================================================
	 VIGOR E‑COMMERCE — STYLE.CSS (PART 2/4)
	 Focus:
	 - Category: breadcrumbs, head, preset chips, applied filters, filters panel,
	   mobile filters, range, pagination, recent mini-cards
	 - PDP: gallery, variants, price box, delivery, CTA, finance, sticky bar,
	   tabs (specs/desc/delivery/warranty/reviews/qa/files)
	 - Bundles / Accessories / Similar
	 - Home: finance banner, reviews, faq; Footer polish
	 - Mobile accent bars, sticky filter bar
	 ========================================================================== */
  
  /* ============================= 13. CATEGORY =============================== */
  
  /* Breadcrumbs */
  
  .breadcrumbs {
	background: #fff;
	border-bottom: 1px solid var(--line);
	font-size: var(--fs-14);
  }
  
  .breadcrumbs .container {
	padding-block: 8px;
  }
  
  .breadcrumbs ol {
	display: flex;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
	color: var(--muted);
	flex-wrap: wrap;
  }
  
  .breadcrumbs a {
	color: var(--ink-3);
	font-weight: 700;
  }
  
  .breadcrumbs a:hover {
	color: var(--brand-700);
	text-decoration: none;
  }
  
  .breadcrumbs a:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
  }
  
  .breadcrumbs li+li::before {
	content: "›";
	color: var(--line);
	margin-inline: 8px;
  }
  
  /* Category head */
  
  .cat-head {
	background: #fff;
	border-bottom: 1px solid var(--line);
  }

  .cat-head__row h1{
	line-height: 1em;
	margin: 0;
  }
  
  .cat-head__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding-block: 14px;
  }
  
  .cat-head__meta {
	color: var(--muted);
	font-weight: 500;
  }
  
  .cat-head__right {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
  }

  .cat-head__left{
	display: flex;
	flex-direction: column;
	gap: 6px;
  }

  .cat-purpose-dropdown-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px 20px;
	padding: var(--s-12) 0;
	align-items: start;
  }

  @media (max-width: 900px) {
	.cat-purpose-dropdown-grid {
	  grid-template-columns: repeat(2, minmax(0, 1fr));
	}
  }

  @media (max-width: 520px) {
	.cat-purpose-dropdown-grid {
	  display: flex;
	  flex-direction: row;
	  flex-wrap: nowrap;
	  align-items: stretch;
	  gap: 12px;
	  overflow-x: auto;
	  overflow-y: visible;
	  -webkit-overflow-scrolling: touch;
	  overscroll-behavior-x: contain;
	  padding-bottom: 6px;
	  scrollbar-width: thin;
	}

	.cat-purpose-dropdown-cell {
	  flex: 0 0 80%;
	  width: 80%;
	  max-width: 80%;
	  min-width: 0;
	  box-sizing: border-box;
	}
  }

  .cat-purpose-dropdown-cell {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	padding: 12px 14px;	
	border: 1px solid var(--line);
	border-radius: var(--r-8);
	background: var(--bg-2);
	box-sizing: border-box;
	overflow: visible;
	position: relative;
	z-index: 1;
  }

  .cat-purpose-dropdown__heading {
	margin: 0;
	font-size: var(--fs-15);
	font-weight: 600;
	color: var(--ink-2);
	line-height: 1.3;
  }

  .cat-purpose-dropdown__select {
	width: 100%;
	max-width: 100%;
	min-height: 40px;
	padding: 8px 10px;
	font-size: var(--fs-14);
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	color: var(--ink-2);
	box-sizing: border-box;
  }

  .cat-purpose-dropdown__shell {
	position: relative;
	width: 100%;
  }

  .cat-purpose-dropdown__shell.is-open {
	z-index: 40;
  }

  .cat-purpose-dropdown__trigger {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 46px;
	padding: 8px 12px;
	margin: 0;
	font-size: var(--fs-14);
	font-family: inherit;
	text-align: left;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	color: var(--ink-2);
	cursor: pointer;
	box-sizing: border-box;
  }

  .cat-purpose-dropdown__trigger:hover {
	border-color: var(--muted);
  }

  .cat-purpose-dropdown__trigger:focus-visible {
	outline: 2px solid var(--brand-600, #7c3aed);
	outline-offset: 2px;
  }

  .cat-purpose-dropdown__trigger-mid {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
  }

  .cat-purpose-dropdown__trigger-label {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
  }

  .cat-purpose-dropdown__trigger-count {
	flex-shrink: 0;
	font-size: var(--fs-13, 13px);
	font-weight: 500;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
	text-align: right;
  }

  .cat-purpose-dropdown__trigger-thumb {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
  }

  .cat-purpose-dropdown__trigger-thumb img {
	max-width: 28px;
	max-height: 28px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
  }

  .cat-purpose-dropdown__thumb-placeholder,
  .cat-purpose-dropdown__option-thumb--placeholder {
	display: block;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: var(--line);
	flex-shrink: 0;
  }

  .cat-purpose-dropdown__chevron {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--muted);
	transition: transform 0.2s ease;
  }

  .cat-purpose-dropdown__shell.is-open .cat-purpose-dropdown__chevron {
	transform: rotate(180deg);
  }

  .cat-purpose-dropdown__panel {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	max-height: min(320px, 70vh);
	overflow-y: auto;
	padding: 6px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
	box-shadow: var(--sh-md);
	z-index: 50;
	box-sizing: border-box;
  }

  .cat-purpose-dropdown__option {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 8px 10px;
	margin: 0;
	border: none;
	border-radius: 8px;
	background: transparent;
	font: inherit;
	font-size: var(--fs-14);
	color: var(--ink-2);
	text-align: left;
	cursor: pointer;
	box-sizing: border-box;
  }

  .cat-purpose-dropdown__option:hover,
  .cat-purpose-dropdown__option:focus-visible {
	background: var(--bg-2);
	outline: none;
  }

  .cat-purpose-dropdown__option-thumb {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	object-fit: contain;
  }

  .cat-purpose-dropdown__option-thumb-spacer {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
  }

  .cat-purpose-dropdown__option-mid {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
  }

  .cat-purpose-dropdown__option-label {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-align: left;
  }

  .cat-purpose-dropdown__option-count {
	flex-shrink: 0;
	font-size: var(--fs-13, 13px);
	font-weight: 500;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
	text-align: right;
  }

  .cat-purpose-tags-wrap {
	padding: var(--s-12) 0;
  }

  .cat-purpose-tags__placeholder {
	margin: 0;
	font-size: var(--fs-14);
	line-height: 1.45;
	color: var(--muted);
	max-width: 52rem;
  }

  /* Подкатегории каталога: сетка до 6 в ряд (≥768); <768 — горизонтальный скролл одной полосой */
  .subcats-block {
	padding: var(--s-12) 0;
  }

  .subcats-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
  }

  @media (max-width: 1199px) {
	.subcats-grid {
	  grid-template-columns: repeat(4, minmax(0, 1fr));
	}
  }

  @media (max-width: 767px) {
	.subcats-block .subcats-grid {
	  display: flex;
	  flex-direction: row;
	  flex-wrap: nowrap;
	  align-items: stretch;
	  gap: 10px;
	  overflow-x: auto;
	  overflow-y: hidden;
	  -webkit-overflow-scrolling: touch;
	  overscroll-behavior-x: contain;
	  scroll-snap-type: x proximity;
	  padding-bottom: 10px;
	}

	.subcats-block .subcats-grid > .subcat:not(.subcat--toggle) {
	  flex: 0 0 auto;
	  scroll-snap-align: start;
	  min-width: 10.5rem;
	  max-width: 13.5rem;
	  width: min(42vw, 13.5rem);
	}

	.subcats-block[data-subcats-mobile-scroll="1"] .subcat--toggle {
	  display: none !important;
	}
  }

  @media (max-width: 479px) {
	.subcats-grid {
	  grid-template-columns: repeat(2, minmax(0, 1fr));
	}
  }

  .subcat {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: var(--s-16);
	padding: var(--s-6);
	border-radius: var(--r-8);
	text-decoration: none;
	color: var(--ink-2);
	transition: background var(--tr), color var(--tr), border-color var(--tr);
	min-width: 0;
	box-sizing: border-box;
	background-color: var(--bg-2);
	border: 1px solid transparent;
  }

  .subcat--toggle {
	width: 100%;
	cursor: pointer;
	font: inherit;
	text-align: center;
	justify-content: center;
	border: 1px dashed var(--line);
	background: #fff;
	color: var(--brand-700);
	flex-direction: column;
	min-height: 0;
  }

  .subcat--toggle .subcat--toggle-inner {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: nowrap;
  }

  .subcat__toggle-count {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--ink-2);
  }

  .subcat__toggle-chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	color: var(--brand-600);
  }

  .subcat__toggle-chevron svg {
	display: block;
	flex-shrink: 0;
  }

  .subcat--toggle .subcat__name {
	margin: 0;
	text-align: center;
	-webkit-line-clamp: unset;
	display: block;
  }

  .subcat--toggle:hover {
	border-color: var(--brand-500);
	background: var(--brand-50, #ecf9f0);
  }

  .subcat--toggle:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
  }

  .subcat:hover {
	background: var(--bg-2);
	color: var(--brand-600);
  }
  
  .subcat:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
  }
  
  .subcat__img {
	width: 48px;
	height: 48px;
	min-width: 48px;
	border-radius: var(--r-8);
	overflow: hidden;
	background: var(--bg-2);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
  }
  
  .subcat__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background-color: #fff;
	border-radius: var(--r-8);
  }
  
  .subcat__name {
	font-size: var(--fs-12);
	font-weight: 500;
	text-align: left;
	line-height: 1.2;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-width: 0;
  }
  

  
 

  .cat-purpose-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
  }

  .cat-purpose-tag {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 12px;
	border-radius: 10px;
	font-size: var(--fs-14);
	font-weight: 500;
	background: var(--bg-2);
	color: var(--ink-2);
	border: 1px solid var(--line);
	box-sizing: border-box;
  }

  .search-results-grid {
	padding-block: var(--s-24);
  }
  
  .view-switch {
	display: inline-flex;
	border: 1px solid var(--line);
	border-radius: 10px;
	overflow: hidden;
  }
  
  .view-switch__btn {
	width: 40px;
    height: 40px;
	border: 0;
	background: #fff;
	color: var(--ink-2);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .view-switch__btn.is-active {
	background: var(--bg-2);
	color: var(--brand-700);
  }
  
  .sort,
  .perpage {
	display: inline-flex;
	align-items: center;
	gap: 8px;
  }
  
  .sort__select,
  .perpage__select {
	height: 38px;
	padding-inline: 10px;
	border-radius: 10px;
  }
  
  .preset-chips {
	display: none;
	gap: 8px;
	flex-wrap: wrap;
	padding: 10px 0 14px;
  }
  
  .preset-chips .chip {
	height: 34px;
	padding: 0 12px;
  }
  
  /* Applied filters bar */
  
  .applied {
	background: #fff;
	border-bottom: 1px solid var(--line);
  }
  
  .applied__wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-block: 10px;
  }

  .applied__wrap .applied__placeholder{
	color: var(--muted);
	font-size: var(--fs-14);
  }
  
  .applied__reset {
	height: 32px;
	padding: 0 12px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--line);
	font-weight: 700;
  }
  
  .applied__reset:hover {
	border-color: var(--brand-600);
	color: var(--brand-700);
  }
  
  .applied__reset:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
  }
  
  /* Grid layout */
  
  .cat-layout {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: var(--s-24);
	padding-block: var(--s-24);
  }
  
  /* Filters panel */
  

  
  .filters__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 12px 6px;
	border-bottom: 1px solid var(--line);
  }
  
  .filters__title {
	font-size: var(--fs-18);
  }
  
  .filters__reset {
	background: transparent;
	border: 0;
	color: var(--brand-700);
	font-weight: 700;
  }
  
  .filter {
	border-bottom: 1px solid var(--line);
  }
  
  .filter:last-child {
	border-bottom: 0;
  }
  
  .filter__toggle {
	width: 100%;
	text-align: left;
	background: #fff;
	border: 0;
	padding: 12px;
	font-weight: 700;
	color: var(--ink-2);
	display: flex;
	align-items: center;
	justify-content: space-between;
  }
  
  .filter__toggle::after {
	content: "▾";
	color: var(--muted);
  }
  
  .filter__body {
	padding: 8px 12px 12px;
	display: grid;
	gap: 6px;
  }
  
  .filter__more summary {
	color: var(--brand-700);
	font-weight: 700;
	cursor: pointer;
  }
  
  .filter__more-wrap {
	display: grid;
	gap: 6px;
	margin-top: 6px;
  }
  
  .check {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: var(--fs-14);
  }
  
  .check input {
	width: 18px;
	height: 18px;
  }
  
  .check em {
	color: var(--muted);
	font-style: normal;
	font-weight: 700;
  }
  
  .range {
	display: grid;
	gap: 8px;
  }
  
  .range__min,
  .range__max {
	height: 36px;
	border-radius: 10px;
  }
  
  .range__slider {
	height: 6px;
	background: var(--bg-2);
	border-radius: 999px;
	position: relative;
  }
  
  .range__slider::before,
  .range__slider::after {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	background: #fff;
	border: 2px solid var(--brand-600);
	border-radius: 50%;
	box-shadow: var(--sh-sm);
  }
  
  .range__slider::before {
	left: 10%;
  }
  
  .range__slider::after {
	left: 70%;
  }
  
  /* Mobile filters button (sticky) — на мобильной переопределяется в плавающую кнопку справа сверху */
  
  .mobile-filters-bar {
	position: sticky;
	top: calc(var(--hdr-h) - 7px);
	z-index: 50;
	display: none;
	background: #fff;
	border-bottom: 1px solid var(--line);
	padding: 8px;
  }
  
  .mobile-filters-bar__row {
	display: flex;
	gap: 10px;
  }
  
  .mobile-filters-bar .btn {
	flex: 1;
	height: 40px;
  }
  
  .mobile-filters-bar__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
  }
  
  .mobile-filters-bar__icon {
	flex-shrink: 0;
  }
  
  /* Filters drawer on mobile */
  
  .filters-drawer {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: none;
	background: rgba(15, 23, 42, .45);
  }
  
  .filters-drawer__sheet {
	width: min(92vw, 520px);
	height: 100vh;
	margin-left: auto;
	background: #fff;
	box-shadow: var(--sh-lg);
	display: grid;
	grid-template-rows: auto 1fr auto;
  }
  
  .filters-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-bottom: 1px solid var(--line);
  }
  
  .filters-drawer__body {
	overflow: auto;
	padding: 10px 12px;
  }
  
  .filters-drawer__foot {
	padding: 10px 12px;
	border-top: 1px solid var(--line);
	display: flex;
	gap: 10px;
  }
  
  /* Category products */
  
  .cat-products .empty {
	background: #fff;
	border: 1px dashed var(--line);
	border-radius: var(--r-16);
	padding: var(--s-20);
	text-align: center;
	color: var(--ink-3);
  }
  
  .pagination {
	display: grid;
	gap: 12px;
	margin-top: var(--s-20);
	justify-items: center;
  }
  
  .pagination__list {
	display: flex;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
  }
  
  .pagination__list a,
  .pagination__list span {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	font-weight: 700;
  }
  
  .pagination__list .is-active span {
	background: var(--bg-2);
	color: var(--brand-700);
	border-color: var(--brand-600);
  }
  
  .pagination__list a:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
  }
  
  /* Category SEO */
  
  .cat-seo {
	color: var(--ink-3);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-16);
	padding: var(--s-16);
	margin-top: var(--s-16);
  }
  
  /* Recently viewed */

  .products-row{
	display: flex;
	flex-direction: column;
	gap: 4px;
  }
  
  .mini-card {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 10px;
	align-items: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-12);
	padding: 6px;
	color: var(--ink-2);
	text-decoration: none;
  }
  
  .mini-card img {
	width: 72px;
	height: 48px;
	border-radius: 8px;
	object-fit: cover;
  }
  
  .mini-card:hover {
	border-color: var(--brand-600);
  }
  
  /* Category responsive */
  
  
  
  
  
  
  
  /* =============================== 14. PDP ================================== */
  
  .pdp-top {
	background: #fff;
	border-bottom: 1px solid var(--line);
  }
  
  .pdp-top__row {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: var(--s-24);
	padding-block: var(--s-24);
  }
  
  
  
  /* Gallery */
  
  .pdp-gallery {
	display: grid;
	gap: 10px;
  }
  
  .pdp-gallery__stage {
	position: relative;
	background: #fff;
	border-radius: var(--r-16);
	overflow: hidden;
	border: 1px solid var(--line);
  }

  .pdp-gallery__stage picture{
	height: 100%;
  }
  
  .pdp-gallery__stage img {
	width: 100%;
	height: 100%;
	display: block;
	aspect-ratio: 1 / 1;
    object-fit: contain;
  }

  .product.product-old .pdp-gallery__stage img,
  .product.product-old .pdp-gallery__thumbs img {
	filter: grayscale(100%);
  }
  
  .pdp-gallery__zoom {
	position: absolute;
	right: 12px;
	bottom: 12px;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 12px;
	box-shadow: var(--sh-sm);
  }

  .pdp-gallery__zoom img{
	object-fit: contain;
  }
  
  .pdp-gallery__badges {
	position: absolute;
	left: 12px;
	top: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	z-index: 2;
  }
  .pdp-gallery__badges .product-card__badges {
	position: static;
  }
  .pdp-gallery__badges .badge--instock {
	background: #eafcf2;
	color: #0a9662;
	border: 1px solid #92e2c7;
	font-size: var(--fs-12);
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 8px;
	box-shadow: var(--sh-sm);
  }
  
  .badge-group {
	position: absolute;
	left: 12px;
	top: 12px;
	display: flex;
	gap: 6px;
  }
  
  .pdp-gallery__thumbs {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	padding-bottom: 10px;
	user-select: none;
	-webkit-user-select: none;
	cursor: grab;
  }
  
  .pdp-gallery__thumbs:active {
	cursor: grabbing;
  }
  
  .pdp-gallery__thumbs .thumb {
	pointer-events: auto;
  }
  
  .pdp-gallery__thumbs .thumb {
	width: 85px;
	min-width: 85px;
	height: 76px;
	border: 1px solid var(--line);
	border-radius: var(--r-10);
	overflow: hidden;
	background: #fff;
	padding: 0;
  }
  
  .pdp-gallery__thumbs .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
  }
  
  .pdp-gallery__thumbs .thumb.is-active {
	border-color: var(--brand-600);
  }
  
  
  
  .pdp-social {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--muted);
	font-size: var(--fs-14);
  }
  
  .pdp-live::before {
	content: "•";
	margin-right: 6px;
	color: var(--success);
  }
  
  /* Buy box */
  
  .pdp-buy {
	display: flex;
	flex-direction: column;
	gap: 20px;
  }
  
  .pdp-title {
	font-size: clamp(22px, 2.4vw, 32px);
	margin-bottom: 0;
  }
  
  .pdp-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	color: var(--ink-3);
	font-size: var(--fs-14);
	margin-top: -10px;
  }
  
  .pdp-meta__sep {
	color: var(--line);
  }
  
  .stock {
	font-weight: 700;
	padding: 2px 6px;
    font-size: var(--fs-12);
    font-weight: 700;
    border-radius: 8px;
	background: var(--bg-2);
    color: var(--ink-2);
    box-shadow: var(--sh-sm);
  }
  
  .stock--instock {
	color: #22c55e;
	width: fit-content;
  }
  
  .stock--outofstock {
	color: #ef4444;
	width: fit-content;
  }
  
  .stock--onbackorder {
	color: #f59e0b;
	width: fit-content;
  }
  
  .pdp-price {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
  }
  
  .pdp-price__left {
	display: flex;
    gap: 6px;
    line-height: 1em;
    flex-wrap: wrap;
	align-items: center;
  }
  
  .pdp-price__now {
	grid-column: 1;
	grid-row: 1;
	font-weight: 700;
	font-size: clamp(22px, 2.2vw, 32px);
	color: var(--ink-2);
	line-height: 1em;
  }
  
  .pdp-price__old {
	grid-column: 2;
	grid-row: 1;
	color: var(--muted);
	text-decoration: line-through;
	font-weight: 400;
  }
  
  .pdp-price__save {
	grid-column: 1 / -1;
	grid-row: 2;
	color: var(--danger);
	font-weight: 500;
	letter-spacing: .01em;
	width: 100%;
	font-size: 14px;
	font-style: italic;
  }

  .pdp-price__timer {
	font-style: italic;
	font-variant-numeric: tabular-nums;
  }
  
  .pdp-price__month {
	color: var(--ink-3);
	text-align: right;
	white-space: nowrap;
  }
  
  .pdp-price__month strong {
	color: var(--ink-2);
  }

  .pdp-price__range {
	font-size: 14px;
	color: var(--ink-2);
	margin-top: 4px;
  }
  
  .pdp-price__promo {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	align-items: center;
  }
  
  .pdp-price__promo input {
	height: 36px;
	border-radius: 10px;
  }
  
  
  
  .pdp-variants {
	display: grid;
	gap: 10px;
  }
  
  .variant {
	display: flex;
	gap: 0px;
	border: 1px dashed var(--line);
	border-radius: var(--r-12);
	padding: 10px;
	background: #fff;
  }
  
  .variant legend {
	font-weight: 700;
	color: var(--ink-2);
  }
  
  .swatch {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 2px solid var(--line);
	border-radius: 999px;
	margin-right: 8px;
	background: #fff;
	overflow: visible;
  }
  
  .swatch .swatch__color {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 999px;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6);
  }
  
  .swatch input {
	display: none;
  }
  
  .swatch input:checked+.swatch__color {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .3);
	outline-offset: 2px;
  }
  .swatch {
	position: relative;
  }
  .swatch__tooltip {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 8px);
	transform: translateX(-50%);
	width: max-content;
	min-width: max-content;
	max-height: 24px;
	box-sizing: border-box;
	padding: 5px 12px;
	background: #6b7280;
	color: #000;
	font-size: 12px;
	line-height: 1.2;
	white-space: nowrap;
	border-radius: 999px;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity .15s, visibility .15s;
	z-index: 5;
  }
  .swatch__tooltip::after {
	content: '';
	position: absolute;
	top: calc(100% - 2px);
	left: 50%;
	margin-left: -5px;
	border: 5px solid transparent;
	border-top-color: #e5e7eb;
  }
  .swatch:hover .swatch__tooltip {
	opacity: 1;
	visibility: visible;
  }
  
  .pill {
	display: inline-block;
	margin-right: 6px;
	cursor: pointer;
  }
  
  .pill input {
	display: none;
  }
  
  .pill span {
	display: inline-flex;
	align-items: center;
	height: 32px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--ink-2);
	font-weight: 700;
  }
  
  .pill input:checked+span {
	border-color: var(--brand-600);
	color: var(--brand-700);
	background: var(--brand-50);
  }
  
  /* Upsell в buy-box */
  .pdp-upsell {
	margin-top: var(--s-12);
  }

  .pdp-upsell__title {
	font-size: var(--fs-14);
	font-weight: 600;
	margin-bottom: 8px;
  }

  .pdp-upsell__list {
	display: grid;
	gap: 8px;
  }

  .pdp-upsell__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	border: 1px solid var(--line);
	border-radius: var(--r-8);
	background: var(--bg);
  }

  .pdp-upsell__thumb {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: var(--r-8);
	overflow: hidden;
  }

  .pdp-upsell__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
  }

  .pdp-upsell__info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
  }

  .pdp-upsell__name {
	font-size: var(--fs-13);
	font-weight: 500;
	color: var(--ink);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
  }

  .pdp-upsell__name:hover {
	color: var(--brand-600);
  }

  .pdp-upsell__price {
	font-size: var(--fs-13);
	font-weight: 700;
	color: var(--ink);
  }

  .pdp-upsell__item .btn--sm {
	width: 30px;
    height: 36px;
    min-width: 30px;
    padding: 0;
    font-size: 24px;
    font-weight: 400;
    line-height: 1em;
    display: flex;
    justify-content: center;
    border-radius: 8px;
  }

  .pdp-delivery {
	display: grid;
	gap: 6px;
	background: var(--bg);
	border: 1px solid var(--brand-600);
	border-radius: var(--r-16);
	padding: var(--s-12);
  }

  .pdp-delivery strong{
	font-weight: 600;
  }
  
  .pdp-delivery__row {
	display: flex;
	align-items: center;
	gap: 8px;
  }

  .pdp-delivery__row span{
	display: flex;
	align-items: center;
	gap: var(--s-8);
  }
  
  .pdp-delivery__calc {
	display: grid;
	gap: 6px;
  }
  
  .pdp-cta {
	display: flex;
	gap: 8px;
  }

  .pdp-cta form{
	display: flex;
	align-items: center;
	gap: 10px;
  }

  .pdp-cta .btn-icon.single_add_to_cart_button {
	width: 56px;
	height: 56px;
	min-width: 56px;
	background: var(--brand-600);
	border-color: var(--brand-600);
	color: #fff;
  }
  .pdp-cta .btn-icon.single_add_to_cart_button:hover {
	background: var(--brand-hover-bg, #00d868);
	border-color: var(--brand-hover-bg, #00d868);
	color: var(--brand-hover-ink, #000);
  }
  .pdp-cta .btn-icon.single_add_to_cart_button img {
	width: 24px;
	min-width: 24px;
	height: 24px;
	object-fit: contain;
	filter: brightness(0) invert(1);
  }
  .pdp-cta .btn-icon.single_add_to_cart_button:hover img {
	filter: none;
  }
  .pdp-variants__add:disabled {
	opacity: 0.6;
	cursor: not-allowed;
  }
  .sticky-cta__actions .btn-icon {
	width: 48px;
	height: 48px;
	min-width: 48px;
	background: var(--brand-600);
	border-color: var(--brand-600);
	color: #fff;
  }
  .sticky-cta__actions .btn-icon:hover {
	background: var(--brand-hover-bg, #00d868);
	border-color: var(--brand-hover-bg, #00d868);
	color: var(--brand-hover-ink, #000);
  }
  .sticky-cta__actions .btn-icon img {
	width: 22px;
	height: 22px;
	object-fit: contain;
	filter: brightness(0) invert(1);
  }
  .sticky-cta__actions .btn-icon:hover img {
	filter: none;
  }
  
  .qty {
	display: inline-grid;
	grid-template-columns: 36px 52px 36px;
	height: 56px;
	border: 1px solid var(--line);
	border-radius: var(--r-12);
	overflow: hidden;
	background: #fff;
  }
  
  .qty__btn {
	border: 0;
	background: var(--bg-2);
	font-weight: 700;
	color: var(--ink-2);
  }
  
  .qty__input {
	border: 0;
	text-align: center;
	font-weight: 700;
	font-size: var(--fs-16);
  }
  
  
  
  .pdp-finance {
	display: grid;
	gap: 6px;
  }
  
  .pdp-trust {
	list-style: none;
	padding: 0;
	margin: 0;
	color: var(--ink-3);
	display: flex;
	flex-direction: column;
	gap: 4px;
  }

  .pdp-trust li{
	display: flex;
	align-items: center;
	gap: var(--s-8);
	font-size: var(--fs-12);
  }

  .pdp-trust li img{
	height: 18px;
    max-width: 18px;
  }
  
  .pdp-badges {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
  }
  
  .pdp-help {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
  }
  
  /* Sticky CTA */
  
  .sticky-cta {
	display: none;
	position: sticky;
	bottom: 0;
	z-index: 900;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(10px);
	border-top: 1px solid var(--line);
	padding-block: 8px;
  }
  
  .sticky-cta__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
  }
  
  .sticky-cta__info {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ink-2);
	font-weight: 700;
  }
  
  .sticky-cta__actions {
	display: flex;
	gap: 8px;
  }
  
  /* PDP tabs */
  
  .pdp-tabs {
	background: #fff;
	padding-block: var(--s-24);
  }
  
  .tabs--pdp .tabs__nav {
	position: sticky;
	top: calc(var(--hdr-h) + 0px);
	background: #fff;
	z-index: 5;
	padding-block: 10px;
  }
  
.specs {
    display: flex;
    gap: var(--s-16);
    border: 1px solid var(--line);
    border-radius: var(--r-16);
    padding: 12px;
    background: var(--bg);
    max-width: 100%;
    width: 600px;
    overflow: hidden;
    flex-wrap: wrap;
}

/* Vigor order safety 20260929: scoped contrast and footer logo. */
.footer .logo--footer img, footer .logo--footer img { filter: brightness(0) invert(1); }
footer .logo--footer-text { color:#fff; }
.woocommerce ul.products li.product a.button, .woocommerce-page ul.products li.product a.button { background:#0b246b; color:#fff !important; border:1px solid #0b246b; opacity:1; text-decoration:none; transition:background-color .18s ease, box-shadow .18s ease; }
.woocommerce ul.products li.product a.button:hover, .woocommerce-page ul.products li.product a.button:hover { background:#173e94; color:#fff !important; }
.woocommerce ul.products li.product a.button:focus-visible { outline:3px solid #8bacff; outline-offset:3px; }
.product-cta--unavailable .product-cta__label { color:#475569; background:#eef2f7; border:1px solid #dce3ed; border-radius:10px; padding:10px 12px; line-height:1.3; }

.specs__group {
    width: 100%;
}
  
  .specs__group h3 {
	font-size: var(--fs-16);
	margin-bottom: 8px;
  }
  
  .specs dl {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: start;
	gap: 10px;
	margin: 0;
	width: 100%;
  }

 

  .specs dd:nth-child(odd):before{
	content: '';
    display: block;
    width: 400px;
    height: 1px;
    border: 1px dotted var(--line);
    position: absolute;
    bottom: 40%;
    left: 100%;
    z-index: -1;
  }
  
  .specs dd {
	margin: 0;
	font-weight: 700;
	color: var(--ink-2);
	justify-self: self-end;
	background: var(--bg);
	padding: 1px 10px;
	z-index: 1;
  }

  .specs dd:nth-child(odd){
    padding-left: 15px;
    z-index: 1;
    justify-self: flex-start;
	font-weight: 400;
  }

  .specs dd:nth-child(even){
    padding-right: 15px;
    z-index: 1;
    justify-self: flex-end;
	font-weight: 500;
	text-align: right;
  }
  
  
  
  .desc {
	padding-block: 12px;
	color: var(--ink-2);
  }
  
  .info-tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--s-16);
	padding-block: 12px;
  }
  
  .info-tile {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--r-16);
	padding: var(--s-12);
  }
  
  .info-tile h4 {
	margin-bottom: 6px;
  }
  
  
  
  .reviews-list {
	display: grid;
	gap: var(--s-12);
  }
  
  .review {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--r-12);
	padding: var(--s-12);
	display: grid;
	gap: 6px;
  }
  
  .review__head {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ink-3);
	font-size: var(--fs-14);
  }
  
  .form--review,
  .form--qa,
  .form--finance {
	margin-top: var(--s-12);
	max-width: 560px;
  }
  
  .qa {
	display: grid;
	gap: 8px;
  }
  
  .qa__item {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--r-12);
	padding: 8px 12px;
  }

  .qa__item summary::marker{
	content: '';
  }

  .qa__item summary::after{
	content: '+';
    font-size: 30px;
    height: 20px;
    width: 20px;
    line-height: 10px;
    font-weight: 300;
    position: absolute;
    right: 0;
    top: 3px;
    transition: transform 0.3s ease-in-out;
  }

  .qa__item[open] summary::after{
	transform: rotate(45deg);
  }
  
  .qa__item[open] {
	box-shadow: var(--sh-sm);
  }
  
  .qa__answer {
	padding-top: 8px;
	color: var(--ink-3);
  }
  
  .files {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 6px;
  }
  
  /* =================== 15. BUNDLES / ACCESSORIES / SIMILAR =================== */
  
  .bundle {
	background: #fff;
	border-top: 1px solid var(--line);
	padding-block: var(--s-24);
	display: none;
  }
  
  .bundle__row {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, auto));
	align-items: center;
	gap: 12px;
  }
  
  .bundle__item {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 8px;
	align-items: center;
	padding: 8px 10px;
	border: 1px solid var(--line);
	border-radius: var(--r-12);
	background: var(--bg);
  }
  
  .bundle__item img {
	width: 56px;
	height: 40px;
	object-fit: cover;
	border-radius: 8px;
  }
  
  .bundle__plus {
	font-weight: 700;
	color: var(--muted);
	text-align: center;
  }
  
  .bundle__sum {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 10px;
  }
  
  .bundle__sum strong {
	font-size: var(--fs-18);
  }
  
  
  
  
  
  .pdp-acc,
  .pdp-similar {
	background: #fff;
	padding-block: var(--s-24);
	border-top: 1px solid var(--line);
  }
  
  /* ========================== 16. HOME EXTRAS ================================ */
  
  /* Finance banner */
  
  .finance-banner {
	padding-block: var(--s-24);
	background: linear-gradient(180deg, #fff 0, #f6f8ff 100%);
  }
  
  .finance-banner__wrap {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: var(--s-16);
	align-items: center;
	border: 1px solid var(--line);
	border-radius: var(--r-16);
	background: #fff;
	box-shadow: var(--sh-sm);
	overflow: hidden;
	padding: 10px;
  }
  
  .finance-banner__text {
	padding: var(--s-16);
  }
  
  .finance-banner__text h3 {
	font-size: var(--fs-24);
	margin-bottom: 6px;
  }
  
  .finance-banner__text p {
	color: var(--ink-3);
	margin-bottom: 10px;
  }
  
  .finance-banner img {
	width: 100%;
	height: 175px;
	object-fit: cover;
	border-radius: var(--r-16);
  }
  
  
  
  /* Reviews on home (slider look simplified by grid) */
  
  .reviews {
	padding-block: var(--s-32);
	background: #fff;
  }
  
  /* Swiper стили для товаров и отзывов */
  .products-swiper,
  .reviews-swiper {
	position: relative;
	padding-bottom: 20px;
	width: 100%;
	overflow: hidden;
  }
  
  /* Скрываем слайдер до инициализации */
  .products-swiper:not(.swiper-initialized),
  .reviews-swiper:not(.swiper-initialized) {
	opacity: 0;
	visibility: hidden;
	max-height: 412px;
  }
  
  .products-swiper.swiper-initialized,
  .reviews-swiper.swiper-initialized {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.1s ease, visibility 0.1s ease;
	
  }
  
  .products-swiper .swiper-wrapper {
	display: flex;
  }
  
  .products-swiper .swiper-slide,
  .reviews-swiper .swiper-slide {
	height: auto;
	box-sizing: border-box;
  }
  
  .products-swiper.swiper--no-nav .swiper-button-next,
  .products-swiper.swiper--no-nav .swiper-button-prev,
  .reviews-swiper.swiper--no-nav .swiper-button-next,
  .reviews-swiper.swiper--no-nav .swiper-button-prev {
	display: none;
  }
  
  .products-swiper .swiper-button-next,
  .products-swiper .swiper-button-prev,
  .reviews-swiper .swiper-button-next,
  .reviews-swiper .swiper-button-prev {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--line, #e5e7eb);
	background: #fff;
	color: var(--ink-2, #1f2937);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .products-swiper .swiper-button-next::after,
  .products-swiper .swiper-button-prev::after,
  .reviews-swiper .swiper-button-next::after,
  .reviews-swiper .swiper-button-prev::after {
	font-size: 18px;
	font-weight: 700;
  }
  
  .products-swiper .swiper-button-next:hover,
  .products-swiper .swiper-button-prev:hover,
  .reviews-swiper .swiper-button-next:hover,
  .reviews-swiper .swiper-button-prev:hover {
	background: var(--brand-600, #2563eb);
	color: #fff;
	border-color: var(--brand-600, #2563eb);
  }
  
  .products-swiper .swiper-button-next:focus-visible,
  .products-swiper .swiper-button-prev:focus-visible,
  .reviews-swiper .swiper-button-next:focus-visible,
  .reviews-swiper .swiper-button-prev:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
  }
  
  .products-swiper .swiper-button-disabled,
  .reviews-swiper .swiper-button-disabled {
	opacity: 0.35;
	cursor: not-allowed;
  }
  
  /* FAQ */
  
  .faq {
	padding-block: var(--s-32);
  }
  
  .accordion {
	display: grid;
	gap: 8px;
  }
  
  .accordion__item {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-12);
	padding: 10px 12px;
  }
  
  .accordion__item[open] {
	box-shadow: var(--sh-sm);
  }
  
  .accordion__item summary {
	font-weight: 700;
	color: var(--ink-2);
	cursor: pointer;
  }

  .accordion__item summary::marker{
	content: '';
  }

  .accordion__item summary::after{
	content: '+';
    font-size: 30px;
	height: 20px;
	width: 20px;
    line-height: 14px;
    font-weight: 300;
    position: absolute;
    right: 0;
	top: 2px;
	transition: transform 0.3s ease-in-out;
  }

  .accordion__item[open] summary::after{
	transform: rotate(45deg);
  }
  
  .accordion__panel {
	color: var(--ink-3);
	padding: 8px 0 4px;
  }
  
  /* ================================ 17. FOOTER =============================== */
  
  .site-footer {
	background: #0f172a;
	color: #cbd5e1;
	margin-top: var(--s-40);
  }
  
  .site-footer .container {
	padding-block: var(--s-24);
  }
  
  .footer__top {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
	gap: var(--s-24);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	padding-bottom: var(--s-24);
  }
  
  .logo--footer img {
	filter: brightness(1.1);
  }
  
  .footer__desc {
	color: #aeb6cd;
	margin-top: 6px;
  }
  
  .footer__title {
	color: #fff;
	font-size: var(--fs-16);
	margin-bottom: 10px;
  }
  
  .footer__nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
  }
  
  .footer__nav a {
	color: #cbd5e1;
  }
  
  .footer__nav a:hover {
	color: #fff;
	text-decoration: none;
  }
  
  .footer__social {
	display: flex;
	gap: 10px;
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
  }
  
  .footer__social a {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, .15);
	color: #fff;
  }
  
  .contacts-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
  }
  
  .contacts__time,
  .contacts__addr {
	color: #9aa7c3;
  }
  
  .footer__payments {
	display: flex;
	gap: 10px;
	margin-top: 12px;
	align-items: center;
  }
  
  .footer__payments img {
	max-width: 30px;
	height: 24px;
	object-fit: contain;
	width: auto;
	filter: saturate(.9) brightness(.95);
  }
  
  .footer__middle {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	align-items: center;
	gap: var(--s-24);
	padding-block: var(--s-24);
  }
  
  .newsletter {
	display: grid;
	gap: 10px;
  }
  
  .newsletter__row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
  }
  
  .newsletter input {
	background: #12193a;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .1);
  }
  
  .newsletter .btn {
	--btn-bg: #1f2a52;
	--btn-ink: #fff;
	border-color: rgba(255, 255, 255, .2);
  }
  
  .footer-map {
	background: #0b1024;
	border-radius: var(--r-16);
	border: 1px solid rgba(255, 255, 255, .08);
	min-height: 220px;
	display: grid;
	place-items: center;
	overflow: hidden;
  }

  .footer-map iframe{
	height: 218px;
  }
  
  .map__placeholder {
	padding: 18px;
	color: #cbd5e1;
	text-align: center;
	display: grid;
	gap: 8px;
  }
  
  .footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	border-top: 1px solid rgba(255, 255, 255, .08);
	padding-top: var(--s-16);
	font-size: var(--fs-14);
  }
  
  .footer__legal a {
	color: #cbd5e1;
  }
  
  .footer__legal a:hover {
	color: #fff;
	text-decoration: none;
  }
  
  .footer__sep {
	margin-inline: 8px;
	color: #8790aa;
  }

  .footer__sep:last-child {
	display: none;
  }

  .site-footer .contacts-list a{
	color:var(--brand-old);
  }

  .site-footer .newsletter__note a{
	color:var(--brand-old);
  }
  
  
  
  /* ======================= 18. MOBILE ACCENT / STICKIES ===================== */
  
  /* Mobile bottom bar with quick actions (optional) */
  .mobile-bar {
	position: fixed;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1200;
	display: none;
	gap: 8px;
	background: rgba(255, 255, 255, .9);
	backdrop-filter: blur(10px);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 6px 8px;
	box-shadow: var(--sh-lg);
  }
  
  .mobile-bar__btn {
	height: 38px;
	padding-inline: 14px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: #fff;
	font-weight: 700;
	color: var(--ink-2);
  }
  
  .mobile-bar__btn--primary {
	border-color: var(--brand-600);
	color: var(--brand-700);
	background: var(--brand-50);
  }
  
  
  
  /* Mobile sticky filters button appearance */
  
  
  /* ============================ 19. COLOR ACCENTS =========================== */
  
  /* Accent outlines and focus */
  :focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
	border-radius: 8px;
  }
  
  /* theming states for chips (Акции/Новинки/Без прав/В наличии) */
  .chip[data-flag="sale"] {
	background: #ffe8ec;
	color: #c11235;
	border-color: #ffa4b6;
  }
  
  .chip[data-flag="new"] {
	background: #eaf6ff;
	color: #0a74bd;
	border-color: #a5d8ff;
  }
  
  .chip[data-flag="bez_prav"] {
	background: #f5efff;
	color: #6a3fd5;
	border-color: #c4b5fd;
  }
  
  .chip[data-flag="in_stock"] {
	background: #eafcf2;
	color: #0a9662;
	border-color: #92e2c7;
  }
  
  /* ============================ 20. HELPERS ================================= */
  
  /* Soft card */
  .card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-16);
	box-shadow: var(--sh-sm);
	padding: var(--s-16);
  }
  
  /* ============================ 20.1 404 PAGE =============================== */
  
  .error-page__card {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
	padding: clamp(18px, 3vw, 28px);
  }
  
  .error-page__code {
	margin: 0;
	font-size: clamp(56px, 10vw, 120px);
	line-height: 1;
	letter-spacing: .02em;
  }
  
  .error-page__text {
	margin: 10px auto 0;
	max-width: 56ch;
	color: var(--ink-3);
  }
  
  .error-page__actions {
	margin-top: var(--s-16);
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
  }
  
  /* Lift on hover */
  .lift:hover {
	transform: translateY(-2px);
	box-shadow: var(--sh-md);
  }
  
  /* Divider */
  .hr {
	height: 1px;
	background: var(--line);
	border: 0;
	margin: var(--s-16) 0;
  }
  
  /* END OF PART 2/4 */
  
  
  
  /* ============================================================================
	 VIGOR E‑COMMERCE — STYLE.CSS (PART 3/4)
	 Focus:
	 - PDP mobile polish: gallery swipe hints, thumbnails scroller, video badge
	 - Finance modal, credit calculator UI, one‑click modal, callback modal
	 - Toast / snackbar notifications, stepper, progress
	 - Category mobile filters drawer, sticky apply, virtual keyboard spacing
	 - Search full‑screen (mobile), recent queries, empty states
	 - Bundles UX, accessory badges, compact cards, list view polish
	 - Animations, motion‑safe, prefers‑color‑scheme (dark preview)
	 ========================================================================== */
  
  /* ============================ 21. PDP MOBILE ============================== */
  
  /* Swipe hint overlay for gallery on mobile */
  .pdp-gallery__hint {
	position: absolute;
	inset: auto 0 8px 0;
	display: none;
	text-align: center;
	color: #fff;
	font-weight: 700;
	font-size: var(--fs-12);
	text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
  }
  
  
  
  /* Video icon badge over thumbnail */
  .thumb[data-video]::after {
	content: "▶";
	position: absolute;
	inset: auto 6px 6px auto;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(15, 23, 42, .85);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 12px;
	box-shadow: var(--sh-sm);
  }
  
  /* 360 badge */
  .thumb[data-360]::after {
	content: "360°";
	position: absolute;
	inset: auto 6px 6px auto;
	padding: 0 6px;
	height: 22px;
	border-radius: 999px;
	background: rgba(15, 23, 42, .85);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 12px;
	box-shadow: var(--sh-sm);
  }
  
  /* Thumbs scroller on mobile — snap */
  
  
  /* PDP meta inline pills on small devices */
  
  
  /* PDP rating stars subtle gradient */
  .stars {
	background: linear-gradient(90deg, #ffb300, #ffcc4d);
	-webkit-background-clip: text;
	color: transparent;
  }
  
  /* Gallery zoom button hover */
  .pdp-gallery__zoom:hover {
	border-color: var(--brand-600);
	color: var(--brand-700);
  }
  
  /* ============================ 22. FINANCE MODAL =========================== */
  
  .modal {
	display: none;
  }
  
  .modal[open],
  .modal:not([hidden]):not([aria-hidden="true"]) {
	display: grid;
	position: fixed;
	inset: 0;
	z-index: 1100;
	place-items: center;
	overflow: auto;
	background: rgba(0, 0, 0, 0.5);
	padding: 20px;
  }
  
  .modal__dialog {
	position: relative;
	background: var(--bg, #fff);
	border-radius: var(--r-12, 12px);
	padding: 24px;
	max-width: 420px;
	width: 100%;
	box-shadow: var(--sh-lg, 0 10px 40px rgba(0,0,0,.2));
  }
  
  .modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 1;
	/* Единый вид — см. .offcanvas__close */
  }

  .modal__dialog form label{
	font-weight: 500;
	margin-bottom: 5px;
  }

  .modal__dialog form textarea{
	height: 100px;
	max-height: 200px;
  }

  .modal__dialog form .wpcf7-list-item{
	margin-left: 0;
  }

  .wpcf7-acceptance label{
	display: flex;
    align-items: center;
	gap: 10px;
  }

 .wpcf7-acceptance input{
	padding-block: 0;
	margin: 0;
	width: 18px;
	height: 18px;
  }

  .wpcf7-acceptance .wpcf7-list-item-label{
	font-weight: 400;
	font-size: 12px;
  }

  .wpcf7-not-valid-tip{
	font-size: 12px;
  }

  .wpcf7 form .wpcf7-response-output{
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 12px;
	color: var(--danger);
  }
  
  /* Finance form layout */
  .form--finance {
	display: grid;
	gap: 10px;
  }
  
  .form--finance .finance__result {
	background: var(--brand-50);
	border: 1px solid var(--brand-600);
	color: var(--brand-700);
	border-radius: var(--r-12);
	padding: 10px 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 10px;
  }
  
  .form--finance .finance__result::before {
	content: "💳";
	font-size: 18px;
  }
  
  /* Finance modal grid (term / downpayment) */
  .form--finance .form__row select,
  .form--finance .form__row input {
	height: 42px;
  }
  
  /* One‑click modal */
  #modal-oneclick .form {
	gap: 10px;
  }
  
  #modal-oneclick .btn--primary {
	--btn-bg: var(--brand-600);
  }
  
  /* Callback (header topbar button) — reuse .modal styles */
  /* You may reuse modal markup from earlier header section */
  
  /* Modal transitions (progressive, accessible) */
  
  
  @keyframes modalPop {
	from {
	  transform: translateY(6px);
	  opacity: .85;
	}
  
	to {
	  transform: translateY(0);
	  opacity: 1;
	}
  }
  
  /* ============================ 23. TOAST / SNACKBAR ======================== */
  
  .toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	z-index: 1300;
	background: #0f172a;
	color: #fff;
	border-radius: 12px;
	padding: 10px 14px;
	box-shadow: var(--sh-lg);
	display: none;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	min-width: 300px;
  }
  
  .toast.show {
	display: flex;
  }
  
  .toast__icon {
	width: 20px;
	height: 20px;
	display: grid;
	place-items: center;
  }
  
  .toast--success {
	background: #065f46;
  }
  
  .toast--danger {
	background: #7f1d1d;
  }
  
  .toast--info {
	background: #0c4a6e;
  }
  
  .toast--error {
	background: #7f1d1d;
  }
  
  .toast__text {
	display: flex;
	flex-direction: column;
  }
  
  .toast__text small {
	font-size: 0.6em;
	opacity: 0.85;
	font-weight: 400;
	line-height: 1;
  }
  
  /* Floating add‑to‑cart feedback */
  .added-bubble {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 1200;
	background: #fff;
	color: var(--ink-2);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: var(--sh-lg);
	padding: 10px 12px;
	display: none;
	gap: 10px;
	align-items: center;
  }
  
  .added-bubble.show {
	display: flex;
	animation: slideUp .25s ease both;
  }
  
  @keyframes slideUp {
	from {
	  transform: translateY(8px);
	  opacity: .7;
	}
  
	to {
	  transform: translateY(0);
	  opacity: 1;
	}
  }
  
  /* ========================= 24. CATEGORY DRAWER MOBILE ==================== */
  
  /* Drawer toggles (JS adds/removes [hidden]) */
  .filters-drawer[open],
  .filters-drawer:not([hidden]):not([aria-hidden="true"]) {
	display: block;
  }
  
  /* Header buttons styling */
  .filters-drawer__head .btn-icon {
	width: 34px;
	height: 34px;
  }
  
  /* Filter chip line at bottom in drawer */
  .filters-drawer__chips {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	padding: 8px 12px;
	border-top: 1px solid var(--line);
  }
  
  .filters-drawer__chips .chip {
	height: 32px;
  }
  
  /* Apply area */
  .filters-drawer__foot .btn--primary {
	flex: 2;
  }
  
  .filters-drawer__foot .btn--outline {
	flex: 1;
  }
  
  /* Sticky “Apply N” on mobile category (if not using drawer) */
  .cat-apply-sticky {
	position: sticky;
	bottom: 0;
	z-index: 40;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(10px);
	border-top: 1px solid var(--line);
	padding: 8px;
	display: none;
  }
  
  
  
  /* ============================= 25. SEARCH FULLSCREEN ===================== */
  
  .search-fs {
	position: fixed;
	inset: 0;
	z-index: 1200;
	background: #fff;
	display: none;
	grid-template-rows: auto 1fr;
  }
  
  .search-fs__head {
	display: flex;
	gap: 8px;
	align-items: center;
	padding: 12px var(--gutter);
	border-bottom: 1px solid var(--line);
  }
  
  .search-fs__input {
	flex: 1;
	height: 44px;
	border-radius: 12px;
	border: 1px solid var(--line);
	padding-inline: 14px;
  }
  
  .search-fs__body {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	padding: 12px var(--gutter) 24px;
	overflow: auto;
  }
  
  .search-fs__section {
	display: grid;
	gap: 6px;
  }
  
  .search-fs__title {
	color: var(--muted);
	font-size: var(--fs-12);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
  }
  
  .search-fs__chips {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
  }
  
  .search-fs__chips .chip {
	height: 34px;
  }
  
  .search-fs__items {
	display: grid;
	gap: 8px;
  }
  
  .search-fs__item {
	display: grid;
	grid-template-columns: 60px 1fr auto;
	gap: 10px;
	align-items: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 6px;
  }
  
  .search-fs__item img {
	width: 60px;
	height: 44px;
	object-fit: cover;
	border-radius: 10px;
	background: var(--bg-2);
  }
  
  .search-fs__item .title {
	font-weight: 700;
	color: var(--ink-2);
  }
  
  .search-fs__item .price {
	font-weight: 700;
  }
  
  .search-fs.show {
	display: grid;
  }
  
  /* ========================== 26. BUNDLES / ACCESSORIES ==================== */
  
  /* Accessory small badges */
  .product-card.product-card--acc .product-card__thumb {
	aspect-ratio: 1/1;
  }
  
  .product-card.product-card--acc .badge {
	font-size: 11px;
  }
  
  /* Inline add for accessories */
  .product-card--acc .product-card__actions {
	grid-template-columns: 1fr;
  }
  
  /* Bundle dashed box look on mobile */
  
  
  /* ============================= 27. LIST VIEW POLISH ====================== */
  
  .view-list .product-card__specs {
	grid-template-columns: repeat(3, minmax(0, auto));
	gap: 6px 12px;
	width: 100%;
	margin-top: 10px;
  }
  
  
  
  .view-list .product-card__actions {
	align-self: center;
  }
  
  /* ========================== 28. EMPTY / ZERO STATES ====================== */
  
  .zero {
	text-align: center;
	padding: 28px;
	background: #fff;
	border: 1px dashed var(--line);
	border-radius: 16px;
	color: var(--ink-3);
  }
  
  .zero__icon {
	font-size: 28px;
	margin-bottom: 6px;
  }
  
  .zero__actions {
	margin-top: 12px;
	display: flex;
	gap: 10px;
	justify-content: center;
  }
  
  /* ========================= 29. STEPPER / PROGRESS ======================== */
  
  .stepper {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--muted);
  }
  
  .stepper__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bg-3);
  }
  
  .stepper__dot.is-active {
	background: var(--brand-600);
	box-shadow: 0 0 0 3px var(--brand-100);
  }
  
  /* Progress bar */
  .progress {
	position: relative;
	height: 6px;
	background: var(--bg-2);
	border-radius: 999px;
	overflow: hidden;
  }
  
  .progress__bar {
	position: absolute;
	inset: 0 auto 0 0;
	width: 40%;
	background: var(--brand-600);
  }
  
  /* ========================== 30. FLOATING ACTION BAR ====================== */
  
  .fab {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 1200;
	display: grid;
	gap: 10px;
  }
  
  .fab__btn {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--brand-600);
	color: #fff;
	display: grid;
	place-items: center;
	box-shadow: var(--sh-lg);
  }
  
  .fab__btn--ghost {
	background: #fff;
	color: var(--brand-700);
	border: 1px solid var(--brand-600);
  }
  
  /* =========================== 31. REDUCED MOTION ========================== */
  
  
  
  
  
  /* ========================== 33. KEYBOARD SAFE AREA ======================= */
  /* iOS virtual keyboard / safe-area padding fix for sticky controls */
  
  @supports (padding: max(0px)) {
  
	.sticky-cta,
	.mobile-bar,
	.cat-apply-sticky {
	  padding-bottom: max(8px, env(safe-area-inset-bottom));
	}
  }
  
  /* ============================== 34. PRINT UX ============================= */
  
  
  
  /* ============================== 35. ACCESSIBILITY ======================== */
  
  :focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .38);
	outline-offset: 3px;
	border-radius: 10px;
  }
  
  [role="dialog"][aria-modal="true"] {
	overscroll-behavior: contain;
  }
  
  [aria-live="polite"] {
	transition: color .2s ease;
  }
  
  /* ============================== 36. UTILITIES ============================ */
  
  .grid {
	display: grid;
	gap: var(--s-16);
  }
  
  .grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .grid-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .mt-0 {
	margin-top: 0
  }
  
  .mt-4 {
	margin-top: var(--s-16)
  }
  
  .mt-6 {
	margin-top: var(--s-24)
  }
  
  .mb-0 {
	margin-bottom: 0
  }
  
  .mb-2 {
	margin-bottom: var(--s-8)
  }
  
  .mb-4 {
	margin-bottom: var(--s-16)
  }
  
  .mb-6 {
	margin-bottom: var(--s-24)
  }
  
  .pt-0 {
	padding-top: 0
  }
  
  .pt-4 {
	padding-top: var(--s-16)
  }
  
  .pt-6 {
	padding-top: var(--s-24)
  }
  
  .pb-0 {
	padding-bottom: 0
  }
  
  .pb-4 {
	padding-bottom: var(--s-16)
  }
  
  .pb-6 {
	padding-bottom: var(--s-24)
  }
  
  .text-center {
	text-align: center
  }
  
  .text-right {
	text-align: right
  }
  
  .w-100 {
	width: 100%
  }
  
  .h-100 {
	height: 100%
  }
  
  .round {
	border-radius: 999px
  }
  
  .soft {
	border-radius: var(--r-16)
  }
  
  .bordered {
	border: 1px solid var(--line)
  }
  
  .bg-paper {
	background: #fff
  }
  
  .bg-brand {
	background: var(--brand-600);
	color: #fff
  }
  
  /* ============================== 37. SCROLLBAR STYLES ===================== */

/* Кастомные полосы прокрутки для всех элементов с overflow */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--brand-600) transparent;
}

/* WebKit браузеры (Chrome, Safari, Edge) */
*::-webkit-scrollbar {
  width: 1px;
  height: 1px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--brand-600);
  border-radius: 1px;
  transition: background-color 0.2s ease;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: var(--brand-700);
}

/* Для вертикальных полос прокрутки */
*::-webkit-scrollbar:vertical {
  width: 1px;
}

/* Для горизонтальных полос прокрутки */
*::-webkit-scrollbar:horizontal {
  height: 1px;
}

/* ============================== 38. HOME BLOG ============================ */
  

  
  .blog-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--s-16);
  }
  
  .blog-card {
	border: 1px solid var(--line);
	border-radius: var(--r-16);
	overflow: hidden;
	background: #fff;
	box-shadow: var(--sh-sm);
	transition: transform var(--tr-fast), box-shadow var(--tr);
  }
  
  .blog-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--sh-md);
  }
  
  .blog-card__thumb {
	aspect-ratio: 16/9;
	background: var(--bg-2);
  }
  
  
  .blog-card__date {
	color: var(--muted);
	font-size: var(--fs-13);
  }
  
  .blog-card__title a {
	color: var(--ink-2);
  }
  
  /* ============================ 38. HERO RIBBON ============================ */
  
  .hero__ribbon {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: -10px;
	background: linear-gradient(90deg, var(--brand-600), #4f46e5);
	color: #fff;
	padding: 8px 12px;
	border-radius: 999px;
	text-align: center;
	font-weight: 700;
	box-shadow: var(--sh-md);
  }
  
  /* ============================ 39. PICKER MINI ============================ */
  
  .picker {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
  }
  
  .picker__form .btn {
	align-self: end;
  }
  
  /* ============================ 40. ICON EMBEDS ============================ */
  
  .icon {
	width: 1em;
	height: 1em;
	display: inline-block;
	vertical-align: -.15em;
	fill: currentColor;
  }
  
  /* ============================ END PART 3/4 =============================== */
  
  
  
  /* ============================================================================
	 VIGOR E‑COMMERCE — STYLE.CSS (PART 4/4)
	 Focus:
	 - Advanced micro‑UX: sticky header on scroll, hover masks, ripple
	 - Forms: validation states, inputs with icons, rating input stars
	 - Compare / Wishlist tables, spec comparer
	 - PDP credit calculator sliders, badges matrix
	 - Carousels bullets, swipe helpers, skeleton presets
	 - Utilities++ (spacing, flex/grid helpers), z‑layers
	 - High‑contrast media query, additional print polish
	 ========================================================================== */
  
  /* ============================ 41. STICKY HEADER ========================== */
  
  .header--floating .navbar {
	position: sticky;
	top: 0;
	z-index: 1000;
	backdrop-filter: blur(8px);
	background: rgba(255, 255, 255, .92);
	border-bottom: 1px solid var(--line);
  }
  
  .header--floating .navbar__container {
	transition: padding var(--tr-fast);
  }
  
  .header--floating.is-scrolled .navbar__container {
	padding-block: 6px;
  }
  
  .header--floating.is-scrolled .logo img {
	width: 116px;
	transition: width var(--tr-fast);
  }
  
  /* ============================ 42. HOVER MASKS ============================ */
  
  .mask-hover {
	position: relative;
	overflow: hidden;
  }
  
  .mask-hover::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, rgba(12, 22, 44, .08));
	opacity: 0;
	transition: opacity var(--tr);
  }
  
  .mask-hover:hover::after {
	opacity: 1;
  }
  
  /* ========================= 43. RIPPLE (buttons/links) ==================== */
  
  .ripple {
	position: relative;
	overflow: hidden;
  }
  
  .ripple::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	transform: scale(.8);
	opacity: 0;
	background: rgba(255, 255, 255, .25);
	transition: transform .25s ease, opacity .25s ease;
  }
  
  .ripple:active::before {
	transform: scale(1.2);
	opacity: 1;
  }
  
  /* ============================= 44. FORMS UX =============================== */
  
  .is-invalid input,
  .is-invalid select,
  .is-invalid textarea {
	border-color: var(--danger) !important;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, .12) !important;
  }
  
  .is-valid input,
  .is-valid select,
  .is-valid textarea {
	border-color: var(--success) !important;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, .12) !important;
  }
  
  .form__msg {
	font-size: var(--fs-13);
	color: var(--ink-3);
  }
  
  .form__msg--err {
	color: var(--danger);
  }
  
  .form__msg--ok {
	color: var(--success);
  }
  
  /* Inputs with left icon */
  .input-ico {
	position: relative;
  }
  
  .input-ico .ico {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--muted);
	pointer-events: none;
  }
  
  .input-ico input {
	padding-left: 34px;
  }
  
  /* Rating input (stars) */
  .rating-input {
	display: inline-flex;
	direction: rtl;
  }
  
  .rating-input input {
	display: none;
  }
  
  .rating-input label {
	font-size: 22px;
	color: #cbd5e1;
	cursor: pointer;
	padding: 0 2px;
	transition: color var(--tr-fast), transform var(--tr-fast);
  }
  
  .rating-input input:checked~label,
  .rating-input label:hover,
  .rating-input label:hover~label {
	color: #ffb300;
	transform: translateY(-1px);
  }
  
  /* ====================== 45. COMPARE / WISHLIST TABLES ==================== */
  
  .compare {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-16);
	overflow: auto;
  }
  
  .compare__table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
  }
  
  .compare__table th,
  .compare__table td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
  }
  
  .compare__table th {
	background: var(--bg-2);
	color: var(--ink-2);
	font-weight: 700;
	white-space: nowrap;
  }
  
  .compare__table thead th {
	position: sticky;
	top: 0;
	z-index: 1;
  }
  
  .compare__spec {
	color: var(--muted);
	width: 220px;
  }
  
  .compare__price {
	font-weight: 700;
  }
  
  .compare__img {
	width: 120px;
  }
  
  .compare__title a {
	color: var(--ink-2);
	font-weight: 700;
  }
  
  .wishlist {
	display: grid;
	gap: var(--s-12);
  }
  
  .wishlist__item {
	display: flex;
	gap: 12px;
	align-items: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 8px;
  }
  
  .wishlist__item img {
	object-fit: cover;
	border-radius: 10px;
	background: var(--bg-2);
  }
  
  .wishlist__title a {
	color: var(--ink-2);
	font-weight: 700;
  }
  
  .wishlist__actions {
	display: flex;
	gap: 8px;
  }
  
  /* =================== 46. CREDIT CALC / RANGE SLIDER (PDP) =============== */
  
  .calc {
	display: grid;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 12px;
  }
  
  .calc__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
  }
  
  .calc__label {
	color: var(--ink-3);
	font-weight: 700;
	font-size: var(--fs-13);
  }
  
  .calc__value {
	text-align: right;
	font-weight: 700;
  }
  
  .slider {
	position: relative;
	height: 8px;
	border-radius: 999px;
	background: var(--bg-2);
  }
  
  .slider__bar {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 40%;
	background: var(--brand-600);
	border-radius: 999px;
  }
  
  .slider__thumb {
	position: absolute;
	left: 40%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 18px;
	height: 18px;
	border: 2px solid var(--brand-600);
	background: #fff;
	border-radius: 50%;
	box-shadow: var(--sh-sm);
  }
  
  .calc__summary {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
	align-items: center;
	padding-top: 6px;
	border-top: 1px dashed var(--line);
  }
  
  .calc__pay {
	font-weight: 700;
	font-size: var(--fs-18);
	color: var(--ink-2);
  }
  
  .calc__note {
	color: var(--muted);
	font-size: var(--fs-12);
  }
  
  /* =========================== 47. CAROUSEL BULLETS ======================== */
  
  .bullets {
	display: flex;
	gap: 6px;
	align-items: center;
	justify-content: center;
	margin-top: 6px;
  }
  
  .bullets__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bg-3);
  }
  
  .bullets__dot.is-active {
	background: var(--brand-600);
	box-shadow: 0 0 0 3px var(--brand-100);
  }
  
  /* ========================== 48. SKELETON PRESETS ========================= */
  
  .skel-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 10px;
	display: grid;
	gap: 10px;
  }
  
  .skel-thumb {
	height: 180px;
	border-radius: 12px;
  }
  
  .skel-line {
	height: 12px;
	width: 100px;
	border-radius: 6px;
  }
  
  .skel-line.lg {
	width: 70%;
	height: 14px;
  }
  
  .skeleton,
  .skel-thumb,
  .skel-line {
	background: linear-gradient(90deg, #f2f4fa 25%, #e9ecf4 37%, #f2f4fa 63%);
	background-size: 400% 100%;
	animation: shimmer 1.2s ease infinite;
  }
  
  @keyframes shimmer {
	0% {
	  background-position: 100% 0;
	}
  
	100% {
	  background-position: -100% 0;
	}
  }
  
  /* ============================ 49. PDP BADGES MAP ========================= */
  
  .badge--delivery {
	background: #e7f8ff;
	color: #0a73b7;
  }
  
  .badge--pickup {
	background: #eef7ff;
	color: #0a73b7;
  }
  
  .badge--oem {
	background: #f4fbff;
	color: #0a73b7;
  }
  
  .badge--bestprice {
	background: #fff7e6;
	color: #a16207;
  }
  
  /* ========================= 50. PAGINATION MOBILE ========================= */
  
  
  
  /* ========================== 51. TABLES / PRICING ========================= */
  
  .table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
  }
  
  .table th,
  .table td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
  }
  
  .table th {
	background: var(--bg-2);
	text-align: left;
	color: var(--ink-2);
  }
  
  .table tr:last-child td {
	border-bottom: 0;
  }
  
  .table--striped tr:nth-child(odd) td {
	background: #fcfdff;
  }
  
  .table--hover tr:hover td {
	background: var(--brand-50);
  }
  
  /* ========================= 52. HEADER SEARCH DROPDOWN ==================== */
  
  .header-search .suggest-item {
	display: grid;
	grid-template-columns: 48px 1fr auto;
	gap: 10px;
	align-items: center;
	padding: 6px;
	border-radius: 10px;
	transition: background var(--tr-fast);
  }
  
  .header-search .suggest-item:hover {
	background: var(--brand-50);
  }
  
  .header-search .suggest-item img {
	width: 48px;
	height: 34px;
	object-fit: cover;
	border-radius: 8px;
	background: var(--bg-2);
  }
  
  .header-search .suggest-item .title {
	font-weight: 700;
  }
  
  .header-search .suggest-item .price {
	font-weight: 700;
  }
  
  /* ========================== 53. ACCESSIBILITY HELPERS ===================== */
  
  .skip-link {
	position: absolute;
	left: 8px;
	top: -40px;
	z-index: 10000;
	background: #0f172a;
	color: #fff;
	padding: 8px 12px;
	border-radius: 8px;
	transition: top .2s ease;
  }
  
  .skip-link:focus {
	top: 8px;
  }
  
  /* Focus ring already in previous parts; add hover contrast for WCAG */
  a:hover,
  button:hover {
	filter: brightness(1.02);
  }
  
  /* ========================== 54. HIGH CONTRAST MODE ======================= */
  
  
  
  /* ============================ 55. Z‑LAYERS MAP =========================== */
  
  :root {
	--z-modal: 1200;
	--z-toast: 1300;
	--z-header: 1000;
	--z-mega: 1020;
	--z-sticky: 900;
  }
  
  [role="dialog"] {
	z-index: var(--z-modal);
  }
  
  .toast {
	z-index: var(--z-toast);
  }
  
  .site-header {
	z-index: var(--z-header);
  }
  
  .megamenu {
	z-index: var(--z-mega);
  }
  
  .sticky-cta {
	z-index: var(--z-sticky);
  }
  
  /* =============================== 56. FLEX/GRID ============================ */
  
  .flex {
	display: flex;
  }
  
  .flex-col {
	flex-direction: column;
  }
  
  .items-center {
	align-items: center;
  }
  
  .justify-center {
	justify-content: center;
  }
  
  .justify-between {
	justify-content: space-between;
  }
  
  .gap-2 {
	gap: 8px;
  }
  
  .gap-3 {
	gap: 12px;
  }
  
  .gap-4 {
	gap: 16px;
  }
  
  .gap-6 {
	gap: 24px;
  }
  
  .grid {
	display: grid;
  }
  
  .cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  /* Spacings ++ */
  .mt-1 {
	margin-top: 4px
  }
  
  .mt-2 {
	margin-top: 8px
  }
  
  .mt-3 {
	margin-top: 12px
  }
  
  .mt-5 {
	margin-top: 20px
  }
  
  .mt-8 {
	margin-top: 32px
  }
  
  .mb-1 {
	margin-bottom: 4px
  }
  
  .mb-2 {
	margin-bottom: 8px
  }
  
  .mb-3 {
	margin-bottom: 12px
  }
  
  .mb-5 {
	margin-bottom: 20px
  }
  
  .mb-8 {
	margin-bottom: 32px
  }
  
  .py-2 {
	padding-block: 8px
  }
  
  .py-3 {
	padding-block: 12px
  }
  
  .py-4 {
	padding-block: 16px
  }
  
  .px-3 {
	padding-inline: 12px
  }
  
  .px-4 {
	padding-inline: 16px
  }
  
  /* Width helpers */
  .max-w-2xl {
	max-width: 720px;
  }
  
  .max-w-3xl {
	max-width: 840px;
  }
  
  .max-w-4xl {
	max-width: 960px;
  }
  
  /* =========================== 57. ICONIC BADGES =========================== */
  
  .badges {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
  }
  
  .badge--eco {
	background: #ebfff3;
	color: #0b8f5a;
  }
  
  .badge--fast {
	background: #eef6ff;
	color: #0a73b7;
  }
  
  .badge--assm {
	background: #fff8e7;
	color: #a16207;
  }
  
  /* ========================= 58. KEYBOARD FOCUS TWEAKS ===================== */
  
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible,
  .btn:focus-visible,
  .chip:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
  }
  
  /* ======================= 59. PRINT (SPECIFIC ENHANCE) ==================== */
  
  
  
  /* ======================= 60. CARD COLOR VARIANTS ========================= */
  
  .btn--sale {
	--btn-bg: #c11235;
  }
  
  .btn--new {
	--btn-bg: #0a74bd;
  }
  
  .btn--flag {
	--btn-bg: #6a3fd5;
  }
  
  .product-card--sale {
	border-color: #ffd6db;
  }
  
  .product-card--new {
	border-color: #bfe5ff;
  }
  
  .product-card--flag {
	border-color: #d9ccff;
  }
  
  .product-card--sale .product-card__status {
	color: #c11235;
  }
  
  .product-card--new .product-card__status {
	color: #0a74bd;
  }
  
  .product-card--flag .product-card__status {
	color: #6a3fd5;
  }
  
  /* ========================= 61. MISC / DEMO HELPERS ======================= */
  
  .demo-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 8px;
  }
  
  .demo-grid>div {
	background: var(--bg-2);
	border: 1px dashed var(--line);
	height: 40px;
  }
  
  /* =========================== 62. FINAL SAFETY ============================ */
  
  .hidden {
	display: none !important;
  }
  
  [hidden] {
	display: none !important;
  }
  
  .invisible {
	visibility: hidden !important;
  }
  
  /* THE END — STYLE.CSS (PART 4/4) */
  
  
  
  
  /* ============ HEADER CLEAN-UP PATCH (compact) ============ */
  
  /* Тонкая верхняя полоска */
  .topbar {
	border-bottom: 1px solid var(--line);
	background: #fff;
	color: var(--ink-3);
	font-size: var(--fs-13);
  }
  
  .topbar .container {
	padding-block: 6px;
  }
  
  .topbar__left {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 14px;
  }
  .topbar__left-visible {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 14px;
  }
  .topbar__left-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	padding: 0;
	background: var(--brand-50, rgba(0,0,0,.04));
	border: none;
	border-radius: 6px;
	cursor: pointer;
	color: var(--ink-3);
	transition: color .2s, background .2s;
	transform: rotate(-90deg);
  }
  .topbar__left.is-open .topbar__left-toggle {
	display: none;
  }
  .topbar__left-toggle:hover {
	color: var(--brand-700);
	
  }
  .topbar__left-chevron {
	display: block;
	width: 20px;
	height: 20px;
	transform: rotate(180deg);
	transition: transform .2s;
  }
  .topbar__left-dropdown {
	display: none;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
  }
  .topbar__left.is-open .topbar__left-dropdown {
	display: flex;
  }
  .topbar__left-dropdown[hidden] {
	display: none !important;
  }
  .topbar__right {
	gap: 8px 14px;
  }
  
  .topbar__link {
	font-weight: 700;
	color: var(--ink-3);
  }
  
  .topbar__link:hover {
	color: var(--brand-700);
  }

  .topbar__menu {
	gap: 8px 14px;
  }

  .topbar__menu a {
	font-weight: 700;
	color: var(--ink-3);
  }

  .topbar__menu a:hover {
	color: var(--brand-700);
  }
  
  /* Основная строка — единая сетка и высоты */
  .navbar {
	height: auto;
  }
  
  .navbar__container {
	display: grid;
	grid-template-columns: 260px 1fr 360px;
	/* лого+каталог / поиск+локация / контакты */
	gap: 16px;
	align-items: center;
	padding-block: 10px;
  }
  
  .navbar__center {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
  }
  .navbar__center .header-search {
	flex: 0 1 80%;
	min-width: 0;
  }
  .navbar__center .region-selector {
	flex-shrink: 0;
	margin-left: 0;
  }
  
  /* Лого + Каталог в одну линию */
  .logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
  }
  
  .logo img {
	width: 128px;
	height: auto;
  }
  
  .btn--catalog {
	--btn-bg: var(--brand-600);
	--btn-ink: #fff;
	height: 40px;
	border-radius: 10px;
	padding: 0 14px;
	box-shadow: var(--sh-sm);
  }
  
  /* Поиск — граница на input, кнопка выровнена по нему (ширина 60% колонки) */
  .navbar__center .header-search {
	height: 40px;
  }
  .navbar__center .header-search__input {
	padding-inline: 12px 54px;
	border-radius: 12px;
  }
  .navbar__center .header-search__btn {
	width: 44px;
	top: 1px;
	right: 1px;
	bottom: 1px;
	background: var(--bg-2);
  }
  
  /* Контакты справа — одна колонка, чёткая типографика */
  .navbar__right {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 12px;
  }
  
  .contacts {
	justify-self: start;
  }
  
  .contacts__phone {
	font-weight: 700;
	font-size: 16px;
	color:var(--brand);
	text-decoration: underline;
	cursor: pointer;
	text-underline-offset: 3px;
  }
  
  .contacts__meta {
	font-size: 12.5px;
	color: var(--muted);
	
  }
  
  .user-actions {
	justify-self: end;
	display: inline-flex;
	gap: 10px;
  }
  
  .ua,
  .mini-cart__btn,
  .btn-icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: #fff;
  }
  
  /* Скрываем навигационный список в шапке — оставим только Каталог */
  .nav-primary__list {
	display: none !important;
  }
  
  /* Убираем любые чипы/бейджи из шапки — они ниже в promo-nav */
  .promo-nav {
	display: block;
  }
  
  header .chip {
	display: none !important;
  }
  
  /* если вдруг они попали внутрь header */
  
  /* Компактность на мобильном */
  
  
  /* Тонкая линия и тень шапки для отделения от контента */
  .site-header {
	box-shadow: var(--sh-sm);
	border-bottom: 1px solid var(--line);
  }
  
  /* Бейджи иконок — меньше и аккуратнее */
  .ua__badge,
  .mini-cart__count {
	min-width: 18px;
	height: 18px;
	font-size: 11px;
	right: -6px;
	top: -6px;
	border-radius: 9px;
  }
  
  /* Ширина правой колонки (контакты) — если номер длинный, переносим вторую строку */
  .navbar__right {
	grid-auto-flow: column;
  }
  
  .contacts__phone {
	white-space: nowrap;
  }
  
  
  .navbar__left {
	display: flex;
	align-items: center;
	gap: 10px;
  }
  
  
  
  /* Mobile header polish */
  
  
  /* Fullscreen search */
  .search-fs {
	display: none;
  }
  
  .search-fs.show {
	display: grid;
  }
  
  
  .flagged {
	padding-block: var(--s-24);
	background: #fff;
	border-top: 1px solid var(--line);
  }
  
  .product-card--flag {
	border-color: #d9ccff;
  }
  
  .product-card--flag .badge--flag {
	background: #f0eaff;
	color: #5a37c8;
  }
  
  .advantages {
	padding-block: var(--s-64);
  }
  
  .adv-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
  }
  
  .adv-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-16);
	padding: var(--s-16);
	display: flex;
	flex-direction: column;
	gap: 6px;
	box-shadow: var(--sh-sm);
  }
  
  .adv-card img {
	width: 40px;
	height: 40px;
  }
  
  
  
 
  
  
  .product-card--pro .product-pro__meta {
	display: flex;
	gap: 10px;
	align-items: center;
	color: var(--ink-3);
	font-size: var(--fs-14);
  }
  
  .product-card--pro .product-pro__emi {
	color: var(--ink-3);
	font-weight: 700;
	margin-top: -6px;
  }
  
  .how{
	padding-block: var(--s-32);
  }
  
  .how-rail {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--s-16);
	counter-reset: step;
	padding-block: var(--s-16);
  }
  
  .how-rail::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 2px;
	background: var(--bg-3);
  }
  
  .how-step {
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-16);
	padding: var(--s-16);
	padding-top: var(--s-32);
	box-shadow: var(--sh-sm);
  }
  
  .how-step__num {
	position: absolute;
	left: 12px;
	top: -20px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--brand-600);
	color: #fff;
	display: grid;
	place-items: center;
	font-weight: 700;
	box-shadow: var(--sh-sm);
  }
  
  
  
  
  
  
  .blog-slider{
	background-color: #fff;
	padding-block: var(--s-64);
  }
  
  .blog-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--s-16);
  }
  
  .blog-card {
	position: relative;
	border: 1px solid var(--line);
	border-radius: var(--r-16);
	overflow: hidden;
	background: #F7F8FB;
	box-shadow: var(--sh-sm);
	transition: transform var(--tr-fast), box-shadow var(--tr);
	padding: 20px;
  }
  
  .blog-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--sh-md);
  }
  
  .blog-card__thumb {
	position: relative;
	aspect-ratio: 16/9;
	overflow: hidden;
  }
  
  .blog-card__thumb img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: transform .6s ease;
	border-radius: 10px;
  }
  
  .blog-card:hover .blog-card__thumb img {
	transform: scale(1.05);
  }
  
  .blog-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 10px;
  }
  
  .blog-card__date {
	color: var(--muted);
	font-size: var(--fs-12);
	letter-spacing: .04em;
	text-transform: uppercase;
  }
  
  .blog-card__title{
	font-size: 18px;
	font-weight: 800;
	margin-bottom: 0;
  }
  
  .blog-card__title a {
	color: var(--ink-2);
  }
  
  .blog-card__meta {
	display: flex;
	gap: var(--s-12);
	flex-wrap: wrap;
	margin-top: 4px;
	font-size: var(--fs-12);
	color: var(--muted);
  }
  
  .blog-card__meta-item {
	display: flex;
	align-items: center;
	gap: 4px;
  }
  
  .blog-card__excerpt {
	color: var(--ink-3);
	font-size: var(--fs-14);
	line-height: 1.6;
	margin-top: var(--s-8);
	margin-bottom: var(--s-8);
	display: -webkit-box;
	-webkit-line-clamp: 5;
	line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
  }
  
  .blog-card__read-more {
	display: inline-block;
	margin-top: var(--s-12);
	color: var(--brand-600);
	font-size: var(--fs-14);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s;
  }
  
  .blog-card__read-more:hover {
	color: var(--brand-700);
	text-decoration: underline;
  }
  
  
  
  

/* ============================ BLOG ARCHIVE ============================ */



.blog-archive__header {
	margin: var(--s-32) 0;
}

/* ============================ BLOG PAGE (4x4 grid) ============================ */

.blog-page__header {
	display: flex;
	flex-direction: column;
	align-items: baseline;
	gap: var(--s-8);
	margin: var(--s-32) 0;
}

.blog-page__header .title-2 {
	margin: 0;
}

.blog-page__meta {
	color: var(--ink-3);
	font-size: var(--fs-15);
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--s-24);
}

.blog-page__pagination {
	margin-top: var(--s-48);
	display: flex;
	justify-content: center;
}

.blog-page__empty {
	text-align: center;
	padding: var(--s-64) 0;
	color: var(--ink-3);
}







.blog-archive__title {
	font-size: 32px;
	font-weight: 800;
	color: var(--ink-2);
	margin: 0 0 var(--s-8);
}

.blog-archive__description {
	color: var(--ink-3);
	font-size: var(--fs-15);
	line-height: 1.6;
	margin-top: var(--s-8);
}

.blog-archive__pagination {
	margin-top: var(--s-48);
	display: flex;
	justify-content: center;
}

.blog-archive__empty {
	text-align: center;
	padding: var(--s-48);
	color: var(--ink-3);
}

/* Пагинация */
.pagination {
	display: flex;
	align-items: center;
	gap: var(--s-8);
	flex-wrap: wrap;
	justify-content: center;
}

.woocommerce .woocommerce-pagination{
	margin: var(--s-64) 0 var(--s-32) 0;
}

.woocommerce .woocommerce-pagination .page-numbers{
	border: none;
	display: flex;
	gap: var(--s-4);
}

.woocommerce .woocommerce-pagination ul.page-numbers li{
	border-radius: var(--r-12);
	border: 1px solid var(--line);
	background-color: #fff;
}

.woocommerce .woocommerce-pagination ul.page-numbers li:has(.current),
.woocommerce .woocommerce-pagination ul.page-numbers li:hover{
	background: var(--brand-600);
	color: #fff;
}
.woocommerce .woocommerce-pagination ul.page-numbers li a:focus-visible{
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
}

.woocommerce .woocommerce-pagination ul.page-numbers li span,
.woocommerce .woocommerce-pagination ul.page-numbers li a{
	background: none!important;
	color: inherit!important;
	padding: 15px!important;
	
}






/* ============================ PAGE ABOUT ============================ */



.about-section {
	margin-bottom: var(--s-64);
}

.about-content {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: var(--s-32);
	align-items: start;
}

.about-content__text {
	line-height: 1.8;
	font-weight: 500;
	color: var(--ink-2);
	font-size: var(--fs-15);
	padding: 20px;
	background: var(--bg);
	border-radius: var(--r-16);
	box-shadow: var(--sh-sm);
	border: 1px solid var(--line);
}

.about-content__text p {
	margin-bottom: var(--s-16);
}

.about-content__visual {
	display: flex;
	flex-direction: column;
	gap: var(--s-24);
	align-items: center;
}

.about-logo {
	text-align: center;
}

.about-logo__main {
	font-size: 72px;
	font-weight: 900;
	color: var(--brand-600);
	line-height: 1;
	letter-spacing: -0.02em;
}

.about-logo__sub {
	font-size: var(--fs-14);
	color: var(--ink-3);
	font-weight: 600;
	margin-top: var(--s-8);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.about-image {
	width: 100%;
	border-radius: var(--r-16);
	overflow: hidden;
}

.about-image img {
	width: 100%;
	height: auto;
	display: block;
}

.contacts-section {
	margin-bottom: var(--s-64);
}

.contacts-block {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--s-32);
	flex-wrap: wrap;
	padding: var(--s-24);
	background: #fff;
	border-radius: var(--r-16);
	box-shadow: var(--sh-sm);
	border: 1px solid var(--line);
}

.contacts-block__phones {
	display: flex;
	gap: var(--s-64);
}

.contacts-block__phone {
	display: flex;
	align-items: center;
	gap: var(--s-12);
	font-size: var(--fs-18);
	font-weight: 700;
	color: var(--brand-600);
	text-decoration: none;
	transition: color 0.2s;
}

.contacts-block__phone span{
	display: flex;
	flex-direction: column;
	text-decoration: underline;
	cursor: pointer;
	text-underline-offset: 3px;
	line-height: 1em;	
}

.contacts-block__phone small{
	font-size: var(--fs-14);
	color: var(--ink-3);
	font-weight: 400;
	text-decoration: none;
}	

.contacts-block__phone:hover {
	color: var(--brand-600);
	text-decoration: none;
}

.contacts-block__icon {
	font-size: 24px;
}

.contacts-block__social {
	display: flex;
	gap: var(--s-12);
}

.contacts-block__social-link {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--brand-600);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-weight: 700;
	font-size: var(--fs-13);
	transition: all 0.2s;
}

.contacts-block__social-link:hover {
	background: var(--brand-700);
	transform: translateY(-2px);
	box-shadow: var(--sh-md);
	text-decoration: none;
	color: #fff;
}

.delivery-methods {
	margin-bottom: var(--s-64);
}

.delivery-methods__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--s-20);
}

.delivery-method {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-16);
	padding: var(--s-24);
	box-shadow: var(--sh-sm);
	transition: transform 0.2s, box-shadow 0.2s;
}

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

.delivery-method__icon {
	font-size: 48px;
	margin-bottom: var(--s-12);
}

.delivery-method__title {
	font-size: var(--fs-18);
	font-weight: 700;
	color: var(--ink-2);
	margin-bottom: var(--s-8);
}

.delivery-method__text {
	color: var(--ink-3);
	font-size: var(--fs-14);
	line-height: 1.6;
	margin: 0;
}





  .woocommerce .woocommerce-breadcrumb{
	margin: 0;
  }

  .deliv-calc__row{
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-start	;
  }

  .woocommerce .quantity .qty{
	height: 100%;
	border-radius: 0;
	border: none;
  }

  .woocommerce .woocommerce-result-count{
	margin: 0;
  }

  .woocommerce .woocommerce-ordering{
	margin: 0;
  }

.view-list .product-card{
	height: 220px;
}

.view-list .product-card__thumb{
	position: absolute;
	height: 200px;
	width: 200px;
	z-index: 1;
}

.view-list .product-card__thumb img{
	object-fit: contain;
}

.view-list .product-card .product-card__title{
	min-height: 0;
}

.view-list .product-card .product-card__title,
.view-list .product-card .product-card__specs,
.view-list .product-card .product-card__prices,
.view-list .product-card .product-card__actions{
	padding-left: 220px;
	align-self: flex-start;
}

.view-list .product-card .product-card__actions{
	flex: 1;
    align-items: self-end;
}

.view-list .product-card .product-card__status{
	position: absolute;
	bottom: 20px;
	right: 20px;
}

/* ============================ SINGLE POST ============================ */

.single-post-page {
	background: var(--bg);
}



.single-post__header {
	padding: var(--s-16) 0;	
}

.single-post__title {
	font-size: 32px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--ink-2);
	margin: 0;
}

.single-post__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--s-12);
}

.single-post__date {
	color: var(--muted);
	font-size: var(--fs-14);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.single-post__stats {
	display: flex;
	gap: var(--s-16);
}

.single-post__stat {
	color: var(--ink-3);
	font-size: var(--fs-13);
}

.single-post__image {
	line-height: 0;
	border-radius: var(--r-12);
	overflow: hidden;
	padding: var(--s-16) 0;
}

.single-post__image img {
	width: 100%;
	height: auto;
	display: block;
	max-height: 500px;
    object-fit: cover;
	border-radius: var(--r-12);
}



.single-post__content p {
	margin-bottom: var(--s-16);
	line-height: 1.7;
	color: var(--ink-2);
}

.single-post__content h2,
.single-post__content h3,
.single-post__content h4 {	
	margin-top: var(--s-32);
	margin-bottom: var(--s-16);
	color: var(--ink-2);
	font-weight: 700;
}

.single-post__content h2 {
	font-size: 24px;
}

.single-post__content h3 {
	font-size: 20px;
}

.single-post__content ul,
.single-post__content ol {
	margin-bottom: var(--s-16);
	padding-left: var(--s-24);
}

.single-post__content li {
	margin-bottom: var(--s-8);
	line-height: 1.7;
}

.single-post__content a {
	color: var(--brand-600);
	text-decoration: underline;
}

.single-post__content a:hover {
	color: var(--brand-700);
}

.single-post__share {
	padding: var(--s-24) var(--s-32);
	border-top: 1px solid var(--line);
	display: flex;
	align-items: center;
	gap: var(--s-16);
	flex-wrap: wrap;
	background: var(--bg-2);
}

.single-post__share-label {
	font-weight: 600;
	color: var(--ink-2);
	font-size: var(--fs-14);
}

.single-post__share-buttons {
	display: flex;
	gap: var(--s-8);
	flex-wrap: wrap;
}

.btn--share {
	padding: var(--s-8) var(--s-16);
	font-size: var(--fs-13);
	font-weight: 600;
	border-radius: var(--r-8);
	min-width: auto;
}

.btn--vk {
	--btn-bg: #4C75A3;
	--btn-ink: #fff;
}

.btn--fb {
	--btn-bg: #1877F2;
	--btn-ink: #fff;
}

.btn--tg {
	--btn-bg: #0088cc;
	--btn-ink: #fff;
}

.btn--wa {
	--btn-bg: #25D366;
	--btn-ink: #fff;
}

.btn--copy {
	--btn-bg: var(--ink-3);
	--btn-ink: #fff;
}



.comments-title {
	font-size: 24px;
	font-weight: 700;
	color: var(--ink-2);
	margin-bottom: var(--s-24);
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--s-32);
}

.comment-list .comment {
	margin-bottom: var(--s-24);
	padding-bottom: var(--s-24);
	border-bottom: 1px solid var(--line);
}

.comment-list .comment:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.comment-list .children {
	list-style: none;
	padding-left: var(--s-32);
	margin-top: var(--s-16);
	margin-bottom: 0;
	border-left: 2px solid var(--brand-600);
}

.comment-list .children .comment {
	padding-left: var(--s-16);
}

.comment-body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: var(--s-16);
	background-color: #fff;
	border-radius: var(--r-12);
	box-shadow: var(--sh-sm);
}

.comment-header {
	display: flex;
	align-items: center;
	gap: var(--s-12);
	flex-wrap: wrap;
}

.comment-author-name {
	font-weight: 700;
	font-size: var(--fs-15);
	color: var(--ink-2);
}

.comment-date {
	font-size: var(--fs-13);
	color: var(--muted);
	font-weight: 500;
}

.comment-title {
	font-size: var(--fs-16);
	font-weight: 600;
	color: var(--ink-2);
	margin: 0;
	margin-top: var(--s-4);
}

.comment-content {
	line-height: 1.7;
	color: var(--ink-2);
}

.comment-content p {
	margin-bottom: var(--s-8);
	margin-top: 0;
}

.comment-content p:last-child {
	margin-bottom: 0;
}



.comment-reply-link {
	font-size: var(--fs-13);
	color: var(--brand-600);
	text-decoration: none;
	font-weight: 600;
}

.comment-reply-link:hover {
	color: var(--brand-700);
	text-decoration: underline;
}

.comment-form {
	margin-top: var(--s-32);
}

.comment-form label {
	display: block;
	margin-bottom: var(--s-8);
	font-weight: 600;
	color: var(--ink-2);
	font-size: var(--fs-14);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: var(--s-12);
	border: 1px solid var(--line);
	border-radius: var(--r-8);
	font-size: var(--fs-14);
	font-family: inherit;
	margin-bottom: var(--s-16);
	transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--brand-600);
}

.comment-form textarea {
	resize: vertical;
	min-height: 120px;
}

.comment-form .form-submit {
	margin-top: var(--s-16);
}

.comment-form .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 44px;
	padding: 0 18px;
	border-radius: var(--r-12);
	border: 1px solid transparent;
	color: #fff;
	background: var(--brand-600);
	font-weight: 700;
	letter-spacing: .01em;
	font-size: inherit;
	box-shadow: var(--sh-sm);
	transition: transform var(--tr-fast), background var(--tr), color var(--tr), border-color var(--tr);
	cursor: pointer;
}
.comment-form .submit:hover {
	transform: translateY(-1px);
	background: var(--brand-hover-bg, #00d868);
	color: var(--brand-hover-ink, #000000);
	border-color: var(--brand-hover-bg, #00d868);
}
.comment-form .submit:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
}
.comment-form .submit:active {
	transform: translateY(0);
}

.no-comments {
	color: var(--muted);
	font-style: italic;
	margin: var(--s-24) 0;
}



/* ============================ PAGE DEFAULT ============================= */

.page-section {
	margin-bottom: var(--s-64);
}

/* ---- Prose: типографика для контента из WP-редактора ---- */

.page-section .page-content {
	max-width: 960px;
	line-height: 1.75;
	font-size: var(--fs-16);
	color: var(--ink-2);
}

.page-content > *:first-child { margin-top: 0; }
.page-content > *:last-child  { margin-bottom: 0; }

.page-content p {
	margin: 0 0 1em;
}

.page-content h2 {
	font-size: var(--fs-28);
	margin: 1.8em 0 .6em;
}

.page-content h3 {
	font-size: var(--fs-22);
	margin: 1.5em 0 .5em;
}

.page-content h4 {
	font-size: var(--fs-18);
	margin: 1.4em 0 .4em;
}

.page-content ul,
.page-content ol {
	margin: 0 0 1em;
	padding-left: 1.6em;
}

.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }

.page-content li {
	margin-bottom: .4em;
}

.page-content li::marker {
	color: var(--brand-500);
}

.page-content blockquote {
	margin: 1.5em 0;
	padding: 1em 1.5em;
	border-left: 4px solid var(--brand-400);
	background: var(--bg-2);
	border-radius: var(--r-8);
	font-style: italic;
	color: var(--ink-3);
}

.page-content blockquote p:last-child {
	margin-bottom: 0;
}

.page-content img {
	border-radius: var(--r-12);
	margin: 1em 0;
}

.page-content figure {
	margin: 1.5em 0;
}

.page-content figcaption {
	font-size: var(--fs-13);
	color: var(--muted);
	text-align: center;
	margin-top: .5em;
}

.page-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
	font-size: var(--fs-14);
}

.page-content th,
.page-content td {
	padding: 10px 14px;
	border: 1px solid var(--line);
	text-align: left;
}

.page-content th {
	background: var(--bg-2);
	font-weight: 700;
	color: var(--ink-2);
}

.page-content tr:nth-child(even) td {
	background: var(--bg);
}

.page-content hr {
	border: none;
	border-top: 1px solid var(--line);
	margin: 2em 0;
}

.page-content a {
	color: var(--brand-600);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.page-content a:hover {
	color: var(--brand-800);
}

.page-content strong { font-weight: 700; }
.page-content em     { font-style: italic; }

/* Gutenberg-блоки: колонки, галерея и т.д. */
.page-content .wp-block-columns {
	display: flex;
	gap: var(--s-24);
	margin: 1.5em 0;
}

.page-content .wp-block-column {
	flex: 1;
	min-width: 0;
}

.page-content .wp-block-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: var(--s-12);
	margin: 1.5em 0;
}

.page-content .wp-block-image {
	margin: 1.5em 0;
}



/* ============================ PAGE PAYMENTS ============================ */



.payments-section {
	margin-bottom: var(--s-64);
}

.delivery-payment-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--s-32);
}

.delivery-payment-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-16);
	padding: var(--s-24);
	box-shadow: var(--sh-sm);
}

.delivery-payment-card__title {
	display: flex;
	align-items: center;
	gap: var(--s-12);
	font-size: var(--fs-20);
	font-weight: 700;
	color: var(--ink-2);
	margin-bottom: var(--s-20);
}

.delivery-payment-card__icon {
	font-size: 28px;
}

.delivery-payment-card__content {
	color: var(--ink-2);
	line-height: 1.7;
}

.delivery-payment-card__content p {
	margin-bottom: var(--s-16);
	font-size: var(--fs-14);
}

.delivery-info {
	display: flex;
	flex-direction: column;
	gap: var(--s-8);
	margin-bottom: var(--s-16);
	padding: var(--s-16);
	background: var(--bg);
	border-radius: var(--r-12);
}

.delivery-info__item {
	font-size: var(--fs-15);
}

.delivery-info__item strong {
	color: var(--ink-2);
	font-weight: 700;
}

.delivery-payment-card__list {
	margin-top: var(--s-16);
	margin-bottom: 0;
	padding-left: var(--s-20);
}

.delivery-payment-card__list li {
	margin-bottom: var(--s-12);
	color: var(--ink-3);
	font-size: var(--fs-14);
	line-height: 1.6;
}

.delivery-payment-card__list li:last-child {
	margin-bottom: 0;
}

.pickup-address {
	margin-bottom: var(--s-16);
	padding: var(--s-16);
	background: var(--bg);
	border-radius: var(--r-12);
	font-size: var(--fs-15);
}

.pickup-address strong {
	color: var(--ink-2);
	font-weight: 700;
}

.pickup-image {
	margin-top: var(--s-20);
	border-radius: var(--r-12);
	overflow: hidden;
}

.pickup-image img {
	width: 100%;
	height: auto;
	display: block;
}

.payment-methods-section {
	margin-bottom: var(--s-64);
}

.payment-methods-grid {
	display: flex;
	flex-direction: column;
	gap: var(--s-24);
}

.payment-method-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-16);
	padding: var(--s-24);
	box-shadow: var(--sh-sm);
}

.payment-method-card__title {
	display: flex;
	align-items: center;
	gap: var(--s-12);
	font-size: var(--fs-18);
	font-weight: 700;
	color: var(--ink-2);
	margin-bottom: var(--s-20);
}

.payment-method-card__icon {
	font-size: 24px;
}

.payment-method-card__content {
	color: var(--ink-2);
	line-height: 1.7;
}

.payment-method-card__content p {
	margin-bottom: var(--s-16);
	font-size: var(--fs-14);
}

.payment-method-card__note {
	margin-top: var(--s-16);
	padding: var(--s-12);
	background: var(--bg);
	border-radius: var(--r-8);
	font-size: var(--fs-13);
}

.payment-method-card__list {
	margin-top: var(--s-12);
	margin-bottom: var(--s-16);
	padding-left: var(--s-20);
}

.payment-method-card__list li {
	margin-bottom: var(--s-8);
	color: var(--ink-3);
	font-size: var(--fs-14);
	line-height: 1.6;
}

.payment-method-card__list li:last-child {
	margin-bottom: 0;
}

.payment-cards-logos {
	display: flex;
	align-items: center;
	gap: var(--s-12);
	margin-top: var(--s-20);
	padding-top: var(--s-20);
	border-top: 1px solid var(--line);
}

.payment-cards-logos img {
	height: 40px;
	width: 70px;
	object-fit: contain;
}





/* ============================ PAGE WARRANTY ============================ */



.warranty-section {
	margin-bottom: var(--s-64);
}

.warranty-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--s-24);
}

.warranty-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-16);
	padding: var(--s-24);
	box-shadow: var(--sh-sm);
}

.warranty-card__title {
	font-size: var(--fs-20);
	font-weight: 700;
	color: var(--ink-2);
	margin-bottom: var(--s-20);
}

.warranty-card__content {
	color: var(--ink-2);
	line-height: 1.7;
}

.warranty-card__content > p {
	margin-bottom: var(--s-16);
	font-size: var(--fs-14);
}

.warranty-card__subsection {
	margin-top: var(--s-24);
}

.warranty-card__subsection:first-of-type {
	margin-top: var(--s-20);
}

.warranty-card__subtitle {
	font-size: var(--fs-16);
	font-weight: 700;
	color: var(--ink-2);
	margin-bottom: var(--s-12);
}

.warranty-card__content p{
	margin-bottom: var(--s-16);
	font-size: var(--fs-14);
}	

.warranty-card__list {
	margin-top: var(--s-12);
	margin-bottom: var(--s-16);
	padding-left: var(--s-20);
}

.warranty-card__list li {
	margin-bottom: var(--s-10);
	font-size: var(--fs-14);
	line-height: 1.6;
}

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

.warranty-card__list li strong {
	color: var(--ink-2);
	font-weight: 700;
}





/* ============================ PAGE CONTACTS ============================ */



.contacts-page-section {
	margin-bottom: var(--s-32);
}

.contacts-page-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-16);
	padding: var(--s-32);
	box-shadow: var(--sh-sm);
}

.contacts-page__subtitle {
	color: var(--ink-3);
	font-size: var(--fs-15);
	margin-bottom: var(--s-24);
	line-height: 1.6;
}

.contacts-page__content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--s-32);
}

.contacts-page__department-title {
	font-size: var(--fs-18);
	font-weight: 700;
	color: var(--ink-2);
	margin-bottom: var(--s-20);
}

.contacts-page__phones {
	display: flex;
	gap: var(--s-32);
	margin-bottom: var(--s-20);
}

.contacts-page__phone-item {
	display: flex;
	flex-direction: column;
	gap: var(--s-4);
}

.contacts-page__phone {
	display: flex;
	align-items: center;
	gap: var(--s-12);
	font-size: var(--fs-18);
	font-weight: 700;
	color: var(--ink-2);
	text-decoration: none;
	transition: color 0.2s;
}

.contacts-page__phone span {
	color: var(--brand-600);
	text-decoration: underline;
	cursor: pointer;
	text-underline-offset: 3px;
}

.contacts-page__phone:hover {
	color: var(--brand-600);
	text-decoration: none;
}

.contacts-page__time {
	font-size: var(--fs-13);
	color: var(--ink-3);
	margin-left: calc(var(--s-12) + 24px);
}

.contacts-page__icon {
	font-size: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.contacts-page__email {
	margin-bottom: var(--s-20);
}

.contacts-page__email-link {
	display: flex;
	align-items: center;
	gap: var(--s-12);
	font-size: var(--fs-18);
	font-weight: 700;
	color: var(--ink-2);
	text-decoration: none;
	transition: color 0.2s;
}

.contacts-page__email-link span {
	color: var(--brand-600);
	text-decoration: underline;
	cursor: pointer;
	text-underline-offset: 3px;
}

.contacts-page__email-link:hover {
	color: var(--brand-600);
	text-decoration: none;
}

.contacts-page__social {
	display: flex;
	gap: var(--s-12);
}

.contacts-page__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--brand-600);
	color: #fff;
}

.contacts-page__social-link:hover {
	background: var(--brand-700);
	transform: translateY(-2px);
	box-shadow: var(--sh-md);
	text-decoration: none;
	color: #fff;
}

.contacts-page__address-title {
	font-size: var(--fs-18);
	font-weight: 700;
	color: var(--ink-2);
	margin-bottom: var(--s-16);
}

.contacts-page__address {
	display: flex;
    align-items: center;
    gap: var(--s-12);
    font-size: var(--fs-18);
    font-weight: 700;
    color: var(--ink-2);
    text-decoration: none;
    transition: color 0.2s;
}

.contacts-page__address span {
	color: var(--brand-600);
	text-decoration: underline;
	cursor: pointer;
	text-underline-offset: 3px;
}

.contacts-map-section {
	margin-bottom: var(--s-32);
}

.contacts-map {
	width: 100%;
	height: 500px;
	border-radius: var(--r-16);
	overflow: hidden;
	background: var(--bg-2);
	border: 1px solid var(--line);
}

.map__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--s-16);
	padding: var(--s-32);
	text-align: center;
}

.map__placeholder p {
	margin: 0;
	color: var(--ink-3);
	font-size: var(--fs-15);
}

.contacts-map iframe {
	width: 100%;
	border: 0;
	display: block;
}





/* =============================== Checkout Page ================================== */

/* Уведомления «добавлено в корзину» не показываем — используются всплывашки */
.checkout-section .woocommerce-notices-wrapper .woocommerce-message {
	display: none !important;
}

.checkout-section {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-16);
	padding: var(--s-24);
	margin-top: var(--s-40);
}

.checkout-layout {
	display: grid;
	grid-template-columns: 1fr 400px;
	gap: var(--s-24);
	align-items: start;
}

.checkout-main {
	display: grid;
	gap: var(--s-20);
}

.checkout-sidebar {
	position: sticky;
	top: calc(var(--hdr-h) + 20px);
}

/* WooCommerce Checkout Fields */
.woocommerce-checkout #customer_details {
	display: grid;
	gap: var(--s-20);
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields {
	display: grid;
	gap: var(--s-16);
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3 {
	font-size: var(--fs-18);
	font-weight: 700;
	color: var(--ink-2);
	margin-bottom: var(--s-12);
}

.woocommerce-checkout .form-row {
	display: grid;
	gap: 6px;
	margin-bottom: var(--s-12);
}

.woocommerce-checkout .form-row label {
	color: var(--ink-3);
	font-weight: 700;
	font-size: var(--fs-14);
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
	width: 100%;
	height: 40px;
	border: 1px solid var(--line);
	border-radius: var(--r-10);
	padding: 0 12px;
	background: #fff;
	color: var(--ink-2);
	transition: border-color var(--tr), box-shadow var(--tr);
}

.woocommerce-checkout .form-row textarea {
	padding: 12px;
	height: auto;
	resize: vertical;
	min-height: 110px;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
	border-color: var(--brand-600);
	box-shadow: 0 0 0 3px hsl(var(--brand-h) 86% 45% / .15);
	outline: none;
}

/* Order Review Sidebar */
.woocommerce-checkout-review-order {
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: var(--r-16);
	padding: var(--s-20);
}

.woocommerce-checkout-review-order h3 {
	font-size: var(--fs-18);
	font-weight: 700;
	color: var(--ink-2);
	margin-bottom: var(--s-16);
}

.woocommerce-checkout-review-order-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: var(--s-16);
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
	padding: var(--s-8) 0;
	text-align: left;
	border-bottom: 1px solid var(--line);
}

.woocommerce-checkout-review-order-table th {
	font-weight: 700;
	color: var(--ink-2);
}

.woocommerce-checkout-review-order-table .product-name {
	font-weight: 600;
}

.woocommerce-checkout-review-order-table .product-total {
	text-align: right;
	font-weight: 700;
}

/* Изображения товаров в таблице заказа */
.checkout-product-item {
	display: flex;
	gap: var(--s-12);
	align-items: center;
}

.checkout-product-image {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	border-radius: var(--r-10);
	overflow: hidden;
	background: var(--bg-2);
	border: 1px solid var(--line);
}

.checkout-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.checkout-product-info {
	flex: 1;
	min-width: 0;
}

.checkout-product-info .product-quantity {
	color: var(--ink-3);
	font-weight: 400;
}

.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
	border-top: 2px solid var(--line);
	padding-top: var(--s-12);
	font-weight: 700;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
	font-size: var(--fs-18);
	color: var(--brand-700);
}

/* Компактное отображение блока доставки */
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals,
.woocommerce-checkout-review-order-table .shipping {
	padding: 0;
	margin: 0;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals th,
.woocommerce-checkout-review-order-table .shipping th {
	padding: var(--s-8) 0;
	font-size: var(--fs-14);
	font-weight: 600;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td,
.woocommerce-checkout-review-order-table .shipping td {
	padding: var(--s-8) 0;
	text-align: right;
	font-size: var(--fs-14);
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals ul,
.woocommerce-checkout-review-order-table .shipping ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--s-4);
	align-items: flex-start;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals li,
.woocommerce-checkout-review-order-table .shipping li {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: var(--s-8);
	font-size: var(--fs-14);
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals input[type="radio"],
.woocommerce-checkout-review-order-table .shipping input[type="radio"] {
	width: 16px;
	height: 16px;
	margin: 0;
	flex-shrink: 0;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals label,
.woocommerce-checkout-review-order-table .shipping label {
	margin: 0;
	padding: 0;
	font-weight: 400;
	font-size: var(--fs-14);
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: var(--s-6);
	text-align: left;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals .amount,
.woocommerce-checkout-review-order-table .shipping .amount {
	font-weight: 600;
	color: var(--ink-2);
}

/* Payment Methods */
.woocommerce-checkout-payment {
	margin-top: var(--s-20);
	padding-top: var(--s-20);
	border-top: 1px solid var(--line);
}

.woocommerce-checkout-payment .wc_payment_methods {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--s-16) 0;
	display: grid;
	gap: var(--s-12);
}

.woocommerce-checkout-payment .payment_box {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-10);
	padding: var(--s-12);
	margin-top: var(--s-8);
}

.woocommerce-checkout-payment .place-order {
	margin-top: var(--s-16);
}

.woocommerce-checkout-payment #place_order {
	width: 100%;
	height: 48px;
	border-radius: var(--r-12);
	font-weight: 700;
	background: var(--brand-600);
	color: #fff;
	border: none;
	margin-top: 20px;
}

.woocommerce-checkout-payment #place_order:hover {
	background: var(--brand-700);
	border-color: var(--brand-700);
	color: #fff;
}

/* Все кнопки в шаблоне checkout - синий цвет */
.page-checkout .btn,
.woocommerce-checkout .btn,
.woocommerce-checkout button[type="submit"]:not(.vigor-coupon-button):not(#place_order) {
	background: var(--brand-600);
	color: #fff;
	border-color: var(--brand-600);
}

.page-checkout .btn:hover,
.woocommerce-checkout .btn:hover,
.woocommerce-checkout button[type="submit"]:not(.vigor-coupon-button):not(#place_order):hover {
	background: var(--brand-700);
	border-color: var(--brand-700);
	color: #fff;
}

/* Скрываем селект со списком стран */
.woocommerce-checkout .form-row .select2-container,
.woocommerce-checkout .form-row select#billing_country,
.woocommerce-checkout .form-row select#shipping_country,
.woocommerce-checkout .form-row .country_select {
	display: none !important;
}

.woocommerce-checkout .form-row .country_select + label,
.woocommerce-checkout .form-row label[for="billing_country"],
.woocommerce-checkout .form-row label[for="shipping_country"] {
	display: none !important;
}

/* Скрываем блок дополнительных полей */
.woocommerce-additional-fields,
.woocommerce-additional-fields-wrapper,
#woocommerce-additional-fields {
	display: none !important;
}

.woocommerce-checkout-payment{
	padding-top: 0;
	padding: 10px 20px 20px 20px;
}

.woocommerce-checkout #payment ul.payment_methods{
	padding: 0;
}

#add_payment_method #payment div.form-row, .woocommerce-cart #payment div.form-row, .woocommerce-checkout #payment div.form-row{
	padding: 0;
}

/* Компактный блок купона */
.vigor-coupon-form {
	margin-bottom: var(--s-20);
}

.vigor-coupon-form .woocommerce-form-coupon-toggle {
	display: none !important;
}

.vigor-coupon-form .checkout_coupon {
	display: block !important;
	padding: 0;
	border: none;
	background: transparent;
}

.vigor-coupon-row {
	display: flex;
	gap: var(--s-12);
	align-items: stretch;
}

.vigor-coupon-input {
	flex: 1;
	height: 40px;
	border: 1px solid var(--line);
	border-radius: var(--r-10);
	padding: 0 12px;
	background: #fff;
	color: var(--ink-2);
	font-size: var(--fs-14);
	transition: border-color var(--tr), box-shadow var(--tr);
}

.vigor-coupon-input:focus {
	border-color: var(--brand-600);
	box-shadow: 0 0 0 3px hsl(var(--brand-h) 86% 45% / .15);
	outline: none;
}

.vigor-coupon-button {
	height: 40px;
	padding: 0 var(--s-20);
	border-radius: var(--r-10);
	font-weight: 700;
	font-size: var(--fs-14);
	white-space: nowrap;
	flex-shrink: 0;
	background: var(--brand-600);
	color: #fff;
	border-color: var(--brand-600);
}

.vigor-coupon-button:hover {
	background: var(--brand-700);
	border-color: var(--brand-700);
	color: #fff;
}

/* Скрываем все стандартные блоки купона WooCommerce */
.woocommerce-checkout .woocommerce-form-coupon-toggle:not(.vigor-coupon-form),
.woocommerce-checkout .checkout_coupon:not(.vigor-coupon-form .checkout_coupon) {
	display: none !important;
}

/* Показываем только наш кастомный блок */
.vigor-coupon-form {
	display: block !important;
}

.vigor-coupon-form .woocommerce-form-coupon {
	display: block !important;
}

/* Responsive */




/* ============================ COMPARE PAGE ============================ */



.compare-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--s-24);
	margin-top: var(--s-24);	
	gap: var(--s-16);
}

.compare-empty {
	padding: var(--s-48) var(--s-24);
	text-align: center;
	background: var(--bg-2);
	border-radius: var(--r-12);
}

.compare-empty p {
	margin-bottom: var(--s-12);
	color: var(--ink-3);
}

.compare-empty p:first-child {
	font-size: var(--fs-18);
	font-weight: 700;
	color: var(--ink-2);
}

.compare-table-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.compare-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	overflow: hidden;
	box-shadow: var(--sh-sm);
}

.compare-table th,
.compare-table td {
	padding: var(--s-16);
	border: 1px solid var(--line);
	vertical-align: top;
}

.compare-table__col-feature {
	width: 200px;
	min-width: 150px;
	font-weight: 700;
	color: var(--ink-2);
}

.compare-table__col-feature strong {
	font-weight: 700;	
}

.compare-table__col-product {
	width: 250px;
	min-width: 200px;
	text-align: center;
}

.compare-product {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--s-12);
}

.compare-product__remove {
	position: absolute;
	top: -8px;
	right: -8px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink-3);
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	z-index: 10;
	box-shadow: var(--sh-sm);
}

.compare-product__remove:hover {
	background: var(--danger);
	color: #fff;
	border-color: var(--danger);
}

.compare-product__image {
	height: 120px;
	border-radius: var(--r-10);
	overflow: hidden;
	background: var(--bg-2);
	display: block;
	flex-shrink: 0;
}

.compare-product__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.compare-product__title {
	margin: 0;
	font-size: var(--fs-16);
	font-weight: 700;
	line-height: 1.4;
}

.compare-product__title a {
	color: var(--ink-2);
	text-decoration: none;
	transition: color var(--tr);
}

.compare-product__title a:hover {
	color: var(--brand-600);
}

.compare-product__price {
	font-size: var(--fs-18);
	font-weight: 700;
	color: var(--brand-600);
}

.compare-product__price del{
	color: var(--muted);
	font-size: .8em;
}

.compare-product__actions {
	margin-top: var(--s-8);
}

.compare-table__empty {
	text-align: center;
	color: var(--ink-3);
	padding: var(--s-32) !important;
}

.compare-table tbody tr:hover {
	background: var(--bg-2);
}

/* Адаптивность */




.seo-text{
	padding-top: var(--fs-40);
}

/* ==========================================================================
   MEDIA QUERIES — CONSOLIDATED (by breakpoint, descending)
   ========================================================================== */

/* ---------- max-width: 1200px ---------- */
@media (max-width: 1200px) {

.navbar__container {
	  grid-template-columns: 1fr 1.6fr 1fr;
	}
  
	.products-grid--5 {
	  grid-template-columns: repeat(4, 1fr);
	}
  
	.cat-tiles {
	  grid-template-columns: repeat(4, 1fr);
	}
  
	.promo-pairs__grid {
	  grid-template-columns: 1fr;
	}
  
	.picker__form {
	  grid-template-columns: repeat(3, 1fr);
	}

.cat-layout {
	  grid-template-columns: 270px 1fr;
	}

.blog-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--s-20);
	}
}

/* ---------- max-width: 1024px ---------- */
@media (max-width: 1024px) {

.megamenu {
	  display: none;
	}
}

/* ---------- max-width: 992px ---------- */
@media (max-width: 992px) {

:root {
	  --gutter: 16px;
	  --hdr-h: 68px;
	}
  
	.only-desktop {
	  display: none !important;
	}
  
	.only-mobile {
	  display: block !important;
	}

.nav-primary__list {
	  display: none;
	}
  
	.burger {
	  display: grid;
	  place-items: center;
	}
  
	.hero-grid {
	  grid-template-columns: 1fr;
	  grid-template-rows: auto;
	}
  
	.cat-tiles {
	  grid-template-columns: repeat(3, 1fr);
	}
  
	.products-grid--4 {
	  grid-template-columns: repeat(3, 1fr);
	}
  
	.products-grid--5 {
	  grid-template-columns: repeat(3, 1fr);
	}
  
	.picker__form {
	  grid-template-columns: repeat(2, 1fr);
	}

.cat-layout {
	  display: flex;
	  flex-direction: column;
	}
  
	.filters {
	  position: static;
	  display: none;
	}
  
	.mobile-filters-bar {
	  display: block;
	  position: fixed;
	  bottom: 20px;
	  left: 16px;
	  top: auto;
	  right: auto;
	  z-index: 50;
	  background: transparent;
	  border: none;
	  border-bottom: none;
	  padding: 0;
	  width: auto;
	  pointer-events: none;
	}
	
	.mobile-filters-bar__btn {
	  width: 52px;
	  height: 52px;
	  padding: 0;
	  min-width: 52px;
	  border-radius: var(--r-12);
	  box-shadow: var(--sh-md);
	  flex: none;
	  pointer-events: auto;
	}
	
	.mobile-filters-bar__btn:hover {
	  box-shadow: var(--sh-lg);
	}
	
	.mobile-filters-bar--hidden {
	  opacity: 0;
	  visibility: hidden;
	  pointer-events: none;
	  transition: opacity 0.2s ease, visibility 0.2s ease;
	}

	/* Кнопка закрытия фильтра видна только на мобильных */
	.vigor-filter__close-drawer {
	  display: flex;
	}

	/* Подложка мобильной панели фильтра */
	.filter-drawer-backdrop {
	  display: none;
	  position: fixed;
	  inset: 0;
	  z-index: 1200;
	  background: rgba(15, 23, 42, 0.45);
	  cursor: pointer;
	}

	body.filter-drawer-open .filter-drawer-backdrop {
	  display: block;
	}

	body.filter-drawer-open .filters {
	  display: flex !important;
	  flex-direction: column;
	  position: fixed;
	  top: 0;
	  right: auto;
        left: auto;
	  width: min(92vw, 420px);
	  max-width: 100%;
	  height: 100vh;
	  height: 100dvh;
	  max-height: 100dvh;
	  z-index: 1201;
	  overflow: hidden;
	  margin: 0;
	  box-sizing: border-box;
	}

	body.filter-drawer-open .filters .vigor-filter {
	  flex: 1 1 auto;
	  min-height: 0;
	  max-height: none;
	  overflow-x: hidden;
	  overflow-y: auto;
	  -webkit-overflow-scrolling: touch;
	  overscroll-behavior: contain;
	}

.pdp-top__row {
	  grid-template-columns: 1fr;
	}

.bundle__row {
	  grid-template-columns: 1fr 20px 1fr 20px 1fr;
	}

.footer__top {
	  grid-template-columns: 1fr 1fr;
	}
  
	.footer__middle {
	  grid-template-columns: 1fr;
	}

.mobile-filters-bar .btn--primary {
	  --btn-bg: var(--brand-600);
	}
  
	.mobile-filters-bar .btn--outline {
	  --btn-ink: var(--brand-700);
	  --btn-bd: var(--brand-600);
	}

.cat-apply-sticky {
	  display: block;
	}

.topbar {
	  display: none;
	}
  
	.navbar__container {
	  grid-template-columns: auto 1fr auto;
	  gap: 10px;
	  padding-block: 8px;
	}
  
	.logo img {
	  width: 110px;
	}
  
	.btn--catalog {
	  height: 38px;
	  padding: 0 12px;
	}
  
	.navbar__center .header-search {
	  height: 27px;
	  min-height: 27px;
	}
	.navbar__center .header-search__input {
	  min-height: 27px;
	}
	.navbar__center .header-search__btn {
	  min-height: 27px;
	}
	.header-search__suggestions {
	  top: calc(100% + 18px);
	}
  
	.contacts {
	  display: none;
	}
  
	/* телефон прячем, остаются иконки */
	.burger {
	  display: grid;
	  place-items: center;
	  width: 44px;
	  height: 44px;
	}

/*
.navbar__container {
		display: flex;
        justify-content: space-between;
	}*/
  
	.logo img {
	  width: 100px;
	}
  
	/*
	.btn--catalog {
	  display: none;
	}
  
	.navbar__center {
	  display: none;
	} */
  
	.navbar__right {
	  gap: 8px;
	  grid-template-columns: 1fr;
	  align-items: end;
	}
  
	.btn-icon[data-open-search] {
	  border: 1px solid var(--line);
	  background: #fff;
	}

.adv-grid {
	  grid-template-columns: 1fr 1fr;
	}

.how-rail {
	  grid-template-columns: 1fr 1fr;
	}

.blog-cards {
	  grid-template-columns: 1fr 1fr;
	}

.about-content {
		grid-template-columns: 1fr;
	}
	
	.about-content__visual {
		order: -1;
	}
	
	.contacts-block {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.delivery-methods__grid {
		grid-template-columns: 1fr;
	}

.delivery-payment-grid {
		grid-template-columns: 1fr;
	}
	
	.payment-methods-grid {
		grid-template-columns: 1fr;
	}

.warranty-grid {
		grid-template-columns: 1fr;
	}

.contacts-page__content {
		grid-template-columns: 1fr;
		gap: var(--s-24);
	}
	
	.contacts-page__address {
		margin-top: var(--s-16);
	}

.checkout-layout {
		grid-template-columns: 1fr;
		gap: var(--s-24);
	}

	.checkout-sidebar {
		position: static;
		order: -1;
	}

.compare-header {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.compare-table__col-feature {
		width: 150px;
		min-width: 120px;
	}
	
	.compare-table__col-product {
		width: 200px;
		min-width: 180px;
	}
}

/* ---------- max-width: 900px ---------- */
@media (max-width: 900px) {

.blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--s-16);
	}
}

/* ---------- max-width: 768px ---------- */
@media (max-width: 768px) {

:root {
	  --gutter: 14px;
	}
  
	.topbar {
	  display: none;
	}
  
	.hero-grid__caption {
	  inset: auto 12px 12px 12px;
	  padding: 12px;
	  gap: 10px;
	}
  
	.cat-tiles {
	  grid-template-columns: 1fr;
	  gap: 10px;
	}
  
	.products-grid--4,
	.products-grid--5,
	.products-grid--3 {
	  grid-template-columns: 1fr;
	}
  
	.picker__form {
	  grid-template-columns: 1fr;
	}
  
	.btn--xl {
	  height: 52px;
	  padding-inline: 14px;
	}

.pdp-cta {
	  grid-template-columns: 1fr;
	}
  
	.qty {
	  height: 32px;
	  grid-template-columns: 25px 40px 25px;
	  border-radius: 4px;
	  margin-right: 8px;
	}

	.woocommerce .quantity .qty{
		width: 100%;
	}

	.specs {
	  grid-template-columns: 1fr;
	  font-size: 14px;
	}
  
	.specs dl {
	  grid-template-columns: 160px 1fr;
	  
	}

	.specs dd{
		display: flex;
    	align-items: center;
    	line-height: 1.2em;
		padding: 1px 10px;
	}

	.specs dd:nth-child(odd){
		padding-left: 8px;
	}

	.specs dd:nth-child(even){
		padding-right: 8px;
	}

.info-tiles {
	  grid-template-columns: 1fr;
	}

.finance-banner__wrap {
	  grid-template-columns: 1fr;
	}

.pdp-gallery__thumbs {
	  scroll-snap-type: x mandatory;
	  -webkit-overflow-scrolling: touch;
	  padding-inline: 2px;
	}
  
	.pdp-gallery__thumbs .thumb {
	  scroll-snap-align: start;
	  position: relative;
	  background: #fff;
	}

.blog-archive__title {
		font-size: 24px;
	}
	
	.blog-cards {
		grid-template-columns: 1fr;
		gap: var(--s-12);
	}

	.blog-grid {
		grid-template-columns: 1fr;
		gap: var(--s-16);
	}

.about-logo__main {
		font-size: 48px;
	}
	
	.contacts-block__phone {
		font-size: var(--fs-16);
	}

.single-post__title {
		font-size: 24px;
	}
	
	.single-post__header,
	.single-post__meta,
	.single-post__content,
	.single-post__share,
	.single-post__comments {
		padding-left: var(--s-16);
		padding-right: var(--s-16);
	}
	
	.single-post__image {
		margin-left: var(--s-16);
		margin-right: var(--s-16);
	}
	
	.single-post__share {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.single-post__share-buttons {
		width: 100%;
	}
	
	.btn--share {
		flex: 1;
		text-align: center;
	}

.page-content .wp-block-columns {
		flex-direction: column;
	}

.delivery-payment-card,
	.payment-method-card {
		padding: var(--s-16);
	}
	
	.delivery-payment-card__title,
	.payment-method-card__title {
		font-size: var(--fs-18);
	}
	
	.payment-cards-logos {
		flex-wrap: wrap;
	}

.warranty-card {
		padding: var(--s-16);
	}
	
	.warranty-card__title {
		font-size: var(--fs-18);
	}
	
	.warranty-card__subtitle {
		font-size: var(--fs-15);
	}

.contacts-page-card {
		padding: var(--s-20);
	}
	
	.contacts-page__phone {
		font-size: var(--fs-16);
	}
	
	.contacts-map {
		height: 400px;
	}

.checkout-section {
		padding: var(--s-16);
	}

	.checkout-layout {
		gap: var(--s-16);
	}

body{
		font-size: 14px;
	}
	
	
	.compare-product__image {
		width: 100px;
		height: 100px;
	}
	
	.compare-product__title {
		font-size: var(--fs-14);
	}
	
	.compare-product__price {
		font-size: var(--fs-16);
	}

	.product-card__specs{
		font-size: var(--fs-14);
		min-height: 60px;
		margin: 10px 0;
	}

	.product-card__title{
		font-size: var(--fs-16);
		line-height: 1.2;
		min-height: 0px;
	}

	.product-card__prices{
		font-size: var(--fs-18);
	}

	.btn{
		height: 32px;
		border-radius: var(--r-8);
		font-size: var(--fs-12);
	}

	.product-card__actions .btn{
		font-size: var(--fs-14);
		padding: 0 8px;
	}

	.tabs__nav{
		gap: 4px;
	}

	.tabs__btn{
		height: 32px;
    	padding: 4px 12px;
		border-radius: var(--r-8);
		font-size: var(--fs-14);
	}

	.link-more{
		font-size: var(--fs-10);
		
	}

	.heading-2{
		margin-bottom: 0px;
	}

	.products-swiper .swiper-button-next, 
	.products-swiper .swiper-button-prev, 
	.reviews-swiper .swiper-button-next, 
	.reviews-swiper .swiper-button-prev{
		display: none;
	}

	.finance-banner__text p{
		font-size: var(--fs-12);
		margin: 10px 0;
	}

	.advantages .section-sub{
		font-size: var(--fs-12);
		max-width: 150px;
	}

	.adv-grid{
		grid-template-columns: 1fr 1fr;
		gap: var(--s-8);
	}

	.adv-grid img{
		width: 30px;
		height: 30px;
		margin-bottom: 10px;
	}

	.adv-grid h3{
		font-size: var(--fs-14);
	}

	.adv-grid p{
		font-size: var(--fs-12);
	}

	.adv-grid .pill-badge{
		font-size: var(--fs-10);
		padding: 2px 6px;
		border-radius: var(--r-6);
	}

	.how-rail{
		gap: 40px;
	}

	.how-rail::before{
		left: 32px;
		right: 0;
		top: 0;
		height: 100%;
		width: 2px;
	}

	.how-step p{
		font-size: 14px;
	}

	.home-catalog .link-more{
		display: none;
	}
	

	.cat-tile{
		grid-template-rows: 120px auto;

	}

	.cat-tile__title{
		font-size: var(--fs-16);
	}

	.cat-tile__meta{
		font-size: var(--fs-14);
	}

	.cat-head__right{
		font-size: 14px;
		gap: 5px;
	}

	.cat-head__right .woocommerce-result-count{
		display: none;
	}

	.subcats-grid {
		gap: 10px;
	}

	.subcat__name {
		font-size: var(--fs-10);
	}

	.products-grid{
		gap: 8px;
	}

	.woocommerce .woocommerce-pagination ul.page-numbers li span,
	 .woocommerce .woocommerce-pagination ul.page-numbers li a{
		padding: 10px!important;
	}

	.mini-card img{
		width: 50px;
		height: 30px;
	}

	.mini-card{
		font-size: 12px;
		line-height: 1.2;
	}

	.breadcrumbs{
		font-size: 10px;
		overflow: hidden;
	}

	.breadcrumbs ol{
		gap: 2px;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}
	.breadcrumbs ol::-webkit-scrollbar{
		display: none;
	}
	.breadcrumbs li{
		white-space: nowrap;
	}

	.woocommerce .woocommerce-ordering{
		display: none;
	}

	.product-card__status--instock{
		font-size: 12px;
	}

	.pdp-delivery{
		font-size: 11px;
		padding: 4px 10px;
		border-radius: 8px;
		gap: 4px;
	}

	.product-card{
		padding: 12px 12px;
		border-radius: var(--r-8);
	}

	.product-card__badges{
		left: 8px;
	}

	.badge{
		padding: 2px 6px;
		font-size: var(--fs-10);
	}

	.product-card__deal-save{
		padding: 2px 6px;
		font-size: var(--fs-10);
	}

	.product-card__deal-timer{
		padding: 2px 6px;
		font-size: var(--fs-10);
	}

	.products-swiper .swiper-wrapper{
		padding-bottom: 10px;
	}

	.section-head{
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		padding-bottom: 10px;
	}

	.advantages{
		padding-block: var(--s-32);
	}

	.adv-card{
		border-radius: var(--r-8);
		padding: 8px;
	}
	
	.blog-slider{
		padding-block: var(--s-32);
	}

	.blog-slider .section-head{
		flex-direction: row;
        align-items: center;
	}

	.woocommerce .woocommerce-pagination{
		margin: var(--s-32) 0 var(--s-32) 0;
	}

	.reviews .section-head{
		flex-direction: row;
        align-items: center;
	}

	.contacts-block__phones{
		flex-direction: column;
		gap: 10px;
	}

	.contacts-page__phones{
		flex-direction: column;
		gap: 10px;
	}

	.pdp-similar h2{
		margin-bottom: 20px;
	}

	.pdp-cta form{
		gap: 0px;
	}

	.pdp-cta .btn-icon.single_add_to_cart_button{
		height: 32px;
	}
}

/* ---------- max-width: 767px ---------- */
@media (max-width: 767px) {

.view-switch{
		display: none;
	}
}

/* ---------- max-width: 640px ---------- */
@media (max-width: 640px) {

.preset-chips {
	  padding-bottom: 8px;
	  display: none;
	}

.mobile-bar {
	  display: flex;
	}
}

/* ---------- max-width: 576px ---------- */
@media (max-width: 576px) {

.bundle__row {
	  grid-template-columns: 1fr;
	}
  
	.bundle__plus {
	  display: none;
	}
  
	.bundle__sum {
	  justify-self: start;
	}

.pdp-gallery__hint {
	  display: block;
	}

.pdp-meta {
	  gap: 6px;
	  font-size: var(--fs-13);
	}
  
	.pdp-title {
	  font-size: clamp(20px, 6vw, 26px);
	}
  
	.pdp-price__now {
	  font-size: clamp(20px, 5.2vw, 26px);
	}

.bundle__item {
	  background: #fff;
	  border-style: dashed;
	}

.how-rail {
	  grid-template-columns: 1fr;
	}

.blog-cards {
	  grid-template-columns: 1fr;
	}

.blog-grid {
		grid-template-columns: 1fr;
		gap: var(--s-16);
	}
	
	.blog-page__header {
		flex-direction: column;
		gap: var(--s-8);
	}

.blog-cards {
		grid-template-columns: 1fr;
	}
	
	.pagination {
		gap: var(--s-4);
	}
	
	.page-numbers {
		min-width: 36px;
		height: 36px;
		padding: 0 var(--s-8);
		font-size: var(--fs-13);
	}
}

/* ---------- max-width: 480px ---------- */
@media (max-width: 480px) {

.navbar__container {
	  grid-template-columns: 1fr auto auto;
	}
  
	.contacts {
	  display: none;
	}
  
	.hero-grid__main,
	.hero-grid__side {
	  border-radius: var(--r-12);
	}
  
	.promo-nav__row {
	  gap: 8px;
	}
  
	.product-card__actions {
	  grid-template-columns: 1fr 1fr;
	}
  
	.product-card__actions .btn-icon {
		width: 32px;
		height: 32px;
	}

	

.pdp-gallery__thumbs{
		gap: 10px;
	}

	.pdp-gallery__thumbs .thumb {
	  width: 48px;
	  min-width: 48px;
	  height: 48px;
	  
	}

.pdp-price__promo {
	  grid-template-columns: 1fr;
	}

.pagination__list {
	  display: none;
	}
  
	.pagination .btn--outline {
	  width: 100%;
	  height: 44px;
	}
}

/* ---------- print ---------- */
@media print {

.site-header,
	.site-footer,
	.sticky-cta {
	  display: none !important;
	}
  
	.container {
	  max-width: 100% !important;
	}
  
	a {
	  color: #000 !important;
	  text-decoration: underline !important;
	}

.promo-nav,
	.hero--grid,
	.promo-pairs,
	.finance-banner,
	.reviews,
	.faq,
	.pdp-gallery__thumbs,
	.pdp-social,
	.pdp-finance,
	.pdp-cta,
	.sticky-cta,
	.site-header,
	.site-footer {
	  display: none !important;
	}
  
	.pdp-title {
	  font-size: 22px !important;
	}
  
	.specs dl {
	  grid-template-columns: 200px 1fr !important;
	}

.product-card,
	.specs__group,
	.info-tile,
	.cat-seo,
	.table {
	  break-inside: avoid;
	}
  
	.breadcrumbs,
	.preset-chips,
	.applied,
	.filters,
	.mini-cart,
	.promo-nav {
	  display: none !important;
	}
  
	.pdp-price__now {
	  font-size: 18px !important;
	}
}

/* ---------- prefers-motion-ok ---------- */
@media (prefers-reduced-motion: no-preference) {

.modal__dialog {
	  animation: modalPop .2s ease;
	}
}

/* ---------- prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {

* {
	  animation: none !important;
	  transition: none !important;
	}
}

/* ---------- prefers-contrast ---------- */
/* Плавающие кнопки справа внизу (соцсети + телефон) */
.fab {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 999;
	pointer-events: none;
}
.fab__inner {
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-end;
	gap: 12px;
	pointer-events: auto;
}
.fab__btn {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--brand-600);
	color: #fff;
	border: none;
	box-shadow: var(--sh-md);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform var(--tr), box-shadow var(--tr), background var(--tr);
	text-decoration: none;
	cursor: pointer;
}
.fab__btn:hover {
	background: var(--brand-700);
	box-shadow: var(--sh-lg);
	transform: scale(1.05);
}
.fab__btn:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: 2px;
}
.fab__btn img {
	display: block;
}
.fab__btn--up {
	background: var(--brand-600);
	color: #fff;
}
.fab__btn--up:hover {
	background: var(--brand-700);
	color: #fff;
}
.fab__btn--phone {
	display: none;
}
.fab__btn--phone img {
	filter: brightness(0) invert(1);
}
@media (max-width: 992px) {
	.fab__btn--phone {
		display: flex;
	}
	.fab__btn {
		width: 42px;
		height: 42px;
	}
	.fab__btn--up,
	.fab__btn--social,
	.fab__btn--phone {
		width: 42px;
		height: 42px;
	}
	.fab__btn svg,
	.fab__btn img {
		width: 20px;
		height: 20px;
	}
	.fab__social-links a {
		width: 36px;
		height: 36px;
	}
	.fab__social-links img {
		width: 20px;
		height: 20px;
	}
}
.fab__social-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0;
}
.fab__social-links {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-right: 12px;
	position: absolute;
	right: 100%;
	white-space: nowrap;
	pointer-events: auto;
}
.fab__social-links[hidden] {
	display: none !important;
}
.fab__social-links a {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	color: var(--ink-2);
	box-shadow: var(--sh-md);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform var(--tr);
}
.fab__social-links a:hover {
	transform: scale(1.1);
}
.fab__social-links img {
	width: 24px;
	height: 24px;
	object-fit: contain;
}

@media (prefers-contrast: more) {

.btn {
	  box-shadow: none;
	}
  
	.btn--primary {
	  --btn-bg: #0a49d6;
	}
  
	.btn--secondary {
	  --btn-ink: #0a49d6;
	  --btn-bd: #0a49d6;
	}
  
	.chip,
	.tabs__btn {
	  border-width: 2px;
	}
  
	.product-card,
	.filters,
	.specs__group,
	.info-tile {
	  border-width: 2px;
	}
  
	.header-search__btn {
	  background: #dfe6ff;
	}
}



/* ============================= page-reviews (макет) ============================= */

.page-reviews__hero {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--s-24);
	margin-block: var(--s-32);
}

.page-reviews__hero-text {
	flex: 1 1 280px;
	min-width: 0;
}

.page-reviews__title {
	margin: 0 0 var(--s-8);
}

.page-reviews__lead {
	margin: 0;
	max-width: 36rem;
	color: var(--ink-2);
	font-size: var(--fs-16, 1rem);
	line-height: 1.5;
}

.page-reviews__cta {
	flex-shrink: 0;
	align-self: center;
}

.page-reviews__stats {
	display: grid;
	grid-template-columns: 1fr 400px;
	gap: var(--s-20);
	margin-bottom: clamp(24px, 4vw, 40px);
}

.page-reviews__card {
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: var(--s-24);
	background: #fff;
}

.page-reviews__rating-card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: clamp(32px, 6vw, 64px);
}

.page-reviews__rating-summary {
	flex: 0 1 auto;
	min-width: 0;
}

.page-reviews__rating-card .page-reviews__bars {
	flex: 1 1 260px;
	min-width: min(100%, 220px);
	max-width: 100%;
	margin: 0;
}

.page-reviews__card-title {
	margin: 0 0 var(--s-16);
	font-size: var(--fs-18, 1.125rem);
	font-weight: 600;
	color: var(--ink-2);
}

.page-reviews__score-row {
	display: flex;
	align-items: center;
	gap: var(--s-12);
	margin-bottom: var(--s-8);
}

.page-reviews__score-star {
	display: flex;
	color: var(--brand-600, #13aa3f);
	line-height: 0;
}

.page-reviews__score-main {
	display: flex;
	align-items: baseline;
	gap: 6px;
}

.page-reviews__score-num {
	font-size: clamp(2.25rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
}

.page-reviews__score-den {
	font-size: var(--fs-18, 1.125rem);
	color: var(--ink-3);
}

.page-reviews__score-meta {
	margin: 0;
	color: var(--ink-2);
	font-size: var(--fs-14, 0.875rem);
}

.page-reviews__bars {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.page-reviews__bar-row {
	display: grid;
	grid-template-columns: auto 1fr 40px;
	align-items: center;
	gap: 10px;
	font-size: var(--fs-14, 0.875rem);
	color: var(--ink-2);
}

.page-reviews__bar-star {
	color: var(--brand-600, #13aa3f);
	font-size: 16px;
}

.page-reviews__bar-track {
	height: 8px;
	border-radius: 999px;
	background: var(--line, #e8e8e8);
	overflow: hidden;
}

.page-reviews__bar-fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--brand-600, #13aa3f);
}

.page-reviews__bar-count {
	text-align: right;
	font-variant-numeric: tabular-nums;
	color: var(--ink-3);
}

.page-reviews__trust-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	justify-content: center;
	background-color: var(--bg-light);
}

.page-reviews__trust-icon {
	margin-bottom: var(--s-12);
	line-height: 0;
}

.page-reviews__trust-icon img {
	display: block;
	width: 48px;
	height: auto;
	filter: invert(42%) sepia(90%) saturate(520%) hue-rotate(103deg) brightness(95%) contrast(90%);
}

.page-reviews__trust-title {
	margin: 0 0 var(--s-12);
	font-size: var(--fs-20, 1.25rem);
	font-weight: 700;
}

.page-reviews__trust-text {
	margin: 0;
	max-width: 22rem;
	color: var(--ink-2);
	line-height: 1.5;
	font-size: var(--fs-15, 0.9375rem);
}

.page-reviews__filters-wrap {
	background: var(--bg-light);
	padding-block: var(--s-16);
	margin-bottom: clamp(24px, 4vw, 40px);
}

.page-reviews__filters-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-16);
}

.page-reviews__tabs {
	flex: 1 1 auto;
	min-width: 0;
	flex-wrap: wrap;
	row-gap: 8px;
	overflow: visible;
	scrollbar-width: auto;
}

.page-reviews__tabs::-webkit-scrollbar {
	display: revert;
}

.page-reviews__tab-count {
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	color: var(--ink-3);
	background-color: var(--brand-50);
	padding: 2px 6px;
	border-radius: var(--r-8);
}

.page-reviews__tabs .tabs__btn.is-active .page-reviews__tab-count {
	color: inherit;
}

.page-reviews__sort {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.page-reviews__sort-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.page-reviews__sort-field {
	position: relative;
}

.page-reviews__sort-field::after {
	content: "";
	position: absolute;
	right: 12px;
	top: 50%;
	width: 0;
	height: 0;
	margin-top: -2px;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid var(--ink-3);
	pointer-events: none;
}

.page-reviews__select {
	appearance: none;
	min-width: 180px;
	height: 38px;
	padding: 0 36px 0 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-weight: 600;
	font-size: var(--fs-14, 0.875rem);
	color: var(--ink-2);
	cursor: pointer;
}

.page-reviews__select:focus {
	outline: 2px solid var(--brand-600, #13aa3f);
	outline-offset: 2px;
}

.page-reviews__list.is-loading {
	opacity: 0.65;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.page-reviews__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--s-20);
	padding-bottom: clamp(32px, 5vw, 64px);
}

.page-reviews__item {
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: var(--s-20);
	background: #fff;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.page-reviews__item-head {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: var(--s-8);
	margin-bottom: var(--s-12);
	font-size: var(--fs-14, 0.875rem);
}

.page-reviews__item-name {
	font-weight: 600;
	color: var(--ink, #1a1a1a);
}

.page-reviews__item-date {
	justify-self: center;
	color: var(--ink-3);
	white-space: nowrap;
}

.page-reviews__item-stars {
	justify-self: end;
	color: #f0b429;
	letter-spacing: 1px;
	font-size: var(--fs-14, 0.875rem);
	line-height: 1;
}

.page-reviews__item-text {
	margin: 0 0 var(--s-12);
	flex: 1;
	color: var(--ink-2);
	line-height: 1.55;
	font-size: var(--fs-15, 0.9375rem);
}

.page-reviews__photos {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: var(--s-16);
}

.page-reviews__photo-thumb {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 10px;
	background: var(--line, #e8e8e8);
	border: 1px solid var(--line);
	flex-shrink: 0;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	transition: border-color var(--tr, 0.2s ease), box-shadow var(--tr, 0.2s ease);
}

.page-reviews__photo-thumb:hover {
	border-color: var(--brand-600, #13aa3f);
	box-shadow: var(--sh-sm, 0 2px 8px rgba(0, 0, 0, 0.08));
}

.page-reviews__photo-thumb:focus-visible {
	outline: 2px solid var(--brand-600, #13aa3f);
	outline-offset: 2px;
}

.page-reviews__photo-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.page-reviews__notice,
.page-reviews__empty {
	margin: 0 0 var(--s-24);
	color: var(--ink-2);
}

.page-reviews__pagination {
	margin-top: var(--s-24);
}

.page-reviews__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.page-reviews__pagination li {
	display: inline-block;
}

.page-reviews__pagination a,
.page-reviews__pagination span {
	display: inline-flex;
	min-width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: 8px;
	font-weight: 600;
	font-size: var(--fs-14, 0.875rem);
}

.page-reviews__pagination a:hover {
	border-color: var(--brand-600);
	color: var(--brand-700);
}

.page-reviews__pagination span.current {
	border-color: var(--brand-600);
	background: var(--brand-50);
	color: var(--brand-700);
}

.page-reviews__tab.is-active {
	pointer-events: none;
}

.page-reviews__sort-form {
	margin: 0;
}

.page-reviews__item-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-8);
	margin-top: auto;
	padding-top: var(--s-16);
	border-top: 1px solid var(--line);
	font-size: var(--fs-13, 0.8125rem);
	color: var(--ink-3);
}

.page-reviews__item-verified {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--brand-700, #0d8a32);
	font-weight: 600;
}

.page-reviews__item-verified-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--brand-600, #13aa3f);
	color: #fff;
	font-size: 11px;
	line-height: 1;
}

@media (max-width: 991px) {
	.page-reviews__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.page-reviews__stats {
		grid-template-columns: 1fr;
	}

	.page-reviews__hero {
		flex-direction: column;
		align-items: stretch;
	}

	.page-reviews__cta {
		align-self: stretch;
		text-align: center;
	}

	.page-reviews__filters-row {
		flex-direction: column;
		align-items: stretch;
	}

	.page-reviews__sort {
		justify-content: space-between;
	}

	.page-reviews__select {
		flex: 1;
	}

	.page-reviews__grid {
		grid-template-columns: 1fr;
	}

	.page-reviews__item-date {
		justify-self: start;
	}

	.page-reviews__bar-row {
		grid-template-columns: 48px 1fr 36px;
	}

	.page-reviews__rating-card {
		flex-direction: column;
	}

	.page-reviews__rating-card .page-reviews__bars {
		flex: 1 1 auto;
		width: 100%;
	}

	.page-reviews__hero-text{
		flex: 1;
	}
}

/* page-reviews: попап формы (#review-popup) */

#review-popup .modal__dialog.page-reviews-popup__dialog {
	max-width: 520px;
}

.page-reviews-popup__title {
	margin: 0 0 var(--s-20);
	padding-right: 36px;
	font-size: var(--fs-24, 1.5rem);
}

.page-reviews-popup__form {
	display: flex;
	flex-direction: column;
	gap: var(--s-16);
}

.page-reviews-popup__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.page-reviews-popup__hp {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.page-reviews-popup__optional {
	font-weight: 500;
	color: var(--ink-3);
}

.page-reviews-popup__field > label,
.page-reviews-popup__label {
	font-weight: 600;
	font-size: var(--fs-14, 0.875rem);
	color: var(--ink-2);
}

.page-reviews-popup__input,
.page-reviews-popup__textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: var(--r-12, 12px);
	font: inherit;
	font-size: var(--fs-15, 0.9375rem);
}

.page-reviews-popup__textarea {
	resize: vertical;
	min-height: 120px;
}

.page-reviews-popup__field--photos {
	gap: 8px;
}

.page-reviews-popup__photos-head {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px 10px;
	font-weight: 600;
	font-size: var(--fs-14, 0.875rem);
	color: var(--ink-2);
	cursor: pointer;
}

.page-reviews-popup__photos-max {
	font-weight: 500;
	font-size: var(--fs-12, 0.75rem);
	color: var(--ink-3);
}

.page-reviews-popup__photos {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 8px;
}

.page-reviews-popup__photos-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	min-height: 52px;
}

.page-reviews-popup__photos-item {
	position: relative;
	width: 52px;
	height: 52px;
	flex-shrink: 0;
}

.page-reviews-popup__photos-thumb {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--bg-light);
}

.page-reviews-popup__photos-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.page-reviews-popup__photos-remove {
	position: absolute;
	top: -5px;
	right: -5px;
	width: 20px;
	height: 20px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: var(--ink, #222);
	color: #fff;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
	transition: background 0.15s ease, transform 0.15s ease;
}

.page-reviews-popup__photos-remove:hover {
	background: #444;
	transform: scale(1.05);
}

.page-reviews-popup__photos-add {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px dashed var(--line);
	border-radius: 10px;
	background: #fff;
	color: var(--brand-600, #13aa3f);
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.page-reviews-popup__photos-add:hover:not(:disabled) {
	border-color: var(--brand-600, #13aa3f);
	background: var(--brand-50, #ecf9f0);
}

.page-reviews-popup__photos-add:disabled {
	opacity: 0.38;
	cursor: not-allowed;
	color: var(--ink-3);
}

.page-reviews-popup__photos-add-icon {
	display: block;
}

.page-reviews-popup__select {
	width: 100%;
	box-sizing: border-box;
	height: 42px;
	padding: 0 36px 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--r-12, 12px);
	background: #fff;
	font: inherit;
	font-size: var(--fs-15, 0.9375rem);
	cursor: pointer;
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
	background-position: calc(100% - 18px) calc(50% + 3px), calc(100% - 12px) calc(50% + 3px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

.page-reviews-popup__submit {
	width: 100%;
	margin-top: var(--s-4);
}

.region-selector {
	position: relative;
}

/* Плашка подтверждения */
.region-confirm {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 1000;
	min-width: 240px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	font-size: 14px;
	line-height: 1.4;
	color: #171717;
}

/* Стрелочка-указатель вверх */
.region-confirm::before {
	content: "";
	position: absolute;
	top: -6px;
	left: 18px;
	width: 12px;
	height: 12px;
	background: #fff;
	border-left: 1px solid #e5e7eb;
	border-top: 1px solid #e5e7eb;
	transform: rotate(45deg);
}

.region-confirm__text {
	margin-bottom: 10px;
}

.region-confirm__text strong {
	color: #dc2626;
}

.region-confirm__actions {
	display: flex;
	gap: 8px;
}

.region-confirm__yes,
.region-confirm__no {
	flex: 1;
	padding: 7px 10px;
	border-radius: 8px;
	font-size: 13px;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background-color .15s, border-color .15s;
	white-space: nowrap;
}

.region-confirm__yes {
	background: #171717;
	color: #fff;
}

.region-confirm__yes:hover {
	background: #000;
}

.region-confirm__no {
	background: #f5f5f5;
	color: #171717;
	border-color: #e5e7eb;
}

.region-confirm__no:hover {
	background: #e5e7eb;
}

.region-confirm[hidden] {
	display: none;
}

.badge--check_availability,
.stock--check_availability,
.product-card__status--check_availability {
    background: #f59e0b;
    color: #fff;
    width: fit-content;
    border-radius: 5px;
    padding: 0px 5px;
}
.pdp-check-availability { display: flex; flex-direction: column; gap: 8px; }
.pdp-check-availability__text { font-weight: 600; color: #b45309; margin: 0; }

.fab__social-wrap, a.fab__btn.fab__btn--phone {
	display: none;
}

@media (max-width: 900px) {
.cat-tile__img img {
    object-fit: contain;
    background: #ffffff;
	}}


/* ============================================================================
   MOBILE HEADER v2 — патч верхушки
   Требование: из @media (max-width:992px) удалены правила
   .btn--catalog{display:none} и .navbar__center{display:none}
   ========================================================================== */

/* Учитываем высоту sticky-шапки при переходах по анкорам */
html {
	scroll-padding-top: calc(var(--hdr-h) + 12px);
}

/* Иконка бургера — обводка, не заливка */
.burger__icon {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
}

/* --------------------------------------------------------------------------
   1. Двухстрочная шапка на планшетах и телефонах
   -------------------------------------------------------------------------- */

@media (max-width: 992px) {

	/* стартовое значение; JS уточнит по факту */
	:root {
		--hdr-h: 106px;
	}

	.navbar {
		height: auto;
	}

	.navbar__container {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px 10px;
		padding-block: 8px;
	}

	/* .navbar__left убираем из потока: лого и «Каталог» — в разных строках */
	.navbar__left {
		display: contents;
	}

	.logo {
		order: 1;
		margin-right: auto;
		gap: 0;
	}

	.navbar__right {
		order: 2;
		display: flex;
		grid-auto-flow: row;
		align-items: center;
		gap: 6px;
	}

	/* --- строка 2: каталог + поиск --- */

	.btn--catalog {
		order: 3;
		display: inline-flex;
		flex: 0 0 auto;
		height: 42px;
		padding: 0 14px;
		border-radius: var(--r-10);
		font-size: 14px;
		white-space: nowrap;
	}

	.navbar__center {
		order: 4;
		display: flex;
		flex: 1 1 180px;
		min-width: 0;
		height: 42px;
		gap: 0;
	}

	/* регион уже есть в шапке оффканваса — во второй строке он лишний */
	.navbar__center .region-selector {
		display: none;
	}

	.navbar__center .header-search {
		flex: 1 1 auto;
		height: 42px;
	}

	/* 16px обязательны: иначе iOS Safari зумит страницу при фокусе */
	.navbar__center .header-search__input {
		height: 42px;
		min-height: 42px;
		font-size: 16px;
		padding-inline: 12px 48px;
		border-radius: var(--r-10);
	}

	.navbar__center .header-search__btn {
		width: 42px;
		min-height: 40px;
		background: transparent;
		color: var(--ink-3);
		border-radius: 0 var(--r-10) var(--r-10) 0;
	}

	.header-search__suggestions {
		top: calc(100% + 8px);
	}

	/* тап-таргеты */
	.user-actions {
		gap: 6px;
	}

	.ua,
	.mini-cart__btn,
	.burger {
		width: 42px;
		height: 42px;
		border-radius: var(--r-10);
	}

	.burger {
		display: grid;
		place-items: center;
	}
}

/* Узкие телефоны: сравнение уводим со экрана шапки */
@media (max-width: 420px) {

	.user-actions .ua--compare {
		display: none;
	}

	.logo img {
		width: 92px;
	}

	.btn--catalog {
		padding-inline: 12px;
	}

	.btn--catalog span {
		font-size: 13px;
	}
}

/* --------------------------------------------------------------------------
   2. Фикс оффканваса: раньше 100vh + шапка > экрана,
      из-за чего «Заказать звонок» уезжал за границу без возможности доскроллить
   -------------------------------------------------------------------------- */

.offcanvas {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	justify-items: start;
	align-items: stretch;
	height: 100vh;
	height: 100dvh;
}

.offcanvas__body {
	height: auto;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding-bottom: max(16px, env(safe-area-inset-bottom));
}

.offcanvas__title {
	font-size: var(--fs-18);
	font-weight: 700;
	color: var(--ink-2);
}

.offcanvas__catalog-link {
	padding: 12px 16px 0;
}

.offcanvas__catalog-link .btn {
	height: 46px;
}

body.is-catalog-open {
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   3. Мобильный каталог (#offcanvasCatalog)
      Классы .catalog-nav* намеренно отличаются от .offcanvas__nav,
      чтобы скрипт мобильного меню не инжектил второй набор toggle-кнопок
   -------------------------------------------------------------------------- */

.offcanvas--catalog {
	z-index: 1150;
}

.offcanvas--catalog .offcanvas__body {
	display: block;
	gap: 0;
	padding-top: 4px;
}

.catalog-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 2px;
}

.catalog-nav li {
	margin: 0;
}

.catalog-nav a {
	display: block;
	padding: 13px 16px;
	color: var(--ink-2);
	border-bottom: 1px solid var(--bg-3);
	font-weight: 700;
	text-decoration: none;
}

.catalog-nav a:hover {
	background: var(--brand-50);
	color: var(--brand-700);
	text-decoration: none;
}

.catalog-nav .has-children {
	display: grid;
}

.catalog-nav .has-children > a {
	grid-row: 1;
	grid-column: 1;
	padding-right: 52px;
}

.catalog-nav__toggle {
	grid-row: 1;
	grid-column: 1;
	justify-self: end;
	align-self: center;
	width: 44px;
	height: 44px;
	margin-right: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	color: var(--ink-3);
	cursor: pointer;
	border-radius: var(--r-8);
	transition: transform var(--tr), background var(--tr);
}

.catalog-nav__toggle span {
	font-size: 28px;
	font-weight: 300;
	line-height: 1;
	margin-top: -3px;
}

.catalog-nav__toggle:hover {
	background: var(--bg-2);
}

.catalog-nav__toggle:focus-visible {
	outline: 3px solid hsl(var(--brand-h) 86% 45% / .35);
	outline-offset: -3px;
}

.catalog-nav__sub {
	display: none;
}

.catalog-nav .has-children.is-open > .catalog-nav__sub {
	display: grid;
	gap: 2px;
	grid-row: 2;
	grid-column: 1;
}

.catalog-nav .has-children.is-open > .catalog-nav__toggle {
	transform: rotate(45deg);
}

/* вложенность */
.catalog-nav__sub > li > a {
	padding-left: 30px;
	font-weight: 600;
	font-size: .95em;
}

.catalog-nav__sub .catalog-nav__sub > li > a {
	padding-left: 46px;
	font-weight: 500;
	font-size: .92em;
	color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   4. Мегаменю: не перекрываем мобильный drawer
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {

	/* .megamenu уже display:none — дублируем на случай inline hidden=false */
	#megaMenu {
		display: none !important;
	}
}


/* Товар недоступен: убираем любые CTA покупки, даже если шаблон их вывел */
body.vigor-not-orderable .pdp-buy [data-modal="oneclick"],
body.vigor-not-orderable .pdp-buy [data-action="cart.add"],
body.vigor-not-orderable .pdp-variants__add,
body.vigor-not-orderable .sticky-cta [data-modal="oneclick"],
body.vigor-not-orderable .sticky-cta [data-action="cart.add"],
body.vigor-not-orderable form.cart button[type="submit"] {
  display: none !important;
}

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

.product-cta--unavailable .product-cta__label {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  background: #f4f4f5;
  color: #71717a;
  font-size: 14px;
  font-weight: 500;
}

.product-cta--unavailable.is-check .product-cta__label,
.product-cta--unavailable.is-noprice .product-cta__label {
  background: #fff7ed;
  color: #c2410c;
}

/* =========================================================
   СЛАЙДЕРЫ: выравнивание высот, отступы, обрезка текста
   ========================================================= */

[data-swiper] {
  --slide-pad: 14px;
  --slide-radius: 12px;
  overflow: hidden;
}

/* Слайд тянется по контенту, карточка внутри занимает 100% высоты ряда */
[data-swiper] .swiper-wrapper { align-items: stretch; }

[data-swiper] .swiper-slide {
  height: auto;
  display: flex;
}

[data-swiper] .swiper-slide > * {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
}

/* --- Картинки: фиксированная пропорция вместо «резинового» роста --- */
[data-swiper="blog"] .swiper-slide a > img,
[data-swiper="blog"] .swiper-slide [class*="thumb"],
[data-swiper="blog"] .swiper-slide [class*="image"] {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  flex: 0 0 auto;
}

[data-swiper="blog"] .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Компактные внутренние отступы --- */
[data-swiper="blog"] .swiper-slide [class*="body"],
[data-swiper="blog"] .swiper-slide [class*="content"],
[data-swiper="reviews"] .swiper-slide > * {
  padding: var(--slide-pad);
  gap: 6px;
}

/* --- Заголовок: максимум 2 строки --- */
[data-swiper="blog"] .swiper-slide h2,
[data-swiper="blog"] .swiper-slide h3,
[data-swiper="reviews"] .swiper-slide h3,
[data-swiper="reviews"] .swiper-slide h4 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}

/* --- Текст отзыва / анонс: обрезка вместо растягивания --- */
[data-swiper="reviews"] .swiper-slide p,
[data-swiper="blog"] .swiper-slide p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Мета (дата, автор) прижимаем к низу — карточки выглядят ровно */
[data-swiper] .swiper-slide [class*="meta"],
[data-swiper] .swiper-slide [class*="footer"],
[data-swiper] .swiper-slide time {
  margin-top: auto;
  font-size: 12px;
  opacity: .7;
}

/* --- Ограничиваем высоту слайда на десктопе --- */
@media (min-width: 993px) {
  [data-swiper="reviews"] .swiper-slide { max-height: 280px; }
  [data-swiper="reviews"] .swiper-slide > * { overflow: hidden; }
}

/* --- Отступы секций: меньше воздуха --- */
[data-swiper] { padding-block: 0; }

.swiper-button-next,
.swiper-button-prev {
  --swiper-navigation-size: 22px;
}

.swiper--no-nav .swiper-button-next,
.swiper--no-nav .swiper-button-prev { display: none; }

/* --- Колонки 2/3: страховка размеров и фолбэк без JS --- */

/* Пока megamenu.js не инициализировался — показываем колонку 2,
   чтобы меню не выглядело «обрубленным» при ошибке JS. */
.megamenu:not([data-mm-ready]) .megamenu__col-2 { display: block; }
.megamenu:not([data-mm-ready]) .megamenu__col-2 .megamenu__panel:first-child { display: block; }

/* Колонки должны занимать всю высоту контейнера, иначе панель
   «обрезается» по высоте своего содержимого. */
.megamenu__col-2,
.megamenu__col-3 { align-self: stretch; min-height: 100%; }

/* Активный пункт 2-го уровня — видно, какая ветка раскрыта в колонке 3. */
.megamenu__col-2 .megamenu__item.is-active > .megamenu__link {
  background: var(--bg-2);
  color: var(--brand-600);
  font-weight: 600;
}

/* Стрелка активного пункта — вправо и контрастнее. */
.megamenu__item.is-active > .megamenu__link .megamenu__arrow {
  opacity: 1;
  color: var(--brand-600);
}

/* На тач-устройствах первый тап раскрывает, а не уводит по ссылке. */
@media (hover: none) {
  .megamenu__item.has-children > .megamenu__link { cursor: pointer; }
}

/* Выпадашка поиска — управляется только JS (hidden), без inline position */
.header-search__suggestions[hidden] { display: none !important; }

/* Активный элемент при навигации стрелками */
.search-result-item.is-active {
	background: #fff;
	border-color: var(--brand-600);
	box-shadow: var(--sh-sm);
	color: var(--brand-700);
	outline: 2px solid hsl(var(--brand-h) 86% 45% / .25);
	outline-offset: -2px;
}

/* Кнопка «Уточнить наличие» в карточке */
.product-card__request-btn,
.product-card__more-btn { flex: 1; }

.product-card--unavailable .product-card__prices .price--new { color: var(--ink-3); }

/* Пустое состояние сетки */
.products-grid .empty { grid-column: 1 / -1; }
.empty__title { margin-bottom: 6px; font-size: var(--fs-18); }

/* =============================================================================
   VIGOR — правки: облако тегов «Показать ещё», лайтбокс PDP, дубль наличия
   ========================================================================== */

/* ---------- 1. Облако тегов: кнопки-тогглы ---------- */

.catalog-tag-cloud__body .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Свёрнутый тег скрывается атрибутом hidden (JS), это лишь страховка */
.tag-cloud__item--folded[hidden],
.tag-cloud__toggle[hidden],
.tag-cloud__item--toggle[hidden] {
  display: none !important;
}

.tag-cloud__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px dashed var(--color-border, #d8dde5);
  border-radius: 999px;
  background: transparent;
  color: var(--color-text-muted, #5b6472);
  font: inherit;
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.tag-cloud__toggle:hover,
.tag-cloud__toggle:focus-visible {
  border-color: var(--color-primary, #ff6a13);
  color: var(--color-primary, #ff6a13);
  background: color-mix(in srgb, var(--color-primary, #ff6a13) 6%, transparent);
  outline: none;
}

.tag-cloud__toggle-count {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.tag-cloud__toggle-chevron {
  display: inline-flex;
  align-items: center;
}

/* Плавное появление раскрытых тегов */
.catalog-tag-cloud[data-tag-cloud-state="expanded"] .tag-cloud__item--folded {
  animation: vigor-tag-in .18s ease both;
}

@keyframes vigor-tag-in {
  from { opacity: 0; transform: translateY(-2px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-tag-cloud[data-tag-cloud-state="expanded"] .tag-cloud__item--folded {
    animation: none;
  }
}

/* ---------- 2. PDP: главное фото как триггер лайтбокса ---------- */

.pdp-gallery__stage {
  position: relative;
}

#pdp-main-img.is-zoomable,
.pdp-gallery__main[data-pdp-lightbox] {
  cursor: zoom-in;
  transition: transform .25s ease;
}

#pdp-main-img.is-zoomable:hover {
  transform: scale(1.012);
}

#pdp-main-img.is-zoomable:focus-visible {
  outline: 2px solid var(--color-primary, #ff6a13);
  outline-offset: 3px;
  border-radius: 8px;
}

#pdp-main-img.is-not-zoomable {
  cursor: default;
}

/* Бейджи и лупа не должны перехватывать клик по фото */
.pdp-gallery__badges {
  pointer-events: none;
}
.pdp-gallery__badges > * {
  pointer-events: auto;
}
.pdp-gallery__zoom {
  pointer-events: auto;
}

/* ---------- 3. Дубль блока наличия ---------- */

/* Помеченный скриптом дубль — скрываем жёстко */
[data-pdp-stock-duplicate="1"] {
  display: none !important;
}

/*
 * Дополнительная страховка на чистом CSS:
 * второй и последующие .pdp-stock внутри buy-box не показываем.
 * Работает даже если JS отключён.
 */
.pdp-buy .pdp-stock ~ .pdp-stock,
.pdp-buy .pdp-stock ~ p.stock,
.pdp-buy p.stock ~ p.stock {
  display: none !important;
}

.pdp-variants .swatch,
.pdp-variants .pill {
  position: relative;
  display: inline-flex;
  cursor: pointer;
  user-select: none;
}

/*
 * Не растягиваем input поверх fieldset.
 * Он остается кликабельным через связанный label.
 */
.pdp-variants .swatch > input[type="radio"],
.pdp-variants .pill > input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Декоративные элементы не перехватывают клик у label. */
.pdp-variants .swatch__color,
.pdp-variants .swatch__tooltip,
.pdp-variants .pill > span {
  pointer-events: none;
}

/* Выбранный цвет. */
.pdp-variants .swatch > input[type="radio"]:checked + .swatch__color {
  outline: 3px solid #111827;
  outline-offset: 3px;
}

/* Фокус с клавиатуры. */
.pdp-variants .swatch > input[type="radio"]:focus-visible + .swatch__color {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

/* Недоступный вариант. */
.pdp-variants .swatch > input[type="radio"]:disabled + .swatch__color {
  opacity: 0.35;
  cursor: not-allowed;
}

/* =========================================================================
 * ХАРАКТЕРИСТИКИ ГРУППАМИ (inc/attribute-groups.php)
 * ========================================================================= */

.specs__group + .specs__group {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.specs__group-title {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

.specs__group--rest .specs__group-title {
  color: #6b7280;
  font-size: 16px;
}

.specs__list {
  display: grid;
  grid-template-columns: minmax(180px, 40%) 1fr;
  margin: 0;
}

.specs__list dt,
.specs__list dd {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px dashed #e5e7eb;
}

.specs__list dt { color: #6b7280; }
.specs__list dd { font-weight: 600; }

@media (max-width: 640px) {
  .specs__list { grid-template-columns: 1fr; }
  .specs__list dt { padding-bottom: 2px; border-bottom: 0; }
}

/* --- Выжимка в buy-box --- */

.pdp-key-specs {
  margin: 16px 0;
  padding: 14px 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.pdp-key-specs__title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
}

.pdp-key-specs__list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  margin: 0;
  font-size: 13px;
}

.pdp-key-specs__list dt { margin: 0; color: #6b7280; }
.pdp-key-specs__list dd { margin: 0; font-weight: 600; text-align: right; }

.pdp-key-specs__more {
  margin-top: 10px;
  padding: 0;
  background: none;
  border: 0;
  color: #2563eb;
  font-size: 13px;
  cursor: pointer;
}

.pdp-key-specs__more:hover { text-decoration: underline; }

/* --- Сравнение --- */

.compare-specs__group + .compare-specs__group { margin-top: 24px; }

.compare-specs__title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
}

.compare-specs__table {
  width: 100%;
  border-collapse: collapse;
}

.compare-specs__table th,
.compare-specs__table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}

.compare-specs__table th {
  width: 220px;
  color: #6b7280;
  font-weight: 500;
}

.compare-specs__row.is-diff td { background: #fffbeb; font-weight: 600; }

.specs__list dt, .specs__list dd {
    margin: 0;
    padding: 0px 0;
    border-bottom: 1px dashed #e5e7eb;
}

.specs__group + .specs__group {
    margin-top: 2px;
    padding-top: 20px;
    border-top: inherit;
}
/* VIGOR: compact desktop home product cards */
@media (min-width: 1200px) {
  .products-swiper .product-card__thumb {
    aspect-ratio: 4 / 3;
  }
}

/* VIGOR: prevent Swiper slide stretching */
[data-swiper] .swiper-wrapper {
  align-items: flex-start;
}

[data-swiper] .swiper-slide {
  align-self: flex-start;
}

[data-swiper] .swiper-slide > * {
  height: auto;
}

/* VIGOR: compact commercial PDP */

.pdp-buy {
  gap: 14px;
}

.pdp-title {
  line-height: 1.15;
}

.pdp-price {
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-12);
  background: var(--bg-2);
}

.pdp-price__now {
  font-size: clamp(26px, 2.5vw, 36px);
  color: var(--brand-700, var(--ink-2));
}

.pdp-stock {
  align-self: flex-start;
  box-shadow: none;
}

.pdp-cta {
  align-items: stretch;
  flex-wrap: wrap;
}

.pdp-cta > .btn--secondary {
  flex: 1 1 180px;
}

.pdp-trust {
  gap: 6px 12px;
  font-size: 13px;
}

/* VIGOR: unified typography */

/* Единая шкала текста: предотвращает скачки в шапке, формах и карточках. */
body,
button,
input,
select,
textarea {
  font-family: var(--font);
}

input,
select,
textarea,
.header-search__input {
  font-size: var(--fs-16);
  line-height: 1.25;
}

.header-search__input {
  font-size: var(--fs-16);
  line-height: 40px;
}

.navbar__right,
.contacts__meta {
  line-height: 1.25;
}

.product-card__title {
  font-size: var(--fs-16);
  line-height: 1.35;
}

.product-card__specs,
.product-card__status {
  font-size: var(--fs-13);
  line-height: 1.35;
}

.pdp-title {
  line-height: 1.15;
}

@media (max-width: 767px) {
  .header-search__input,
  .navbar__center .header-search__input {
    font-size: var(--fs-16);
  }
}

/* VIGOR: compact commercial buttons */

/* Единый ритм CTA и статусов в каталоге и PDP. */
.product-card__actions {
  align-items: stretch;
  gap: 6px;
}

.product-card__actions .btn,
.product-card__actions .btn-icon {
  min-height: 40px;
}

.product-card__actions .btn {
  flex: 1 1 auto;
  font-size: var(--fs-14);
  padding-inline: 12px;
}

.product-card__status {
  display: flex;
  align-items: center;
  min-height: 22px;
  padding-top: 2px;
}

.product-card__old-label {
  color: var(--muted);
}

.pdp-cta .btn--secondary {
  font-weight: 700;
}

.pdp-check-availability {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.pdp-check-availability__text {
  flex: 1 1 100%;
  font-size: var(--fs-14);
}

@media (max-width: 767px) {
  .pdp-cta > *,
  .pdp-check-availability > .btn {
    width: 100%;
  }

  .pdp-cta form {
    width: 100%;
  }
}

/* VIGOR: product specs fallback */

.product-card__specs-empty {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  color: var(--muted);
  font-size: var(--fs-13);
  line-height: 1.35;
}
.product-card__specs-empty > span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
}


/* VIGOR: specs groups toggle */
.specs:not(.is-expanded) .specs__group:nth-of-type(n+3) { display: none; }
.specs__toggle { margin-top: 20px; padding: 10px 16px; border: 1px solid var(--line, #e5e7eb); border-radius: 8px; background: #fff; color: var(--brand-700, #0b3275); font-weight: 600; cursor: pointer; }
.specs__toggle:hover { background: var(--bg-2, #f5f7fb); }

/* VIGOR: card key specs with icons */

.product-card__specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-height: 68px;
}
.product-card__specs li {
  display: none;
  min-width: 0;
  padding: 6px 3px;
  border: 0;
  text-align: center;
}
.product-card__specs li:nth-child(-n+3) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
}
.product-card__spec-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: var(--ink-2);
}
.product-card__spec-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-card__specs li .name {
  display: none;
}
.product-card__specs li .value {
  width: 100%;
  padding: 0;
  color: var(--ink-2);
  font-size: var(--fs-13);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .product-card__specs { gap: 4px; }
  .product-card__specs li .value { font-size: var(--fs-12); }
}

/* VIGOR: card key specs icons v2 */

.product-card__specs {
  gap: 0;
  min-height: 82px;
  padding: 10px 0 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-card__specs li:nth-child(-n+3) {
  position: relative;
  justify-content: center;
  gap: 5px;
  min-height: 66px;
  padding: 2px 8px;
}
.product-card__specs li:nth-child(2)::before,
.product-card__specs li:nth-child(3)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.product-card__spec-icon {
  width: 30px;
  height: 30px;
  color: var(--brand-700);
}
.product-card__spec-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.7;
}
.product-card__specs li .value {
  font-size: var(--fs-14);
  font-weight: 700;
  line-height: 1.15;
  white-space: normal;
}
@media (max-width: 480px) {
  .product-card__specs { min-height: 76px; padding-top: 8px; }
  .product-card__specs li:nth-child(-n+3) { min-height: 60px; padding-inline: 5px; }
  .product-card__spec-icon, .product-card__spec-icon svg { width: 25px; height: 25px; }
  .product-card__specs li .value { font-size: 13px; }
}

/* VIGOR: card specs text rows with leading icons */

.product-card__specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  min-height: 0;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-card__specs li,
.product-card__specs li:nth-child(-n+3) {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0;
  border: 0;
  text-align: left;
}
.product-card__specs li:nth-child(n+4) { display: none; }
.product-card__specs li:nth-child(2)::before,
.product-card__specs li:nth-child(3)::before { content: none; }
.product-card__spec-icon,
.product-card__spec-icon svg {
  width: 18px;
  height: 18px;
}
.product-card__spec-icon {
  color: var(--brand-700);
}
.product-card__spec-icon svg { stroke-width: 1.8; }
.product-card__specs li .name {
  display: block;
  min-width: 0;
  color: var(--ink-3);
  font-size: var(--fs-13);
  font-weight: 500;
  line-height: 1.25;
}
.product-card__specs li .name::after { content: ':'; }
.product-card__specs li .value {
  width: auto;
  padding: 0;
  color: var(--ink-2);
  font-size: var(--fs-13);
  font-weight: 700;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
  overflow-wrap: normal;
}
@media (max-width: 480px) {
  .product-card__specs { gap: 4px; padding-block: 6px; }
  .product-card__specs li,
  .product-card__specs li:nth-child(-n+3) { grid-template-columns: 18px minmax(0, 1fr) auto; gap: 5px; min-height: 23px; }
  .product-card__spec-icon,
  .product-card__spec-icon svg { width: 17px; height: 17px; }
  .product-card__specs li .name,
  .product-card__specs li .value { font-size: 12px; }
}

/* VIGOR: clean product status badges */

.product-card__old-label::after { content: none; }
.product-card__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding-top: 4px;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.2;
}
.product-card__old-label,
.product-card__status-text {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.product-card__old-label {
  background: #f1f5f9;
  color: #64748b;
}
.product-card__status--outofstock .product-card__status-text {
  background: #fef2f2;
  color: #b91c1c;
}
.product-card__status--instock .product-card__status-text {
  background: #ecfdf5;
  color: #047857;
}
.product-card__status--onbackorder .product-card__status-text,
.product-card__status--check_availability .product-card__status-text {
  background: #fff7ed;
  color: #c2410c;
}
@media (max-width: 480px) {
  .product-card__status { gap: 4px; }
  .product-card__old-label,
  .product-card__status-text { padding-inline: 6px; font-size: 10px; }
}

/* VIGOR: compact and overflow-safe spec rows */

.product-card__specs {
  gap: 3px;
  padding: 5px 0;
  min-height: 70px;
  overflow: hidden;
}
.product-card__specs li,
.product-card__specs li:nth-child(-n+3) {
  grid-template-columns: 17px minmax(0, 1fr) minmax(42px, auto);
  gap: 5px;
  min-height: 20px;
  max-height: 20px;
}
.product-card__spec-icon,
.product-card__spec-icon svg { width: 15px; height: 15px; }
.product-card__specs li .name,
.product-card__specs li .value {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 20px;
}
.product-card__specs li .name { font-size: 12px; }
.product-card__specs li .value {
  max-width: 92px;
  font-size: 12px;
}
@media (max-width: 480px) {
  .product-card__specs { min-height: 66px; padding-block: 4px; }
  .product-card__specs li,
  .product-card__specs li:nth-child(-n+3) {
    grid-template-columns: 16px minmax(0, 1fr) minmax(38px, auto);
    min-height: 19px;
    max-height: 19px;
  }
  .product-card__spec-icon,
  .product-card__spec-icon svg { width: 14px; height: 14px; }
  .product-card__specs li .name,
  .product-card__specs li .value { font-size: 11px; line-height: 19px; }
  .product-card__specs li .value { max-width: 76px; }
}

/* VIGOR: remove legacy dotted spec leader */
.product-card__specs li::after { content: none !important; display: none !important; }
.product-card__specs li > span { background: transparent; }

/* VIGOR: stable product card vertical rhythm */

/* Два ряда заголовка во всех grid/slider карточках. */
.product-card:not(.view-list .product-card) .product-card__title {
  display: -webkit-box;
  min-height: 42px;
  max-height: 42px;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 21px;
}
/* Три строки характеристик имеют одинаковый слот. */
.product-card .product-card__specs,
.product-card .product-card__specs-empty {
  flex: 0 0 70px;
  width: 100%;
  min-height: 70px;
  max-height: 70px;
  margin: 0;
  box-sizing: border-box;
}
.product-card .product-card__specs-empty {
  align-items: center;
  padding: 5px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-card .product-card__prices {
  min-height: 28px;
  margin-top: 0;
}
.product-card .product-card__actions { margin-top: 0; }
@media (max-width: 480px) {
  .product-card:not(.view-list .product-card) .product-card__title {
    min-height: 38px;
    max-height: 38px;
    line-height: 19px;
  }
  .product-card .product-card__specs,
  .product-card .product-card__specs-empty {
    flex-basis: 66px;
    min-height: 66px;
    max-height: 66px;
  }
}
/* List mode keeps its natural horizontal layout. */
.view-list .product-card .product-card__title,
.view-list .product-card .product-card__specs,
.view-list .product-card .product-card__specs-empty {
  min-height: 0;
  max-height: none;
}

/* VIGOR: align card spec separators */

/* Заголовок занимает ровно две строки и не растягивается как flex-item. */
.product-card > .product-card__title {
  flex: 0 0 42px;
  width: 100%;
  min-height: 42px;
  max-height: 42px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
/* Линии принадлежат одному фиксированному слоту характеристик. */
.product-card > .product-card__specs,
.product-card > .product-card__specs-empty {
  flex: 0 0 70px;
  width: 100%;
  min-height: 70px;
  max-height: 70px;
  padding: 5px 0;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-sizing: border-box;
}
@media (max-width: 480px) {
  .product-card > .product-card__title {
    flex-basis: 38px;
    min-height: 38px;
    max-height: 38px;
  }
  .product-card > .product-card__specs,
  .product-card > .product-card__specs-empty {
    flex-basis: 66px;
    min-height: 66px;
    max-height: 66px;
    padding-block: 4px;
  }
}

/* VIGOR: Google document catalog requirements */

/* В каталогах наличие не дублируем: статус остаётся на странице товара. */
body:not(.single-product) .product-card__status,
body:not(.single-product) .product-card__request-btn { display: none !important; }
/* После удаления большой request-кнопки вторичные действия остаются справа. */
body:not(.single-product) .product-card__actions:has(.product-card__request-btn) {
  justify-content: flex-end;
}

/* VIGOR: expert editorial single post */
.single-post__shell { max-width: 1180px; }
.single-post__hero { max-width: 920px; padding: 34px 0 22px; }
.single-post__eyebrow { display:flex; gap:8px; align-items:center; color:var(--ink-3); font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
.single-post__title { margin:14px 0; font-size:clamp(32px,4vw,52px); line-height:1.08; letter-spacing:-.025em; }
.single-post__lead { max-width:820px; margin:0 0 22px; color:var(--ink-3); font-size:clamp(17px,2vw,21px); line-height:1.55; }
.single-post__byline { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.single-post__avatar img { border-radius:50%; }
.single-post__byline > div:nth-child(2) { display:grid; gap:2px; }
.single-post__byline > div:nth-child(2) span { color:var(--muted); font-size:13px; }
.single-post__meta { margin-left:auto; gap:12px; color:var(--ink-3); font-size:13px; }
.single-post__image { padding:0; margin:0 0 28px; border-radius:18px; aspect-ratio:16/7; background:#fff; }
.single-post__image img { width:100%; height:100%; max-height:none; object-fit:contain; border-radius:18px; }
.single-post__layout { display:grid; grid-template-columns:250px minmax(0,760px); justify-content:center; gap:38px; align-items:start; }
.single-post__expert-card { position:sticky; top:110px; padding:18px; border:1px solid var(--line); border-radius:14px; background:#fff; box-shadow:var(--sh-sm); }
.single-post__expert-card strong { display:block; margin-bottom:8px; color:var(--brand-700); }
.single-post__expert-card p { margin:0 0 10px; color:var(--ink-3); font-size:14px; line-height:1.5; }
.single-post__expert-card a { font-size:14px; font-weight:700; }
.single-post__content { padding:28px 34px; border:1px solid var(--line); border-radius:18px; background:#fff; font-size:17px; }
.single-post__content > :first-child { margin-top:0; }
.single-post__content h2 { scroll-margin-top:120px; font-size:28px; line-height:1.2; }
.single-post__content h3 { font-size:22px; }
.single-post__content blockquote { margin:26px 0; padding:18px 20px; border-left:4px solid var(--brand-600); border-radius:0 12px 12px 0; background:var(--brand-50); }
.single-post__content table { width:100%; border-collapse:collapse; margin:24px 0; font-size:15px; }
.single-post__content th,.single-post__content td { padding:10px 12px; border:1px solid var(--line); text-align:left; }
.single-post__discussion-cta { display:flex; justify-content:space-between; align-items:center; gap:24px; max-width:1048px; margin:32px auto 0; padding:24px 28px; border-radius:18px; color:#fff; background:var(--brand-700); }
.single-post__discussion-cta span { color:#cbd5e1; font-size:12px; font-weight:700; text-transform:uppercase; }
.single-post__discussion-cta h2 { margin:4px 0; color:#fff; font-size:25px; }
.single-post__discussion-cta p { margin:0; color:#e2e8f0; }
.single-post__share,.single-post__comments { max-width:1048px; margin-inline:auto; }
.single-post__comments { padding:28px 0 50px; }
@media(max-width:900px){.single-post__layout{grid-template-columns:1fr}.single-post__expert-card{position:static}.single-post__meta{width:100%;margin-left:60px}.single-post__image{aspect-ratio:16/9}.single-post__content{padding:22px}}
@media(max-width:600px){.single-post__hero{padding-top:24px}.single-post__title{font-size:30px}.single-post__lead{font-size:17px}.single-post__meta{margin-left:0}.single-post__image{margin-inline:-10px;border-radius:12px}.single-post__discussion-cta{align-items:flex-start;flex-direction:column;padding:20px}.single-post__discussion-cta .btn{width:100%}.single-post__content{padding:18px;font-size:16px}.single-post__share{padding:18px}}

/* VIGOR: mobile spec icons and clean separators */

.product-card > .product-card__specs {
  position: relative;
  border: 0;
}
.product-card > .product-card__specs::before,
.product-card > .product-card__specs::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.product-card > .product-card__specs::before { top: 0; }
.product-card > .product-card__specs::after { bottom: 0; }
.product-card__spec-icon,
.product-card__spec-icon svg {
  width: 18px;
  height: 18px;
}
.product-card__specs li,
.product-card__specs li:nth-child(-n+3) {
  grid-template-columns: 20px minmax(0, 1fr) minmax(42px, auto);
}
@media (max-width: 480px) {
  .product-card__spec-icon,
  .product-card__spec-icon svg {
    width: 19px;
    height: 19px;
  }
  .product-card__specs li,
  .product-card__specs li:nth-child(-n+3) {
    grid-template-columns: 22px minmax(0, 1fr) minmax(45px, auto);
    gap: 6px;
  }
}

/* VIGOR: exact spec line alignment */

/* Карточка использует явные слоты; свободное место не распределяется между ними. */
.products-grid .product-card,
.products-swiper .product-card,
[data-swiper] .product-card {
  justify-content: flex-start;
}
.products-grid .product-card > .product-card__title,
.products-swiper .product-card > .product-card__title,
[data-swiper] .product-card > .product-card__title {
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.products-grid .product-card > .product-card__specs,
.products-grid .product-card > .product-card__specs-empty,
.products-swiper .product-card > .product-card__specs,
.products-swiper .product-card > .product-card__specs-empty,
[data-swiper] .product-card > .product-card__specs,
[data-swiper] .product-card > .product-card__specs-empty {
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  transform: none !important;
}
/* Одинаковый зазор от названия до верхней линии. */
.product-card > .product-card__title + .product-card__specs,
.product-card > .product-card__title + .product-card__specs-empty {
  margin-top: 0 !important;
}
/* Цена следует сразу за нижней линией с одинаковым зазором. */
.product-card > .product-card__specs + .product-card__prices,
.product-card > .product-card__specs-empty + .product-card__prices {
  margin-top: 0 !important;
}

/* Vigor: category and contextual catalog cards. Append after the existing theme stylesheet. */
:is(body.tax-product_cat, body.vigor-tag-cloud-page) .product-card--ctx-archive {
  border-color: #dce2ed;
  box-shadow: 0 2px 8px rgb(15 35 75 / 4%);
}
:is(body.tax-product_cat, body.vigor-tag-cloud-page) .product-card--ctx-archive .product-card__actions {
  gap: 6px;
  align-items: center;
}
:is(body.tax-product_cat, body.vigor-tag-cloud-page) .product-card--ctx-archive .product-card__actions > button {
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 10px;
  box-sizing: border-box;
}
:is(body.tax-product_cat, body.vigor-tag-cloud-page) .product-card--ctx-archive .product-card__actions > .btn--outline,
:is(body.tax-product_cat, body.vigor-tag-cloud-page) .product-card--ctx-archive .product-card__actions > .product-card__request-btn {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  padding-inline: 8px;
}
:is(body.tax-product_cat, body.vigor-tag-cloud-page) .product-card--ctx-archive .product-card__prices {
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-variant-numeric: tabular-nums;
}
:is(body.tax-product_cat, body.vigor-tag-cloud-page) .product-card--ctx-archive .price--old {
  color: #64748b;
  font-size: 12px;
}
:is(body.tax-product_cat, body.vigor-tag-cloud-page) .product-card--ctx-archive .product-card__specs li .name,
:is(body.tax-product_cat, body.vigor-tag-cloud-page) .product-card--ctx-archive .product-card__specs li .value {
  font-size: 12px;
}
:is(body.tax-product_cat, body.vigor-tag-cloud-page) .product-card--ctx-archive .product-card__specs li .name {
  color: #526079;
}
:is(body.tax-product_cat, body.vigor-tag-cloud-page) .product-card--ctx-archive .product-card__specs li .value {
  font-variant-numeric: tabular-nums;
}
:is(body.tax-product_cat, body.vigor-tag-cloud-page) .product-card--ctx-archive .product-card__specs li > span {
  padding-inline: 0;
}
:is(body.tax-product_cat, body.vigor-tag-cloud-page) .product-card--ctx-archive :is(a, button):focus-visible {
  outline: 2px solid var(--brand-600, #102e70);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  :is(body.tax-product_cat, body.vigor-tag-cloud-page) .product-card--ctx-archive,
  :is(body.tax-product_cat, body.vigor-tag-cloud-page) .product-card--ctx-archive * {
    transition: none;
  }
  :is(body.tax-product_cat, body.vigor-tag-cloud-page) .product-card--ctx-archive:hover { transform: none; }
}

/* VIGOR HOME POLISH 20260924: scoped motion and consistent spec geometry. */
.logo-motion-shell { position:relative; display:inline-flex; }
.logo-motion-shell > img { visibility:hidden; }
.logo-motion-shell > svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.logo-motion-o { transform-box:fill-box; transform-origin:center; }
.hero--grid :is(.hero-grid__main,.hero-grid__side) > img { transition:transform .7s cubic-bezier(.2,.65,.3,1); }
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 .hero--grid :is(.hero-grid__main,.hero-grid__side):hover > img { transform:scale(1.035); }
}
.home-cats__heading { display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; gap:16px; }
.home-cats__heading h1 { flex:1 1 600px; font-size:clamp(24px,2.6vw,36px); line-height:1.2; margin:0; }
.megamenu__col-3 .menu-brand > a, .catalog-nav__sub .menu-brand > a { display:flex; align-items:center; gap:8px; border:1px solid #e4e9f3; border-radius:8px; background:#f7f9fd; margin:3px 0; }
.menu-brand-divider { grid-column:1 / -1; border-top:1px solid #dce3f0; margin:10px 0 5px; }
.menu-brand__icon { flex:0 0 16px; color:#31528d; }
.catalog-nav__sub > .menu-brand:not(.menu-brand + .menu-brand) { border-top:1px solid #dce3f0; padding-top:10px; margin-top:10px; }
.menu-brand > a:hover { background:#edf2fc; border-color:#c8d4eb; }
.catalog-nav__sub .menu-brand > a { display:flex; align-items:center; padding:10px; }
.home-cats__viewport { overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x proximity; padding:4px 2px 16px; }
.home-cats__track { display:flex; gap:16px; width:max-content; }
.home-cats .cat-tiles { display:flex; gap:16px; width:max-content; }
.home-cats .cat-tile { flex:0 0 230px; width:230px; scroll-snap-align:start; }
.home-cats__viewport.is-running { overflow-x:hidden; scroll-snap-type:none; }
.home-cats__viewport.is-keyboard { overflow-x:auto; }
.home-cats__viewport.is-keyboard .home-cats__track { transform:none!important; }
.home-cats__viewport.is-keyboard [data-motion-copy] { display:none; }
.home-cats :is(a,button,.home-cats__viewport):focus-visible { outline:3px solid #7497eb; outline-offset:2px; }
@media(max-width:767px) {
 .home-cats .cat-tile { flex-basis:min(76vw,280px); width:min(76vw,280px); }
}
/* Three 20px rows + two 4px gaps + padding + borders = 90px, without overflow. */
.product-card > .product-card__specs,
.product-card > .product-card__specs-empty {
 flex:0 0 90px; height:90px; min-height:90px; max-height:90px;
 box-sizing:border-box; padding:10px 0; border:0; border-block:1px solid var(--line);
 gap:4px; justify-content:center;
}
.product-card > .product-card__specs { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:repeat(3,20px); }
.product-card > .product-card__specs::before,
.product-card > .product-card__specs::after,
.product-card > .product-card__specs > li::after { content:none!important; }
.product-card > .product-card__specs > li,
.product-card > .product-card__specs > li:nth-child(-n+3) {
 min-height:20px; height:20px; padding:0; margin:0; align-items:center;
}
.product-card > .product-card__title { flex:0 0 44px; height:44px; min-height:44px; max-height:44px; line-height:22px; }
.product-card > .product-card__title a { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.view-list .product-card > .product-card__title { flex-basis:auto; height:auto; min-height:0; max-height:none; }
.view-list .product-card > .product-card__specs { height:auto; max-height:none; flex-basis:auto; }
@media(prefers-reduced-motion:reduce) {
 .hero--grid :is(.hero-grid__main,.hero-grid__side) > img { transition:none; transform:none; }
}

/* VIGOR 20261001: contain wide editorial tables without clipping page content. */
@media (max-width: 767px) {
 .cat-seo__content { min-width: 0; }
 .cat-seo__content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
 }
}
