.product-stories { margin: 24px 0 8px; color: inherit; }
.product-stories__heading { font: inherit; font-weight: 600; font-size: 15px; margin: 0 0 14px; }
.product-stories__list { display: flex; gap: 16px; padding: 2px 2px 10px; overflow-x: auto; scrollbar-width: thin; }
.product-stories__item { flex: 0 0 88px; width: 88px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.product-stories__item:hover { color: inherit; text-decoration: none; }
.product-stories__circle { position: relative; display: grid; place-items: center; width: 84px; height: 84px; flex-shrink: 0; padding: 3px; border: 2px solid #a34f70; border-radius: 50%; background: #f7eff2; }
.product-stories__circle img { display: block; width: 74px; height: 74px; border-radius: 50%; object-fit: cover; }
.product-stories__play { position: absolute; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #0009; color: #fff; font-size: 11px; padding-left: 2px; }
.product-stories__seen { display: none; position: absolute; right: -1px; bottom: 0; border-radius: 50%; background: #fff; color: #5b625f; border: 1px solid #b2b6b3; width: 21px; height: 21px; font-size: 13px; text-align: center; line-height: 19px; }
.product-stories__item.is-seen .product-stories__circle { border-color: #b2b6b3; background: #f3f3f1; }
.product-stories__item.is-seen .product-stories__seen { display: block; }
.product-stories__title { font-size: 12px; line-height: 1.35; text-align: center; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-stories__item:focus-visible { outline: 2px solid #a34f70; outline-offset: 4px; border-radius: 5px; }
.product-story-viewer { position: fixed; inset: 0; box-sizing: border-box; width: 100vw; height: 100dvh; max-width: none; max-height: none; border: 0; padding: 24px; margin: 0; background: transparent; color: #fff; overflow: hidden; }
.product-story-viewer[open] { display: grid; place-items: center; }
.product-story-viewer::backdrop { background: #111e; }
.product-story-viewer__stage { position: relative; width: min(440px, 100%); height: 100%; max-height: 820px; background: #151515; border-radius: 14px; overflow: hidden; isolation: isolate; touch-action: pan-y; }
.product-story-viewer__video { display: block; width: 100%; height: 100%; object-fit: contain; cursor: pointer; }
.product-story-viewer__header { position: absolute; inset: 0 0 auto; padding: 12px; background: linear-gradient(#000b, #0000); z-index: 3; }
.product-story-viewer__progress { display: flex; gap: 4px; margin-bottom: 12px; }
.product-story-viewer__bar { flex: 1; height: 3px; border-radius: 4px; background: #ffffff55; overflow: hidden; }
.product-story-viewer__bar > span { display: block; width: 100%; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.product-story-viewer__toolbar { display: flex; align-items: center; gap: 4px; }
.product-story-viewer__info { flex: 1; min-width: 0; padding: 0 4px; text-shadow: 0 1px 4px #000; }
.product-story-viewer__title { display: block; color: #fff; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.product-story-viewer__time { display: block; font-size: 11px; opacity: .85; margin-top: 4px; font-variant-numeric: tabular-nums; }
.product-story-viewer__button, .product-story-viewer__nav { display: grid; place-items: center; flex-shrink: 0; border: 0; padding: 0; width: 44px; height: 44px; border-radius: 50%; background: #0005; color: #fff; cursor: pointer; font-size: 24px; line-height: 1; }
.product-story-viewer__sound svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.product-story-viewer__sound-off, .product-story-viewer__sound.is-muted .product-story-viewer__sound-on { display: none; }
.product-story-viewer__sound.is-muted .product-story-viewer__sound-off { display: inline; }
.product-story-viewer__button:hover, .product-story-viewer__nav:hover { background: #0009; }
.product-story-viewer button:focus-visible, .product-story-viewer a:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.product-story-viewer__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; font-size: 32px; }
.product-story-viewer__nav--previous { left: 8px; }
.product-story-viewer__nav--next { right: 8px; }
.product-story-viewer__nav:disabled { visibility: hidden; }
.product-story-viewer__status { position: absolute; top: 48%; left: 58px; right: 58px; text-align: center; color: #fff; background: #000a; border-radius: 8px; padding: 12px; font-size: 14px; pointer-events: none; }
.product-story-viewer__status:empty { display: none; }
.product-story-viewer__error { position: absolute; top: 65%; left: 58px; right: 58px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.product-story-viewer__error[hidden] { display: none; }
.product-story-viewer__error button, .product-story-viewer__error a { display: inline-block; background: #fff; border: 0; border-radius: 6px; padding: 10px 14px; color: #111; font-size: 13px; text-decoration: none; cursor: pointer; }
@media (max-width: 575px) {
    .product-story-viewer { padding: 0; }
    .product-story-viewer__stage { width: 100%; height: 100%; max-height: none; border-radius: 0; }
    .product-story-viewer__header { padding-top: max(12px, env(safe-area-inset-top)); padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
}
@media (prefers-reduced-motion: reduce) {
    .product-stories *, .product-story-viewer * { scroll-behavior: auto; transition: none; }
}
