/** Shopify CDN: Minification failed

Line 246:8 Unexpected "{"
Line 247:8 Expected identifier but found "%"
Line 250:8 Unexpected "{"
Line 251:8 Expected identifier but found "%"
Line 254:8 Unexpected "{"
Line 255:8 Expected identifier but found "%"
Line 258:8 Unexpected "{"
Line 259:8 Expected identifier but found "%"

**/
.timer-container {
    display: flex;
    gap: 4px;
    position: absolute;
    left: 36% !important;
    transform: translateX(-50%);
    top: 15px;
    z-index: 2;
    width: 25%;
    display: none;
}

.stories-container {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 100%;
    left: 0;
    z-index: 99999 !important;
    background-color: #000000ee;
    display: flex;
    visibility: visible;
    top: 0;

    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.stories-container.show-stories {
    opacity: 1;
    pointer-events: all;
    z-index: 0;
}

.stories-container .button--close {
    display: block;
    position: absolute;
    background-color: #000;
    width: 40px;
    height: 40px;
    top: 10px;
    right: 10px;
    border-radius: 10%;
    border: none;
}

.stories-container .button--close svg {
    fill: #fff;
    stroke: #fff;
    width: 1.5rem;
    height: 1.5rem;
}

.product-story-video,
.product-story-video iframe {
    width: 100%;
    height: 100vh;
}

.stories-wrapper:not(.slick-initialized) .product-story-video {
    min-width: 300px;
}

.product-story-video video {
    width: 100%;
    height: 100%;
}

.stories-container .stories-wrapper {
    width: 72.5%;
}

.stories-wrapper .slick-prev {
    margin-left: 20px;
}

.stories-wrapper .slick-next {
    margin-right: 20px;
}

.stories-wrapper .slick-arrow {
    border: 1px solid #fff;
}

.stories-wrapper .slick-arrow svg {
    fill: #000;
    color: #000;
}

.stories-container .stories-info {
    width: 27.5%;
    background-color: #fff;
    padding: 10px 30px 10px 20px;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stories-price .price-item {
    font-size: calc(var(--product-price-font-size) + 6px);
}

.stories-price .price {
    justify-content: left;
}

.stories-form .button {
    background: #e5187e !important;
    border-color: #e5187e !important;
    color: #fff !important;
    margin: 24px 0;
}

.stories-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

select.stories-select {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #cecece;
}

.stories-tab .tab-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    padding: 10px 0;
    border-bottom: 1px solid #cecece;
    cursor: pointer;
    margin-bottom: 15px;
}

.stories-description {
    color: #3D3D3D;
    font-size: 14px;
    line-height: 1.7;
}

.stories-tab .tab-title p {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

.stories-tab-content {
    height: 0px;
    overflow: hidden;
    transition: height 1s;
}

.open-tab {
    height: auto;
    overflow: auto;
    max-height: 450px;
}

.story-product-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 1200px) {
    .stories-container .stories-wrapper {
        width: 62.5%;
    }

    .stories-container .stories-info {
        width: 37.5%;
    }

    .timer-container {
        left: 30% !important;
    }
}

@media screen and (max-width: 1024px) {
    .stories-container .stories-wrapper {
        width: 50%;
    }

    .stories-container .stories-info {
        width: 50%;
    }

    .timer-container {
        left: 23.8% !important;
    }

    .stories-container .button--close {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .stories-container .stories-wrapper {
        width: 100% !important;
    }


    .stories-container .stories-info {
        display: none !important;
        width: 0%;
    }

    .stories-container .button--close {
        left: 10px !important;
        top: 50px !important;
        right: unset;
    }

    .timer-container {
        width: 80% !important;
        left: 50% !important;
    }
}

.product-story-video {
    position: relative;
}

#video-timer-wrapper {
    height: 4px;

        {
        % assign length=0 %
    }

        {
        % for text in product.metafields.custom.stories_play.value %
    }

        {
        % assign length=length | plus: 1 %
    }

        {
        % endfor %
    }

    width: calc(100% / {
                {
                length
            }
        }

        - 4px);
    margin: 8px auto;
    border-radius: 999px;
    background-color: #ffffff50;
}

#video-timer-wrapper .timer-line {
    display: block;
    background: #fff;
    width: 0%;
    height: 100%;
    border-radius: 999px;
    transition: all .3s linear;
}

.product-stories-wrapper {
    display: flex;
    overflow-x: auto;
    flex-direction: row;
    gap: 10px;
    margin-top: 16px;
    align-items: center;
}

.videos-wrapper {
    display: flex;
    gap: 10px;
}

.product-stories-wrapper p {
    margin: 0;
    display: block;
    max-width: 150px;
    max-height: fit-content;
}

.product-stories-wrapper::-webkit-scrollbar {
    height: 2px;
}

.product-stories-wrapper::-webkit-scrollbar-track {
    background: #fafafa;
}

.product-stories-wrapper::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 20px;
}

.product-story {
    position: relative;
    display: block;
    min-width: 75px;
    width: 90px;
    height: 120px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
}

/* .product-story:before {
    content: '';
    top: 0;
    left: 0;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
} */

.product-story .product-story-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    width: 90px;
    height: 120px;
    border-radius: 25px;
    overflow: hidden;
}

.product-story .product-story-thumb img {
    border-radius: 25px;
    object-fit: cover;
    cursor: pointer;
    height: 100%;
    width: 100%;
}

.product-story-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stories-opened {
    overflow: hidden !important;
}

.stories-block-header .title {
    color: #4c3772;
    font-size: 20px;
}

html[data-theme="dark"] .stories-block-header .title {
    color: var(--text-color);
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {
    .product-stories-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
}