/* Banner slider, video player, gallery video and image protection. */

/* --- Banner slider ----------------------------------------------------------- */

.banner {
  position: relative;
  padding: var(--s-4) var(--gutter) 0;
}

.banner__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  max-width: var(--container);
  margin-inline: auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: var(--r-card-lg);
  box-shadow: var(--shadow-md);
}

.banner__track::-webkit-scrollbar {
  display: none;
}

.banner__slide {
  scroll-snap-align: start;
}

.banner__link {
  display: block;
  overflow: hidden;
}

.banner__img {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

@media (max-width: 700px) {
  .banner__img {
    aspect-ratio: 4 / 5;
  }
}

.banner__link:hover .banner__img {
  transform: scale(1.03);
}

.banner__dots {
  display: flex;
  justify-content: center;
  gap: var(--s-2);
  margin-top: var(--s-3);
}

.banner__dot {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border: 2px solid var(--c-ink);
  border-radius: var(--r-pill);
  background: transparent;
  transition: width var(--dur) var(--ease-spring), background-color var(--dur) var(--ease-out);
}

.banner__dot.is-active {
  width: 1.8rem;
  background: var(--c-primary);
}

/* --- Video ------------------------------------------------------------------- */

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--c-ink);
}

.video iframe,
.video__file {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video__poster {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.video__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out), filter var(--dur-slow) var(--ease-out);
}

.video__poster:hover img {
  transform: scale(1.05);
  filter: brightness(0.85);
}

.video__play {
  position: relative;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--c-primary) 55%, transparent);
  animation: video-pulse 2s var(--ease-out) infinite;
  transition: transform var(--dur) var(--ease-spring);
}

.video__play svg {
  width: 1.8rem;
  height: 1.8rem;
  margin-left: 0.2rem;
}

.video__poster:hover .video__play {
  transform: scale(1.12);
}

@keyframes video-pulse {
  to { box-shadow: 0 0 0 1.1rem color-mix(in srgb, var(--c-primary) 0%, transparent); }
}

.video-feature {
  display: grid;
  gap: var(--s-6);
  align-items: center;
}

@media (min-width: 900px) {
  .video-feature {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

.video-feature__copy {
  display: grid;
  gap: var(--s-3);
}

.video-feature__lead {
  font-size: var(--fs-lg);
  color: var(--c-ink-soft);
}

/* Product gallery: a video thumbnail swaps the main photo for the player */
.gallery__video {
  position: relative;
}

.gallery__video .video {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-card-lg);
}

.gallery__thumb--video {
  position: relative;
  padding: 0;
  border: 2px solid transparent;
  background: none;
}

.gallery__thumb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.2rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  background: rgba(0, 0, 0, 0.25);
}

/* --- Image protection ---------------------------------------------------------
   Stops casual saving: no drag, no long-press menu, no text-select of images.
   (site.js also blocks the right-click menu on images.) A screenshot can't be prevented. */

img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.product-card__media::after,
.gallery__main::after {
  content: "sentiments365";
  position: absolute;
  right: 0.7rem;
  bottom: 0.55rem;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
