/*
Theme Name: VMK Modern
Theme URI: http://127.0.0.1:8080/
Description: Современный фронт для vmk73 в цветах исходного сайта.
Author: Local
Version: 1.5.33
Text Domain: vmk-modern
Template:
*/

@font-face {
  font-family: "Montserrat";
  src: url(assets/fonts/Montserrat-Regular.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url(assets/fonts/Montserrat-Medium.woff) format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url(assets/fonts/Montserrat-Bold.woff) format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url(assets/fonts/Montserrat-ExtraBold.woff) format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url(assets/fonts/ProximaNova-Regular.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url(assets/fonts/ProximaNova-Semibold.woff) format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova";
  src: url(assets/fonts/ProximaNova-Bold.woff) format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ========== Tokens — палитра исходного VMK ========== */
:root {
  --bg: #f5f7fa;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef3f8;
  --border: #dadada;
  --border-strong: #c5d0db;
  --text: #222222;
  --text-muted: #555555;
  --text-dim: #888888;
  --accent: #5797c5;
  --accent-soft: rgba(87, 151, 197, 0.14);
  --accent-hover: #316da3;
  --accent-deep: #1b85d2;
  --danger: #c45c5c;
  --success: #3d9a5f;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 16px 40px rgba(49, 109, 163, 0.12);
  --header-h: 108px;
  --header-visible-h: var(--header-h);
  --header-top-h: 64px;
  --header-bar-h: 44px;
  --container: 1180px;
  --font: "Montserrat", "Proxima Nova", system-ui, sans-serif;
  --font-display: "Montserrat", "Proxima Nova", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gradient-soft: linear-gradient(90deg, #f5f7fa, #d2e0f0);
  --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23316da3' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.8 12.4 10.4 16 17.4 8.4'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6, p,
.h3, .h4, .title, .section-title {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--text);
}

h1 {
  font-size: clamp(1.75rem, 2.8vw, 2.55rem);
  line-height: 1.18;
}

h2,
.h3,
h1.h3,
.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.3;
}

h4,
.h4 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  margin: 2.5rem 0 1.25rem;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 700;
  line-height: 1.25;
}

h5 {
  font-size: 1.1rem;
  line-height: 1.35;
}

h6 {
  font-size: 1rem;
  line-height: 1.4;
}

p {
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 700;
}

.h3--opacity {
  opacity: 1;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.main {
  padding-top: var(--header-h);
  overflow-x: clip;
}

.main--detail {
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 4rem;
}

.page-404 {
  padding: 3rem 0 4rem;
}

.page-404__text {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.has-breadcrumbs .main--detail,
.has-breadcrumbs .main:not(.main--detail) {
  padding-top: 1rem;
}

.has-breadcrumbs .legal-page {
  padding-top: 1.75rem !important;
}

.breadcrumbs-bar {
  padding-top: calc(var(--header-h) + 0.7rem);
  padding-bottom: 0.2rem;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin: 0 0.55rem;
  color: rgba(34, 34, 34, 0.35);
}

.breadcrumbs__link {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs__link:hover {
  color: var(--accent-hover);
}

.breadcrumbs__current {
  color: var(--text);
  font-weight: 600;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

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

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--soft {
  background: var(--accent-soft);
  color: var(--accent-hover);
  border-color: rgba(87, 151, 197, 0.35);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  min-height: 40px;
  padding: 0.55rem 1rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

/* ========== Header ========== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-bottom: 0;
  transform: translateY(0);
  transition: box-shadow 0.35s var(--ease);
  will-change: transform;
  overflow: visible;
}

.site-header.is-hidden {
  transform: translateY(0);
  pointer-events: auto;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 22px rgba(26, 26, 26, 0.08);
}

.promo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: var(--header-promo-h, 36px);
  padding: 0;
  background: #316da3;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.promo-banner:hover,
.promo-banner:focus-visible {
  color: #fff;
  background: #245a8c;
}

.promo-banner:focus-visible {
  outline: 2px solid #ffd24a;
  outline-offset: -2px;
}

.promo-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: min(100% - 2rem, var(--container));
  height: 100%;
}

.promo-banner__text {
  flex: 0 1 auto;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: left;
}

.promo-banner__date {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.14rem 0.7rem;
  border-radius: 999px;
  background: #ffd24a;
  color: #1a1a1a;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  animation: promo-pulse 2.4s ease-out infinite;
}

.promo-banner__more {
  flex: 0 0 auto;
  margin-left: 0.15rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  color: #fff;
}

body.has-promo-banner {
  --header-promo-h: 36px;
  --header-h: 144px;
}

@keyframes promo-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 210, 74, 0.45);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 210, 74, 0);
  }
}

.promo-banner__text--short {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .promo-banner__date {
    animation: none;
  }
}

.site-header__top {
  height: var(--header-top-h);
  background: #fff;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.site-header__top-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__top-inner > * {
  min-height: 0;
  max-height: 100%;
  align-self: center;
}

.site-header__mid {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  min-width: 0;
  height: 100%;
  text-align: center;
}

.site-header__deal {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-hover);
  line-height: 1.15;
  white-space: nowrap;
}

.site-header__deal:hover,
.site-header__deal:focus-visible {
  color: var(--accent);
}

.site-header__lead {
  display: none;
  min-width: 0;
  max-width: 19rem;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.28;
  color: var(--text-muted);
}

.ya-rating {
  position: relative;
  flex: 0 0 auto;
  width: 150px;
  height: 50px;
  overflow: hidden;
  border-radius: 4px;
  background: #f6f6f6;
}

.ya-rating__frame {
  display: block;
  width: 150px;
  height: 50px;
  max-width: none;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ya-rating__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 4px 2px;
  background: #f6f6f6;
  color: #4d4d4d;
  font-size: 8px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.ya-rating:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.ya-rating--nav {
  width: 186px;
  height: 62px;
  margin: 0 0 1.1rem;
}

.ya-rating--nav .ya-rating__frame {
  transform: scale(1.24);
  transform-origin: top left;
}

.ya-rating--nav .ya-rating__caption {
  height: 20px;
  font-size: 9px;
  padding: 0 6px 3px;
}

.home-rating {
  display: none;
}

@media (max-width: 1099px) {
  .home-rating {
    display: block;
    padding: 0;
    background: #f6f6f6;
    border-bottom: 1px solid rgba(49, 109, 163, 0.12);
  }

  .home-rating__inner.container {
    display: block;
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .ya-rating--home {
    container-type: inline-size;
    width: 100%;
    height: calc(100cqi * 50 / 150);
    border-radius: 0;
    overflow: hidden;
  }

  .ya-rating--home .ya-rating__frame {
    display: block;
    width: 150px;
    height: 50px;
    transform: scale(calc(100cqi / 150px));
    transform-origin: top left;
  }

  .ya-rating--home .ya-rating__caption {
    height: calc(100cqi * 16 / 150);
    font-size: max(10px, calc(100cqi * 8 / 150));
    padding: 0 calc(100cqi * 4 / 150) calc(100cqi * 2 / 150);
  }
}

.site-header__bar {
  display: none;
  height: var(--header-bar-h);
  background: var(--accent-hover);
}

.site-header__bar-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
}

.site-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 8.75rem;
  max-width: 8.75rem;
  flex-shrink: 0;
  line-height: 1.1;
}

.site-brand__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent-hover);
  text-transform: uppercase;
}

.site-brand__eyebrow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1.25;
}

.site-brand__line {
  display: block;
  white-space: nowrap;
}

.site-nav {
  display: none;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  justify-content: flex-start;
  overflow: visible;
  gap: 0;
  margin-right: 0;
  padding-right: 0;
}

.site-header__quiz {
  display: none;
  flex: 0 0 auto;
  align-self: stretch;
  white-space: nowrap;
  padding: 0 1.15rem;
  border: 0;
  border-radius: 0;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

.site-header__quiz:hover,
.site-header__quiz:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.site-nav a,
.header-nav a,
.header-nav__link {
  display: block;
  padding: 0.35rem 0.55rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 8px;
  white-space: nowrap;
  line-height: 1.2;
}

.site-header__bar .header-nav > .header-nav__item > a,
.site-header__bar .header-nav > .header-nav__item > .header-nav__link {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 1.15rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0;
  line-height: 1;
}

.site-nav a:hover,
.header-nav a:hover,
.header-nav__link:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.site-header__bar .header-nav > .header-nav__item > a:hover,
.site-header__bar .header-nav > .header-nav__item > .header-nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.site-header__bar .header-nav,
.site-header__bar .header-nav > div {
  height: 100%;
  align-items: stretch;
  gap: 0;
}

.site-header__bar .site-nav,
.site-header__bar .header-nav__item {
  height: 100%;
  align-items: stretch;
}

.header-nav,
.header-nav > div {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: nowrap;
}

.header-nav__item {
  position: relative;
  list-style: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header:has(.header-nav__item.is-open) {
  pointer-events: auto;
}

.header-nav__item--has-dropdown > .header-nav__link {
  display: inline-flex;
  align-items: center;
}

.header-nav__dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 120;
  min-width: min(420px, calc(100vw - 2rem));
  max-width: min(520px, calc(100vw - 2rem));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.site-nav .header-nav__item--has-dropdown {
  position: static;
}

.site-nav .header-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  min-width: 0;
  max-width: none;
  padding-top: 0;
}

.site-header__bar .header-nav__dropdown-item,
.site-header__bar .header-nav__dropdown a {
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  height: auto;
  display: flex;
  align-items: center;
  white-space: normal;
}

.site-header__bar .header-nav__dropdown-item:hover,
.site-header__bar .header-nav__dropdown a:hover {
  color: var(--accent-hover);
  background: var(--accent-soft);
}

.site-nav .header-nav__dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -48px;
  height: 48px;
}

.header-nav__item.is-open > .header-nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.header-nav__dropdown-wrp {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  padding: 1rem 1.1rem 1.15rem;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-height: min(70vh, 560px);
  overflow: auto;
}

@media (min-width: 720px) {
  .header-nav__dropdown-wrp {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }
}

@media (min-width: 1100px) {
  .site-nav .header-nav__dropdown-wrp {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.2rem 0.75rem;
    padding: 1.15rem 1.25rem 1.25rem;
  }
}

.header-nav__dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  white-space: normal;
  line-height: 1.35;
}

.header-nav__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(87, 151, 197, 0.12);
  color: var(--accent-hover);
}

.header-nav__ico svg {
  width: 1rem;
  height: 1rem;
}

.header-nav__dropdown-label {
  min-width: 0;
}

.header-nav__dropdown-item:hover,
.header-nav__dropdown-item:focus {
  color: var(--accent-hover);
  background: var(--accent-soft);
}

.header-nav__dropdown-item--bold {
  color: var(--text);
  font-weight: 700;
}

.header-nav__dropdown-item--not-click {
  pointer-events: none;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding-top: 0.75rem;
  padding-bottom: 0.35rem;
}

.header-nav .sub-menu,
.header-nav__sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.header-nav li:hover > .sub-menu,
.header-nav__item:hover > .header-nav__sub {
  display: block;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 0 0 auto;
  margin-left: auto;
  padding-left: 0;
  border-left: 0;
  z-index: 3;
  background: transparent;
}

.site-header__phones {
  display: none;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.15rem;
  min-width: 0;
}

.site-header__phones a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  font-size: 0.78rem;
  line-height: 1.2;
  color: var(--text);
  white-space: nowrap;
}

.site-header__phone-num {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-header__phone-place {
  color: var(--text-dim);
  font-size: 0.68rem;
  font-weight: 500;
}

.site-header__callback {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  height: 42px;
  padding: 0 1.15rem;
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
}

.site-header__cart.icon-btn {
  display: none;
}

.header-tool {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent-hover);
}

.header-tool:hover,
.header-tool:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.header-tool--max {
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.header-tool--max:hover,
.header-tool--max:focus-visible {
  border: 0;
  background: transparent;
  color: inherit;
  opacity: 0.88;
}

.header-tool--max img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: cover;
  object-position: center;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  position: relative;
}

.icon-btn svg {
  display: block;
  flex-shrink: 0;
}

.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-count.is-empty {
  display: none;
}

.burger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.burger span {
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-visible-h) 0 0 0;
  z-index: 99;
  background: rgba(245, 247, 250, 0.98);
  backdrop-filter: blur(18px);
  padding: 1.5rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  overflow: auto;
}

.mobile-nav.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mobile-nav .header-nav,
.mobile-nav .header-nav > div {
  flex-direction: column;
  align-items: stretch;
  flex-wrap: wrap;
  white-space: normal;
}

.mobile-nav .header-nav__link,
.mobile-nav .header-nav a {
  white-space: normal;
}

.mobile-nav a {
  padding: 0.85rem 1rem 0.85rem 1.05rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
}

.mobile-nav .btn {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: 0.85rem 1.4rem;
  border-bottom: 0;
  width: fit-content;
}

.mobile-nav .sub-menu,
.mobile-nav .header-nav__sub,
.mobile-nav .header-nav__dropdown {
  display: none;
  position: static;
  min-width: 0;
  width: 100%;
  max-width: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  max-height: none;
  overflow: visible;
  transition: none;
}

.mobile-nav .header-nav__item.is-open > .header-nav__dropdown {
  display: block;
}

.mobile-nav .header-nav__dropdown-wrp {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0.25rem 0 0.5rem 0.75rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  max-height: none;
  overflow: visible;
}

.mobile-nav .header-nav__dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 1rem 0.7rem 1.05rem;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}

.mobile-nav .header-nav__ico {
  margin-right: 0;
}

.mobile-nav .header-nav__dropdown-label {
  padding-left: 0;
}

.mobile-nav .header-nav__item--has-dropdown > .header-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-left: 1.05rem;
  padding-right: 0.95rem;
}

.mobile-nav .header-nav__item--has-dropdown > .header-nav__link::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  box-sizing: border-box;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.55;
  margin-top: 0;
  margin-right: 0.15rem;
}

.mobile-nav .header-nav__item.is-open > .header-nav__link::after {
  transform: rotate(45deg);
  margin-top: -0.2rem;
}

.mobile-nav__contacts {
  display: grid;
  gap: 0;
  margin-top: 1.25rem;
  padding-top: 0.5rem;
}

.mobile-nav__phone {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mobile-nav__phone-num {
  font-weight: 700;
}

.mobile-nav__phone-place {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 600;
}

.mobile-nav__contacts .btn {
  margin-top: 0.85rem;
  width: 100%;
}

@media (min-width: 1100px) {
  .site-header__mid {
    display: flex;
  }
  .site-header__lead {
    display: block;
  }
  .site-header__bar {
    display: block;
  }
  .site-nav {
    display: flex;
  }
  .site-header__phones {
    display: flex;
  }
  .site-header__quiz {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .site-header__cart.icon-btn {
    display: inline-flex;
  }
  .header-tool {
    display: none;
  }
  .header-tool--max {
    display: inline-flex;
  }
  .burger {
    display: none;
  }
  .mobile-nav {
    display: none;
  }
}

@media (min-width: 1241px) {
  .site-header__callback {
    display: inline-flex;
  }
}

@media (min-width: 1100px) and (max-width: 1360px) {
  .site-header__deal {
    font-size: 0.78rem;
  }

  .site-header__lead {
    font-size: 0.7rem;
    max-width: 17rem;
  }

  .site-header__bar .header-nav > .header-nav__item > a,
  .site-header__bar .header-nav > .header-nav__item > .header-nav__link,
  .site-header__quiz {
    font-size: 0.72rem;
    padding: 0 0.85rem;
  }

  .site-nav {
    margin-right: 0;
  }

  .site-header__actions {
    padding-left: 0;
    gap: 0.65rem;
  }

  .site-header__callback {
    padding: 0 0.65rem;
    font-size: 0.74rem;
    min-height: 36px;
    height: 36px;
  }

  .site-header__phone-place {
    display: none;
  }

  .site-header__phones {
    gap: 0.1rem;
  }

  .site-header__phone-num {
    font-size: 0.74rem;
  }
}

@media (min-width: 1280px) {
  .site-header__lead {
    display: none;
  }

  .site-header__deal {
    font-size: 1.05rem;
  }
}

@media (min-width: 1100px) and (max-width: 1279px) {
  .site-header__lead {
    display: none;
  }

  .site-header__deal {
    display: none;
  }

  .site-brand {
    min-width: 7.5rem;
    max-width: 7.5rem;
  }

  .site-brand__name {
    font-size: 1rem;
  }

  .site-header__callback {
    display: none;
  }
}

@media (min-width: 1100px) {
  .site-header__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
  }

  .site-header__mid,
  .site-header__actions {
    display: contents;
  }

  .site-header__lead {
    display: none;
  }

  .site-brand {
    order: 1;
  }

  .site-header .ya-rating {
    order: 2;
  }

  .site-header__deal {
    order: 3;
  }

  .site-header__phones {
    order: 4;
  }

  .site-header__callback {
    order: 5;
  }

  .site-header .header-tool--max {
    order: 6;
  }

  .site-header__cart {
    order: 7;
  }
}

@media (min-width: 1361px) {
  .site-header__bar .header-nav > .header-nav__item > a,
  .site-header__bar .header-nav > .header-nav__item > .header-nav__link,
  .site-header__quiz {
    font-size: 0.8rem;
    padding: 0 1.15rem;
  }

  .site-header__phones {
    display: contents;
  }

  .site-header__phones a:first-of-type {
    order: 4;
  }

  .site-header__phones a:last-of-type {
    order: 5;
  }

  .site-header__callback {
    order: 6;
  }

  .site-header .header-tool--max {
    order: 7;
  }

  .site-header__cart {
    order: 8;
  }
}

@media (max-width: 1099px) {
  :root {
    --header-h: 64px;
    --header-top-h: 64px;
    --header-bar-h: 0px;
  }

  body.has-promo-banner {
    --header-promo-h: 38px;
    --header-h: 102px;
  }

  .promo-banner__inner {
    justify-content: center;
    gap: 0.55rem;
    width: min(100% - 1.5rem, var(--container));
  }

  .promo-banner__text {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    text-align: center;
  }

  .promo-banner__text--full {
    display: none;
  }

  .promo-banner__text--short {
    display: inline;
  }

  .promo-banner__more {
    display: none;
  }

  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
    height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    overflow: hidden;
  }

  .site-header__top-inner {
    gap: 0.65rem;
  }

  .site-brand {
    min-width: 0;
    max-width: none;
    flex: 1 1 auto;
  }

  .site-brand__name {
    font-size: 1.05rem;
    letter-spacing: 0.05em;
  }

  .site-brand__eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .site-header__actions {
    gap: 0.4rem;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    background: transparent;
  }

  .header-tool--phone,
  .header-tool--max {
    display: inline-flex;
  }

  .site-header__cart.icon-btn {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 12px;
    padding: 0;
    line-height: 0;
    align-items: center;
    justify-content: center;
  }

  .site-header__cart .cart-count {
    top: 1px;
    right: 1px;
    min-width: 16px;
    height: 16px;
    font-size: 0.62rem;
  }

  .burger {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .mobile-nav {
    inset: var(--header-visible-h) 0 0 0;
    padding: 0.85rem 1.45rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    overscroll-behavior: contain;
  }

  .main {
    padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  }

  .breadcrumbs-bar {
    padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 0.7rem);
  }
}

body.nav-open {
  overflow: hidden;
}

/* Legacy header class bridge */
.header {
  display: none;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 0;
  height: auto;
  display: block;
  padding: 1.55rem 0 0;
  isolation: isolate;
  background: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #fff;
}

.hero__glow {
  display: none;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  background: rgba(87, 151, 197, 0.16);
  border: 1px solid rgba(87, 151, 197, 0.38);
  color: var(--accent-hover);
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.hero__title {
  max-width: 17ch;
  font-family: var(--font);
  font-size: clamp(2.08rem, 3.95vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 1rem;
  color: var(--text);
}

.hero__kicker {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.52em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.hero__title-main,
.hero__title-place {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero__lead {
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.12rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.4rem;
  margin: 1.4rem 0 0;
  padding-top: 0;
}

.hero__catalog-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-hover);
  text-decoration: none;
}

.hero__catalog-link:hover,
.hero__catalog-link:focus-visible {
  text-decoration: underline;
}

.btn--hero {
  min-height: 60px;
  padding: 1.05rem 1.95rem;
  font-family: var(--font);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  border-width: 2px;
}

.btn--primary.btn--hero {
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(49, 109, 163, 0.32);
}

.btn--ghost.btn--hero {
  border-width: 2px;
  background: rgba(255, 255, 255, 0.72);
}

.hero__cta-note {
  display: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.hero__left {
  padding-top: 0;
  padding-bottom: 0.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-photo {
  display: none;
}

.hero__right {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.hero-ritual.btn--hero {
  width: 100%;
  max-width: 28rem;
  min-height: 5.35rem;
  margin: 0;
  padding: 1.4rem 2.15rem;
  justify-content: center;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  border-width: 3px;
  background:
    linear-gradient(135deg, rgba(87, 151, 197, 0.16), rgba(255, 255, 255, 0.92) 58%),
    var(--surface);
  border-color: rgba(49, 109, 163, 0.55);
  color: var(--text);
  box-shadow: 0 14px 32px rgba(49, 109, 163, 0.18);
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(16.5rem, 0.85fr);
    gap: 2rem;
    align-items: center;
  }
}

.hero__bottom-row {
  margin-top: 1.05rem;
  background: rgba(255, 255, 255, 0.72);
  border: 0;
  border-top: 1px solid rgba(49, 109, 163, 0.12);
}

.hero__bottom-inner {
  padding: 0.75rem 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.hero__bottom-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1.25rem;
  min-height: 100%;
}

.hero__bottom-item + .hero__bottom-item {
  border-left: 1px solid rgba(87, 151, 197, 0.22);
}

.hero__bottom-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(87, 151, 197, 0.35);
  color: var(--accent-hover);
}

.hero__bottom-icon svg {
  width: 20px;
  height: 20px;
}

.hero__bottom-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.2;
}

.hero__bottom-text {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

/* Old welcome bridge */
.welcome {
  display: none;
}

/* ========== Sections ========== */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section + .section {
  padding-top: 0;
}

.section--tight {
  padding: 3rem 0;
}

.section--after-hero {
  padding-top: 2.4rem;
  padding-bottom: 2.25rem;
}

.section--after-hero + .section {
  padding-top: 2.25rem;
}

.section--after-hero .section__head {
  margin-bottom: 1.1rem;
}

.section--after-hero .section-title {
  margin-bottom: 0;
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section__head .section-title {
  margin-bottom: 0;
}

.section__lead {
  max-width: 36rem;
  color: var(--text-muted);
}

/* Soft scroll reveal — disabled: blocks stayed invisible on some viewports */
.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.hits-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .hits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hit-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.hit-card__cover {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hit-card__actions,
.hit-card__title {
  position: relative;
  z-index: 2;
}

.hit-card .card-slider__btn {
  z-index: 6;
}

.hit-card:hover {
  border-color: rgba(87, 151, 197, 0.45);
  transform: translateY(-3px);
}

.hit-card__media {
  aspect-ratio: 1 / 1;
  background-color: #eef3f8;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-bottom: 1px solid var(--border);
}

.hit-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.hit-card__title {
  display: block;
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: inherit;
  text-decoration: none;
}

.hit-card__size,
.product-card__size {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.hit-card__size-value,
.product-card__size-value {
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.hit-card__note {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.hit-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.card-slider {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #eef3f8;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.card-slider__track {
  position: absolute;
  inset: 0;
}

@keyframes vmk-nudge-next {
  0%, 100% { transform: translateX(0); }
  40% { transform: translateX(-12px); }
}

@keyframes vmk-nudge-prev {
  0%, 100% { transform: translateX(0); }
  40% { transform: translateX(12px); }
}

.card-slider.is-nudge-next .card-slider__track {
  animation: vmk-nudge-next 0.3s var(--ease);
}

.card-slider.is-nudge-prev .card-slider__track {
  animation: vmk-nudge-prev 0.3s var(--ease);
}

.card-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 0.25s var(--ease);
}

.card-slider__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.card-slider__slide--empty {
  background: #dfeef9;
  box-shadow: inset 0 0 0 2px rgba(49, 109, 163, 0.8);
}

.card-slider__btn {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(49, 109, 163, 0.4);
  background: #fff;
  box-shadow: 0 4px 14px rgba(49, 109, 163, 0.22);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.card-slider__btn::after {
  content: "";
  width: 8px;
  height: 8px;
  box-sizing: border-box;
  border-right: 2px solid var(--accent-hover);
  border-bottom: 2px solid var(--accent-hover);
}

.card-slider__btn--prev {
  left: 8px;
  right: auto;
}

.card-slider__btn--prev::after {
  transform: rotate(135deg);
  margin-left: 2px;
}

.card-slider__btn--next {
  left: auto;
  right: 8px;
}

.card-slider__btn--next::after {
  transform: rotate(-45deg);
  margin-right: 2px;
}

.card-slider--single .card-slider__btn,
.products--catalog .card-slider__btn,
#products .product-card .card-slider__btn {
  display: none;
}

.catalog-toolbar {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 0.5rem;
}

.catalog-group .h4 {
  margin: 2rem 0 1.25rem;
}

.catalog-group:first-of-type .h4 {
  margin-top: 1.15rem;
}

.catalog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.catalog-sort {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.55rem;
}

.catalog-sort__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-width: 0;
  flex: 1 1 auto;
}

.catalog-tags__item,
.catalog-sort__item {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.catalog-tags__item:hover,
.catalog-sort__item:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.catalog-tags__item.is-active,
.catalog-sort__item.is-active {
  border-color: var(--accent);
  color: var(--accent-hover);
  background: var(--accent-soft);
}

.catalog-sort__label {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 0;
  padding-top: 0.5rem;
  line-height: 1.2;
  white-space: nowrap;
  flex: 0 0 auto;
}

@media (max-width: 719px) {
  .catalog-sort {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  .catalog-sort .catalog-sort__label {
    padding-top: 0;
  }

  .catalog-tags,
  .catalog-sort__chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
    width: 100%;
  }

  .catalog-toolbar .catalog-tags__item,
  .catalog-toolbar .catalog-sort__item {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    padding: 0.45rem 0.4rem;
    font-size: 0.8rem;
  }
}

.product-card__price-label {
  display: block;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none !important;
}

.price-stack {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  width: 100%;
}

.price-stack__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.55rem;
  width: 100%;
}

.price-stack__label {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.25;
}

.price-stack__value {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.price-stack__row--turnkey {
  margin-top: 0.12rem;
  padding-top: 0.38rem;
  border-top: 1px solid var(--border);
}

.price-stack__row--turnkey .price-stack__label,
.price-stack__row--turnkey .price-stack__value {
  color: var(--text);
  font-weight: 800;
}

.price-stack__row--turnkey .price-stack__value {
  font-size: 1.05rem;
}

.product-detail__content-item--price .price-stack {
  gap: 0.4rem;
}

.product-prices .price-stack {
  gap: 0.45rem;
  margin: 0.15rem 0 0.7rem;
}

.product-detail .price-includes {
  grid-template-columns: 1fr;
  margin: 1rem 0 0;
}

.products__item.is-hidden,
.products__item.is-hidden-tag,
.products__item.is-hidden-filter {
  display: none;
}

/* ========== Product cards ========== */
.products-catalog__item {
  padding: 0;
}

.price-includes,
.products__desc-wrp {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

@media (min-width: 800px) {
  .price-includes,
  .products__desc-wrp {
    grid-template-columns: 1.35fr 1fr;
    align-items: stretch;
  }
}

.price-includes__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.1rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
}

.price-includes__card--note {
  background:
    linear-gradient(135deg, rgba(87, 151, 197, 0.12), transparent 60%),
    var(--surface);
  border-color: rgba(87, 151, 197, 0.35);
  justify-content: center;
}

.price-includes__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-hover);
}

.price-includes__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.price-includes__chips li {
  margin: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(87, 151, 197, 0.1);
  border: 1px solid rgba(87, 151, 197, 0.22);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

.price-includes__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.price-includes__text strong {
  color: var(--text);
  font-weight: 700;
}

/* legacy markup fallback */
.products__desc-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  color: var(--text-muted);
}

.products__desc-item ul {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.products__desc-item li {
  position: static;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(87, 151, 197, 0.1);
  border: 1px solid rgba(87, 151, 197, 0.22);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

.products__desc-item li::before {
  content: none;
}

.products__items-wrp,
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .products__items-wrp,
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.products__item,
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 100%;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.products__item:hover,
.product-card:hover {
  border-color: rgba(87, 151, 197, 0.5);
  transform: translateY(-2px);
}

.product-card__cover {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.product-card__actions,
.product-card__title,
.product-card .js-add-to-cart {
  position: relative;
  z-index: 2;
}

.product-card .card-slider__btn {
  z-index: 6;
}

.products__img,
.product-card__media {
  aspect-ratio: 1 / 1;
  background-color: #eef3f8;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  padding: 0;
  border-bottom: 1px solid var(--border);
}

.product-card__media-wrap {
  position: relative;
}

.card-icons {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.3rem;
  margin: 0;
  padding: 0.45rem 0.5rem 0.55rem;
  list-style: none;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(245, 247, 250, 0.96) 42%);
}

.card-icons__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-width: 0;
}

.card-icons__ico {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(87, 151, 197, 0.35);
  color: var(--accent-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(49, 109, 163, 0.12);
}

.card-icons__ico svg {
  width: 15px;
  height: 15px;
  display: block;
}

.card-icons__label {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.15;
  text-align: center;
}

.veterans-samples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.25rem 0;
}

@media (min-width: 900px) {
  .veterans-samples {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.veterans-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.product-after {
  padding: 2rem 0 4rem;
}

.product-after__block {
  margin-bottom: 2.5rem;
}

.product-extras {
  padding: 1.5rem 0 3rem;
}

.why-us {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 2rem;
}

@media (min-width: 800px) {
  .why-us {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.why-us__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: #e7f3ff;
  border: 1px solid rgba(87, 151, 197, 0.22);
  border-radius: var(--radius);
}

.why-us__title {
  font-weight: 800;
  color: var(--text);
}

.why-us__text {
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.consult-band {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

@media (min-width: 800px) {
  .consult-band {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.consult-band__title {
  margin: 0 0 0.35rem;
  font-family: var(--font);
  font-size: 1.45rem;
  font-weight: 700;
}

.consult-band__text {
  margin: 0;
  color: var(--text-muted);
}

.consult-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.offer-banner {
  padding: 1.35rem 0 0;
  background: #fff;
}

.offer-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  padding: 1.05rem 1.25rem;
  border-radius: var(--radius);
  background: #e7f3ff;
  border: 1px solid rgba(87, 151, 197, 0.28);
}

.offer-banner__copy {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.offer-banner__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #fff;
  color: var(--accent-hover);
}

.offer-banner__title {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

.offer-banner__more {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 719px) {
  .offer-banner__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.05rem;
  }

  .offer-banner__copy {
    align-items: flex-start;
  }

  .offer-banner__title {
    min-width: 0;
  }

  .offer-banner__more {
    width: 100%;
    justify-content: center;
  }
}

.veterans-promo {
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: #e7f3ff;
  border: 1px solid rgba(87, 151, 197, 0.28);
}

.veterans-promo__title {
  margin: 0 0 0.6rem;
  font-family: var(--font);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
}

.veterans-promo p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.product-card__body {
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.product-card .product-card__price,
.product-card .products__price {
  padding-left: 0;
  padding-right: 0;
}

.products__price,
.product-card__price,
.hit-card__price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0 1rem;
  margin-top: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.05rem;
}

.hit-card__price {
  padding: 0;
  margin-top: auto;
}

.products__price del,
.products__price > span:not(.product-card__price-label),
.product-card__price del,
.product-card__old,
.hit-card__price del {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.82rem;
  text-decoration: line-through;
}

.product-card__current,
.hit-card__price strong {
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.hit-card__price strong {
  font-size: 1.35rem;
}

.products__link {
  display: block;
  color: var(--text);
}

.product-card__title,
.hit-card__title {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.product-card__title {
  display: block;
  padding: 0.35rem 0 0;
  color: var(--text);
}

.products__link span {
  position: relative;
  z-index: 2;
}

.product-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.85rem 0 0;
  width: 100%;
  justify-items: stretch;
}

.product-card__actions .btn {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  white-space: nowrap;
  justify-content: center;
  padding-left: 0.45rem;
  padding-right: 0.45rem;
  letter-spacing: 0.01em;
}

.products__button,
.products__button-wrp a,
.reviews__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0 0;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  width: fit-content;
  cursor: pointer;
}

.products__button:hover,
.reviews__button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.products__items-wrp--jobs .products__button {
  grid-column: 1 / -1;
  justify-self: start;
  margin: 1.5rem 0 0;
}

.catalog-spec {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
}

.catalog-spec__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 0.65rem;
}

.catalog-spec__row .catalog-sort__label {
  margin: 0;
  padding-top: 0.42rem;
  line-height: 1.2;
  white-space: nowrap;
}

.catalog-spec__chips {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.5rem;
  min-width: 0;
}

.catalog-spec .catalog-tags__item {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  padding: 0.38rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 719px) {
  .catalog-spec {
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .catalog-spec__row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }

  .catalog-spec__row .catalog-sort__label {
    padding-top: 0;
  }

  .catalog-spec__chips {
    gap: 0.35rem;
  }

  .catalog-spec .catalog-tags__item {
    padding: 0.32rem 0.7rem;
    font-size: 0.8rem;
  }
}

.products__tabs {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.products__tabs-wrp {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.products__tabs-header {
  width: 100%;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
}

.products__tabs-item {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  background: var(--surface);
}

.products__tabs-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.products__tabs-item.is-active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.products__item.is-hidden {
  display: none;
}

/* ========== Memorials / blog cards ========== */
.memorials {
  padding: 4.5rem 0;
}

.section + .memorials,
.memorials + .section {
  padding-top: 0;
}

.memorials__desc {
  color: var(--text-muted);
  margin: -0.5rem 0 1.75rem;
}

.memorials__items-wrp {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 900px) {
  .memorials__items-wrp {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 1.15rem;
  }

  .hero__bottom-inner {
    grid-template-columns: 1fr;
  }

  .hero__bottom-item {
    padding-inline: 0.2rem;
  }

  .hero__bottom-item + .hero__bottom-item {
    border-left: 0;
    border-top: 1px solid rgba(87, 151, 197, 0.22);
  }

  .hero__bottom-row {
    margin-top: 0.95rem;
  }
}

.memorials__item {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 0;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.memorials__item:hover {
  border-color: rgba(87, 151, 197, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.memorials__media {
  display: block;
  overflow: hidden;
}

.memorials__img {
  display: block;
  aspect-ratio: 16 / 11;
  background: #e8eef4 center / cover no-repeat;
  transition: transform 0.5s var(--ease);
}

.memorials__item:hover .memorials__img {
  transform: scale(1.04);
}

.memorials__body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.memorials__text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.memorials__link {
  margin-top: auto;
  width: fit-content;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 700;
  border: 0;
}

.memorials__link:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

/* ========== Advantages / reasons ========== */
.advantages {
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f0f5fa 100%);
}

.advantages__cloud {
  display: none;
}

.advantages__item-wrp {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .advantages__item-wrp {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .advantages__item-wrp {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.reason-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.25rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 100%;
  box-shadow: 0 8px 24px rgba(49, 109, 163, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.reason-card:hover {
  transform: translateY(-3px);
  border-color: rgba(87, 151, 197, 0.45);
  border-left-color: var(--accent-hover);
  box-shadow: var(--shadow);
}

.reason-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.reason-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: rgba(87, 151, 197, 0.1);
  color: var(--accent-hover);
  flex-shrink: 0;
}

.reason-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.reason-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: rgba(87, 151, 197, 0.12);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent-hover);
  letter-spacing: 0.04em;
  line-height: 1;
}

.reason-card__title {
  margin: 0;
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.reason-card__more {
  margin-top: auto;
  width: fit-content;
  color: var(--accent-hover);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reason-card__more:hover {
  color: var(--accent);
}

/* legacy advantages classes kept for safety */
.advantages__item {
  display: none;
}

/* ========== Sales / reviews ========== */
.sales__item-wrp {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .sales__item-wrp {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sales__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.sales__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100%;
}

@media (min-width: 560px) {
  .sales__item {
    grid-template-columns: minmax(240px, 0.95fr) 1.15fr;
    min-height: 240px;
  }
}

@media (min-width: 800px) {
  .sales__item:last-child:nth-child(odd) {
    grid-template-columns: minmax(280px, 0.7fr) 1.3fr;
    min-height: 260px;
  }
}

.sales__media {
  position: relative;
  min-height: 200px;
  height: 100%;
  align-self: stretch;
  overflow: hidden;
  background: #eef3f8;
  border-radius: var(--radius) var(--radius) 0 0;
}

.sales__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sales__media--social img {
  object-position: 22% 50%;
}

@media (min-width: 560px) {
  .sales__media {
    min-height: 100%;
    border-radius: var(--radius) 0 0 var(--radius);
  }

  .sales__media img {
    position: absolute;
    inset: 0;
  }
}

.sales__body {
  padding: 1.15rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
}

.sales__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.sales__subtitle {
  color: var(--text-muted);
}

.reviews {
  padding: 4.5rem 0;
}

.section + .reviews,
.reviews + .section {
  padding-top: 0;
}

.reviews__items-wrp {
  display: grid;
  gap: 1rem;
  align-items: start;
}

@media (min-width: 900px) {
  .reviews__items-wrp {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.reviews__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: auto;
  min-height: 0;
  align-self: start;
}

.reviews__date {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.reviews__text {
  color: var(--text-muted);
  flex: 0 0 auto;
  line-height: 1.55;
}

.reviews__details {
  margin: 0;
}

.reviews__details summary {
  list-style: none;
  cursor: pointer;
}

.reviews__details summary::-webkit-details-marker {
  display: none;
}

.reviews__excerpt {
  display: block;
}

.reviews__more {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--accent-hover);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.reviews__more--close {
  display: none;
}

.reviews__details[open] .reviews__excerpt,
.reviews__details[open] .reviews__more--open {
  display: none;
}

.reviews__details[open] .reviews__more--close {
  display: inline-block;
  margin-bottom: 0.55rem;
}

.reviews__full {
  margin-top: 0.15rem;
}

.reviews__img {
  aspect-ratio: 16/10;
  border-radius: var(--radius-sm);
  background: center / cover no-repeat;
}

.reviews__names {
  font-weight: 600;
}

.reviews__button-wrp {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.5rem;
}

.reviews__button-wrp .reviews__button {
  margin: 0;
}

/* ========== CTA band ========== */
.cta-band {
  margin: 0;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(87, 151, 197, 0.4);
  background:
    radial-gradient(circle at 85% 20%, rgba(87, 151, 197, 0.18), transparent 40%),
    var(--gradient-soft);
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 800px) {
  .cta-band {
    grid-template-columns: 200px 1fr auto;
    min-height: 200px;
  }
}

.cta-band__media {
  min-height: 180px;
  overflow: hidden;
}

.cta-band__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

@media (min-width: 800px) {
  .cta-band__media img {
    position: absolute;
    inset: 0;
  }

  .cta-band__media {
    position: relative;
    min-height: 100%;
  }
}

.cta-band__copy {
  padding: 1.5rem 1.5rem 0.5rem;
}

@media (min-width: 800px) {
  .cta-band__copy {
    padding: 2rem 1.25rem 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  padding: 0 1.5rem 1.5rem;
}

@media (min-width: 800px) {
  .cta-band__actions {
    padding: 2rem 1.75rem 2rem 0.5rem;
  }
}

.cta-band__title {
  font-family: var(--font);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.4rem;
}

.cta-band--compact {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  gap: 1.15rem;
  padding: 1.35rem 1.4rem;
  margin-top: 2.5rem;
}

@media (min-width: 800px) {
  .cta-band--compact {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
  }
}

.cta-band--compact .cta-band__title {
  font-size: 1.45rem;
}

.cta-band--compact .btn {
  width: auto;
  max-width: 280px;
  min-width: 12rem;
  justify-self: start;
  align-self: center;
  white-space: nowrap;
}

.cta-band__text {
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0;
}

/* ========== Product detail ========== */
.product-detail {
  padding: 1rem 0 4rem;
}

.product-detail__items-wrp {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .product-detail__items-wrp {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: start;
  }
}

.product-detail__item-wrp--img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.product-detail__img {
  display: block;
  aspect-ratio: 1 / 1;
  background-color: #eef3f8;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.product-detail__item-wrp--content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.product-detail__content-header {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.product-detail__content-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.product-detail__content-subtitle {
  color: var(--text-muted);
}

.product-detail__content-item--price .product-detail__content-text {
  text-align: right;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.35rem;
}

.product-detail__content-item--price .product-detail__old {
  display: block;
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: line-through;
}

.product-detail__item-wrp--img .card-slider {
  border-bottom: 0;
}

.card-slider a.card-slider__slide {
  display: block;
  text-decoration: none;
}

.product-detail__actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.product-detail__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  margin-top: 1.25rem;
}

.product-detail__actions .product-detail__button {
  margin-top: 0;
}

.product-detail__button:hover {
  background: var(--accent-hover);
  color: #fff;
}

.product-detail__desc {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
}

.product-detail__desc > span,
.product-detail__desc-title {
  display: block;
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.product-perks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 1.5rem 0 0;
}

@media (min-width: 640px) {
  .product-perks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .product-perks {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

.product-perks__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 0.85rem 0.95rem;
  background: #e7f3ff;
  border: 1px solid rgba(87, 151, 197, 0.22);
  border-radius: var(--radius);
  min-height: 4.5rem;
}

.product-perks__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.2;
}

.product-perks__text {
  margin-top: 0.15rem;
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.35;
}

.product-prices {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.35rem;
}

@media (min-width: 800px) {
  .product-prices {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.product-prices__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.1rem 1.2rem 1.2rem;
}

.product-prices__card--key {
  background:
    linear-gradient(135deg, rgba(87, 151, 197, 0.12), transparent 60%),
    var(--surface);
  border-color: rgba(87, 151, 197, 0.35);
}

.product-prices__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-hover);
}

.product-prices__value {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  color: var(--accent);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
}

.product-prices__old {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: line-through;
}

.product-prices__note {
  margin: 0.55rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.product-prices__includes {
  margin-top: 0.85rem;
}

.cost-pack {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.cost-pack .icon-list {
  margin-top: 0.2rem;
}

.cost-pack__title {
  margin: 0.95rem 0 0;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 800;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.cost-pack__total,
.cost-pack__turnkey {
  margin: 0.35rem 0 0.15rem;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 800;
  font-style: normal;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

.cost-pack__total strong,
.cost-pack__total em,
.cost-pack__total i,
.cost-pack__turnkey strong,
.cost-pack__turnkey em,
.cost-pack__turnkey i {
  font-family: inherit;
  font-size: inherit;
  font-weight: 800;
  font-style: normal;
  letter-spacing: inherit;
  color: inherit;
}

.icon-list,
.product-detail__desc .entry-content ul,
.product-detail__desc .entry-content ol {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.icon-list li,
.product-detail__desc .entry-content li {
  position: relative;
  margin: 0;
  padding: 0.2rem 0;
  color: var(--text);
  line-height: 1.45;
}

.icon-list li::before,
.product-detail__desc .entry-content li::before,
.icon-list li::after,
.product-detail__desc .entry-content li::after {
  content: none;
}

.icon-list__item,
.product-detail__desc .entry-content li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding-left: 0;
}

.icon-list__ico {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: rgba(87, 151, 197, 0.16);
  border: 1px solid rgba(87, 151, 197, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-hover);
}

.icon-list__ico svg {
  width: 0.78rem;
  height: 0.78rem;
  display: block;
}

.icon-list__text {
  flex: 1;
  min-width: 0;
}

.veterans-sizes {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  max-width: 40rem;
  margin: 0.75rem 0 1.25rem;
  padding: 1.15rem 1.25rem;
  clear: both;
  background: #fff;
  border: 1px solid rgba(87, 151, 197, 0.28);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(49, 109, 163, 0.08);
}

.veterans-sizes p,
.veterans-sizes__text {
  margin: 0;
  float: none;
}

.entry-content p:has(.veterans-extra) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.veterans-extra {
  display: none;
}

.veterans-extra__label {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.veterans-extra__value {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--accent-hover);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.vet-card {
  margin: 1.25rem 0 1.5rem;
  padding: 1.25rem;
  max-width: 40rem;
  background: #fff;
  border: 1px solid rgba(87, 151, 197, 0.28);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(49, 109, 163, 0.08);
  box-sizing: border-box;
}

.vet-card__title {
  margin: 0 0 0.75rem;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 800;
}

.vet-card__ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.vet-card__ol li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.65rem 0.95rem;
  background: #f5f8fb;
  border-radius: 8px;
  line-height: 0;
}

.vet-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  box-sizing: border-box;
}

.vet-card__label {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 24px;
  color: var(--text-muted);
}

.vet-card--info {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.vet-card--info p {
  margin: 0 0 0.7rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.vet-card--info p:last-child {
  margin-bottom: 0;
}

.entry-header {
  margin: 0 0 1.25rem;
}

.entry-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin: 0;
}

.veterans-promo__kicker {
  margin: 0 0 0.45rem;
  color: var(--accent-hover);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--text) !important;
}

/* ========== Cart page ========== */
.cart-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .cart-layout {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: start;
  }
}

.cart-list {
  display: grid;
  gap: 0.85rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cart-item__img {
  width: 88px;
  height: 110px;
  border-radius: 10px;
  background: #eef3f8 center / cover no-repeat;
}

.cart-item__title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cart-item__price {
  color: var(--accent);
  font-weight: 700;
}

.cart-item__qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.cart-item__qty button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.cart-item__remove {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.cart-summary {
  position: sticky;
  top: calc(var(--header-visible-h) + 1rem);
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.cart-summary__total {
  font-size: 1.35rem;
  color: var(--text);
  font-weight: 700;
  margin: 1rem 0 1.25rem;
}

.cart-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
}

.cart-empty__title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.cart-empty p {
  margin: 0 0 1.15rem;
}

.cart-empty .btn {
  margin-top: 0;
}

/* ========== Forms / popups ========== */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.popup-overlay.is-open,
.popup-overlay.active,
body.popup-open .popup-overlay {
  opacity: 1;
  pointer-events: auto;
}

.popup {
  width: min(100%, 460px);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  position: relative;
  box-shadow: var(--shadow);
  display: none;
}

.popup.is-active,
.popup-overlay.is-open .popup:target,
.popup.active {
  display: block;
}

.popup__close,
.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  cursor: pointer;
}

.popup__close::before,
.popup__close::after,
.popup-close::before,
.popup-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--text);
}

.popup__close::before,
.popup-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.popup__close::after,
.popup-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.popup__header,
.popup__title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
  padding-right: 2rem;
}

.popup__description,
.popup__desc {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

#popup-content.popup--scroll.is-active,
#popup-content.popup--scroll.active {
  display: flex;
  flex-direction: column;
  max-height: min(calc(100dvh - 1.25rem), 38rem);
  overflow: hidden;
}

#popup-content.popup--scroll .popup__content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

#popup-content.popup--scroll .popup__header {
  flex: 0 0 auto;
}

#popup-content.popup--scroll .popup__description {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-right: 0.7rem;
  margin-bottom: 0;
}

#popup-content.popup--scroll .popup__description::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 8px;
  height: 8px;
}

#popup-content.popup--scroll .popup__description::-webkit-scrollbar-track {
  background: #d9e5f0;
  border-radius: 99px;
}

#popup-content.popup--scroll .popup__description::-webkit-scrollbar-thumb {
  background: #4f86b8;
  border-radius: 99px;
  border: 1px solid #d9e5f0;
}

@media (max-width: 719px) {
  #popup-content.popup--scroll.is-active,
  #popup-content.popup--scroll.active {
    width: min(100%, 28rem);
    max-height: calc(100dvh - 0.5rem);
    padding: 1.05rem 0.9rem 1.1rem;
  }

  #popup-content.popup--scroll .popup__header {
    font-size: 1.28rem;
    margin-bottom: 0.45rem;
    padding-right: 2.1rem;
  }

  #popup-content.popup--scroll .popup__description {
    font-size: 0.95rem;
    line-height: 1.45;
    padding-right: 0.65rem;
  }
}

#popup-content.popup--roomy.is-active,
#popup-content.popup--roomy.active {
  max-height: calc(100dvh - 0.5rem);
  padding: 1rem 1.1rem 1.15rem;
}

#popup-content.popup--roomy .popup__header {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

#popup-content.popup--roomy .popup__description {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.42;
}

.popup__fields {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.popup__input,
.field-input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}

.popup__input::placeholder,
.field-input::placeholder {
  color: var(--text-dim);
}

.popup__consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.popup__consent-checkbox {
  margin-top: 0.2rem;
}

.popup__button {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.popup__consent a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.popup.popup--lead {
  width: min(100%, 400px);
  padding: 1.35rem 1.5rem 1.5rem;
  border: 0;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.28);
}

.popup--lead .popup__close,
.popup--lead .popup-close {
  top: 0.7rem;
  right: 0.7rem;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  border-radius: 0;
}

.popup--lead .popup__close::before,
.popup--lead .popup__close::after,
.popup--lead .popup-close::before,
.popup--lead .popup-close::after {
  width: 14px;
  height: 1.6px;
  background: #9aa3ad;
}

.popup--lead .popup__close:hover::before,
.popup--lead .popup__close:hover::after,
.popup--lead .popup-close:hover::before,
.popup--lead .popup-close:hover::after {
  background: #5c6670;
}

.popup--lead .popup__close:focus-visible,
.popup--lead .popup-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.popup-lead__art {
  width: 200px;
  height: 200px;
  margin: 0 auto 0.2rem;
}

.popup-lead__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.popup-lead__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: #e7f3ff;
  color: var(--accent-hover);
}

.popup--lead .popup__header {
  font-size: 1.38rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 0.65rem;
  padding-right: 0;
}

.popup--lead .popup__description {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.popup-lead__mark {
  color: var(--accent);
  font-weight: 700;
}

.popup-lead__label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
}

.popup-lead__phone {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.95rem;
  padding: 0 0.95rem;
  border: 1px solid #cfd6de;
  border-radius: 8px;
  background: #fff;
}

.popup-lead__phone:focus-within {
  border-color: var(--accent);
}

.popup-lead__phone-ico {
  flex: 0 0 auto;
  color: var(--accent);
}

.popup-lead__phone-input {
  border: 0;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.popup-lead__phone-input:focus {
  outline: none;
}

.popup--lead .popup__consent {
  gap: 0.55rem;
  margin-bottom: 1.05rem;
  text-align: left;
  color: #8a8a8a;
  font-size: 0.75rem;
  line-height: 1.4;
}

.popup--lead .popup__consent a {
  color: inherit;
  text-underline-offset: 0.12em;
}

.popup--lead .popup__button {
  min-height: 50px;
  border-radius: 8px;
  background: var(--accent);
  font-size: 1rem;
  letter-spacing: 0;
}

.popup--lead .popup__button:hover {
  background: var(--accent-hover);
}

@media (max-height: 720px) {
  .popup-lead__art {
    width: 132px;
    height: 132px;
    margin: 0 auto;
  }
}

.popup__list {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0;
  color: var(--text-muted);
}

.popup__list li {
  padding-left: 1rem;
  position: relative;
}

.popup__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.popup__success.hidden {
  display: none;
}

.popup.popup--img {
  width: min(100%, 440px);
  padding: 1.15rem;
}

.popup--img .popup__content {
  display: grid;
  gap: 1.15rem;
}

.popup--img .popup__close,
.popup--img .popup-close {
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
}

.popup-img__photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(68vh, 640px);
  object-fit: contain;
  border-radius: 12px;
  background: #eef3f8;
}

.popup-img__cta {
  width: 100%;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(20px);
  z-index: 300;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========== Footer ========== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: var(--bg-elevated);
  margin-top: 0;
}

.site-footer__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .site-footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.site-footer__title {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.site-footer__text,
.site-footer a:not(.btn) {
  color: var(--text-muted);
}

.site-footer .btn--primary {
  color: #fff;
}

.site-footer .btn--primary:hover {
  color: #fff;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  max-width: 720px;
}

footer:not(.site-footer) {
  display: none;
}

/* ========== Cookie / misc ========== */
.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 250;
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow);
  transform: translateY(120%);
  transition: transform 0.3s var(--ease);
}

.cookie-consent.is-visible,
.cookie-consent[aria-hidden="false"] {
  transform: none;
}

.cookie-consent__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-consent__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
  flex: 1;
}

.cookie-consent__accept {
  min-height: 42px;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.max-chat {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 90;
}

.max-chat:has(.max-chat__check:checked) {
  right: 0.85rem;
  bottom: 0.85rem;
}

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

.max-chat__hint {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #111;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  white-space: nowrap;
  cursor: pointer;
}

.max-chat__hint:hover,
.max-chat__hint:focus-visible {
  border-color: var(--accent);
  color: #111;
}

.max-chat__hint:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.max-chat__check:checked ~ .max-chat__hint {
  display: none;
}

.max-chat__panel {
  display: none;
  position: relative;
  width: min(20.5rem, calc(100vw - 1.7rem));
  padding: 1.15rem 2.4rem 1.05rem 1.05rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.max-chat__check:checked ~ .max-chat__panel {
  display: block;
}

.max-chat__close {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  color: #111;
}

.max-chat__close:hover,
.max-chat__close:focus-visible {
  background: rgba(17, 17, 17, 0.08);
}

.max-chat__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.max-chat__person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.max-chat__person img {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  flex: 0 0 auto;
}

.max-chat__person-meta strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
}

.max-chat__person-meta span {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.max-chat__text {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.max-chat__go {
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}

.button-scroll-top {
  position: fixed;
  right: 1.35rem;
  bottom: 5.35rem;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  opacity: 0.85;
}

.max-chat:has(.max-chat__check:checked) + .button-scroll-top {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 719px) {
  .max-chat__hint {
    font-size: 1.02rem;
    padding: 0.78rem 1.05rem;
  }
}

body:has(.cookie-consent[aria-hidden="false"]) .max-chat {
  bottom: 7.25rem;
}

body:has(.cookie-consent[aria-hidden="false"]) .button-scroll-top {
  bottom: 11.5rem;
}

body.popup-open .max-chat {
  visibility: hidden;
  pointer-events: none;
}

.button-scroll-top svg {
  width: 18px;
  height: 18px;
  fill: var(--text);
}

.hidden {
  display: none !important;
}

/* Contacts / generic page content */
.page-content,
.entry-content {
  color: var(--text-muted);
}

.page-content a,
.entry-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a[href^="tel:"]:not([href^="tel:+"]),
a[x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: none !important;
  pointer-events: none;
  cursor: inherit;
  font-weight: inherit;
}

.content-area {
  padding: 2rem 0 4rem;
}

/* Map / contacts leftovers */
iframe {
  border: 0;
  border-radius: var(--radius);
  max-width: 100%;
}

.ya-rating iframe,
.ya-rating__frame {
  border-radius: 0;
  max-width: none;
}

/* Animation stubs from old JS */
.animation {
  opacity: 1;
  transform: none;
}

/* Price tables on old pages */
.price {
  color: var(--text);
}

.price__block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

.price__header,
.price__item--title {
  color: var(--text);
}

.price__item--price {
  color: var(--accent);
}

/* Jobs gallery full images */
.products__item--full-img {
  min-height: 0;
  height: max-content;
  align-self: start;
}

.products__item--full-img .products__img {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  border-bottom: none;
}

.products__item--full-img .products__link {
  position: absolute;
  inset: 0;
  padding: 0;
  z-index: 2;
}

.products__item--full-img .products__img:has(.products__img-photo) {
  aspect-ratio: 4 / 5;
  background-image: none;
  display: block;
  overflow: hidden;
}

.products__item--full-img > p {
  display: none;
}

.products__img-photo {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.entry-content .products__items-wrp:has(> .products__item--full-img:first-child):has(> .products__item--full-img:nth-child(2)):not(:has(> :nth-child(3))) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.entry-content .products__item--full-img {
  height: 100%;
  align-self: stretch;
}

/* Одна картинка в статье (коллаж пород и т.п.) — на всю ширину, без обрезки подписей */
.products__items-wrp:has(> .products__item--full-img:only-child) {
  grid-template-columns: minmax(0, 1fr);
}

.products__items-wrp:has(> .products__item--full-img:only-child) .products__item--full-img {
  height: auto;
  width: 100%;
  max-width: 100%;
  align-self: start;
}

.products__items-wrp:has(> .products__item--full-img:only-child) .products__img:has(.products__img-photo) {
  aspect-ratio: auto;
  overflow: hidden;
}

.products__items-wrp:has(> .products__item--full-img:only-child) .products__img-photo {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

/* Contacts */
.contacts-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .contacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  color: var(--text-muted);
}

.contact-card p {
  margin: 0.35rem 0;
}

.contact-card a {
  color: var(--text);
}

.contact-card .text-muted,
.text-muted {
  color: var(--text-dim);
}

.contacts__block-wrp,
.contacts__item-wrp {
  margin-bottom: 1.5rem;
}

.contacts__item,
.contacts__item-contact {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.contacts__text {
  color: var(--text-muted);
}

.contacts__item-time-header {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* Contacts page / branches */
.contacts-page {
  padding-bottom: 2rem;
}

.contacts-legal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
}

.contacts-legal .h4,
.contacts-page > .h4 {
  margin-top: 0;
}

.contacts-legal__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .contacts-legal__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.contacts-legal p {
  margin: 0.35rem 0;
}

.contacts-branches {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .contacts-branches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .contacts-branches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.branch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 100%;
  height: 100%;
}

.branch-card__title {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.branch-card__phone {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.branch-card__phone a {
  color: var(--accent-hover);
}

.branch-card__meta,
.branch-card__addr,
.branch-card__time {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.branch-card__map {
  margin-top: auto;
  width: 100%;
  height: 170px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #e8eef4;
}

.branch-card__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contacts-map {
  margin-top: 1.15rem;
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #e8eef4;
}

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

.branch-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Hide legacy full-bleed map blocks if leftover markup appears */
.contacts__map-block {
  display: none !important;
}

/* Veterans / catalog content blocks */
.catalog__block-wrp {
  padding: 0.5rem 0 2rem;
}

.catalog__title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.45;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.catalog__item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-start;
}

.catalog__text {
  flex: 1 1 100%;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.catalog__text--bold {
  color: var(--text);
  font-weight: 800;
  font-size: 1.25rem;
}

.catalog__image-wrp {
  position: relative;
  flex: 1 1 calc(50% - 0.85rem);
  max-width: calc(50% - 0.45rem);
  min-height: 15rem;
}

@media (min-width: 720px) {
  .catalog__image-wrp {
    flex: 1 1 calc(25% - 0.85rem);
    max-width: calc(25% - 0.65rem);
  }
}

.catalog__image {
  position: relative;
  z-index: 0;
  aspect-ratio: 3 / 4;
  min-height: 220px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: #eef3f8;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(49, 109, 163, 0.08);
}

.entry-content .catalog {
  width: 100%;
}

.entry-content .catalog__item {
  position: relative;
  z-index: 1;
  background: transparent;
}

.entry-content .catalog__text {
  position: relative;
  z-index: 2;
  background: var(--bg, #f5f7fa);
  padding: 0.35rem 0;
}

.entry-content .catalog__text:has(.veterans-sizes) {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
}

.entry-content .catalog__image-wrp {
  position: relative;
  z-index: 0;
}

/* Nested catalog container already inside page .container */
.main--detail > .container .catalog > .container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

/* Blog article monument photos */
.memorial__content {
  padding-top: 1.5rem;
}

.memorial__text {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  line-height: 1.6;
  padding: 0.75rem 0;
  color: var(--text);
  background: transparent;
}

.memorial__text--bold {
  font-weight: 700;
}

.memorial__text p {
  margin: 0.55rem 0 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.memorial__text p:empty {
  display: none;
}

.memorial__img-wrp {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  align-items: stretch;
  justify-content: flex-start;
  clear: both;
}

.memorial__img {
  position: relative;
  flex: 1 1 240px;
  max-width: calc(33.333% - 0.7rem);
  min-width: 200px;
  height: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: #e8eef4;
  background-size: 0 0;
  box-shadow: 0 8px 22px rgba(49, 109, 163, 0.08);
}

@media (max-width: 719px) {
  .memorial__img {
    max-width: 100%;
    flex-basis: 100%;
  }
}

.memorial__img::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 3 / 4;
  background-image: inherit;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-color: #e8eef4;
}

.memorial__img-photo {
  display: none;
}

.memorial__img > p,
.memorial__img-wrp > p {
  display: none;
}

.memorial__img-name {
  position: static;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.5rem;
  margin: 0;
  padding: 0.75rem 0.9rem;
  background: var(--accent);
  pointer-events: none;
  opacity: 1;
  z-index: 2;
  box-sizing: border-box;
}

.memorial__img-name span {
  display: block;
  width: 100%;
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
}

.memorial__img[style*="memorial-6-2"]:not(:has(.memorial__img-name))::after {
  content: "Мемориальный комплекс с гранитной оградой";
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.5rem;
  margin: 0;
  padding: 0.75rem 0.9rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
  box-sizing: border-box;
}

.memorial__img-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  cursor: pointer;
}

.entry-content > p > .memorial__img-wrp,
.entry-content > p > .memorial__img {
  display: flex;
}

.entry-content .memorial__img-wrp,
.entry-content .memorial__text,
.entry-content .memorial__img {
  max-width: 100%;
}

/* ========== Quiz ========== */
.popup.popup--quiz {
  width: min(100%, 920px);
  max-width: 920px;
  min-width: 0;
  flex: 0 1 920px;
  max-height: min(92vh, 860px);
  overflow: auto;
  padding: 1.35rem 1.35rem 1.25rem;
}

.quiz {
  min-width: 0;
  width: 100%;
}

.quiz__top {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
}

.quiz__top-main {
  width: 100%;
  min-width: 0;
}

.quiz__title {
  margin: 0 0 0.35rem;
  padding-right: 2.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  max-width: 100%;
}

.quiz__progress-label {
  color: var(--text-dim);
  font-size: 0.88rem;
}

.quiz__hint {
  margin: 0.4rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  max-width: 100%;
}

.quiz__hint[hidden] {
  display: none;
}

.quiz__remain {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.35;
  white-space: normal;
  padding-top: 0;
}

.quiz__remain strong {
  color: var(--accent-hover);
  font-weight: 800;
}

.quiz__progress {
  margin: 0.85rem 0 1.25rem;
  height: 8px;
  border-radius: 999px;
  background: #e5edf5;
  overflow: hidden;
}

.quiz__progress-bar {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
  transition: width 0.35s var(--ease);
}

.quiz-options {
  display: grid;
  gap: 0.85rem;
}

.quiz-options--cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 720px) {
  .quiz-options--cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .quiz-options--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quiz-options--few {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 520px;
  }
}

.quiz-options--icons {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quiz-options--pills {
  display: block;
}

.quiz-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.quiz-pill.quiz-option {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-width: 4.4rem;
  min-height: 52px;
  padding: 0.75rem 1.15rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.quiz-pill.quiz-option.is-selected {
  background: rgba(87, 151, 197, 0.12);
}

.quiz__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
  padding: 2rem 1rem;
  gap: 0.85rem;
}

.quiz__loading[hidden] {
  display: none;
}

.quiz__spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(87, 151, 197, 0.22);
  border-top-color: var(--accent);
  animation: quiz-spin 0.8s linear infinite;
}

@keyframes quiz-spin {
  to {
    transform: rotate(360deg);
  }
}

.quiz__loading-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}

.quiz__loading-text {
  margin: 0;
  color: var(--text-muted);
}

.quiz__manager {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-top: 1.15rem;
  padding: 1rem 1.1rem;
  width: 100%;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 14px;
}

.quiz__manager img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.quiz__manager-meta {
  min-width: 0;
}

.quiz__manager strong {
  display: block;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.2;
}

.quiz__manager span {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.35;
}

@media (min-width: 800px) {
  .quiz__manager {
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    min-height: 11rem;
    padding: 1.4rem 1.15rem 1.25rem;
  }

  .quiz__manager img {
    width: 118px;
    height: 118px;
  }

  .quiz__manager strong {
    font-size: 1.32rem;
  }

  .quiz__manager span {
    font-size: 1.02rem;
    margin-top: 0.35rem;
  }
}

.quiz-input__hint {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.quiz-input__field {
  display: grid;
  gap: 0.45rem;
}

.quiz-input__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dim);
}

.quiz-input__control {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
}

.quiz-input__control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(87, 151, 197, 0.18);
}

@media (min-width: 720px) {
  .quiz-options--icons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.quiz-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.quiz-option:hover {
  border-color: rgba(87, 151, 197, 0.45);
}

.quiz-option.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(87, 151, 197, 0.2);
}

.quiz-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quiz-option__media {
  display: block;
  aspect-ratio: 1;
  border-radius: calc(var(--radius-sm) - 2px);
  overflow: hidden;
  background: #e8eef4;
  border: 1px solid var(--border);
}

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

.quiz-options--icons .quiz-option__media img {
  object-fit: contain;
  padding: 0.35rem;
}

.quiz-option__radio {
  position: static;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c5d3e0;
  background: #fff;
}

.quiz-option.is-selected .quiz-option__radio {
  border-color: var(--accent);
  background:
    radial-gradient(circle, var(--accent) 0 45%, transparent 46%),
    #fff;
}

.quiz-option__caption {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.4em;
}

.quiz-option__text {
  display: block;
  padding: 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  min-height: 0;
}

.quiz__nav {
  display: flex;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.quiz__btn {
  min-height: 46px;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.quiz__btn--ghost {
  background: #fff;
  border-color: var(--accent);
  color: var(--accent-hover);
}

.quiz__btn--ghost:hover {
  background: rgba(87, 151, 197, 0.08);
}

.quiz__btn--ghost.is-disabled,
.quiz__btn--ghost:disabled {
  opacity: 0.45;
  cursor: default;
}

.quiz__btn--primary {
  background: var(--accent);
  color: #fff;
  margin-left: auto;
}

.quiz__btn--primary:hover {
  background: var(--accent-hover);
}

.quiz__btn--primary:disabled {
  opacity: 0.45;
  cursor: default;
}

.quiz__lead-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .quiz__lead-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }
}

.quiz__lead-text {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
}

.quiz__summary {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  list-style: none;
  background: #f3f7fb;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.quiz__summary li {
  padding: 0.2rem 0;
}

.quiz__summary li + li {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.quiz__lead-aside {
  background: linear-gradient(160deg, #316da3 0%, #5797c5 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  display: flex;
  flex-direction: column;
}

.quiz__aside-title {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.quiz__aside-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.quiz__aside-list li {
  position: relative;
  padding-left: 1.2rem;
  line-height: 1.4;
  font-size: 0.95rem;
}

.quiz__aside-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

.quiz__lead .quiz-form {
  padding: 0;
}

.quiz__lead .popup__fields {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.quiz__lead .popup__button {
  width: 100%;
}

@media (max-width: 719px) {
  .quiz-options--cards,
  .quiz-options--icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiz-option__text {
    font-size: 0.82rem;
  }
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 719px) {
  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .home-rating .container {
    width: 100%;
  }

  h1 {
    font-size: 1.55rem;
  }

  h2,
  .h3,
  h1.h3,
  .section-title {
    font-size: 1.45rem;
    margin-bottom: 1rem;
    line-height: 1.22;
  }

  h4,
  .h4 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.85rem;
  }

  .consult-band__title,
  .veterans-promo__title {
    font-size: 1.2rem;
  }

  .product-detail__desc-title,
  .product-detail__desc > span {
    font-size: 1.2rem;
  }

  .hero {
    padding-top: 1.1rem;
  }

  .hero__tag {
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.82rem;
  }

  .hero__title {
    font-size: 1.72rem;
    line-height: 1.2;
    max-width: none;
  }

  .hero__title-main,
  .hero__title-place {
    letter-spacing: 0.02em;
  }

  .hero__subtitle {
    font-size: 1.02rem;
    margin-bottom: 0.85rem;
  }

  .hero__lead {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    margin-top: 1.1rem;
  }

  .hero__catalog-link {
    text-align: center;
    font-size: 1.12rem;
  }

  .btn--hero {
    width: 100%;
    white-space: nowrap;
    min-height: 54px;
    padding: 0.95rem 1.2rem;
    font-size: 1.1rem;
  }

  .hero-ritual.btn--hero {
    max-width: none;
    min-height: 4.65rem;
    padding: 1.2rem 1.35rem;
    font-size: 1.32rem;
    font-weight: 800;
  }

  .hero__bottom-row {
    margin-top: 0.9rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section + .section {
    padding-top: 0;
  }

  .section--after-hero {
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
  }

  .section__head {
    margin-bottom: 1.15rem;
  }

  .cta-band__title {
    font-size: 1.35rem;
    line-height: 1.25;
  }

  .cta-band--compact .cta-band__title {
    font-size: 1.35rem;
  }

  .cta-band__copy {
    padding: 1.2rem 1.15rem 0.45rem;
  }

  .cta-band__actions {
    flex-direction: column;
    align-items: stretch;
    padding: 0 1.15rem 1.2rem;
  }

  .cta-band__actions .btn,
  .cta-band--compact .btn {
    width: 100%;
    max-width: none;
    min-width: 0;
    white-space: nowrap;
  }

  .cta-band--compact {
    padding: 1.15rem;
    margin-top: 1.75rem;
    gap: 1.15rem;
  }

  .hit-card__title,
  .product-card__title {
    font-size: 1rem;
    line-height: 1.3;
  }

  .hit-card__size,
  .product-card__size {
    font-size: 0.82rem;
  }

  .hit-card__body {
    padding: 0.9rem 0.85rem 1rem;
    gap: 0.55rem;
  }

  .product-card__body {
    padding: 0.75rem 0.65rem 0.8rem;
  }

  .product-card__title {
    padding: 0.3rem 0 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    min-height: calc(1em * 1.3 * 3);
  }

  .hit-card__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    min-height: calc(1em * 1.3 * 2);
  }

  .product-card .product-card__price,
  .product-card .products__price,
  .hit-card__price {
    margin-top: auto;
    padding-top: 0.85rem;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    flex-shrink: 0;
  }

  .product-card__actions {
    padding: 0.55rem 0 0;
    gap: 0.35rem;
  }

  .product-card__actions .btn,
  .hit-card__actions .btn {
    min-height: 38px;
    padding: 0.4rem 0.28rem;
    font-size: 0.72rem;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .site-footer {
    padding: 2.25rem 0 1.5rem;
  }

  .site-footer__title {
    font-size: 1.2rem;
  }

  .popup {
    margin: 0.75rem;
    max-height: calc(100dvh - 1.5rem);
  }

  .popup.popup--lead {
    padding: 1.1rem 1.15rem 1.25rem;
    overflow-y: auto;
  }

  .popup-lead__art {
    width: 148px;
    height: 148px;
    margin: 0 auto 0.15rem;
  }

  .popup--lead .popup__header {
    font-size: 1.22rem;
  }

  .popup-lead__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 0.7rem;
    border-radius: 16px;
  }

  .popup-lead__icon svg {
    width: 30px;
    height: 30px;
  }

  .memorials .section-title {
    margin-bottom: 0.75rem;
  }

  .memorials__desc {
    margin-top: 0;
    margin-bottom: 1.35rem;
  }

  .product-detail__desc {
    padding: 1.15rem 1rem;
  }

  .contacts-legal {
    padding: 1.15rem 1.05rem;
  }

  .consult-band {
    padding: 1.15rem 1.05rem;
  }

  .catalog__image-wrp {
    min-height: 0;
  }

  .catalog__image {
    min-height: 0;
    width: 100%;
  }

  .popup.popup--quiz {
    margin: 0;
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
  }

  .main--detail h1,
  .contacts-page h1,
  .section-title.h3 {
    font-size: 1.35rem;
  }

  .products__items-wrp > .products__button {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .cookie-consent {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.85rem 0.95rem;
  }

  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .cookie-consent__text {
    font-size: 0.82rem;
  }

  .cookie-consent__accept {
    width: 100%;
  }
}
