.cp-product-video-tab,
.cp-product-video-tab * {
  box-sizing: border-box;
}

.cp-product-video-tab {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(210px, .85fr);
  align-items: center;
  gap: 44px;
  width: 100%;
  padding: 10px 0 5px;
}

.cp-product-video-tab__preview {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #ececec;
  aspect-ratio: 16 / 9;
}

.cp-product-video-tab__preview > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.cp-product-video-tab__preview:hover > img,
.cp-product-video-tab__preview:focus > img {
  transform: scale(1.02);
}

.cp-product-video-tab__preview:focus {
  outline: 3px solid rgba(29, 184, 84, .35);
  outline-offset: 3px;
}

.cp-product-video-tab__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #1db854;
  color: #fff;
  box-shadow: 0 8px 24px rgba(29, 184, 84, .3);
  transform: translate(-50%, -50%);
  transition: background-color .2s ease, transform .2s ease;
}

.cp-product-video-tab__preview:hover .cp-product-video-tab__play,
.cp-product-video-tab__preview:focus .cp-product-video-tab__play {
  background: #18a84b;
  transform: translate(-50%, -50%) scale(1.05);
}

.cp-product-video-tab__text {
  align-self: center;
  color: #151515;
}

.cp-product-video-tab__text h3 {
  margin: 0;
  color: #151515;
  font-family: Circe, Arial, sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.02;
}

.cp-product-video-tab__line {
  display: block;
  width: 51px;
  height: 3px;
  margin: 15px 0 19px;
  background: #1db854;
}

.cp-product-video-tab__text p {
  margin: 0;
  color: #151515;
  font-family: ProximaSoft, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.35;
}

@media (max-width: 991px) {
  .cp-product-video-tab {
    grid-template-columns: minmax(0, 1.3fr) minmax(180px, .7fr);
    gap: 28px;
  }

  .cp-product-video-tab__text h3 {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .product_tabs.nav-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .product_tabs.nav-tabs > li {
    flex: 0 0 auto;
  }

  .cp-product-video-tab {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 0;
  }

  .cp-product-video-tab__text {
    order: -1;
  }

  .cp-product-video-tab__text h3 br {
    display: none;
  }
}

@media (max-width: 420px) {
  .cp-product-video-tab__play {
    width: 52px;
    height: 52px;
  }

  .cp-product-video-tab__text h3 {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cp-product-video-tab__preview > img,
  .cp-product-video-tab__play {
    transition: none;
  }
}
