@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+HK:wght@100..900&display=swap');

/* ===== Tee Preview Comparison Slider ===== */
.tee_preview {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
}

.tee-img {
  display: block;
  width: 100%;
}

.tee-img img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

/* Left image: clip from right side at divider position */
.tee-img-left {
  position: relative;
  z-index: 1;
  clip-path: inset(0 50% 0 0);
}

/* Right image: stacked on top, clip from left side at divider position */
.tee-img-right {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  clip-path: inset(0 0 0 50%);
}

.tee-img-right img {
  height: 100%;
  object-fit: cover;
  object-position: left center;
  width: 100%;
}

/* Vertical divider line */
.tee-divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
  z-index: 10;
  cursor: col-resize;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

/* Circular drag handle */
.tee-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  cursor: col-resize;
  font-size: 14px;
  color: #333;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tee_preview:hover .tee-handle {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}
