/* ──────────────────────────────────────────────────────────────
   Product Video Section — matches Figma 3660:8804
   Themed background, 16:9 rounded video frame.
   ────────────────────────────────────────────────────────────── */

.product-video {
  /* Theme tokens — inherited via [data-theme="…"] */
  --theme-100: #e9edf6;
  --theme-400: #b7c3e0;
  --theme-700: #626e8b;
  --theme-900: #313745;

  display: block;
  width: 100%;
  background: var(--theme-100);
  padding: 96px;
  box-sizing: border-box;
}

.product-video[data-theme="glacier"] { --theme-100: #e9edf6; --theme-400: #b7c3e0; --theme-700: #626e8b; --theme-900: #313745; }
.product-video[data-theme="moss"]    { --theme-100: #eef1f0; --theme-400: #c8d2ce; --theme-700: #737d79; --theme-900: #393e3c; }
.product-video[data-theme="shale"]   { --theme-100: #dddee2; --theme-400: #8d919e; --theme-700: #383c49; --theme-900: #1c1e24; }
.product-video[data-theme="dune"]    { --theme-100: #f8f6f3; --theme-400: #e8e0d8; --theme-700: #938b83; --theme-900: #494641; }
.product-video[data-theme="canyon"]  { --theme-100: #f7ece6; --theme-400: #e3bfad; --theme-700: #8e6a58; --theme-900: #47352c; }

.product-video *,
.product-video *::before,
.product-video *::after { box-sizing: border-box; }

.product-video__inner {
  display: flex;
  justify-content: center;
  width: 100%;
}

.product-video__frame {
  position: relative;
  width: 100%;
  max-width: 1728px;
  max-height: 972px;
  aspect-ratio: 1920 / 1080;
  border-radius: 48px;
  overflow: hidden;
  background: var(--theme-400);
}

.product-video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-video__frame--poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1200px) {
  .product-video { padding: 64px; }
  .product-video__frame { border-radius: 32px; }
}

@media (max-width: 900px) {
  .product-video { padding: 32px 24px; }
  .product-video__frame { border-radius: 20px; }
}
