﻿/* black-white-booth — page/product-specific overrides (tokens from main.css) */

/* "Kim K" glam-effect before/after sliders — drag (or use the range input,
   which is what actually drives it, kept visible-but-transparent on top so
   it stays keyboard/touch accessible) to reveal the glam finish. */
.vwGlam-content { background: var(--bk-solid); }
.vwGlam-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.vwGlam-slider {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm, 10px);
  overflow: hidden;
  border: 1px solid var(--bk-line);
  background: var(--bk-alt-a);
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.vwGlam-slider__before,
.vwGlam-slider__after { position: absolute; inset: 0; }
.vwGlam-slider__before .media,
.vwGlam-slider__after .media { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the "after" (glam) layer sits on top, clipped from the left up to the
   slider position — dragging right reveals more of the glam finish */
.vwGlam-slider__after { clip-path: inset(0 0 0 var(--vwGlam-pos, 50%)); }
.vwGlam-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 5px 12px;
  border-radius: var(--radius-btn, 999px);
  background: rgba(0, 0, 0, .55);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  pointer-events: none;
}
.vwGlam-tag--after { left: auto; right: 12px; }
.vwGlam-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--vwGlam-pos, 50%);
  width: 2px;
  background: rgba(255, 255, 255, .85);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}
.vwGlam-slider__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink, #111);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .4);
}
/* the actual control — kept full-size and interactive, just invisible, so
   click/drag/keyboard-arrow all work exactly like a native range input */
.vwGlam-slider__range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}
/* the whole input is already invisible via opacity:0 above, so the thumb
   doesn't need hiding — it needs to NOT be full width. A thumb as wide as
   the track leaves zero px of travel distance, so the browser can't move
   it off 0%; that's what was pinning the handle to the left on click. */
.vwGlam-slider__range::-webkit-slider-thumb { -webkit-appearance: none; width: 2px; height: 100%; }
.vwGlam-slider__range::-moz-range-thumb { width: 2px; height: 100%; border: 0; }
@media (max-width: 860px) {
  .vwGlam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .vwGlam-grid { grid-template-columns: minmax(0, 1fr); }
}
