/* ============================================================
   See It in Action — PDP media carousel (images + videos).
   Tall portrait cards, swipeable track, arrows + dots. Tokens only.
   ============================================================ */
.lh-sia { padding-block: var(--sia-pt, 24px) var(--sia-pb, 32px); }

.lh-sia__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.lh-sia__eyebrow { display: block; margin-bottom: var(--space-1); }
.lh-sia__title {
  margin: 0;
  font-size: var(--font-h3);
  color: var(--text-heading);
}
.lh-sia__nav { display: flex; gap: var(--space-2); flex-shrink: 0; }
.lh-sia__arrow {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-circle);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
  cursor: pointer;
  transition: var(--transition-fast);
}
.lh-sia__arrow:hover:not(:disabled) { border-color: var(--color-primary); color: var(--color-primary); }
.lh-sia__arrow:disabled { opacity: 0.4; cursor: default; }

/* ---- Track ---- */
.lh-sia__track {
  display: flex;
  gap: var(--space-4);
  margin: 0;
  padding: 0 0 var(--space-2);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.lh-sia__track::-webkit-scrollbar { display: none; }

.lh-sia__card {
  flex: 0 0 auto;
  /* Reduced from 280/260 so the 9:16 video cards are shorter. */
  width: 60vw;
  max-width: 220px;
  scroll-snap-align: start;
}
.lh-sia__media {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--lh-img-loader, none), var(--surface-image);
}
.lh-sia__img,
.lh-sia__media .lh-placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
.lh-sia__iframe { width: 100%; height: 100%; border: 0; display: block; }
.lh-sia__media--embed { cursor: pointer; }

/* ---- Play overlay ---- */
.lh-sia__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(var(--lh-stone-900-rgb), 0.18);
  cursor: pointer;
  transition: opacity var(--duration-fast) var(--ease-standard);
}
.lh-sia__media--video.is-playing .lh-sia__play { opacity: 0; pointer-events: none; }
.lh-sia__play-dot {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-circle);
  background: rgba(var(--lh-white-rgb), 0.92);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.lh-sia__caption {
  margin: var(--space-3) 0 0;
  font-size: var(--font-body-sm);
  color: var(--text-muted);
}

/* ---- Dots ---- */
.lh-sia__dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}
.lh-sia__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-circle);
  background: var(--border-strong);
  cursor: pointer;
  transition: var(--transition-fast);
}
.lh-sia__dot.is-active { width: 22px; border-radius: var(--radius-pill); background: var(--color-primary); }

@media (min-width: 768px) {
  .lh-sia__title { font-size: var(--font-h2); }
  .lh-sia__card { width: 210px; }
}

/* ---- Column layout: a block in the PDP buy column, under Product Details ----
   Same treatment as .lh-pdp__features (top rule, small uppercase title) so the
   two read as consecutive blocks of one column. The track gap stays at
   --space-4: the carousel script steps by card width + 16px. */
.lh-sia--column {
  margin-top: var(--space-5);
  padding: var(--space-5) 0 0;
  border-top: 1px solid var(--border-subtle);
}
.lh-sia--column .lh-sia__head { align-items: center; margin-bottom: var(--space-3); }
/* (0,2,0) beats the band title's (0,1,0) sizes at every breakpoint. */
.lh-sia--column .lh-sia__title {
  font-family: var(--font-body);
  font-size: var(--font-body-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-overline);
  text-transform: uppercase;
  color: var(--text-heading);
}
.lh-sia--column .lh-sia__arrow { width: 34px; height: 34px; }
/* Two and a bit cards across a phone, three and a bit across the desktop
   column, so the next card always peeks in and says "swipe". */
.lh-sia--column .lh-sia__card { width: 40%; max-width: 170px; }
.lh-sia--column .lh-sia__dots { margin-top: var(--space-3); }
@media (min-width: 768px) {
  .lh-sia--column .lh-sia__card { width: 150px; }
}
