/* ===== Фоновый canvas (three-background.js) ===== */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-3xs);
}

.logo-mark {
  color: var(--color-accent-1);
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-links a:hover { color: var(--color-text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.cart-icon {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
}

.cart-icon .count[hidden] { display: none; }

.cart-icon .count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--color-accent-1);
  color: var(--color-bg);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Кнопки ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: 14px 28px;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--color-accent-1);
  color: #0A0A0F;
}

.btn-primary:hover {
  box-shadow: var(--glow-accent-1-sm);
}

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

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

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(72px + var(--space-2xl)) 0 var(--space-2xl);
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.hero-content .kicker { margin-bottom: var(--space-sm); }

.hero-content h1 {
  font-size: var(--text-4xl);
  margin: 0 0 var(--space-md);
}

.hero-content .lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 44ch;
  margin-bottom: var(--space-lg);
  line-height: var(--leading-relaxed);
}

.hero-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; justify-content: center; }

/* ===== Секции ===== */
.section { padding: var(--space-2xl) 0; position: relative; }

.section-head {
  margin-bottom: var(--space-lg);
}

.section-head h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-2xs);
  max-width: 20ch;
}

/* ===== Как это работает ===== */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.steps-connector {
  position: absolute;
  top: 52px; /* примерно центр .step-num при текущих отступах карточки */
  left: 0;
  width: 100%;
  height: 24px;
  overflow: visible;
  z-index: 0;
  pointer-events: none;
}

.steps-connector path {
  fill: none;
  stroke: var(--color-accent-1-25);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.steps-connector circle {
  fill: var(--color-bg);
  stroke: var(--color-accent-1);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.step {
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  position: relative;
  z-index: 1;
}

.step-num {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  color: var(--color-accent-1);
  margin-bottom: var(--space-sm);
}

.step h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2xs);
  font-weight: 500;
}

.step p { color: var(--color-text-muted); font-size: var(--text-sm); }

/* ===== Товары: горизонтальный pinned-скролл на десктопе ===== */
.products-section .container { margin-bottom: 0; }

.products-pin-wrap {
  overflow: hidden;
  padding: var(--space-2xs) 0 var(--space-md);
}

.products-track {
  display: flex;
  gap: var(--space-md);
  width: max-content;
  padding: 0 var(--container-padding);
  will-change: transform;
}

.product-card {
  --glow-x: 50%;
  --glow-y: 50%;
  width: 280px;
  flex: 0 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out);
  transform-style: preserve-3d;
}

.product-card:hover {
  border-color: var(--color-accent-1-25);
  box-shadow: var(--glow-accent-1-lg);
}

.product-card-media {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(155deg, #16161f, #0d0d13);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.product-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glow-x) var(--glow-y), var(--color-accent-1-25), transparent 55%);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}

.product-card:hover .product-card-media::after { opacity: 1; }

.product-card-media .placeholder-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-muted);
  position: relative;
}

.product-card-body { padding: var(--space-sm); }

.product-card-title {
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-2xs);
}

.product-card-price {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  color: var(--color-accent-1);
}

/* ===== Материалы ===== */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.material-card {
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.material-icon {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-accent-2);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-accent-2-15);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

.material-card h3 {
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-2xs);
}

.material-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
}

.stats { display: flex; flex-direction: column; gap: var(--space-xs); }

.stat-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: var(--space-sm);
}

.stat-row span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.stat-bar {
  height: 4px;
  border-radius: var(--radius-sm);
  background: var(--color-border);
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--color-accent-2);
  border-radius: var(--radius-sm);
}

/* ===== Блог превью ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.blog-card {
  display: block;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-1-25);
  box-shadow: var(--glow-accent-1-sm);
}

.blog-card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-accent-1);
  background: var(--color-accent-1-10);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  margin-bottom: var(--space-2xs);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  margin-bottom: var(--space-3xs);
}

.blog-card-meta .blog-card-date { margin-bottom: 0; }

.blog-card-read-time {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.blog-card-read-time::before {
  content: "·";
  margin-right: var(--space-2xs);
}

.blog-card-media {
  position: relative;
  /* Портретное соотношение — под формат реальных обложек статей
     (логотип+заголовок+визуал+теги сверху вниз), не под альбомный 16:10. */
  aspect-ratio: 3/4;
  background: linear-gradient(155deg, #16161f, #0d0d13);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card-media--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--duration-base) var(--ease-out);
}

.blog-card:hover .blog-card-media--photo img { transform: scale(1.04); }

.blog-card-photo {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, var(--color-accent-1-25), transparent 55%),
    radial-gradient(circle at 75% 70%, var(--color-accent-2-15), transparent 55%);
  opacity: 0.6;
  filter: blur(4px);
  transition: opacity var(--duration-base) var(--ease-out), filter var(--duration-base) var(--ease-out);
}

.blog-card:hover .blog-card-photo { opacity: 0.85; filter: blur(1px); }

.blog-card-placeholder-icon {
  position: relative;
  width: 56px;
  height: 56px;
  color: var(--color-accent-1);
  filter: drop-shadow(0 0 18px var(--color-accent-1-25));
}

.blog-card-date {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3xs);
}

.blog-card h3 {
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-2xs);
}

.blog-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ===== CTA-баннер ===== */
.cta-banner {
  position: relative;
  padding: var(--space-2xl) var(--space-lg);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  text-align: center;
  overflow: hidden;
}

.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--color-accent-1-10), transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
  position: relative;
}

.cta-banner .btn { position: relative; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
  margin-top: var(--space-2xl);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-brand { display: flex; flex-direction: column; gap: var(--space-3xs); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  list-style: none;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.footer-links a:hover { color: var(--color-text); }

.footer-meta {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
}

.footer-actions { display: flex; align-items: center; gap: var(--space-sm); }

.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  transition: color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}

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

.btn-telegram { white-space: nowrap; }

/* ===== Продуктовая сетка (каталог, «похожее») ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-md);
}

/* .product-card был рассчитан только на горизонтальный .products-track
 * (фикс. ширина 280px) — в CSS-grid карточка должна тянуться на всю
 * колонку трека, иначе появляется неровный зазор справа от карточки. */
.product-grid .product-card { width: 100%; }

/* "Популярное" на главной: ровно 2 компактные карточки в ряд. На мобильном
 * карточки занимают ~половину ширины — не во весь экран. */
.popular-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
}

/* На мобильном: компактные карточки, текст уменьшен, описание скрыто */
@media (max-width: 767px) {
  .popular-grid { gap: 10px; }
  .popular-grid .product-card-title { font-size: 13px; line-height: 1.3; }
  .popular-grid .product-card-desc { display: none; }
  .popular-grid .product-card-body { padding: 10px 12px 12px; }
  .popular-grid .product-card-price { font-size: 15px; }
  .popular-grid .btn-cart-add { font-size: 12px; padding: 6px 10px; }
}

/* ===== Заголовок внутренней страницы (каталог/блог) ===== */
.page-hero {
  padding: calc(72px + var(--space-xl)) 0 var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  font-size: var(--text-3xl);
  margin: var(--space-sm) 0;
}

.page-hero .lede {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  max-width: 60ch;
  line-height: var(--leading-relaxed);
}

.page-hero--article {
  padding-bottom: var(--space-md);
}

.page-hero--article h1 {
  font-size: var(--text-2xl);
  max-width: 26ch;
  margin-top: var(--space-xs);
}

/* ===== Фильтры каталога ===== */
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  margin-bottom: var(--space-lg);
}

.filter-btn {
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}

.filter-btn:hover { color: var(--color-text); border-color: var(--color-accent-2); }

.filter-btn.active {
  background: var(--color-accent-1);
  border-color: var(--color-accent-1);
  color: #0A0A0F;
}

.catalog-empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: var(--space-xl) 0;
}

/* ===== Карточка товара ===== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.product-gallery-main {
  aspect-ratio: 1;
  background: linear-gradient(155deg, #16161f, #0d0d13);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery-main .placeholder-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-muted);
}

.product-info h1 {
  font-size: var(--text-2xl);
  margin: var(--space-2xs) 0 var(--space-sm);
}

.product-price {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  color: var(--color-accent-1);
  margin-bottom: var(--space-2xs);
}

.availability {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.availability.in-stock { color: #4ADE80; }

.product-description {
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
}

/* 4 раздела описания товара (см. build/render-products.js
   descriptionSectionsHTML). Анимация появления — public/js/scroll-animations.js,
   реагирует на data-anim-section через тот же GSAP+ScrollTrigger, который
   уже подключён на каждой странице (без новых библиотек). */
.product-description-sections {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-md);
}

/* Карточка секции: чистая, без синей полосы */
.product-desc-section {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-out);
  will-change: transform, opacity;
}

.product-desc-section:hover {
  border-color: var(--color-border-strong);
}

.product-desc-section-head {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-border);
  background: rgba(255,255,255,0.025);
}

/* Геометрическая иконка-знак вместо эмодзи */
.product-desc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  font-size: 14px;
  color: var(--color-accent-1);
  border: 1px solid var(--color-accent-1-25);
  border-radius: 6px;
  background: rgba(255, 107, 0, 0.06);
  font-weight: 700;
}

.product-desc-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.product-desc-section-body {
  padding: var(--space-sm) var(--space-md);
  color: var(--color-text);
  line-height: var(--leading-relaxed);
  font-size: var(--text-sm);
}

.product-desc-section-body p { margin: 0; }

.product-desc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-desc-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: var(--leading-relaxed);
}

.product-desc-list li::before {
  content: "—";
  color: var(--color-accent-1);
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 700;
}

.product-variants {
  margin-bottom: var(--space-md);
  padding: var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.product-variants-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-2xs);
}

.variant-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-3xs) 0;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-border);
}

.variant-row:last-child { border-bottom: none; }

.product-specs { margin-bottom: var(--space-lg); }

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2xs) 0;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-border);
}

.spec-row:last-child { border-bottom: none; }

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

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.product-telegram-link {
  display: inline-block;
  font-size: var(--text-sm);
  color: var(--color-accent-2);
}

.product-telegram-link:hover { text-decoration: underline; }

/* ===== Инфоблок под кнопками товара ===== */
.product-trust-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 var(--space-sm);
}
.product-trust-row span {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,107,0,.09), transparent 55%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.45;
  box-shadow: none;
  transition: border-color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}
.product-trust-row span:hover {
  border-color: var(--color-accent-1-25);
  transform: translateY(-1px);
}
.product-trust-row a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.product-trust-row a:hover { color: var(--color-text); }

@media (max-width: 767px) {
  .product-trust-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .product-trust-row span {
    min-height: 0;
    padding: 11px 12px;
  }
}

/* ===== Sticky-панель "В корзину" на странице товара (мобильный) ===== */
.sticky-buy-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--container-padding);
  padding-bottom: max(var(--space-xs), env(safe-area-inset-bottom));
  background: rgba(10, 10, 15, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  transform: translateY(100%);
  transition: transform var(--duration-base) var(--ease-out);
}

.sticky-buy-bar.is-visible { transform: translateY(0); }

.sticky-buy-bar-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

.sticky-buy-bar-title {
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-buy-bar-price {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
}

.sticky-buy-bar .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .sticky-buy-bar { display: flex; }
}

/* ===== Статья блога ===== */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--color-accent-1);
  box-shadow: var(--glow-accent-1-sm);
  z-index: 200;
}

.container--article { max-width: 720px; }

.article-body {
  color: var(--color-text);
  line-height: var(--leading-relaxed);
}

.article-body h2 { font-size: var(--text-xl); margin: var(--space-lg) 0 var(--space-sm); }
.article-body h3 { font-size: var(--text-lg); margin: var(--space-md) 0 var(--space-2xs); }
.article-body p { color: var(--color-text-muted); margin-bottom: var(--space-sm); }
.article-body strong { color: var(--color-text); font-weight: 600; }
.article-body a { color: var(--color-accent-2); }
.article-body a:hover { text-decoration: underline; }
.article-body ul, .article-body ol { color: var(--color-text-muted); margin: 0 0 var(--space-sm) var(--space-md); }
.article-body li { margin-bottom: var(--space-3xs); }

.article-back { margin-top: var(--space-lg); }

/* ===== Статья блога: единый стиль контента (.article-content) ===== */
.container--article-wide { max-width: 1040px; }

.article-layout {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xl);
}

.article-content {
  flex: 1 1 auto;
  max-width: 720px;
  min-width: 0;
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.8;
}

.article-content > p,
.article-content ul,
.article-content ol {
  margin-bottom: 1.5em;
  color: var(--color-text-muted);
}

.article-content ul, .article-content ol { margin-left: var(--space-md); }
.article-content li { margin-bottom: 0.4em; }

.article-content h2 {
  font-size: var(--text-xl);
  color: var(--color-text);
  margin: var(--space-xl) 0 var(--space-sm);
  border-left: 3px solid var(--color-accent-1);
  padding-left: 16px;
}

.article-content h3 {
  font-size: var(--text-lg);
  color: var(--color-accent-2);
  margin: var(--space-lg) 0 var(--space-2xs);
}

.article-content strong { color: #FFFFFF; font-weight: 600; }
.article-content a { color: var(--color-accent-2); }
.article-content a:hover { text-decoration: underline; }

.article-content .callout {
  background: #1A1A2E;
  border-left: 3px solid var(--color-accent-1);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 1.5em;
}

.article-content .callout p { margin-bottom: 0; color: var(--color-text); }
.article-content .callout strong { color: var(--color-accent-1); }

.table-scroll {
  overflow-x: auto;
  margin-bottom: 1.5em;
  border-radius: 8px;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  font-size: var(--text-sm);
}

.article-content thead th {
  background: #1A1A2E;
  color: #FFFFFF;
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  text-align: left;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-content tbody td {
  padding: 12px 16px;
  color: var(--color-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-content tbody tr:nth-child(odd) { background: #12121A; }
.article-content tbody tr:nth-child(even) { background: #0F0F1A; }
.article-content tbody tr:hover { background: rgba(255, 107, 0, 0.05); }

.article-cta {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-accent-1-10), var(--color-surface) 60%);
  border: 1px solid var(--color-accent-1-25);
}

.article-cta h2 {
  border: none;
  padding-left: 0;
  margin: 0 0 var(--space-sm);
}

.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.article-toc {
  position: sticky;
  top: 90px;
  width: 240px;
  flex: 0 0 240px;
  align-self: flex-start;
}

.article-toc-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-sm);
}

.article-toc-nav { display: flex; flex-direction: column; gap: var(--space-2xs); }

.article-toc-link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  border-left: 2px solid var(--color-border);
  padding-left: var(--space-sm);
  line-height: var(--leading-normal);
  transition: color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}

.article-toc-link--sub { padding-left: calc(var(--space-sm) + var(--space-sm)); font-size: var(--text-xs); }

.article-toc-link:hover { color: var(--color-text); }

.article-toc-link.is-active {
  color: var(--color-accent-1);
  border-left-color: var(--color-accent-1);
}

@media (max-width: 1023px) {
  .article-toc { display: none; }
  .article-layout { display: block; }
}

/* ===== Страница принтера ===== */
.hero--printer {
  min-height: auto;
  flex-direction: column;
  padding: calc(72px + var(--space-2xl)) 0 var(--space-xl);
}

.hero--printer .hero-visual {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 560px;
  margin: 0 auto var(--space-lg);
}

.printer-hero-photo {
  width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
  padding: var(--space-xl);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  filter: drop-shadow(0 0 60px var(--color-accent-1-25));
}

.printer-specs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-sm);
}

.printer-spec-card {
  padding: var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
}

.printer-spec-icon { font-size: var(--text-xl); margin-bottom: var(--space-2xs); }

.printer-spec-value {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  color: var(--color-accent-1);
  margin-bottom: var(--space-3xs);
}

.printer-spec-label { font-size: var(--text-xs); color: var(--color-text-muted); }

.materials-grid--4 { grid-template-columns: repeat(4, 1fr); }

.material-examples {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.material-examples a { color: var(--color-accent-2); }
.material-examples a:hover { text-decoration: underline; }

.printer-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.printer-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  box-sizing: border-box;
  padding: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

/* ===== Секция «Наш принтер» на главной ===== */
.printer-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.printer-teaser-photo {
  width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
  padding: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  filter: drop-shadow(0 0 48px var(--color-accent-1-10));
}

.printer-teaser-content h2 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: .94;
  letter-spacing: -.045em;
  max-width: none;
  margin: 10px 0 16px;
}
.printer-teaser-content h2 span {
  color: var(--color-accent-1);
  text-shadow: 0 0 28px rgba(255,107,0,.22);
}
@media (max-width: 767px) {
  .printer-teaser-content h2 { font-size: clamp(42px, 13vw, 64px); }
}

.printer-teaser-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

.printer-teaser-spec {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xs);
}

.printer-teaser-spec-icon { font-size: var(--text-lg); line-height: 1; }

.printer-teaser-spec-value {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-text);
  display: block;
}

.printer-teaser-spec-label { font-size: var(--text-xs); color: var(--color-text-muted); }

/* ===== Нейтральные сгенерированные превью товара (вместо фото) ===== */
.product-art {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(155deg, #16161f, #0d0d13);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-art-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-art-grid line {
  stroke: var(--color-border-strong);
  stroke-width: 0.5;
}

.product-art-icon {
  position: relative;
  width: 40px;
  height: 40px;
  color: var(--color-accent-1);
  filter: drop-shadow(0 0 18px var(--color-accent-1-25));
}

.product-art--lg {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  border-bottom: 1px solid var(--color-border);
}

.product-art--lg .product-art-icon { width: 88px; height: 88px; }

/* Карточка с реальным фото: aspect-ratio 4:5 вместо 1:1 — вертикальные
 * фото заполняют кадр через cover, горизонтальные тоже смотрятся нормально. */
.product-art--photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

/* ===== Карточка товара (v2): бейджи, короткое описание, кнопка в корзину ===== */
.product-card { display: flex; flex-direction: column; position: relative; }

.product-card-badges {
  position: absolute;
  top: var(--space-2xs);
  left: var(--space-2xs);
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  z-index: 1;
}

.product-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--tracking-normal);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid var(--color-border-strong);
  color: var(--color-text);
}

.badge-hot { border-color: var(--color-accent-1-25); color: var(--color-accent-1); }
.badge-gift { border-color: var(--color-accent-2-15); color: var(--color-accent-2); }
.badge-order { color: var(--color-text-muted); }

.product-card-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
  line-height: var(--leading-normal);
}

.product-card-body { display: flex; flex-direction: column; flex: 1; }

.product-card-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xs);
}

.btn-cart-add {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-strong);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}

.btn-cart-add:hover { border-color: var(--color-accent-1); color: var(--color-accent-1); }
.btn-cart-add.added { border-color: var(--color-accent-1); background: var(--color-accent-1-10); color: var(--color-accent-1); }

/* ===== Каталог: поиск / фильтры цены и цвета / сортировка ===== */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  margin-bottom: var(--space-sm);
}

.catalog-search {
  flex: 1 1 240px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
}

.catalog-search::placeholder { color: var(--color-text-muted); }

.catalog-select {
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.catalog-count {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin: calc(-1 * var(--space-sm)) 0 var(--space-sm);
  min-height: 1em;
}

/* ===== Хлебные крошки ===== */
.breadcrumbs {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-accent-2); }
.breadcrumbs span[aria-current] { color: var(--color-text); }

/* ===== Страница товара: доп. элементы ===== */
.product-shortdesc {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  margin: var(--space-2xs) 0 var(--space-sm);
}

.product-colors { margin: var(--space-md) 0; }

.product-colors-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-2xs);
}

.color-swatches { display: flex; gap: var(--space-xs); }

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--swatch-color, #888);
  border: 2px solid var(--color-border-strong);
  cursor: pointer;
  padding: 0;
  transition: border-color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.color-swatch:hover { transform: scale(1.08); }
.color-swatch.selected { border-color: var(--color-accent-1); box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 3px var(--color-accent-1); }

.product-colors-selected {
  margin-top: var(--space-2xs);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.variant-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-2xs) 0;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
}

.variant-row:last-child { border-bottom: none; }
.variant-row input[type="radio"] { margin-right: var(--space-2xs); accent-color: var(--color-accent-1); }
.variant-row span:first-of-type { flex: 1; display: flex; align-items: center; }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  margin: var(--space-sm) 0;
}

.qty-btn {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  color: var(--color-text);
  font-size: var(--text-lg);
  cursor: pointer;
  line-height: 1;
}

.qty-btn:hover { color: var(--color-accent-1); }

.qty-value {
  width: 40px;
  text-align: center;
  background: transparent;
  border: none;
  border-left: 1px solid var(--color-border-strong);
  border-right: 1px solid var(--color-border-strong);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  height: 36px;
}

.qty-stepper--sm .qty-btn, .qty-stepper--sm { height: 30px; }
.qty-stepper--sm .qty-btn { width: 28px; height: 28px; font-size: var(--text-base); }
span.qty-value { display: inline-flex; align-items: center; justify-content: center; height: 28px; border-left: 1px solid var(--color-border-strong); border-right: 1px solid var(--color-border-strong); font-family: var(--font-mono); font-size: var(--text-sm); }

.product-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin: var(--space-md) 0;
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.product-trust-row a { color: var(--color-accent-2); }
.product-trust-row a:hover { text-decoration: underline; }

/* ===== Кастомный заказ: тизер (переиспользуется на главной/каталоге/товаре) ===== */
.custom-order-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.custom-order-teaser h3 { font-size: var(--text-xl); margin: var(--space-2xs) 0; font-weight: 500; }
.custom-order-teaser p { color: var(--color-text-muted); }

/* ===== Кастомный заказ: страница/форма ===== */
.custom-order-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: var(--space-xl);
  align-items: start;
}

.custom-order-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-field[hidden], .cart-empty[hidden], .cart-layout[hidden], .custom-order-result[hidden], .custom-order-form[hidden] { display: none; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
}

.form-field > span:first-child {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.form-field input[type="text"],
.form-field input[type="number"],
.form-field input[type="file"],
.form-field textarea {
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  resize: vertical;
}

.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--color-border-strong);
  border-bottom: 2px solid var(--color-accent-1);
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.2);
}

.catalog-search:focus, .catalog-select:focus {
  outline: none;
  border-color: var(--color-accent-2);
}

.form-field input[type="file"] { padding: 8px; font-size: var(--text-xs); }

.form-hint { font-size: var(--text-xs); color: var(--color-text-muted); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.radio-row {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  font-size: var(--text-sm);
  color: var(--color-text);
  margin: var(--space-2xs) 0;
  cursor: pointer;
}

.radio-row input { accent-color: var(--color-accent-1); }

/* fieldset без сброса получает нативную "canvas"-рамку (обычно светлую
   groove-обводку) — она и создавала белую рамку вокруг блока способа
   получения */
fieldset.form-field {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.method-cards {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.method-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  flex: 1;
  min-width: 200px;
  padding: 14px 16px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}

.method-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.method-card-icon { font-size: 20px; line-height: 1; }
.method-card-label { font-size: var(--text-sm); color: var(--color-text); }

.method-card.is-selected {
  border-color: var(--color-accent-1);
  background: var(--color-accent-1-10);
  box-shadow: var(--glow-accent-1-sm);
}

.method-card:focus-within {
  outline: 2px solid var(--color-accent-2);
  outline-offset: 2px;
}

.btn-block { width: 100%; justify-content: center; }

.custom-order-result {
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.order-success[hidden], .custom-order-result[hidden] { display: none; }

.order-success {
  padding: var(--space-2xl) var(--space-lg);
  border: 1px solid var(--color-accent-1-25);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  text-align: center;
}

.order-success-icon { font-size: 48px; margin-bottom: var(--space-sm); }
.order-success h3 { font-size: var(--text-xl); margin-bottom: var(--space-sm); }
.order-success p { color: var(--color-text-muted); max-width: 44ch; margin: 0 auto var(--space-lg); line-height: var(--leading-relaxed); }

.custom-order-summary {
  white-space: pre-wrap;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  margin: var(--space-sm) 0;
  max-height: 300px;
  overflow-y: auto;
}

.custom-order-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.custom-order-aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.custom-order-aside-card {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.custom-order-aside p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.bulk-order-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.bulk-order-card p { color: var(--color-text-muted); max-width: 46ch; }

/* ===== Доставка ===== */
.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.delivery-card {
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.delivery-card-icon { font-size: var(--text-2xl); margin-bottom: var(--space-sm); }
.delivery-card h3 { font-size: var(--text-lg); font-weight: 500; margin-bottom: var(--space-sm); }
.delivery-card p { color: var(--color-text-muted); margin-bottom: var(--space-sm); line-height: var(--leading-relaxed); }
.delivery-card p:last-child { margin-bottom: 0; }

/* ===== Корзина / чекаут ===== */
.cart-empty {
  text-align: center;
  padding: var(--space-2xl) 0;
  color: var(--color-text-muted);
}

.cart-empty p { margin-bottom: var(--space-md); }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-xl);
  align-items: start;
}

.cart-lines { display: flex; flex-direction: column; gap: var(--space-sm); }

.cart-line {
  display: grid;
  grid-template-columns: 48px 1fr auto auto auto;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.cart-line-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
}

.cart-line-title { font-size: var(--text-sm); font-weight: 500; }
.cart-line-title:hover { color: var(--color-accent-2); }
.cart-line-variant { font-size: var(--text-xs); color: var(--color-text-muted); }
.cart-line-price { font-size: var(--text-xs); color: var(--color-text-muted); }
.cart-line-total { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--color-accent-1); }

.cart-line-remove {
  width: 28px;
  height: 28px;
  background: transparent;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  cursor: pointer;
}

.cart-line-remove:hover { color: var(--color-accent-1); border-color: var(--color-accent-1); }

.cart-summary {
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  position: sticky;
  top: 90px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-base);
}

.checkout-lines {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

#checkoutLayout .cart-summary {
  border-top: 2px solid var(--color-accent-1);
}

#checkoutForm button[type="submit"]:hover {
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
  transform: scale(1.02);
}

@keyframes orderSuccessPop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes orderSuccessGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 107, 0, 0)); }
  50% { filter: drop-shadow(0 0 14px rgba(255, 107, 0, 0.6)); }
}

.order-success:not([hidden]) {
  animation: orderSuccessPop 0.5s var(--ease-out) both;
}

.order-success:not([hidden]) .order-success-icon {
  animation: orderSuccessGlow 1.8s ease-in-out 0.3s 2;
}

@media (prefers-reduced-motion: reduce) {
  .order-success:not([hidden]),
  .order-success:not([hidden]) .order-success-icon {
    animation: none;
  }
}

/* ===== Главная: категории ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-sm);
}

.category-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: border-color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}

.category-tile:hover { border-color: var(--color-accent-1-25); background: var(--color-surface); transform: translateY(-2px); }
.category-tile-icon {
  font-size: 48px;
  line-height: 1;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
}
.category-tile-label { font-size: var(--text-sm); color: var(--color-text); }

@media (max-width: 767px) {
  .categories-grid {
    gap: 12px;
  }
  .category-tile {
    gap: 16px;
    padding: 26px 8px 24px;
    min-height: 160px;
  }
  .category-tile-icon {
    font-size: 80px;
    line-height: 1;
    width: 92px;
    height: 92px;
  }
  .category-tile-label {
    font-size: 15px;
    line-height: 1.25;
  }
}

/* ===== Карусель категорий на главной ===== */
.cat-carousel-section { padding-bottom: var(--space-sm); }

.cat-carousel-wrap {
  position: relative;
  overflow: visible;
  padding: var(--space-sm) 0;
}

/* Скролл-трек: слайды в ряд, видна часть соседей */
.cat-carousel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 calc(50% - 130px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.cat-carousel::-webkit-scrollbar { display: none; }

.cat-slide {
  flex: 0 0 260px;
  width: 260px;
  height: 335px;
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: center;
  text-decoration: none;
  display: block;
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
  opacity: 0.6;
  transform: scale(0.9);
  box-shadow: none;
}

.cat-slide.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.cat-slide-img {
  width: 100%;
  height: 301px;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
}

.cat-slide-img picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-slide-img img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.cat-slide-label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 8px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

/* Стрелки */
.cat-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(18,18,26,0.7);
  backdrop-filter: blur(8px);
  color: var(--color-text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.cat-arrow:hover { background: rgba(255,107,0,0.25); color: var(--color-accent-1); }
.cat-arrow--prev { left: 12px; }
.cat-arrow--next { right: 12px; }

/* Точки */
.cat-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-sm);
  padding-bottom: var(--space-md);
}

.cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--color-border-strong);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cat-dot.active {
  background: var(--color-accent-1);
  transform: scale(1.35);
}

@media (max-width: 480px) {
  .cat-carousel { padding: 0 calc(50% - 110px); gap: 10px; }
  .cat-slide { flex: 0 0 220px; width: 220px; height: 295px; }
  .cat-slide-img { height: 255px; padding: 6px; }
  .cat-slide-label { height: 40px; font-size: 13px; }
  .cat-arrow--prev { left: 6px; }
  .cat-arrow--next { right: 6px; }
}


/* ===== Главная: почему мы ===== */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.why-us-card {
  position: relative;
  min-height: 250px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,107,0,.11), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border: 1px solid rgba(232,232,240,.12);
  border-radius: 10px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  overflow: hidden;
  transition: transform .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

.why-us-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-accent-1), transparent);
}

.why-us-card::after {
  content: "”";
  position: absolute;
  right: 16px;
  bottom: -18px;
  font-family: Georgia, serif;
  font-size: 150px;
  line-height: 1;
  color: rgba(255,107,0,.055);
  pointer-events: none;
}

.why-us-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255,107,0,.4);
  box-shadow: 0 18px 55px rgba(255,107,0,.12);
}

.why-us-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  color: var(--color-text);
}

.why-us-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.65;
}

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

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

  .why-us-card {
    min-height: 170px;
    padding: 14px 12px 12px;
    border-radius: 8px;
    gap: 9px;
  }

  .why-us-card h3 {
    font-size: 14px;
    line-height: 1.25;
  }

  .why-us-card p {
    font-size: 11px;
    line-height: 1.5;
  }
}

/* ===== Блок отзывов ===== */
.reviews-section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.reviews-section-head h2 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: .94;
  letter-spacing: -.045em;
  max-width: none;
  margin-top: 10px;
}

.reviews-section-head h2 span {
  color: var(--color-accent-1);
  text-shadow: 0 0 28px rgba(255,107,0,.22);
}

.reviews-section-lede {
  margin-top: 16px;
  max-width: 54ch;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.65;
}

/* ===== Наш опыт — карточки в стиле отзывов ===== */
.trust-section-head {
  max-width: 760px;
  margin-bottom: 32px;
}
.trust-section-head h2 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: .94;
  letter-spacing: -.045em;
  max-width: none;
  margin-top: 10px;
}
.trust-section-head h2 span {
  color: var(--color-accent-1);
  text-shadow: 0 0 28px rgba(255,107,0,.22);
}
.trust-section-lede {
  margin-top: 16px;
  max-width: 54ch;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.65;
}
.trust-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.trust-stat {
  position: relative;
  min-height: 220px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,107,0,.11), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border: 1px solid rgba(232,232,240,.12);
  border-radius: 10px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  overflow: hidden;
  text-align: left;
  transition: transform .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.trust-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-accent-1), transparent);
}
.trust-stat::after {
  content: "”";
  position: absolute;
  right: 16px;
  bottom: -18px;
  font-family: Georgia, serif;
  font-size: 150px;
  line-height: 1;
  color: rgba(255,107,0,.055);
  pointer-events: none;
}
.trust-stat:hover {
  transform: translateY(-7px);
  border-color: rgba(255,107,0,.4);
  box-shadow: 0 18px 55px rgba(255,107,0,.12);
}
.trust-stat-value {
  position: relative;
  z-index: 1;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  color: var(--color-accent-1);
  line-height: 1;
  letter-spacing: -.03em;
  text-shadow: 0 0 22px rgba(255,107,0,.16);
}
.trust-stat-label {
  position: relative;
  z-index: 1;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.5;
  max-width: 28ch;
}
@media (max-width: 767px) {
  .trust-section-head h2 { font-size: clamp(42px, 13vw, 64px); }
  .trust-section-lede { font-size: 14px; }
  .trust-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .trust-stat {
    min-height: 170px;
    padding: 14px 12px 12px;
    border-radius: 8px;
    gap: 9px;
  }
  .trust-stat-value { font-size: clamp(28px, 8vw, 40px); }
  .trust-stat-label {
    font-size: 11px;
    line-height: 1.45;
  }
}


.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.review-card {
  position: relative;
  min-height: 300px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,107,0,.11), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border: 1px solid rgba(232,232,240,.12);
  border-radius: 10px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  overflow: hidden;
  transition: transform .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

.review-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-accent-1), transparent);
}

.review-card::after {
  content: "”";
  position: absolute;
  right: 16px;
  bottom: -18px;
  font-family: Georgia, serif;
  font-size: 150px;
  line-height: 1;
  color: rgba(255,107,0,.055);
  pointer-events: none;
}

.review-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255,107,0,.4);
  box-shadow: 0 18px 55px rgba(255,107,0,.12);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-stars { display: flex; gap: 3px; }

.review-star {
  color: rgba(232,232,240,.14);
  font-size: 18px;
}

.review-star.filled {
  color: #FF9A00;
  text-shadow: 0 0 10px rgba(255,154,0,.22);
}

.review-source {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent-2);
  background: rgba(0,212,255,.06);
  padding: 5px 9px;
  border-radius: 99px;
  border: 1px solid rgba(0,212,255,.18);
}

.review-text {
  font-size: 15px;
  line-height: 1.72;
  color: var(--color-text);
  flex: 1;
  font-style: normal;
}

.review-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 11px;
}

.review-author {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text);
}

.review-date {
  color: var(--color-text-muted);
  font-family: var(--font-mono);
}

@media (max-width: 1100px) {
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-card { min-height: 0; }
}

@media (max-width: 767px) {
  .reviews-section-head h2 { font-size: clamp(42px, 13vw, 64px); }
  .reviews-section-lede { font-size: 14px; }

  /* На телефоне — компактные карточки 2 × 2, чтобы все отзывы
   * были видны одним блоком без длинного вертикального списка. */
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .review-card {
    min-height: 0;
    padding: 14px 12px 12px;
    gap: 9px;
    border-radius: 8px;
  }

  .review-header {
    gap: 6px;
    align-items: flex-start;
  }

  .review-stars { gap: 1px; }
  .review-star { font-size: 13px; }

  .review-source {
    font-size: 8px;
    letter-spacing: .04em;
    padding: 4px 6px;
    white-space: nowrap;
  }

  .review-text {
    font-size: 12px;
    line-height: 1.5;
  }

  .review-footer {
    gap: 6px;
    padding-top: 9px;
    font-size: 9px;
  }
}

/* ===== Адаптив ===== */
@media (max-width: 767px) {
  .nav-links { display: none; }

  .steps { grid-template-columns: 1fr; }
  .steps-connector { display: none; }
  .materials-grid, .blog-grid { grid-template-columns: 1fr; }

  .products-pin-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .products-track { padding-bottom: var(--space-2xs); }

  .product-detail-grid { grid-template-columns: 1fr; }
  .printer-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .printer-gallery { grid-template-columns: 1fr; }
  .printer-teaser-grid { grid-template-columns: 1fr; }
  .printer-teaser-specs { grid-template-columns: 1fr; }
  .page-hero { padding-top: calc(72px + var(--space-lg)); }
  .hero--printer { padding-top: calc(72px + var(--space-lg)); }

  .custom-order-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .delivery-grid { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-line { grid-template-columns: 40px 1fr; grid-template-areas: "icon body" "icon qty" "icon total"; row-gap: var(--space-2xs); }
  .cart-line-icon { grid-area: icon; }
  .cart-line-body { grid-area: body; }
  .qty-stepper { grid-area: qty; }
  .cart-line-total { grid-area: total; }
  .cart-line-remove { position: absolute; top: var(--space-sm); right: var(--space-sm); }
  .cart-line { position: relative; padding-right: calc(var(--space-sm) + 28px); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .custom-order-teaser, .bulk-order-card { flex-direction: column; align-items: flex-start; }

  .why-us-card { padding: var(--space-sm) var(--space-md); }
  .why-us-icon { margin-bottom: var(--space-2xs); }
}

@media (max-width: 480px) {
  .product-card { width: 240px; }
  .products-track .product-card { width: 240px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-toolbar { flex-direction: column; }
  .catalog-toolbar .catalog-search, .catalog-toolbar .catalog-select { width: 100%; flex-basis: auto; }
}


/* ===== Единый стиль блоков главной: как карточки отзывов ===== */
.steps .review-card { min-height: 300px; justify-content: flex-start; }
.steps .review-card .step-num { position: relative; z-index: 1; }
.printer-equipment-card { padding: 26px; align-items: stretch; display: grid; }
.printer-equipment-card .printer-teaser-photo { border-radius: 7px; }
.custom-order-review-card { padding: 0; min-height: 0; }
.custom-order-review-card .custom-order-teaser { border: 0; background: transparent; box-shadow: none; width: 100%; }
.faq-review-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.faq-review-list .faq-item { margin: 0; min-height: 110px; background: radial-gradient(circle at 100% 0%, rgba(255,107,0,.11), transparent 42%), linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); border: 1px solid rgba(232,232,240,.12); border-radius: 10px; padding: 20px 24px; }
.blog-review-grid .blog-card { border-color: rgba(232,232,240,.12); border-radius: 10px; }
@media (max-width: 767px) { .steps .review-card { min-height: 170px; padding: 14px 12px 12px; } .printer-equipment-card { padding: 14px 12px 12px; } .faq-review-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .faq-review-list .faq-item { min-height: 120px; padding: 14px 12px; border-radius: 8px; } }

/* ===== Унификация заголовков секций по стилю «Что говорят клиенты» ===== */
.section-head:not(.reviews-section-head) {
  max-width: 760px;
  margin-bottom: 32px;
}
.section-head:not(.reviews-section-head) h2 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: .94;
  letter-spacing: -.045em;
  max-width: none;
  margin-top: 10px;
}
.section-head:not(.reviews-section-head) h2 span {
  color: var(--color-accent-1);
  text-shadow: 0 0 28px rgba(255,107,0,.22);
}
.section-head:not(.reviews-section-head) > .lede,
.section-head:not(.reviews-section-head) > p {
  margin-top: 16px;
  max-width: 54ch;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.65;
}
@media (max-width: 767px) {
  .section-head:not(.reviews-section-head) h2 { font-size: clamp(42px, 13vw, 64px); }
  .section-head:not(.reviews-section-head) > .lede,
  .section-head:not(.reviews-section-head) > p { font-size: 14px; }
}


/* ===== FAQ: интерактивный премиум-блок ===== */
.faq-section { position: relative; overflow: hidden; }
.faq-section::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -220px; top: 80px;
  background: radial-gradient(circle, rgba(255,107,0,.10), transparent 68%);
  pointer-events: none;
}
.faq-section-head { max-width: 820px !important; }
.faq-list { display: grid; gap: 12px; position: relative; }
.faq-item {
  margin: 0;
  border: 1px solid rgba(232,232,240,.12);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.faq-item:hover {
  border-color: rgba(255,107,0,.30);
  transform: translateY(-2px);
}
.faq-item[open] {
  border-color: rgba(255,107,0,.42);
  background: linear-gradient(135deg, rgba(255,107,0,.075), rgba(255,255,255,.025));
}
.faq-item summary {
  list-style: none;
  min-height: 82px;
  display: grid;
  grid-template-columns: 52px 1fr 34px;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  cursor: pointer;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-num {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,107,0,.35);
  border-radius: 50%;
  color: var(--color-accent-1);
  font-size: 12px;
  background: rgba(255,107,0,.06);
}
.faq-question {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.faq-plus {
  width: 30px; height: 30px;
  border: 1px solid rgba(232,232,240,.18);
  border-radius: 50%;
  position: relative;
  transition: transform .25s ease, border-color .25s ease;
}
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 11px; height: 1px;
  background: currentColor;
  transform: translate(-50%,-50%);
}
.faq-plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item[open] .faq-plus { transform: rotate(45deg); border-color: rgba(255,107,0,.5); color: var(--color-accent-1); }
.faq-answer {
  padding: 0 74px 24px 92px;
}
.faq-answer p {
  margin: 0;
  max-width: 68ch;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.7;
}
@media (max-width: 767px) {
  .faq-item summary { min-height: 72px; grid-template-columns: 38px 1fr 30px; gap: 12px; padding: 12px 14px; }
  .faq-num { width: 34px; height: 34px; font-size: 10px; }
  .faq-question { font-size: 15px; }
  .faq-answer { padding: 0 18px 18px 64px; }
  .faq-plus { width: 27px; height: 27px; }
}


/* ===== FAQ 2.0: editorial layout ===== */
.faq-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 52%, rgba(255,107,0,.07), transparent 30%),
    radial-gradient(circle at 92% 20%, rgba(0,212,255,.045), transparent 26%);
}
.faq-section::before {
  content: "FAQ";
  position: absolute;
  right: -20px;
  bottom: -70px;
  font-family: var(--font-mono);
  font-size: clamp(150px, 24vw, 340px);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.08em;
  color: rgba(255,255,255,.018);
  pointer-events: none;
}
.faq-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}
.faq-intro {
  position: sticky;
  top: 110px;
}
.faq-intro h2 {
  margin: 12px 0 18px;
  font-size: clamp(48px, 5.7vw, 78px);
  line-height: .9;
  letter-spacing: -.055em;
}
.faq-intro h2 span {
  color: var(--color-accent-1);
  text-shadow: 0 0 30px rgba(255,107,0,.2);
}
.faq-intro > p {
  max-width: 34ch;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.65;
}
.faq-contact {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--color-text);
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(0,212,255,.18);
  border-radius: 14px;
  background: rgba(0,212,255,.035);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.faq-contact:hover {
  transform: translateY(-2px);
  border-color: rgba(0,212,255,.42);
  background: rgba(0,212,255,.07);
}
.faq-contact-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(0,212,255,.1);
  color: var(--color-accent-2);
  font-size: 20px;
}
.faq-contact strong {
  display: block;
  font-size: 13px;
  line-height: 1.2;
}
.faq-contact small {
  display: block;
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 10px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(232,232,240,.12);
}
.faq-item {
  position: relative;
  border: 0;
  border-bottom: 1px solid rgba(232,232,240,.12);
  border-radius: 0;
  background: transparent;
  overflow: hidden;
  transition: background .25s ease;
}
.faq-item:hover,
.faq-item[open] {
  background: rgba(255,255,255,.025);
  transform: none;
}
.faq-item summary {
  min-height: 92px;
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) 34px;
  align-items: center;
  gap: 20px;
  padding: 18px 4px;
}
.faq-num {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: rgba(255,107,0,.75);
  background: transparent;
  font-size: 11px;
}
.faq-item[open] .faq-num { color: var(--color-accent-1); }
.faq-question {
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.55vw, 21px);
  font-weight: 600;
  line-height: 1.25;
}
.faq-plus {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(232,232,240,.18);
  border-radius: 50%;
  color: var(--color-text-muted);
}
.faq-item:hover .faq-plus,
.faq-item[open] .faq-plus {
  border-color: rgba(255,107,0,.5);
  color: var(--color-accent-1);
}
.faq-answer {
  padding: 0 52px 25px 68px;
}
.faq-answer p {
  max-width: 62ch;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .faq-intro { position: static; }
  .faq-intro > p { max-width: 55ch; }
  .faq-contact { margin-top: 20px; }
}
@media (max-width: 767px) {
  .faq-layout { gap: 28px; }
  .faq-intro h2 {
    font-size: clamp(43px, 13vw, 62px);
    line-height: .92;
  }
  .faq-intro > p { font-size: 13px; }
  .faq-contact { margin-top: 18px; }
  .faq-item summary {
    min-height: 72px;
    grid-template-columns: 30px minmax(0,1fr) 28px;
    gap: 10px;
    padding: 14px 0;
  }
  .faq-num { width: 28px; height: 28px; font-size: 9px; }
  .faq-question { font-size: 15px; line-height: 1.3; }
  .faq-answer { padding: 0 32px 18px 40px; }
  .faq-answer p { font-size: 12px; line-height: 1.6; }
  .faq-plus { width: 26px; height: 26px; }
}


/* ===== FAQ 3.0 — крупная editorial-типографика ===== */
.faq-section {
  background: transparent;
}
.faq-section::before {
  content: none !important;
}
.faq-layout {
  grid-template-columns: minmax(330px, .82fr) minmax(0, 1.18fr);
  gap: clamp(70px, 9vw, 150px);
}
.faq-intro {
  top: 120px;
}
.faq-intro .kicker {
  font-size: 12px;
  letter-spacing: .16em;
}
.faq-intro h2 {
  font-size: clamp(58px, 6.4vw, 94px);
  line-height: .88;
  letter-spacing: -.065em;
  margin: 18px 0 24px;
}
.faq-intro > p {
  max-width: 38ch;
  font-size: 17px;
  line-height: 1.65;
}
.faq-contact {
  margin-top: 34px;
  padding: 14px 20px 14px 14px;
  border-radius: 12px;
}
.faq-contact strong {
  font-size: 14px;
}
.faq-contact small {
  font-size: 11px;
}
.faq-list {
  border-top: 1px solid rgba(232,232,240,.18);
}
.faq-item {
  border-bottom: 1px solid rgba(232,232,240,.18);
}
.faq-item summary {
  min-height: 112px;
  grid-template-columns: 44px minmax(0,1fr) 42px;
  gap: 24px;
  padding: 20px 0;
}
.faq-num {
  width: auto;
  height: auto;
  justify-self: start;
  color: rgba(255,107,0,.7);
  font-size: 12px;
  letter-spacing: .04em;
}
.faq-question {
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.faq-plus {
  width: 36px;
  height: 36px;
  justify-self: end;
}
.faq-plus::before,
.faq-plus::after {
  width: 13px;
}
.faq-answer {
  padding: 0 60px 30px 68px;
}
.faq-answer p {
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.7;
}
.faq-item[open] .faq-question {
  color: var(--color-text);
}
@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .faq-intro {
    position: static;
  }
  .faq-intro h2 {
    font-size: clamp(56px, 10vw, 82px);
  }
}
@media (max-width: 767px) {
  .faq-layout {
    gap: 30px;
  }
  .faq-intro h2 {
    font-size: clamp(48px, 14vw, 68px);
    line-height: .9;
    margin: 14px 0 18px;
  }
  .faq-intro > p {
    font-size: 14px;
    line-height: 1.6;
  }
  .faq-item summary {
    min-height: 82px;
    grid-template-columns: 28px minmax(0,1fr) 30px;
    gap: 12px;
    padding: 16px 0;
  }
  .faq-num {
    font-size: 9px;
  }
  .faq-question {
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -.015em;
  }
  .faq-plus {
    width: 28px;
    height: 28px;
  }
  .faq-answer {
    padding: 0 28px 20px 40px;
  }
  .faq-answer p {
    font-size: 14px;
    line-height: 1.6;
  }
}


/* ===== Unified internal-page visual system v1 ===== */
.page-hero {
  padding: clamp(72px, 9vw, 112px) 0 clamp(28px, 4vw, 48px);
  border-bottom: 0;
}

.page-hero::after {
  content: "";
  display: block;
  width: min(180px, 32vw);
  height: 1px;
  margin-top: 30px;
  background: linear-gradient(90deg, var(--color-accent-1), transparent);
  opacity: .75;
}

.page-hero h1 {
  max-width: 900px;
  letter-spacing: -.04em;
  line-height: 1.02;
}

.page-hero .lede { max-width: 680px; }

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

/* Единые «окошки» для внутренних страниц */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.info-card {
  position: relative;
  min-height: 230px;
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}

.info-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -90px;
  bottom: -100px;
  border-radius: 50%;
  background: var(--color-accent-1-10);
  filter: blur(24px);
  pointer-events: none;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-1-25);
  box-shadow: var(--glow-accent-1-sm);
}

.info-card-icon,
.delivery-card-icon,
.printer-spec-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-accent-1-25);
  border-radius: 13px;
  background: var(--color-accent-1-10);
  color: var(--color-accent-1);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  box-shadow: inset 0 0 24px rgba(255,107,0,.04);
}

.info-card h2 {
  font-size: var(--text-xl);
  margin: 0 0 var(--space-xs);
  letter-spacing: -.025em;
}

.info-card p {
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
}

.info-card-link {
  position: relative;
  z-index: 1;
  color: var(--color-accent-2);
  font-size: var(--text-sm);
  font-weight: 600;
}

.info-card-link:hover { color: var(--color-text); }
.info-card--accent { border-color: var(--color-accent-1-25); background: linear-gradient(145deg, var(--color-accent-1-10), var(--color-surface) 65%); }

/* Доставка: карточки теперь выглядят как часть той же дизайн-системы */
.delivery-grid { gap: var(--space-lg); }
.delivery-card {
  position: relative;
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  transition: transform var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.delivery-card:hover { transform: translateY(-3px); border-color: var(--color-accent-1-25); box-shadow: var(--glow-accent-1-sm); }
.delivery-card-icon { margin-bottom: var(--space-md); font-size: 15px; }
.delivery-card h3 { font-size: var(--text-xl); letter-spacing: -.02em; }
.delivery-card p { max-width: 62ch; }

/* Страница принтера */
.printer-specs-grid { gap: var(--space-md); }
.printer-spec-card {
  min-height: 178px;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  transition: transform var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.printer-spec-card:hover { transform: translateY(-3px); border-color: var(--color-accent-1-25); box-shadow: var(--glow-accent-1-sm); }
.printer-spec-icon { margin-bottom: var(--space-sm); }
.printer-spec-value { font-size: var(--text-lg); }

/* Кастомный заказ — форма и подсказки в тех же «окошках» */
.custom-order-form,
.custom-order-aside {
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}
.custom-order-aside { position: sticky; top: 92px; }
.custom-order-aside-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.02);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
}
.custom-order-aside-card .printer-teaser-spec-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-accent-1-25);
  border-radius: 11px;
  color: var(--color-accent-1);
  background: var(--color-accent-1-10);
}

/* Одинаковая визуальная «воздушность» для текстовых документов */
.container--article .article-body {
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255,255,255,.025), rgba(255,255,255,.008));
}

@media (max-width: 1024px) {
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .printer-specs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .page-hero { padding: 56px 0 28px; }
  .page-hero h1 { font-size: clamp(34px, 10vw, 52px); }
  .info-grid { grid-template-columns: 1fr; gap: 12px; }
  .info-card { min-height: 0; padding: 18px; }
  .delivery-grid { grid-template-columns: 1fr; }
  .delivery-card { padding: 18px; }
  .printer-specs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .printer-spec-card { min-height: 155px; padding: 16px 12px; }
  .printer-spec-value { font-size: 15px; }
  .custom-order-layout { grid-template-columns: 1fr; gap: 14px; }
  .custom-order-form, .custom-order-aside { padding: 16px; }
  .custom-order-aside { position: static; }
  .container--article .article-body { padding: 18px; }
}

/* ===== CUSTOM ORDER 2.0 — premium landing ===== */
.custom-hero{position:relative;overflow:hidden;padding:clamp(70px,10vw,130px) 0 70px;background:radial-gradient(circle at 78% 42%,rgba(255,107,0,.10),transparent 30%),radial-gradient(circle at 20% 20%,rgba(0,212,255,.045),transparent 28%);}
.custom-hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:clamp(40px,7vw,110px);align-items:center;}
.custom-hero-copy h1{font-size:clamp(54px,7.2vw,104px);line-height:.88;letter-spacing:-.065em;margin:18px 0 24px;max-width:850px;}
.custom-hero-copy h1 span,.custom-order-heading h2 span,.custom-process-section .section-head h2 span{color:var(--color-accent-1);text-shadow:0 0 30px rgba(255,107,0,.18);}
.custom-hero-copy .lede{max-width:620px;font-size:18px;line-height:1.65;color:var(--color-text-muted);}
.custom-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px;}
.custom-trust-row{display:flex;gap:26px;margin-top:34px;color:var(--color-text-muted);font-family:var(--font-mono);font-size:11px;text-transform:uppercase;letter-spacing:.1em;}
.custom-trust-row b{color:var(--color-accent-1);margin-right:6px;}
.custom-hero-visual{height:510px;position:relative;display:grid;place-items:center;isolation:isolate;}
.custom-visual-orbit{position:absolute;border:1px solid rgba(255,107,0,.22);border-radius:50%;transform:rotate(-18deg);box-shadow:0 0 50px rgba(255,107,0,.06);}
.orbit-a{width:390px;height:250px}.orbit-b{width:280px;height:430px;transform:rotate(58deg);border-color:rgba(0,212,255,.18);}
.custom-visual-core{width:190px;height:190px;border-radius:38px;display:grid;place-items:center;align-content:center;background:linear-gradient(145deg,rgba(255,107,0,.18),rgba(255,255,255,.035));border:1px solid rgba(255,107,0,.42);box-shadow:0 0 80px rgba(255,107,0,.13),inset 0 0 50px rgba(255,107,0,.07);transform:rotate(12deg);z-index:2;}
.custom-visual-core span{font-family:var(--font-heading);font-size:68px;font-weight:700;letter-spacing:-.08em;line-height:.8;transform:rotate(-12deg);}
.custom-visual-core small{font-family:var(--font-mono);font-size:9px;letter-spacing:.22em;color:var(--color-text-muted);margin-top:16px;transform:rotate(-12deg);}
.custom-visual-label{position:absolute;font-family:var(--font-mono);font-size:9px;letter-spacing:.13em;color:var(--color-text-muted);padding:8px 10px;border:1px solid var(--color-border);background:rgba(10,10,15,.7);backdrop-filter:blur(8px);z-index:3;}
.label-a{top:23%;left:4%}.label-b{right:2%;top:31%}.label-c{bottom:21%;left:14%}
.custom-process-section{border-top:1px solid var(--color-border);}
.custom-process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;}
.custom-process-card{min-height:240px;padding:24px;border:1px solid rgba(232,232,240,.12);border-radius:16px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012));position:relative;overflow:hidden;}
.custom-process-card::after{content:"";position:absolute;width:150px;height:150px;right:-80px;bottom:-80px;border-radius:50%;background:rgba(255,107,0,.08);filter:blur(15px);}
.custom-process-card>span{font-family:var(--font-mono);color:var(--color-accent-1);font-size:11px;letter-spacing:.1em;}
.custom-process-card h3{font-size:21px;margin:48px 0 12px;letter-spacing:-.025em;}
.custom-process-card p{font-size:14px;line-height:1.65;color:var(--color-text-muted);max-width:28ch;}
.custom-process-card--accent{border-color:rgba(255,107,0,.28);background:linear-gradient(145deg,rgba(255,107,0,.09),rgba(255,255,255,.015));}
.custom-order-section{background:radial-gradient(circle at 85% 55%,rgba(255,107,0,.065),transparent 35%);}
.custom-order-heading{margin-bottom:34px;max-width:800px;}
.custom-order-heading h2{font-size:clamp(46px,6vw,82px);line-height:.9;letter-spacing:-.06em;margin:14px 0 18px;}
.custom-order-heading p{color:var(--color-text-muted);font-size:16px;}
.custom-order-layout--premium{grid-template-columns:minmax(0,1.25fr) minmax(290px,.75fr);gap:18px;align-items:start;}
.custom-order-form--premium{padding:26px;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.012));box-shadow:0 30px 90px rgba(0,0,0,.18);}
.custom-form-top{display:flex;justify-content:space-between;padding-bottom:18px;margin-bottom:22px;border-bottom:1px solid var(--color-border);font:10px var(--font-mono);letter-spacing:.14em;color:var(--color-text-muted);}
.custom-form-top span:first-child{color:var(--color-accent-1);}
.custom-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.custom-order-form--premium .form-field{margin-bottom:15px;}
.custom-order-form--premium input,.custom-order-form--premium textarea{background:rgba(0,0,0,.18);border-color:rgba(232,232,240,.13);border-radius:10px;padding:14px 15px;}
.custom-order-form--premium input:focus,.custom-order-form--premium textarea:focus{border-color:rgba(255,107,0,.55);box-shadow:0 0 0 3px rgba(255,107,0,.07);}
.custom-file-drop{padding:16px;border:1px dashed rgba(255,107,0,.30);border-radius:12px;background:rgba(255,107,0,.025);}
.custom-file-drop input{margin-top:8px;}
.custom-file-drop strong{display:block;margin-top:7px;font-size:13px;}
.custom-file-drop small{display:block;margin-top:4px;color:var(--color-text-muted);font-size:11px;line-height:1.5;}
.custom-submit{min-height:54px;margin-top:4px;}
.custom-order-aside--premium{padding:24px;position:sticky;top:94px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012));}
.custom-use-list{margin-top:25px;border-top:1px solid var(--color-border);}
.custom-use-list>div{display:flex;align-items:center;gap:15px;padding:17px 0;border-bottom:1px solid var(--color-border);font-size:14px;}
.custom-use-list b{font:11px var(--font-mono);color:var(--color-accent-1);width:24px;}
.custom-aside-note{display:flex;gap:12px;margin-top:22px;padding:14px;border:1px solid rgba(0,212,255,.14);border-radius:12px;background:rgba(0,212,255,.025);}
.custom-aside-note>span{color:var(--color-accent-2);font-size:22px}.custom-aside-note p{margin:0;color:var(--color-text-muted);font-size:12px;line-height:1.55;}
.custom-material-strip{display:grid;grid-template-columns:1fr auto auto;gap:30px;align-items:center;padding:28px 30px;border:1px solid var(--color-border);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.01));}
.custom-material-strip h2{font-size:clamp(24px,3vw,38px);letter-spacing:-.04em;margin-top:10px;}
.custom-materials{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;}
.custom-materials span{padding:9px 13px;border:1px solid var(--color-border-strong);border-radius:99px;font:10px var(--font-mono);color:var(--color-text-muted);}
.custom-materials span:first-child{border-color:rgba(255,107,0,.35);color:var(--color-accent-1);}
@media(max-width:900px){.custom-hero-grid{grid-template-columns:1fr}.custom-hero-visual{height:390px}.custom-process-grid{grid-template-columns:repeat(2,1fr)}.custom-order-layout--premium{grid-template-columns:1fr}.custom-order-aside--premium{position:static}.custom-material-strip{grid-template-columns:1fr;align-items:start}.custom-materials{justify-content:flex-start}}
@media(max-width:767px){.custom-hero{padding:55px 0 30px}.custom-hero-copy h1{font-size:clamp(48px,14vw,72px)}.custom-hero-copy .lede{font-size:15px}.custom-trust-row{gap:12px;font-size:9px}.custom-hero-visual{height:300px}.orbit-a{width:270px;height:175px}.orbit-b{width:190px;height:290px}.custom-visual-core{width:135px;height:135px;border-radius:28px}.custom-visual-core span{font-size:48px}.custom-visual-label{font-size:7px}.label-a{top:10%;left:0}.label-b{right:0;top:28%}.label-c{bottom:12%;left:4%}.custom-process-grid{grid-template-columns:1fr 1fr;gap:9px}.custom-process-card{min-height:190px;padding:16px}.custom-process-card h3{font-size:16px;margin:30px 0 8px}.custom-process-card p{font-size:12px}.custom-order-heading h2{font-size:clamp(45px,13vw,65px)}.custom-form-grid{grid-template-columns:1fr}.custom-order-form--premium{padding:16px}.custom-order-aside--premium{padding:18px}.custom-material-strip{padding:20px 18px}}


/* ===== SITE-WIDE INNER PAGES 3.0 — unified premium system ===== */
body.site-page:not(.page-home) main{position:relative;overflow:hidden;}
body.site-page:not(.page-home) main::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 92% 8%,rgba(255,107,0,.055),transparent 24%),radial-gradient(circle at 5% 38%,rgba(0,212,255,.025),transparent 20%);z-index:0;}
body.site-page:not(.page-home) main>*{position:relative;z-index:1;}
body.site-page .page-hero{padding:clamp(72px,9vw,125px) 0 clamp(46px,6vw,78px);border-bottom:1px solid var(--color-border);background:radial-gradient(circle at 80% 30%,rgba(255,107,0,.10),transparent 28%),linear-gradient(180deg,rgba(255,255,255,.018),transparent);}
body.site-page .page-hero .container{position:relative;}
body.site-page .page-hero .container::after{content:"";display:block;width:min(240px,35vw);height:1px;margin-top:34px;background:linear-gradient(90deg,var(--color-accent-1),transparent);}
body.site-page .page-hero .kicker{display:inline-flex;align-items:center;gap:9px;color:var(--color-accent-1);font-family:var(--font-mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;}
body.site-page .page-hero .kicker::before{content:"/";opacity:.65;}
body.site-page .page-hero h1{font-size:clamp(48px,7vw,96px);line-height:.9;letter-spacing:-.065em;max-width:1000px;margin:18px 0 22px;}
body.site-page .page-hero .lede{max-width:700px;color:var(--color-text-muted);font-size:clamp(15px,1.7vw,19px);line-height:1.65;}
body.site-page .section{padding:clamp(56px,7vw,100px) 0;}
body.site-page .section-head{max-width:900px;margin-bottom:34px;}
body.site-page .section-head .kicker{font:10px var(--font-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--color-accent-1);}
body.site-page .section-head h2{font-size:clamp(34px,5vw,68px);line-height:.94;letter-spacing:-.055em;max-width:900px;margin:12px 0 16px;}
body.site-page .section-head p{color:var(--color-text-muted);max-width:650px;line-height:1.65;}
body.site-page .info-grid,body.site-page .delivery-grid{gap:14px;}
body.site-page .info-card,body.site-page .delivery-card,body.site-page .printer-spec-card,body.site-page .material-card,body.site-page .step,body.site-page .cta-banner{border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012));box-shadow:0 22px 70px rgba(0,0,0,.12);}
body.site-page .info-card:hover,body.site-page .delivery-card:hover,body.site-page .printer-spec-card:hover,body.site-page .material-card:hover{border-color:rgba(255,107,0,.28);transform:translateY(-2px);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;}
body.site-page .info-card-icon,body.site-page .delivery-card-icon,body.site-page .printer-spec-icon{border-radius:12px;background:rgba(255,107,0,.055);border-color:rgba(255,107,0,.20);color:var(--color-accent-1);}
body.site-page .cta-banner{padding:clamp(38px,6vw,80px);text-align:left;}
body.site-page .cta-banner h2{font-size:clamp(30px,5vw,62px);line-height:.95;letter-spacing:-.05em;max-width:750px;}
body.site-page .container--article .article-body{border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.012));border:1px solid var(--color-border);padding:clamp(24px,4vw,52px);box-shadow:0 22px 70px rgba(0,0,0,.12);}
body.site-page .product-grid{gap:14px;}
body.site-page .product-card{border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012));}
body.site-page .cart-layout,body.site-page .checkout-layout{gap:18px;}
body.site-page .cart-summary,body.site-page .checkout-form,body.site-page .checkout-summary{border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012));border:1px solid var(--color-border);box-shadow:0 22px 70px rgba(0,0,0,.12);}
@media(max-width:767px){
 body.site-page .page-hero{padding:58px 0 42px;}
 body.site-page .page-hero h1{font-size:clamp(44px,13vw,68px);}
 body.site-page .page-hero .lede{font-size:15px;}
 body.site-page .section{padding:48px 0;}
 body.site-page .section-head h2{font-size:clamp(32px,10vw,48px);}
}


/* ===== PRINTLAB / 3Д ВЕЩЬ — MASTER MOTION SYSTEM ===== */
:root{
  --motion-fast:.22s;
  --motion-base:.42s;
  --motion-slow:.72s;
}
body.site-page{
  background:
    radial-gradient(circle at 50% -15%,rgba(255,107,0,.045),transparent 34%),
    var(--color-bg);
}
body.site-page .site-header{
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  background:rgba(10,10,15,.72);
  border-bottom-color:rgba(255,107,0,.08);
}
body.site-page .logo{transition:transform var(--motion-base) var(--ease-out),filter var(--motion-base) ease;}
body.site-page .logo:hover{transform:translateY(-1px);filter:drop-shadow(0 0 12px rgba(255,107,0,.28));}
body.site-page .logo-mark{color:var(--color-accent-1);text-shadow:0 0 16px rgba(255,107,0,.35);}
body.site-page .nav-links a{transition:color var(--motion-fast) ease,opacity var(--motion-fast) ease;}
body.site-page .nav-links a:hover,
body.site-page .nav-links a[aria-current="page"]{color:var(--color-accent-1);}
body.site-page .btn{
  position:relative;
  overflow:hidden;
  transition:transform var(--motion-fast) var(--ease-out),box-shadow var(--motion-base) ease,border-color var(--motion-fast) ease;
}
body.site-page .btn::after{
  content:"";
  position:absolute;
  top:-120%;left:-35%;
  width:28%;height:340%;
  transform:rotate(22deg);
  background:rgba(255,255,255,.14);
  transition:left .65s var(--ease-out);
  pointer-events:none;
}
body.site-page .btn:hover{transform:translateY(-2px);}
body.site-page .btn:hover::after{left:125%;}
body.site-page .btn-primary:hover{box-shadow:0 12px 42px rgba(255,107,0,.24),0 0 0 1px rgba(255,107,0,.16);}
body.site-page .page-hero h1,
body.site-page .section-head h2{ text-wrap:balance; }
body.site-page .page-hero h1::selection,
body.site-page h2::selection,
body.site-page h3::selection{background:var(--color-accent-1);color:#0A0A0F;}
body.site-page .page-hero::before{
  content:"";
  position:absolute;inset:0;pointer-events:none;opacity:.18;
  background-image:linear-gradient(rgba(255,107,0,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,107,0,.07) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:linear-gradient(to bottom,black,transparent 85%);
}
body.site-page .info-card,
body.site-page .delivery-card,
body.site-page .printer-spec-card,
body.site-page .material-card,
body.site-page .product-card,
body.site-page .step,
body.site-page .cta-banner,
body.site-page .cart-summary,
body.site-page .checkout-form,
body.site-page .checkout-summary{
  position:relative;
  overflow:hidden;
  transition:transform var(--motion-base) var(--ease-out),border-color var(--motion-base) ease,box-shadow var(--motion-base) ease,background var(--motion-base) ease;
}
body.site-page .info-card::before,
body.site-page .delivery-card::before,
body.site-page .printer-spec-card::before,
body.site-page .material-card::before,
body.site-page .product-card::before,
body.site-page .step::before{
  content:"";
  position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(circle at var(--mx,50%) var(--my,0%),rgba(255,107,0,.12),transparent 32%);
  opacity:0;
  transition:opacity var(--motion-base) ease;
}
body.site-page .info-card:hover::before,
body.site-page .delivery-card:hover::before,
body.site-page .printer-spec-card:hover::before,
body.site-page .material-card:hover::before,
body.site-page .product-card:hover::before,
body.site-page .step:hover::before{opacity:1;}
body.site-page .info-card:hover,
body.site-page .delivery-card:hover,
body.site-page .printer-spec-card:hover,
body.site-page .material-card:hover,
body.site-page .product-card:hover,
body.site-page .step:hover{
  transform:translateY(-6px);
  border-color:rgba(255,107,0,.32);
  box-shadow:0 24px 70px rgba(0,0,0,.22),0 0 34px rgba(255,107,0,.07);
}
body.site-page .info-card-icon,
body.site-page .delivery-card-icon,
body.site-page .printer-spec-icon{
  transition:transform var(--motion-base) var(--ease-out),background var(--motion-base) ease,box-shadow var(--motion-base) ease;
}
body.site-page .info-card:hover .info-card-icon,
body.site-page .delivery-card:hover .delivery-card-icon,
body.site-page .printer-spec-card:hover .printer-spec-icon{
  transform:translateY(-2px) rotate(-3deg);
  background:rgba(255,107,0,.11);
  box-shadow:0 0 24px rgba(255,107,0,.13);
}
body.site-page .reveal-on-scroll{
  opacity:0;
  transform:translateY(26px);
}
body.site-page .reveal-on-scroll.is-revealed{
  opacity:1;
  transform:none;
  transition:opacity .7s ease,transform .8s var(--ease-out);
}
body.site-page .section-divider{
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,107,0,.4),transparent);
}
body.site-page .kicker{color:var(--color-accent-1);}
body.site-page .kicker::before{background:var(--color-accent-1);}
body.site-page .site-footer a:hover{color:var(--color-accent-1);}
body.site-page .site-footer .logo-mark{color:var(--color-accent-1);}

/* Product cards: premium image treatment */
body.site-page .product-card{
  isolation:isolate;
}
body.site-page .product-card img{
  transition:transform .7s var(--ease-out),filter .5s ease;
}
body.site-page .product-card:hover img{
  transform:scale(1.035);
  filter:saturate(1.05) contrast(1.02);
}
body.site-page .product-card .product-price{
  color:var(--color-accent-1);
}
body.site-page input:focus,
body.site-page textarea:focus,
body.site-page select:focus{
  outline:none;
  border-color:rgba(255,107,0,.55);
  box-shadow:0 0 0 3px rgba(255,107,0,.07),0 0 26px rgba(255,107,0,.05);
}
@media(max-width:767px){
  body.site-page .info-card:hover,
  body.site-page .delivery-card:hover,
  body.site-page .printer-spec-card:hover,
  body.site-page .material-card:hover,
  body.site-page .product-card:hover,
  body.site-page .step:hover{transform:translateY(-3px);}
}
@media(prefers-reduced-motion:reduce){
  body.site-page .btn::after,
  body.site-page .page-hero::before,
  body.site-page .info-card::before,
  body.site-page .delivery-card::before,
  body.site-page .printer-spec-card::before,
  body.site-page .material-card::before,
  body.site-page .product-card::before,
  body.site-page .step::before{display:none;}
  body.site-page .reveal-on-scroll{opacity:1;transform:none;}
}

/* ===== Brand detail polish: remove emoji-heavy UI in key trust blocks ===== */
body.site-page .why-us-index,body.site-page .trust-index{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 7px;border:1px solid rgba(255,107,0,.25);border-radius:9px;color:var(--color-accent-1);background:rgba(255,107,0,.055);font-size:10px;letter-spacing:.04em}
body.site-page .review-header{gap:10px}
body.site-page .printer-teaser-spec-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 40px;border:1px solid rgba(255,107,0,.22);border-radius:12px;background:rgba(255,107,0,.055);color:var(--color-accent-1);font-size:10px;transition:transform .35s var(--ease-out),box-shadow .35s ease}
body.site-page .printer-teaser-spec:hover .printer-teaser-spec-icon{transform:translateY(-2px) rotate(-4deg);box-shadow:0 0 24px rgba(255,107,0,.12)}
body.site-page .product-trust-row span{transition:transform .25s ease,border-color .25s ease,background .25s ease}
body.site-page .product-trust-row span:hover{transform:translateY(-2px);border-color:rgba(255,107,0,.24);background:rgba(255,107,0,.035)}
body.site-page .trust-index{margin-right:4px}


/* ===== PRINTLAB HERO SYSTEM 4.0 — page-specific first screens ===== */
body.site-page .premium-page-hero{padding:clamp(66px,8vw,112px) 0 clamp(50px,6vw,82px);position:relative;overflow:hidden;}
body.site-page .premium-page-hero::after{content:"";position:absolute;right:-12vw;top:8%;width:38vw;height:38vw;border:1px solid rgba(255,107,0,.12);border-radius:50%;box-shadow:0 0 100px rgba(255,107,0,.05);pointer-events:none;}
body.site-page .premium-page-hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.72fr);gap:clamp(34px,6vw,100px);align-items:center;position:relative;z-index:1;}
body.site-page .premium-page-hero-copy h1{font-size:clamp(52px,7.5vw,106px);line-height:.87;letter-spacing:-.07em;margin:18px 0 24px;max-width:900px;}
body.site-page .premium-page-hero-copy h1 span,
body.site-page .page-hero--compact h1 span{color:var(--color-accent-1);text-shadow:0 0 32px rgba(255,107,0,.16);}
body.site-page .premium-page-hero-copy .lede{max-width:650px;}
body.site-page .premium-page-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px;}
body.site-page .premium-hero-panel{min-height:360px;padding:22px;border:1px solid rgba(255,107,0,.20);border-radius:20px;background:linear-gradient(145deg,rgba(255,107,0,.065),rgba(255,255,255,.018) 58%,rgba(255,255,255,.008));box-shadow:0 35px 100px rgba(0,0,0,.22);position:relative;overflow:hidden;}
body.site-page .premium-hero-panel::before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent 20%,rgba(255,255,255,.035) 50%,transparent 80%);transform:translateX(-100%);animation:premiumPanelSweep 7s ease-in-out infinite;}
@keyframes premiumPanelSweep{0%,55%{transform:translateX(-100%)}75%,100%{transform:translateX(120%)}}
body.site-page .premium-hero-panel-top,.body.site-page .premium-hero-panel-top{display:flex;justify-content:space-between;font:9px var(--font-mono);letter-spacing:.16em;color:var(--color-text-muted);padding-bottom:16px;border-bottom:1px solid var(--color-border);}
body.site-page .premium-hero-panel-top span:first-child{color:var(--color-accent-1);}
body.site-page .premium-hero-stat-main{display:flex;align-items:flex-end;gap:14px;padding:30px 0 25px;}
body.site-page .premium-hero-stat-main strong{font-size:clamp(64px,8vw,96px);line-height:.75;letter-spacing:-.08em;}
body.site-page .premium-hero-stat-main span{font:11px/1.35 var(--font-mono);color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.1em;}
body.site-page .premium-hero-stat-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--color-border);}
body.site-page .premium-hero-stat-grid div{min-height:78px;padding:14px;border-bottom:1px solid var(--color-border);}
body.site-page .premium-hero-stat-grid div:nth-child(odd){border-right:1px solid var(--color-border);}
body.site-page .premium-hero-stat-grid b,.body.site-page .premium-metric-list b{font:9px var(--font-mono);color:var(--color-accent-1);display:block;margin-bottom:8px;}
body.site-page .premium-hero-stat-grid span{font:10px/1.4 var(--font-mono);color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.07em;}
body.site-page .premium-hero-scan{position:absolute;right:20px;bottom:18px;display:flex;align-items:center;gap:4px;}
body.site-page .premium-hero-scan span{width:3px;height:18px;background:var(--color-accent-1);opacity:.25;animation:scanPulse 1.8s ease-in-out infinite;}
body.site-page .premium-hero-scan span:nth-child(2){height:28px;animation-delay:.15s}.premium-hero-scan span:nth-child(3){height:11px;animation-delay:.3s}
body.site-page .premium-hero-scan em{font:8px var(--font-mono);font-style:normal;color:var(--color-text-muted);margin-left:7px;}
@keyframes scanPulse{50%{opacity:.9;transform:scaleY(1.2)}}
body.site-page .premium-metric-list{margin-top:20px;}
body.site-page .premium-metric-list div{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:end;padding:15px 0;border-bottom:1px solid var(--color-border);}
body.site-page .premium-metric-list b{margin:0;align-self:start;}
body.site-page .premium-metric-list strong{font-size:clamp(25px,3vw,38px);line-height:.9;letter-spacing:-.05em;}
body.site-page .premium-metric-list span{font:9px/1.3 var(--font-mono);color:var(--color-text-muted);text-transform:uppercase;text-align:right;max-width:105px;}
body.site-page .premium-hero-panel--route{min-height:300px;}
body.site-page .route-line{display:flex;align-items:center;gap:0;margin:52px 8px 20px;}
body.site-page .route-line i{width:9px;height:9px;border-radius:50%;border:1px solid var(--color-accent-1);background:var(--color-bg);position:relative;z-index:2;}
body.site-page .route-line i:not(:last-child){flex:1;height:1px;width:auto;border:0;border-radius:0;background:linear-gradient(90deg,rgba(255,107,0,.6),rgba(255,107,0,.15));}
body.site-page .route-stops{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}
body.site-page .route-stops div{padding:10px;border-left:1px solid var(--color-border);}
body.site-page .route-stops b{display:block;color:var(--color-accent-1);font:9px var(--font-mono);}
body.site-page .route-stops span{display:block;margin-top:10px;font:10px var(--font-mono);letter-spacing:.1em;}
body.site-page .route-stops small{display:block;margin-top:5px;color:var(--color-text-muted);font-size:10px;}
body.site-page .premium-hero-note{position:absolute;left:22px;right:22px;bottom:20px;padding-top:13px;border-top:1px solid var(--color-border);font:10px var(--font-mono);color:var(--color-text-muted);}
body.site-page .premium-hero-note strong{color:var(--color-accent-1);}
body.site-page .premium-hero-panel--editorial{min-height:330px;}
body.site-page .editorial-big{display:flex;align-items:flex-end;gap:13px;padding:42px 0 32px;}
body.site-page .editorial-big strong{font-size:clamp(78px,9vw,112px);line-height:.72;letter-spacing:-.09em;}
body.site-page .editorial-big span{font:10px/1.4 var(--font-mono);text-transform:uppercase;color:var(--color-text-muted);}
body.site-page .editorial-tags{display:flex;gap:7px;flex-wrap:wrap;}
body.site-page .editorial-tags span{padding:7px 9px;border:1px solid var(--color-border);font:8px var(--font-mono);letter-spacing:.1em;color:var(--color-text-muted);}
body.site-page .page-hero--compact{padding-bottom:38px;}
body.site-page .checkout-hero-line{display:flex;justify-content:space-between;align-items:center;font:9px var(--font-mono);letter-spacing:.16em;color:var(--color-text-muted);margin-bottom:10px;}
body.site-page .checkout-hero-line .kicker{margin:0;}
body.site-page .checkout-progress{display:flex;align-items:center;gap:10px;margin-top:28px;max-width:680px;}
body.site-page .checkout-progress b{font:9px var(--font-mono);font-weight:400;color:var(--color-text-muted);white-space:nowrap;}
body.site-page .checkout-progress b.is-active{color:var(--color-accent-1);}
body.site-page .checkout-progress>span{height:1px;flex:1;background:var(--color-border);}
body.site-page .product-page-topline{display:flex;justify-content:space-between;padding:0 0 15px;margin-bottom:8px;border-bottom:1px solid var(--color-border);font:9px var(--font-mono);letter-spacing:.15em;color:var(--color-text-muted);}
body.site-page .product-page-topline span:first-child{color:var(--color-accent-1);}
body.site-page .product-detail--premium{padding-top:35px;}
body.site-page .product-detail--premium .product-info h1{letter-spacing:-.055em;}
body.site-page .premium-printer-hero{min-height:min(760px,92vh);position:relative;overflow:hidden;background:radial-gradient(circle at 67% 48%,rgba(255,107,0,.12),transparent 25%),linear-gradient(180deg,#0a0a0f,#0d0d12);}
body.site-page .premium-printer-visual{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:flex-end;pointer-events:none;}
body.site-page .premium-printer-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0a0a0f 0%,rgba(10,10,15,.88) 30%,rgba(10,10,15,.20) 62%,rgba(10,10,15,.55) 100%);z-index:1;}
body.site-page .premium-printer-visual img{width:min(62vw,920px);height:88%;object-fit:contain;object-position:center bottom;position:relative;z-index:0;filter:drop-shadow(0 35px 65px rgba(0,0,0,.55));}
body.site-page .printer-hero-gridlines{position:absolute;inset:0;background-image:linear-gradient(rgba(255,107,0,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,107,0,.055) 1px,transparent 1px);background-size:80px 80px;mask-image:linear-gradient(90deg,transparent,black 40%,black 75%,transparent);z-index:2;}
body.site-page .premium-printer-content{position:relative;z-index:3;padding-top:clamp(120px,16vh,180px);padding-bottom:clamp(90px,13vh,150px);}
body.site-page .premium-printer-topline{display:flex;justify-content:space-between;max-width:650px;padding-bottom:14px;margin-bottom:25px;border-bottom:1px solid rgba(255,107,0,.22);font:9px var(--font-mono);letter-spacing:.16em;color:var(--color-text-muted);}
body.site-page .premium-printer-topline span:first-child{color:var(--color-accent-1);}
body.site-page .premium-printer-content h1{font-size:clamp(48px,6.8vw,92px);line-height:.88;letter-spacing:-.065em;max-width:760px;}
body.site-page .premium-printer-content h1 span{color:var(--color-accent-1);}
body.site-page .premium-printer-content .lede{max-width:560px;font-size:17px;line-height:1.6;}
body.site-page .premium-printer-specline{display:flex;gap:22px;flex-wrap:wrap;margin-top:30px;padding-top:16px;border-top:1px solid var(--color-border);max-width:650px;font:9px var(--font-mono);color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.08em;}
body.site-page .premium-printer-specline b{display:block;color:var(--color-accent-1);font-size:20px;letter-spacing:-.03em;margin-bottom:3px;}
@media(max-width:900px){
 body.site-page .premium-page-hero-grid{grid-template-columns:1fr;}
 body.site-page .premium-hero-panel{min-height:300px;}
 body.site-page .premium-page-hero-copy h1{max-width:760px;}
 body.site-page .premium-printer-hero{min-height:680px;}
 body.site-page .premium-printer-visual img{width:85vw;height:62%;opacity:.72;}
 body.site-page .premium-printer-visual::after{background:linear-gradient(180deg,#0a0a0f 0%,rgba(10,10,15,.78) 42%,rgba(10,10,15,.45) 72%,#0a0a0f 100%);}
}
@media(max-width:767px){
 body.site-page .premium-page-hero{padding:52px 0 42px;}
 body.site-page .premium-page-hero-grid{gap:28px;}
 body.site-page .premium-page-hero-copy h1{font-size:clamp(48px,14vw,72px);}
 body.site-page .premium-page-hero-actions{margin-top:22px;}
 body.site-page .premium-hero-panel{min-height:270px;padding:17px;border-radius:16px;}
 body.site-page .premium-hero-stat-main{padding:25px 0 20px;}
 body.site-page .premium-hero-stat-main strong{font-size:68px;}
 body.site-page .premium-hero-stat-grid div{min-height:68px;padding:11px;}
 body.site-page .premium-metric-list div{grid-template-columns:25px 1fr auto;padding:13px 0;}
 body.site-page .premium-metric-list strong{font-size:27px;}
 body.site-page .premium-metric-list span{font-size:8px;}
 body.site-page .route-line{margin:38px 6px 14px;}
 body.site-page .route-stops span{font-size:8px;}
 body.site-page .route-stops small{font-size:8px;}
 body.site-page .checkout-progress{gap:5px;margin-top:20px;}
 body.site-page .checkout-progress b{font-size:7px;}
 body.site-page .product-page-topline{font-size:8px;}
 body.site-page .premium-printer-hero{min-height:650px;}
 body.site-page .premium-printer-content{padding-top:92px;padding-bottom:70px;}
 body.site-page .premium-printer-content h1{font-size:clamp(45px,13vw,68px);}
 body.site-page .premium-printer-content .lede{font-size:15px;}
 body.site-page .premium-printer-specline{gap:13px;margin-top:22px;}
 body.site-page .premium-printer-specline b{font-size:16px;}
}
@media(prefers-reduced-motion:reduce){
 body.site-page .premium-hero-panel::before,body.site-page .premium-hero-scan span{animation:none;}
}


/* ===== DELIVERY / PAYMENT — custom-order visual language ===== */
body.site-page .delivery-custom-hero .custom-hero-copy h1 span{color:var(--color-accent-1);}
body.site-page .delivery-hero-visual{min-height:430px;}
body.site-page .delivery-visual-core{width:190px;height:190px;}
body.site-page .delivery-visual-core span{font:700 24px var(--font-mono);letter-spacing:-.04em;}
body.site-page .delivery-visual-core small{font-size:8px;letter-spacing:.18em;}
body.site-page .delivery-premium-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
body.site-page .delivery-premium-card{position:relative;display:grid;grid-template-columns:54px 1fr;gap:18px;min-height:220px;padding:24px;border:1px solid var(--color-border);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.025),rgba(255,107,0,.018));overflow:hidden;transition:transform var(--motion-base) var(--ease-out),border-color var(--motion-base) ease,box-shadow var(--motion-base) ease;}
body.site-page .delivery-premium-card::after{content:"";position:absolute;inset:auto -15% -55% 35%;height:150px;background:radial-gradient(circle,rgba(255,107,0,.12),transparent 68%);pointer-events:none;}
body.site-page .delivery-premium-card:hover{transform:translateY(-5px);border-color:rgba(255,107,0,.32);box-shadow:0 24px 70px rgba(0,0,0,.24),0 0 35px rgba(255,107,0,.06);}
body.site-page .delivery-premium-number{font:700 11px var(--font-mono);color:var(--color-accent-1);width:42px;height:42px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,107,0,.25);border-radius:11px;background:rgba(255,107,0,.055);}
body.site-page .delivery-premium-card h3{font-size:clamp(22px,3vw,32px);letter-spacing:-.035em;margin:2px 0 10px;}
body.site-page .delivery-premium-card p{color:var(--color-text-muted);line-height:1.65;font-size:14px;max-width:52ch;}
body.site-page .delivery-premium-meta{grid-column:2;display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding-top:13px;border-top:1px solid var(--color-border);font:9px var(--font-mono);letter-spacing:.12em;color:var(--color-text-muted);}
body.site-page .delivery-premium-meta strong{color:var(--color-accent-1);font-weight:500;}
body.site-page .delivery-premium-card--accent{border-color:rgba(255,107,0,.24);background:linear-gradient(145deg,rgba(255,107,0,.08),rgba(255,255,255,.018));}
@media(max-width:767px){
  body.site-page .delivery-premium-grid{grid-template-columns:1fr;}
  body.site-page .delivery-premium-card{grid-template-columns:44px 1fr;padding:18px;min-height:0;}
  body.site-page .delivery-premium-number{width:38px;height:38px;}
  body.site-page .delivery-premium-card h3{font-size:24px;}
  body.site-page .delivery-premium-card p{font-size:13px;}
  body.site-page .delivery-premium-meta{grid-column:2;}
  body.site-page .delivery-hero-visual{min-height:330px;}
}


/* ===== EQUIPMENT HERO — photo follows the text ===== */
body.site-page .premium-printer-hero{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-height:0;}
body.site-page .premium-printer-content{order:1;width:100%;}
body.site-page .premium-printer-visual{order:2;position:relative;inset:auto;min-height:430px;width:100%;align-items:flex-end;justify-content:center;margin-top:-10px;}
body.site-page .premium-printer-visual::after{background:linear-gradient(180deg,#0a0a0f 0%,rgba(10,10,15,.05) 28%,rgba(10,10,15,.08) 72%,#0a0a0f 100%);}
body.site-page .premium-printer-visual img{width:min(820px,78vw);height:430px;object-position:center bottom;}
body.site-page .premium-printer-content{padding-bottom:30px;}
@media(max-width:767px){
  body.site-page .premium-printer-visual{min-height:310px;margin-top:0;}
  body.site-page .premium-printer-visual img{width:94vw;height:310px;}
  body.site-page .premium-printer-content{padding-bottom:22px;}
}


/* Поле желаемого цвета для индивидуального заказа в корзине */
.cart-desired-color { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 4px; max-width: 420px; color: var(--color-text-muted); font-size: var(--text-xs); }
.cart-desired-color input { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--color-border-strong, var(--color-border)); border-radius: 10px; background: rgba(255,255,255,.035); color: var(--color-text); font: inherit; font-size: var(--text-sm); }
.cart-desired-color input:focus { outline: 2px solid var(--color-accent-1); outline-offset: 2px; }
@media (max-width: 767px) { .product-actions { display: grid; grid-template-columns: 1fr; } .product-actions .btn { width: 100%; } .cart-desired-color { max-width: 100%; } }


/* ===== Product purchase panel: premium controls directly below the image ===== */
.product-detail--premium .product-gallery {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}
.product-purchase-panel {
  position: relative;
  margin-top: 18px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(255,107,0,.25);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 0 0, rgba(255,107,0,.10), transparent 58%),
    linear-gradient(145deg, rgba(24,24,29,.96), rgba(13,13,18,.96));
  box-shadow: 0 16px 42px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.045);
}
.product-purchase-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: var(--color-text-muted);
  font: 600 10px/1.4 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.product-purchase-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #75d6a0;
  box-shadow: 0 0 12px rgba(117,214,160,.5);
}
.product-purchase-panel .qty-stepper {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 42px;
  margin: 0 0 14px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(0,0,0,.2);
}
.product-purchase-panel .qty-btn {
  width: 34px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.045);
  color: var(--color-text);
  font-size: 20px;
  transition: background .2s ease, color .2s ease;
}
.product-purchase-panel .qty-btn:hover {
  background: rgba(255,107,0,.14);
  color: var(--color-accent-1);
}
.product-purchase-panel .qty-value {
  width: 42px;
  min-height: 32px;
  border: 0;
  background: transparent;
  color: var(--color-text);
  text-align: center;
  font: 600 14px var(--font-mono);
}
.product-purchase-panel .product-actions {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 9px;
  margin: 0;
}
.product-purchase-panel .product-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.product-purchase-panel .product-actions .btn:hover {
  transform: translateY(-2px);
}
.product-purchase-panel .product-actions #addToCartBtn {
  border: 1px solid rgba(255,142,48,.8);
  background: linear-gradient(135deg, #ff8b2c, #ff6200);
  color: #17100a;
  box-shadow: 0 8px 22px rgba(255,107,0,.2);
}
.product-purchase-panel .product-actions #addToCartBtn:hover {
  box-shadow: 0 11px 28px rgba(255,107,0,.3);
}
.product-purchase-panel .product-actions #buyNowBtn {
  border: 1px solid rgba(255,255,255,.17);
  background: rgba(255,255,255,.055);
  color: var(--color-text);
}
.product-purchase-panel .product-actions #buyNowBtn:hover {
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.09);
}
.product-purchase-panel .product-actions .product-other-color-btn {
  grid-column: 1 / -1;
  border: 1px solid rgba(255,107,0,.32);
  background: linear-gradient(110deg, rgba(255,107,0,.09), rgba(255,255,255,.025));
  color: #ffb36f;
}
.product-purchase-panel .product-actions .product-other-color-btn:hover {
  border-color: rgba(255,107,0,.6);
  background: rgba(255,107,0,.12);
}
.product-purchase-note {
  margin: 13px 0 0;
  color: var(--color-text-muted);
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
}
@media (max-width: 767px) {
  .product-purchase-panel {
    margin-top: 12px;
    padding: 15px;
    border-radius: 15px;
  }
  .product-purchase-label { margin-bottom: 12px; font-size: 9px; }
  .product-purchase-panel .product-actions { gap: 8px; }
  .product-purchase-panel .product-actions .btn {
    min-height: 48px;
    padding: 11px 9px;
    border-radius: 10px;
    font-size: 12px;
  }
  .product-purchase-panel .product-actions .product-other-color-btn { min-height: 44px; }
  .product-purchase-note { font-size: 9px; }
}


/* ===== Catalog conversion polish: price + clear purchase action ===== */
body.site-page .catalog-grid .product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  border-color: rgba(255,255,255,.10);
  background: linear-gradient(155deg, rgba(255,255,255,.045), rgba(255,255,255,.012) 72%);
}
body.site-page .catalog-grid .product-card:hover {
  border-color: rgba(255,107,0,.42);
  box-shadow: 0 18px 42px rgba(0,0,0,.24), 0 0 24px rgba(255,107,0,.055);
}
body.site-page .catalog-grid .product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0;
  padding: 14px;
}
body.site-page .catalog-grid .product-card-title {
  display: -webkit-box;
  min-height: 2.7em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.015em;
}
body.site-page .catalog-grid .product-card-desc {
  display: -webkit-box;
  min-height: 2.7em;
  margin-bottom: 14px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--color-text-muted);
  font-size: 11px;
  line-height: 1.4;
}
body.site-page .catalog-grid .product-card-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.075);
}
body.site-page .catalog-grid .product-card-price {
  flex: 1 1 100%;
  color: #ff9a45;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.045em;
}
body.site-page .catalog-grid .btn-cart-add {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(255,142,48,.75);
  border-radius: 10px;
  background: linear-gradient(135deg, #ff8b2c, #ff6200);
  box-shadow: 0 6px 18px rgba(255,107,0,.13);
  color: #17100a;
  font-size: 12px;
  font-weight: 750;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
body.site-page .catalog-grid .btn-cart-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 24px rgba(255,107,0,.23);
  color: #17100a;
}
body.site-page .catalog-grid .btn-cart-add.added {
  border-color: rgba(117,214,160,.55);
  background: rgba(117,214,160,.13);
  color: #a8efc5;
  box-shadow: none;
}
@media (max-width: 767px) {
  body.site-page .catalog-grid .product-card-body { padding: 10px; }
  body.site-page .catalog-grid .product-card-title { font-size: 12px; }
  body.site-page .catalog-grid .product-card-desc { font-size: 10px; margin-bottom: 10px; }
  body.site-page .catalog-grid .product-card-price { font-size: 19px; }
  body.site-page .catalog-grid .btn-cart-add { min-height: 40px; padding: 9px 8px; font-size: 11px; }
}


/* Product cards: keep navigation links separate from the cart button. */
body.site-page .product-card-image-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
body.site-page .product-card-title-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
body.site-page .product-card-title-link:hover .product-card-title {
  color: var(--color-accent-1);
}
body.site-page .product-card-title-link:focus-visible,
body.site-page .product-card-image-link:focus-visible {
  outline: 2px solid var(--color-accent-1);
  outline-offset: -3px;
  border-radius: 8px;
}
