/* Дополнительные стили поверх theme.css (не менять theme.css — он из исходного шаблона) */

/* не оптимизируем экраны уже 360px: появляется горизонтальная прокрутка */
html { min-width: 360px; }

[hidden] {
  display: none !important;
}

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

/* Резервные стили меню: в оригинале их вставлял InSales для работы без JS.
   Класс insales-menu--loaded нашим меню не добавляется, поэтому правила действуют. */
.menu:not(.insales-menu--loaded) {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  box-shadow: none;
  background: transparent;
  width: auto;
}
/* главное меню — в строку */
.main-menu.menu:not(.insales-menu--loaded) {
  display: flex;
  flex-flow: row wrap;
}
/* меню в подвале и боковые меню — в столбик (как на исходном сайте) */
.footer-menu.menu:not(.insales-menu--loaded),
.sidebar-menu.menu:not(.insales-menu--loaded),
.mobile-sidebar-menu.menu:not(.insales-menu--loaded) {
  display: flex;
  flex-direction: column;
}
.menu:not(.insales-menu--loaded) .menu-link {
  display: block;
}

/* ---------- корзина в шапке ---------- */
.shopcart-widget-count:empty {
  display: none;
}

/* ---------- модальные окна ---------- */
.m-overlay.is-active {
  display: block;
}
.m-modal.is-active {
  display: block;
}
.m-modal .m-input {
  margin-bottom: 0.75rem;
}
.m-modal .m-input-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 13px;
  color: #555;
}
.m-modal .m-input-field {
  width: 100%;
  box-sizing: border-box;
}
.form-note {
  margin: 0.75rem 0 0;
  font-size: 11px;
  color: #888;
  text-align: center;
}
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.m-modal-errors {
  color: #a94442;
  padding: 0.5rem 0.75rem;
  font-size: 13px;
}

/* ---------- корзина ---------- */
.js-cart {
  margin: 1.5rem 0 3rem;
}
.cart-item .item {
  align-items: center;
}
.cart-item-image img {
  display: block;
  max-width: 100%;
  height: auto;
}
.cart-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #d8d8d8;
}
.cart-total {
  font-size: 22px;
  font-weight: 600;
}
.cart-checkout {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cart-continue {
  color: #2d2d2d;
  text-decoration: underline;
  font-size: 14px;
}
.cart-item .item-delete {
  cursor: pointer;
  color: #999;
  font-size: 18px;
  background: none;
  border: 0;
}
.cart-item .counter {
  display: inline-flex;
  align-items: center;
}
.product-buy-message {
  margin-top: 0.75rem;
  font-size: 14px;
  color: #2e7d32;
}

/* ---------- кнопка "оставить заявку" в футере ---------- */
.footer-message .messenger-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
}

/* ---------- галерея товара ----------
   В оригинале миниатюры раскладывал JS-слайдер Swiper; здесь раскладка на CSS,
   а переключение главной картинки делает site.js.
   Стрелки живут в padding обёртки, а не в прокручиваемой области,
   поэтому при прокрутке миниатюр остаются на месте. */
.gallery-thumbs-wrapper {
  flex: 0 0 96px;
  position: relative;
  padding: 34px 0 44px;
}
.gallery-thumbs {
  width: 96px;
  height: 468px;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  scrollbar-width: none;
}
/* тема прячет [data-slider-controls] до инициализации Swiper — показываем обратно */
.gallery-thumbs-wrapper .gallery-thumbs {
  height: 468px;
  margin-top: 0;
}
.gallery-thumbs-wrapper .gallery-nav {
  display: block;
}
.gallery-thumbs::-webkit-scrollbar {
  display: none;
}
.gallery-thumbs .swiper-wrapper {
  display: flex;
  flex-direction: column;
}
.gallery-thumbs .swiper-slide,
.gallery-thumbs [data-slider-slide] {
  flex: 0 0 100px;
  width: 96px;
  height: 100px;
  padding: 4px;
  box-sizing: border-box;
}
.gallery-thumbs .swiper-slide img,
.gallery-thumbs [data-slider-slide] img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.gallery-thumbs [data-slider-slide] .image-container,
.gallery-thumbs .swiper-slide .image-container {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 !important;
}
.gallery-thumbs .swiper-slide.is-active .image-container {
  box-shadow: 0 0 0 1px #cfcfcf;
}

/* Стрелки листания: круглые, с чёткой SVG-галочкой (маска, не картинка). */
.gallery-thumbs-wrapper .gallery-nav {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}
.gallery-thumbs-wrapper .gallery-nav button {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  background-color: #f5f5f7;
  background-image: none;
  box-shadow: none;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease,
    transform 0.12s ease;
}
.gallery-thumbs-wrapper .gallery-nav button::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #1d1d1f;
  -webkit-mask: var(--chev) center / 13px 8px no-repeat;
  mask: var(--chev) center / 13px 8px no-repeat;
}
.gallery-thumbs-wrapper .gallery-nav .product-slider-prev {
  top: 0;
  bottom: auto;
  --chev: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 6.6 6 1.6l5 5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.gallery-thumbs-wrapper .gallery-nav .product-slider-next {
  top: auto;
  bottom: 0;
  --chev: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1.4 6 6.4l5-5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.gallery-thumbs-wrapper .gallery-nav button:hover {
  background-color: #e8e8ed;
}
.gallery-thumbs-wrapper .gallery-nav button:active {
  transform: translateX(-50%) scale(0.94);
}
.gallery-thumbs-wrapper .gallery-nav button:disabled {
  cursor: default;
  background-color: #fafafa;
  border-color: rgba(0, 0, 0, 0.04);
}
.gallery-thumbs-wrapper .gallery-nav button:disabled::before {
  opacity: 0.28;
}
.gallery-thumbs-wrapper .gallery-nav button:focus-visible {
  outline: 2px solid #0070dc;
  outline-offset: 2px;
}

/* ---------- шапка и липкие полосы ----------
   Шапка прилипает штатным position: sticky — без JS и без рывков.
   Цвет постоянный (#2b2b2b — тот же, что был виден на экране из-за прозрачности 0.92),
   поэтому при прокрутке полоса не темнеет. */
.top-panel-wrapper {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color: #2b2b2b;
}

/* Хлебные крошки: одна липкая полоса на всех страницах — белая, по центру. */
.stbr,
.stbr--stack {
  position: -webkit-sticky;
  position: sticky;
  top: var(--header-h, 44px);
  z-index: 9000;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  height: auto;
  min-height: 60px;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

/* Полоса с названием модели — тоже под шапкой (она изначально sticky). */
.carttitle1 {
  top: var(--header-h, 44px);
}

/* ---------- карточка товара в каталоге ----------
   Картинка должна лежать поверх «квадратной» подложки (padding-top: 80%),
   иначе она добавляет высоту и уезжает вниз. */
.product-card-photo {
  position: relative;
}
.product-card-photo .product-card-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

/* ---------- снятые с производства: без цен и кнопок покупки ---------- */
.discontinued-note {
  margin: 0.85rem 0 0.1rem;
  font-size: 13px;
  line-height: 1.4;
  color: #8e8e93;
  text-align: center;
}
.product-more {
  display: block;
  margin: 0.45rem auto 0;
  font-size: 13px;
  line-height: 1.4;
  color: #6e6e73;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}
.product-more:hover {
  color: #1d1d1f;
}

/* ---------- всплывающее уведомление ---------- */
.zb-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: #2d2d2d;
  color: #fff;
  padding: 12px 22px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 120000;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.zb-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- dev-индикатор ---------- */
.dev-badge {
  position: fixed;
  bottom: 8px;
  left: 8px;
  z-index: 99999;
  background: #111;
  color: #0f0;
  font: 11px/1.4 monospace;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0.75;
}

/* ---------- эксперимент: правый блок карточки товара ---------- */
.pp {
  max-width: 360px;
  color: #1d1d1f;
  -webkit-font-smoothing: antialiased;
}
.pp-top { margin-bottom: 16px; }
.pp-version {
  font-size: 13px;
  color: #86868b;
  letter-spacing: 0.01em;
}
.pp-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 22px;
}
.pp-price-old {
  font-size: 15px;
  color: #86868b;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.pp-price-now {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.pp-form { margin: 0 0 4px; }
.pp-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 14px;
  background: #0071e3;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.12s ease;
}
.pp-buy:hover { background: #0077ed; }
.pp-buy:active { transform: scale(0.99); }
.pp-buy:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; }
.pp-buy-arrow { transition: transform 0.18s ease; }
.pp-buy:hover .pp-buy-arrow { transform: translateX(3px); }
.pp-ship {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0 18px;
  font-size: 13px;
  line-height: 1.35;
  color: #86868b;
  border-bottom: 1px solid #e8e8ed;
}
.pp-ship svg { flex: 0 0 auto; color: #a1a1a6; }
.pp-desc {
  margin: 18px 0;
  font-size: 15px;
  line-height: 1.55;
  color: #424245;
}
.pp-desc strong { color: #1d1d1f; font-weight: 600; }
.pp-facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pp-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-size: 14px;
  background: #f5f5f7;
  border-radius: 12px;
}
.pp-fact svg { flex: 0 0 auto; color: #0071e3; }
.pp-doc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  color: #1d1d1f;
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pp-doc:hover { border-color: #86868b; background: #fafafa; }
.pp-doc svg { flex: 0 0 auto; color: #0071e3; }
.pp-doc-text { display: flex; flex-direction: column; line-height: 1.25; }
.pp-doc-text small { color: #86868b; font-size: 12px; }
/* ---------- эксперимент: правый блок карточки товара ---------- */
.pp {
  max-width: 360px;
  color: #1d1d1f;
  -webkit-font-smoothing: antialiased;
}
.pp-top { margin-bottom: 16px; }
.pp-version {
  font-size: 13px;
  color: #86868b;
  letter-spacing: 0.01em;
}
.pp-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 22px;
}
.pp-price-old {
  font-size: 15px;
  color: #86868b;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.pp-price-now {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.12;
  color: #5b5b5b;
}
.pp-form { margin: 0 0 4px; }
.pp-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 6px;
  background: #3b93d6;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s ease;
}
.pp-buy:hover { background: #2c89d0; }
.pp-buy:active { background: #2680c4; }
.pp-buy:focus-visible { outline: 2px solid #2c89d0; outline-offset: 3px; }
.pp-ship {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0 18px;
  font-size: 13px;
  line-height: 1.35;
  color: #86868b;
  border-bottom: 1px solid #e8e8ed;
}
.pp-ship svg { flex: 0 0 auto; color: #a1a1a6; }
.pp-desc {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: #424245;
}
.pp-desc strong { color: #1d1d1f; font-weight: 600; }
.pp-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-top: 18px;
}
.pp-meta-row {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: #2d2d2d;
}
.pp-meta-link {
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}
.pp-meta-link:hover { color: #2c89d0; }
.pp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: #2c89d0;
}
/* ---------- вариант C: правый блок в стилистике Apple ---------- */
.px {
  max-width: 360px;
  color: #1d1d1f;
  -webkit-font-smoothing: antialiased;
}
.px-version {
  margin: 0 0 18px;
  font-size: 13px;
  color: #86868b;
}
.px-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}
.px-price-old {
  font-size: 14px;
  color: #86868b;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.px-cur {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 0.94em;
}
.px-price-now {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #5b5b5b;
}
.px-form { margin: 0; }
.px-buy {
  width: 240px;
  max-width: 100%;
  height: 48px;
  border: 0;
  border-radius: 980px;
  background: #3b93d6;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
}
.px-buy:hover { background: #2c89d0; }
.px-buy:active { background: #2680c4; }
.px-buy:focus-visible { outline: 2px solid #2c89d0; outline-offset: 3px; }
.px-ship {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #6e6e73;
}
.px-desc {
  margin: 28px 0 0;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  color: #1d1d1f;
}
.px-desc strong { font-weight: 600; }
.px-highlights {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.px-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 1.35;
  color: #1d1d1f;
}
.px-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  color: #2c89d0;
}
.px-ico svg { width: 26px; height: 26px; }
.px-links {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #e5e5ea;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.px-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #0066cc;
  text-decoration: none;
}
.px-link:hover { text-decoration: underline; }
.px-note {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6e6e73;
}

/* ---------- вариант D: стилистика DJI ---------- */
.dj {
  max-width: 360px;
  color: #000;
  -webkit-font-smoothing: antialiased;
}
.dj-version {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #8a8a8a;
}
.dj-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 22px;
}
.dj-price-now {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.dj-price-old {
  font-size: 14px;
  color: #9a9a9a;
  text-decoration: line-through;
}
.dj-form { margin: 0; }
.dj-buy {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 100px;
  background: #000;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
}
.dj-buy:hover { background: #1d1d1f; }
.dj-buy:active { background: #333; }
.dj-ship {
  margin: 12px 0 0;
  font-size: 12px;
  color: #8a8a8a;
}
.dj-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 26px 0 0;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
}
.dj-spec {
  padding: 18px 10px 16px;
  border-right: 1px solid #e6e6e6;
}
.dj-spec:last-child { border-right: 0; }
.dj-spec b {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.dj-spec span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.3;
  color: #8a8a8a;
}
.dj-links {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dj-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #000;
  text-decoration: none;
}
.dj-link:hover { text-decoration: underline; }
.dj-note {
  margin: 0;
  font-size: 12px;
  color: #8a8a8a;
}

/* ---------- вариант E: стилистика Samsung ---------- */
.ss {
  max-width: 360px;
  color: #000;
  -webkit-font-smoothing: antialiased;
}
.ss-version {
  margin: 0 0 14px;
  font-size: 12px;
  color: #767676;
}
.ss-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 18px;
}
.ss-price-old {
  font-size: 14px;
  color: #767676;
  text-decoration: line-through;
}
.ss-price-now {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.ss-form { margin: 0; }
.ss-buy {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 8px;
  background: #1428a0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
}
.ss-buy:hover { background: #0f1f80; }
.ss-buy:active { background: #0c1a6b; }
.ss-ship {
  margin: 12px 0 0;
  font-size: 12px;
  color: #767676;
}
.ss-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 22px 0 0;
}
.ss-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #f7f7f7;
  border-radius: 12px;
  font-size: 14px;
}
.ss-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: #1428a0;
}
.ss-links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ss-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1428a0;
  text-decoration: none;
}
.ss-link:hover { text-decoration: underline; }
.ss-note {
  margin: 0;
  font-size: 12px;
  color: #767676;
}

/* ---------- вариант C: галерея под скруглённую кнопку ---------- */
.px-hero > .product-gallery-wrapper {
  flex: 0 0 72%;
  max-width: 72%;
}
.px-hero > .cartright1_1 {
  flex: 0 0 28%;
  max-width: 28%;
}
.px-hero .product-gallery {
  gap: 32px;
  align-items: flex-start;
}
.px-hero .product-gallery-wrapper {
  padding-right: 44px;
}
.px-hero .gallery-main-wrapper {
  margin-top: 0;
  padding: 26px;
  background: #f5f5f7;
  border-radius: 24px;
  box-sizing: border-box;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.px-hero .gallery-main-wrapper .image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.px-hero .gallery-main-wrapper img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
}
.px-hero .gallery-thumbs [data-slider-slide] .image-container {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  padding: 6px !important;
  box-sizing: border-box;
}
.px-hero .gallery-thumbs .swiper-slide.is-active .image-container {
  box-shadow: 0 0 0 1px #3b93d6;
}
.px-hero .gallery-thumbs-wrapper {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* «Очистить корзину» — тихая ссылка под кнопкой */
.cart-clear {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: #86868b;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.cart-clear:hover { color: #1d1d1f; }

/* ---------- вариант C: вкладки-закладки ---------- */
.px-tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 2px;
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
}

.px-tabs > label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  margin: 0 !important;
  border: 1px solid transparent;
  border-bottom: 0 !important;
  border-radius: 12px 12px 0 0;
  background: transparent;
  color: #6e6e73;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.px-tabs > label::after { display: none !important; }
.px-tabs > label:hover { background: #f5f5f7; color: #1d1d1f; }
.px-tabs > input:checked + label {
  background: #fff;
  color: #1d1d1f;
  border-color: #d2d2d7;
  border-bottom: 1px solid #fff !important;
  margin-bottom: -1px !important;
}
.px-tabs > .tab-panels {
  position: relative;
  z-index: 1;
  flex: 1 0 100%;
  margin-top: 20px;
}
.px-tabs .tab-panel { padding: 0; }

/* строка-обёртка вкладок: убираем вторую линию и фиксированную высоту темы */

/* ---------- линия под вкладками на всю ширину экрана ---------- */
.px-tabsrow {
  position: relative;
  margin-top: 28px;
  overflow-x: clip;
}
.px-tabsrow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 44px;
  height: 1px;
  background: #d2d2d7;
  z-index: 0;
}
.px-tabs {
  margin: 0 auto;
}

/* низ миниатюр выравниваем по низу фото: 42 (сверху) + 438 (лента) + 52 (снизу) = 532 */
.px-hero .gallery-thumbs {
  height: 458px;
  padding: 0 !important;
}
.px-hero {
  margin-bottom: 0 !important;
}
.px-tabsrow {
  margin-top: 24px !important;
}
.px-hero .product-gallery-wrapper {
  margin-bottom: 0 !important;
}

/* линия под хлебными крошками — только при прокрутке */
.carttitle1 {
  border-bottom-color: transparent;
  transition: border-bottom-color 0.2s ease;
}
body.is-scrolled .carttitle1 {
  border-bottom-color: #d2d2d7;
}

/* первая линия под пиктограммами — во всю ширину; остальные разделители как были */
.px-tabs .row.slidestrip.px-rule-full {
  position: relative;
  border-bottom: 0 !important;
}
.px-tabs .row.slidestrip.px-rule-full::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: #d2d2d7;
}

/* ---------- единый вид страниц снятых с производства ---------- */
.disc-page {
  padding-top: 28px;
}
.disc-page .page-headding-wrapper {
  margin: 18px 0 0;
}
.disc-note {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: #2d2d2d;
}
.disc-note a {
  color: #2c89d0;
}
.disc-hero {
  width: 520px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px auto 8px;
  padding: 28px;
  background: #f5f5f7;
  border-radius: 24px;
  box-sizing: border-box;
}
.disc-hero img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  mix-blend-mode: multiply;
}
.disc-specs {
  max-width: 1000px;
  margin: 40px auto 0;
}
.disc-specs h2 {
  margin: 40px 0 16px;
  font-size: 32px;
  font-weight: 300;
  line-height: 1.2;
}
.disc-specs h2:first-child {
  margin-top: 0;
}

/* ---------- типографика карточки товара ---------- */
.carttitle1 .header_product {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.px-price-now {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.px-price-old {
  font-size: 13px;
}
.px-ship {
  font-size: 13px;
}
.px-highlights li {
  font-size: 15px;
  gap: 10px;
}
.px-ico {
  width: 24px;
  height: 24px;
}
.px-ico svg {
  width: 24px;
  height: 24px;
}
.px-link {
  font-size: 15px;
}
.px-note {
  font-size: 13px;
}

/* название модели по центру белой полосы */
.carttitle1 .inner1 {
  position: static !important;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  margin: 0 !important;
}
.carttitle1 .header_product {
  margin: 0;
  line-height: 1.1;
}

/* ---------- ритм блока «цена + кнопка + срок» ---------- */
.px-version {
  line-height: 1.3;
  margin-bottom: 6px;
}
.px-price {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
}
.px-price-old {
  font-size: 14px;
  line-height: 1.3;
}
.px-price-now {
  line-height: 1.04;
}
.px-ship {
  margin-top: 8px;
  line-height: 1.4;
}
.px-highlights {
  margin-top: 28px;
}
.px-links {
  margin-top: 24px;
}

/* низ правого блока — по нижнему краю подложки фото */
.px-hero .cartright1_1 {
  display: flex;
  flex-direction: column;
}
.px-hero .px {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}
.px-hero .px-links {
  margin-top: auto;
}

/* средняя группа распределяется между версией и линией снизу */
.px-main {
  margin: auto 0;
}

/* блок преимуществ: единые плитки под иконки */
.usp-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 1000px;
  margin: 48px auto;
}
.usp-row .usp-card {
  flex: 0 0 260px;
  max-width: 260px;
  text-align: center;
}
.usp-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 136px;
  height: 136px;
  margin: 0 auto;
  background: #f5f5f7;
  border: 1px solid #ececf0;
  border-radius: 24px;
  overflow: hidden;
  box-sizing: border-box;
}
.usp-tile img {
  max-width: 82px;
  max-height: 82px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  mix-blend-mode: multiply;
}
.usp-card:nth-child(1) .usp-tile img { max-width: 78px; }
.usp-card:nth-child(2) .usp-tile img { max-width: 92px; }
.usp-card:nth-child(3) .usp-tile img { max-width: 72px; }
.usp-row h2.usp-title {
  margin: 16px 0 0 !important;
  padding: 0 !important;
  min-height: 44px;
  font-size: 17px !important;
  font-weight: 500;
  line-height: 1.35;
  color: #1d1d1f;
}
@media (max-width: 760px) {
  .usp-row {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin: 32px auto;
  }
}

/* верхняя служебная группа и брошюра — по правому краю блока */
.px-version {
  text-align: right;
}
.px-note {
  justify-content: flex-end;
  margin-left: auto;
}
.px-links {
  align-items: flex-end;
}

/* версия — техническая подпись, приглушаем */
.px-version {
  color: #b0b0b5;
}

/* иконка PDF слева от «Скачать брошюру» */
.px-link .px-pdf {
  width: 24px;
  height: 24px;
  margin-right: 7px;
  object-fit: contain;
}

/* ---------- каталог принтеров: карточки в стиле страницы товара ---------- */
.cat-card { max-width: 1200px; margin: 0 auto; padding: 8px 0 40px; }
.cat-card > input { position: absolute; opacity: 0; pointer-events: none; }
.cat-cols { display: flex; gap: 0; align-items: center; max-width: 100%; }
.cat-txt { flex: 0 0 50%; max-width: 50%; box-sizing: border-box; padding-right: 56px; }
.cat-titles { display: grid; }
.cat-title { grid-area: 1 / 1; display: none; margin: 0 0 6px !important; font-size: 44px !important; font-weight: 400; line-height: 1.15 !important; letter-spacing: -0.02em; color: #1d1d1f; }
.cat-title span { color: #a9a9ae; }
.cat-size { margin: 0 0 24px; font-size: 15px; color: #86868b; }
.cat-thumbs { display: flex; gap: 12px; margin-bottom: 28px; }
.cat-thumbs label { width: 120px; height: 120px; border: 1px solid transparent; border-radius: 18px; background: transparent; display: flex; align-items: center; justify-content: center; padding: 10px; cursor: pointer; transition: background .18s, border-color .18s, box-shadow .18s; }
.cat-thumbs label:hover { background: #f2f2f5; }
.cat-thumbs img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.cat-feet { display: grid; }
.cat-foot { grid-area: 1 / 1; display: none; flex-direction: column; align-items: flex-start; gap: 22px; }
.cat-price { display: flex; align-items: baseline; gap: 10px; }
.cat-now { font-size: 30px; font-weight: 600; color: #5b5b5b; letter-spacing: -0.01em; }
.cat-old { font-size: 13px; color: #86868b; text-decoration: line-through; text-decoration-thickness: 1px; }
.cat-btn { display: inline-flex; align-items: center; height: 48px; padding: 0 30px; border-radius: 980px; background: #3b93d6; color: #fff; font-size: 16px; text-decoration: none; transition: background .18s; }
.cat-btn:hover { background: #2c89d0; }
.cat-pics { flex: 0 0 50%; max-width: 50%; box-sizing: border-box; background: #f5f5f7; border-radius: 24px; padding: 22px; aspect-ratio: 1 / 1; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cat-photo { max-width: 100%; max-height: 100%; object-fit: contain; display: block; transition: transform 1.9s; }
.cat-pics:hover .cat-photo { transform: scale(1.25); }
.cat-photo-link { display: none; align-items: center; justify-content: center; width: 100%; height: 100%; cursor: pointer; }

.cat-card > input:nth-of-type(1):checked ~ .cat-cols .cat-title[data-v="1"],
.cat-card > input:nth-of-type(2):checked ~ .cat-cols .cat-title[data-v="2"],
.cat-card > input:nth-of-type(3):checked ~ .cat-cols .cat-title[data-v="3"] { display: block; }
.cat-card > input:nth-of-type(1):checked ~ .cat-cols .cat-foot[data-v="1"],
.cat-card > input:nth-of-type(2):checked ~ .cat-cols .cat-foot[data-v="2"],
.cat-card > input:nth-of-type(3):checked ~ .cat-cols .cat-foot[data-v="3"] { display: flex; }
.cat-card > input:nth-of-type(1):checked ~ .cat-cols .cat-photo-link[data-v="1"],
.cat-card > input:nth-of-type(2):checked ~ .cat-cols .cat-photo-link[data-v="2"],
.cat-card > input:nth-of-type(3):checked ~ .cat-cols .cat-photo-link[data-v="3"] { display: flex; }
.cat-card > input:nth-of-type(1):checked ~ .cat-cols .cat-thumbs label:nth-of-type(1),
.cat-card > input:nth-of-type(2):checked ~ .cat-cols .cat-thumbs label:nth-of-type(2),
.cat-card > input:nth-of-type(3):checked ~ .cat-cols .cat-thumbs label:nth-of-type(3) { background: #fff; border-color: #3b93d6; box-shadow: 0 0 0 1px #3b93d6; }

/* каталог: липкая полоса с названием, как на странице товара */
.cat-titlebar { position: sticky; position: -webkit-sticky; top: var(--header-h, 44px); z-index: 40; background: #fff; border-bottom: 1px solid transparent; transition: border-bottom-color .2s ease; }
.cat-titlebar-in { min-height: 60px; display: flex; align-items: center; justify-content: center; }
.cat-titlebar h1.page-headding { margin: 0 !important; font-size: 32px !important; font-weight: 500 !important; line-height: 1.2; letter-spacing: -0.01em; color: #1d1d1f; text-align: center; }
body.is-scrolled .cat-titlebar { border-bottom-color: #d2d2d7; }

@media (max-width: 900px) {
  .cat-cols { flex-direction: column; gap: 28px; }
  .cat-txt { flex: none; max-width: 100%; width: 100%; padding-right: 0; }
  .cat-title { font-size: 30px !important; }
  .cat-pics { flex: none; width: 100%; max-width: 100%; }
  .cat-thumbs label { width: 96px; height: 96px; padding: 8px; }
}

/* ---------- варианты каталога: общее ---------- */
.cv-page { padding: 32px 0 72px; }
.cv-h1 { margin: 0 0 36px; font-size: 32px; font-weight: 500; text-align: center; color: #1d1d1f; letter-spacing: -0.01em; }
.cv-btn { display: inline-flex; align-items: center; height: 44px; padding: 0 26px; border-radius: 980px; background: #3b93d6; color: #fff; font-size: 15px; text-decoration: none; transition: background .18s; }
.cv-btn:hover { background: #2c89d0; }
.cv-now { font-weight: 600; color: #5b5b5b; letter-spacing: -0.01em; }
.cv-old { font-size: 13px; color: #86868b; text-decoration: line-through; text-decoration-thickness: 1px; margin-left: 8px; }
.cv-req { font-weight: 500; }
.cv-title, .cv3-title { margin: 0 0 4px; font-weight: 400; letter-spacing: -0.02em; color: #1d1d1f; }
.cv-title span, .cv3-title span { color: #a9a9ae; }

/* ---------- вариант 2: сетка 2 колонки ---------- */
.cv2-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 1100px; margin: 0 auto; }
.cv2-card { border: 1px solid #ececf0; border-radius: 28px; padding: 22px; display: flex; flex-direction: column; transition: box-shadow .2s; }
.cv2-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.cv2-pic { display: flex; align-items: center; justify-content: center; height: 360px; background: #f5f5f7; border-radius: 20px; padding: 18px; overflow: hidden; }
.cv2-pic img { height: calc(var(--k) * 360px); max-width: 100%; object-fit: contain; transition: transform 1.9s; }
.cv2-pic:hover img { transform: scale(1.2); }
.cv2-body { padding-top: 20px; display: flex; flex-direction: column; flex: 1; }
.cv2-title { font-size: 24px; font-weight: 500; }
.cv2-size { margin: 0 0 14px; font-size: 14px; color: #86868b; }
.cv2-thumbs { display: flex; gap: 8px; margin-bottom: 18px; }
.cv2-thumb { width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; padding: 5px; border-radius: 12px; border: 1px solid transparent; transition: background .18s, border-color .18s; }
.cv2-thumb:hover { background: #f5f5f7; border-color: #e8e8ed; }
.cv2-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cv2-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cv2-price .cv-now { font-size: 24px; }

/* ---------- вариант 3: компактная плитка 3 в ряд ---------- */
.cv3-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1180px; margin: 0 auto; }
.cv3-card { border-radius: 24px; background: #fff; border: 1px solid #ececf0; padding: 16px; display: flex; flex-direction: column; transition: box-shadow .2s; }
.cv3-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.cv3-pic { display: flex; align-items: center; justify-content: center; height: 260px; background: #f5f5f7; border-radius: 16px; padding: 14px; overflow: hidden; }
.cv3-pic img { height: calc(var(--k) * 260px); max-width: 100%; object-fit: contain; transition: transform 1.9s; }
.cv3-pic:hover img { transform: scale(1.2); }
.cv3-body { padding-top: 14px; display: flex; flex-direction: column; flex: 1; }
.cv3-title { font-size: 20px; font-weight: 500; }
.cv3-size { margin: 0 0 6px; font-size: 13px; color: #86868b; }
.cv3-line { margin: 0 0 12px; font-size: 13px; color: #6e6e73; }
.cv3-thumbs { display: flex; gap: 6px; margin-bottom: 14px; }
.cv3-thumb { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 10px; transition: background .18s; }
.cv3-thumb:hover { background: #f5f5f7; }
.cv3-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cv3-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cv3-price .cv-now { font-size: 20px; }
.cv3-foot .cv-btn { height: 40px; padding: 0 20px; font-size: 14px; }

/* ---------- вариант 4: таблица ---------- */
.cv4-table { width: 100%; max-width: 1180px; margin: 0 auto; border-collapse: collapse; }
.cv4-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #86868b; font-weight: 500; padding: 0 16px 12px; border-bottom: 1px solid #e8e8ed; }
.cv4-row td { padding: 18px 16px; border-bottom: 1px solid #f0f0f3; vertical-align: middle; }
.cv4-photo { width: 150px; }
.cv4-photo a { display: flex; align-items: center; justify-content: center; width: 160px; height: 140px; background: #f5f5f7; border-radius: 16px; padding: 8px; overflow: hidden; }
.cv4-photo img { height: calc(var(--k) * 115px); max-width: 100%; object-fit: contain; }
.cv4-name a { font-size: 20px; color: #1d1d1f; text-decoration: none; }
.cv4-name a span { color: #a9a9ae; }
.cv4-size { margin-top: 4px; font-size: 13px; color: #86868b; }
.cv4-thumbs { display: flex; gap: 6px; }
.cv4-thumb { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border-radius: 10px; }
.cv4-thumb:hover { background: #f5f5f7; }
.cv4-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cv4-count { margin-top: 4px; font-size: 12px; color: #a1a1a6; }
.cv4-price .cv-now { font-size: 20px; }
.cv4-go { width: 150px; text-align: right; }

@media (max-width: 980px) {
  .cv2-grid { grid-template-columns: 1fr; }
  .cv3-list { grid-template-columns: repeat(2, 1fr); }
  .cv4-table th:nth-child(3), .cv4-row td:nth-child(3) { display: none; }
}
@media (max-width: 640px) {
  .cv3-list { grid-template-columns: 1fr; }
  .cv-h1 { font-size: 24px; }
}

.cv-switch { display: flex; justify-content: center; gap: 8px; margin: 0 0 28px; }
.cv-switch a { font-size: 13px; line-height: 1; padding: 9px 16px; border-radius: 980px; background: #f5f5f7; color: #4a4a4f; text-decoration: none; transition: background .18s, color .18s; }
.cv-switch a:hover { background: #ededf0; }
.cv-switch a.on { background: #1d1d1f; color: #fff; }

/* вариант 2: переключение вариантов внутри карточки */
.cv2-card { position: relative; }
.cv2-card > input { position: absolute; opacity: 0; pointer-events: none; }
.cv2-titles { display: grid; }
.cv2-title { grid-area: 1 / 1; display: none; margin: 0 0 4px; font-size: 24px; font-weight: 500; letter-spacing: -0.01em; color: #1d1d1f; }
.cv2-title span { color: #a9a9ae; }
.cv2-feet { display: grid; }
.cv2-foot { grid-area: 1 / 1; display: none; align-items: center; justify-content: space-between; gap: 16px; }
.cv2-photo-link { display: none; align-items: center; justify-content: center; width: 100%; height: 100%; }
.cv2-photo { height: calc(var(--k) * 360px); max-width: 100%; object-fit: contain; transition: transform 1.9s; }
.cv2-pic:hover .cv2-photo { transform: scale(1.2); }

.cv2-card > input:nth-of-type(1):checked ~ .cv2-body .cv2-title[data-v="1"],
.cv2-card > input:nth-of-type(2):checked ~ .cv2-body .cv2-title[data-v="2"],
.cv2-card > input:nth-of-type(3):checked ~ .cv2-body .cv2-title[data-v="3"] { display: block; }
.cv2-card > input:nth-of-type(1):checked ~ .cv2-body .cv2-foot[data-v="1"],
.cv2-card > input:nth-of-type(2):checked ~ .cv2-body .cv2-foot[data-v="2"],
.cv2-card > input:nth-of-type(3):checked ~ .cv2-body .cv2-foot[data-v="3"] { display: flex; }
.cv2-card > input:nth-of-type(1):checked ~ .cv2-pic .cv2-photo-link[data-v="1"],
.cv2-card > input:nth-of-type(2):checked ~ .cv2-pic .cv2-photo-link[data-v="2"],
.cv2-card > input:nth-of-type(3):checked ~ .cv2-pic .cv2-photo-link[data-v="3"] { display: flex; }
.cv2-card > input:nth-of-type(1):checked ~ .cv2-body .cv2-thumbs label:nth-of-type(1),
.cv2-card > input:nth-of-type(2):checked ~ .cv2-body .cv2-thumbs label:nth-of-type(2),
.cv2-card > input:nth-of-type(3):checked ~ .cv2-body .cv2-thumbs label:nth-of-type(3) { border-color: #3b93d6; box-shadow: 0 0 0 1px #3b93d6; }

/* ---------- модальное окно заявки: в стиле сайта ---------- */
.m-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 9500;
  background: rgba(17, 17, 17, 0.45) !important;
  opacity: 1 !important;
}
.m-modal {
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  transform: none !important;
  background: transparent !important;
  z-index: 9600;
}
.m-modal.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: auto;
}
.m-modal .m-modal-wrapper {
  position: relative;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  margin: 0;
  padding: 34px 36px 26px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
}
.m-modal .m-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: #f5f5f7;
  cursor: pointer;
  transition: background .18s;
}
.m-modal .m-modal-close:hover { background: #ececf0; }
.m-modal .m-modal-close::before,
.m-modal .m-modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background: #1d1d1f;
  border-radius: 2px;
}
.m-modal .m-modal-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.m-modal .m-modal-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.m-modal .m-modal-heading {
  margin: 0 0 24px;
  padding: 0 32px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #1d1d1f;
  text-align: center;
}
.m-modal .m-input { margin-bottom: 16px; }
.m-modal .m-input-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #86868b;
}
.m-modal .m-input-field {
  width: 100%;
  box-sizing: border-box;
  height: 48px;
  padding: 0 14px;
  font-size: 15px;
  font-family: inherit;
  color: #1d1d1f;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  transition: border-color .18s, box-shadow .18s;
  -webkit-appearance: none;
  appearance: none;
}
.m-modal textarea.m-input-field {
  height: auto;
  min-height: 96px;
  padding: 12px 14px;
  line-height: 1.45;
  resize: vertical;
}
.m-modal .m-input-field::placeholder { color: #a1a1a6; }
.m-modal .m-input-field:focus {
  outline: none;
  border-color: #3b93d6;
  box-shadow: 0 0 0 3px rgba(59, 147, 214, 0.18);
}
.m-modal .m-modal-footer {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}
.m-modal .m-modal-button {
  min-width: 220px;
  height: 48px;
  padding: 0 32px;
  border: 0;
  border-radius: 980px;
  background: #3b93d6;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background .18s;
}
.m-modal .m-modal-button:hover { background: #2c89d0; }
.m-modal .m-modal-button:disabled { opacity: .6; cursor: default; }
.m-modal .form-note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #a1a1a6;
  text-align: center;
}
.m-modal .m-modal-errors {
  margin: 0 0 16px;
  padding: 12px 14px;
  font-size: 14px;
  color: #b42318;
  background: #fdf2f2;
  border-radius: 12px;
  text-align: center;
}

/* ---------- корзина в стиле сайта ---------- */
.fhg-content .page-headding {
  margin: 6px 0 34px !important;
  font-size: 32px !important;
  font-weight: 500 !important;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: center;
  color: #1d1d1f;
}
.js-cart .notice.is-info {
  padding: 56px 0;
  font-size: 17px;
  color: #86868b;
  text-align: center;
  background: none;
  border: 0;
}
.js-cart .cart-item {
  border-bottom: 1px solid #ececf0;
}
.js-cart .cart-item .item {
  display: grid;
  grid-template-columns: 96px 1fr 156px 150px 44px;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
}
.js-cart .item-image-wrapper {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f7;
  border-radius: 16px;
  padding: 8px;
  box-sizing: border-box;
}
.js-cart .item-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.js-cart .item-content { display: contents; }
.js-cart .item-caption { display: flex; flex-direction: column; gap: 4px; }
.js-cart .item-title {
  font-size: 17px;
  font-weight: 500;
  color: #1d1d1f;
  text-decoration: none;
}
.js-cart .item-title:hover { color: #3b93d6; }
.js-cart .item-price-single { font-size: 14px; color: #86868b; }
.js-cart .counter {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  height: 44px;
}
.js-cart .counter-button {
  width: 44px;
  border: 0;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: background .18s;
}
.js-cart .counter-button:hover { background: #f5f5f7; }
.js-cart .counter-button::before,
.js-cart .counter-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: #1d1d1f;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.js-cart .counter-button.is-count-down::after { display: none; }
.js-cart .counter-button.is-count-up::before { display: block; }
.js-cart .counter-button.is-count-up::after {
  display: block;
  transform: translate(-50%, -50%) rotate(90deg);
}
.js-cart .counter-input {
  width: 56px;
  border: 0;
  border-left: 1px solid #ececf0;
  border-right: 1px solid #ececf0;
  text-align: center;
  font-size: 15px;
  font-family: inherit;
  color: #1d1d1f;
  background: #fff;
}
.js-cart .counter-input:focus { outline: none; }
.js-cart .item-prices {
  font-size: 17px;
  font-weight: 600;
  color: #1d1d1f;
  text-align: right;
  letter-spacing: -0.01em;
}
.js-cart .item-delete {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #a1a1a6;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.js-cart .item-delete:hover { background: #f5f5f7; color: #1d1d1f; }
.js-cart .cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.js-cart .cart-total {
  font-size: 22px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}
.js-cart .cart-checkout {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.js-cart .js-cart-checkout {
  height: 48px;
  padding: 0 30px;
  border: 0;
  border-radius: 980px;
  background: #3b93d6;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background .18s;
}
.js-cart .js-cart-checkout:hover { background: #2c89d0; }
.js-cart .cart-continue {
  font-size: 15px;
  color: #3b93d6;
  text-decoration: none;
}
.js-cart .cart-continue:hover { text-decoration: underline; }
.js-cart .cart-clear {
  border: 0;
  background: none;
  padding: 0;
  font-size: 15px;
  font-family: inherit;
  color: #86868b;
  cursor: pointer;
}
.js-cart .cart-clear:hover { color: #1d1d1f; }

@media (max-width: 760px) {
  .js-cart .cart-item .item {
    grid-template-columns: 72px 1fr 44px;
    grid-template-areas: "img cap del" "img cnt sum";
    gap: 12px 16px;
  }
  .js-cart .item-image-wrapper { grid-area: img; width: 72px; height: 72px; }
  .js-cart .item-caption { grid-area: cap; }
  .js-cart .item-counter { grid-area: cnt; }
  .js-cart .item-prices { grid-area: sum; }
  .js-cart .item-delete { grid-area: del; }
}

/* корзина: убираем легаси-оформление темы */
.js-cart .cart-list { border: 0 !important; }
.js-cart .cart-item { border-bottom: 1px solid #ececf0 !important; }
.js-cart .cart-item .item { border: 0 !important; background: none !important; padding: 0 !important; }
.js-cart .cart-checkout { background: none !important; border: 0 !important; padding: 0 !important; }
.js-cart .cart-checkout a, .js-cart .cart-checkout button { text-decoration: none; }

.js-cart .cart-empty-actions { margin-top: 18px; }

/* чекбокс «Я не робот» */
.m-modal .m-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 0;
  cursor: pointer;
  user-select: none;
}
.m-modal .m-check-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.m-modal .m-check-box {
  width: 20px;
  height: 20px;
  border: 1px solid #d2d2d7;
  border-radius: 6px;
  background: #fff;
  position: relative;
  flex: 0 0 20px;
  transition: background .18s, border-color .18s;
}
.m-modal .m-check-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .15s;
}
.m-modal .m-check-input:checked + .m-check-box {
  background: #3b93d6;
  border-color: #3b93d6;
}
.m-modal .m-check-input:checked + .m-check-box::after { transform: rotate(45deg) scale(1); }
.m-modal .m-check-input:focus-visible + .m-check-box {
  box-shadow: 0 0 0 3px rgba(59, 147, 214, 0.18);
}
.m-modal .m-check-text { font-size: 14px; color: #4a4a4f; }
.m-modal .m-check-input:invalid + .m-check-box { border-color: #d2d2d7; }

/* фокус на кнопках: никакой чёрной рамки */
.px-buy:focus, .px-buy:focus-visible,
.cat-btn:focus, .cat-btn:focus-visible,
.cv-btn:focus, .cv-btn:focus-visible,
.js-cart-checkout:focus, .js-cart-checkout:focus-visible,
.m-modal-button:focus, .m-modal-button:focus-visible,
.cart-continue:focus, .cart-clear:focus,
.item-delete:focus, .counter-button:focus,
.cat-photo-link:focus, .cat-photo-link:focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
  border: 0 !important;
}
.px-buy:focus-visible,
.cat-btn:focus-visible,
.cv-btn:focus-visible,
.js-cart-checkout:focus-visible,
.m-modal-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(59, 147, 214, 0.28) !important;
}

/* ИНН и подсказки в форме заявки */
.m-modal .m-hint {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #86868b;
}
.m-modal .m-hint.is-error { color: #b42318; }
.m-modal .m-hint.is-ok { color: #2e7d32; }
.m-modal .m-input-field:disabled { background: #f5f5f7; }
.m-modal .m-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #a1a1a6;
  text-align: center;
}
.m-modal .m-note a { color: #3b93d6; text-decoration: none; }
.m-modal .m-note a:hover { text-decoration: underline; }

/* реальные фото в контенте — плитки */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 32px 0 12px;
}
.photo-grid--single { grid-template-columns: 1fr; }
.photo-card {
  margin: 0;
  background: #f5f5f7;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.photo-grid--single .photo-card { aspect-ratio: 16 / 9; }
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.9s;
}
.photo-card:hover img { transform: scale(1.05); }
@media (max-width: 760px) {
  .photo-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- комплектующие: карточки в стиле каталога ---------- */
.acc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.acc-card {
  border: 1px solid #ececf0;
  border-radius: 28px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}
.acc-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.acc-pic {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  background: #f5f5f7;
  border-radius: 20px;
  padding: 20px;
  overflow: hidden;
}
.acc-pic img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 1.9s;
}
.acc-pic:hover img { transform: scale(1.08); }
.acc-body { padding-top: 20px; display: flex; flex-direction: column; flex: 1; }
.acc-title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: #1d1d1f;
}
.acc-price { margin-top: auto; margin-bottom: 18px; }
.acc-price .cv-now { font-size: 24px; }
@media (max-width: 980px) {
  .acc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .acc-pic { height: 260px; }
}
@media (max-width: 640px) {
  .acc-grid { grid-template-columns: 1fr; }
}

.acc-pic img { mix-blend-mode: multiply; }

/* ---------- раздел DIY ---------- */
.diy-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.diy-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 130px;
  align-self: start;
}
.diy-menu-link {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.35;
  color: #4a4a4f;
  text-decoration: none;
  transition: background .18s, color .18s;
}
.diy-menu-link:hover { background: #f5f5f7; color: #1d1d1f; }
.diy-menu-link.lvl-2 { padding-left: 26px; font-size: 14px; color: #6e6e73; }
.diy-menu-link.is-active { color: #1d1d1f; font-weight: 500; background: #f5f5f7; }
.diy-menu-link.lvl-1.is-active { font-weight: 600; }

.diy-content {
  font-size: 17px;
  line-height: 1.55;
  color: #1d1d1f;
  max-width: 720px;
}
.diy-content p { margin: 0 0 16px; }
.diy-content h2 { margin: 32px 0 12px; font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.diy-content h3 { margin: 24px 0 10px; font-size: 19px; font-weight: 500; }
.diy-content a { color: #3b93d6; }
.diy-content ul, .diy-content ol { margin: 0 0 16px; padding-left: 22px; }
.diy-content li { margin-bottom: 6px; }
.diy-content iframe { max-width: 100%; border-radius: 16px; }

.diy-docs { display: grid; gap: 12px; margin: 24px 0 8px; }
.diy-doc {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid #ececf0;
  border-radius: 16px;
  text-decoration: none;
  color: #1d1d1f;
  transition: box-shadow .2s, border-color .2s;
}
.diy-doc:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .06); border-color: #e0e0e5; }
.diy-doc-title { font-size: 17px; font-weight: 500; }
.diy-doc-desc { font-size: 14px; color: #6e6e73; }

@media (max-width: 900px) {
  .diy-layout { grid-template-columns: 1fr; gap: 24px; }
  .diy-menu { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .diy-menu-link.lvl-2 { padding-left: 12px; }
}

/* кнопка-пилюля внутри DIY-контента: белый текст (иначе ссылка красит его в синий) */
.diy-content a.cv-btn,
.diy-content a.cv-btn:hover { color: #fff; text-decoration: none; }

/* ---------- документация: карточки-ссылки ---------- */
.doc-lead {
  max-width: 720px;
  margin: 0 auto 32px;
  font-size: 17px;
  line-height: 1.55;
  color: #1d1d1f;
  text-align: center;
}
.doc-lead a { color: #3b93d6; }
.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.doc-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid #ececf0;
  border-radius: 24px;
  text-decoration: none;
  color: #1d1d1f;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.doc-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, .07);
  border-color: #e2e2e7;
}
.doc-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f7;
  border-radius: 16px;
  color: #1d1d1f;
}
.doc-body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.doc-title { font-size: 18px; font-weight: 500; line-height: 1.3; }
.doc-desc { font-size: 14px; line-height: 1.45; color: #6e6e73; }
.doc-arrow { flex: 0 0 16px; color: #a1a1a6; }
.doc-card:hover .doc-arrow { color: #3b93d6; }
@media (max-width: 760px) {
  .doc-grid { grid-template-columns: 1fr; gap: 16px; }
  .doc-card { padding: 20px; }
  .doc-lead { text-align: left; }
}

/* ---------- шаблон комплектующих ---------- */
.px-acc .px-main { margin-top: 8px; }
.px-kind {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: 980px;
  background: #f5f5f7;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #6e6e73;
}
.px-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #2e7d32;
}
.px-stock::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34a853;
}
.px-acc .px-price { margin-bottom: 20px; }
.px-buy--ghost {
  margin-top: 10px;
  background: #fff !important;
  color: #3b93d6 !important;
  border: 1px solid #b7d7ee !important;
}
.px-buy--ghost:hover {
  background: #f4f9fd !important;
  border-color: #3b93d6 !important;
}
.px-acc .px-ship { margin-top: 12px; }
.px-acc .px-highlights { margin-top: 24px; }
.px-compat { margin-top: 24px; padding-top: 18px; border-top: 1px solid #ececf0; }
.px-compat-label { margin: 0 0 10px; font-size: 13px; color: #86868b; }
.px-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.px-chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 980px;
  background: #f5f5f7;
  font-size: 13px;
  color: #1d1d1f;
  text-decoration: none;
  transition: background .18s;
}
.px-chip:hover { background: #ececf0; }
.px-acc .px-desc {
  max-width: 760px;
  margin: 8px auto 40px;
  font-size: 16px;
  line-height: 1.6;
  color: #1d1d1f;
}
.px-acc .px-desc p { margin: 0 0 14px; }

.px-acc .slide-image { mix-blend-mode: multiply; }

.px-compat-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #86868b;
}
.px-acc .px-chips { gap: 6px; }
.px-acc .px-chip { height: 28px; padding: 0 10px; font-size: 12px; }

/* группы карточек на странице «Документация» */
.doc-groups {
  max-width: 980px;
  margin: 0 auto;
}
.doc-group + .doc-group {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid #ececf0;
}
.doc-group-label {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #86868b;
}
.doc-card--community { background: #fbfbfc; }
.doc-hint {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #a1a1a6;
  max-width: 760px;
}

/* блок-указатель на раздел DIY внизу страницы «Документация» */
.doc-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 980px;
  margin: 44px auto 0;
  padding: 24px 28px;
  background: #f5f5f7;
  border-radius: 20px;
  flex-wrap: wrap;
}
.doc-more-title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 500;
  color: #1d1d1f;
}
.doc-more-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #6e6e73;
}
@media (max-width: 640px) {
  .doc-more { padding: 20px; }
}

/* ---------- плавающие кнопки в правом нижнем углу ---------- */
.footer-message {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: auto;
  height: auto;
  z-index: 2999;
}
.footer-message .menu-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  position: static;
}
.footer-message .messenger-icons {
  display: flex !important;
  position: static;
  height: auto;
  padding: 0;
  overflow: visible;
  order: 0;
}
.footer-message .messenger-icons a {
  width: 56px;
  height: 56px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #3b93d6;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .16);
  transition: background .18s, box-shadow .18s;
}
.footer-message .messenger-icons a:hover {
  background: #2c89d0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
}
.footer-message .menu-icon {
  position: static;
  order: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #3b93d6;
  background-position: 50% 55%;
  background-size: 52%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .16);
  transition: background-color .18s, box-shadow .18s;
}
.footer-message .menu-icon:hover {
  background-color: #2c89d0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
}
@media (max-width: 640px) {
  .footer-message { right: 16px; bottom: 16px; }
  .footer-message .messenger-icons a,
  .footer-message .menu-icon { width: 52px; height: 52px; }
}

.m-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin: 4px 0 22px;
  background: #f5f5f7;
  border-radius: 14px;
}
.m-seg-item {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}
.m-seg-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.m-seg-item span {
  display: block;
  padding: 10px 8px;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  line-height: 1.3;
  color: #6e6e73;
  transition: background .18s, color .18s, box-shadow .18s;
}
.m-seg-item input:checked + span {
  background: #fff;
  color: #1d1d1f;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}
.m-seg-item input:focus-visible + span {
  box-shadow: 0 0 0 2px #3b93d6;
}
.m-legal-fields[hidden] { display: none; }

/* ---------- кнопки связи: чат раскрывает список мессенджеров ---------- */
.footer-message .menu-box {
  position: static;
  display: block;
}
.footer-message .messenger-icons {
  position: absolute;
  right: 0;
  bottom: 68px;
  display: none !important;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  height: auto;
  padding: 0;
  overflow: visible;
}
.footer-message.is-open .messenger-icons,
.footer-message .menu-box:hover .messenger-icons,
.footer-message .menu-box:focus-within .messenger-icons {
  display: flex !important;
}
.footer-message .menu-icon {
  position: static;
}
@media (max-width: 640px) {
  .footer-message .messenger-icons { bottom: 62px; }
}

/* ---------- страница «Поддержка» ---------- */
.sup-tips {
  max-width: 980px;
  margin: 44px auto 0;
  padding-top: 32px;
  border-top: 1px solid #ececf0;
}
.sup-tips-title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #1d1d1f;
}
.sup-tips-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.sup-tips-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.5;
  color: #4a4a4f;
}
.sup-tips-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b93d6;
}

/* подвал: 4 колонки меню + контакты */
.footer > .row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 250px;
  gap: 28px;
  align-items: start;
}
.footer .row > [class*="cell-"] { width: auto; float: none; }
@media (max-width: 1100px) {
  .footer > .row { grid-template-columns: repeat(2, minmax(0, 1fr)) 250px; }
}
@media (max-width: 760px) {
  .footer > .row { grid-template-columns: 1fr; gap: 22px; }
}

/* подвал: 4 колонки меню + строка контактов */
.footer > .row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}
.footer .row > [class*="cell-"] { width: auto; float: none; }
.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 28px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #ececec;
}
.footer-contacts .contact-link { font-size: 16px; }
.footer-contacts .social-menu { margin: 0; }
@media (max-width: 900px) {
  .footer > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contacts { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .footer > .row { grid-template-columns: 1fr; gap: 20px; }
}

/* нижняя строка подвала остаётся обычной (флекс-колонки) */
.footer-bottom-wrapper .row {
  display: block;
}
.footer-bottom-wrapper .row::after {
  content: "";
  display: table;
  clear: both;
}

/* ---------- служебные страницы интернет-магазина ---------- */
.shop-h2 {
  margin: 36px 0 12px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #1d1d1f;
}
.cv-page .shop-h2:first-child { margin-top: 8px; }
.shop-steps {
  max-width: 820px;
  margin: 28px 0 0;
  padding: 0;
  counter-reset: shopstep;
  list-style: none;
  display: grid;
  gap: 14px;
}
.shop-steps li {
  position: relative;
  counter-increment: shopstep;
  padding: 16px 20px 16px 62px;
  background: #f7f7f9;
  border-radius: 16px;
  font-size: 16px;
  line-height: 1.5;
  color: #1d1d1f;
}
.shop-steps li::before {
  content: counter(shopstep);
  position: absolute;
  left: 18px;
  top: 15px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #3b93d6;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-note {
  max-width: 820px;
  margin: 28px 0 0;
  padding: 20px 24px;
  border-left: 3px solid #3b93d6;
  background: #f5f9fd;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #1d1d1f;
}
.shop-note p { margin: 0 0 10px; }
.shop-note p:last-child { margin-bottom: 0; }
.shop-note--warn { border-left-color: #e0a400; background: #fdf9ee; }

/* колонки подвала растягиваются на всю ширину своей ячейки сетки */
.footer > .row > * {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  justify-self: stretch;
  margin: 0 !important;
  padding-left: 0;
  padding-right: 0;
}

.footer-paynote {
  font-size: 12px;
  color: #86868b;
}

/* три колонки меню в подвале (перекрывает более ранние правила) */
.footer > .row { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }

/* подвал: 4 колонки, последняя — контакты */
.footer > .row { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.footer-col-contacts .footer-contact-line { margin-bottom: 6px; }
.footer-col-contacts .contact-link { font-size: 15px; }
.footer-col-contacts .social-menu { margin: 14px 0 0; }
.footer-col-contacts .footer-paynote { margin: 12px 0 0; font-size: 12px; color: #86868b; }
@media (max-width: 900px) {
  .footer > .row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px) {
  .footer > .row { grid-template-columns: 1fr !important; }
}

/* контакты в подвале: тёмный текст без «синих ссылок» */
.footer-col-contacts .footer-contact-line { margin: 0 0 12px; }
.footer-col-contacts .contact-link,
.footer-col-contacts .contact-text {
  display: inline-block;
  padding: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555 !important;
  text-decoration: none !important;
}
.footer-col-contacts .contact-link:hover { color: #1d1d1f !important; text-decoration: underline !important; }
.footer-col-contacts .contact-text { cursor: default; }
.footer-col-contacts .social-menu { margin: 16px 0 0; }
.footer-col-contacts .footer-paynote { margin: 14px 0 0; font-size: 12px; color: #86868b; }

/* длинные крошки: без отдельных правил — ведут себя как обычные */
.stbr--stack .inner2 { padding-bottom: 0; }
@media (min-width: 901px) {
  .stbr,
  .stbr--stack {
    height: 64px;
    min-height: 64px;
  }
  .stbr .breadcrumb {
    max-width: 46%;
    overflow: hidden;
  }
  .stbr .breadcrumb-item:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .carttitle1 {
    position: sticky;
    top: var(--header-h, 44px);
    margin-top: -64px;
    height: 64px;
    min-height: 64px;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    z-index: 9100;
    pointer-events: none;
    display: flex;
    align-items: center;
  }
  .carttitle1 .inner1 {
    height: 64px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .carttitle1 .header_product {
    font-size: 32px !important;
    line-height: 1 !important;
    margin: 0 !important;
    color: #1d1d1f !important;
  }
  .carttitle1 .header_product.is-title-md { font-size: 28px !important; }
  .carttitle1 .header_product.is-title-sm { font-size: 24px !important; }
}

/* в режиме двух строк заголовок не подтягивается вверх отрицательным отступом */

/* ---------- подвал: колонка соцсетей ---------- */
.footer > .row {
  grid-template-columns: 1fr 0.95fr 1fr 1.5fr 1.15fr !important;
}
.footer-social-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #555 !important;
  text-decoration: none !important;
  font-size: 14px;
  line-height: 1.4;
}
.footer-social-link:hover { color: #1d1d1f !important; }
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 15px;
  color: inherit;
}
.footer-social-icon i { font-size: 15px; }
.footer-social-name { text-decoration: none; }
.footer-social-link:hover .footer-social-name { text-decoration: underline; }

@media (max-width: 1100px) {
  .footer > .row { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 760px) {
  .footer > .row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px) {
  .footer > .row { grid-template-columns: 1fr !important; }
}

/* нижний блок подвала: режим работы и копирайт */
.footer-bottom-wrapper {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid #e6e6e9;
}
.footer-notes {
  max-width: 760px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #86868b;
}
.footer-notes p { margin: 0 0 8px; }
.footer-notes p:last-child { margin-bottom: 0; }
.footer-copy { margin-top: 16px !important; }

/* тёмная полоса внизу подвала — как шапка */
.footer-wrapper { padding-bottom: 0; }
.footer-bottom-wrapper {
  margin: 36px 0 0;
  padding: 24px 0;
  background: #2b2b2b;
  border-top: none;
}
.footer-bottom-wrapper .footer-notes {
  color: rgba(255, 255, 255, .72);
}
.footer-bottom-wrapper .footer-copy {
  color: rgba(255, 255, 255, .5);
}

/* кнопка в карточке комплектующего — по размеру текста, не на всю ширину */
.acc-body .cv-btn {
  align-self: flex-end;
  margin-left: auto;
  padding: 0 24px;
  height: 42px;
}

/* воздух в подвале: меньше сверху, больше перед тёмной полосой */
.footer-wrapper { padding-top: 56px !important; padding-bottom: 0 !important; }
.footer-bottom-wrapper { margin-top: 56px !important; }

/* ---------- корзина в актуальном стиле ---------- */
.cart-page {
  max-width: 960px;
  margin: 0 auto 40px;
}
.js-cart .cart-list {
  border: 1px solid #ececf0;
  border-radius: 24px;
  padding: 8px 24px;
  background: #fff;
}
.js-cart .cart-item {
  border-bottom: 1px solid #ececf0;
}
.js-cart .cart-item:last-child { border-bottom: none; }
.js-cart .cart-item .item {
  grid-template-columns: 96px minmax(0, 1fr) 156px 140px 32px;
  align-items: center;
  padding: 18px 0;
  gap: 16px;
}
.js-cart .item-delete { font-size: 22px; line-height: 1; color: #c7c7cc; }
.js-cart .item-delete:hover { color: #1d1d1f; }
.cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 0 4px;
}
.cart-total {
  font-size: 22px;
  font-weight: 500;
  color: #1d1d1f;
}
.cart-total .js-cart-total { font-weight: 600; }
.cart-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cart-actions .cv-btn { height: 48px; padding: 0 30px; font-size: 15px; }
.cart-actions .cart-continue,
.cart-actions .cart-clear {
  display: inline-flex;
  align-items: center;
  height: 48px;
  font-size: 15px;
  line-height: 1;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}
.cart-actions .cart-continue { color: #1d1d1f; }
.cart-actions .cart-continue:hover { color: #3b93d6; }
.cart-actions .cart-clear { color: #9a9aa0; }
.cart-actions .cart-clear:hover { color: #1d1d1f; }
.js-cart .notice.is-info {
  border: 1px solid #ececf0;
  border-radius: 24px;
  background: #f7f7f9;
  padding: 48px 24px;
  font-size: 17px;
  color: #4a4a4f;
}
@media (max-width: 760px) {
  .js-cart .cart-list { padding: 4px 16px; }
  .js-cart .cart-item .item { grid-template-columns: 72px minmax(0, 1fr) 32px; row-gap: 10px; }
  .cart-footer { flex-direction: column; align-items: flex-start; }
  .cart-actions { width: 100%; }
}

/* убираем лишнюю линию от темы и выравниваем «Очистить корзину» */
.cart-footer {
  border-top: 0 !important;
  margin-top: 22px !important;
  padding-top: 0 !important;
}
.cart-actions .cart-clear {
  margin-top: 0 !important;
  vertical-align: middle;
}
.cart-actions > * { align-self: center; }

/* картинка товара в корзине: строго в своём квадрате, без наездов */
.js-cart .cart-item .item {
  border-bottom: 0 !important;
  min-height: 132px;
}
.js-cart .item-image-wrapper {
  position: relative;
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  overflow: hidden;
  border-radius: 16px;
  background: #f5f5f7;
}
.js-cart .item-image-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.js-cart .item-image-wrapper img { mix-blend-mode: multiply; }

/* корзина: сетка строки товара через области, чтобы ничего не наезжало */
.js-cart .cart-item .item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 156px 140px 32px;
  grid-template-areas: "img title counter price del";
  align-items: center;
  column-gap: 16px;
}
.js-cart .item-image-wrapper { grid-area: img; background: transparent; }
.js-cart .item-caption { grid-area: title; }
.js-cart .item-counter { grid-area: counter; justify-self: center; }
.js-cart .item-prices { grid-area: price; justify-self: end; }
.js-cart .item-delete { grid-area: del; justify-self: end; }

@media (max-width: 760px) {
  .js-cart .cart-item .item {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    grid-template-areas:
      "img title del"
      "img counter price";
    row-gap: 8px;
    column-gap: 12px;
  }
  .js-cart .item-counter { justify-self: start; }
  .js-cart .item-prices { justify-self: end; }
}

@media (max-width: 760px) {
  .js-cart .item-image-wrapper {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }
  .js-cart .cart-item .item { min-height: 104px; }
  .js-cart .cart-item .item .item-title { font-size: 15px; }
}

@media (max-width: 760px) {
  .js-cart .cart-item .item {
    grid-template-columns: 72px minmax(0, 1fr) 28px !important;
    grid-template-areas:
      "img title del"
      "img price price"
      "img counter counter" !important;
    row-gap: 6px;
    column-gap: 14px;
    min-height: 0;
    padding: 14px 0;
  }
  .js-cart .item-prices { justify-self: start !important; font-size: 17px; }
  .js-cart .item-counter { justify-self: start !important; }
}

@media (max-width: 760px) {
  .js-cart .item-price-single { display: none; }
}

/* контейнер тянется по ширине экрана: на узких экранах и при зуме нет обрезки */
.container {
  width: 100% !important;
  max-width: 1032px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* ---------- боковое меню коллекций в новом стиле ---------- */
.collection-wrapper {
  display: grid !important;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.collection-wrapper > .collection {
  width: auto !important;
  float: none !important;
  grid-column: 2;
  grid-row: 1;
}
.collection-wrapper > .flex-first {
  width: auto !important;
  float: none !important;
  grid-column: 1;
  grid-row: 1;
}
.sidebar-block { margin: 0; }
.sidebar-block-content .sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 130px;
}
.sidebar-menu-item { margin: 0 !important; }
.sidebar-menu-link {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.35;
  color: #4a4a4f !important;
  text-decoration: none !important;
  transition: background .18s, color .18s;
}
.sidebar-menu-link:hover { background: #f5f5f7; color: #1d1d1f !important; }
.sidebar-menu-link.is-active {
  background: #f5f5f7;
  color: #1d1d1f !important;
  font-weight: 500;
}
@media (max-width: 900px) {
  .collection-wrapper { grid-template-columns: 1fr; gap: 24px; }
  .collection-wrapper > .collection,
  .collection-wrapper > .flex-first { grid-column: 1; }
  .collection-wrapper > .flex-first { grid-row: 1; }
  .collection-wrapper > .collection { grid-row: 2; }
  .sidebar-block-content .sidebar-menu {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* боковая колонка растягивается на всю ширину своей колонки */
.collection-wrapper > .flex-first {
  width: 100% !important;
  justify-self: stretch;
  align-self: start;
}
.sidebar-block,
.sidebar-block-content,
.sidebar-block-content .sidebar-menu {
  width: 100% !important;
}
.sidebar-menu-link { white-space: normal; word-break: normal; }

/* снимаем ограничение max-width 25% у колонок старой сетки */
.collection-wrapper > .collection,
.collection-wrapper > .flex-first {
  max-width: none !important;
}

/* пункты бокового меню без лишней высоты от старой темы (было 60px на строку) */
.sidebar-menu-item,
.sidebar-menu-item-controls {
  height: auto !important;
  min-height: 0 !important;
}

.sidebar-menu-item-controls { padding: 0 !important; }

/* ---------- архив моделей: карточки как в каталоге, по две в ряд ---------- */
.arch-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.arch-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #ececf0;
  border-radius: 24px;
  padding: 22px;
}
.arch-pic {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  margin-bottom: 16px;
}
.arch-pic img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 1.9s;
}
.arch-card:hover .arch-pic img { transform: scale(1.05); }
.arch-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #1d1d1f;
}
.arch-more {
  margin-top: auto;
  font-size: 14px;
  color: #555 !important;
  text-decoration: underline;
}
.arch-more:hover { color: #1d1d1f !important; }
@media (max-width: 900px) {
  .arch-list { grid-template-columns: 1fr; gap: 20px; }
  .arch-pic { height: 240px; }
}

/* архив: фото на 10% меньше, без анимации наведения */
.arch-pic img {
  max-width: 90%;
  max-height: 90%;
  transition: none;
  transform: none !important;
}
.arch-card:hover .arch-pic img { transform: none; }

/* фото принтера в каталоге не выходит за подложку */
.cv2-pic .cv2-photo-link {
  max-height: 100%;
  align-items: center;
  justify-content: center;
}
.cv2-pic .cv2-photo {
  max-height: 100% !important;
  max-width: 100% !important;
  object-fit: contain;
}

/* зум при наведении обрезается по области картинки, а не вылезает за подложку */
.cv2-pic .cv2-photo-link {
  overflow: hidden;
  border-radius: 12px;
}
.cv2-pic { contain: paint; }

/* зум в каталоге: не больше 8%, чтобы фото не выходило за подложку */
.cv2-pic:hover img,
.cv2-pic:hover .cv2-photo {
  transform: scale(1.08) !important;
}

/* фото в каталоге: базовый размер с запасом, зум — до 5 px от края подложки */
.cv2-pic .cv2-photo {
  max-height: calc(100% - 24px) !important;
}
.cv2-pic:hover img,
.cv2-pic:hover .cv2-photo {
  transform: scale(var(--zoom, 1.25)) !important;
}

.cv2-pic .cv2-photo-link {
  overflow: visible !important;
  border-radius: 0 !important;
}

/* главная: баннер с линейкой принтеров — ссылка в каталог */
.banner-link {
  display: block;
  text-decoration: none !important;
  color: inherit;
}
.banner-link .banner-more {
  color: #1d1d1f;
}
.banner-link:hover .banner-more {
  text-decoration: underline;
}

/* шапка выше — как липкая полоса на внутренних страницах */
:root { --header-h: 64px; }
.top-panel-wrapper { height: 64px; }
.top-panel {
  height: 64px !important;
  min-height: 64px;
  align-items: center;
}
.top-panel .logo {
  height: 64px !important;
  background-size: contain !important;
  background-position: left center;
}
.top-panel .menu-link,
.top-panel .top-menu-block a {
  line-height: 64px;
}

/* шапка выше: внутренняя строка остаётся 44 px, добавляем воздух вокруг */
.top-panel-wrapper {
  height: auto !important;
  padding: 10px 0;
}
.top-panel {
  height: 44px !important;
  min-height: 44px;
}
.top-panel .logo {
  height: 44px !important;
}
.top-panel .menu-link,
.top-panel .top-menu-block a {
  line-height: 44px;
}

/* шапка 64 px: элементы центрируются по всей высоте */
.top-panel-wrapper { padding: 0 !important; height: 64px !important; }
.top-panel {
  height: 64px !important;
  min-height: 64px;
  display: flex !important;
  align-items: center;
  padding: 0 !important;
}
.top-panel .logo { height: 44px !important; margin: 0 !important; }
.top-panel .shopcart-widget-wrapper {
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  align-self: center;
}
.top-panel .phone,
.top-panel .top-menu-block {
  align-self: center;
}

/* корзина в шапке — в одну строку с иконкой */
.top-panel .shopcart-widget-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  line-height: 44px;
}
.top-panel .shopcart-widget-caption { white-space: nowrap; }
.top-panel .top-menu-block { display: flex; align-items: center; justify-content: flex-end; }

/* иконка корзины по центру строки, а не по верхнему краю */
.top-panel .shopcart-widget.in-header {
  padding: 0 36px 0 0 !important;
  background-position: right center !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
}

/* ---------- шапка: ровные интервалы в меню и «Контакты» ---------- */
.top-panel .main-menu > .menu.level-1 {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.top-panel .main-menu > .menu.level-1 > li { margin: 0 !important; }
.top-panel .main-menu .menu-link {
  display: inline-flex;
  align-items: center;
  height: 64px;
  font-size: 16px;
  text-decoration: none;
}

.top-contacts {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.top-contacts-toggle {
  background: none;
  border: 0;
  padding: 0;
  color: #fff;
  font-size: 16px;
  line-height: 64px;
  cursor: pointer;
  font-family: inherit;
}
.top-contacts-toggle:hover { opacity: .8; }
.top-contacts-drop {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 230px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s, transform .16s, visibility .16s;
  z-index: 10000;
}
.top-contacts:hover .top-contacts-drop,
.top-contacts:focus-within .top-contacts-drop,
.top-contacts.is-open .top-contacts-drop {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.top-contacts-drop a {
  color: #1d1d1f !important;
  text-decoration: none !important;
  font-size: 15px;
  white-space: nowrap;
}
.top-contacts-drop a:hover { color: #3b93d6 !important; }
.top-contacts-mail { font-weight: 500; }

/* кнопка в баннере на главной */
.banner-cta {
  height: 56px !important;
  padding: 0 36px !important;
  font-size: 18px !important;
}

/* «Контакты» — того же веса и высоты, что пункты меню */
.top-contacts-toggle {
  font-weight: 600 !important;
  height: 64px !important;
  line-height: 64px !important;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}

/* ---------- шапка: единая строка меню ---------- */
.top-panel {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 64px !important;
}
.top-panel > * { width: auto !important; float: none !important; margin: 0 !important; }

.top-panel .logo { height: 44px !important; }

.top-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}
.top-nav .main-menu.level-1 {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.top-nav .main-menu.level-1 > li { margin: 0 !important; }

.top-nav-link,
.top-nav .main-menu .menu-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 64px;
  font-size: 16px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none !important;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  transition: color .16s;
}
.top-nav-link::after,
.top-nav .main-menu .menu-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 1px;
  background: rgba(255, 255, 255, .75);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.top-nav-link:hover::after,
.top-nav .main-menu .menu-link:hover::after { transform: scaleX(1); }

.shopcart-widget-wrapper { display: flex; align-items: center; margin: 0 !important; }
.top-panel .shopcart-widget.in-header {
  padding: 0 34px 0 0 !important;
  background-position: right center !important;
  margin: 0 !important;
}
.top-panel .shopcart-widget-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  height: 64px;
  font-size: 16px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.top-panel .shopcart-widget-caption { white-space: nowrap; }

/* пункты меню в шапке: одинаковый кегль и нулевые отступы у ссылок */
.top-nav .main-menu .menu-link {
  font-size: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 64px !important;
}
.top-nav .main-menu.level-1 { gap: 32px !important; }
.top-nav { gap: 32px !important; }
.top-nav .main-menu.level-1 > li { padding: 0 !important; }

/* кнопка на главной не обрезается: ставим её в поток баннера */
.x-banner .content {
  display: flex !important;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  padding: 0 40px 44px !important;
  box-sizing: border-box;
}

/* «Корзина» того же кегля и трекинга, что пункты меню */
.top-panel .shopcart-widget-caption {
  font-size: 16px !important;
  letter-spacing: 0.5px !important;
  font-weight: 600 !important;
}
.top-panel .shopcart-widget-link { letter-spacing: 0.5px; }

/* наведение без «мультяшной» анимации: только приглушение цвета */
.top-nav-link::after,
.top-nav .main-menu .menu-link::after { display: none !important; }
.top-nav-link,
.top-nav .main-menu .menu-link,
.top-panel .shopcart-widget-link {
  transition: none !important;
}
.top-nav-link:hover,
.top-nav .main-menu .menu-link:hover,
.top-panel .shopcart-widget-link:hover {
  color: rgba(255, 255, 255, .72) !important;
}

/* главная: линейка принтеров и кнопка не пересекаются */
.x-banner { height: auto !important; }
.x-banner .content {
  display: block !important;
  height: auto !important;
  padding: 0 0 32px !important;
  background-position: top center !important;
  background-size: 100% auto !important;
  background-repeat: no-repeat !important;
  text-align: center;
}
.x-banner .content::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 2403 / 1019;
}
.x-banner .banner-cta { margin-top: 28px; }

/* ---------- демо: блок главной в стиле внутренних страниц ---------- */
.home-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  max-width: 1000px;
  margin: 0 auto;
}
.home-feature--reverse .hf-text { order: 2; }
.home-feature--reverse .hf-media { order: 1; }
.hf-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #86868b;
}
.hf-title {
  margin: 0 0 18px;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #1d1d1f;
}
.hf-lead {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.55;
  color: #4a4a4f;
  max-width: 460px;
}
.hf-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.hf-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.5;
  color: #1d1d1f;
}
.hf-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b93d6;
}
.hf-btn { height: 48px; padding: 0 28px; }
.hf-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f7;
  border-radius: 28px;
  padding: 32px;
  min-height: 420px;
}
.hf-media img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
}
@media (max-width: 900px) {
  .home-feature { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .home-feature--reverse .hf-text { order: 1; }
  .home-feature--reverse .hf-media { order: 2; }
  .hf-title { font-size: 30px; }
  .hf-media { min-height: 320px; }
}

/* меню по центру шапки, логотип слева, корзина справа */
.top-panel {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 32px;
}
.top-panel > .logo { justify-self: start; }
.top-nav { justify-self: center; margin-left: 0 !important; }
.top-panel > .shopcart-widget-wrapper { justify-self: end; }

/* логотип в гриде шапки сохраняет свою ширину */
.top-panel > .logo {
  display: block !important;
  width: 130px !important;
  height: 44px !important;
  flex: none !important;
}

/* ---------- светлая шапка: тёмный текст + тёмная полоса 5 px снизу ---------- */
:root { --header-h: 69px; }
.top-panel-wrapper {
  background-color: #f4f4f4 !important;
  border-bottom: 5px solid #2b2b2b;
  height: 69px !important;
}
.top-panel { height: 64px !important; }
.top-panel > .logo {
  filter: invert(1) brightness(.78);
}
.top-nav-link,
.top-nav .main-menu .menu-link {
  color: #2b2b2b !important;
}
.top-nav-link:hover,
.top-nav .main-menu .menu-link:hover {
  color: #6e6e73 !important;
}
.top-panel .shopcart-widget.in-header {
  filter: invert(1) brightness(.78);
}
.top-panel .shopcart-widget-link { color: #2b2b2b !important; }
.top-contacts-toggle { color: #2b2b2b !important; }

/* цвет текста корзины задаём до инверсии, иначе фильтр делает его светлым */
.top-panel .shopcart-widget-link { color: #ffffff !important; }
.top-panel .shopcart-widget-link:hover { color: #b8b8b8 !important; }

/* карточка контактов раскрывается вправо от слова «Контакты» */
.top-contacts-drop {
  right: auto !important;
  left: 0 !important;
}

/* шапка: белый фон как у липких полос + тонкая линия 1 px снизу */
:root { --header-h: 65px; }
.top-panel-wrapper {
  background-color: #ffffff !important;
  border-bottom: 1px solid #2b2b2b !important;
  height: 65px !important;
}
.top-panel { height: 64px !important; }

/* шапка выше липких полос, иначе карточка контактов уходит под них */
.top-panel-wrapper {
  position: sticky;
  top: 0;
  z-index: 9500 !important;
}
.top-contacts-drop { z-index: 9600 !important; }

/* ---------- новая главная ---------- */
.home-page { padding-bottom: 48px; }
.home-hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px 0 8px;
  text-align: center;
}
.home-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #86868b;
}
.home-title {
  margin: 0 0 18px;
  font-size: 56px;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #1d1d1f;
}
.home-lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.55;
  color: #4a4a4f;
}
.home-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 30px 0 51px;
  flex-wrap: wrap;
}
.home-link {
  font-size: 15px;
  color: #1d1d1f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.home-link:hover { color: #3b93d6; }

.home-models { max-width: 1000px; margin: 24px auto 0; }
.home-models-title {
  margin: 0 0 24px;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #1d1d1f;
}
.hm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.hm-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #ececf0;
  border-radius: 24px;
  padding: 20px;
}
.hm-pic {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  margin-bottom: 16px;
}
.hm-pic img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  display: block;
}
.hm-name { margin: 0 0 6px; font-size: 22px; line-height: 1.25; font-weight: 500; color: #1d1d1f; }
.hm-desc { margin: 0 0 18px; font-size: 14px; color: #86868b; }
.hm-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hm-price { font-size: 18px; font-weight: 600; color: #1d1d1f; }
.hm-btn { height: 40px; padding: 0 18px; font-size: 14px; }

.home-cta {
  max-width: 1000px;
  margin: 56px auto 0;
  padding: 36px 40px;
  background: #f5f5f7;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.home-cta-title { margin: 0 0 6px; font-size: 24px; font-weight: 500; color: #1d1d1f; }
.home-cta-desc { margin: 0; font-size: 15px; color: #6e6e73; }
.home-cta-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .home-title { font-size: 38px; }
  .hm-grid { grid-template-columns: 1fr; }
  .home-hero { padding-top: 36px; }
  .home-cta { padding: 24px; }
}

/* главная: блоки выровнены по сетке сайта (213 … 1213) */
.banner .content,
.banner .content-white {
  width: 1032px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}
.x-banner .content {
  width: 1032px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* блоки главной были absolute с left: 50% — возвращаем в поток */
.banner .content,
.banner .content-white {
  position: relative !important;
  left: 0 !important;
  right: auto !important;
  top: auto !important;
}

@media (max-width: 700px) {
    }

/* ф3: текст лежит поверх фоновой картинки (в теме он был absolute) */
.banner.ficha3 .content-white {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%);
  margin: 0 !important;
  width: 1032px !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* «Контакты»: убираем квадратную рамку фокуса от мыши, оставляем аккуратную для клавиатуры */
.top-contacts-toggle:focus { outline: none !important; }
.top-contacts-toggle:focus-visible {
  outline: 2px solid #3b93d6 !important;
  outline-offset: 5px;
  border-radius: 6px;
}

/* символ рубля в каталоге — того же вида, что на карточке товара */
.cv-cur,
.cat-cur {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 0.94em;
}

.hf-media--dark { background: #101014; }
.hf-media--dark img { border-radius: 18px; }

/* крупные фото-планы заполняют подложку целиком */
.hf-media--dark { padding: 0; overflow: hidden; background: #101014; }
.hf-media--dark img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
}

/* v3-dark-fill: подложка держит пропорцию 4/3, фото заполняет её целиком */
.hf-media.hf-media--dark {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}
.hf-media.hf-media--dark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
}

/* v3-media-fit: картинки блоков 3–5 органично вписаны в подложку */
.hf-media img {
  max-width: 100%;
  max-height: 100%;
}
.hf-media--scheme {
  padding: 18px;
}
.hf-media--scheme img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}
.hf-media--wifi {
  position: relative;
  aspect-ratio: 2 / 1;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #000;
}
.hf-media--wifi img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  background: #000;
}

/* v3-media-fit2: обрезанные картинки и пропорции подложек */
.hf-media--product img {
  mix-blend-mode: multiply;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.hf-media--scheme {
  aspect-ratio: 20 / 13;
  min-height: 0;
  padding: 10px;
}
.hf-media--scheme img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}
.hf-media--wifi {
  aspect-ratio: 1 / 1;
  padding: 0;
  background: #000;
  overflow: hidden;
}
.hf-media--wifi img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
}

/* v3-realtouch: схема RealTouch обрезана по контуру и занимает карточку целиком */
.hf-media--scheme {
  aspect-ratio: 1958 / 1708;
  min-height: 0;
  padding: 18px;
  background: #f5f5f5;
  overflow: hidden;
}
.hf-media--scheme img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  border-radius: 0;
}

/* v3-hotend-crop: кадр с хотэндом из исходного фото, во всю карточку */
.hf-media--hotend {
  aspect-ratio: 4 / 3;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #f5f5f7;
}
.hf-media--hotend img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
  mix-blend-mode: multiply;
}

/* шапка: мягкий светло-серый вместо белого */
.top-panel-wrapper {
  background-color: #f4f4f6 !important;
  border-bottom-color: #dcdce1 !important;
}

.top-panel-wrapper {
  background: var(--hdr-bg, #f4f4f6) !important;
  border-bottom-color: var(--hdr-border, #dcdce1) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
}
html.hdr-graphite .top-panel-wrapper,
html.hdr-black .top-panel-wrapper {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}
html.hdr-silver .top-panel-wrapper {
  box-shadow: 0 6px 18px rgba(20, 20, 26, .06);
}

.top-nav-link,
.top-nav .main-menu .menu-link,
.top-panel .top-contacts-toggle { color: var(--hdr-fg, #2b2b2b) !important; }
.top-nav-link:hover,
.top-nav .main-menu .menu-link:hover,
.top-panel .top-contacts-toggle:hover { color: var(--hdr-fg, #2b2b2b) !important; opacity: .68; }

.top-panel .logo { filter: var(--hdr-logo, invert(1) brightness(.35)) !important; }
.top-panel .shopcart-widget.in-header { filter: var(--hdr-cart-filter, invert(1) brightness(.35)) !important; }
.top-panel .shopcart-widget-link { color: var(--hdr-cart-color, #fff) !important; }
.top-panel .shopcart-widget-link:hover { color: var(--hdr-cart-color, #fff) !important; opacity: .7; }

/* ---------- схема подключения ---------- */
.hf-media-block { display: flex; flex-direction: column; min-width: 0; }
.hf-media-block .hf-media--wifi {
  aspect-ratio: 876 / 1004;
  background: transparent;
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
}
.hf-media-block .hf-media--wifi img { background: transparent; }
/* ---------- кнопки внутри уведомлений ----------
   Тема InSales красит ссылки в .notice.is-info в чёрный (.notice.is-info a),
   из-за чего синяя кнопка получала чёрную надпись. Возвращаем белый. */
.notice.is-info a.cv-btn,
.notice.is-info a.cv-btn:hover,
.notice.is-success a.cv-btn,
.notice.is-error a.cv-btn,
.notice.is-warning a.cv-btn,
.notice a.cv-btn,
.notice a.cv-btn:hover,
.notice a.cv-btn:focus {
  color: #fff;
}

/* ---------- модельный ряд: слайдер и варианты конфигураций ---------- */
.hm-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.hm-head .home-models-title { margin: 0; }
.hm-slider-wrap { position: relative; }
.hm-arrow {
  position: absolute; top: var(--hm-arrow-top, 50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid #e6e6ea; background: #fff;
  color: #1d1d1f; font-size: 18px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
  transition: border-color .15s, opacity .15s, box-shadow .15s;
}
.hm-arrow--prev { left: 0; transform: translate(-50%, -50%); }
.hm-arrow--next { right: 0; transform: translate(50%, -50%); }
.hm-arrow:hover:not(:disabled) { border-color: #1d1d1f; }
.hm-arrow:disabled {
  cursor: default;
  color: #c9c9d0;
  border-color: #f0f0f2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}
.hm-slider {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px;
}
.hm-slider::-webkit-scrollbar { display: none; }
.hm-slider .hm-card { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; }
.hm-slider .hm-desc { margin-bottom: 16px; }
.hm-variants { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.hm-variant {
  font-size: 11.5px; line-height: 1; padding: 6px 11px; border-radius: 980px;
  border: 1px solid #dcdce1; color: #4a4a4f; text-decoration: none; white-space: nowrap;
  transition: border-color .15s, color .15s, background .15s;
}
.hm-variant:hover { border-color: #1d1d1f; color: #1d1d1f; }
.hm-variant.is-current { background: #1d1d1f; border-color: #1d1d1f; color: #fff; }
@media (max-width: 1000px) { .hm-slider .hm-card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .hm-slider .hm-card { flex-basis: 86%; } }


.hm-price { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.hm-price-old { font-size: 13px; color: #86868b; text-decoration: line-through; }


/* а фото хотэнда на главной */
.hf-media-wrap { position: relative; }
.hf-media--heat { height: 484px; min-height: 0; }
.hf-media--heat img { max-height: 100%; }

@media (max-width: 1260px) {  }




.dt-item { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dt-item img { display: block; width: auto; max-width: none; height: auto; }
.dt-item figcaption { font-size: 13px; color: #86868b; white-space: nowrap; }
.dt-s300 img { height: 133px; }
.dt-s400 img { height: 225px; }
.dt-s600 img { height: 306px; }
.dt-s800 img { height: 310px; }
.dt-q400 img { height: 274px; }
.dt-s1000 img { height: 340px; }
.dt-s300dual img { height: 133px; }
@media (max-width: 1100px) {
  .dt-row { flex-wrap: wrap; justify-content: center; align-items: flex-end; }
  .dt-title { font-size: 38px; }
}


/* ---------- временный переключатель композиции на главной ---------- */
.home-lineup-wrap {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 284px;
}
/* переключатель вариантов главной — в левом верхнем углу страницы */


@media (max-width: 900px) {  }
@media (max-width: 1080px) { .home-lineup-wrap { min-height: 0; } }
.home-lineup-alt {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center; min-height: 0; width: 100%;
  margin: 0 auto;
  gap: 10px; padding: 0 0 6px; overflow: visible; max-width: 100%;
}
.home-lineup-alt[hidden] { display: none; }
.home-lineup-alt::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -26px; height: 56px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .22), rgba(0, 0, 0, 0));
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  filter: blur(5px);
  pointer-events: none; z-index: 0;
}
.home-lineup-alt .dt-item { position: relative; z-index: 1; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.home-lineup-alt .dt-item img { display: block; width: auto; max-width: none; height: auto; }
.home-lineup-alt .dt-item figcaption { font-size: 11px; color: #86868b; white-space: nowrap; }
.home-lineup-alt .dt-s300 img { height: 84px; }
.home-lineup-alt .dt-s400 img { height: 143px; }
.home-lineup-alt .dt-s600 img { height: 178px; }
.home-lineup-alt .dt-s800 img { height: 197px; }
.home-lineup-alt .dt-s1000 img { height: 216px; }
.home-lineup-alt .dt-q400 img { height: 174px; }
.home-lineup-alt .dt-s400dual img { height: 143px; }
.home-lineup-alt .dt-s300dual img { height: 84px; }
.home-lineup-alt figcaption { display: none; }
.home-lineup-alt.is-named figcaption { display: block; }


/* меньше воздуха вокруг композиции в hero */
.home-hero + .home-feature { padding-top: 64px; }


/* тень-пол под принтером в блоке «Большой размер» */
.hf-media--floor {
  position: relative;
  overflow: hidden;
}
.hf-media--floor img { max-height: 360px; }
.hf-media--floor::after {
  content: "";
  position: absolute; left: 11%; right: 11%; bottom: 2px; height: 70px;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 74%);
  filter: blur(9px);
  pointer-events: none; z-index: 0;
}
.hf-media--floor img { position: relative; z-index: 1; }




/* пол под принтером в блоке «Активный нагрев» */
.hf-media--heat { position: relative; }
.hf-media--heat img { position: relative; z-index: 1; }
.hf-media--heat::after {
  content: "";
  position: absolute; left: 8%; right: 8%; bottom: 4px; height: 76px;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0) 74%);
  filter: blur(10px);
  pointer-events: none; z-index: 0;
}






/* панель принтера в блоке нагрева — снова колонкой */
.hf-switch-stack { align-items: flex-end; }


/* шапка: светлая, с еле заметным обесцвечиванием проезжающего контента */
.top-panel-wrapper {
  background-color: rgba(244, 244, 246, .93) !important;
  border-bottom-color: #dcdce1 !important;
  -webkit-backdrop-filter: saturate(99%) blur(15px);
  backdrop-filter: saturate(99%) blur(15px);
}


/* воздух вокруг финального призыва на главной */
.home-cta { margin-top: 24px; margin-bottom: 48px; }


/* кнопки модельного ряда: спокойный вторичный стиль */
.hm-btn.cv-btn {
  background-color: #f0f0f3 !important;
  background-image: none !important;
  color: #1d1d1f !important;
  border: 1px solid #e4e4e9;
  box-shadow: none;
}
.hm-btn.cv-btn:hover {
  background-color: #e7e7ec !important;
  border-color: #d8d8de;
}


/* версия главной без нижнего блока — тот же воздух перед подвалом */
.home-page:not(:has(.home-cta)) { padding-bottom: 96px; }


/* ===== мобильная шапка и защита от горизонтального скролла ===== */
.top-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 0 8px; margin-right: 8px;
  background: none; border: 0; cursor: pointer;
}
.top-burger span {
  display: block; height: 2px; width: 100%;
  background: #1d1d1f; border-radius: 2px;
}
body.is-menu-open { overflow: hidden; }
/* пока меню открыто, страница не участвует в отрисовке — ничего не перекрывает меню */
body.is-menu-open .body-wrapper { visibility: hidden; }

.top-mobile-menu {
  position: fixed !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  z-index: 9999 !important;
  background: #fff !important; padding: 16px 20px 32px; overflow: auto;
}
.top-mobile-head { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.top-mobile-logo { font-size: 16px; font-weight: 700; letter-spacing: .06em; color: #1d1d1f; }
.top-mobile-close {
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  font-size: 28px; line-height: 1; color: #1d1d1f;
}
.top-mobile-list { list-style: none; margin: 8px 0 0; padding: 0; }
.top-mobile-list li { border-bottom: 1px solid #eeeef2; }
.top-mobile-list a { display: block; padding: 16px 2px; font-size: 20px; color: #1d1d1f; }
.top-mobile-foot { display: grid; gap: 10px; margin-top: 24px; font-size: 16px; }
.top-mobile-foot a { color: #1d1d1f; text-decoration: none; }
.top-mobile-list { padding-bottom: 8px; }

@media (max-width: 900px) {
  /* тело не должно быть шире экрана */
  body, .body-wrapper, .footer-wrapper, .footer-bottom-wrapper { min-width: 0 !important; }
  .container { max-width: 100% !important; }
  .top-panel-wrapper { min-width: 0 !important; }

  .top-burger { display: inline-flex; }
  .top-nav { display: none !important; }
  .top-panel { gap: 4px; }
  .shopcart-widget-caption { display: none; }

  /* ряд принтеров: ширина каждой модели пропорциональна её реальной ширине */
  .home-lineup-wrap { min-height: 0; padding: 0; }
  .home-lineup-alt { gap: 4px; width: 100%; }
  .home-lineup-alt .dt-item { flex: var(--dt-w, 700) 1 0 !important; min-width: 0; }
  .home-lineup-alt .dt-item img { width: 100% !important; height: auto !important; max-width: 100%; }
  .home-lineup-alt .dt-s300,
  .home-lineup-alt .dt-s300dual { --dt-w: 500; }
  .home-lineup-alt .dt-s400,
  .home-lineup-alt .dt-s400dual { --dt-w: 660; }
  .home-lineup-alt .dt-q400 { --dt-w: 800; }
  .home-lineup-alt .dt-s600 { --dt-w: 880; }
  .home-lineup-alt .dt-s800 { --dt-w: 1350; }
  .home-lineup-alt .dt-s1000 { --dt-w: 1500; }
}


/* ===== мобильная шапка ===== */
@media (max-width: 900px) {
  .body-wrapper { display: block !important; width: 100% !important; }

  .top-panel {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 10px;
    height: 56px !important;
    min-height: 56px !important;
  }
  .top-panel-wrapper { height: auto !important; padding: 8px 0 !important; }

  .top-burger {
    display: inline-flex !important;
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
    margin: 0 !important;
    justify-content: center;
    gap: 5px;
  }
  .top-burger span { width: 24px; height: 2px; background: #1d1d1f; }

  .top-panel .logo {
    flex: 0 1 auto !important;
    width: 130px !important;
    height: 44px !important;
    margin: 0 !important;
    background-size: contain !important;
    background-position: left center !important;
  }

  .top-nav { display: none !important; }

  .shopcart-widget-wrapper { margin: 0 0 0 auto !important; }
  .shopcart-widget-caption { display: none !important; }
  .shopcart-widget.in-header {
    padding: 0 26px 0 0 !important;
    background-position: right center !important;
  }
}


/* ===== ряд принтеров на телефоне: высоты по габаритам =====
   Высота каждой модели пропорциональна реальной высоте (мм), поэтому Q400,
   у которого рендер шире за счёт катушки, больше не «проседает». */
@media (max-width: 900px) {
  .home-lineup-wrap { container-type: inline-size; }
  .home-lineup-alt { justify-content: center; gap: 2px; }
  .home-lineup-alt .dt-item { flex: 0 0 auto !important; min-width: 0; }
  .home-lineup-alt .dt-item img {
    width: auto !important;
    max-width: none !important;
    /* запасной вариант, если браузер не знает cqw */
    height: calc(var(--dt-h, 1500) * 0.0123vw) !important;
    height: calc(var(--dt-h, 1500) / 7333 * 100cqw) !important;
  }

  .home-lineup-alt .dt-s300,
  .home-lineup-alt .dt-s300dual { --dt-h: 750; }
  .home-lineup-alt .dt-s400,
  .home-lineup-alt .dt-s400dual { --dt-h: 1270; }
  .home-lineup-alt .dt-q400 { --dt-h: 1550; }
  .home-lineup-alt .dt-s600 { --dt-h: 1580; }
  .home-lineup-alt .dt-s800 { --dt-h: 1750; }
  .home-lineup-alt .dt-s1000 { --dt-h: 1920; }
}


/* ===== на телефоне в каждом блоке сначала картинка, потом текст ===== */
@media (max-width: 900px) {
  .home-feature .hf-text { order: 2 !important; }
  .home-feature .hf-media,
  .home-feature .hf-media-wrap,
  .home-feature .hf-media-block { order: 1 !important; }
  .home-feature .hf-media-wrap,
  .home-feature .hf-media-block { width: 100%; }
}



/* ===== модельный ряд на телефоне: вертикальная лента со стрелками ===== */
@media (max-width: 900px) {
  .hm-slider-wrap { overflow: visible; padding: 24px 0; }

  .hm-slider {
    display: block !important;
    overflow: hidden !important;
    padding: 0 !important;
    scroll-snap-type: none;
    scrollbar-width: none;
    touch-action: pan-y;
  }
  .hm-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform .35s ease;
    will-change: transform;
  }
  .hm-slider.is-one-card { touch-action: pan-y; }
  .hm-slider::-webkit-scrollbar { display: none; }

  .hm-slider .hm-card {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    scroll-snap-align: start;
  }

  /* те же круглые кнопки, только снизу и со стрелками вверх-вниз */
  .hm-arrow {
    display: flex !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    font-size: 0;
  }
  .hm-arrow { width: 40px !important; height: 40px !important; }
  .hm-arrow::before { font-size: 18px; line-height: 1; }
  .hm-arrow--prev,
  .hm-arrow--next {
    width: auto !important;
    height: 34px !important;
    padding: 0 20px !important;
    border-radius: 17px !important;
    border-color: #e6e6ea !important;
    background: #fff !important;
    display: inline-flex !important;
    align-items: center;
    font-size: 12px !important;
    font-weight: 400;
    letter-spacing: .01em;
    line-height: 1;
    color: #1d1d1f;
    -webkit-tap-highlight-color: transparent;
  }
  .hm-arrow[hidden] { display: none !important; }
  .hm-arrow--prev::before,
  .hm-arrow--next::before { content: none !important; }
  .hm-arrow--next::after { content: "↓"; margin-left: 6px; font-size: 12px; }
  .hm-arrow--prev::after { content: "↑"; margin-left: 6px; font-size: 12px; }
  .hm-arrow--prev:hover:not(:disabled),
  .hm-arrow--prev:focus,
  .hm-arrow--prev:active,
  .hm-arrow--next:hover:not(:disabled),
  .hm-arrow--next:focus,
  .hm-arrow--next:active { border-color: #e6e6ea !important; box-shadow: none !important; outline: none !important; }
  .hm-arrow--prev:hover:not(:disabled),
  .hm-arrow--next:hover:not(:disabled) { background: #fafafa !important; }
  .hm-arrow--prev:focus-visible,
  .hm-arrow--next:focus-visible { border-color: #c9c9d0 !important; outline: none !important; }
  .hm-arrow--prev { top: 24px !important; transform: translate(-50%, -50%) !important; }
  .hm-arrow--prev::before { content: "↑"; }
  .hm-arrow--next { bottom: 24px !important; transform: translate(-50%, 50%) !important; }
  .hm-arrow--next::before { content: "↓"; }
}


/* карточки модельного ряда компактнее на телефоне — в окно влезают две */
@media (max-width: 900px) {
  /* карточка модели — квадрат 1:1, как и просили */
  .hm-slider .hm-card {
    aspect-ratio: 1 / 1;
    /* сверху и снизу — место под кружки стрелок, они центром на грани */
    padding: 22px;
    border-radius: 18px;
    overflow: hidden;
  }
  .hm-slider .hm-name,
  .hm-slider .hm-desc,
  .hm-slider .hm-variants,
  .hm-slider .hm-foot { flex: 0 0 auto; }
  .hm-slider .hm-name {
    font-size: 22px;
    line-height: 1.15;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hm-slider .hm-desc { margin-bottom: 4px; font-size: 13px; line-height: 1.2; }
  .hm-slider .hm-pic {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
    margin-bottom: 12px;
  }
  .hm-slider .hm-pic img {
    width: 66%;
    height: auto;
    max-width: 66%;
    max-height: 100%;
    object-fit: contain;
  }
  .hm-slider .hm-variants { margin-bottom: 6px; gap: 6px; }
  .hm-slider .hm-variant { padding: 5px 9px; font-size: 12px; }
  .hm-slider .hm-foot { margin-top: auto; gap: 8px; justify-content: flex-start; }
  .hm-slider .hm-btn { margin-left: auto; }
  .hm-slider .hm-price { font-size: 18px; }
  .hm-slider .hm-btn { padding: 0 12px; height: 32px; font-size: 13px; }
}


/* ===== мобильные крошки и заголовок раздела ===== */
@media (max-width: 900px) {
  /* крошки: компактная строка над заголовком, без обрезки */
  .stbr {
    height: auto !important;
    padding: 10px 16px 2px;
    background: #fff;
  }
  .stbr .inner2 {
  width: 100% !important;
  max-width: 100% !important;
  display: flex;
  align-items: center;
  min-height: 44px;
}
  .stbr .breadcrumb {
    display: flex; flex-wrap: wrap; gap: 4px;
    font-size: 12px; line-height: 1.4;
    margin: 0; padding: 0; list-style: none;
  }

  /* название раздела — отдельной строкой под крошками, липнет под шапкой */
  .carttitle1 {
    margin-top: 0 !important;
    height: auto !important;
    padding: 4px 16px 12px !important;
    position: static !important;
    top: auto !important;
    border-bottom: 1px solid #ececf0;
    background: rgba(255, 255, 255, .88) !important;
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    backdrop-filter: saturate(160%) blur(10px);
  }
  .carttitle1 .inner1 {
    position: static !important;
    margin: 0 !important;
    top: auto !important;
  }
  .carttitle1 .header_product {
    font-size: 24px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    text-align: left;
  }
}


@media (max-width: 900px) {
  /* на телефоне в карточке оставляем только актуальную цену */
  .hm-slider .hm-price-old {
    display: inline-flex !important;
    align-items: baseline;
    gap: 2px;
    font-size: 12px !important;
    color: #86868b;
    text-decoration: line-through;
    margin-left: 0;
  }
  .hm-slider .hm-price { font-size: 17px; }
}


/* цена в карточке каталога на телефоне: в одну строку, без переносов */
@media (max-width: 900px) {
  .cv2-price { display: flex; align-items: baseline; flex-wrap: nowrap; gap: 4px; white-space: nowrap; }
  .cv2-price .cv-now { font-size: 17px; white-space: nowrap; }
  .cv2-price .cv-old { font-size: 13px; white-space: nowrap; }
  .cv2-foot { gap: 8px; }
  .cv2-foot .cv-btn { padding: 0 14px; height: 36px; font-size: 13px; white-space: nowrap; }
}


/* мобильный подвал: соцсети обычным списком, как остальные группы */
@media (max-width: 900px) {
  .footer .footer-social-list { display: block; }
  .footer .footer-social-list li { display: block; }
  .footer .footer-social-list a { display: flex; align-items: center; gap: 8px; padding: 8px 0; }
  .footer .footer-contact-line a,
  .footer .footer-contact-line .contact-text { font-size: 16px; }
}


/* ===== карточка товара на телефоне (восстановлено) ===== */
@media (max-width: 900px) {
  /* одна колонка */
  .px-hero {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
    padding: 16px 0 0;
  }
  .px-hero .product-gallery-wrapper.cell-8,
  .px-hero .cartright1_1.cell-4 {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* галерея: большая картинка сверху, миниатюры лентой снизу */
  .product-gallery {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  .gallery-main-wrapper {
    order: 1;
    width: 100% !important;
    max-width: 100% !important;
  }
  .gallery-main-wrapper .image-wrapper,
  .gallery-main-wrapper .slide-inner {
    width: 100% !important;
    height: auto !important;
  }
  .gallery-main-wrapper img.slide-image {
    width: 100% !important;
    height: auto !important;
    max-height: 62vh;
    object-fit: contain;
  }

  .product-gallery > .gallery-thumbs-wrapper {
    order: 2;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 0 4px !important;
  }
  .product-gallery > .gallery-thumbs-wrapper .gallery-thumbs {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 2px 6px !important;
    scrollbar-width: none;
  }
  .product-gallery > .gallery-thumbs-wrapper .gallery-thumbs::-webkit-scrollbar { display: none; }
  .product-gallery > .gallery-thumbs-wrapper .gallery-thumbs > * {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px;
    transform: none !important;
    transition: none !important;
    width: auto !important;
    height: auto !important;
  }
  .product-gallery > .gallery-thumbs-wrapper .gallery-thumbs [data-slider-slide] {
    flex: 0 0 auto !important;
    width: 68px !important;
    height: 68px !important;
  }
  /* миниатюра центрируется внутри своего квадрата */
  .product-gallery > .gallery-thumbs-wrapper .gallery-thumbs .slide-inner {
    width: 68px !important;
    height: 68px !important;
    padding: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .product-gallery > .gallery-thumbs-wrapper .gallery-thumbs img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain;
    object-position: center;
  }
  .product-gallery > .gallery-thumbs-wrapper .product-slider-controls { display: none !important; }

  /* текстовая часть */
  .px-hero .px { max-width: 100% !important; }
  .px-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
  .px-price-now { font-size: 30px !important; white-space: nowrap; }
  .px-price-old { font-size: 16px !important; white-space: nowrap; }
  .px-form .cv-btn,
  .px-form button,
  .px-buy { width: 100%; }
  .px-hero .px-highlights {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px;
    margin: 16px 0 0;
    padding: 0;
  }
  .px-hero .px-highlights li {
    display: flex; align-items: center; gap: 12px;
    width: auto !important;
    font-size: 15px; line-height: 1.35;
  }
  .px-hero .px-highlights .px-ico { flex: 0 0 24px; }
}


/* ===== мобильная шапка, крошки и вкладки (восстановлено) ===== */
@media (max-width: 900px) {
  /* шапка непрозрачная: контент под ней не просвечивает */
  .top-panel-wrapper {
    background: #f4f4f6 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border-bottom: 1px solid #e6e6ec !important;
  }

  /* липкие крошки: одна полоса, белая, по центру — как на десктопе */
  .stbr,
  .stbr--stack {
    top: var(--header-h, 65px) !important;
    margin-top: 0 !important;
    padding: 0 16px !important;
    height: auto !important;
    min-height: 44px !important;
    background: rgba(255, 255, 255, .88) !important;
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    backdrop-filter: saturate(160%) blur(10px);
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ececf0;
    z-index: 8900;
  }
  .stbr .inner2 {
  width: 100% !important;
  max-width: 100% !important;
  display: flex;
  align-items: center;
  min-height: 44px;
}
  .stbr .breadcrumb { font-size: 12px; line-height: 1.3; margin: 0; }

  /* вкладки товара с отступом от края */
  .px-tabsrow { padding: 0 12px !important; margin-top: 20px !important; }
  .tabset.px-tabs { padding-left: 0 !important; }
  .tabset.px-tabs > label { padding-left: 16px !important; padding-right: 16px !important; }
}


/* ===== плитки характеристик на телефоне (восстановлено) ===== */
@media (max-width: 900px) {
  .tab-panel .row.main-spec {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .tab-panel .row.main-spec .cell-2 {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 6px;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 8px 9px !important;
    border: 1px solid #ececf0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
  }
  .tab-panel .row.main-spec .cell-2[hidden] { display: none !important; }
  .tab-panel .row.main-spec .cell-2:active { background: #fafafc; }
  .tab-panel .row.main-spec .cell-2 img {
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px;
    margin: 0 !important;
  }
  .tab-panel .row.main-spec .cell-2 > div:nth-child(2) {
    text-align: left !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    padding: 0 !important;
  }
  .tab-panel .row.main-spec .cell-2 > div:nth-child(3),
  .tab-panel .row.main-spec .cell-2 > div:nth-child(4) { display: none !important; }

  .tab-panel .row.main-spec .cell-2 > div:nth-child(4).is-open {
    display: block !important;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 40;
    background: #fff;
    border: 1px solid #e6e6ec;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(20, 20, 26, .14);
    padding: 10px 12px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    text-align: left !important;
    color: #1d1d1f;
    white-space: normal;
  }
  .tab-panel h2, .tab-panel h1 { font-size: 22px !important; line-height: 1.25 !important; }
  .tab-panel h3 { font-size: 18px !important; }
}


/* ===== строка-разделитель в фактах товара: воздух под текстом ===== */
@media (max-width: 900px) {
  .px-hero .px-highlights {
    display: block !important;
    margin: 16px 0 0;
    padding: 0;
  }
  .px-hero .px-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto !important;
    padding: 12px 0 14px !important;
    border-bottom: 1px solid #ececf0;
    font-size: 15px;
    line-height: 1.35;
  }
  .px-hero .px-highlights li:last-child { border-bottom: 0; }
  .px-hero .px-highlights .px-ico { flex: 0 0 24px; }
}


@media (max-width: 900px) {
  .px-hero .px .px-note {
    align-self: stretch !important;
    text-align: left !important;
    justify-content: flex-start !important;
    margin-left: 0 !important;
  }
}


/* ===== лента миниатюр товара: рамка не обрезается, есть стрелки ===== */
@media (max-width: 900px) {
  .product-gallery > .gallery-thumbs-wrapper { position: relative; }
  .product-gallery > .gallery-thumbs-wrapper .gallery-thumbs {
    padding: 4px 10px 8px 0 !important;
    scroll-padding-left: 0;
  }
  .product-gallery > .gallery-thumbs-wrapper .gallery-thumbs [data-slider-slide] {
    scroll-margin: 0 10px;
  }
  .thumb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid #e6e6ea;
    background: #fff;
    color: #1d1d1f;
    font-size: 14px;
    line-height: 1;
    z-index: 6;
    box-shadow: 0 4px 12px rgba(20, 20, 26, .12);
    cursor: pointer;
  }
  .thumb-nav--prev { left: -2px; }
  .thumb-nav--next { right: -2px; }
  .thumb-nav[disabled] { opacity: 0; pointer-events: none; }
}


/* ===== стык шапки и липких крошек: никаких линий между ними ===== */
@media (max-width: 900px) {
  .top-panel-wrapper { border-bottom: 0 !important; box-shadow: none !important; }
  .stbr { border-top: 0 !important; box-shadow: none !important; }
}


@media (max-width: 900px) {
  /* галерея товара использует всю ширину контейнера */
  .px-hero .product-gallery-wrapper { padding-left: 0 !important; padding-right: 0 !important; }
}


/* ===== плитки характеристик: крупные иконки, карточки заполнены ===== */
@media (max-width: 900px) {
  .tab-panel .row.main-spec { gap: 10px !important; }
  .tab-panel .row.main-spec .cell-2 {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 14px 8px !important;
    min-height: 98px;
    text-align: center;
  }
  .tab-panel .row.main-spec .cell-2 img {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px;
  }
  .tab-panel .row.main-spec .cell-2 > div:nth-child(2) {
    text-align: center !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
  }
}


/* ===== стрелки ленты миниатюр: новый вид и точное выравнивание ===== */
@media (max-width: 900px) {
  .product-gallery > .gallery-thumbs-wrapper .thumb-nav {
    width: 36px;
    height: 36px;
    top: 38px;                     /* 4px отступ ленты + половина миниатюры 68px */
    transform: translateY(-50%);
    border-radius: 50%;
    border: 1px solid #e4e4e9;
    background: #fff;
    color: transparent;
    font-size: 0;
    box-shadow: 0 6px 16px rgba(20, 20, 26, .14);
    transition: transform .15s, box-shadow .15s, border-color .15s;
  }
  .product-gallery > .gallery-thumbs-wrapper .thumb-nav::before {
    content: "";
    width: 7px;
    height: 7px;
    border-left: 1.6px solid #1d1d1f;
    border-bottom: 1.6px solid #1d1d1f;
    display: block;
  }
  .product-gallery > .gallery-thumbs-wrapper .thumb-nav--prev::before {
    transform: rotate(45deg);
    margin-left: 2px;
  }
  .product-gallery > .gallery-thumbs-wrapper .thumb-nav--next::before {
    transform: rotate(-135deg);
    margin-right: 2px;
  }
  .product-gallery > .gallery-thumbs-wrapper .thumb-nav:hover { border-color: #1d1d1f; }
  .product-gallery > .gallery-thumbs-wrapper .thumb-nav:active { transform: translateY(-50%) scale(.94); }
  .product-gallery > .gallery-thumbs-wrapper .thumb-nav--prev { left: -6px; }
  .product-gallery > .gallery-thumbs-wrapper .thumb-nav--next { right: -6px; }
}


/* стрелки ленты миниатюр: чуть крупнее и заметнее */
@media (max-width: 900px) {
  .product-gallery > .gallery-thumbs-wrapper .thumb-nav {
    width: 40px;
    height: 40px;
    border-color: #dfdfe6;
    box-shadow: 0 8px 20px rgba(20, 20, 26, .16);
  }
  .product-gallery > .gallery-thumbs-wrapper .thumb-nav::before {
    width: 8px;
    height: 8px;
    border-left-width: 1.5px;
    border-bottom-width: 1.5px;
  }
  .product-gallery > .gallery-thumbs-wrapper .thumb-nav:hover { box-shadow: 0 10px 24px rgba(20, 20, 26, .22); }
}


/* ===== мобильный подвал: группы сворачиваются, контакты и соцсети открыты ===== */
@media (max-width: 900px) {
  .footer { padding: 8px 0 24px; }
  .footer .cell-3.f-acc { padding: 0; }
  .footer .f-acc .footer-menu-name {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 2px; margin: 0;
    font-size: 15px; color: #1d1d1f;
    border-bottom: 1px solid #e6e6ec;
    cursor: pointer;
  }
  .footer .f-acc .footer-menu-name::after {
    content: "+"; font-size: 20px; line-height: 1; color: #86868b;
  }
  .footer .f-acc.is-open .footer-menu-name::after { content: "\2013"; }
  .footer .f-acc .footer-menu { display: none !important; padding: 8px 0 12px; margin: 0; }
  .footer .f-acc.is-open .footer-menu { display: block !important; }
  .footer .f-acc .footer-menu a { display: block; padding: 10px 2px; }

  /* контакты и соцсети — всегда открыты */
  .footer .footer-col-contacts .footer-menu-name,
  .footer .footer-col-social .footer-menu-name { padding: 16px 2px 10px; margin: 0; font-size: 15px; }
  .footer .footer-contact-line { padding: 6px 0; }
  .footer .footer-contact-line a,
  .footer .footer-contact-line .contact-text { font-size: 17px; }
  .footer .footer-social-list { display: block !important; margin: 0; padding: 0; list-style: none; }
  .footer .footer-social-list li { display: block; }
  .footer .footer-social-list a { display: flex; align-items: center; gap: 8px; padding: 10px 0; }

  .footer-message { margin-top: 20px; }
}


/* подвал на телефоне: две колонки, соцсети на всю ширину */
@media (max-width: 900px) {
  .footer .row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 18px;
    row-gap: 4px;
    align-items: start;
  }
  .footer .cell-3 { width: auto !important; float: none !important; margin: 0 !important; }
  .footer .footer-col-social { grid-column: 1 / -1; }
}


/* ===== подвал: соцсети тоже сворачиваются, контакты — по центру ===== */
@media (max-width: 900px) {
  .footer .footer-col-contacts {
    grid-column: 1 / -1;
    text-align: center;
    padding-bottom: 8px;
  }
  .footer .footer-col-contacts .footer-menu-name { padding-top: 8px; text-align: center; }
  .footer .footer-col-contacts .footer-contact-line { padding: 4px 0; }

  /* соцсети — такие же сворачиваемые, как остальные группы */
  .footer .footer-col-social.f-acc .footer-menu-name { border-bottom: 1px solid #e6e6ec; }
  .footer .footer-col-social.f-acc .footer-social-list { display: none !important; padding: 8px 0 12px; }
  .footer .footer-col-social.f-acc.is-open .footer-social-list { display: block !important; }
  .footer .footer-col-social.f-acc .footer-social-list a { display: flex; align-items: center; gap: 8px; padding: 10px 2px; }
}


/* плитки характеристик: иконка почти во всю плашку */
@media (max-width: 900px) {
  .tab-panel .row.main-spec .cell-2 {
    padding: 8px 6px !important;
    gap: 6px !important;
    min-height: 98px;
  }
  .tab-panel .row.main-spec .cell-2 img {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px;
  }
  .tab-panel .row.main-spec .cell-2 > div:nth-child(2) { font-size: 13px !important; }
}


/* ===== порядок в подвале: 4 одинаковые группы, контакты — внизу ===== */
@media (max-width: 900px) {
  .footer .row { display: grid !important; grid-template-columns: 1fr 1fr !important; column-gap: 18px; }
  .footer .row > .cell-3:nth-child(1) { order: 1; }
  .footer .row > .cell-3:nth-child(2) { order: 2; }
  .footer .row > .cell-3:nth-child(4) { order: 3; }
  .footer .footer-col-social { order: 4; grid-column: auto !important; width: auto !important; }
  .footer .footer-col-contacts { order: 5; grid-column: 1 / -1 !important; }
}


/* ===== подвал: заголовки групп по центру, вместо плюса — стрелка вниз ===== */
@media (max-width: 900px) {
  .footer .f-acc .footer-menu-name {
    justify-content: center;
    gap: 8px;
    text-align: center;
  }
  .footer .f-acc .footer-menu-name::after {
    content: "" !important;
    width: 7px;
    height: 7px;
    font-size: 0;
    border-right: 1.5px solid #6f6f76;
    border-bottom: 1.5px solid #6f6f76;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s ease;
  }
  .footer .f-acc.is-open .footer-menu-name::after {
    transform: rotate(-135deg) translateY(-2px);
  }
}


/* контакты в подвале на телефоне — чуть крупнее */
@media (max-width: 900px) {
  .footer .footer-col-contacts .footer-menu-name { font-size: 16px; }
  .footer .footer-col-contacts .footer-contact-line { padding: 8px 0; }
  .footer .footer-col-contacts .footer-contact-line a,
  .footer .footer-col-contacts .footer-contact-line .contact-text { font-size: 19px; }
  .footer .footer-col-contacts .footer-contact-line .contact-link { font-size: 19px; }
}


@media (max-width: 900px) {
  .tab-panel .row:not(.main-spec) {
    width: auto !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px;
  }
  .tab-panel .row:not(.main-spec) > [class*="cell-"] {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
  }
}


/* ===== изображения в блоках товара — на серых плашках, как на главной ===== */
.tabcontent .is-media-card,
.tab-panel .row:not(.main-spec) .is-media-card {
  background: #f5f5f7;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.tabcontent .is-media-card img,
.tabcontent .is-media-card video,
.tab-panel .row:not(.main-spec) .is-media-card img,
.tab-panel .row:not(.main-spec) .is-media-card video {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

@media (max-width: 900px) {
  .tabcontent .is-media-card,
  .tab-panel .row:not(.main-spec) .is-media-card { padding: 14px; border-radius: 18px; }
}


/* фото с белым фоном в блоках товара растворяются в серой плашке */
.tabcontent .is-media-card img,
.tab-panel .row:not(.main-spec) .is-media-card img {
  mix-blend-mode: multiply;
  background: transparent !important;
}


/* стрелки ленты миниатюр нужны только на телефоне */
@media (min-width: 901px) {
  .thumb-nav { display: none !important; }
  .product-gallery > .gallery-thumbs-wrapper { position: relative; }
}

/* полоски между блоками больше не нужны — стилистика как на главной */
.slidestrip { display: none !important; }

@media (max-width: 900px) {
  .tabcontent .banner-description h2 { font-size: 24px !important; line-height: 1.25 !important; }
  .tabcontent .banner-description li,
  .tabcontent .banner-description p,
  .tabcontent .banner-description li span { font-size: 16px !important; line-height: 1.5 !important; }
}


.tabcontent .row.slidestrip,
.slidestrip { display: none !important; height: 0 !important; margin: 0 !important; }

@media (max-width: 900px) {
  .tabcontent .row.slidestrip { display: none !important; }
}


@media (max-width: 900px) {
  .tabcontent .banner-description h2 { font-size: 26px !important; }
  .tabcontent .banner-description li,
  .tabcontent .banner-description p,
  .tabcontent .banner-description li span { font-size: 17px !important; line-height: 1.5 !important; }
}


/* на телефоне фото в плашке чуть меньше и с воздухом по краям */
@media (max-width: 900px) {
  .tabcontent .is-media-card,
  .tab-panel .row:not(.main-spec) .is-media-card {
    padding: 22px !important;
    border-radius: 22px !important;
  }
  .tabcontent .is-media-card img,
  .tabcontent .is-media-card video,
  .tab-panel .row:not(.main-spec) .is-media-card img,
  .tab-panel .row:not(.main-spec) .is-media-card video {
    max-height: 62vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
  }
}


/* фото в блоках товара на телефоне: компактнее и с воздухом */
@media (max-width: 900px) {
  .tabcontent .is-media-card,
  .tab-panel .row:not(.main-spec) .is-media-card { padding: 24px !important; }
  .tabcontent .is-media-card img,
  .tabcontent .is-media-card video,
  .tab-panel .row:not(.main-spec) .is-media-card img,
  .tab-panel .row:not(.main-spec) .is-media-card video {
    max-height: 46vh !important;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
  }
}


@media (max-width: 900px) {
  .tabcontent .is-media-card,
  .tab-panel .row:not(.main-spec) .is-media-card { padding: 26px !important; }
  .tabcontent .is-media-card img,
  .tabcontent .is-media-card video,
  .tab-panel .row:not(.main-spec) .is-media-card img,
  .tab-panel .row:not(.main-spec) .is-media-card video { max-height: 40vh !important; }
}


/* инлайн-отступы внутри описаний товара не должны ломать плашку */
.tabcontent .is-media-card img,
.tabcontent .is-media-card video,
.tab-panel .row:not(.main-spec) .is-media-card img,
.tab-panel .row:not(.main-spec) .is-media-card video {
  margin: 0 auto !important;
}


.tabcontent .row > .cell-7,
.tabcontent .row > .cell-5 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 900px) {
  .tabcontent .banner-description { max-width: 100%; margin-bottom: 14px !important; }
  .tabcontent .banner-description h2 { margin-bottom: 14px; }
  .tabcontent .banner-description li { margin-bottom: 8px; }
}


.tabcontent .row { gap: 64px; }

@media (max-width: 900px) {
  .tabcontent { padding: 32px 0; }
  .tabcontent .row { gap: 20px; }
  .tabcontent .banner-description { max-width: 100%; margin-bottom: 14px !important; }
  .tabcontent .banner-description h2 { font-size: 28px !important; margin-bottom: 14px !important; }
  .tabcontent .banner-description li,
  .tabcontent .banner-description p,
  .tabcontent .banner-description li span { font-size: 17px !important; }
  .tabcontent .banner-description li { margin-bottom: 8px; }
}


/* варианты кнопки «Купить» на телефоне (?buy=right) */
@media (max-width: 900px) {
  html.buy-right .px-form .px-buy,
  html.buy-right .px-form .cv-btn,
  html.buy-right .px-form button {
    width: auto !important;
    min-width: 240px;
    padding: 0 44px !important;
    margin-left: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
}


/* ===== «шахматные» блоки товара (две колонки: картинка + текст) ===== */
@media (min-width: 901px) {
  .tabcontent .row.is-chess {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 64px !important;
    padding: 56px 0;
  }
  .tabcontent .row.is-chess > .cell-5 {
    flex: 0 0 40% !important;
    width: 40% !important;
    max-width: 40% !important;
    min-width: 0 !important;
  }
  .tabcontent .row.is-chess > .cell-7 {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  .tabcontent .row.is-chess .banner-description { max-width: 520px; margin: 0 0 20px !important; text-align: left; }
  .tabcontent .row.is-chess .banner-description:last-child { margin-bottom: 0 !important; }
  .tabcontent .row.is-chess .banner-description h2 {
    font-size: 40px !important;
    line-height: 1.15 !important;
    font-weight: 500 !important;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    text-align: left;
    margin: 0 0 18px !important;
  }
  .tabcontent .row.is-chess .banner-description li,
  .tabcontent .row.is-chess .banner-description p,
  .tabcontent .row.is-chess .banner-description li span {
    font-size: 17px !important;
    line-height: 1.55 !important;
    color: #4a4a4f;
  }
  .tabcontent .row.is-chess .banner-description li { margin-bottom: 10px; }
  .tabcontent .row.is-chess .banner-description li:last-child { margin-bottom: 0; }
  .tabcontent .row.is-chess .banner-description ul { margin: 0; padding-left: 20px; }
}

@media (max-width: 900px) {
  .tabcontent .row.is-chess {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
    padding: 32px 0;
    width: auto !important;
    max-width: 100% !important;
  }
  .tabcontent .row.is-chess > [class*="cell-"] {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .tabcontent .row.is-chess .banner-description { max-width: 100%; margin: 0 0 14px !important; text-align: left; }
  .tabcontent .row.is-chess .banner-description h2 { font-size: 28px !important; line-height: 1.2 !important; margin: 0 0 14px !important; text-align: left; }
  .tabcontent .row.is-chess .banner-description li,
  .tabcontent .row.is-chess .banner-description p,
  .tabcontent .row.is-chess .banner-description li span {
    font-size: 17px !important;
    line-height: 1.5 !important;
    color: #4a4a4f;
  }
  .tabcontent .row.is-chess .banner-description li { margin-bottom: 8px; }
  .tabcontent .row.is-chess .banner-description ul { margin: 0; padding-left: 20px; }
  .tabcontent .row.is-chess img,
  .tabcontent .row.is-chess video { max-width: 100% !important; height: auto !important; display: block; }
}

/* разделители между блоками больше не нужны */
.slidestrip { display: none !important; height: 0 !important; margin: 0 !important; }


/* выравнивание текста в шахматных блоках (final) */
.tabcontent .row.is-chess .banner-description,
.tabcontent .row.is-chess .banner-description h1,
.tabcontent .row.is-chess .banner-description h2,
.tabcontent .row.is-chess .banner-description h3,
.tabcontent .row.is-chess .banner-description > div,
.tabcontent .row.is-chess .banner-description ul,
.tabcontent .row.is-chess .banner-description li {
  text-align: left !important;
}
.tabcontent .row.is-chess .banner-description h2 { margin-left: 0 !important; margin-right: 0 !important; }


/* телефония: блоки товара в одну колонку (final) */
@media (max-width: 900px) {
  .tabcontent,
  .tabcontent .row,
  .tabcontent .content-white,
  .tabcontent .banner-description {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .tabcontent .row {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px;
  }
  .tabcontent .row > [class*="cell-"] {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .tabcontent img,
  .tabcontent video { max-width: 100% !important; height: auto !important; }
}


/* мобильный воздух справа в шахматных блоках */
@media (max-width: 900px) {
  .tabcontent .row.is-chess .banner-description { padding-right: 10px; }
  .tabcontent .row.is-chess .banner-description ul { padding-left: 18px; }
}


/* ===== таблицы характеристик: зебра и мягкие разделители ===== */
.tech-spec {
  border-collapse: collapse !important;
  width: 100% !important;
  margin: 8px 0 32px;
  font-size: 15px;
}
.tech-spec td {
  padding: 12px 14px !important;
  border-bottom: 1px solid #f0f0f3;
  vertical-align: top;
  line-height: 1.5;
}
.tech-spec td:first-child { color: #6f6f76; }
.tech-spec tr:nth-child(odd) td { background: #fafafb; }
.tech-spec tr:hover td { background: #f4f4f6; }

@media (max-width: 900px) {
  .tech-spec { font-size: 14px; }
  .tech-spec td { padding: 10px 10px !important; }
  .tech-spec td:first-child { width: 42% !important; }
}


/* плитки характеристик: подсказки только на телефоне */
.tab-panel .row.main-spec .cell-2 { cursor: default; }
@media (max-width: 900px) {
  .tab-panel .row.main-spec .cell-2 { cursor: pointer; }
}


/* ===== плитки характеристик: единая сетка и выравнивание ===== */
.tab-panel .row.main-spec { align-items: start !important; }
.tab-panel .row.main-spec .cell-2 {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px;
  text-align: center;
}
.tab-panel .row.main-spec .cell-2 img {
  height: 60px !important;
  width: auto !important;
  max-width: 100%;
  margin: 0 auto !important;
  display: block;
  object-fit: contain;
}
.tab-panel .row.main-spec .cell-2 > div { text-align: center !important; }
.tab-panel .row.main-spec .cell-2 > div:nth-child(2) { line-height: 1.25 !important; }

@media (max-width: 900px) {
  .tab-panel .row.main-spec .cell-2 img { height: 44px !important; }
}


/* счётчик корзины в шапке: без чёрной плашки */
.top-panel .shopcart-widget-count {
  background: transparent !important;
  color: #ffffff !important;
  padding: 0 0 0 4px !important;
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  border-radius: 0 !important;
  min-width: 0 !important;
  box-shadow: none !important;
}


/* подвал на телефоне: четыре группы друг под другом (final) */
@media (max-width: 900px) {
  .footer .row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    row-gap: 0 !important;
  }
  .footer .row > .cell-3,
  .footer .footer-col-social {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .footer .f-acc .footer-menu-name,
  .footer .footer-col-social .footer-menu-name { justify-content: center; text-align: center; }
  .footer .footer-col-contacts { text-align: center; }
}


/* подвал: контакты отделены, пункты меню по центру */
@media (max-width: 900px) {
  .footer .footer-col-contacts { margin-top: 20px; padding-top: 8px; }
  .footer .f-acc .footer-menu {
    margin: 0 !important;
    padding: 4px 0 12px !important;
    list-style: none !important;
    text-align: center;
  }
  .footer .f-acc .footer-menu li { list-style: none; }
  .footer .f-acc .footer-menu a {
    display: block;
    padding: 10px 2px;
    text-align: center;
  }
}


/* подвал: раскрытые списки — центрированный блок с текстом по левому краю */
@media (max-width: 900px) {
  .footer .f-acc .footer-menu,
  .footer .footer-col-social .footer-social-list {
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 4px 0 12px !important;
    text-align: left !important;
    list-style: none !important;
  }
  .footer .f-acc .footer-menu a {
    display: block;
    padding: 10px 2px;
    text-align: left !important;
  }
  .footer .footer-social-list a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 2px;
    text-align: left !important;
  }
  .footer .footer-social-list li { display: block; }
}


/* контакты в подвале: ещё ниже (final) */
@media (max-width: 900px) {
  .footer .footer-col-contacts { margin-top: 40px !important; }
}


/* контакты в подвале: порядок почта → заявка → телефон */
@media (max-width: 900px) {
  .footer .footer-col-contacts { display: flex; flex-direction: column; }
  .footer .footer-col-contacts .footer-menu-name { order: 0; }
  .footer .footer-col-contacts .footer-contact-line:has(.email) { order: 1; }
  .footer .footer-col-contacts .footer-contact-line:has([data-request]) { order: 2; }
  .footer .footer-col-contacts .footer-contact-line:has(.phone) { order: 3; }
}


/* шапка на телефоне: снова стекло, но без линии снизу */
@media (max-width: 900px) {
  .top-panel-wrapper {
    background: rgba(244, 244, 246, .93) !important;
    -webkit-backdrop-filter: saturate(99%) blur(15px) !important;
    backdrop-filter: saturate(99%) blur(15px) !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }
}


/* ===== тень под рядом принтеров, едет по скроллу ===== */
.home-lineup-wrap { position: relative; }
.lineup-shadow {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 340px;
  height: 74px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, .22) 42%, rgba(0, 0, 0, 0) 72%);
  filter: blur(10px);
  transform: translate3d(0, 0, 0);
  will-change: transform;
  transition: opacity .3s ease;
}
.home-lineup-alt .dt-item { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .lineup-shadow { display: none !important; }
}


.hf-sep span {
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 220px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .95) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translate3d(var(--gx, 100%), 0, 0);
  will-change: transform;
}

@media (max-width: 900px) {
  .hf-sep span { width: 120px; }
}


.hf-sep span {
  width: 260px !important;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%) !important;
  box-shadow: 0 0 6px rgba(255, 255, 255, .9);
}


.hf-sep span {
  position: absolute !important;
  top: 50% !important;
  left: 0 !important;
  width: 20px !important;
  height: 20px !important;
  margin-top: -10px !important;
  background: radial-gradient(circle at center, rgba(28, 28, 34, .55) 0%, rgba(28, 28, 34, .30) 38%, rgba(28, 28, 34, 0) 72%) !important;
  box-shadow: none !important;
  filter: blur(2px) !important;
  transform: translate3d(var(--gx, 0px), 0, 0) !important;
  will-change: transform;
}

@media (max-width: 900px) {
  .hf-sep span { width: 16px !important; height: 16px !important; margin-top: -8px !important; }
}


/* ===== вторая тень за принтером: поднимается по скроллу ===== */
.hf-media--floor {
  position: relative;
  overflow: hidden;
}
.hf-media--floor img { position: relative; z-index: 2; }
.hf-backshadow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76%;
  height: 48%;
  margin-left: -38%;
  margin-top: -24%;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(16, 16, 22, .42) 0%, rgba(16, 16, 22, .22) 46%, rgba(16, 16, 22, 0) 72%);
  filter: blur(24px);
  transform: translate3d(0, var(--bs-y, 22%), 0);
  pointer-events: none;
  will-change: transform;
}

@media (max-width: 900px) {
  .hf-backshadow { filter: blur(18px); }
}


/* вторая тень: карточки «большой размер» и «активный нагрев» (final) */
.hf-media--heat {
  position: relative;
  overflow: hidden;
}
.hf-media--heat img { position: relative; z-index: 2; }


/* вторая тень: крупнее и заметнее (final2) */
.hf-backshadow {
  width: 92% !important;
  height: 62% !important;
  margin-left: -46% !important;
  margin-top: -31% !important;
  background: radial-gradient(ellipse at center, rgba(14, 14, 20, .58) 0%, rgba(14, 14, 20, .30) 42%, rgba(14, 14, 20, 0) 74%) !important;
  filter: blur(24px) !important;
}


/* вторая тень: лёгкий синий оттенок (final) */
.hf-backshadow {
  background: radial-gradient(ellipse at center, rgba(24, 38, 74, .58) 0%, rgba(24, 38, 74, .30) 42%, rgba(24, 38, 74, 0) 74%) !important;
}


/* схема Wi-Fi: встроенный SVG для анимации по скроллу */
.scheme-wifi-svg {
  width: 100%;
  height: auto;
  display: block;
}


/* вторая тень → светлая дымка (final) */
.hf-backshadow {
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .55) 44%, rgba(255, 255, 255, 0) 74%) !important;
  filter: blur(24px) !important;
}


/* дымка: заметнее (final2) */
.hf-backshadow {
  width: 100% !important;
  height: 72% !important;
  margin-left: -50% !important;
  margin-top: -36% !important;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .78) 40%, rgba(255, 255, 255, 0) 76%) !important;
  filter: blur(26px) !important;
}


/* тень за принтером снова обычная, без синего (final) */
.hf-backshadow {
  width: 92% !important;
  height: 62% !important;
  margin-left: -46% !important;
  margin-top: -31% !important;
  background: radial-gradient(ellipse at center, rgba(14, 14, 20, .58) 0%, rgba(14, 14, 20, .30) 42%, rgba(14, 14, 20, 0) 74%) !important;
  filter: blur(24px) !important;
}


/* ряд принтеров целиком кликабельный */
.home-lineup-link {
  display: block;
  width: 100%;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}


/* вторая тень: мягче, чтобы не спорить с тенью на полу (final2) */
.hf-backshadow {
  width: 88% !important;
  height: 58% !important;
  margin-left: -44% !important;
  margin-top: -29% !important;
  background: radial-gradient(ellipse at center, rgba(14, 14, 20, .30) 0%, rgba(14, 14, 20, .15) 44%, rgba(14, 14, 20, 0) 74%) !important;
  filter: blur(28px) !important;
}


/* тень ещё в двух блоках: хотэнды и автоуровень */
.hf-media--hotend,
.hf-media--scheme {
  position: relative;
  overflow: hidden;
}
.hf-media--hotend img,
.hf-media--scheme img {
  position: relative;
  z-index: 2;
}


/* тень в блоках с плотной картинкой: крупнее самой картинки */
.hf-media--hotend .hf-backshadow,
.hf-media--scheme .hf-backshadow {
  width: 128% !important;
  height: 108% !important;
  margin-left: -64% !important;
  margin-top: -54% !important;
  background: radial-gradient(ellipse at center, rgba(14, 14, 20, .26) 0%, rgba(14, 14, 20, .12) 44%, rgba(14, 14, 20, 0) 74%) !important;
}


/* тень поверх плотных картинок: видно как мягкое затемнение */
.hf-media--hotend .hf-backshadow,
.hf-media--scheme .hf-backshadow {
  width: 96% !important;
  height: 74% !important;
  margin-left: -48% !important;
  margin-top: -37% !important;
  z-index: 3 !important;
  mix-blend-mode: multiply;
  opacity: .55;
  background: radial-gradient(ellipse at center, rgba(14, 14, 20, .34) 0%, rgba(14, 14, 20, .16) 46%, rgba(14, 14, 20, 0) 74%) !important;
}


/* тень поверх плотных картинок: чуть заметнее (final2) */
.hf-media--hotend .hf-backshadow,
.hf-media--scheme .hf-backshadow {
  opacity: .85 !important;
  background: radial-gradient(ellipse at center, rgba(14, 14, 20, .52) 0%, rgba(14, 14, 20, .26) 46%, rgba(14, 14, 20, 0) 74%) !important;
}


/* тень в нижней трети картинки, ходит влево-вправо */
.hf-media--hotend .hf-backshadow,
.hf-media--scheme .hf-backshadow {
  left: 0 !important;
  top: auto !important;
  bottom: 6% !important;
  width: 62% !important;
  height: 42% !important;
  margin: 0 !important;
  transform: translate3d(var(--bs-x, 0px), 0, 0) !important;
}


/* тень на плотных картинках: обычное затемнение, без blend */
.hf-media--hotend .hf-backshadow,
.hf-media--scheme .hf-backshadow {
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  filter: blur(22px) !important;
  background: radial-gradient(ellipse at center, rgba(14, 14, 20, .34) 0%, rgba(14, 14, 20, .16) 46%, rgba(14, 14, 20, 0) 74%) !important;
}


/* тень по нижнему краю подложки (final) */
.hf-media--hotend .hf-backshadow,
.hf-media--scheme .hf-backshadow {
  left: 0 !important;
  top: auto !important;
  bottom: 0 !important;
  width: 46% !important;
  height: 30px !important;
  margin: 0 !important;
  z-index: 3 !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  filter: blur(14px) !important;
  background: radial-gradient(ellipse at center, rgba(14, 14, 20, .38) 0%, rgba(14, 14, 20, .18) 50%, rgba(14, 14, 20, 0) 76%) !important;
  transform: translate3d(var(--bs-x, 0px), 0, 0) !important;
}


/* тень по нижнему краю: заметная (final2) */
.hf-media--hotend .hf-backshadow,
.hf-media--scheme .hf-backshadow {
  height: 26px !important;
  width: 44% !important;
  filter: blur(9px) !important;
  background: radial-gradient(ellipse at center, rgba(14, 14, 20, .55) 0%, rgba(14, 14, 20, .28) 50%, rgba(14, 14, 20, 0) 76%) !important;
}


/* тень у нижнего края: без filter, мягкость из градиента (final3) */
.hf-media--hotend .hf-backshadow,
.hf-media--scheme .hf-backshadow {
  filter: none !important;
  height: 34px !important;
  width: 46% !important;
  border-radius: 50% !important;
  background: radial-gradient(ellipse at center, rgba(14, 14, 20, .50) 0%, rgba(14, 14, 20, .32) 32%, rgba(14, 14, 20, .12) 58%, rgba(14, 14, 20, 0) 78%) !important;
}


/* ===== вкладка «Доставка»: читаемый текст и фото в плашке ===== */
#vkl4 {
  max-width: 820px;
  margin: 8px auto 36px;
}
#vkl4 p {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.6;
  color: #4a4a4f;
}
#vkl4 p:last-child { margin-bottom: 0; }
#vkl4 span { color: inherit !important; }
#vkl4 img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 22px auto 0;
  padding: 22px;
  background: #f5f5f7;
  border-radius: 28px;
  mix-blend-mode: multiply;
}
#vkl4 img:only-child, #vkl4 p > span > img { margin-top: 8px; }

@media (max-width: 900px) {
  #vkl4 { max-width: 100%; margin: 4px 0 24px; }
  #vkl4 p { font-size: 16px; line-height: 1.55; }
  #vkl4 img { padding: 14px; border-radius: 22px; margin-top: 16px; }
}


/* фото доставки: компактнее и по центру (final2) */
#vkl4 img {
  max-height: 520px !important;
  object-fit: contain;
}
@media (max-width: 900px) {
  #vkl4 img { max-height: 360px !important; }
}


/* единая тень: одинаковые интенсивность и мягкость, выезд за края (final) */
.hf-backshadow {
  left: 50% !important;
  top: 0 !important;
  bottom: auto !important;
  width: 88% !important;
  height: 58% !important;
  margin-left: -44% !important;
  margin-top: 0 !important;
  z-index: 1 !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  border-radius: 50% !important;
  background: radial-gradient(ellipse at center, rgba(14, 14, 20, .34) 0%, rgba(14, 14, 20, .20) 38%, rgba(14, 14, 20, .08) 62%, rgba(14, 14, 20, 0) 80%) !important;
  transform: translate3d(0, var(--bs-y, 0px), 0) !important;
}

.hf-media--hotend .hf-backshadow,
.hf-media--scheme .hf-backshadow {
  left: 0 !important;
  top: auto !important;
  bottom: 0 !important;
  width: 46% !important;
  height: 34px !important;
  margin: 0 !important;
  z-index: 3 !important;
  transform: translate3d(var(--bs-x, 0px), 0, 0) !important;
}


/* тени как настоящие, «напольные»: широкие, плоские, мягкие (final3) */
.hf-backshadow {
  left: 50% !important;
  top: auto !important;
  bottom: 4% !important;
  width: 118% !important;
  height: 20% !important;
  margin-left: -59% !important;
  margin-top: 0 !important;
  z-index: 1 !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  border-radius: 50% !important;
  background: radial-gradient(ellipse at center, rgba(10, 10, 14, .22) 0%, rgba(10, 10, 14, .14) 34%, rgba(10, 10, 14, .05) 60%, rgba(10, 10, 14, 0) 78%) !important;
  transform: translate3d(0, var(--bs-y, 0px), 0) !important;
}

.hf-media--hotend .hf-backshadow,
.hf-media--scheme .hf-backshadow {
  left: 0 !important;
  top: auto !important;
  bottom: 1% !important;
  width: 70% !important;
  height: 22px !important;
  margin: 0 !important;
  z-index: 3 !important;
  transform: translate3d(var(--bs-x, 0px), 0, 0) !important;
}


/* верхние блоки: тень заметна вокруг корпуса (final4) */
.hf-media--floor .hf-backshadow,
.hf-media--heat .hf-backshadow {
  width: 126% !important;
  height: 34% !important;
  margin-left: -63% !important;
  bottom: 0 !important;
  background: radial-gradient(ellipse at center, rgba(10, 10, 14, .30) 0%, rgba(10, 10, 14, .18) 36%, rgba(10, 10, 14, .06) 62%, rgba(10, 10, 14, 0) 80%) !important;
}


/* откат к первой версии тени у принтеров (as before) */
.hf-media--floor .hf-backshadow,
.hf-media--heat .hf-backshadow {
  left: 50% !important;
  top: 50% !important;
  bottom: auto !important;
  width: 92% !important;
  height: 62% !important;
  margin-left: -46% !important;
  margin-top: -31% !important;
  z-index: 1 !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  border-radius: 0 !important;
  filter: blur(24px) !important;
  background: radial-gradient(ellipse at center, rgba(14, 14, 20, .58) 0%, rgba(14, 14, 20, .30) 42%, rgba(14, 14, 20, 0) 74%) !important;
  transform: translate3d(0, var(--bs-y, 22%), 0) !important;
}


/* нижние блоки: мягкое пятно центром на нижней кромке (final) */
.hf-media--hotend,
.hf-media--scheme {
  overflow: visible !important;
}
.hf-media--hotend .hf-backshadow,
.hf-media--scheme .hf-backshadow {
  left: 0 !important;
  top: 100% !important;
  bottom: auto !important;
  width: 46% !important;
  height: 32% !important;
  margin: 0 !important;
  margin-top: -16% !important;
  z-index: 3 !important;
  border-radius: 0 !important;
  filter: blur(24px) !important;
  background: radial-gradient(ellipse at center, rgba(14, 14, 20, .58) 0%, rgba(14, 14, 20, .30) 42%, rgba(14, 14, 20, 0) 74%) !important;
  transform: translate3d(var(--bs-x, 0px), 0, 0) !important;
}


/* нижние блоки: пятно мягче и компактнее (final2) */
.hf-media--hotend .hf-backshadow,
.hf-media--scheme .hf-backshadow {
  height: 26% !important;
  margin-top: -13% !important;
  filter: blur(26px) !important;
  background: radial-gradient(ellipse at center, rgba(14, 14, 20, .42) 0%, rgba(14, 14, 20, .22) 42%, rgba(14, 14, 20, 0) 74%) !important;
}


/* нижние блоки: тень только внутри подложки, тонкой полосой (final3) */
.hf-media--hotend,
.hf-media--scheme {
  overflow: hidden !important;
}
.hf-media--hotend .hf-backshadow,
.hf-media--scheme .hf-backshadow {
  top: 100% !important;
  bottom: auto !important;
  height: 14% !important;
  margin-top: -7% !important;
  width: 50% !important;
  filter: blur(16px) !important;
  mix-blend-mode: multiply !important;
  opacity: .9 !important;
  background: radial-gradient(ellipse at center, rgba(14, 14, 20, .40) 0%, rgba(14, 14, 20, .20) 44%, rgba(14, 14, 20, 0) 76%) !important;
}


/* нижние блоки: тень вдвое бледнее (final4) */
.hf-media--hotend .hf-backshadow,
.hf-media--scheme .hf-backshadow {
  opacity: .45 !important;
  background: radial-gradient(ellipse at center, rgba(14, 14, 20, .34) 0%, rgba(14, 14, 20, .16) 44%, rgba(14, 14, 20, 0) 76%) !important;
}


/* планшет: кнопка «Купить» не растягивается на всю ширину */
@media (min-width: 601px) and (max-width: 900px) {
  .px-form .px-buy,
  .product .px-buy,
  .px-buy {
    max-width: 440px !important;
    width: 100% !important;
    margin-right: auto !important;
    margin-left: 0 !important;
  }
}


/* блок логотипов производителей на телефоне */
@media (max-width: 900px) {
  .tabcontent .banner-description h2:not(.tech-spec h2) { }
  .tabcontent .cell-12 img[src*="Logos"],
  .tabcontent .cell-12 img[alt="LOGOs"] {
    width: 94% !important;
    max-width: 94% !important;
    margin: 8px auto 4px !important;
    border-radius: 18px;
    display: block;
  }
  .tabcontent .cell-12:has(img[alt="LOGOs"]) { padding: 0 4px; }
  .tabcontent .row:has(img[alt="LOGOs"]) { margin-bottom: 0 !important; }
  .tabcontent:has(img[alt="LOGOs"]) { padding-bottom: 8px !important; }
  .tabcontent:has(img[alt="LOGOs"]) h2 {
    font-size: 22px !important;
    line-height: 1.3 !important;
    margin: 8px 0 6px !important;
    text-align: center !important;
  }
}


/* разделители slidestrip: убираем окончательно (в т.ч. мобильные) */
.row.slidestrip,
.tabcontent .row.slidestrip,
.tabcontent > .row.slidestrip,
.slidestrip {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}


/* разделители px-rule-full: полное отключение */
.row.slidestrip.px-rule-full,
.px-rule-full,
.px-tabs .row.slidestrip.px-rule-full {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
.row.slidestrip.px-rule-full::before,
.px-rule-full::before,
.px-tabs .row.slidestrip.px-rule-full::before {
  content: none !important;
  display: none !important;
  border: 0 !important;
}


/* ===== мобильные блоки товара: текст по краю плашки, преимущества чипсами ===== */
@media (max-width: 900px) {
  .tabcontent .row.is-chess .banner-description h2 {
    font-size: 25px !important;
    line-height: 1.2 !important;
    margin: 18px 0 14px !important;
  }
  .tabcontent .row.is-chess .banner-description ul.is-chips {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  .tabcontent .row.is-chess .banner-description ul.is-chips li {
    position: relative;
    margin: 0 !important;
    padding: 10px 12px 10px 34px !important;
    background: #f5f5f7;
    border-radius: 14px;
    font-size: 15px !important;
    line-height: 1.35 !important;
    color: #1d1d1f !important;
  }
  .tabcontent .row.is-chess .banner-description ul.is-chips li::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #3b93d6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M9.6 16.8 5 12.2l1.4-1.4 3.2 3.2 7-7L18 8.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
  }
}

@media (max-width: 344px) {
  .tabcontent .row.is-chess .banner-description ul.is-chips { grid-template-columns: 1fr; }
}


/* ===== блок товара на телефоне: единая сетка (final) ===== */
@media (max-width: 900px) {
  .tabcontent .row.is-chess {
    padding-left: 16px !important;
    padding-right: 16px !important;
    gap: 20px !important;
    margin: 0 !important;
  }
  .tabcontent .row.is-chess > [class*="cell-"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .tabcontent .row.is-chess .banner-description {
    margin: 0 0 16px !important;
    padding: 0 !important;
    max-width: 100% !important;
  }
  .tabcontent .row.is-chess .banner-description h2 {
    font-size: 27px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em;
    margin: 2px 0 14px !important;
    padding: 0 !important;
    text-align: left !important;
  }
  .tabcontent .row.is-chess .banner-description ul.is-chips {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  .tabcontent .row.is-chess .banner-description ul.is-chips li {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    margin: 0 !important;
    padding: 12px 14px !important;
    background: #f5f5f7;
    border-radius: 14px;
    font-size: 16px !important;
    line-height: 1.4 !important;
    color: #1d1d1f !important;
  }
  .tabcontent .row.is-chess .banner-description ul.is-chips li::before {
    content: "";
    position: static !important;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #3b93d6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M9.6 16.8 5 12.2l1.4-1.4 3.2 3.2 7-7L18 8.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 13px 13px;
  }
}

@media (min-width: 480px) and (max-width: 900px) {
  .tabcontent .row.is-chess .banner-description ul.is-chips {
    grid-template-columns: 1fr 1fr;
  }
}


/* чипсы: смысловые иконки + меньше воздуха между блоками (final2) */
@media (max-width: 900px) {
  .tabcontent .row.is-chess {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    gap: 16px !important;
  }
  .tabcontent .row.is-chess .banner-description ul.is-chips li::before { display: none !important; }
  .tabcontent .row.is-chess .banner-description ul.is-chips li {
    gap: 12px;
    padding: 11px 13px !important;
  }
  .tabcontent .row.is-chess .banner-description ul.is-chips .chip-ico {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: #3b93d6;
  }
  .tabcontent .row.is-chess .banner-description ul.is-chips .chip-ico svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}


/* мобильные блоки товара: убираем лишнюю пустоту между блоками */
@media (max-width: 900px) {
  .tabcontent { margin-top: 0 !important; padding: 0 !important; }
  .tabcontent .row { margin-bottom: 0 !important; }
  .tabcontent .row.is-chess { padding-top: 14px !important; padding-bottom: 14px !important; }
  .tabcontent .row.is-chess .banner-description { margin-bottom: 0 !important; }
  .tabcontent .row.is-chess .banner-description:last-child { margin-bottom: 0 !important; }
  .tabcontent + .tabcontent { margin-top: 6px !important; }
}


/* чипсы: одна колонка на всех мобильных и планшетах (final3) */
@media (max-width: 900px) {
  .tabcontent .row.is-chess .banner-description ul.is-chips {
    grid-template-columns: 1fr !important;
  }
}


/* иконки чипсов: базовый размер глобально, на десктопе скрыты */
.chip-ico {
  display: inline-block;
  flex: 0 0 20px;
  width: 20px !important;
  height: 20px !important;
  max-width: 20px;
  max-height: 20px;
  color: #3b93d6;
  line-height: 0;
}
.chip-ico svg {
  width: 20px !important;
  height: 20px !important;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 901px) {
  .chip-ico { display: none !important; }
  .tabcontent .row.is-chess .banner-description ul.is-chips { display: block !important; }
  .tabcontent .row.is-chess .banner-description ul.is-chips li {
    display: list-item !important;
    background: none !important;
    padding: 0 0 0 0 !important;
    margin: 0 0 10px !important;
    list-style: disc !important;
    font-size: 17px !important;
    color: #4a4a4f !important;
  }
}


/* карточка медиа сохраняет внутренние отступы (fix) */
@media (max-width: 900px) {
  .tabcontent .row.is-chess > [class*="cell-"]:not(.is-media-card) {
    padding: 0 !important;
  }
  .tabcontent .row.is-chess > .is-media-card {
    padding: 20px !important;
    border-radius: 22px !important;
  }
}


/* ===== свой плеер: без тёмной полосы нативных контролов ===== */
.video-simple {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}
.video-simple video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 62vh;
  object-fit: contain;
  background: #000;
}
.video-simple-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border: 0;
  border-radius: 50%;
  background: rgba(59, 147, 214, .92);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  transition: transform .15s ease, opacity .15s ease;
}
.video-simple-play svg { width: 26px; height: 26px; margin-left: 2px; }
.video-simple-play:hover { transform: scale(1.05); }
.video-simple.is-playing .video-simple-play { opacity: 0; pointer-events: none; }
.video-simple-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, .25);
  opacity: 0;
  transition: opacity .2s ease;
}
.video-simple.is-playing .video-simple-bar { opacity: 1; }
.video-simple-bar i {
  display: block;
  width: 0;
  height: 100%;
  background: #3b93d6;
}


/* чипсы без серого фона: только иконка и текст (final4) */
@media (max-width: 900px) {
  .tabcontent .row.is-chess .banner-description ul.is-chips {
    gap: 2px !important;
  }
  .tabcontent .row.is-chess .banner-description ul.is-chips li {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 9px 0 !important;
    gap: 12px;
  }
}


/* плеер: без чёрной рамки вокруг видео */
.video-simple { background: transparent !important; }
.video-simple video {
  background: transparent !important;
  border-radius: 12px;
}


/* плеер: кнопка в правом нижнем углу, карточка ближе к квадрату */
.video-simple-play {
  left: auto !important;
  top: auto !important;
  right: 12px !important;
  bottom: 12px !important;
  margin: 0 !important;
  width: 44px !important;
  height: 44px !important;
}
.video-simple-play svg { width: 20px !important; height: 20px !important; }

@media (min-width: 901px) {
  .video-simple video {
    max-height: 380px !important;
    width: auto !important;
    margin: 0 auto !important;
  }
}


/* плеер: тёмно-серая кнопка и квадратная карточка (final2) */
.video-simple-play {
  background: rgba(38, 40, 46, .72) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .16) !important;
}
.video-simple-play:hover { background: rgba(28, 30, 35, .82) !important; }
.video-simple-play:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (min-width: 901px) {
  .video-simple video { max-height: 340px !important; }
}


/* плеер: светлая кнопка Play; заголовок блока крупнее (final3) */
.video-simple-play {
  background: #f0f0f3 !important;
  color: #1d1d1f !important;
  border: 1px solid #e4e4e9 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12) !important;
}
.video-simple-play:hover { background: #e7e7ec !important; border-color: #d8d8de !important; }
.video-simple-play:focus-visible { outline: 2px solid #3b93d6; outline-offset: 2px; }
.video-simple-play svg { width: 18px !important; height: 18px !important; margin-left: 2px; }

@media (max-width: 900px) {
  .tabcontent .row.is-chess .banner-description h2 {
    font-size: 32px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em;
    margin: 22px 0 18px !important;
  }
}


/* десктоп: преимущества блока с иконками, как на мобильном (final) */
@media (min-width: 901px) {
  .tabcontent .row.is-chess .banner-description ul.is-chips {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  .tabcontent .row.is-chess .banner-description ul.is-chips li {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    margin: 0 0 4px !important;
    padding: 7px 0 !important;
    background: none !important;
    border-radius: 0 !important;
    list-style: none !important;
    font-size: 17px !important;
    line-height: 1.45 !important;
    color: #4a4a4f !important;
  }
  .tabcontent .row.is-chess .banner-description ul.is-chips li::before { display: none !important; }
  .tabcontent .row.is-chess .banner-description ul.is-chips .chip-ico {
    display: inline-block !important;
    flex: 0 0 20px;
    width: 20px !important;
    height: 20px !important;
    color: #3b93d6;
  }
  .tabcontent .row.is-chess .banner-description ul.is-chips .chip-ico svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .tabcontent .row.is-chess .banner-description h2 {
    font-size: 40px !important;
    line-height: 1.15 !important;
    margin: 0 0 20px !important;
    letter-spacing: -0.02em;
  }
}


/* десктоп: чёрные иконки, крупнее текст, разделители блоков (final2) */
@media (min-width: 901px) {
  .tabcontent .row.is-chess {
    position: relative;
    border-top: 1px solid #ededf0;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
  .tabcontent:first-of-type .row.is-chess:first-child,
  .tabcontent .row.is-chess:first-child { border-top: 0; }

  .tabcontent .row.is-chess .banner-description h2 {
    font-size: 32px !important;
    line-height: 1.15 !important;
    margin: 0 0 20px !important;
  }
  .tabcontent .row.is-chess .banner-description ul.is-chips li {
    font-size: 18px !important;
    padding: 9px 0 !important;
    margin-bottom: 2px !important;
  }
  .tabcontent .row.is-chess .banner-description ul.is-chips .chip-ico,
  .tabcontent .row.is-chess .banner-description ul.is-chips .chip-ico svg {
    color: #1d1d1f !important;
  }
}


/* десктоп: текст занимает свою колонку целиком (final3) */
@media (min-width: 901px) {
  .tabcontent .row.is-chess .banner-description {
    max-width: 100% !important;
  }
}


/* десктоп: вертикальная линия между колонками и плотнее зазор (final4) */
@media (min-width: 901px) {
  .tabcontent .row.is-chess {
    gap: 48px !important;
  }
  .tabcontent .row.is-chess::after {
    content: "";
    position: absolute;
    top: 12%;
    bottom: 12%;
    left: 55.2%;
    width: 1px;
    background: linear-gradient(to bottom, rgba(231,231,235,0), #e7e7eb 12%, #e7e7eb 88%, rgba(231,231,235,0));
    pointer-events: none;
  }
}


/* плитки характеристик: без рамок (final) */
@media (max-width: 900px) {
  .tab-panel .row.main-spec .cell-2 {
    border: 0 !important;
    box-shadow: none !important;
  }
}


/* десктоп: техническая сетка за текстом, без вертикальной линии (final5) */
@media (min-width: 901px) {
  .tabcontent .row.is-chess::after { content: none !important; }

  .tabcontent .row.is-chess > .cell-7 { position: relative; }
  .tabcontent .row.is-chess > .cell-7::before {
    content: "";
    position: absolute;
    inset: -28px -60px -28px -20px;
    background-image:
      linear-gradient(to right, rgba(29, 29, 31, .035) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(29, 29, 31, .035) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(170% 150% at 28% 42%, #000 0%, transparent 58%);
    mask-image: radial-gradient(170% 150% at 28% 42%, #000 0%, transparent 58%);
    pointer-events: none;
    z-index: 0;
  }
  .tabcontent .row.is-chess > .cell-7 > * { position: relative; z-index: 1; }
}


/* десктоп: убираем сетку за текстом, оставляем чистый фон (final6) */
@media (min-width: 901px) {
  .tabcontent .row.is-chess > .cell-7::before { content: none !important; }
}


/* десктоп: линия только между блоками, не у первого (fix) */
@media (min-width: 901px) {
  .tabcontent .row.is-chess {
    border-top: 0 !important;
    padding-top: 44px !important;
    padding-bottom: 44px !important;
  }
  .tabcontent + .tabcontent > .row.is-chess {
    border-top: 1px solid #ededf0 !important;
  }
}


/* линия между блоками через класс (final2) */
@media (min-width: 901px) {
  .tabcontent .row.is-chess.has-top-line {
    border-top: 1px solid #ededf0 !important;
    padding-top: 44px !important;
  }
  .tabcontent .row.is-chess {
    padding-bottom: 44px !important;
  }
}


/* блок «Веб-интерфейс» на телефоне: заголовок слева, текст по сетке, фото в плашке */
@media (max-width: 900px) {
  .tabcontent.is-web-block .banner-description { margin: 0 16px 14px !important; }
  .tabcontent.is-web-block .banner-description h2 {
    font-size: 30px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em;
    text-align: left !important;
    margin: 2px 0 14px !important;
    hyphens: none;
  }
  .tabcontent.is-web-block .banner-description > div { text-align: left !important; }
  .tabcontent.is-web-block .banner-description p,
  .tabcontent.is-web-block .banner-description li {
    font-size: 17px !important;
    line-height: 1.55 !important;
    color: #4a4a4f !important;
  }
  .tabcontent.is-web-block img {
    display: block;
    width: auto !important;
    max-width: calc(100% - 32px) !important;
    max-height: 60vh;
    height: auto !important;
    margin: 4px auto 8px !important;
    padding: 10px;
    box-sizing: border-box;
    background: #f5f5f7;
    border-radius: 18px;
  }
}


/* веб-блок: список из трёх пунктов, крупнее шрифт */
@media (max-width: 900px) {
  .tabcontent.is-web-block .banner-description {
    margin: 0 16px 16px !important;
  }
  .tabcontent.is-web-block .banner-description p,
  .tabcontent.is-web-block .banner-description li,
  .tabcontent.is-web-block .banner-description li span {
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: #3f3f45 !important;
  }
  .tabcontent.is-web-block .banner-description ul {
    margin: 0 !important;
    padding-left: 18px !important;
  }
  .tabcontent.is-web-block .banner-description li {
    margin-bottom: 12px !important;
    padding-left: 2px;
  }
  .tabcontent.is-web-block .banner-description li:last-child { margin-bottom: 0 !important; }
}


/* веб-блок: квадратный кроп картинки на телефоне, без плашки */
@media (max-width: 900px) {
  .tabcontent.is-web-block img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: calc(100% - 32px) !important;
    max-height: none !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: 0% center;
    margin: 4px auto 8px !important;
    padding: 0 !important;
    background: none !important;
    border-radius: 18px;
    box-sizing: border-box;
  }
}


/* блок производителей: заголовок + подзаголовок */
.tabcontent .banner-description h2 + .logos-sub {
  margin: 10px auto 0 !important;
  max-width: 660px;
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: #6f6f76 !important;
}
@media (max-width: 900px) {
  .tabcontent:has(.logos-sub) h2 {
    font-size: 27px !important;
    line-height: 1.22 !important;
    margin: 6px 0 0 !important;
  }
  .tabcontent .banner-description h2 + .logos-sub {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin-top: 8px !important;
  }
}


/* заголовок производителей — как у блока «Веб-интерфейс» */
@media (max-width: 900px) {
  .tabcontent:has(.logos-sub) h2 {
    font-size: 30px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em;
  }
}
@media (min-width: 901px) {
  .tabcontent:has(.logos-sub) h2 {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
}


/* заголовок производителей: 30px, перебиваем прежнее правило (fix) */
@media (max-width: 900px) {
  .tabcontent:has(.logos-sub) .banner-description h2 {
    font-size: 30px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em;
    margin: 6px 0 0 !important;
  }
}
@media (min-width: 901px) {
  .tabcontent:has(.logos-sub) .banner-description h2 {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
}


/* подпись производителей: короче и мельче */
.tabcontent .banner-description h2 + .logos-sub {
  font-size: 14px !important;
  line-height: 1.45 !important;
  margin-top: 8px !important;
}
@media (max-width: 900px) {
  .tabcontent .banner-description h2 + .logos-sub {
    font-size: 13.5px !important;
    margin-top: 6px !important;
  }
}


/* единая типографика блоков: заголовок 30/32, текст 17/18, подпись 15/16 */
@media (max-width: 900px) {
  .tabcontent .row.is-chess .banner-description ul.is-chips li,
  .tabcontent .row.is-chess .banner-description ul.is-chips li span {
    font-size: 17px !important;
  }
  .tabcontent.is-web-block .banner-description p,
  .tabcontent.is-web-block .banner-description li,
  .tabcontent.is-web-block .banner-description li span {
    font-size: 17px !important;
    line-height: 1.55 !important;
  }
  .tabcontent .banner-description h2 + .logos-sub {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin-top: 8px !important;
  }
}

@media (min-width: 901px) {
  .tabcontent .banner-description h2 + .logos-sub {
    font-size: 16px !important;
    margin-top: 10px !important;
  }
}


/* типографика: основной текст 18, подпись 16 — поднимаем меньшее */
@media (max-width: 900px) {
  .tabcontent .row.is-chess .banner-description ul.is-chips li,
  .tabcontent .row.is-chess .banner-description ul.is-chips li span {
    font-size: 18px !important;
  }
  .tabcontent.is-web-block .banner-description p,
  .tabcontent.is-web-block .banner-description li,
  .tabcontent.is-web-block .banner-description li span {
    font-size: 18px !important;
    line-height: 1.6 !important;
  }
  .tabcontent .banner-description h2 + .logos-sub {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }
}

@media (min-width: 901px) {
  .tabcontent .banner-description h2 + .logos-sub {
    font-size: 16px !important;
  }
}


/* мобильный стандарт типографики: h2 30, текст 18, подпись 16 */
@media (max-width: 900px) {
  .tabcontent .row.is-chess .banner-description h2 {
    font-size: 30px !important;
    line-height: 1.2 !important;
  }
  .tabcontent .row.is-chess .banner-description ul:not(.is-chips) li,
  .tabcontent .row.is-chess .banner-description ul:not(.is-chips) li span {
    font-size: 18px !important;
    line-height: 1.55 !important;
  }
  #vkl4 p,
  #vkl4 p span {
    font-size: 18px !important;
    line-height: 1.55 !important;
  }
}


/* подпись производителей = 18px, как основной текст */
.tabcontent .banner-description h2 + .logos-sub {
  font-size: 18px !important;
  line-height: 1.55 !important;
}


/* узкий десктоп 901–1100: контейнер не шире экрана */
@media (min-width: 901px) and (max-width: 1100px) {
  .container,
  .top-panel-wrapper .container,
  .body-wrapper > .container {
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding-left: 16px;
    padding-right: 16px;
  }
  .top-panel-wrapper, .body-wrapper { max-width: 100% !important; overflow-x: clip; }
}


/* узкий десктоп: снимаем min-width у шапки и контейнера */
@media (min-width: 901px) and (max-width: 1100px) {
  .top-panel-wrapper,
  .top-panel,
  .container,
  .body-wrapper,
  .content-wrapper {
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
  }
  html, body { overflow-x: clip !important; }
}


/* узкий десктоп: снимаем min-width 1050 у body и .product */
@media (min-width: 901px) and (max-width: 1100px) {
  body, .product, .body-wrapper, .content-wrapper {
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
  }
}


/* фото во вкладке «Доставка»: без плашки, только скругление */
#vkl4 img {
  padding: 0 !important;
  background: none !important;
  border-radius: 20px !important;
}
@media (max-width: 900px) {
  #vkl4 img {
    border-radius: 16px !important;
    max-height: 420px !important;
  }
}


/* фото доставки: как остальные реальные фото — в серой плашке */
#vkl4 img {
  padding: 22px !important;
  background: #f5f5f7 !important;
  border-radius: 24px !important;
  max-width: 760px !important;
  margin: 22px auto 0 !important;
}
@media (max-width: 900px) {
  #vkl4 img {
    padding: 14px !important;
    border-radius: 20px !important;
    max-height: 420px !important;
  }
}


/* фото доставки: как реальные фото — скругление, без плашки, ховер */
#vkl4 img {
  padding: 0 !important;
  background: none !important;
  border-radius: 20px !important;
  max-width: 760px !important;
  max-height: none !important;
  margin: 22px auto 0 !important;
  transition: transform .35s ease, box-shadow .35s ease;
  will-change: transform;
}
#vkl4 img:hover {
  transform: scale(1.015);
  box-shadow: 0 14px 34px rgba(20, 20, 26, .16);
}
@media (max-width: 900px) {
  #vkl4 img {
    border-radius: 16px !important;
    max-height: 420px !important;
  }
  #vkl4 img:hover { transform: none; box-shadow: none; }
}


/* разделитель после веб-блока на телефоне */
@media (max-width: 900px) {
  .tabcontent.is-web-block {
    border-bottom: 1px solid #ececf0;
    padding-bottom: 26px;
    margin-bottom: 26px;
  }
  .tabcontent.is-web-block img {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
  }
}


/* блок «Экономия времени» на телефоне: список иконка + подпись */
@media (max-width: 900px) {
  .tabcontent:has(.usp-row) .banner-description {
    margin: 0 16px 16px !important;
  }
  .tabcontent:has(.usp-row) .banner-description h2 {
    font-size: 30px !important;
    line-height: 1.2 !important;
    text-align: left !important;
    margin: 2px 0 12px !important;
    letter-spacing: -0.02em;
  }
  .tabcontent:has(.usp-row) .banner-description > div {
    font-size: 18px !important;
    line-height: 1.55 !important;
    color: #3f3f45 !important;
  }
  .row.usp-row {
    display: block !important;
    margin: 0 16px !important;
    padding: 0 !important;
  }
  .row.usp-row .usp-card {
    display: flex !important;
    align-items: center !important;
    gap: 14px;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    text-align: left !important;
  }
  .row.usp-row .usp-tile {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px;
    margin: 0 !important;
    border-radius: 16px;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .row.usp-row .usp-tile img {
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    object-fit: contain;
    border-radius: 0 !important;
    transform: scale(1.25);
  }
  .row.usp-row .usp-title {
    font-size: 18px !important;
    line-height: 1.35 !important;
    text-align: left !important;
    margin: 0 !important;
  }
}


/* блок «Экономия времени»: метка на всех частях + компактные карточки */
@media (max-width: 900px) {
  .tabcontent.is-time-block .banner-description {
    margin: 0 16px 14px !important;
  }
  .tabcontent.is-time-block .banner-description h2 {
    font-size: 30px !important;
    line-height: 1.2 !important;
    text-align: left !important;
    margin: 2px 0 12px !important;
  }
  .tabcontent.is-time-block .banner-description > div {
    font-size: 18px !important;
    line-height: 1.55 !important;
    color: #3f3f45 !important;
  }
  .row.usp-row {
    display: block !important;
    margin: 0 16px !important;
    padding: 0 !important;
  }
  .row.usp-row .usp-card {
    display: flex !important;
    align-items: center !important;
    gap: 14px;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    text-align: left !important;
    flex-direction: row !important;
  }
  .row.usp-row .usp-tile {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px;
    flex: 0 0 58px;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 16px;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .row.usp-row .usp-tile img {
    width: 58px !important;
    height: 58px !important;
    margin: 0 !important;
    object-fit: cover;
    border-radius: 16px !important;
  }
  .row.usp-row .usp-title {
    font-size: 18px !important;
    line-height: 1.35 !important;
    text-align: left !important;
    margin: 0 !important;
  }
}


/* карточки времени: снимаем flex-basis 260px */
@media (max-width: 900px) {
  .tabcontent .row.usp-row {
    display: block !important;
    flex-wrap: nowrap !important;
  }
  .tabcontent .row.usp-row .usp-card {
    flex: 0 0 auto !important;
    float: none !important;
  }
}


/* иконки времени: фото вписаны в серую плитку */
@media (max-width: 900px) {
  .row.usp-row .usp-tile img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    mix-blend-mode: multiply;
    border-radius: 0 !important;
  }
}


/* плитки характеристик: иконки крупнее (34 → 50 px) */
@media (max-width: 900px) {
  .tab-panel .row.main-spec .cell-2 {
    min-height: 112px !important;
    padding: 14px 6px !important;
    gap: 10px !important;
  }
  .tab-panel .row.main-spec .cell-2 img {
    width: 50px !important;
    height: 50px !important;
    flex: 0 0 50px !important;
  }
  .tab-panel .row.main-spec .cell-2 > div:nth-child(2) {
    font-size: 14px !important;
    line-height: 1.25 !important;
  }
}


/* блок времени: SVG-иконки, крупнее подписи, разделители */
.usp-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.usp-svg svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: #1d1d1f;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 900px) {
  .row.usp-row .usp-title {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }
  .row.usp-row .usp-tile {
    width: 62px !important;
    height: 62px !important;
    min-width: 62px;
    flex: 0 0 62px;
  }
  .usp-svg svg { width: 42px; height: 42px; }
  .tabcontent.is-time-block:first-of-type,
  .tabcontent.is-time-block {
    border-top: 1px solid #ececf0;
    padding-top: 24px;
    margin-top: 24px;
  }
}
@media (min-width: 901px) {
  .tabcontent.is-time-block {
    border-top: 1px solid #ededf0;
    padding-top: 40px;
    margin-top: 40px;
  }
  .row.usp-row .usp-title { font-size: 18px !important; }
}


/* разделитель только перед началом блока времени */
@media (max-width: 900px) {
  .tabcontent.is-time-block {
    border-top: 0 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .tabcontent.is-time-start {
    border-top: 1px solid #ececf0 !important;
    padding-top: 24px !important;
    margin-top: 24px !important;
  }
}
@media (min-width: 901px) {
  .tabcontent.is-time-block {
    border-top: 0 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .tabcontent.is-time-start {
    border-top: 1px solid #ededf0 !important;
    padding-top: 40px !important;
    margin-top: 40px !important;
  }
}


/* плитки: короткие значения крупнее (16 px) */
@media (max-width: 900px) {
  .tab-panel .row.main-spec .cell-2 {
    min-height: 120px !important;
    gap: 12px !important;
  }
  .tab-panel .row.main-spec .cell-2 > div:nth-child(2) {
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
  }
}


/* веб-блок на десктопе: как остальные блоки — заголовок слева, текст 18 */
@media (min-width: 901px) {
  .tabcontent.is-web-block .banner-description {
    margin: 0 0 6px !important;
    max-width: 100% !important;
    text-align: left !important;
  }
  .tabcontent.is-web-block .banner-description h2 {
    text-align: left !important;
    font-size: 32px !important;
    line-height: 1.2 !important;
    margin: 0 0 18px !important;
    letter-spacing: -0.02em;
  }
  .tabcontent.is-web-block .banner-description > div { text-align: left !important; }
  .tabcontent.is-web-block .banner-description ul {
    margin: 0 !important;
    padding-left: 20px !important;
  }
  .tabcontent.is-web-block .banner-description li,
  .tabcontent.is-web-block .banner-description li span {
    font-size: 18px !important;
    line-height: 1.55 !important;
    color: #3f3f45 !important;
    margin-bottom: 8px !important;
  }
  .tabcontent.is-web-block img {
    display: block;
    width: 100% !important;
    max-width: 1000px !important;
    height: auto !important;
    margin: 24px auto 0 !important;
    border-radius: 20px;
  }
}


/* текст «Экономия времени» = размер тезисов (18 px) */
.tabcontent.is-time-block .banner-description {
  font-size: 18px !important;
  line-height: 1.55 !important;
  color: #3f3f45 !important;
}


/* десктоп: тезисы обычных списков 18 px */
@media (min-width: 901px) {
  .tabcontent .row.is-chess .banner-description ul:not(.is-chips) li,
  .tabcontent .row.is-chess .banner-description ul:not(.is-chips) li span {
    font-size: 18px !important;
    line-height: 1.55 !important;
  }
}


/* фотки в плитках времени: показываем исходные изображения */
@media (max-width: 900px) {
  .row.usp-row .usp-tile img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    mix-blend-mode: multiply;
    border-radius: 0 !important;
  }
}


/* плитки: показываем значение и короткий заголовок, иконки 56 */
@media (max-width: 900px) {
  .tab-panel .row.main-spec .cell-2 {
    min-height: 132px !important;
    padding: 14px 6px !important;
    gap: 8px !important;
  }
  .tab-panel .row.main-spec .cell-2 img {
    width: 56px !important;
    height: 56px !important;
    flex: 0 0 56px !important;
  }
  .tab-panel .row.main-spec .cell-2 > div:nth-child(2) {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
  }
  .tab-panel .row.main-spec .cell-2 > div:nth-child(3) {
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: #1d1d1f !important;
  }
  .tab-panel .row.main-spec .cell-2 > div:nth-child(4) {
    display: none !important;
  }
}


/* плитки времени: прямоугольные, под катушку */
@media (max-width: 900px) {
  .row.usp-row .usp-tile {
    width: 92px !important;
    height: 64px !important;
    min-width: 92px;
    flex: 0 0 92px;
    border-radius: 16px;
  }
  .row.usp-row .usp-tile img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 4px;
    box-sizing: border-box;
  }
}


/* плитки: иконки 68, подписи по центру и аккуратно */
@media (max-width: 900px) {
  .tab-panel .row.main-spec .cell-2 {
    min-height: 158px !important;
    padding: 14px 6px 16px !important;
    gap: 10px !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }
  .tab-panel .row.main-spec .cell-2 img {
    width: 68px !important;
    height: 68px !important;
    flex: 0 0 68px !important;
    margin: 0 auto 2px !important;
  }
  .tab-panel .row.main-spec .cell-2 > div:nth-child(2) {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .tab-panel .row.main-spec .cell-2 > div:nth-child(3) {
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: #1d1d1f !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 !important;
    text-wrap: balance;
  }
}


/* десктоп: разделитель над блоком веб-интерфейса */
@media (min-width: 901px) {
  .tabcontent.is-web-block {
    border-top: 1px solid #ededf0 !important;
    padding-top: 44px !important;
    margin-top: 44px !important;
  }
}


/* подзаголовки внутри блоков (strong) — как основной текст */
@media (max-width: 900px) {
  .tabcontent .row.is-chess .banner-description strong,
  .tabcontent .row.is-chess .banner-description b {
    display: block;
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    color: #1d1d1f !important;
    margin: 16px 0 8px !important;
  }
  .tabcontent .row.is-chess .banner-description strong:first-child,
  .tabcontent .row.is-chess .banner-description b:first-child {
    margin-top: 0 !important;
  }
  .tabcontent .row.is-chess .banner-description ul {
    margin: 0 0 4px !important;
  }
  .tabcontent .row.is-chess .banner-description li {
    margin-bottom: 8px !important;
  }
}
@media (min-width: 901px) {
  .tabcontent .row.is-chess .banner-description strong,
  .tabcontent .row.is-chess .banner-description b {
    display: block;
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    color: #1d1d1f !important;
    margin: 20px 0 8px !important;
  }
  .tabcontent .row.is-chess .banner-description strong:first-child,
  .tabcontent .row.is-chess .banner-description b:first-child {
    margin-top: 0 !important;
  }
}


/* доступность: тап-зоны >= 44 px и мелкий текст >= 12.5 */
@media (max-width: 900px) {
  .top-burger {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .breadcrumb-link,
  .breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 2px;
  }
  .footer a,
  .footer .footer-contacts a,
  .px-pdf-link,
  a[href$=".pdf"] {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
  .hm-variant {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px !important;
  }
}
.hm-variant {
  font-size: 12.5px !important;
}


/* кнопки «Подробнее»: высота 40 на телефоне */
@media (max-width: 900px) {
  .hm-btn,
  .hm-btn.cv-btn {
    min-height: 40px !important;
    height: 40px !important;
  }
}


/* ссылки подвала и крошек: тап-зона 40 px на телефоне */
@media (max-width: 900px) {
  .footer-menu li a,
  .footer-menu a,
  .footer a,
  .breadcrumb-link,
  .breadcrumb a,
  .stbr a {
    display: inline-flex !important;
    align-items: center;
    min-height: 40px;
    padding-top: 4px;
    padding-bottom: 4px;
    box-sizing: border-box;
  }
  .footer-menu li { margin: 0 !important; }
}


/* .home-link и кнопки в каталоге: тап-зона 40 на телефоне */
@media (max-width: 900px) {
  .home-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 6px 2px;
    box-sizing: border-box;
  }
  .cv-btn {
    min-height: 40px !important;
  }
}


/* десктоп: плашка под фото квадратная 1:1 */
@media (min-width: 901px) {
  .row.is-chess .is-media-card:not(:has(video)) {
    aspect-ratio: 1 / 1;
    align-self: center;
    height: auto !important;
    min-height: 0 !important;
  }
  .row.is-chess .is-media-card:not(:has(video)) img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
    margin: auto;
  }
}


/* архивные модели: блок документации */
.disc-docs {
  margin: 28px 0 8px;
  padding: 20px 22px;
  background: #f6f6f8;
  border-radius: 18px;
}
.disc-docs p { margin: 0 0 10px; }
.disc-docs ul { margin: 0; padding-left: 20px; }
.disc-docs li { margin: 6px 0; line-height: 1.5; }




/* подвал: реквизиты юрлица — в тёмной полосе, одной строкой */
.footer-bottom-wrapper .footer-legal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
  flex-wrap: nowrap;
  width: 100%;
  max-width: none;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 11.5px;
  letter-spacing: -0.1px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .62);
  white-space: nowrap;
}
.footer-bottom-wrapper .footer-legal span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.footer-bottom-wrapper .footer-legal a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  white-space: nowrap;
}
.footer-bottom-wrapper .footer-legal a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .footer-bottom-wrapper .footer-legal {
    display: block;
    white-space: normal;
    margin-top: 12px;
    padding-top: 10px;
    font-size: 11.5px;
  }
  .footer-bottom-wrapper .footer-legal span { overflow: visible; text-overflow: clip; }
  .footer-bottom-wrapper .footer-legal span { display: block; }
  .footer-bottom-wrapper .footer-legal a { display: inline-block; margin-top: 4px; }
}


/* модельный ряд: цена не переносится на вторую строку */
.hm-price {
  flex-wrap: nowrap !important;
  white-space: nowrap;
  min-width: 0;
}
.hm-price .js-hm-price,
.hm-price .js-hm-old,
.hm-price-old,
.hm-price-old .px-cur,
.hm-price .px-cur {
  white-space: nowrap;
}
.hm-price .px-cur,
.hm-price-old .px-cur {
  font-size: .78em;
  letter-spacing: 0;
}
.hm-foot {
  flex-wrap: nowrap;
  gap: 10px;
  min-width: 0;
}
.hm-foot .hm-btn { flex: 0 0 auto; }
@media (max-width: 1024px) {
  .hm-price { font-size: 16px !important; }
  .hm-price-old { font-size: 12px !important; }
}
@media (max-width: 480px) {
  .hm-price { font-size: 15px !important; }
  .hm-price-old { font-size: 11.5px !important; }
  .hm-foot { gap: 8px; }
  .hm-foot .hm-btn { padding: 0 12px !important; font-size: 13px !important; }
}


/* хлебные крошки: единая компактная строка на телефоне */
@media (max-width: 900px) {
  .stbr,
  .stbr--stack {
    padding: 0 16px !important;
    min-height: 44px;
    height: auto;
    display: flex;
    align-items: center;
  }
  .stbr .breadcrumb {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 0 !important;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.35;
    height: auto;
    min-height: 34px;
    margin: 0;
    padding: 0;
  }
  .stbr .breadcrumb .breadcrumb-item {
    display: flex !important;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
  }
  .stbr .breadcrumb .breadcrumb-item.home { flex: 0 0 auto; }
  .stbr .breadcrumb .breadcrumb-item:last-child { flex: 1 1 auto; min-width: 0; }
  .stbr .breadcrumb .breadcrumb-item::before {
    align-self: center;
    margin: 0 6px;
    opacity: .8;
    line-height: 1;
  }
  .stbr .breadcrumb .breadcrumb-item.home::before { content: none !important; }
  .stbr .breadcrumb .breadcrumb-item.home .breadcrumb-link,
  .stbr .breadcrumb .breadcrumb-item.home a {
    min-height: 34px !important;
    padding: 0 !important;
    white-space: nowrap;
  }
  .stbr .breadcrumb .breadcrumb-item:last-child .breadcrumb-page,
  .stbr .breadcrumb .breadcrumb-item:last-child a {
    display: block;
    min-height: 34px;
    line-height: 34px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }
}




/* заявка: форма всегда в экране, кнопка не уезжает */
.m-modal .m-modal-wrapper {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 24px) !important;
  padding: 22px 28px 16px !important;
  overflow: hidden !important;
}
.m-modal .m-modal-wrapper form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: 100%;
}
.m-modal .m-modal-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
  margin-right: -2px;
}
.m-modal .m-modal-heading {
  margin: 0 0 14px !important;
  font-size: 24px !important;
  padding: 0 28px !important;
}
.m-modal .m-modal-footer {
  flex: 0 0 auto;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  margin-top: 12px;
  padding-top: 0;
}
.m-modal .m-modal-footer .form-note {
  order: -1;
  margin: 0 !important;
  width: 100%;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
  color: #a1a1a6;
}
.m-modal .m-modal-footer .m-note {
  margin: 0 !important;
  width: 100%;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  color: #a1a1a6;
}
.m-modal .m-modal-footer .m-note a {
  color: #3b93d6;
  text-decoration: none;
  white-space: nowrap;
}
.m-modal .m-modal-footer .m-modal-button {
  align-self: center;
  width: 100%;
  max-width: 320px;
}

.m-modal .m-input { margin-bottom: 10px; }
.m-modal .m-input-label { margin-bottom: 4px; font-size: 12.5px; }
.m-modal .m-input-field { height: 44px; font-size: 15px; border-radius: 10px; }
.m-modal textarea.m-input-field { min-height: 64px; padding: 10px 12px; }
.m-modal .m-seg { margin-bottom: 12px; }
.m-modal .m-check { margin: 4px 0 0; }

@media (max-height: 780px) {
  .m-modal .m-modal-wrapper { padding: 16px 22px 12px !important; max-height: calc(100vh - 12px) !important; }
  .m-modal .m-modal-heading { font-size: 21px !important; margin-bottom: 10px !important; }
  .m-modal .m-input { margin-bottom: 8px; }
  .m-modal .m-input-field { height: 40px; }
  .m-modal .m-input-label { font-size: 12px; }
  .m-modal textarea.m-input-field { min-height: 52px; }
  .m-modal .m-seg { margin-bottom: 10px; }
  .m-modal .m-modal-footer { margin-top: 8px; }
  .m-modal .m-modal-footer .m-modal-button { height: 44px; }
  .m-modal .m-modal-footer .form-note { font-size: 11px; }
}

@media (max-width: 560px) {
  .m-modal .m-modal-wrapper { width: calc(100vw - 16px); padding: 18px 16px 12px !important; }
  .m-modal .m-modal-heading { font-size: 22px !important; padding: 0 20px !important; }
  .m-modal .m-modal-footer .m-modal-button { max-width: none; }
}


/* таблицы в DIY-контенте: без горизонтальной прокрутки */
.diy-content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}
.diy-content td { vertical-align: top; }
.diy-content iframe { max-width: 100%; }

@media (max-width: 640px) {
  .diy-content .diy-videos,
  .diy-content .diy-videos tbody,
  .diy-content .diy-videos tr,
  .diy-content .diy-videos td {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
  }
  .diy-content .diy-videos tr { margin-bottom: 22px; }
  .diy-content .diy-videos td { padding: 0 0 8px; }
  .diy-content .diy-videos iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
  }
  .diy-content .diy-videos h3 { margin: 4px 0 0; }
}





/* крошка текущего товара: показываем только на телефоне */
@media (min-width: 901px) {
  .stbr .breadcrumb .breadcrumb-item--product { display: none !important; }
}
@media (max-width: 900px) {
  .stbr .breadcrumb .breadcrumb-item--product { display: flex !important; }
  .carttitle1 { display: none !important; }
}


/* десктоп: стрелки галереи как на телефоне */
@media (min-width: 901px) {
  .px-hero .gallery-thumbs-wrapper .gallery-nav button {
    width: 40px;
    height: 40px;
    border-color: #dfdfe6;
    box-shadow: 0 8px 20px rgba(20, 20, 26, .16);
  }
  .px-hero .gallery-thumbs-wrapper .gallery-nav button::before {
    -webkit-mask-size: 14px 9px;
    mask-size: 14px 9px;
  }
  .px-hero .gallery-thumbs-wrapper .gallery-nav .product-slider-prev { top: 0; }
  .px-hero .gallery-thumbs-wrapper .gallery-nav .product-slider-next { top: auto; bottom: 0; }
}


/* десктоп: колонна миниатюр по высоте основного фото */
@media (min-width: 901px) {
  .px-hero .gallery-thumbs-wrapper {
    align-self: stretch;
  }
  .px-hero .gallery-thumbs {
    height: 100% !important;
    max-height: 100% !important;
    overflow-y: auto !important;
  }
  .px-hero .gallery-thumbs .swiper-wrapper {
    height: 100%;
    min-height: 100%;
    justify-content: space-between;
  }
}


/* затухание миниатюр под стрелкой */
@media (max-width: 900px) {
  .gallery-thumbs-wrapper.is-fade-end .gallery-thumbs {
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 110px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 110px), transparent 100%);
  }
  .gallery-thumbs-wrapper.is-fade-start .gallery-thumbs {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 110px);
    mask-image: linear-gradient(to right, transparent 0, #000 110px);
  }
  .gallery-thumbs-wrapper.is-fade-start.is-fade-end .gallery-thumbs {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 110px, #000 calc(100% - 110px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 110px, #000 calc(100% - 110px), transparent 100%);
  }
}
@media (min-width: 901px) {
  .gallery-thumbs-wrapper.is-fade-end .gallery-thumbs {
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 72px), transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 72px), transparent 100%);
  }
  .gallery-thumbs-wrapper.is-fade-start .gallery-thumbs {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 72px);
    mask-image: linear-gradient(to bottom, transparent 0, #000 72px);
  }
  .gallery-thumbs-wrapper.is-fade-start.is-fade-end .gallery-thumbs {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 72px, #000 calc(100% - 72px), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 72px, #000 calc(100% - 72px), transparent 100%);
  }
}


/* кнопка «наверх» на телефоне */
.to-top {
  display: none;
}
@media (max-width: 900px) {
  .to-top {
    position: fixed;
    left: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 8800;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .08);
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    backdrop-filter: saturate(160%) blur(10px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
    color: #1d1d1f;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    -webkit-tap-highlight-color: transparent;
  }
  .to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .to-top:active { transform: scale(.94); }
  .to-top svg { width: 18px; height: 18px; display: block; }
}


/* ряд принтеров: лёгкое выдвижение к пользователю при наведении */
@media (min-width: 901px) and (hover: hover) {
  .home-lineup-alt { perspective: 1000px; }
  .home-lineup-alt .dt-item {
    transform-origin: 50% 100%;
    transition: transform 1.5s cubic-bezier(.22,.61,.36,1), filter 1.5s ease;
    will-change: transform;
  }
  .home-lineup-alt .dt-item:hover {
    transform: translateZ(3px) translateY(-1px) scale(1.005);
    z-index: 6;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, .10));
  }
}


/* подвал: единый стиль нижних строк на тёмной полосе */
.footer-bottom-wrapper .footer-notes p,
.footer-bottom-wrapper .footer-legal,
.footer-bottom-wrapper .footer-legal span,
.footer-bottom-wrapper .footer-legal a {
  color: rgba(255, 255, 255, .5) !important;
  font-family: inherit !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}
.footer-bottom-wrapper .footer-legal a { text-decoration: none !important; }
.footer-bottom-wrapper .footer-legal a:hover { text-decoration: underline !important; }


/* заголовки инфоблоков: ровный перенос по словам */
.banner-description h2,
.banner-description h3,
.tabcontent h2,
.tabcontent h3,
.pp-desc h2,
.pp-desc h3 {
  text-wrap: balance !important;
}


/* ===== мобильная система отступов: единый стандарт 24px ===== */
.printers .cell-12:has(.px-desc) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.printers .px-desc {
  max-width: 760px !important;
  margin: 8px 0 40px !important;
}
.px-hero.px-acc .product-gallery-wrapper {
  padding-left: 0 !important;
}
.printers .cell-12:has(.px-desc) {
  margin-top: 56px !important;
  padding-top: 32px !important;
  border-top: 1px solid #ececf0;
}
.printers .px-desc {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

.top-mobile-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}
.top-mobile-logo img {
  display: block;
  width: 130px;
  height: auto;
}

@media (max-width: 900px) {
  :root {
    --gutter-mobile: 24px;
  }

  /* общий контейнер и шапка */
  .content-wrapper.container,
  .px-tabsrow,
  .top-panel,
  .stbr,
  .stbr--stack {
    padding-left: var(--gutter-mobile) !important;
    padding-right: var(--gutter-mobile) !important;
  }
  .top-panel {
    margin-left: -16px !important;
    margin-right: -16px !important;
  }
  .top-burger {
    align-items: flex-start !important;
    justify-content: center !important;
    margin-left: 0 !important;
  }

  /* вкладки товара */
  body.product .tabcontent .row,
  body.product .tabcontent .row.is-chess,
  body.product .tabcontent .banner-description,
  body.product .tabcontent .main-spec {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.product .tabcontent .banner-description h2 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.product .tab-panel .content-wrapper.container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.product .px-hero {
    padding-top: 8px !important;
  }

  /* каталоги */
  .cv-page {
    padding-top: 8px !important;
  }
  .cv2-grid {
    row-gap: var(--gutter-mobile) !important;
  }

  /* главная */
  .home-lineup-alt {
    transform: scale(0.96);
    transform-origin: center;
  }
  .hm-arrow,
  .hm-arrow:disabled {
    box-shadow: none !important;
    border: 1px solid #e6e6ea !important;
    background: #fff !important;
  }

  /* комплектующие: разделитель описания */
  .printers .cell-12:has(.px-desc) {
    margin-top: 32px !important;
    padding-top: 24px !important;
    border-top: 1px solid #ececf0;
  }
  .printers .px-desc {
    max-width: none !important;
    margin: 0 0 32px !important;
    padding-top: 0 !important;
    border-top: 0 !important;
  }
}

@media (max-width: 480px) {
  body.product .px-tabs > label {
    font-size: 13px !important;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }
}




/* бургер: ровные линии и аккуратный фокус */
.top-burger span {
  width: 24px !important;
  height: 2px !important;
  flex: 0 0 2px !important;
  border-radius: 1px;
  background: #101010 !important;
  opacity: 1 !important;
}
.top-burger:focus {
  outline: none;
}
.top-burger:focus-visible {
  outline: 2px solid #1d1d1f;
  outline-offset: 2px;
  border-radius: 8px;
}


/* вкладки: крупные изображения по 24px */
@media (max-width: 900px) {
  body.product .tabcontent .cell-12,
  body.product .tabcontent .is-media-card,
  body.product .tabcontent .content-white {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


/* вкладки: крупные изображения на всю ширину контента */
@media (max-width: 900px) {
  body.product .tabcontent img.slide-image {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* карточки медиа на телефоне: изображение по 24px */
@media (max-width: 900px) {
  body.product .tab-panel .tabcontent .is-media-card {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


/* нумерованные списки на телефоне: без дополнительного отступа */
@media (max-width: 900px) {
  .content-wrapper ol {
    padding-left: 0 !important;
    list-style-position: inside;
  }
  .content-wrapper ol > li {
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
}


/* логотип в шапке строго по центру на телефоне */
@media (max-width: 900px) {
  .top-panel {
    position: relative;
  }
  .top-panel .logo {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
  }
}


/* пилюли модельного ряда по центру верхней и нижней кромки карточки */
@media (max-width: 900px) {
  .hm-arrow--prev {
    top: 24px !important;
    transform: translate(-50%, -50%) !important;
  }
  .hm-arrow--next {
    bottom: 26px !important;
    transform: translate(-50%, 50%) !important;
  }
}


/* пилюли модельного ряда: крупнее шрифт */
@media (max-width: 900px) {
  .hm-arrow {
    font-size: 16px !important;
    height: 42px !important;
    padding: 0 14px !important;
  }
  .hm-arrow::after {
    font-size: 14px !important;
  }
}

/* BUGS 41: форма «Запросить КП» на узком экране не должна выходить за правый край */
@media (max-width: 480px) {
  #request-modal .m-modal-wrapper,
  #request-modal .m-modal-wrapper:not(.is-active) {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 16px;
  }
  #request-modal .m-modal-body,
  #request-modal .m-modal-footer {
    padding-left: 0;
    padding-right: 0;
  }
  #request-modal .m-seg {
    grid-template-columns: 1fr;
  }
  #request-modal .m-input-field,
  #request-modal .m-modal-button,
  #request-modal .form-note,
  #request-modal .m-note {
    max-width: 100%;
    box-sizing: border-box;
  }
  #request-modal .m-modal-button {
    width: 100%;
  }
}

/* Правило A: первый экран — миллиметры по умолчанию, на телефоне (≤480 px) —
   сантиметры. Порог поднят с 360 до 480 после замера: на 390–414 px миллиметры
   пришлось бы печатать кеглем ~11–12 px, а сантиметры читаются заметно крупнее.
   Таблицы характеристик всегда в миллиметрах, независимо от ширины. */
.sz-cm { display: none; }
.main-spec .cell-2 strong,
.px-hl-value { white-space: nowrap; }
@media (max-width: 480px) {
  .sz-mm { display: none; }
  .sz-cm { display: inline; }
  .main-spec .cell-2 strong {
    font-size: clamp(11px, 2.9vw, 15px);
    letter-spacing: -0.1px;
  }
}
