.product-preview.walkthrough { scroll-margin-top: 20px; border-color: #dce8f5; border-radius: 14px; background: var(--white); box-shadow: 0 18px 48px rgba(35, 73, 118, .08), 0 2px 8px rgba(35, 73, 118, .04); }
.walkthrough-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 14px; background: var(--white); }
.walkthrough-step { --step-progress: 0%; position: relative; min-width: 0; padding: 13px 4px 17px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); text-align: center; white-space: nowrap; cursor: pointer; transition: background-color 180ms, color 180ms, box-shadow 180ms; }
.walkthrough-step::before, .walkthrough-step::after { content: ""; position: absolute; bottom: 6px; left: 12px; right: 12px; height: 2px; border-radius: 2px; pointer-events: none; }
.walkthrough-step::before { background: #e7eef6; }
.walkthrough-step::after { background: linear-gradient(90deg, var(--blue) var(--step-progress), transparent var(--step-progress)); }
.walkthrough-step > span { font-size: 13px; font-weight: 500; }
.walkthrough-step:hover { color: var(--blue-text); background: #f5f9ff; }
.walkthrough-step[aria-current="step"] { color: var(--blue-text); background: #eef6ff; box-shadow: inset 0 0 0 1px #dbeafb; }
.walkthrough-step[aria-current="step"] > span { font-weight: 600; }
.walkthrough-step:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.walkthrough-media { position: relative; margin: 0 14px 14px; background: var(--white); border: 1px solid #e2ebf5; border-radius: 9px; overflow: hidden; aspect-ratio: 1726 / 1080; cursor: default; }
.walkthrough-media video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.walkthrough-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; background: var(--white); }
.walkthrough-frame[hidden] { display: none; }
.walkthrough-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 780px) {
  .product-preview.walkthrough { border-radius: 10px; box-shadow: 0 10px 28px rgba(35, 73, 118, .07); }
  .walkthrough-steps { gap: 6px; padding: 8px; }
  .walkthrough-step { padding-block: 12px 14px; }
  .walkthrough-step::before, .walkthrough-step::after { left: 6px; right: 6px; bottom: 5px; }
  .walkthrough-media { margin: 0 8px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .walkthrough-step { transition: none; }
}
@media (max-width: 420px) {
  .walkthrough-steps { gap: 4px; }
  .walkthrough-step { padding-inline: 0; }
  .walkthrough-step > span { font-size: 11px; }
}
