.catalog-detail__top-info {
  padding: 0 0 43px 0;
}
.catalog-detail__main {
  flex-basis: calc(50% - 28px);
}
.catalog-detail__info-bc {
  margin: 26px 0 0 0;
  border-top: 1px solid #e5e5e5;
  border-color: var(--stroke_black);
  padding: 16px 0 0 0;
}
body .catalog-detail__main-parts {
  align-items: flex-start;
}
.catalog-detail__main-part--right {
  display: none;
}
@media (min-width: 1200px) {
  .catalog-detail__gallery--horizontal .sticker {
    padding-right: 63px;
  }
}
@media (max-width: 1199px) {
  body .catalog-detail {
    display: block;
  }
  .catalog-detail__right-info {
    display: none;
  }
  .catalog-detail .catalog-detail__top-info {
    flex-direction: column;
  }
  .catalog-detail .catalog-detail__main {
    flex-basis: auto;
    padding: 35px 0 0 0;
  }
  .catalog-detail__main-part--right {
    display: block;
  }
}
@media (max-width: 767px) {
  body .catalog-detail__info-bc {
    margin: 26px 0 26px 0;
    padding: 16px 0 16px 0;
    border-bottom: 1px solid #e5e5e5;
    border-bottom-color: var(--stroke_black);
  }
  body .catalog-detail__main-part {
    width: 100%;
  }
  .bx-ie body .catalog-detail__main-part {
    flex-basis: auto;
  }
  body .catalog-detail__main-parts {
    flex-direction: column;
  }
  .catalog-detail__main-part--right {
    max-width: initial;
  }
}

/* sticky panel */
.catalog-detail__sticky-panel {
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
  background-color: var(--card_bg_hover_black);
}
.catalog-detail__sticky-panel .catalog-detail__title {
  opacity: 0;
  position: absolute;
  top: -100000px;
  width: calc(100% - 64px);
}
.catalog-detail__sticky-panel .catalog-detail__title > span {
  padding: 0 0 12px 0;
  display: block;
}
.catalog-detail__sticky-panel .catalog-detail__title.active {
  transition: opacity ease 1.5s, height ease 1s;
  position: relative;
  top: initial;
}
.catalog-detail__sticky-panel .catalog-detail__title.show.active {
  opacity: 1;
}

/* buy block */
.catalog-detail__buy-block {
  position: relative;
  max-width: 376px;
}
.catalog-detail__buy-block .catalog-detail__title {
  display: none;
}
.catalog-detail__sticky-panel .catalog-detail__buy-block {
  padding: 26px 32px 32px 32px;
}
.catalog-detail__sticky-panel .catalog-detail__title {
  display: block;
}

/* price */
.catalog-detail__info-tech {
  margin: 8px 0 0 0;
}

/* cart buttons block */
.catalog-detail__cart .buttons + .info-buttons > .info-buttons__item {
  margin-right: 6px !important;
  margin-left: 6px !important;
}

/* garanty */
.catalog-detail__garanty {
  position: relative;
  margin: 18px 0 0 0;
}

/* sales */
.catalog-detail__sale {
  border-top: 1px solid #e5e5e5;
  border-top-color: var(--stroke_black);
  padding: 27px 8px 0 0;
  margin: 16px 0 0 0;
}
.catalog-detail__sticky-panel .catalog-detail__sale {
  opacity: 0;
  padding: 0;
  margin: 0;
  padding: 0 32px 0 32px;
  position: absolute;
  top: -10000000px;
  overflow: hidden;
}
.catalog-detail__sticky-panel .catalog-detail__sale.show {
  transition: opacity 1.5s ease, height 1s ease;
  opacity: 1;
  position: relative;
  top: initial;
}
.catalog-detail__sticky-panel .catalog-detail__sale .sale-linked {
  margin-top: 27px;
  margin-bottom: 32px;
}

/* main slider */
.catalog-detail__gallery.image-list__link {
  position: relative;
}
.catalog-detail__gallery {
  padding: 0 63px;
  margin: 0 auto;
}
.catalog-detail__gallery {
  --paddingRightLeft: 63px + 63px;
}
.catalog-detail__gallery__item > a,
.catalog-detail__gallery__item--no-image > span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
}
.detail .catalog-detail__gallery-slider .catalog-detail__gallery__item img {
  width: auto;
  display: inline-block;
  vertical-align: middle;
}
.bx-ie .detail .catalog-detail__gallery-slider .catalog-detail__gallery__item img {
  width: inherit;
}
@media (max-width: 1199px) {
  .catalog-detail .catalog-detail__gallery {
    flex: 0 0 100%;
    width: 100%;
  }
  .bx-ie .catalog-detail .catalog-detail__gallery {
    flex-basis: auto;
  }
  .catalog-detail__gallery {
    padding: 0;
    max-width: var(--sizeImage);
  }
}

/* big slider */
.catalog-detail__gallery-slider.big {
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.catalog-detail__gallery:not(.catalog-detail__gallery--vertical) .catalog-detail__gallery-slider.big {
  bottom: var(--bottomGallery);
}

.catalog-detail__gallery__item--big img {
  cursor: zoom-in;
}
.catalog-detail__gallery__item--big.catalog-detail__gallery__item--no-image img {
  cursor: auto;
}
.owl-carousel.catalog-detail__gallery-slider.big .owl-dots {
  position: relative;
  bottom: -8px;
  text-align: center;
}
.catalog-detail__gallery-slider.big .owl-nav .owl-prev {
  left: -35px;
}
.catalog-detail__gallery-slider.big .owl-nav .owl-next {
  right: -35px;
}
@media (max-width: 767px) {
  .catalog-detail__gallery-slider.big {
    bottom: 0;
  }
  .catalog-detail__gallery-wrapper {
    margin-bottom: 28px;
  }
}
@media (min-width: 768px) {
  .catalog-detail__gallery-slider.big .owl-dots {
    display: none;
  }
}

/* thmb slider */
.catalog-detail__gallery__thmb {
  position: relative;
  z-index: 1;
  /* background: #fff; */
}
.catalog-detail__gallery-slider.thmb {
  max-width: 270px;
  max-height: 58px;
  padding: 0 24px;
}
.catalog-detail__gallery-slider.thmb[data-size="0"],
.catalog-detail__gallery-slider.thmb[data-size="1"] {
  display: none;
}
.catalog-detail__gallery__thmb-wrapper {
  justify-content: center;
  padding: 16px 0 0 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.catalog-detail__gallery-slider.thmb .owl-stage {
  display: flex;
  flex-direction: row;
}
.catalog-detail__gallery-slider.thmb .owl-item {
  width: 58px !important;
  height: 58px !important;
}
.catalog-detail__gallery__item--thmb {
  height: 58px;
  width: 58px;
  cursor: pointer;
  border: 1px solid #e5e5e5;
  border-color: var(--stroke_black);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.owl-item.current .catalog-detail__gallery__item--thmb {
  border: 2px solid #9e9e9e;
  border: 2px solid var(--theme-base-color);
}
.detail .catalog-detail__gallery-slider .catalog-detail__gallery__item--thmb img {
  max-width: 50px;
  max-height: 50px;
}
.catalog-detail__gallery-slider.thmb .owl-stage-outer {
  z-index: 1;
}
.catalog-detail__gallery-slider.thmb .owl-nav {
  position: absolute;
  margin: 0;
  display: flex;
  justify-content: space-between;
  top: calc(50% - 20px);
  left: -16px;
  right: -16px;
}
.catalog-detail__gallery-slider.thmb .owl-carousel__button:hover {
  background-color: #fff;
}
.catalog-detail__gallery-slider.thmb .owl-carousel__button:hover svg * {
  stroke: #9e9e9e;
  stroke: var(--theme-base-color);
}
@media (max-width: 767px) {
  .catalog-detail__gallery__thmb {
    display: none;
  }
}

/* vertical slider */
.catalog-detail__gallery--vertical .catalog-detail__gallery-slider.thmb {
  height: 100%;
  max-height: 100%;
}
.catalog-detail__gallery--vertical .catalog-detail__gallery__thmb {
  transform: rotate(90deg);
  transform-origin: top left;
  position: absolute;
  top: 0;
  left: -32px;
  right: 0;
  width: 100%;
}
.catalog-detail__gallery--vertical .catalog-detail__gallery__thmb-wrapper {
  justify-content: flex-start;
  padding-top: 0;
}
.catalog-detail__gallery--vertical .catalog-detail__gallery-slider.thmb .owl-stage {
  min-width: 58px;
}
.catalog-detail__gallery--vertical .catalog-detail__gallery-slider.thmb .owl-item {
  min-width: 58px;
  min-height: 58px;
}
.catalog-detail__gallery--vertical .catalog-detail__gallery-slider.thmb .catalog-detail__gallery__picture {
  transform: rotate(-90deg);
}
.catalog-detail__gallery.catalog-detail__gallery--vertical {
  --paddingRightLeft: 63px + 90px;
}
.catalog-detail__gallery--vertical .catalog-detail__gallery-slider.big {
  z-index: 2;
}
.catalog-detail__gallery--vertical .catalog-detail__gallery__item--thmb {
  margin-left: 1px;
}
@media (max-width: 1199px) {
  .catalog-detail__gallery--vertical .catalog-detail__gallery__thmb {
    left: calc(50% + 58px - 50vw + 32px + 8px);
  }
}
@media (max-width: 991px) {
  .catalog-detail__gallery--vertical .catalog-detail__gallery__thmb {
    left: calc(50% + 58px - 50vw + 24px + 8px);
  }
}

/* popup video */
.catalog-detail__gallery__thmb .popup_video {
  width: 32px;
  height: 32px;
  position: relative;
  font-size: 0;
  margin-left: 30px;
  display: none;
  z-index: 1;
}
.catalog-detail__gallery-slider.owl-loaded + .popup_video {
  display: block;
}
.catalog-detail__gallery--vertical .video-block__play {
  transform: rotate(-90deg);
}

/* more link */
.catalog-detail .more-char-link {
  display: inline-block;
  vertical-align: top;
  cursor: pointer;
  color: #9e9e9e;
  color: var(--fill_dark_light_white_hover);
  line-height: calc(1em + 10px);
}
.catalog-detail .more-char-link:hover,
.catalog-detail .more-char-link:focus {
  color: #222;
  color: var(--fill_dark_light_ccc);
}

/* preview text */
.catalog-detail__previewtext .text-block {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.catalog-detail__previewtext .text-block,
.catalog-detail__previewtext .more-char-link {
  line-height: calc(1em + 10px);
}
.catalog-detail__previewtext .text-block > p {
  display: inline;
}

/* chars */
.catalog-detail .char-side {
  margin: 20px 0 0 0;
}
.detail .catalog-detail .properties {
  margin-top: 13px;
}
.catalog-detail .properties__item {
  margin-top: 6px;
}
.catalog-detail .char-side .more-char-link {
  margin: 13px 0 2px 0;
}

/* brand info */
.catalog-detail .brand-detail {
  margin: 0 0 22px 0;
}
.catalog-detail .brand-detail-info__image {
  width: 70px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.catalog-detail .brand-detail-info__image a {
  max-width: 100%;
  max-height: 100%;
}
.catalog-detail .price_txt {
  margin: 5px 0 0 0;
}

/* bottom */
.catalog-detail__bottom-info .ordered-block.tabs-block {
  margin: 3.25rem 0px -0.55rem;
}
@media (max-width: 1199px) {
  .ordered-block:first-of-type {
    margin-top: 0 !important;
  }
}
