﻿.z2h-vs {
  --z2h-vs-primary: #9b5cc8;
  --z2h-vs-button: #8e44ad;
  --z2h-vs-text: #fff;
  --z2h-vs-panel: #f8fbf4;
  --z2h-vs-border: #eadcf7;
  --z2h-vs-gradient-start: #dd6089;
  --z2h-vs-gradient-end: #f8b6cf;
  --z2h-vs-bubble-size: 112px;
  box-sizing: border-box;
  margin: 24px 0;
  padding: 14px 0;
  background: var(--z2h-vs-panel);
  border: 0;
  color: var(--z2h-vs-text);
  direction: rtl;
  font-family: inherit;
}

.z2h-vs *,
.z2h-vs *::before,
.z2h-vs *::after {
  box-sizing: border-box;
}

.z2h-vs button,
.z2h-vs-modal button,
.z2h-vs-sticky button {
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  appearance: none !important;
  border: 0 !important;
  box-shadow: none;
  font-family: inherit;
  line-height: 1 !important;
  text-decoration: none !important;
}

.z2h-vs button svg,
.z2h-vs-modal button svg,
.z2h-vs-product-card__button svg,
.z2h-vs-sticky svg {
  display: block !important;
  flex: 0 0 auto;
  max-width: none !important;
  max-height: none !important;
}

.z2h-vs__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.z2h-vs__viewport::before,
.z2h-vs__viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(32px, 8vw, 80px);
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
}

.z2h-vs__viewport::before {
  left: 0;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}

.z2h-vs__viewport::after {
  right: 0;
  background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}

@media (min-width: 768px) {
  .z2h-vs .z2h-vs__viewport[data-arrows-desktop="off"] .z2h-vs__arrow { display: none !important; }
  .z2h-vs.can-scroll-left .z2h-vs__viewport[data-arrows-desktop="off"]::before,
  .z2h-vs.can-scroll-right .z2h-vs__viewport[data-arrows-desktop="off"]::after { opacity: 1; }
}

@media (max-width: 767px) {
  .z2h-vs .z2h-vs__viewport[data-arrows-mobile="off"] .z2h-vs__arrow { display: none !important; }
  .z2h-vs.can-scroll-left .z2h-vs__viewport[data-arrows-mobile="off"]::before,
  .z2h-vs.can-scroll-right .z2h-vs__viewport[data-arrows-mobile="off"]::after { opacity: 1; }
}

.z2h-vs__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 40px 6px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 40px;
  scrollbar-width: none;
  direction: rtl;
}

.z2h-vs__track[dir="ltr"] { direction: ltr; }

.z2h-vs__track.is-not-overflowing {
  justify-content: center;
}

.z2h-vs__track::-webkit-scrollbar {
  display: none;
}

.z2h-vs__card {
  position: relative;
  flex: 0 0 210px;
  height: 360px;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: #151515;
  box-shadow: 0 10px 28px rgba(21, 21, 21, 0.13);
  cursor: pointer;
  scroll-snap-align: start;
  direction: rtl;
  outline: none;
}

.z2h-vs__card:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 0 0 6px var(--z2h-vs-primary);
}

.z2h-vs__media,
.z2h-vs__preview,
.z2h-vs__overlay {
  position: absolute;
  inset: 0;
}

.z2h-vs__preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}

.z2h-vs__overlay {
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.z2h-vs__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  opacity: 0.9;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.z2h-vs__play svg {
  width: 1em !important;
  height: 1em !important;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 0;
}

.z2h-vs__control svg,
.z2h-vs__arrow svg {
  width: 1em !important;
  height: 1em !important;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.z2h-vs__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  padding: 12px;
  color: var(--z2h-vs-text);
}

.z2h-vs__name {
  min-width: 0;
  overflow: hidden;
  color: var(--z2h-vs-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.65);
  white-space: nowrap;
}

.z2h-vs__controls {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.z2h-vs__control,
.z2h-vs__arrow {
  display: grid !important;
  place-items: center;
  border: 0;
  border-radius: 999px !important;
  background: var(--z2h-vs-button) !important;
  color: #fff !important;
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease;
}

.z2h-vs__control {
  width: 42px !important;
  height: 42px !important;
  font-size: 18px;
}

.z2h-vs__control:hover,
.z2h-vs__arrow:hover {
  transform: translateY(-1px);
}

.z2h-vs__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px !important;
  height: 48px !important;
  font-size: 22px;
  transform: translateY(-50%);
}

.z2h-vs__arrow[hidden] {
  display: none !important;
}

.z2h-vs__arrow--prev {
  right: auto !important;
  left: 32px !important;
}

.z2h-vs__arrow--next {
  right: 32px !important;
  left: auto !important;
}

.z2h-vs .z2h-vs__control,
.z2h-vs .z2h-vs__arrow {
  display: grid !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--z2h-vs-button) !important;
  color: #fff !important;
  line-height: 1 !important;
}

.z2h-vs .z2h-vs__control {
  width: 42px !important;
  height: 42px !important;
}

.z2h-vs .z2h-vs__arrow {
  position: absolute !important;
  top: 50% !important;
  bottom: auto !important;
  width: 48px !important;
  height: 48px !important;
  transform: translateY(-50%) !important;
  z-index: 5 !important;
}

.z2h-vs .z2h-vs__control svg,
.z2h-vs .z2h-vs__arrow svg {
  width: 1em !important;
  height: 1em !important;
}

.z2h-vs .z2h-vs__arrow--prev {
  right: auto !important;
  left: 14px !important;
}

.z2h-vs .z2h-vs__arrow--next {
  right: 14px !important;
  left: auto !important;
}

.z2h-vs .z2h-vs__arrow[hidden] {
  display: none !important;
}

.z2h-vs[data-carousel-direction="rtl"] .z2h-vs__arrow--prev {
  left: auto !important;
  right: 32px !important;
}

.z2h-vs[data-carousel-direction="rtl"] .z2h-vs__arrow--next {
  right: auto !important;
  left: 32px !important;
}

.z2h-vs[data-carousel-direction="rtl"] .z2h-vs__arrow svg {
  transform: rotate(180deg);
}

.z2h-vs-modal .z2h-vs-modal__nav {
  display: none !important;
}

.z2h-vs--bubbles {
  border-right: 0;
  border-left: 0;
}

.z2h-vs--bubbles .z2h-vs__track {
  align-items: flex-start;
  gap: 22px;
  padding-top: 6px;
  padding-bottom: 8px;
}

.z2h-vs--bubbles .z2h-vs__card {
  flex-basis: var(--z2h-vs-bubble-size);
  height: var(--z2h-vs-bubble-size);
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.z2h-vs--bubbles .z2h-vs__media {
  inset: 0 0 auto;
  width: var(--z2h-vs-bubble-size);
  height: var(--z2h-vs-bubble-size);
  padding: 2px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--z2h-vs-gradient-start), var(--z2h-vs-gradient-end));
}

.z2h-vs--bubbles .z2h-vs__preview {
  position: relative;
  inset: auto;
  display: block;
  border: 2px solid #fff;
  border-radius: 50%;
}

.z2h-vs--bubbles .z2h-vs__overlay {
  display: none;
}

.z2h-vs--bubbles .z2h-vs__play {
  width: 42px;
  height: 42px;
  font-size: 42px;
}

.z2h-vs--bubbles .z2h-vs__caption {
  display: none;
}

.z2h-vs--bubbles .z2h-vs__name {
  display: block;
  color: #292929;
  font-size: 13px;
  text-shadow: none;
}

.z2h-vs--bubbles .z2h-vs__controls {
  display: none;
}

.z2h-vs-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.z2h-vs-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overscroll-behavior: contain;
  touch-action: none;
}

.z2h-vs-modal.is-open {
  display: flex;
}

.z2h-vs-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.z2h-vs-modal__layout {
  position: relative;
  z-index: 2;
  display: block;
  width: min(620px, 100%);
  height: min(812px, calc(100dvh - 32px));
}

.z2h-vs-modal__card {
  position: relative;
  --z2h-vs-drag-y: 0px;
  --z2h-vs-ghost-y: 100%;
  margin: 33px auto;
  width: min(420px, calc(100vw - 48px));
  height: min(746px, calc(100dvh - 98px));
  overflow: hidden;
  border-radius: 28px;
  background: #111;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  overscroll-behavior: contain;
  touch-action: none;
}

.z2h-vs-modal__video,
.z2h-vs-modal__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.z2h-vs-modal__video {
  object-fit: cover;
  background: #111;
  transform: translate3d(0, var(--z2h-vs-drag-y), 0);
}

.z2h-vs-modal__video--ghost {
  transform: translate3d(0, var(--z2h-vs-ghost-y), 0);
}

.z2h-vs-modal__video[hidden] {
  display: none;
}

.z2h-vs-modal__card.is-story-transition .z2h-vs-modal__video {
  will-change: transform;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.z2h-vs-modal__card.is-story-dragging .z2h-vs-modal__video {
  will-change: transform;
}

.z2h-vs-modal__shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 40%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.z2h-vs-modal__count {
  align-self: center;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.z2h-vs-modal__count[hidden] {
  display: none;
}

.z2h-vs-modal__progress {
  position: absolute;
  top: 50%;
  right: 12px;
  z-index: 5;
  display: grid;
  gap: 7px;
  width: 5px;
  pointer-events: none;
  transform: translateY(-50%);
}

.z2h-vs-modal__progress[hidden] {
  display: none;
}

.z2h-vs-modal__progress span {
  display: block;
  width: 5px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.z2h-vs-modal__progress span.is-active {
  background: #fff;
}

.z2h-vs-modal__swipe-hint {
  position: absolute;
  right: 50%;
  bottom: 104px;
  z-index: 5;
  display: flex;
  min-width: 174px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
  font-size: 12px;
  line-height: 1.15;
  pointer-events: none;
  text-align: right;
  transform: translateX(50%);
  backdrop-filter: blur(9px);
}

.z2h-vs-modal__swipe-hint[hidden] {
  display: none;
}

.z2h-vs-modal__swipe-hint strong,
.z2h-vs-modal__swipe-hint small {
  display: block;
}

.z2h-vs-modal__swipe-hint strong {
  font-size: 13px;
  font-weight: 900;
}

.z2h-vs-modal__swipe-hint small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
}

.z2h-vs-modal__swipe-pulse {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.z2h-vs-modal__swipe-pulse::before,
.z2h-vs-modal__swipe-pulse::after {
  content: "";
  position: absolute;
  right: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(50%);
  animation: z2h-vs-swipe-dot 1600ms ease-in-out infinite;
}

.z2h-vs-modal__swipe-pulse::before {
  top: 7px;
}

.z2h-vs-modal__swipe-pulse::after {
  bottom: 7px;
  animation-delay: 800ms;
}

.z2h-vs-modal__top {
  position: absolute;
  top: 20px;
  right: 20px;
  left: 20px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  direction: ltr;
}

.z2h-vs-modal__icon,
.z2h-vs-modal__nav {
  display: grid !important;
  place-items: center;
  border: 0;
  border-radius: 999px !important;
  background: var(--z2h-vs-button, #8e44ad) !important;
  color: #fff !important;
  cursor: pointer;
}

.z2h-vs-modal__icon {
  width: 58px !important;
  height: 58px !important;
  font-size: 28px;
}

.z2h-vs-modal__icon svg,
.z2h-vs-modal__nav svg,
.z2h-vs-product-card__button svg,
.z2h-vs-sticky svg {
  width: 1em !important;
  height: 1em !important;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.z2h-vs-modal__nav {
  position: absolute;
  left: 50%;
  z-index: 6;
  width: 52px !important;
  height: 52px !important;
  font-size: 28px;
  transform: translateX(-50%);
}

.z2h-vs-modal__nav--prev {
  top: 0;
}

.z2h-vs-modal__nav--next {
  bottom: 0;
}

.z2h-vs-modal .z2h-vs-modal__icon,
.z2h-vs-modal .z2h-vs-modal__nav,
.z2h-vs-sticky .z2h-vs-sticky__close {
  display: grid !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--z2h-vs-button, #8e44ad) !important;
  color: #fff !important;
  line-height: 1 !important;
}

.z2h-vs-modal .z2h-vs-modal__icon {
  width: 58px !important;
  height: 58px !important;
}

.z2h-vs-modal .z2h-vs-modal__nav {
  width: 52px !important;
  height: 52px !important;
}

.z2h-vs-modal .z2h-vs-modal__icon svg,
.z2h-vs-modal .z2h-vs-modal__nav svg,
.z2h-vs-product-card__button svg,
.z2h-vs-sticky svg {
  width: 1em !important;
  height: 1em !important;
}

.z2h-vs-modal.is-moving-up .z2h-vs-modal__card {
  animation: z2h-vs-story-up 240ms ease;
}

.z2h-vs-modal.is-moving-down .z2h-vs-modal__card {
  animation: z2h-vs-story-down 240ms ease;
}

@keyframes z2h-vs-story-up {
  0% { transform: translateY(24px); opacity: 0.55; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes z2h-vs-story-down {
  0% { transform: translateY(-24px); opacity: 0.55; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes z2h-vs-swipe-dot {
  0%, 100% { opacity: 0.38; translate: 0 5px; }
  50% { opacity: 1; translate: 0 -5px; }
}

.z2h-vs-modal__bottom {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 4;
  display: grid;
  gap: 12px;
}

.z2h-vs-modal__reviewer {
  overflow: hidden;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-align: right;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.72);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.z2h-vs-product-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 78px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: #222;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.z2h-vs-product-card[hidden] {
  display: none;
}

.z2h-vs-product-card__image {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  background: #f2f2f2;
}

.z2h-vs-product-card__image[hidden] {
  display: none;
}

.z2h-vs-product-card__body {
  display: grid;
  min-width: 0;
  gap: 4px;
  text-align: right;
}

.z2h-vs-product-card__body strong,
.z2h-vs-product-card__body span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.z2h-vs-product-card__body strong {
  font-size: 14px;
  line-height: 1.25;
}

.z2h-vs-product-card__body span {
  color: var(--z2h-vs-button, #8e44ad);
  font-weight: 800;
}

.z2h-vs-product-card__button {
  display: inline-flex;
  align-items: center;
  direction: rtl;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--z2h-vs-button, #8e44ad);
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.z2h-vs-product-card__button svg {
  transform: scaleX(-1);
}

.z2h-vs-cart-target {
  outline: 3px solid var(--z2h-vs-button, #8e44ad);
  outline-offset: 5px;
  transition: outline 180ms ease;
}

.z2h-vs-sticky {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 99998;
  width: 124px;
  height: 220px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.z2h-vs-sticky.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.z2h-vs-sticky__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #111;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.z2h-vs-sticky__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.z2h-vs-sticky__media span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 38px;
}

.z2h-vs-sticky__media span svg {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 0;
}

.z2h-vs-sticky__close {
  position: absolute;
  top: -16px;
  right: -14px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--z2h-vs-button, #8e44ad);
  color: #fff;
  cursor: pointer;
}

@media (max-width: 767px) {
  .z2h-vs {
    margin: 18px 0;
  }

  .z2h-vs__track {
    gap: 12px;
    scroll-padding-inline: 16px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .z2h-vs__card {
    flex-basis: 174px;
    height: 302px;
    border-radius: 18px;
  }

  .z2h-vs-modal {
    padding: 8px;
  }

  .z2h-vs-modal__layout {
    width: 100%;
    height: 100%;
  }

  .z2h-vs-modal__card {
    margin: 0 auto;
    width: min(420px, calc(100vw - 16px));
    height: calc(100dvh - 16px);
    border-radius: 22px;
  }

  .z2h-vs-modal__nav {
    display: none;
  }

  .z2h-vs-product-card {
    grid-template-columns: 50px minmax(0, 1fr) auto;
    min-height: 70px;
    padding: 8px;
  }

  .z2h-vs-product-card__image {
    width: 50px;
    height: 50px;
  }

  .z2h-vs-product-card__button {
    min-height: 42px;
    padding: 0 12px;
    font-size: 14px;
  }

  .z2h-vs-sticky {
    right: 12px;
    bottom: 72px;
    width: 104px;
    height: 184px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .z2h-vs *,
  .z2h-vs-modal *,
  .z2h-vs-sticky {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
