/* [2026-10-01] Часть dm-redesign.css, относящаяся только к карточке
   товара. Грузится на страницах товара. Остальное — в dm-redesign.css. */

.dm-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 12px;
}

.dm-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #5C6A72;
}

.dm-trust-item .dm-ico {
  color: #2E7D4F;
}

#product .product_extra-420 .block-content,
#product .product_extra-420 .block-content span {
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: #5C6A72 !important;
  font-family: inherit !important;
}

#product .product-stats .product-stock,
#product .product-stats .product-dimension,
#product .product-stats .product-reward,
#product .product-points,
#product .custom-stats .product-views {
  display: none;
}

#product .product-stats ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0 0 16px;
  padding: 0;
}

#product .product-stats li {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: #5C6A72;
  border: 0;
}

#product .product-stats li b {
  font-weight: 400;
  color: #5C6A72;
}

#product .product-stats li span,
#product .product-stats li a {
  color: #1C2529;
}

#product .product-stats li a {
  color: #146678;
}

#product .dmc-wrap {
  border: 1px solid #E3E8EC;
  border-radius: 14px;
  background: #FFFFFF;
  padding: 16px;
  margin: 0 0 16px;
}

#product .dmc-cap-title {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 8px;
  border-radius: 8px;
  background: #EAF0F1;
  color: #146678;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

#product .dmc-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid #146678;
  background: #FFFFFF;
  color: #146678;
  font-size: 15px;
  font-weight: 500;
}

#product .dmc-btn:hover {
  background: #F7F6F3;
}

#product .product-price-group .product-price,
#product .product-price-group .product-price-new {
  color: #1C2529;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
}

#product .product-price-group .product-price-old {
  color: #5C6A72;
  font-size: 17px;
  font-weight: 400;
  text-decoration: line-through;
}

#product .dm-cart-price {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 0 0 4px !important;
  color: #1C2529 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  text-align: start !important;
}

#product a.dm-act-call {
  background: #FFFFFF !important;
  border: 1px solid #146678 !important;
  color: #146678 !important;
}

#product a.dm-act-call .dm-act-ic svg,
#product a.dm-act-call .dm-act-t {
  color: #146678 !important;
  fill: currentColor;
}

#product a.dm-act-wa,
#product a.dm-act-call {
  white-space: normal !important;
  line-height: 1.2 !important;
  min-height: 52px;
  height: auto !important;
  padding: 8px 12px !important;
  font-size: 15px !important;
  border-radius: 8px !important;
}

#product a.dm-act-wa .dm-act-t,
#product a.dm-act-call .dm-act-t {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  max-width: none !important;
}

#product .product-info .rating {
  display: none;
}

#product .button-group-page,
#product .buttons-wrapper {
  background: transparent;
  border: 0;
  box-shadow: none;
}

#product .btn-cart {
  background: #146678;
  border: 1px solid #146678;
  color: #FFFFFF;
  min-height: 52px;
  border-radius: 8px;
  font-weight: 500;
}

#product .btn-cart:hover {
  background: #0F4E5B;
  border-color: #0F4E5B;
  color: #FFFFFF;
}

#product .btn-wishlist,
#product .btn-compare {
  background: transparent;
  border: 0;
  color: #5C6A72;
  font-size: 13px;
  min-height: 36px;
  box-shadow: none;
}

#product .btn-wishlist:hover,
#product .btn-compare:hover {
  color: #146678;
  background: transparent;
}

#product .product-options .form-group {
  margin: 0 0 16px;
}

#product .product-options .control-label {
  display: block;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 500;
  color: #1C2529;
}

#product .product-options select.form-control,
#product .product-options input.form-control,
#product .product-options textarea.form-control {
  min-height: 48px;
  border: 1px solid #E3E8EC;
  border-radius: 8px;
  background: #FFFFFF;
  color: #1C2529;
  font-size: 15px;
  box-shadow: none;
}

#product .product-options select.form-control:focus,
#product .product-options input.form-control:focus,
#product .product-options textarea.form-control:focus {
  border-color: #146678;
  box-shadow: none;
  outline: none;
}

#product .product-options .form-group > div[id^="input-option"] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#product .product-options .form-group > div[id^="input-option"]:not(:has(img)) {
  flex-direction: column;
}

#product .product-options .form-group > div[id^="input-option"]:not(:has(img)) .checkbox,
#product .product-options .form-group > div[id^="input-option"]:not(:has(img)) .radio {
  width: 100%;
}

#product .product-options .radio,
#product .product-options .checkbox {
  margin: 0;
  padding: 0;
}

#product .product-options .checkbox label:not(:has(img))::before,
#product .product-options .radio label:not(:has(img)):not(:has(.option-value:only-child))::before {
  content: "";
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #F7F6F3 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="%235C6A72" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z"/><path d="M3.3 7 12 12l8.7-5"/><path d="M12 22V12"/></svg>') center center no-repeat;
}

#product .product-options .checkbox label .option-value,
#product .product-options .radio label .option-value {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
}

#product .product-options .option-price {
  margin-inline-start: auto;
  color: #5C6A72;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

#product .product-options .radio label,
#product .product-options .checkbox label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #E3E8EC;
  border-radius: 8px;
  background: #FFFFFF;
  font-size: 15px;
  font-weight: 400;
  color: #1C2529;
  cursor: pointer;
}

#product .product-options .radio label:hover,
#product .product-options .checkbox label:hover {
  border-color: #146678;
}

#product .product-options .radio label:has(img),
#product .product-options .checkbox label:has(img) {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 116px;
  padding: 8px;
  text-align: center;
}

#product .product-options .radio label img,
#product .product-options .checkbox label img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 0;
  display: block;
}

#product .product-options .radio label .option-value,
#product .product-options .checkbox label .option-value {
  font-size: 13px;
  line-height: 1.3;
  color: #5C6A72;
}

#product .product-options .radio input:checked + img,
#product .product-options .checkbox input:checked + img {
  border: 0 !important;
  outline: 2px solid #146678;
  outline-offset: 1px;
}

#product .product-options .radio label:has(input:checked),
#product .product-options .checkbox label:has(input:checked) {
  border-color: #146678;
  background: #EAF0F1;
}

#product .product-options .radio label:has(input:checked) .option-value,
#product .product-options .checkbox label:has(input:checked) .option-value {
  color: #146678;
  font-weight: 500;
}

.dm-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 32px;
  margin: 32px 0 0;
  border-top: 1px solid #E3E8EC;
  border-bottom: 1px solid #E3E8EC;
  background: #FFFFFF;
}

@media (min-width: 992px) {
body[class*="product-product"] #product.product-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  body[class*="product-product"] #product.product-details > * {
    margin: 0;
  }

  body[class*="product-product"] #product .dm-meta            { order: 1; }
  body[class*="product-product"] #product > .title            { order: 2; }
  body[class*="product-product"] #product .dm-coll            { order: 3; }
  body[class*="product-product"] #product .product-price-group{ order: 4; }
  body[class*="product-product"] #product .dm-note-partial    { order: 5; }
  /* [2026-09-14] габариты идут сразу за ценой, до плашки срока */
  body[class*="product-product"] #product .dm-dims            { order: 6; }
  body[class*="product-product"] #product .dm-delivery-card   { order: 7; }
  body[class*="product-product"] #product .product-options    { order: 8; }
  /* выбор ткани — такая же опция, ставим её к остальным, а не под название */
  body[class*="product-product"] #product #fc2_container      { order: 8; }
  body[class*="product-product"] #product .dm-total           { order: 9; }
  body[class*="product-product"] #product .button-group-page  { order: 10; }
  body[class*="product-product"] #product .dmc-wrap           { order: 11; }
  body[class*="product-product"] #product .rating             { order: 12; }
  /* [2026-09-14] блоки темы (в том числе «Выбор покупателей») ставим под
     кнопками: первый экран у всех товаров должен начинаться одинаково */
  body[class*="product-product"] #product .product-blocks.blocks-top { order: 13; }

  /* цену показываем один раз - строкой итога над кнопками */
  body[class*="product-product"] #product .dm-cart-price { display: none; }
}

body[class*="product-product"] .product-info .product-right .product-details {
  padding-top: 0 !important;
}

body[class*="product-product"] .product-info .product-right,
body[class*="product-product"] .product-info .product-right .product-details,
body[class*="product-product"] .product-info .product-right .product-details > *,
body[class*="product-product"] .product-info .product-left,
body[class*="product-product"] .product-info .product-left > * {
  box-shadow: none !important;
}

body[class*="product-product"] .product-image .main-image a.btn-wishlist.dm-fav {
  box-shadow: none !important;
}

body[class*="product-product"] #product .price-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

body[class*="product-product"] .product-image .main-image a.btn-wishlist.dm-fav {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  z-index: 5;
  width: 44px;
  height: 44px;
  min-width: 0;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid #E3E8EC;
  border-radius: 12px;
  color: #5C6A72;
  font-size: 18px;
}

body[class*="product-product"] .product-image .main-image a.btn-wishlist.dm-fav .btn-text {
  display: none;
}

body[class*="product-product"] .product-image .main-image a.btn-wishlist.dm-fav:hover {
  color: #C9463B;
  border-color: #C9463B;
  background: #FFFFFF;
}

body[class*="product-product"] #product .wishlist-compare {
  gap: 16px;
}

body[class*="product-product"] #product > .title.page-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  color: #1C2529;
  margin: 0;
}

body[class*="product-product"] #product .dmc-wrap {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

body[class*="product-product"] #product .dmc-cap-title {
  display: none;
}

body[class*="product-product"] #product .dmc-btn {
  width: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #146678;
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body[class*="product-product"] #product .dmc-btn:hover {
  background: transparent;
  color: #0F4E5B;
}

body[class*="product-product"] #product .dmc-hint {
  margin: 0;
  font-size: 13px;
  color: #5C6A72;
  text-align: start;
}

@media (min-width: 992px) {
body[class*="product-product"] #content > h1.page-title,
  body[class*="product-product"] #content > .title.page-title {
    display: none;
  }

  body[class*="product-product"] #product.product-details > .title.page-title {
    display: block;
  }
}

#product .product-stats,
#product .custom-stats {
  display: none !important;
}

#product .rating {
  display: none !important;
}

@media (min-width: 992px) {
body[class*="product-product"] #product .btn-cart {
    min-height: 56px !important;
    font-size: 17px !important;
    border-radius: 8px !important;
  }

  body[class*="product-product"] #product a.dm-act-wa,
  body[class*="product-product"] #product a.dm-act-call {
    min-height: 56px !important;
    font-size: 17px !important;
  }

  body[class*="product-product"] #product .stepper {
    min-height: 56px;
  }
}

@media (min-width: 992px) {
body[class*="product-product"] #content > .product-blocks.blocks-image {
    display: block;
    margin-top: 40px;
  }

  body[class*="product-product"] #content > .product-blocks.blocks-image .grid-rows,
  body[class*="product-product"] #content > .product-blocks.blocks-image .grid-cols,
  body[class*="product-product"] #content > .product-blocks.blocks-image .grid-col {
    width: 100%;
  }

  /* заголовок блока по макету */
  body[class*="product-product"] #content > .product-blocks.blocks-image .module-title,
  body[class*="product-product"] #content > .product-blocks.blocks-image h3.title {
    font-size: 24px;
    font-weight: 600;
    color: #1C2529;
    margin: 0 0 16px;
    text-align: start;
  }

  /* снимки клиентов квадратами, как в макете */
  body[class*="product-product"] #content > .product-blocks.blocks-image .module-gallery img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #E3E8EC;
    background: #FFFFFF;
  }
}

.dm-gallery {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background: transparent;
}

.dm-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dm-gallery-thumb,
.dm-gallery-more {
  width: 88px;
  height: 88px;
  padding: 0;
  border: 1px solid #E3E8EC;
  border-radius: 8px;
  background: #FFFFFF;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dm-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dm-gallery-thumb:hover { border-color: #146678; }

.dm-gallery-thumb-active { border-color: #146678; }

.dm-gallery-more {
  flex-direction: column;
  gap: 2px;
  color: #146678;
  font-size: 13px;
  font-weight: 500;
}

.dm-gallery-main {
  position: relative;
  width: min(100%, 62vh);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  background: #FFFFFF;
  border: 1px solid #E3E8EC;
  border-radius: 14px;
  overflow: hidden;
}

.dm-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
}

.dm-gallery-off {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  background: #C9463B;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 8px;
}

.dm-gallery-fav {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #E3E8EC;
  color: #5C6A72;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dm-gallery-fav:hover { color: #C9463B; border-color: #C9463B; }

.dm-gallery-zoom {
  position: absolute;
  bottom: 16px;
  inset-inline-end: 16px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #E3E8EC;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #5C6A72;
  cursor: pointer;
}

.dm-gallery-zoom:hover { color: #146678; border-color: #146678; }

body.dm-frame-on .dm-gallery-zoom,
body.dm-frame-on .dm-gallery-zoom:hover,
body.dm-frame-on .dm-gallery-zoom:focus,
body.dm-frame-on .dm-gallery-more,
body.dm-frame-on .dm-gallery-more:hover {
  font-size: 13px !important;
  font-weight: 500 !important;
}

body.dm-frame-on .dm-gallery-thumb,
body.dm-frame-on .dm-gallery-thumb:hover,
body.dm-frame-on .dm-gallery-fav,
body.dm-frame-on .dm-gallery-fav:hover {
  font-size: 0 !important;
}

#product .product_extra-353 {
  display: none !important;
}

#product .product-blocks.blocks-bottom .product_extra-1140 {
  border: 1px solid #E3E8EC;
  border-radius: 14px;
  background: #FFFFFF;
  padding: 16px;
  margin-top: 16px;
}

#product .product-blocks.blocks-bottom .product_extra-1140 .title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
}

@media (min-width: 992px) {
/* Плашка в карточке ровно одна - у самого фото. Тема рисует ещё две:
     тень на колонке и белую подложку вокруг галереи. Обе снимаем. */
  body[class*="product-product"] .product-info .product-left {
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  body[class*="product-product"] .product-image,
  body[class*="product-product"] .product-image.position-left {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  /* Раскладку делает сама тема: превью слева, фото справа.
     Мы только сужаем полосу превью до 88 px по макету и возвращаем
     главному фото освободившуюся ширину. Тема резервирует 200 px
     инлайновым стилем, поэтому ширину перебиваем важным правилом. */
  body[class*="product-product"] .product-image.position-left .additional-images {
    width: 88px !important;
    /* тема сдвигала полосу на 10 и 5 px, компенсируя отступ внутри
       превью; отступа больше нет, сдвиг снимаем */
    margin: 0 !important;
  }

  body[class*="product-product"] .product-image.position-left .swiper.main-image {
    width: calc(100% - 104px) !important;
    margin-inline-start: 16px !important;
  }

  body[class*="product-product"] .product-image .main-image {
    position: relative;
    background: #FFFFFF;
    border: 1px solid #E3E8EC;
    border-radius: 14px;
    overflow: hidden;
  }

  body[class*="product-product"] .product-image .main-image .swiper-container,
  body[class*="product-product"] .product-image .main-image .swiper-wrapper,
  body[class*="product-product"] .product-image .main-image .swiper-slide {
    height: 100%;
  }

  body[class*="product-product"] .product-image .main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* Превью: квадраты 88. Тема держит их отступом внутри слайда, а у
     картинки max-width:100%, из-за чего квадрат становился 78 в ширину.
     Отступ снимаем, зазор даёт нижний margin слайда. */
  body[class*="product-product"] .product-image .additional-images .swiper-slide {
    width: 88px !important;
    height: 88px !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
  }

  body[class*="product-product"] .product-image .additional-image img,
  body[class*="product-product"] .product-image .additional-images img {
    width: 88px !important;
    height: 88px !important;
    max-width: none !important;
    margin: 0 !important;
    object-fit: cover;
    border: 1px solid #E3E8EC;
    border-radius: 8px;
    background: #FFFFFF;
  }

  body[class*="product-product"] .product-image .additional-images .swiper-slide-thumb-active img,
  body[class*="product-product"] .product-image .additional-images img:hover {
    border-color: #146678;
  }

  /* Точки листалки: в макете их нет, полоса превью листается стрелками. */
  body[class*="product-product"] .product-image .swiper-pagination {
    display: none !important;
  }

  /* Стрелки полосы превью стояли поверх нижнего снимка. Уводим их под
     колонку двумя маленькими кнопками. Место под них оставляет
     dm-gallery.js, он же равняет высоту полосы по фото. */
  body[class*="product-product"] .product-image .additional-images .swiper-buttons {
    pointer-events: none;
  }

  body[class*="product-product"] .product-image .additional-images .swiper-button-prev,
  body[class*="product-product"] .product-image .additional-images .swiper-button-next {
    pointer-events: auto;
    top: auto !important;
    bottom: 0 !important;
    width: 42px !important;
    height: 28px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #FFFFFF !important;
    border: 1px solid #E3E8EC !important;
    border-radius: 8px !important;
    color: #146678 !important;
    opacity: 1;
    /* тема центрует стрелки сдвигом, из-за него они уезжали за колонку */
    transform: none !important;
  }

  body[class*="product-product"] .product-image .additional-images .swiper-button-prev {
    inset-inline-start: 0 !important;
    inset-inline-end: auto !important;
  }

  body[class*="product-product"] .product-image .additional-images .swiper-button-next {
    inset-inline-start: auto !important;
    inset-inline-end: 0 !important;
  }

  body[class*="product-product"] .product-image .additional-images .swiper-button-prev:hover,
  body[class*="product-product"] .product-image .additional-images .swiper-button-next:hover {
    border-color: #146678 !important;
    background: #F7F6F3 !important;
  }

  body[class*="product-product"] .product-image .additional-images .swiper-button-disabled {
    opacity: .35 !important;
    pointer-events: none;
  }

  /* Бейдж поверх фото: чип по содержимому в левом верхнем углу.
     Цвет у каждой метки свой, он приходит из админки, мы его не трогаем:
     красим не саму метку, а только её внутренний блок. */
  body[class*="product-product"] .product-image .product-labels {
    width: auto !important;
    height: auto !important;
    inset-inline-start: 16px;
    inset-inline-end: auto;
    top: 16px;
    align-items: flex-start !important;
    gap: 6px;
  }

  body[class*="product-product"] .product-image .product-label {
    background: transparent !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: start !important;
    justify-content: flex-start !important;
    box-shadow: none !important;
  }

  body[class*="product-product"] .product-image .product-label b {
    border-radius: 8px;
    padding: 4px 10px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.3;
    white-space: nowrap;
  }
}

@media (min-width: 992px) {
body[class*="product-product"] .product-image .swiper.main-image {
    position: relative;
    aspect-ratio: 1 / 1;
    height: auto !important;
    min-height: 0;
    max-height: 62vh;
  }

  /* карусель кладём внутрь квадрата абсолютом: иначе её содержимое
     само задаёт высоту и пропорция 1:1 не держится */
  body[class*="product-product"] .product-image .main-image > .swiper-container {
    position: absolute !important;
    inset: 0;
    height: 100% !important;
    width: 100% !important;
  }

  body[class*="product-product"] .product-image .main-image .swiper-wrapper,
  body[class*="product-product"] .product-image .main-image .swiper-slide {
    height: 100% !important;
  }

  body[class*="product-product"] .product-image .main-image .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  /* высоту полосы превью и место под стрелки считает dm-gallery.js:
     столбик кончается целым квадратом, а не половиной снимка */
}

body[class*="product-product"] #product .product-options > div[id^="input-option"],
body[class*="product-product"] #product .product-options .form-group > div[id^="input-option"] {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body[class*="product-product"] #product .product-options .checkbox,
body[class*="product-product"] #product .product-options .radio {
  width: 100%;
  margin: 0;
  padding: 0;
  height: auto !important;
  min-height: 0 !important;
}

body[class*="product-product"] #product .product-options .checkbox label,
body[class*="product-product"] #product .product-options .radio label {
  display: flex;
  /* у строки со снимком тема разворачивает содержимое в столбик */
  flex-direction: row !important;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: auto !important;
  min-height: 64px;
  /* воздух по краям: подпись и цена не липнут к рамке */
  padding: 14px 20px;
  border: 1px solid #E3E8EC;
  border-radius: 14px;
  background: #FFFFFF;
  cursor: pointer;
}

body[class*="product-product"] #product .product-options .checkbox label:hover,
body[class*="product-product"] #product .product-options .radio label:hover {
  border-color: #146678;
}

body[class*="product-product"] #product .product-options .checkbox label::before,
body[class*="product-product"] #product .product-options .radio label::before {
  content: '';
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1px solid #C9D2D8;
  border-radius: 6px;
  background: #FFFFFF center no-repeat;
  background-size: 14px;
}

body[class*="product-product"] #product .product-options .radio label::before {
  border-radius: 50%;
}

body[class*="product-product"] #product .product-options .checkbox label:has(input:checked),
body[class*="product-product"] #product .product-options .radio label:has(input:checked) {
  border-color: #146678;
  background: #F2F8F9;
}

body[class*="product-product"] #product .product-options .checkbox label:has(input:checked)::before,
body[class*="product-product"] #product .product-options .radio label:has(input:checked)::before {
  border-color: #146678;
  background-color: #146678;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

body[class*="product-product"] #product .product-options .checkbox label img,
body[class*="product-product"] #product .product-options .radio label img {
  flex: 0 0 56px;
  width: 56px !important;
  height: 56px !important;
  margin: 0 !important;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #E3E8EC;
  background: #FFFFFF;
  box-shadow: none !important;
}

body[class*="product-product"] #product .product-options input + img + .option-value {
  display: flex !important;
}

body[class*="product-product"] #product .product-options .checkbox label .option-value,
body[class*="product-product"] #product .product-options .radio label .option-value {
  position: static !important;
  margin: 0 !important;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: auto;
  padding: 0;
  border: 0;
  font-size: 16px;
  font-weight: 500;
  color: #1C2529;
  text-align: start;
}

body[class*="product-product"] #product .product-options .option-price {
  font-size: 16px;
  font-weight: 600;
  color: #1C2529;
  white-space: nowrap;
}

body[class*="product-product"] #product .product-options .form-group > .control-label {
  font-size: 20px;
  font-weight: 600;
  color: #1C2529;
}

body[class*="product-product"] #product .product-options img {
  box-shadow: none !important;
}

.dm-tab-panel .dm-specs {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #E3E8EC;
}

.dm-tab-panel .dm-specs-title {
  display: block !important;
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  color: #1C2529;
}

#product .dm-req-badge {
  background: #FDF6E7 !important;
  color: #9A7B1F !important;
  border-color: #EBD9AE !important;
  font-weight: 500 !important;
}

body #product .dm-req-group.dm-req-error,
body #product .dm-req-group.dm-req-error.dm-req-pulse {
  border: 1px solid #EBD9AE !important;
  border-inline-start: 4px solid #EBD9AE !important;
  background-color: #FDF6E7 !important;
  background-image: none !important;
  box-shadow: none !important;
}

body #product .dm-req-group.dm-req-error .control-label,
body #product .dm-req-group.dm-req-error label.control-label {
  color: #9A7B1F !important;
  font-weight: 600 !important;
}

body #product .dm-req-group.dm-req-error .dm-req-badge {
  background: #9A7B1F !important;
  color: #FFFFFF !important;
  border-color: #9A7B1F !important;
}

#product .dm-req-hint,
#product .dm-req-hint.dm-req-hint-alert {
  background: #FDF6E7 !important;
  border-color: #EBD9AE !important;
  color: #9A7B1F !important;
  font-weight: 500 !important;
}

#product .product-options .control-label:after,
#product .product-options .required .control-label:after,
#product .form-group.required .control-label:after {
  color: #9A7B1F !important;
}

.dm-tab-panels .dm-tab-panel:has(.dm-specs) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 8px 48px;
  align-items: start;
}

.dm-tab-panel .dm-specs {
  margin: 0;
  padding: 24px;
  border: 1px solid #E3E8EC;
  border-radius: 14px;
  background: #FFFFFF;
}

.dm-tab-panel .dm-specs-title {
  display: block !important;
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  color: #1C2529;
}

.dm-tab-panel .dm-specs .block-content,
.dm-tab-panel .dm-specs .table-responsive {
  padding: 0;
  border: 0;
  background: transparent;
}

.dm-tab-panel .dm-specs table {
  width: 100%;
  border: 0;
  margin: 0;
}

.dm-tab-panel .dm-specs table td {
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #E3E8EC;
  font-size: 15px;
  line-height: 1.4;
  vertical-align: top;
}

.dm-tab-panel .dm-specs table tbody tr td:first-child {
  width: 45%;
  color: #5C6A72;
}

.dm-tab-panel .dm-specs table tbody tr td:last-child {
  font-weight: 500;
  color: #1C2529;
  text-align: end;
}

.dm-tab-panel .dm-specs table thead td {
  padding: 18px 0 8px;
  background: transparent !important;
  border-bottom: 1px solid #E3E8EC;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #5C6A72;
}

.dm-tab-panel .dm-specs table thead:first-child td {
  padding-top: 0;
}

@media (max-width: 991px) {
.dm-tab-panels .dm-tab-panel:has(.dm-specs) {
    display: block;
  }

  .dm-tab-panel .dm-specs {
    margin-top: 24px;
  }
}

.dm-tab-panel .dm-specs .block-content {
  background: transparent !important;
}

@media (min-width: 992px) {
body[class*="product-product"] #product .dm-cart-price {
    display: none !important;
  }

  body[class*="product-product"] #product .button-group-page .stepper-group.cart-group {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  body[class*="product-product"] #product .button-group-page .stepper {
    flex: 0 0 auto;
    margin: 0 !important;
  }

  body[class*="product-product"] #product .button-group-page #button-cart.btn-cart {
    flex: 1 1 220px;
    margin: 0 !important;
  }

  body[class*="product-product"] #product .button-group-page .dm-act {
    flex: 1 1 240px;
    display: flex;
    align-self: center;
    align-items: center;
    gap: 12px;
    margin: 0 !important;
  }

  body[class*="product-product"] #product .button-group-page .dm-act-call {
    display: none !important;
  }

  body[class*="product-product"] #product .button-group-page .dm-act-wa {
    flex: 1;
    height: 56px !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  body[class*="product-product"] #product .wishlist-compare {
    display: none;
  }
}

@media (min-width: 992px) {
body[class*="product-product"] #product .dm-buy {
    order: 9;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border: 1px solid #E3E8EC;
    border-radius: 14px;
    background: #FFFFFF;
  }

  body[class*="product-product"] #product .dm-buy .dm-total {
    margin: 0;
    padding: 0;
    background: transparent;
  }

  body[class*="product-product"] #product .dm-buy .button-group-page,
  body[class*="product-product"] #product .dm-buy .dmc-wrap {
    margin: 0;
    padding: 0;
  }

  body[class*="product-product"] #product .dm-buy .dmc-wrap {
    width: 100%;
  }
}

body[class*="product-product"] #product #button-cart,
body[class*="product-product"] #product #button-cart:hover,
body[class*="product-product"] #product #button-cart:focus,
body[class*="product-product"] #product #button-cart .btn-text {
  text-transform: none !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
}

@media (min-width: 992px) {
body.dm-frame-on .dm-tabs {
    width: 100vw;
    margin-inline-start: calc(50% - 50vw);
    margin-block: 40px 0;
    padding-inline: max(clamp(16px, 3vw, 40px), calc(50vw - 620px));
    gap: 0 32px;
  }
}

body[class*="product-product"] #product .fc2.dm-req-group {
  display: flex;
  flex-direction: column;
  /* строка тянется во всю ширину, значок «обязательно» остаётся по левому краю */
  align-items: stretch;
  gap: 10px;
}

body[class*="product-product"] #product .fc2 .dm-req-badge {
  align-self: flex-start;
  height: auto;
}

body[class*="product-product"] #product .fc2 .btn-wrap {
  /* у ткани ширина была ограничена половиной колонки */
  width: 100%;
  max-width: none !important;
}

body[class*="product-product"] #product .fc2 .btn-wrap a.btn,
body[class*="product-product"] #product .fc2 .btn-wrap a.btn:hover,
body[class*="product-product"] #product .fc2 .btn-wrap a.btn:focus {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
  min-height: 64px;
  height: auto;
  padding: 14px 20px;
  border: 1px solid #E3E8EC !important;
  border-radius: 14px !important;
  /* [2026-09-14] Выбранную ткань скрипт показывает фоновой картинкой на самой
     кнопке. Поэтому меняем только цвет фона, а картинку ставим слева
     квадратом: тогда выбранная ткань видна и обновляется сама. */
  /* картинку ткани переносим в квадрат, у самой строки фона нет */
  background-color: #FFFFFF !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #1C2529 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-align: start;
}

[dir="rtl"] body[class*="product-product"] #product .fc2 .btn-wrap a.btn {
  background-position: right 20px center !important;
}

body[class*="product-product"] #product .fc2 .btn-wrap a.btn:hover {
  border-color: #146678 !important;
  color: #146678 !important;
}

body[class*="product-product"] #product .fc2 .btn-wrap a.btn:hover .dm-fab-btn {
  background: #F2F8F9;
}

body[class*="product-product"] #product #fc2_container hr {
  display: none;
}

body[class*="product-product"] #product #fc2_container h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1C2529;
  margin: 0 0 12px;
}

body[class*="product-product"] .product-left .dm-photo-note {
  margin-top: 12px;
}

body[class*="product-product"] .product-left .dm-photo-note,
body[class*="product-product"] .product-left .dm-photo-note span,
body[class*="product-product"] .product-left .dm-photo-note div,
body[class*="product-product"] .product-left .dm-photo-note p {
  font-size: 12px !important;
  line-height: 1.45;
  color: #5C6A72 !important;
}

body[class*="product-product"] .product-left .dm-photo-note .block-body,
body[class*="product-product"] .product-left .dm-photo-note .block-wrapper,
body[class*="product-product"] .product-left .dm-photo-note .block-content {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

@media (min-width: 992px) {
body[class*="product-product"] #content > .product-blocks.blocks-image .module-gallery .module-item {
    width: 104px !important;
    height: 104px !important;
  }

  body[class*="product-product"] #content > .product-blocks.blocks-image .module-gallery .module-body {
    flex-wrap: wrap;
    gap: 12px;
    width: auto !important;
    height: auto !important;
  }
}

body[class*="product-product"] #product .dm-buy .dmc-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px !important;
  padding-top: 16px !important;
  border-top: 1px solid #E3E8EC;
}

body[class*="product-product"] #product .dm-buy .dmc-cap-title {
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 17px;
  font-weight: 600;
  color: #1C2529;
}

body[class*="product-product"] #product .dm-buy .dmc-hint {
  display: block;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #5C6A72;
}

body[class*="product-product"] #product .dm-buy .dmc-btn,
body[class*="product-product"] #product .dm-buy .dmc-btn:hover,
body[class*="product-product"] #product .dm-buy .dmc-btn:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  border: 1px solid #146678;
  border-radius: 8px;
  background: #FFFFFF;
  color: #146678 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  text-decoration: none;
  cursor: pointer;
}

body[class*="product-product"] #product .dm-buy .dmc-btn:hover {
  background: #F2F8F9;
}

body[class*="product-product"] #product .dm-buy .dmc-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

@media (min-width: 992px) {
body[class*="product-product"] #content .module-products-262 .tab-container > .nav-tabs {
    display: none !important;
  }
}

@media (min-width: 992px) and (max-height: 900px) {
body[class*="product-product"] #product.product-details {
    gap: 14px;
  }

  body[class*="product-product"] #product > .title.page-title {
    font-size: 28px;
  }

  body[class*="product-product"] #product a.dm-coll {
    padding: 10px 18px;
  }

  body[class*="product-product"] .dm-delivery-card {
    padding: 14px 16px;
    gap: 10px;
  }

  body[class*="product-product"] .dm-delivery-features {
    gap: 8px;
  }

  body[class*="product-product"] .dm-dim {
    padding: 8px 12px;
  }

  body[class*="product-product"] .dm-note-partial {
    padding: 10px 12px;
  }
}

@media (min-width: 992px) {
/* Стрелки ленты: крупные, по краям блока, полупрозрачные. */
  

  

  

  

  

  

  

  /* Карточка в ленте: кнопки внутри плашки, во всю ширину. */
  

  

  

  

  

  

  

  

  

  /* Заголовок блока фотографий клиентов по дизайн-системе */
  body[class*="product-product"] #content > .product-blocks.blocks-image .title-module h3,
  body[class*="product-product"] #content > .product-blocks.blocks-image .title-wrapper h3 {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #1C2529 !important;
    margin: 0 0 4px;
    text-align: start;
  }
}

.dm-set {
  margin: 40px 0 0;
}

.dm-set-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}

.dm-set-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #1C2529;
}

.dm-set-head span {
  font-size: 13px;
  color: #5C6A72;
}

.dm-set-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.dm-set-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid #E3E8EC;
  border-radius: 14px;
  background: #FFFFFF;
  color: #1C2529;
  text-decoration: none;
}

.dm-set-card:hover {
  border-color: #146678;
}

.dm-set-pic {
  display: block;
  position: relative;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  background: #F7F6F3;
}

.dm-set-pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.dm-set-name {
  font-size: 14px;
  line-height: 1.35;
  min-height: 38px;
}

.dm-set-price {
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 1279px) {
.dm-set-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
.dm-set-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
body[class*="product-product"] #content > .dm-set {
    padding-inline: max(0px, calc(84px - max(0px, (100vw - 1320px) / 2)));
  }

  .dm-set-pic {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  /* второй блок товаров внизу («Того же бренда») в макете не предусмотрен */
  /* [2026-09-15] правило сузили до блока сопутствующих: в той же обёртке
     живёт модуль «Вы смотрели», и он пропадал вместе с лишними вкладками */
  body[class*="product-product"] #content .module-products-262 .nav-tabs,
  body[class*="product-product"] #content .module-products-262 .tab-pane:nth-child(n+2) {
    display: none !important;
  }
}

body[class*="product-product"] .bottom.top-row:not(:has(img)):not(:has(a)):not(:has(p)) {
  display: none !important;
}

.dm-set-dims {
  font-size: 13px;
  color: #5C6A72;
  margin-top: -4px;
}

body[class*="product-product"] #product .price-group .dm-set-note {
  order: 9;
}

.dm-set-note {
  width: 100%;
  flex: 0 0 100%;
  text-align: start;
  margin-top: 4px;
  font-size: 13px;
  color: #5C6A72;
}

.dm-fresh .dm-set-pic {
  aspect-ratio: 16 / 9;
  height: auto;
}

.dm-fresh .dm-set-pic img {
  object-fit: cover;
}

.dm-set-qty {
  position: absolute;
  inset-block-start: 6px;
  inset-inline-start: 6px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #5C6A72;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.dm-desc .dm-specs { margin-top: 0; }

.dm-tab-panel .dm-specs table tbody tr td:last-child,
.dm-tab-panel .dm-specs table tbody tr td strong,
.dm-tab-panel .dm-specs table tbody tr td b {
  font-weight: 400;
}

.dm-tab-panel .dm-specs table tbody.dm-specs-dims tr td:last-child {
  font-weight: 600;
}

.dm-tab-panel .dm-specs table tbody.dm-specs-dims tr td:first-child {
  font-weight: 400;
}

.dm-fresh.dm-set-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.dm-fresh .dm-set-name {
  font-size: 16px;
  font-weight: 600;
}

.dm-fresh .dm-set-dims {
  font-size: 14px;
}

@media (max-width: 1279px) {
.dm-fresh.dm-set-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
.dm-fresh.dm-set-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
.dm-fresh.dm-set-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 992px) {
body[class*="product-product"] .container:has(> .row > #content),
  body[class*="product-product"] .container:has(> #content) {
    max-width: 1440px !important;
    margin-inline: auto;
  }
}

body[class*="product-product"] #product .product-options .checkbox label:has(input:checked),
body[class*="product-product"] #product .product-options .radio label:has(input:checked) {
  border-color: #2E7D4F !important;
  background: #E4F1EA !important;
  box-shadow: inset 0 0 0 1px #2E7D4F;
}

body[class*="product-product"] #product .product-options .checkbox label:has(input:checked)::before,
body[class*="product-product"] #product .product-options .radio label:has(input:checked)::before {
  border-color: #2E7D4F !important;
  background-color: #2E7D4F !important;
}

body[class*="product-product"] #product .product-options .checkbox label:hover,
body[class*="product-product"] #product .product-options .radio label:hover {
  border-color: #8FBFA4;
  background: #FAFCFB;
}

body[class*="product-product"] #product .product-options .checkbox label:has(input:checked):hover,
body[class*="product-product"] #product .product-options .radio label:has(input:checked):hover {
  background: #DCEDE4 !important;
}

body[class*="product-product"] #product .product-options .radio input:checked + img,
body[class*="product-product"] #product .product-options .checkbox input:checked + img {
  outline-color: #2E7D4F !important;
}

body[class*="product-product"] #product .product-options .checkbox label:has(input:checked) .option-value,
body[class*="product-product"] #product .product-options .radio label:has(input:checked) .option-value {
  color: #1C2529 !important;
  font-weight: 600 !important;
}

body[class*="product-product"] #product .product-options .checkbox label,
body[class*="product-product"] #product .product-options .radio label {
  padding: 14px 22px;
}

body[class*="product-product"] #product .product-options .checkbox label .option-value,
body[class*="product-product"] #product .product-options .radio label .option-value {
  padding-inline: 4px 2px !important;
  gap: 24px;
  /* тема рисует подпись «вдавленным» прямоугольником: на цветной строке
     он проступал светлым пятном */
  box-shadow: none !important;
  background: transparent !important;
}

body[class*="product-product"] #product .product-options .option-price {
  padding-inline-start: 20px;
  /* в иврите плюс и шекель уезжали в конец: «(שח354+)» */
  direction: ltr;
  unicode-bidi: isolate;
}

@media (max-width: 575px) {
body[class*="product-product"] #product .product-options .checkbox label,
  body[class*="product-product"] #product .product-options .radio label {
    padding: 12px 14px;
  }

  body[class*="product-product"] #product .product-options .checkbox label .option-value,
  body[class*="product-product"] #product .product-options .radio label .option-value {
    gap: 12px;
  }

  body[class*="product-product"] #product .product-options .option-price {
    padding-inline-start: 10px;
  }
}

.dm-buybar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 6900;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(6px);
  border-top: 1px solid #E3E8EC;
  box-shadow: 0 -6px 22px rgba(28, 37, 41, .08);
  transform: translateY(105%);
  transition: transform .25s ease;
  pointer-events: none;
}

body.dm-buybar-on .dm-buybar {
  transform: translateY(0);
  pointer-events: auto;
}

.dm-buybar-in {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1320px;
  margin-inline: auto;
  padding: 12px 24px;
}

.dm-buybar-pic {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  object-fit: contain;
  border: 1px solid #E3E8EC;
  border-radius: 8px;
  background: #FFFFFF;
}

.dm-buybar-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  color: #1C2529;
  /* длинное имя в одну строку: полоса не должна расти по высоте */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dm-buybar-price {
  flex: none;
  font-size: 22px;
  font-weight: 700;
  color: #1C2529;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  /* в иврите шекель с числом переставлялись */
  direction: ltr;
  unicode-bidi: isolate;
}

.dm-buybar-btn {
  flex: none;
  min-width: 220px;
  height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 12px;
  background: #146678;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease;
}

.dm-buybar-btn:hover { background: #0F4F5D; }

body.dm-buybar-on .dm-placed { bottom: 96px !important; }

body[class*="product-product"] #product .product-options .checkbox label:not(:has(img))::before,
body[class*="product-product"] #product .product-options .radio label:not(:has(img)):not(:has(.option-value:only-child))::before {
  order: -2;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1px solid #C9D2D8;
  border-radius: 6px;
  background-color: #FFFFFF;
  background-image: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px;
}

body[class*="product-product"] #product .product-options .checkbox label:not(:has(img)):has(input:checked)::before,
body[class*="product-product"] #product .product-options .radio label:not(:has(img)):not(:has(.option-value:only-child)):has(input:checked)::before {
  border-color: #2E7D4F;
  background-color: #2E7D4F;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px;
}

body[class*="product-product"] #product .product-options .checkbox label:not(:has(img))::after,
body[class*="product-product"] #product .product-options .radio label:not(:has(img)):not(:has(.option-value:only-child))::after {
  content: '';
  order: -1;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #F7F6F3 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="%235C6A72" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z"/><path d="M3.3 7 12 12l8.7-5"/><path d="M12 22V12"/></svg>') center center no-repeat;
}

body[class*="product-product"] #product .product-options .checkbox label:not(:has(img)) .option-value,
body[class*="product-product"] #product .product-options .radio label:not(:has(img)) .option-value {
  order: 0;
}

.dm-buybar-wa {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  /* как квадрат в плитке: белый, значок фирменного зелёного */
  border: 1px solid #E3E8EC;
  background: #FFFFFF;
  color: #25D366;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.dm-buybar-wa .dm-ico { color: #25D366; }

.dm-buybar-wa:hover,
.dm-buybar-wa:focus {
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, .16);
}

#product .product-options .dm-opt-hint {
  margin: 0 0 14px;
  padding: 12px 16px;
  border: 1px solid #EBD9AE;
  border-radius: 10px;
  background: #FDF6E7;
  color: #9A7B1F;
  font-size: 15px;
  line-height: 1.4;
}

#product .product-options .dm-opt-hint * {
  margin: 0;
  padding: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  font-family: inherit !important;
  text-align: start !important;
  background: transparent !important;
}

body[class*="product-product"] .dm-calc-cta { display: none !important; }

@media (max-width: 767px) {
.dm-buybar-pic { display: none; }

  .dm-buybar-name {
    font-size: 13px;
    -webkit-line-clamp: 1;
  }

  .dm-buybar-in {
    gap: 10px;
    padding: 8px 12px;
  }

  .dm-buybar .btn,
  .dm-buybar a { white-space: nowrap; }
}

@media (max-width: 991px) {
body.product-product .button-group-page { display: none !important; }
}

@media (max-width: 767px) {
/* карточка товара в списке */
  

  

  

  

  

  

  /* плитки разделов и подразделов */
  

  

  /* заголовки страниц */
  

  

  /* карточка товара */
  body[class*="product-product"] #content h1 { font-size: 22px !important; }

  body[class*="product-product"] .product-price,
  body[class*="product-product"] .price-new,
  body[class*="product-product"] .dm-total-value { font-size: 26px !important; }

  body[class*="product-product"] .product-stats,
  body[class*="product-product"] .dm-dims { font-size: 15px !important; }

  /* ленты на главной */
}

@media (max-width: 767px) {
/* [2026-09-29] Блок с количеством и «в корзину» нужен на странице —
     раньше мы прятали его целиком, и кнопка пропадала. Прячем только
     дубли связи: телефон и WhatsApp внизу и так есть. */
  body[class*="product-product"] .button-group-page {
    display: block !important;
    position: static !important;
    margin: 14px 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }

  body[class*="product-product"] .button-group-page .dm-call-btn,
  body[class*="product-product"] .button-group-page .dm-act-wa,
  body[class*="product-product"] .button-group-page a[href^="tel:"],
  body[class*="product-product"] .button-group-page a[href*="wa.me"] { display: none !important; }

  body[class*="product-product"] .button-group-page .buttons-wrapper {
    display: flex !important;
    align-items: center;
    gap: 10px;
  }

  body[class*="product-product"] .button-group-page #button-cart {
    flex: 1 1 auto;
    height: 56px !important;
    font-size: 18px !important;
  }

  body[class*="product-product"] .button-group-page .stepper,
  body[class*="product-product"] .button-group-page .quantity {
    flex: 0 0 auto;
  }

  body[class*="product-product"] .product-share,
  body[class*="product-product"] .share-block,
  body[class*="product-product"] .dm-share { display: none !important; }

  /* воздух между блоками карточки был в полтора экрана */
  body[class*="product-product"] .product-info > div { margin-bottom: 14px; }

  body[class*="product-product"] #content h1 {
    margin: 0 0 12px;
    line-height: 1.2;
  }

  /* цена крупно, прежняя рядом мельче */
  body[class*="product-product"] .product-price .price-new,
  body[class*="product-product"] .product-price > .price { font-size: 30px !important; }

  body[class*="product-product"] .product-price .price-old { font-size: 17px !important; }
}

@media (max-width: 767px) {
body[class*="product-product"] .product-options,
  body[class*="product-product"] .product-option-select {
    padding: 12px !important;
    margin-bottom: 10px !important;
  }

  

  

  /* подпись «Итого» над суммой в нижней полосе */
  .dm-buybar-sum {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-inline-end: 10px;
    line-height: 1.15;
  }

  body.dm-frame-on .dm-buybar-cap {
    font-style: normal;
    font-size: 12px !important;
    letter-spacing: .02em;
    color: #9AA7AE;
  }

  body.dm-frame-on .dm-buybar-price { line-height: 1.15 !important; }
}

body.dm-frame-on[class*="product-product"] #content h1 { color: #1C2529 !important; }

.dm-buybar-sum {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-inline-end: 12px;
  line-height: 1.15;
}

body.dm-frame-on .dm-buybar-cap {
  font-style: normal;
  font-size: 12px !important;
  color: #9AA7AE;
}

@media (max-width: 767px) {
/* название товара крупнее — как в макете */
  body.dm-frame-on[class*="product-product"] #content h1 {
    font-size: 30px !important;
    line-height: 1.2;
  }

  /* срок доставки заметнее, объяснение мельче */
  

  

  /* «доставка по всему Израилю», «гарантия» — каждое своей строкой */
  

  

  

  /* сноски под кнопкой расчёта и под ценой */
  

  /* опции чуть крупнее */
  

  

  

  /* в нижней полосе название товара не нужно */
  .dm-buybar .dm-buybar-name,
  .dm-buybar .dm-buybar-pic { display: none !important; }

  .dm-buybar .dm-buybar-in { gap: 12px; }

  .dm-buybar .dm-buybar-btn { flex: 1 1 auto; }
}

@media (max-width: 767px) {
.dm-fold {
    margin: 10px 0;
    border: 1px solid #E3E8EC;
    border-radius: 12px;
    background: #FFFFFF;
  }

  body.dm-frame-on .dm-fold-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 0 16px;
    font-size: 18px !important;
    font-weight: 600;
    color: #1C2529;
    cursor: pointer;
    list-style: none;
  }

  .dm-fold-head::-webkit-details-marker { display: none; }

  .dm-fold-head::after {
    content: '';
    width: 9px;
    height: 9px;
    border-right: 2px solid #9AA7AE;
    border-bottom: 2px solid #9AA7AE;
    transform: rotate(45deg);
    transition: transform .15s ease;
  }

  .dm-fold[open] .dm-fold-head::after { transform: rotate(-135deg); }

  .dm-fold .dm-tab-panel { padding: 0 16px 16px; }
}

@media (max-width: 767px) {
.dm-specs { margin: 8px 0 18px; }

  body.dm-frame-on .dm-specs table {
    width: 100%;
    border: 0;
  }

  body.dm-frame-on .dm-specs td,
  body.dm-frame-on .dm-specs th {
    padding: 10px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #EEF2F4 !important;
    font-size: 16px !important;
    vertical-align: top;
  }

  body.dm-frame-on .dm-specs td:first-child { color: #5C6A72; }

  body.dm-frame-on .dm-specs td:last-child {
    text-align: end;
    font-weight: 500;
  }

  /* заголовок раздела таблицы — одна ячейка на строку, её не выравниваем
     по правому краю */
  body.dm-frame-on .dm-specs td:only-child,
  body.dm-frame-on .dm-specs th:only-child,
  body.dm-frame-on .dm-specs td[colspan],
  body.dm-frame-on .dm-specs th[colspan] {
    text-align: start !important;
    padding-inline: 0 !important;
  }

  body.dm-frame-on .dm-specs tr:has(td:only-child) td,
  body.dm-frame-on .dm-specs th[colspan] {
    padding-top: 16px !important;
    font-size: 18px !important;
    font-weight: 700;
    color: #1C2529;
  }
}

@media (max-width: 767px) {
body.dm-frame-on .dm-buybar-cap { display: none; }

  body.dm-frame-on .dm-buybar-price {
    font-size: 24px !important;
    font-weight: 700;
    white-space: nowrap;
  }

  .dm-buybar .dm-buybar-in {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
  }

  .dm-buybar .dm-buybar-qty {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    height: 46px;
    border: 1px solid #C9D9DC;
    border-radius: 10px;
    overflow: hidden;
    background: #FFFFFF;
  }

  body.dm-frame-on .dm-buybar-qty button {
    width: 34px;
    height: 44px;
    border: 0;
    background: none;
    font-size: 20px !important;
    color: #146678;
  }

  body.dm-frame-on .dm-buybar-qty span {
    min-width: 24px;
    text-align: center;
    font-size: 17px !important;
    font-weight: 600;
  }

  body.dm-frame-on .dm-buybar .dm-buybar-btn {
    flex: 0 1 auto;
    min-width: 120px;
    padding-inline: 14px;
    font-size: 16px !important;
  }
}

@media (max-width: 991px) {
body[class*="product-product"] #product .dm-sizetiles { order: -1; }
  body[class*="product-product"] #product .dm-coll      { order: 1; }
  body[class*="product-product"] #product .dm-buy       { order: 3; }
  body[class*="product-product"] #product .product-blocks.blocks-top { order: 9; }
}

@media (max-width: 767px) {
.dm-set { margin-top: 28px; }

  .dm-set-head {
    display: block;
    margin-bottom: 12px;
  }

  .dm-set-head h2 { font-size: 22px; }

  .dm-set-head span {
    display: block;
    margin-top: 4px;
    font-size: 14px !important;
  }

  .dm-set-grid {
    display: block;
    border: 1px solid #E3E8EC;
    border-radius: 14px;
    background: #FFFFFF;
    overflow: hidden;
  }

  .dm-set-grid .dm-set-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 14px;
    row-gap: 2px;
    padding: 12px 14px;
    border: 0;
    border-top: 1px solid #EDF1F3;
    border-radius: 0;
  }

  .dm-set-grid .dm-set-card:first-child { border-top: 0; }

  .dm-set-grid .dm-set-pic {
    grid-row: 1 / 3;
    height: 80px;
    border-radius: 10px;
  }

  body.dm-frame-on .dm-set-grid .dm-set-name {
    min-height: 0;
    align-self: end;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.25 !important;
  }

  body.dm-frame-on .dm-set-grid .dm-set-dims {
    grid-column: 2;
    align-self: start;
    font-size: 14px !important;
    color: #5C6A72;
  }

  body.dm-frame-on .dm-set-grid .dm-set-price {
    grid-column: 2;
    align-self: start;
    font-size: 18px !important;
    font-weight: 700;
    color: #146678;
  }

  .dm-set-grid .dm-set-qty {
    inset-inline-end: 4px;
    inset-block-end: 4px;
  }
}

@media (max-width: 767px) {
body[class*="product-product"] .button-group-page .stepper-group.cart-group {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  body[class*="product-product"] .button-group-page .stepper {
    display: flex !important;
    align-items: center;
    flex: 0 0 auto;
    height: 56px;
    margin: 0 !important;
    padding: 0 4px;
    border: 1px solid #C9D9DC;
    border-radius: 12px;
    background: #FFFFFF;
  }

  body[class*="product-product"] .button-group-page .stepper .control-label { display: none !important; }

  body[class*="product-product"] .button-group-page .stepper input.form-control {
    width: 48px;
    height: 52px;
    padding: 0;
    border: 0 !important;
    box-shadow: none !important;
    background: none;
    text-align: center;
    font-size: 19px !important;
    font-weight: 600;
  }

  body[class*="product-product"] .button-group-page .stepper .fa-angle-up,
  body[class*="product-product"] .button-group-page .stepper .fa-angle-down {
    width: 30px !important;
    height: 26px !important;
    line-height: 26px !important;
    font-size: 19px !important;
    color: #146678;
  }

  body[class*="product-product"] .button-group-page .btn-cart {
    flex: 1 1 auto;
    height: 56px !important;
  }

  /* цену показываем один раз — строкой «Итого» над кнопкой */
  body[class*="product-product"] .button-group-page .dm-cart-price { display: none !important; }

  /* [2026-09-29] Строки состава плотнее: имя, размеры и цена идут подряд. */
  .dm-set-grid .dm-set-card {
    grid-template-rows: auto auto auto;
    row-gap: 0;
  }

  .dm-set-grid .dm-set-pic { grid-row: 1 / 4; }

  body.dm-frame-on .dm-set-grid .dm-set-dims { margin-top: 2px; }
  body.dm-frame-on .dm-set-grid .dm-set-price { margin-top: 4px; }
}

@media (max-width: 767px) {
body[class*="product-product"] .button-group-page .stepper-group.cart-group {
    flex: 1 1 100%;
    width: 100% !important;
  }

  body[class*="product-product"] .button-group-page .stepper {
    height: 56px !important;
    align-items: stretch;
  }

  /* стрелки лежат в безымянном span: без ширины они вылезали за рамку */
  body[class*="product-product"] .button-group-page .stepper > span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
  }

  body[class*="product-product"] .button-group-page .stepper input.form-control {
    height: 54px;
    align-self: center;
  }

  /* [2026-09-29] Блоки темы пишут текст в <pre>: строка не переносилась и
     уезжала за край экрана. */
  body[class*="product-product"] .product-blocks pre {
    white-space: normal !important;
    word-break: break-word;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-family: inherit !important;
  }

  body[class*="product-product"] .product-blocks pre img {
    vertical-align: middle;
    margin-inline-end: 6px;
  }
}

@media (max-width: 767px) {
body[class*="product-product"] .button-group-page .stepper {
    width: 104px;
    padding-inline: 2px;
  }

  body[class*="product-product"] .button-group-page .stepper input.form-control {
    flex: 0 0 62px;
    width: 62px !important;
    min-width: 0;
  }
}

.dm-fold:not([open]) > *:not(summary) { display: none !important; }

@media (max-width: 991px) {
/* заголовок внутри панели дублировал подпись складки и нашу шапку */
  body[class*="product-product"] .dm-tab-panel > h3.title,
  body[class*="product-product"] .dm-tab-panel > .title-module { display: none !important; }

  /* таблица характеристик вылезала за правый край экрана */
  body[class*="product-product"] .dm-specs table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed;
  }

  body[class*="product-product"] .dm-specs td,
  body[class*="product-product"] .dm-specs th {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  body[class*="product-product"] .dm-specs td:first-child,
  body[class*="product-product"] .dm-specs th:first-child { width: 42%; }

  /* «С этим товаром покупают» — лента, листается пальцем вбок */
  

  

  

  

  

  /* снимки клиентов: три в ряд, как на большом экране */
}

@media (max-width: 991px) {
body[class*="product-product"] .module-gallery .module-body {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* поля по бокам как у остальной страницы: снимки упирались в край */
  

  body[class*="product-product"] .module-gallery .module-item {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body[class*="product-product"] .module-gallery .module-item img {
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
  }
}

@media (max-width: 767px) {
body[class*="product-product"] .dm-dims { gap: 10px; }

  body[class*="product-product"] .dm-dim {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px;
  }

  body[class*="product-product"] .dm-dim-ico {
    width: 28px;
    height: 28px;
  }

  body[class*="product-product"] .dm-dim-text { width: 100%; }

  

  

  /* значения в характеристиках не должны упираться в край */
  body[class*="product-product"] .dm-specs td,
  body[class*="product-product"] .dm-specs th { padding-inline: 12px; }
}

@media (max-width: 767px) {
body[class*="product-product"] #product .fc2 .btn-wrap a.btn {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas:
      "cap cap cap"
      "swatch name btn";
    align-items: center;
    column-gap: 10px;
    row-gap: 10px;
    width: 100%;
    padding: 12px !important;
    text-align: start;
  }

  body[class*="product-product"] #product .fc2 .dm-fab-swatch { grid-area: swatch; }

  /* ⚠️ подпись и название лежат внутри .dm-fab-text, а раскладка у
     ссылки: без display: contents подпись оставалась в узкой колонке и
     ломалась на четыре строки */
  body[class*="product-product"] #product .fc2 .dm-fab-text { display: contents; }

  body[class*="product-product"] #product .fc2 .dm-fab-cap { grid-area: cap; }

  body[class*="product-product"] #product .fc2 .dm-fab-name { grid-area: name; }

  body.dm-frame-on #product .fc2 .dm-fab-name {
    display: block;
    font-size: 16px !important;
    line-height: 1.25 !important;
    white-space: normal;
  }

  body.dm-frame-on #product .fc2 .dm-fab-cap {
    grid-area: cap;
    font-size: 15px !important;
    line-height: 1.25 !important;
  }

  body.dm-frame-on #product .fc2 .dm-fab-btn {
    grid-area: btn;
    justify-self: end;
    height: 40px;
    gap: 6px;
    padding: 0 10px;
    font-size: 14px !important;
  }

  /* название цвета рядом с образцом: даём ему всю оставшуюся ширину */
  body.dm-frame-on #product .fc2 .dm-fab-name {
    font-size: 15px !important;
    font-weight: 600;
  }

  body[class*="product-product"] #product .fc2 .dm-fab-btn svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 767px) {
body[class*="product-product"] #product .fc2 .btn-wrap a.dm-fab-empty {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "name"
      "btn";
    row-gap: 8px;
  }

  body[class*="product-product"] #product .fc2 a.dm-fab-empty .dm-fab-btn { justify-self: end; }

  body[class*="product-product"] #product .fc2 a.dm-fab-empty .dm-fab-swatch { display: none; }

  body[class*="product-product"] #product .fc2 a.dm-fab-empty .dm-fab-name { grid-area: name; }
}

@media (min-width: 992px) {
.dm-specs-src { display: none !important; }
}

@media (max-width: 991px) {
body[class*="product-product"] #product .dm-specs-src { order: 2; }
  body[class*="product-product"] #product .product-options { order: 3; }
  body[class*="product-product"] #product #fc2_container { order: 3; }
  body[class*="product-product"] #product .dm-buy { order: 4; }
}

@media (max-width: 767px) {
/* шрифт в таблице мельче: крупный занимал пол-экрана */
  body.dm-frame-on .dm-specs-src table,
  body.dm-frame-on .dm-specs-src td {
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  body.dm-frame-on .dm-specs-src .dm-specs-group td {
    font-size: 15px !important;
    font-weight: 700;
  }

  body.dm-frame-on .dm-specs-src .dm-block-head {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }

  body[class*="product-product"] .dm-specs-src td:first-child { width: 44%; }
}

@media (max-width: 767px) {
body[class*="product-product"] .dm-specs-src {
    padding: 14px 16px 6px;
    border: 1px solid #E3E8EC;
    border-radius: 14px;
    background: #FFFFFF;
  }

  body[class*="product-product"] .dm-specs-src table {
    border: 0 !important;
    background: transparent;
  }

  body[class*="product-product"] .dm-specs-src td {
    padding-inline: 0 !important;
    border-inline: 0 !important;
    background: transparent !important;
  }

  body[class*="product-product"] .dm-specs-src tr:not(.dm-specs-group) td {
    border-top: 1px solid #EDF1F3 !important;
  }

  body[class*="product-product"] .dm-specs-src .dm-specs-group td {
    border-top: 0 !important;
    padding-top: 14px !important;
    color: #1C2529;
  }

  body[class*="product-product"] .dm-specs-src tr:first-child .dm-specs-group td,
  body[class*="product-product"] .dm-specs-src tr:first-child td { padding-top: 0 !important; }

  /* описание — такая же белая карточка */
  body[class*="product-product"] .dm-tab-panel.dm-block-open {
    padding: 14px 16px;
    border: 1px solid #E3E8EC;
    border-radius: 14px;
    background: #FFFFFF;
  }
}

@media (min-width: 992px) {
body[class*="product-product"] #product > h1.page-title.dm-title-real {
    display: block;
  }
}

.dm-buybar .dm-buybar-qty {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: 46px;
  border: 1px solid #C9D9DC;
  border-radius: 10px;
  overflow: hidden;
  background: #FFFFFF;
}

body.dm-frame-on .dm-buybar .dm-buybar-qty button {
  width: 34px;
  height: 44px;
  border: 0;
  background: none;
  font-size: 20px !important;
  line-height: 1;
  color: #146678;
  cursor: pointer;
}

body.dm-frame-on .dm-buybar .dm-buybar-qty button:hover { background: #F2F8F9; }

body.dm-frame-on .dm-buybar .dm-buybar-qty span {
  min-width: 26px;
  text-align: center;
  font-size: 17px !important;
  font-weight: 600;
}

@media (max-width: 767px) {
body[class*="product-product"] .button-group-page .stepper {
    width: 86px !important;
    padding-inline: 3px;
  }

  body[class*="product-product"] .button-group-page .stepper > span {
    position: static !important;
    inset: auto !important;
    flex: 0 0 28px;
    width: 28px !important;
  }

  body[class*="product-product"] .button-group-page .stepper input.form-control {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    padding: 0 !important;
    text-align: center;
    /* цифры всегда слева направо, даже на иврите */
    direction: ltr;
  }

  body[class*="product-product"] .button-group-page .stepper .fa-angle-up,
  body[class*="product-product"] .button-group-page .stepper .fa-angle-down {
    width: 28px !important;
  }
}

body[class*="product-product"] #product .dm-buy .dmc-btn .dmc-ico-img {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px;
}

@media (max-width: 767px) {
body[class*="product-product"] .product-blocks .product_extra.product_blocks {
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  body[class*="product-product"] .dm-tab-panel.dm-block-open,
  body[class*="product-product"] .dm-specs-src,
  body[class*="product-product"] .dm-fold {
    margin-inline: 0 !important;
  }
}

[dir="rtl"] .dm-set-card .dm-set-price { text-align: start; }

@media (max-width: 767px) {
.dm-set { padding-inline: 16px; }   /* как у блока характеристик */
}
