

/* Start:/local/templates/berkut/components/bitrix/catalog.element/detail/style.css?178901441018744*/
/* BX catalog.element / detail — только этот блок */

.page-top:has(._h1) + main._content > section.sok_catalog-element.page_section:first-child {
  padding-top: 32px;
}

section.sok_catalog-element.page_section {
  margin-bottom: 0;
  padding-bottom: 0;
}

.sok_catalog-element__article {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 0 0 50px;
}

.sok_catalog-element__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 395px) 302px;
  grid-template-areas: "gallery preview buy";
  gap: 32px;
  align-items: start;
}

.sok_catalog-element__gallery {
  grid-area: gallery;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.sok_catalog-element__main-wrap {
  position: relative;
}

.sok_catalog-element__main {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-bg-white);
  aspect-ratio: 639 / 425;
}

/* Фиксируем высоту: иначе Swiper/картинки/360-слайд пересчитывают wrapper и галерея «плывёт». */
.sok_catalog-element__main .swiper-wrapper {
  height: 100% !important;
}

.sok_catalog-element__main .swiper-slide {
  box-sizing: border-box;
  width: 100%;
  height: 100% !important;
  overflow: hidden;
  flex-shrink: 0;
}

.sok_catalog-element__main-slide {
  box-sizing: border-box;
  height: 100%;
}

.sok_catalog-element__main-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.sok_catalog-element__main-slide img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sok_catalog-element__fullscreen {
  position: absolute;
  right: 15px;
  bottom: 15px;
  z-index: 2;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.sok_catalog-element__fullscreen[hidden] {
  display: none !important;
}

/* На 360°-слайде fullscreen (Fancybox) не используется — у Spindle свой fullscreen */
.sok_catalog-element__main-wrap:has(.swiper-slide-active[data-slide-type="spin"]) .sok_catalog-element__fullscreen {
  display: none !important;
}

.sok_catalog-element__fullscreen img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.sok_catalog-element__main-slide_spin {
  display: flex;
  touch-action: none;
  background: var(--color-bg-white);
}

.sok_catalog-element__spin {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.sok_catalog-element__spin .spindle-fs {
  display: none !important;
}

.sok_catalog-element__thumb_spin {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-bg-white);
}

.sok_catalog-element__spin-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.sok_catalog-element__spin-thumb-icon {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  animation: sok_catalog-element-spin-pulse 2s ease-in-out infinite;
}

.sok_catalog-element__thumb_spin.swiper-slide-thumb-active .sok_catalog-element__spin-thumb-icon {
  animation: none;
}

@keyframes sok_catalog-element-spin-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.12);
    opacity: 0.85;
  }
}

.sok_catalog-element__thumbs-wrap {
  position: relative;
}

.sok_catalog-element__thumbs {
  overflow: hidden;
}

.sok_catalog-element__thumbs .swiper-slide,
.sok_catalog-element__thumb {
  box-sizing: border-box;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  opacity: 0.55;
  cursor: pointer;
  transition: border-color var(--transition, 0.2s ease), opacity var(--transition, 0.2s ease);
}

.sok_catalog-element__thumbs .swiper-slide-thumb-active,
.sok_catalog-element__thumb.swiper-slide-thumb-active {
  border-color: var(--color-accent);
  opacity: 1;
}

.sok_catalog-element__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.sok_catalog-element__thumbs-wrap .sok_catalog-element__thumbs-prev,
.sok_catalog-element__thumbs-wrap .sok_catalog-element__thumbs-next {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 64px;
  height: 64px;
  margin-top: 0;
  transform: translateY(-50%);
}

.sok_catalog-element__thumbs-wrap .sok_catalog-element__thumbs-prev {
  left: 0;
}

.sok_catalog-element__thumbs-wrap .sok_catalog-element__thumbs-next {
  right: 0;
}

.sok_catalog-element__thumbs-wrap .sok_slider-arrow.swiper-button-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.sok_catalog-element__preview {
  grid-area: preview;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.sok_catalog-element__stock {
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 0;
  color: var(--color-success);
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0.02em;
}

.sok_catalog-element__stock-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: url("/local/templates/berkut/components/bitrix/catalog.element/detail/../../../../img/home/icons/in-stock.svg") center / 20px 20px no-repeat;
}

.sok_catalog-element__stock_to-order,
.sok_catalog-element__stock_out-of-stock {
  color: var(--color-text-placeholder);
}

.sok_catalog-element__stock_to-order .sok_catalog-element__stock-icon,
.sok_catalog-element__stock_out-of-stock .sok_catalog-element__stock-icon {
  background: url("/local/templates/berkut/components/bitrix/catalog.element/detail/../../../../img/home/icons/out-of-stock.svg") center / 20px 20px no-repeat;
}

.sok_catalog-element__preview-list {
  width: 100%;
}

/* WYSIWYG `._content ul` иначе: padding-left 30px, list-style:disc, gap 10px */
._content ul.sok_catalog-element__preview-list,
._content ul.sok_specs-list.sok_catalog-element__preview-list,
._content .sok_catalog-element__preview-list.sok_specs-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 0;
  padding-left: 0;
  list-style: none;
}

._content ul.sok_catalog-element__preview-list > li,
._content ul.sok_specs-list.sok_catalog-element__preview-list > li,
._content .sok_catalog-element__preview-list.sok_specs-list > .sok_specs-list__item {
  list-style: none;
  margin: 0;
  padding: 0 0 7px;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

._content ul.sok_catalog-element__preview-list > li::marker,
._content ul.sok_catalog-element__preview-list > li::before,
._content ul.sok_specs-list.sok_catalog-element__preview-list > li::marker,
._content ul.sok_specs-list.sok_catalog-element__preview-list > li::before,
._content .sok_catalog-element__preview-list.sok_specs-list > .sok_specs-list__item::marker,
._content .sok_catalog-element__preview-list.sok_specs-list > .sok_specs-list__item::before {
  content: none !important;
  display: none !important;
}

.sok_catalog-element__specs-link {
  margin-top: 10px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.sok_catalog-element__buy {
  grid-area: buy;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 302px;
  padding: 12px 10px;
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
}

.sok_catalog-element__actions {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
}

.sok_catalog-element__fav,
.sok_catalog-element__compare {
  display: inline-flex;
  gap: 5px;
  align-items: flex-end;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-text-secondary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--transition);
}

.sok_catalog-element__fav:hover,
.sok_catalog-element__fav:focus-visible,
.sok_catalog-element__compare:hover,
.sok_catalog-element__compare:focus-visible,
.sok_catalog-element__fav._active,
.sok_catalog-element__compare._active {
  color: var(--color-accent);
}

.sok_catalog-element__action-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
}

.sok_catalog-element__action-icon_fav {
  -webkit-mask-image: url("/local/templates/berkut/components/bitrix/catalog.element/detail/../../../../img/icons/buttons/icon-heart.svg");
  mask-image: url("/local/templates/berkut/components/bitrix/catalog.element/detail/../../../../img/icons/buttons/icon-heart.svg");
}

.sok_catalog-element__action-icon_compare {
  -webkit-mask-image: url("/local/templates/berkut/components/bitrix/catalog.element/detail/../../../../img/icons/buttons/icon-compare.svg");
  mask-image: url("/local/templates/berkut/components/bitrix/catalog.element/detail/../../../../img/icons/buttons/icon-compare.svg");
}

.sok_catalog-element__offer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  width: 100%;
  padding: 20px;
  border-radius: 15px;
  background: var(--color-white);
  box-shadow:
    0 0 1px rgba(30, 41, 59, 0.04),
    0 0 4px rgba(30, 41, 59, 0.12);
}

.sok_catalog-element__price {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin: 0;
}

.sok_catalog-element__request.sok_btn-request {
  align-self: flex-start;
  height: auto;
  margin: 0 0 15px;
  padding: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

/* В этой задаче каунтер показывается/скрывается по клику.
   Иногда фоновые стили переопределяют native [hidden], поэтому фиксируем явно. */
.sok_catalog-element__qty[hidden],
.sok_catalog-element__cart[hidden] {
  display: none !important;
}

.sok_catalog-element__price-currency {
  font-weight: 400;
}

.sok_catalog-element__qty .sok_qty__value {
  -moz-appearance: textfield;
  appearance: none;
  margin: 0;
  outline: none;
}

.sok_catalog-element__qty .sok_qty__value::-webkit-outer-spin-button,
.sok_catalog-element__qty .sok_qty__value::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.sok_catalog-element__buy-row {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.sok_catalog-element__order {
  flex: 1 1 auto;
  min-width: 0;
}

/* «Под заказ» — Figma 1929:70767; вместо «В корзину» на детальной */
.sok_catalog-element__preorder {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  padding: 0 2px;
  border: 1px solid var(--color-text-placeholder);
  border-radius: 10px;
  background: var(--color-white);
  color: var(--color-text-primary);
  font-family: var(--font-family-base);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background-color var(--transition);
}

.sok_catalog-element__preorder:hover,
.sok_catalog-element__preorder:focus-visible {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.sok_catalog-element__cart {
  flex-shrink: 0;
}

.sok_catalog-element__cart-icon {
  display: block;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("/local/templates/berkut/components/bitrix/catalog.element/detail/../../../../img/icons/buttons/icon-cart.svg") center / contain no-repeat;
  mask: url("/local/templates/berkut/components/bitrix/catalog.element/detail/../../../../img/icons/buttons/icon-cart.svg") center / contain no-repeat;
}

.sok_catalog-element__cheaper {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  box-sizing: border-box;
  width: 100%;
  margin-top: 10px;
  padding: 20px;
  border: none;
  border-radius: 15px;
  background: var(--color-bg-white);
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.sok_catalog-element__cheaper:hover .sok_catalog-element__cheaper-title,
.sok_catalog-element__cheaper:focus-visible .sok_catalog-element__cheaper-title {
  color: var(--color-accent-dark);
}

.sok_catalog-element__cheaper-icon {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.sok_catalog-element__cheaper-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sok_catalog-element__cheaper-title {
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.sok_catalog-element__tabs-block {
  margin-top: 50px;
  /* Запас под fixed-шапку при якоре «Все характеристики» (≥1200). */
  scroll-margin-top: 110px;
}

/* Обёртка обеспечивает горизонтальный скролл на мобиле.
   Сам .sok_tabs не скроллится — иначе overflow обрезает border-bottom активного таба. */
.sok_catalog-element__tabs-scroll {
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  /* оставляем место для border-bottom (-1px margin) — не обрезать снизу */
  padding-bottom: 0;
}

.sok_catalog-element__tabs-scroll::-webkit-scrollbar {
  display: none;
}

.sok_tabs.sok_catalog-element__tabs {
  flex-wrap: nowrap;
  gap: 30px;
  width: max-content;
  min-width: 100%;
  overflow: visible;
  align-items: flex-end;
}

.sok_catalog-element__tabs .sok_tabs__item {
  flex-shrink: 0;
  white-space: nowrap;
}

.sok_catalog-element__panels {
  margin-top: 30px;
}

.sok_catalog-element .sok_accordion-body {
  background: var(--color-bg-white);
}

.sok_catalog-element__specs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 25px 35px;
  border-radius: 15px;
  background: var(--color-bg-white);
}

.sok_catalog-element__spec {
  display: flex;
  gap: 20px;
  align-items: center;
}

.sok_catalog-element__spec-name,
.sok_catalog-element__spec-value {
  flex-shrink: 0;
  color: var(--color-text-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  white-space: nowrap;
}

.sok_catalog-element__spec-leader {
  flex: 1 1 auto;
  min-width: 12px;
  height: 0;
  border-top: 1px solid var(--color-border-light);
  align-self: center;
}

.sok_catalog-element__files {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sok_catalog-element__file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-sizing: border-box;
  min-height: 80px;
  padding: 25px 35px;
  border-radius: 15px;
  background: var(--color-bg-white);
}

.sok_catalog-element__file-title {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.sok_catalog-element__file-icon {
  display: block;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.sok_catalog-element__file-name {
  color: var(--color-text-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

.sok_catalog-element__file-meta {
  display: flex;
  flex-shrink: 0;
  gap: 40px;
  align-items: center;
  color: var(--color-text-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  white-space: nowrap;
}

.sok_catalog-element__file-info {
  display: flex;
  gap: 40px;
  align-items: center;
}

.sok_catalog-element__file-download {
  color: var(--color-accent);
  text-decoration: none;
}

.sok_catalog-element__file-download:hover,
.sok_catalog-element__file-download:focus-visible {
  color: var(--color-accent-dark);
}

@media (max-width: 1440px) {
  .sok_catalog-element__main {
    aspect-ratio: 594 / 395;
  }
}

@media (max-width: 1199px) {
  .sok_catalog-element__tabs-block {
    scroll-margin-top: 0;
  }

  .sok_catalog-element__article {
    margin-bottom: 50px;
  }

  .sok_catalog-element__hero {
    grid-template-columns: minmax(0, 1fr) 302px;
    grid-template-areas:
      "gallery gallery"
      "preview buy";
  }

  .sok_catalog-element__main {
    aspect-ratio: 728 / 395;
  }
}

@media (max-width: 767px) {
  .page-top:has(._h1) + main._content > section.sok_catalog-element.page_section:first-child {
    padding-top: 30px;
  }

  .sok_catalog-element__article {
    margin-bottom: 40px;
    font-size: 14px;
  }

  .sok_catalog-element__hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "gallery"
      "buy"
      "preview";
    gap: 40px;
  }

  .sok_catalog-element__main {
    aspect-ratio: 340 / 256;
  }

  .sok_catalog-element__fullscreen {
    display: none;
  }

  .sok_catalog-element__thumbs .swiper-slide,
  .sok_catalog-element__thumb {
    width: 100px;
    height: 74px;
  }

  .sok_catalog-element__thumbs-wrap .sok_catalog-element__thumbs-prev,
  .sok_catalog-element__thumbs-wrap .sok_catalog-element__thumbs-next {
    width: 32px;
    height: 34px;
  }

  .sok_catalog-element__thumbs-wrap .sok_catalog-element__thumbs-prev .sok_slider-arrow__icon,
  .sok_catalog-element__thumbs-wrap .sok_catalog-element__thumbs-next .sok_slider-arrow__icon {
    width: 20px;
    height: 21px;
  }

  .sok_catalog-element__buy {
    width: 100%;
  }

  .sok_catalog-element__preorder {
    height: 36px;
    font-size: 12px;
  }

  .sok_catalog-element__qty {
    height: 37px;
  }

  .sok_catalog-element__qty .sok_qty__btn {
    width: 37px;
    height: 37px;
  }

  .sok_catalog-element__qty .sok_qty__value {
    width: 55px;
    height: 37px;
    font-size: 14px;
  }

  .sok_catalog-element__tabs-block {
    margin-top: 40px;
  }

  .sok_catalog-element__panels {
    margin-top: 30px;
  }

  .sok_catalog-element__specs {
    gap: 15px;
    padding: 20px;
  }

  .sok_catalog-element__spec {
    gap: 10px;
  }

  .sok_catalog-element__spec-name {
    flex: 0 1 auto;
    max-width: 50%;
    white-space: normal;
  }

  .sok_catalog-element__spec-name,
  .sok_catalog-element__spec-value {
    font-size: 14px;
    line-height: 1;
  }

  .sok_catalog-element__file {
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 15px;
    min-height: 110px;
    padding: 20px;
  }

  .sok_catalog-element__file-title {
    gap: 10px;
  }

  .sok_catalog-element__file-icon {
    width: 26px;
    height: 26px;
  }

  .sok_catalog-element__file-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
  }

  .sok_catalog-element__file-meta {
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    font-size: 14px;
    line-height: 1;
  }

  .sok_catalog-element__file-info {
    gap: 10px;
  }

  .sok_catalog-element__specs-link {
    margin-top: 20px;
  }

  ._content ul.sok_catalog-element__preview-list > li,
  ._content ul.sok_specs-list.sok_catalog-element__preview-list > li,
  ._content .sok_catalog-element__preview-list.sok_specs-list > .sok_specs-list__item {
    font-size: 14px;
    line-height: 1.8;
  }
}

/* End */


/* Start:/bitrix/components/bitrix/system.show_message/templates/.default/style.min.css?178841223751*/
font.errortext{color:red}font.notetext{color:green}
/* End */
/* /local/templates/berkut/components/bitrix/catalog.element/detail/style.css?178901441018744 */
/* /bitrix/components/bitrix/system.show_message/templates/.default/style.min.css?178841223751 */
