/* Kobicart Product Video Studio */
.kc-pv-card-play {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  z-index: 3;
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--kc-pv, #00a8c4);
  color: #fff;
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
}
.product-thumb .image { position: relative; }

.kc-pv-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  pointer-events: auto;
}
.kc-pv-badge__btn {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  border: 0;
  background: var(--kc-pv, #00a8c4);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
  pointer-events: none;
}
.kc-pv-thumbs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.55rem;
}
.kc-pv-thumbs button {
  width: 52px;
  height: 36px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: #0f172a;
  cursor: pointer;
  position: relative;
}
.kc-pv-thumbs button.is-active { border-color: var(--kc-pv, #00a8c4); }
.kc-pv-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kc-pv-thumbs i {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.65rem;
  background: rgba(15, 23, 42, 0.25);
}
.kc-pv-stage {
  margin-top: 0.75rem;
  border-radius: 8px;
  overflow: hidden;
  background: #0f172a;
  aspect-ratio: 16 / 9;
  width: 100%;
  min-height: 220px;
  position: relative;
  display: block;
}
.kc-pv-stage[hidden] { display: none !important; }
.kc-pv-stage iframe,
.kc-pv-stage video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.kc-pv-stage__close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 5;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.kc-pv-stage__close:hover {
  background: rgba(15, 23, 42, 0.92);
}
.kc-pv-stage--lazy {
  cursor: pointer;
}
.kc-pv-stage--lazy::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3.2rem;
  height: 3.2rem;
  margin: -1.6rem 0 0 -1.6rem;
  border-radius: 999px;
  background: var(--kc-pv, #00a8c4);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 58% 50%;
  background-size: 1.35rem;
}
.kc-pv-sheet {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: none;
  flex-direction: column;
  background: rgba(8, 8, 8, 0.92);
  color: #fff;
}
.kc-pv-sheet.is-open { display: flex; }
.kc-pv-sheet__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.9rem;
  gap: 0.75rem;
}
.kc-pv-sheet__title { margin: 0; font: 600 0.95rem/1.2 ui-sans-serif, system-ui, sans-serif; }
.kc-pv-sheet__close {
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}
.kc-pv-sheet__viewport { flex: 1; position: relative; min-height: 56vh; }
.kc-pv-sheet__viewport iframe,
.kc-pv-sheet__viewport video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

@media (max-width: 767.98px) {
  .kc-pv-badge__btn { width: 2.85rem; height: 2.85rem; }
}
