.video-commerce-surface--mobile {
  display: none !important;
}

.video-commerce-carousel__stage {
  position: relative;
}

.video-commerce-carousel__swiper {
  transition: opacity ease .5s;
  width: 100%;
}

.video-commerce-carousel__swiper:not(.swiper-initialized) {
  opacity: 0;
}

.video-commerce-carousel--center-highlight .video-commerce-carousel__swiper .swiper-slide {
  transform: translateZ(0) scale(.9);
  transition: transform .25s ease;
  z-index: 1;
}

.video-commerce-carousel--center-highlight .video-commerce-carousel__swiper .swiper-slide-active {
  transform: translateZ(0) scale(1);
  z-index: 2;
}

.video-commerce-carousel__swiper:not(.swiper-initialized) .swiper-slide {
  margin-right: var(--video-commerce-space-between);
  width: calc(100% / var(--video-commerce-slides-mobile) - var(--video-commerce-space-between));
}

@media (min-width: 992px) {
  .video-commerce-surface--desktop,
  .video-commerce-surface--both {
    display: block !important;
  }

  .video-commerce-carousel__swiper:not(.swiper-initialized) .swiper-slide {
    width: calc(100% / var(--video-commerce-slides-desktop) - var(--video-commerce-space-between));
  }
}

.video-commerce-carousel__item {
  height: 100%;
  position: relative;
}

.video-commerce-carousel__media,
.video-commerce-floating__trigger {
  aspect-ratio: 9 / 16;
  background: #111;
  border: 0;
  border-radius: 8px;
  color: inherit;
  display: block;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  width: 100%;
}

.video-commerce-carousel__media:hover,
.video-commerce-carousel__media:focus,
.video-commerce-floating__trigger:hover,
.video-commerce-floating__trigger:focus {
  color: inherit;
  text-decoration: none;
}

.video-commerce-carousel--square .video-commerce-carousel__media,
.video-commerce-floating--square .video-commerce-floating__trigger {
  aspect-ratio: 1 / 1;
}

.video-commerce-carousel--landscape .video-commerce-carousel__media {
  aspect-ratio: 16 / 9;
}

.video-commerce-carousel--circle .video-commerce-carousel__media,
.video-commerce-floating--circle .video-commerce-floating__trigger {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.video-commerce-carousel__media video,
.video-commerce-floating__trigger video {
  display: block;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  width: 100%;
}

.video-commerce-carousel__nav {
  align-items: center;
  display: flex;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.video-commerce-carousel__nav--prev {
  left: 8px;
}

.video-commerce-carousel__nav--next {
  right: 8px;
}

.video-commerce-carousel__pagination {
  bottom: -20px !important;
  display: flex;
  justify-content: center;
  position: absolute;
}

.video-commerce .swiper-pagination-bullet-active {
  background: var(--primary);
}

.video-commerce__product {
  align-items: center;
  background: #00000078;
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 10px;
  grid-template-columns: 56px minmax(0, 1fr);
  min-height: 72px;
  padding: 8px;
  text-decoration: none;
}

.video-commerce__product-image {
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
  border-radius: 6px;
  display: block;
  overflow: hidden;
}

.video-commerce__product-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.video-commerce__product-info {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.video-commerce__product-name {
  display: -webkit-box;
  font-size: 13px;
  line-height: 140%;
  min-height: 38px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.video-commerce__product-price {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-weight: 700;
  gap: 6px;
}

.video-commerce__product-price-old {
  font-size: 11px;
  font-weight: 400;
  opacity: .7;
  text-decoration: line-through;
}

.video-commerce__product-link {
  background: #eee;
  border-radius: 4px;
  color: #111;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  text-align: center;
  width: 100%;
}

.video-commerce__product-link:hover {
  opacity: .8;
}

.video-commerce-carousel__product {
  background: #ffffff91;
  bottom: 8px;
  color: #000;
  left: 8px;
  position: absolute;
  right: 8px;
  z-index: 2;
}

.video-commerce-floating {
  isolation: isolate;
  position: fixed;
  user-select: none;
  z-index: 1040;
}

.video-commerce-floating[hidden] {
  display: none !important;
}

.video-commerce-floating.is-draggable {
  touch-action: none;
}

.video-commerce-floating--bottom_right {
  bottom: var(--video-commerce-floating-offset-y, 20px);
  right: var(--video-commerce-floating-offset-x, 20px);
}

.video-commerce-floating--bottom_left {
  bottom: var(--video-commerce-floating-offset-y, 20px);
  left: var(--video-commerce-floating-offset-x, 20px);
}

.video-commerce-floating--top_right {
  right: var(--video-commerce-floating-offset-x, 20px);
  top: var(--video-commerce-floating-offset-y, 20px);
}

.video-commerce-floating--top_left {
  left: var(--video-commerce-floating-offset-x, 20px);
  top: var(--video-commerce-floating-offset-y, 20px);
}

.video-commerce-floating__trigger {
  box-shadow: 0 10px 30px rgba(0, 0, 0, .24);
  cursor: pointer;
  z-index: 2;
  transition: box-shadow .18s ease, transform .18s ease;
  -webkit-user-drag: none;
  width: var(--video-commerce-floating-size-mobile);
}

.video-commerce-floating__hint {
  background: rgba(17, 17, 17, .9);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  height: 36px;
  min-width: 0;
  opacity: 1;
  overflow: hidden;
  padding: 0;
  text-decoration: none;
  transition: 1000ms;
  top: 50%;
  transform: translateY(-50%);
  will-change: width;
  position: absolute;
  white-space: nowrap;
  width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-commerce-floating__hint-visible {
  opacity: 1;
  width: calc(var(--video-commerce-floating-hint-width) + 16px);
}

.video-commerce-floating__hint-text {
  min-width: max-content;
  padding: 0 14px;
}

.video-commerce-floating--bottom_right .video-commerce-floating__hint,
.video-commerce-floating--top_right .video-commerce-floating__hint {
  right: calc(100% - 3px);
  border-radius: 100px 0 0 100px;
}

.video-commerce-floating--bottom_left .video-commerce-floating__hint,
.video-commerce-floating--top_left .video-commerce-floating__hint {
  left: calc(100% - 3px);
  border-radius: 0 100px 100px 0;
}

.video-commerce-floating.is-dragging .video-commerce-floating__trigger {
  box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
  transform: scale(.985);
}

.video-commerce-floating__close {
  align-items: center;
  background: rgba(17, 17, 17, .82);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .24);
  cursor: pointer;
  display: flex;
  height: 28px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: -8px;
  touch-action: manipulation;
  top: -8px;
  width: 28px;
  z-index: 4;
}

.video-commerce-floating__close::before,
.video-commerce-floating__close::after {
  background: #fff;
  border-radius: 999px;
  content: "";
  height: 2px;
  position: absolute;
  width: 12px;
}

.video-commerce-floating__close::before {
  transform: rotate(45deg);
}

.video-commerce-floating__close::after {
  transform: rotate(-45deg);
}

.video-commerce-floating__close:hover,
.video-commerce-floating__close:focus {
  background: rgba(0, 0, 0, .94);
  outline: none;
}

.video-commerce-floating__trigger::after {
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: inherit;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

@media (min-width: 992px) {
  .video-commerce-floating__trigger {
    width: var(--video-commerce-floating-size-desktop);
  }
}

.video-commerce-fancybox .fancybox__content {
  background: transparent;
  padding: 0;
}

.video-commerce-lightbox {
  width: min(420px, calc(100vw - 32px));
}

.video-commerce-lightbox--square {
  width: min(720px, calc(100vw - 32px));
}

.video-commerce-lightbox--landscape {
  width: min(1040px, calc(100vw - 32px));
}

.video-commerce-lightbox__video-frame {
  align-items: center;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  max-height: calc(100vh - 96px);
  overflow: hidden;
  position: relative;
}

.video-commerce-lightbox--square .video-commerce-lightbox__video-frame {
  aspect-ratio: 1 / 1;
}

.video-commerce-lightbox--landscape .video-commerce-lightbox__video-frame {
  aspect-ratio: 16 / 9;
}

.video-commerce-lightbox__video {
  background: #1a1a1a;
  cursor: pointer;
  display: block;
  height: 100%;
  max-height: calc(100vh - 96px);
  object-fit: cover;
  width: 100%;
}

.video-commerce-lightbox__progress {
  display: flex;
  gap: 4px;
  left: 12px;
  position: absolute;
  right: 12px;
  top: 10px;
  z-index: 5;
}

.video-commerce-lightbox__progress-item {
  border-radius: 999px;
  flex: 1 1 0;
  height: 9px;
  overflow: hidden;
  position: relative;
}

.video-commerce-lightbox__progress-item::before {
  background: rgba(255, 255, 255, .35);
  border-radius: inherit;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 3px;
}

.video-commerce-lightbox__progress-fill {
  background: #fff;
  border-radius: inherit;
  display: block;
  height: 3px;
  left: 0;
  position: absolute;
  top: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 120ms linear;
  width: 100%;
}

.video-commerce-lightbox__hit-area {
  background: transparent;
  border: 0;
  bottom: 0;
  cursor: pointer;
  padding: 0;
  position: absolute;
  top: 0;
  width: 35%;
  z-index: 2;
}

.video-commerce-lightbox__hit-area--prev {
  left: 0;
}

.video-commerce-lightbox__hit-area--next {
  right: 0;
}

.video-commerce-lightbox__hit-area:disabled {
  cursor: default;
  pointer-events: none;
}

.video-commerce-lightbox__sound {
  align-items: center;
  background: none;
  border: 0;
  color: #fff;
  display: flex;
  height: 34px;
  justify-content: center;
  left: 4px;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  z-index: 4;
}

.video-commerce-lightbox__sound .bi {
  display: flex;
  font-size: 30px;
}

.video-commerce-fancybox .f-button.is-close-btn {
  background: none;
  opacity: 1 !important;
  right: -34px !important;
  top: -5px !important;
}

.video-commerce-fancybox .f-button.is-close-btn svg {
  --f-button-svg-stroke-width: 3px;
}

.video-commerce-lightbox__products {
  bottom: 16px;
  left: 50%;
  max-width: 600px;
  padding: 0 14px;
  position: absolute;
  transform: translateX(-50%);
  width: 98%;
  z-index: 3;
  opacity: 0;
  transition: opacity ease .3s;
}

.video-commerce-lightbox__products:has(.swiper-initialized) {
	opacity: 1;
}

.video-commerce-lightbox__products-swiper {
  border-radius: 8px;
}

.video-commerce-lightbox__products-swiper:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.video-commerce-lightbox__products-swiper:not(.swiper-initialized) .swiper-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.video-commerce-lightbox__products-nav {
  align-items: center;
  background: #fff;
  border: none;
  border-radius: 50%;
  color: #20242b;
  display: flex;
  font-size: 12px;
  height: 28px;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  z-index: 2;
}

.video-commerce-lightbox__products-nav--prev {
  left: 0;
}

.video-commerce-lightbox__products-nav--next {
  right: 0;
}

.video-commerce-lightbox__products-nav i {
  display: flex;
}

.video-commerce-lightbox__products-nav.swiper-button-disabled {
  opacity: .35;
  pointer-events: none;
}

.product-column-right .video-commerce-carousel .container,
.product-column-right .video-commerce-carousel .container-fluid {
  padding: 0;
}

@media (max-width: 991px) {
  .video-commerce-surface--mobile,
  .video-commerce-surface--both {
    display: block !important;
  }

  .video-commerce-surface--desktop {
    display: none !important;
  }

  .video-commerce-carousel__nav {
    display: none;
  }

  .video-commerce-fancybox .fancybox__nav {
    display: none;
  }

  .video-commerce-lightbox__products-nav--prev {
    left: 4px;
  }

  .video-commerce-lightbox__products-nav--next {
    right: 4px;
  }

  .video-commerce-lightbox__sound {
    left: 12px;
    top: 46px;
  }

  .video-commerce-fancybox .f-button.is-close-btn {
    right: 4px !important;
    top: 30px !important;
  }

  .video-commerce-fancybox .f-button.is-close-btn svg {
    --f-button-svg-stroke-width: 5px;
  }

  .video-commerce-lightbox {
    max-height: calc(100vh - 24px);
    width: calc(100vw - 20px);
  }

  .video-commerce-lightbox__products {
    bottom: 12px;
    padding: 0;
    width: calc(100% - 24px);
  }
}
