/* Шаблон Vixen — vixendecals.ru. Цвета, шрифты и размеры задаются в настройках стиля шаблона (переменные --vx-*). */

:root {
  --vx-gutter: 32px;
  --vx-max: 1280px;
  --link-color: var(--vx-link);
  --link-hover-color: var(--vx-ink);
}

/* ---------- основа ---------- */
html { scroll-behavior: smooth; }
body.vx {
  margin: 0;
  background: var(--vx-paper);
  color: var(--vx-ink);
  font-family: var(--vx-font-body);
  font-size: var(--vx-size-base);
  line-height: var(--vx-lh);
  -webkit-font-smoothing: antialiased;
}
.vx h1, .vx h2, .vx h3, .vx h4 {
  font-family: var(--vx-font-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .02em;
  text-transform: var(--vx-head-transform);
  text-wrap: balance;
  color: inherit;
  margin: 0 0 .6em;
}
.vx h1 { font-size: var(--vx-size-h1); }
.vx h2 { font-size: var(--vx-size-h2); }
.vx h3 { font-size: var(--vx-size-h3); }
.vx h4 { font-size: calc(var(--vx-size-h3) * .85); }
.vx p, .vx ul, .vx ol { margin: 0 0 1em; }
.vx img { max-width: 100%; height: auto; }
.vx a { color: var(--vx-ink); text-decoration-color: var(--vx-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.vx a:hover { color: var(--vx-link); }
.vx :focus-visible { outline: 3px solid var(--vx-accent); outline-offset: 2px; }
.vx-mono { font-family: var(--vx-font-mono); font-size: var(--vx-size-small); letter-spacing: .03em; }
.vx-muted { color: var(--vx-steel); }
.vx-accent { color: var(--vx-accent); }
.vx-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--vx-accent); color: var(--vx-ink); padding: 10px 16px; }
.vx-skip:focus { left: 16px; }

.vx-container { max-width: var(--vx-max); margin: 0 auto; padding-left: var(--vx-gutter); padding-right: var(--vx-gutter); box-sizing: border-box; }
.vx-section { padding-top: 72px; padding-bottom: 40px; }
.vx-section--tight { padding-top: 28px; padding-bottom: 32px; }
.vx-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 28px; }
.vx-section__head h2 { margin: 0; }
.vx-band { background: var(--vx-ink); color: var(--vx-paper); }
.vx-band a { color: var(--vx-paper); }
.vx-band .vx-muted { color: var(--vx-paper); opacity: .8; }
.vx-hazard { height: 10px; background: repeating-linear-gradient(-45deg, var(--vx-accent) 0 14px, var(--vx-ink) 14px 28px); }

/* ---------- кнопки ---------- */
.vx-btn, .vx .jlcc-button, .vx .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  background: var(--vx-accent); color: var(--vx-ink) !important; border: 2px solid var(--vx-accent); border-radius: 0;
  font-family: var(--vx-font-head); font-weight: 600; font-size: calc(var(--vx-size-base) * .95);
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.vx-btn:hover, .vx .jlcc-button:hover, .vx .btn-primary:hover { background: var(--vx-accent-hover); border-color: var(--vx-accent-hover); color: var(--vx-ink) !important; }
.vx-btn--ghost { background: transparent; color: var(--vx-paper) !important; border-color: var(--vx-paper); }
.vx-btn--ghost:hover { background: var(--vx-accent); border-color: var(--vx-accent); color: var(--vx-ink) !important; }
.vx .btn-secondary { border-radius: 0; }
.vx-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- шапка ---------- */
.vx-header { background: var(--vx-graphite); border-bottom: 1px solid var(--vx-steel); position: relative; z-index: 20; }
.vx-header__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; padding-top: 12px; padding-bottom: 12px; }
.vx-logo { display: flex; align-items: center; }
.vx-logo img { height: var(--vx-logo-h); width: auto; display: block; }
.vx-nav { flex: 1 1 480px; }
.vx-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.vx-nav li { margin: 0; position: relative; }
.vx-nav a, .vx-nav .nav-header, .vx-nav span.mod-menu__heading {
  display: inline-block; padding: 10px 0; border-bottom: 3px solid transparent;
  color: var(--vx-paper); text-decoration: none;
  font-family: var(--vx-font-head); font-weight: 500; font-size: var(--vx-size-nav); letter-spacing: .06em; text-transform: uppercase;
}
.vx-nav a:hover, .vx-nav .current > a, .vx-nav .active > a { color: var(--vx-accent); border-bottom-color: var(--vx-accent); }
.vx-nav ul ul { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--vx-ink); padding: 8px 16px; flex-direction: column; gap: 0; }
.vx-nav li:hover > ul, .vx-nav li:focus-within > ul { display: flex; }
.vx-cart-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--vx-accent); color: var(--vx-accent) !important; text-decoration: none;
  font-family: var(--vx-font-head); letter-spacing: .06em; text-transform: uppercase; font-size: calc(var(--vx-size-nav) * .88);
}
.vx-cart-link:hover { background: var(--vx-accent); color: var(--vx-ink) !important; }
.vx-burger { display: none; margin-left: auto; min-width: 44px; min-height: 44px; background: transparent; border: 1px solid var(--vx-steel); color: var(--vx-paper); cursor: pointer; }
.vx-search input { min-height: 40px; border-radius: 0; }

/* ---------- баннер ---------- */
.vx-hero { position: relative; height: var(--vx-hero-h); max-height: 92vh; min-height: 380px; overflow: hidden; background: var(--vx-ink); color: var(--vx-paper); }
.vx-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.vx-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.12) 100%); }
.vx-hero__body { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.vx-kicker { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--vx-font-mono); font-size: var(--vx-size-small); letter-spacing: .12em; text-transform: uppercase; color: var(--vx-accent); }
.vx-kicker::before { content: ""; width: 40px; height: 3px; background: var(--vx-accent); }
.vx .vx-hero__title { margin: 0; max-width: 780px; font-size: var(--vx-size-hero); line-height: 1.04; }
.vx-hero__text { margin: 0; max-width: 560px; font-size: calc(var(--vx-size-base) * 1.18); }

/* ---------- плитки масштабов ---------- */
.vx-scales { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.vx-scale { display: flex; flex-direction: column; background: var(--vx-ink); color: var(--vx-paper) !important; text-decoration: none; overflow: hidden; }
.vx-scale__img { display: block; height: 200px; background: var(--vx-surface); overflow: hidden; }
.vx-scale__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform .3s ease; }
.vx-scale:hover .vx-scale__img img { transform: scale(1.04); }
.vx-scale__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 16px 20px 20px; }
.vx-scale__label { font-family: var(--vx-font-head); font-weight: 700; font-size: calc(var(--vx-size-h2) * 1.05); color: var(--vx-accent); line-height: 1; }

/* ---------- карточки листов ---------- */
.vx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 24px; }
.vx-card { display: flex; flex-direction: column; background: var(--vx-surface); border: 1px solid var(--vx-line); min-width: 0; }
.vx-card__link { display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 0; color: var(--vx-ink) !important; text-decoration: none; }
.vx-card__title { font-family: var(--vx-font-head); font-weight: 600; font-size: calc(var(--vx-size-h3) * .95); line-height: 1.2; min-height: 2.4em; }
.vx-num { font-family: var(--vx-font-mono); font-size: var(--vx-size-small); background: var(--vx-ink); color: var(--vx-accent); padding: 2px 7px; margin-right: 8px; vertical-align: .15em; }
.vx-card__img { position: relative; display: block; aspect-ratio: 707 / 1000; overflow: hidden; background: var(--vx-paper); }
.vx-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; transition: transform .3s ease; }
.vx-card__link:hover .vx-card__img img { transform: scale(1.03); }
.vx-card__intro { padding: 12px 18px 0; font-size: var(--vx-size-small); }
.vx-card__foot { padding: 14px 18px 18px; margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.vx-card--unpublished { opacity: .6; }
.vx-badge { position: absolute; left: 0; top: 14px; padding: 5px 12px; background: var(--vx-accent); color: var(--vx-ink); font-family: var(--vx-font-head); font-weight: 600; font-size: var(--vx-size-small); letter-spacing: .1em; text-transform: uppercase; }

/* цена, корзина, наличие */
.vx-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; width: 100%; }
.vx-price { font-family: var(--vx-font-body); font-weight: 700; font-size: calc(var(--vx-size-base) * 1.25); white-space: nowrap; }
.vx-unavailable { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px dashed var(--vx-steel); color: var(--vx-steel); font-family: var(--vx-font-mono); font-size: var(--vx-size-small); text-transform: uppercase; letter-spacing: .06em; }
.vx-card--off .vx-card__img img { filter: grayscale(.6); }
.vx .jlcontentcart, .vx .to-cart { margin: 0; }
.vx .jlcontentcart form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.vx .jlcc-button { min-height: 44px; padding: 0 16px; font-size: calc(var(--vx-size-base) * .85); }
.vx .jlcc-success { background: var(--vx-ink); border-color: var(--vx-ink); color: var(--vx-accent) !important; }
.vx .jlcc-count, .vx .jlcc-input { width: 64px; min-height: 44px; padding: 0 8px; border: 1px solid var(--vx-steel); border-radius: 0; font-family: var(--vx-font-mono); }
.vx .jlcc-loader { display: none; }

/* ---------- шапка раздела (каталог) ---------- */
.vx-pagehead__body { padding-top: 32px; padding-bottom: 44px; display: flex; flex-direction: column; gap: 14px; }
.vx-pagehead__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 28px; }
.vx .vx-pagehead__title { margin: 0; font-size: calc(var(--vx-size-h1) * 1.5); font-weight: 700; line-height: 1; }
.vx-pagehead__row .vx-mono { padding-bottom: .5em; }
.vx-pagehead__desc { max-width: 720px; }
.vx-pagehead__desc p:last-child { margin-bottom: 0; }

/* хлебные крошки */
.vx .mod-breadcrumbs, .vx .breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 16px; padding: 0; background: none; list-style: none; font-family: var(--vx-font-mono); font-size: calc(var(--vx-size-small) * .95); }
.vx .mod-breadcrumbs__here { display: none; }
.vx .breadcrumb-item + .breadcrumb-item::before { content: "/"; color: var(--vx-accent); padding-right: 8px; }
.vx .breadcrumb-item.active { color: inherit; opacity: .8; }
.vx .vx-band .breadcrumb-item a { color: var(--vx-paper); }

/* постраничная навигация */
.vx-pagination { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 44px; }
.vx .pagination { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.vx .page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--vx-ink); border-radius: 0 !important; color: var(--vx-ink); background: transparent; font-family: var(--vx-font-head); }
.vx .page-item.active .page-link { background: var(--vx-ink); color: var(--vx-accent); border-color: var(--vx-ink); }
.vx .page-item.disabled .page-link { opacity: .4; }

/* ---------- страница листа ---------- */
.vx-product__top { display: flex; flex-wrap: wrap; gap: 44px; align-items: flex-start; }
.vx-product__media { flex: 1 1 520px; min-width: 0; }
.vx-product__info { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.vx-product__head { display: flex; flex-direction: column; gap: 18px; }
.vx .vx-product__title { margin: 0; font-size: var(--vx-size-h1); }
.vx-product__img { width: 100%; height: auto; background: var(--vx-surface); border: 1px solid var(--vx-line); padding: 16px; box-sizing: border-box; }
.vx-lead { font-size: calc(var(--vx-size-base) * 1.06); margin: 0; }
.vx-tags-mono { display: flex; flex-wrap: wrap; gap: 8px; }
.vx-tag { font-family: var(--vx-font-mono); font-size: calc(var(--vx-size-small) * .95); border: 1px solid var(--vx-ink); padding: 3px 10px; text-transform: uppercase; }
.vx-tag--dark { background: var(--vx-ink); color: var(--vx-accent); }
.vx-buybox { background: var(--vx-ink); color: var(--vx-paper); padding: 22px 24px; }
.vx-buy--big .vx-price { font-family: var(--vx-font-head); font-size: calc(var(--vx-size-h1) * .95); color: var(--vx-accent); font-weight: 700; }
.vx-buy--big { gap: 16px; }
.vx-buy--big .vx-cart { flex: 1 1 260px; }
.vx-buybox .jlcc-count, .vx-buybox .jlcc-input { background: var(--vx-graphite); color: var(--vx-paper); border-color: var(--vx-steel); }
.vx-buybox .jlcc-button { min-height: 52px; flex: 1 1 200px; }
.vx-buybox .vx-unavailable { color: var(--vx-paper); border-color: var(--vx-paper); }
.vx-specs { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0; padding-top: 16px; border-top: 1px solid var(--vx-line); font-size: calc(var(--vx-size-base) * .92); }
.vx-specs dt { font-family: var(--vx-font-mono); font-size: var(--vx-size-small); color: var(--vx-steel); text-transform: uppercase; font-weight: 500; }
.vx-specs dd { margin: 0; }

/* файлы для скачивания (PDF из папки листа) */
.vx-files { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--vx-line); }
.vx .vx-files__title { font-family: var(--vx-font-mono); font-size: var(--vx-size-small); color: var(--vx-steel); text-transform: uppercase; font-weight: 500; letter-spacing: .03em; margin: 0 0 10px; }
.fg-files { display: grid; gap: 8px; margin: 0 0 16px; }
.vx a.fg-file { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 14px; background: var(--vx-surface); border: 1px solid var(--vx-line); color: var(--vx-ink); text-decoration: none; }
.vx a.fg-file:hover { border-color: var(--vx-ink); color: var(--vx-ink); }
.fg-file__ext { font-family: var(--vx-font-mono); font-size: var(--vx-size-small); font-weight: 700; background: var(--vx-ink); color: var(--vx-accent); padding: 3px 7px; }
.fg-file__name { font-weight: 600; }
.fg-file__size { font-family: var(--vx-font-mono); font-size: var(--vx-size-small); color: var(--vx-steel); white-space: nowrap; }

/* галерея плагина «Галерея из папки» на странице листа:
   большая картинка + ряд миниатюр; на компьютере вся галерея по высоте равна блоку справа */
.vx-product__media .fg-gallery { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); grid-auto-rows: 76px; gap: 10px; align-items: stretch; }
.vx-product__media .fg-item:first-child { grid-column: 1 / -1; }
.vx-product__media .fg-link { border-radius: 0; background: var(--vx-surface); border: 1px solid var(--vx-line); height: 100%; box-sizing: border-box; }
.vx-product__media .fg-item { margin: 0; min-width: 0; min-height: 0; }
.vx-product__media .fg-item:first-child .fg-link { display: flex; align-items: center; justify-content: center; padding: 12px; }
.vx-product__media .fg-item:first-child img { width: 100%; height: 100%; object-fit: contain; }
.vx-product__media .fg-item:not(:first-child) img { width: 100%; height: 100%; object-fit: cover; }
.vx-product__media .fg-link:hover img { transform: none; }
.vx-product__media .fg-item:not(:first-child) .fg-link:hover { outline: 3px solid var(--vx-accent); outline-offset: -3px; }

@media (min-width: 901px) {
  .vx-product__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  /* высота галереи = блоку «название, цена, характеристики» (задаёт template.js); при чтении описания галерея остаётся на экране */
  .vx-product__media { position: sticky; top: 20px; height: max(380px, min(var(--vx-media-h, 560px), calc(100vh - 40px))); }
  .vx-product__media > .fg-gallery,
  .vx-product__media > .vx-product__img { position: absolute; inset: 0; }
  .vx-product__media .fg-gallery { grid-template-rows: minmax(0, 1fr); overflow: hidden; }
  .vx-product__media > .vx-product__img { width: 100%; height: 100%; object-fit: contain; }
}
@media (max-width: 900px) {
  .vx-product__media .fg-gallery { grid-template-rows: min(70vh, 520px); }
}

/* описание листа — под блоком покупки */
.vx-product__desc { padding-top: 18px; border-top: 1px solid var(--vx-line); }
.vx-product__desc > :first-child { margin-top: 0; }
.vx-product__desc > :last-child { margin-bottom: 0; }

/* варианты окраски */
.vx-variants h2 { color: var(--vx-paper); }
.vx-variants__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.vx-variants__list li { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--vx-steel); margin: 0; }
.vx-variants__n { font-family: var(--vx-font-head); font-weight: 700; font-size: calc(var(--vx-size-h2) * 1.1); color: var(--vx-accent); line-height: 1; }

/* текст */
.vx-prose { max-width: 820px; }
.vx-prose iframe, .vx-prose video { max-width: 100%; }
.vx-prose iframe[src*="youtube"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.vx .vx-page__title { margin-top: 8px; }

/* тот же тип в других масштабах */
.vx-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 20px; }
.vx-related__item { display: flex; gap: 18px; align-items: center; padding: 14px; background: var(--vx-surface); border: 1px solid var(--vx-line); color: var(--vx-ink) !important; text-decoration: none; min-width: 0; }
.vx-related__img { flex: 0 0 110px; width: 110px; aspect-ratio: 707 / 1000; overflow: hidden; background: var(--vx-paper); }
.vx-related__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.vx-related__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vx-related__title { font-family: var(--vx-font-head); font-weight: 600; font-size: var(--vx-size-h3); line-height: 1.2; }

/* соседние листы */
.vx-prevnext { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.vx-prevnext__item { flex: 1 1 300px; display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border: 1px solid var(--vx-ink); color: var(--vx-ink) !important; text-decoration: none; }
.vx-prevnext__next { align-items: flex-end; text-align: right; }
.vx-prevnext__empty { border-color: transparent; }
.vx-prevnext__item:hover { background: var(--vx-ink); color: var(--vx-paper) !important; }
.vx-prevnext__item:hover .vx-muted { color: var(--vx-accent); }
.vx-prevnext__title { font-family: var(--vx-font-head); font-weight: 600; font-size: calc(var(--vx-size-h3) * .9); line-height: 1.2; }

/* ---------- главная: история, типы, о нас ---------- */
.vx-story { margin-top: 48px; }
.vx-story .vx-container { padding-top: 80px; padding-bottom: 80px; }
.vx-story .mod-custom { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.vx-story h2 { color: var(--vx-paper); font-size: calc(var(--vx-size-h2) * 1.15); }
.vx-story .vx-story__text { flex: 1 1 420px; min-width: 0; }
.vx-story .vx-story__media { flex: 1 1 480px; min-width: 0; display: grid; gap: 16px; }
.vx-story .vx-story__media img { width: 100%; display: block; }
.vx-story ul { list-style: none; padding: 0; font-family: var(--vx-font-mono); font-size: var(--vx-size-small); }
.vx-story li::before { content: "■"; color: var(--vx-accent); margin-right: 10px; }
.vx-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.vx-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid var(--vx-ink); color: var(--vx-ink) !important; text-decoration: none; font-family: var(--vx-font-head); font-size: var(--vx-size-nav); letter-spacing: .04em; box-sizing: border-box; }
.vx-chip .vx-mono { color: var(--vx-steel); }
.vx-chip:hover { background: var(--vx-ink); color: var(--vx-accent) !important; }
.vx-chip--accent { background: var(--vx-accent); border-color: var(--vx-accent); }
.vx-about { display: flex; flex-wrap: wrap; gap: 44px; padding-bottom: 88px; }
.vx-about__text { flex: 2 1 460px; min-width: 0; }
.vx-about__buy { flex: 1 1 300px; min-width: 0; padding: 26px; background: var(--vx-surface); border: 1px solid var(--vx-line); border-top: 4px solid var(--vx-accent); align-self: flex-start; }
.vx-about__buy h3 { font-size: var(--vx-size-h3); }

/* ---------- подвал ---------- */
.vx-footer { background: var(--vx-ink); color: var(--vx-paper); }
.vx-footer a { color: var(--vx-paper); }
.vx-footer a:hover { color: var(--vx-accent); }
.vx-footer__row { display: flex; flex-wrap: wrap; gap: 36px 64px; justify-content: space-between; padding-top: 52px; padding-bottom: 28px; }
.vx-footer__brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; }
.vx-footer__brand img { height: 72px; width: auto; align-self: flex-start; }
.vx-footer__brand p { max-width: 320px; font-size: calc(var(--vx-size-base) * .9); margin: 0; }
.vx-footer__col { min-width: 160px; font-size: calc(var(--vx-size-base) * .9); }
.vx-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.vx-fmod__title, .vx .vx-fmod__title { font-size: var(--vx-size-small); color: var(--vx-accent); letter-spacing: .1em; margin-bottom: 12px; }
.vx-footer__copy { padding-top: 18px; padding-bottom: 26px; border-top: 1px solid var(--vx-steel); }

/* ---------- корзина Content Cart ---------- */
.vx .jlcontentcart .order, .vx table.order { width: 100%; border-collapse: collapse; background: var(--vx-surface); }
.vx .order td, .vx .order th { padding: 10px 12px; border-bottom: 1px solid var(--vx-line); }
/* форма заказа: поля во всю ширину блока, кнопка по центру */
.vx #order-form-container { max-width: 680px; margin: 32px auto 0; }
.vx #contentcart-order-form { display: block; width: 100%; background: transparent; }
.vx #contentcart-order-form .jlcc-block-data { display: grid; gap: 12px; width: 100%; min-width: 0; text-align: left; }
.vx #contentcart-order-form .jlcc-block-data > div { width: 100%; }
.vx #contentcart-order-form .jlcc-input:not([type="hidden"]),
.vx #contentcart-order-form .jlcc-textarea { display: block; box-sizing: border-box; width: 100%; max-width: none; min-width: 0; min-height: 48px; margin: 0; padding: 10px 14px; background: #fff; color: var(--vx-ink); border: 1px solid var(--vx-steel); border-radius: 0; font-family: var(--vx-font-body); font-size: var(--vx-size-base); line-height: 1.4; }
.vx #contentcart-order-form .jlcc-textarea { min-height: 160px; resize: vertical; }
.vx #contentcart-order-form .jlcc-input:focus, .vx #contentcart-order-form .jlcc-textarea:focus { outline: 3px solid var(--vx-accent); outline-offset: 0; border-color: var(--vx-ink); }
.vx #contentcart-order-form .jlcc-block-data > div:last-child { text-align: center; padding-top: 8px; }
.vx #contentcart-order-form .jlcc-button { min-width: 260px; min-height: 52px; margin: 0 auto; }
.vx .jlcc-title-data { text-align: center; margin-bottom: 18px; }

/* ---------- системные сообщения ---------- */
.vx #system-message-container { max-width: var(--vx-max); margin: 16px auto 0; padding: 0 var(--vx-gutter); }

/* ---------- адаптив ---------- */
@media (max-width: 900px) {
  :root { --vx-gutter: 18px; }
  .vx-burger { display: inline-flex; align-items: center; justify-content: center; }
  .vx-nav { flex-basis: 100%; display: none; }
  .vx-nav.is-open { display: block; }
  .vx-nav ul { flex-direction: column; gap: 0; }
  .vx-nav ul ul { position: static; display: flex; background: none; padding: 0 0 0 16px; }
  .vx-cart-link span { display: none; }
  .vx .vx-hero__title { font-size: calc(var(--vx-size-hero) * .62); }
  .vx .vx-pagehead__title { font-size: calc(var(--vx-size-h1) * 1.05); }
  .vx h1 { font-size: calc(var(--vx-size-h1) * .78); }
  .vx h2 { font-size: calc(var(--vx-size-h2) * .8); }
  .vx-section { padding-top: 48px; }
  .vx-hero__shade { background: rgba(0,0,0,.62); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vx * { transition: none !important; }
}

/* кнопка «Наверх» */
.vx-totop { position: fixed; right: 24px; bottom: 24px; z-index: 900; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--vx-ink); color: var(--vx-accent) !important; border: 2px solid var(--vx-accent); text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); transition: background .15s, color .15s; }
.vx-totop[hidden] { display: none; }
.vx-totop:hover, .vx-totop:focus-visible { background: var(--vx-accent); color: var(--vx-ink) !important; }
@media (max-width: 600px) { .vx-totop { right: 14px; bottom: 14px; width: 42px; height: 42px; } }

/* согласие на обработку персональных данных в форме заказа */
.vx .vx-consent { text-align: left; font-size: calc(var(--vx-size-base) * .88); line-height: 1.45; }
.vx .vx-consent label { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; cursor: pointer; }
.vx .vx-consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--vx-ink); }
/* уведомление «не является публичной офертой» в подвале */
.vx .vx-offer { margin: 16px 0 0; text-align: center; font-size: var(--vx-size-small); color: var(--vx-steel); line-height: 1.45; }
