.product-page .product-info .product-colors .btn-show-colors {
    display: none;
}

.product-story-preview {
    position: relative;
    background: #000;
}

.product-story-preview video {
    display: block;
    aspect-ratio: 1110 / 1336;
    object-fit: contain;
}

.product-story-open {
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.product-story-open:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}

.product-story-dialog {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #000;
    color: #fff;
}

.product-story-dialog::backdrop {
    background: rgb(0 0 0 / 75%);
}

@media (min-width: 992px) {
    .product-story-dialog {
        width: min(960px, calc(100% - 48px));
        height: min(720px, calc(100% - 48px));
        height: min(720px, calc(100dvh - 48px));
        margin: auto;
    }
}

html:has(.product-story-dialog[open]) {
    overflow: hidden;
}

.product-story-dialog video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-story-swipe {
    position: absolute;
    inset: 0 0 max(80px, env(safe-area-inset-bottom)) 0;
    touch-action: none;
}

@media (min-width: 992px) {
    .product-story-swipe {
        display: none;
    }
}

.product-story-play {
    position: absolute;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #222;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.product-story-play[hidden] {
    display: none;
}

.product-story-play {
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
