.r-product-video {
  min-width: 0;
  margin: 0 0 0 40px;
  width: calc(100% - 40px);
}
.r-product-video-frame {
  overflow: hidden;
  border: 1px solid #d6e5ef;
  border-radius: 24px;
  background: #e7f2fa;
  box-shadow: 0 20px 64px #173e5910;
  aspect-ratio: 6 / 5;
}
.r-product-video--inline {
  width: 100%;
  margin: 0;
}
.r-editorial-visual .r-product-video,
.r-calc-hero-grid > .r-product-video {
  width: 100%;
  margin: 0;
}
.r-product-video video,
.r-product-video-frame > img {
  display: block;
  width: 100%;
  height: auto;
}
.r-product-video figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  margin-top: 6px;
  color: #49647a;
  font-size: 11px;
}
.r-product-video figcaption > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.r-product-video-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #277e60;
}
.r-video-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 84px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #cadce8;
  border-radius: 30px;
  background: #ffffffc9;
  color: #17435f;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.r-video-toggle:hover { background: #eaf4fb; }
.r-video-toggle:focus-visible { outline: 3px solid #137ab8; outline-offset: 3px; }
.r-hero--product-video .r-hero-grid { padding-block: 46px 38px; }
@media (max-width: 900px) and (min-width: 701px) {
  .r-product-video { margin-left: 20px; width: calc(100% - 20px); }
  .r-product-video--inline { margin-left: 0; width: 100%; }
}
@media (max-width: 700px) {
  .r-hero--product-video .r-hero-grid { padding-block: 16px 28px; gap: 17px; min-height: 0; }
  .r-product-video { order: -1; width: 100%; max-width: 480px; justify-self: center; margin: 0; }
  .r-product-video-frame { border-radius: 18px; }
  .r-product-video figcaption { margin-top: 4px; min-height: 44px; }
  .r-hero--product-video .r-eyebrow { font-size: 10px; letter-spacing: 1.2px; margin-bottom: 10px; }
  .r-hero--product-video h1 { font-size: clamp(27px, 7.4vw, 43px); line-height: 1.08; letter-spacing: -1px; }
  .r-hero--product-video .r-hero-copy .r-lead { font-size: 14px; line-height: 1.55; margin-top: 12px; }
  .r-hero--product-video .r-hero-actions { margin-top: 17px; }
  .r-hero--product-video .r-hero-checks { margin-top: 18px; margin-bottom: 0; }
  .r-product-video--inline { order: initial; max-width: none; }
  .r-editorial-hero:has(.r-product-video) .r-breadcrumb { padding: 8px 0 0; }
  .r-editorial-hero-grid:has(.r-product-video) { padding-block: 12px 30px; gap: 18px; }
  .r-editorial-hero-grid:has(.r-product-video) .r-editorial-visual { order: -1; max-width: 480px; justify-self: center; }
  .r-editorial-hero-grid:has(.r-product-video) .r-eyebrow { font-size: 10px; letter-spacing: 1.2px; margin-bottom: 10px; }
  .r-editorial-hero-grid:has(.r-product-video) h1 { font-size: clamp(28px, 7.5vw, 42px); }
  .r-editorial-hero-grid:has(.r-product-video) .r-lead { font-size: 14px; line-height: 1.55; margin-top: 12px; }
  .r-editorial-hero-grid:has(.r-product-video) .r-page-actions { margin-top: 17px; }
  .r-calc-hero:has(.r-product-video) .r-breadcrumb { padding: 8px 0 0; }
  .r-calc-hero-grid:has(.r-product-video) { padding-block: 12px 30px; gap: 18px; }
  .r-calc-hero-grid:has(.r-product-video) .r-eyebrow { font-size: 10px; letter-spacing: 1.2px; margin-bottom: 10px; }
  .r-calc-hero-grid:has(.r-product-video) h1 { font-size: clamp(28px, 7.5vw, 42px); }
  .r-calc-hero-grid:has(.r-product-video) .r-lead { font-size: 14px; line-height: 1.55; margin-top: 12px; }
  .r-calc-hero-grid:has(.r-product-video) .r-hero-actions { margin-top: 17px; }
}
@media (max-width: 360px) {
  .r-product-video figcaption { font-size: 10px; }
  .r-product-video figcaption > span { gap: 4px; }
  .r-video-toggle { min-width: 76px; padding-inline: 8px; }
}

/* Stappen onder een film: tik en de film springt naar die stap. */
.r-video-stappen {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.r-video-stappen button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--r-line);
  border-radius: 999px;
  background: #fff;
  color: var(--r-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.r-video-stappen button span {
  font-variant-numeric: tabular-nums;
  color: var(--r-body);
}

.r-video-stappen button[aria-pressed='true'] {
  border-color: var(--r-ink);
  background: var(--r-ink);
  color: #fff;
}

.r-video-stappen button[aria-pressed='true'] span {
  color: #a9cbe8;
}

.r-video-stappen button:focus-visible {
  outline: 3px solid var(--r-blue);
  outline-offset: 2px;
}

/* Staande opnamen behouden het volledige telefoonvenster. */
@media (max-width: 700px) {
  .r-product-video.r-product-video--staand { max-width: 360px; margin-inline: auto; }
  .r-product-video--staand .r-product-video-frame {
    aspect-ratio: 390 / 844;
    border: 5px solid #142c46;
    border-radius: 28px;
    background: #142c46;
  }
}
