.product-info .pwd-video-trigger{position:relative;display:block;overflow:hidden;padding:0;background:#fff;border:1px solid #ddd;color:#173f3c;cursor:pointer;font:inherit;flex-shrink:0;line-height:1}
.product-info .pwd-video-trigger img{display:block;width:100%;height:auto}
.product-info .pwd-video-trigger:focus-visible{outline:3px solid #173f3c;outline-offset:2px}
.product-info .pwd-video-trigger:hover{border-color:#11c9c0}
.product-info .pwd-video-fixed-thumb{position:absolute;top:0;right:0;margin:0;z-index:3}
.direction-horizontal .pwd-video-rail{position:relative;display:flex;justify-content:center;align-items:flex-start;gap:10px;min-height:var(--pwd-video-thumb-height,90px)}
.direction-horizontal .pwd-video-rail>.swiper-container{flex:0 1 calc(var(--pwd-video-thumb-width,90px) * var(--pwd-video-photo-count,2));width:calc(var(--pwd-video-thumb-width,90px) * var(--pwd-video-photo-count,2));max-width:calc(100% - var(--pwd-video-thumb-width,90px) - 10px);margin:0}
.direction-horizontal .pwd-video-rail>.swiper-container>.swiper-wrapper>.additional-image{width:var(--pwd-video-thumb-width,90px)}
.product-info .direction-horizontal .pwd-video-fixed-thumb{position:relative;top:auto;right:auto;flex:0 0 var(--pwd-video-thumb-width,90px)}
.direction-horizontal .pwd-video-rail>.swiper-buttons .swiper-button-next{right:calc(var(--pwd-video-thumb-width,90px) + 10px)}
.direction-vertical .pwd-video-rail{position:relative;padding-bottom:calc(var(--pwd-video-thumb-height,90px) + 10px);min-height:calc(var(--pwd-video-thumb-height,90px) * 2 + 10px)}
.direction-vertical .pwd-video-rail>.swiper-container{height:100%}
.product-info .direction-vertical .pwd-video-fixed-thumb{top:auto;bottom:0}
.direction-vertical .pwd-video-rail>.swiper-buttons .swiper-button-next{bottom:calc(var(--pwd-video-thumb-height,90px) + 10px)}
.pwd-video-badge{position:absolute;inset:auto 0 0;display:flex;align-items:center;justify-content:center;gap:5px;min-height:25px;background:#11c9c0;color:#173f3c;font-family:inherit;font-weight:700;font-size:12px;line-height:1.4;padding:4px}
.pwd-video-play{display:inline-block;width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:8px solid #173f3c}
.pwd-video-standalone{margin-top:12px;max-width:90px}
.pwd-video-dialog{position:fixed;inset:0;margin:auto;width:min(92vw,800px);max-width:92vw;max-height:94vh;max-height:94dvh;padding:0;border:0;border-radius:8px;background:#fff;color:#173f3c;box-shadow:0 12px 60px #0005;overflow:auto;z-index:2147483000;font:inherit}
.pwd-video-dialog:not([open]){display:none}
.pwd-video-dialog::backdrop{background:rgba(0,0,0,.68)}
.pwd-video-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #eee}
.pwd-video-title{margin:0;font-family:inherit;font-weight:600;font-size:17px;line-height:1.4;color:inherit}
.pwd-video-close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:4px;background:#f2f5f4;color:#173f3c;cursor:pointer;font:inherit;font-size:30px;line-height:1}
.pwd-video-close:focus-visible{outline:3px solid #173f3c;outline-offset:2px}
.pwd-video-dialog video{display:block;width:100%;height:auto;max-height:calc(90vh - 110px);max-height:calc(90dvh - 110px);object-fit:contain;background:#fff}
.pwd-video-status{margin:0;padding:8px 16px;font:inherit;font-size:14px}
.pwd-video-status:empty{display:none}
html.pwd-video-open{overflow:hidden}
@media(max-width:600px){.pwd-video-dialog{width:96vw;max-width:96vw}.pwd-video-header{padding:8px 12px}.pwd-video-title{font-size:15px}}

/* Keep real photo/video thumbnails above Journal's mobile dot navigation rules. */
@media(max-width:767px){
  .product-info .direction-horizontal .pwd-video-rail .additional-image{
    width:var(--pwd-video-thumb-width,90px);
    height:var(--pwd-video-thumb-height,90px);
    min-height:var(--pwd-video-thumb-height,90px);
    margin:0;
    padding:0;
    border-radius:0;
    background:#fff;
  }
  .product-info .direction-horizontal .pwd-video-rail .additional-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
  }
  .product-info .direction-horizontal .pwd-video-trigger{
    height:var(--pwd-video-thumb-height,90px);
    min-height:var(--pwd-video-thumb-height,90px);
    border-radius:0;
    background:#fff;
  }
}
