
/* MYPROT Brand Stories - isolated theme reset */
.myprot-stories-m7x9q2 .myprot-story-brand-m7x9q2,
.myprot-stories-m7x9q2 .myprot-brand-scroll-m7x9q2,
.myprot-stories-m7x9q2 .myprot-story-close-m7x9q2{
    box-sizing:border-box !important;
    margin:0 !important;
    border:0 !important;
    outline:0 !important;
    box-shadow:none !important;
    background:transparent !important;
    background-image:none !important;
    min-width:0 !important;
    min-height:0 !important;
    padding:0 !important;
    font-family:inherit !important;
    font-style:normal !important;
    font-variant:normal !important;
    text-transform:none !important;
    letter-spacing:normal !important;
    word-spacing:normal !important;
    text-indent:0 !important;
    text-shadow:none !important;
    -webkit-appearance:none !important;
    appearance:none !important;
}

.myprot-stories-m7x9q2 .myprot-story-brand-m7x9q2{
    background:transparent !important;
    background-color:transparent !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:flex-start !important;
    width:100px !important;
    min-width:100px !important;
    height:auto !important;
    line-height:normal !important;
    font-size:0 !important;
    cursor:pointer !important;
    border-radius:0 !important;
}

.myprot-stories-m7x9q2 .myprot-brand-scroll-m7x9q2{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    cursor:pointer !important;
}

.myprot-stories-m7x9q2 .myprot-story-close-m7x9q2{
    display:block !important;
    width:40px !important;
    min-width:40px !important;
    height:40px !important;
    line-height:40px !important;
    font-size:32px !important;
    color:#fff !important;
    cursor:pointer !important;
}

@media (max-width:600px){
    .myprot-stories-m7x9q2 .myprot-story-brand-m7x9q2{
        width:72px !important;
        min-width:72px !important;
        height:auto !important;
    }
}

.myprot-stories-m7x9q2{
    --myprot-story-ring: #18a957;
    --myprot-story-bg: transparent;
}

/* =========================================
   MAIN STORIES CONTAINER
========================================= */

.myprot-stories-m7x9q2 {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: transparent !important;
}


/* =========================================
   BRAND STORIES HORIZONTAL TRACK
========================================= */

.myprot-stories-m7x9q2 .myprot-stories-track-m7x9q2{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    padding: 2px 12px 5px;

    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.myprot-stories-m7x9q2 .myprot-stories-track-m7x9q2::-webkit-scrollbar{
    display: none;
}


/* =========================================
   BRAND ITEM
========================================= */

.myprot-stories-m7x9q2 .myprot-story-brand-m7x9q2{
    flex: 0 0 auto;

    width: 100px !important;
    min-width: 100px !important;

    height: auto !important;

    border: 0 !important;
    outline: 0 !important;

    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;
    background-color: transparent !important;

    box-shadow: none !important;

    color: inherit;

    cursor: pointer;

    text-align: center;

    font: inherit;

    border-radius: 0 !important;

    -webkit-appearance: none;
    appearance: none;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
}


/* Remove any hover background */

.myprot-story-brand-m7x9q2:hover,
.myprot-story-brand-m7x9q2:focus,
.myprot-story-brand-m7x9q2:active,
.myprot-stories-m7x9q2 .myprot-story-brand-m7x9q2:visited{
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}


/* =========================================
   STORY RING
========================================= */

.myprot-stories-m7x9q2 .myprot-story-ring-m7x9q2{
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100px;
    height: 100px;

    flex: 0 0 100px;

    margin: 0;

    border-radius: 50%;

    padding: 2px;

    background: #18a957;

    transition: none !important;
}


/* =========================================
   BRAND LOGO
========================================= */

.myprot-stories-m7x9q2 .myprot-story-avatar-m7x9q2{
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    border-radius: 50%;

    background: #fff;

    padding: 2px;

    overflow: hidden;
}

.myprot-stories-m7x9q2 .myprot-story-avatar-m7x9q2 img{
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;
}


/* =========================================
   FALLBACK LETTER
========================================= */

.myprot-stories-m7x9q2 .myprot-story-letter-m7x9q2{
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    border-radius: 50%;

    background: #111;

    color: #fff;

    font-weight: 700;
    font-size: 24px;
}


/* =========================================
   BRAND NAME
========================================= */

.myprot-stories-m7x9q2 .myprot-story-name-m7x9q2{
    display: block !important;

    width: 100px;
    max-width: 100px;

    margin: 6px auto 0;

    padding: 0;

    text-align: center;

    font-size: 11px;
    line-height: 16px;

    font-weight: 500;

    color: #111;

    background: transparent !important;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* =========================================
   STORY VIEWER
========================================= */

.myprot-stories-m7x9q2 .myprot-story-viewer-m7x9q2{
    position: fixed;

    inset: 0;

    z-index: 999999;

    display: none;

    align-items: center;
    justify-content: center;
}

.myprot-stories-m7x9q2 .myprot-story-viewer-m7x9q2.is-open{
    display: flex;
}


/* =========================================
   VIEWER BACKDROP
========================================= */

.myprot-stories-m7x9q2 .myprot-story-backdrop-m7x9q2{
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, .92);
}


/* =========================================
   STORY DIALOG
========================================= */

.myprot-stories-m7x9q2 .myprot-story-dialog-m7x9q2{
    position: relative;

    z-index: 2;

    width: min(100vw, 520px);

    height: min(100vh, 920px);

    background: #111;

    overflow: hidden;

    border-radius: 0;

    touch-action: pan-y;
}


/* =========================================
   TOP AREA
========================================= */

.myprot-stories-m7x9q2 .myprot-story-top-m7x9q2{
    position: absolute;

    z-index: 5;

    top: 0;
    left: 0;
    right: 0;

    padding: 10px 10px 0;
}


/* =========================================
   PROGRESS BAR
========================================= */

.myprot-stories-m7x9q2 .myprot-story-progress-m7x9q2{
    display: flex;

    gap: 4px;

    width: 100%;

    height: 3px;
}

.myprot-stories-m7x9q2 .myprot-progress-bar-m7x9q2{
    position: relative;

    flex: 1;

    min-width: 0;

    overflow: hidden;

    border-radius: 99px;

    background: rgba(255, 255, 255, .35);
}

.myprot-stories-m7x9q2 .myprot-progress-bar-m7x9q2::after{
    content: "";

    position: absolute;

    inset: 0;

    transform: scaleX(0);

    transform-origin: left center;

    background: #fff;
}

.myprot-stories-m7x9q2 .myprot-progress-bar-m7x9q2.is-complete::after{
    transform: scaleX(1);
}

.myprot-stories-m7x9q2 .myprot-progress-bar-m7x9q2.is-running::after{
    animation:
        myprotStoryProgress
        var(--myprot-duration)
        linear
        forwards;
}


@keyframes myprotStoryProgress {

    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }

}


/* =========================================
   VIEWER HEADER
========================================= */

.myprot-stories-m7x9q2 .myprot-story-header-m7x9q2{
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-top: 12px;

    color: #fff;
}

.myprot-stories-m7x9q2 .myprot-story-brand-info-m7x9q2{
    display: flex;

    align-items: center;

    gap: 9px;

    min-width: 0;
}


/* =========================================
   VIEWER AVATAR
========================================= */

.myprot-stories-m7x9q2 .myprot-viewer-avatar-m7x9q2{
    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    border-radius: 50%;

    overflow: hidden;

    background: #fff;
}

.myprot-stories-m7x9q2 .myprot-viewer-avatar-m7x9q2 img{
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.myprot-stories-m7x9q2 .myprot-viewer-avatar-m7x9q2 span{
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    background: #111;

    color: #fff;

    font-weight: 700;
}


/* =========================================
   VIEWER BRAND NAME
========================================= */

.myprot-stories-m7x9q2 .myprot-viewer-brand-m7x9q2{
    font-size: 14px;

    font-weight: 700;

    text-shadow:
        0 1px 4px rgba(0, 0, 0, .5);
}


/* =========================================
   CLOSE BUTTON
========================================= */

.myprot-stories-m7x9q2 .myprot-story-close-m7x9q2{
    width: 40px;
    min-width: 20px;
    height: 40px;
    border: 0;
    padding: 0;
    background: transparent !important;
    color: #fff;
    font-size: 32px;
    line-height: 40px;
    cursor: pointer;
}


/* =========================================
   STORY MEDIA
========================================= */

.myprot-stories-m7x9q2 .myprot-story-media-m7x9q2{
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #111;
}

.myprot-story-image-m7x9q2,
.myprot-stories-m7x9q2 .myprot-story-video-m7x9q2{
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    user-select: none;

    -webkit-user-drag: none;
}


/* =========================================
   OLD < > BUTTONS
   Hidden — navigation is by clicking
   left/right halves of the Story
========================================= */

.myprot-stories-m7x9q2 .myprot-story-nav-m7x9q2{
    display: none !important;
}


/* =========================================
   BUY BUTTON
========================================= */

.myprot-stories-m7x9q2 .myprot-story-bottom-m7x9q2{
    position: absolute;

    z-index: 7;

    left: 0;
    right: 0;

    bottom: 0;

    display: flex;

    justify-content: center;

    padding:
        0
        16px
        22px;
}

.myprot-stories-m7x9q2 .myprot-story-instagram-m7x9q2{
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 0 20px;

    border-radius: 999px;

    background: rgba(255, 255, 255, .94);

    color: #111 !important;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none !important;

    box-shadow:
        0 4px 18px rgba(0, 0, 0, .25);
}


/* =========================================
   DESKTOP / TABLET SCROLL BUTTONS
========================================= */

.myprot-stories-m7x9q2 .myprot-brand-scroll-m7x9q2{
    position: absolute;

    padding: 0;

    min-width: 15px !important;

    z-index: 3;

    top: 50%;

    transform: translateY(-50%);

    width: 15px;

    height: 54px;

    border: 0;

    border-radius: 7px;

    background: transparent !important;

    color: #000 !important;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, .12);

    font-size: 32px;

    line-height: 50px;

    align-items: center;

    justify-content: center;

    cursor: pointer;
}

.myprot-stories-m7x9q2 .myprot-brand-scroll-prev-m7x9q2{
    left: 2px;
}

.myprot-stories-m7x9q2 .myprot-brand-scroll-next-m7x9q2{
    right: 2px;
}

.myprot-stories-m7x9q2 .myprot-brand-scroll-m7x9q2:disabled{
    opacity: .35;

    cursor: default;
}


/* =========================================
   DESKTOP + TABLET
   7 STORIES
========================================= */

@media (min-width: 601px) {

    .myprot-brand-scroll-m7x9q2 {
        display: flex;
    }

    .myprot-stories-track-m7x9q2 {
        gap: 8px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .myprot-story-brand-m7x9q2 {
        width: calc((100% - 7 * 8px) / 8) !important;
        min-width: calc((100% - 7 * 8px) / 8) !important;
        height: auto !important;
    }

    .myprot-story-ring-m7x9q2 {
        width: 100px;
        height: 100px;
        flex: 0 0 100px;
    }

    .myprot-story-name-m7x9q2 {
        width: 100px;
        max-width: 100px;
        margin-top: 6px;
    }

}


/* =========================================
   MOBILE
   4 STORIES + PART OF 5TH
========================================= */

@media (max-width: 600px) {

.myprot-stories-m7x9q2 .myprot-brand-scroll-m7x9q2{
        display: none !important;
    }

.myprot-stories-m7x9q2 .myprot-stories-track-m7x9q2{
        gap: 10px !important;
        padding-left: 8px;
        padding-right: 8px;
    }

.myprot-stories-m7x9q2 .myprot-story-brand-m7x9q2{
        width: 72px !important;
        min-width: 72px !important;
        height: auto !important;
    }

.myprot-stories-m7x9q2 .myprot-story-ring-m7x9q2{
        width: 72px !important;
        height: 72px !important;
        flex: 0 0 72px !important;
    }

.myprot-stories-m7x9q2 .myprot-story-name-m7x9q2{
        width: 72px;
        max-width: 72px;
        margin-top: 6px;
        font-size: 11px;
        line-height: 16px;
    }

.myprot-stories-m7x9q2 .myprot-story-dialog-m7x9q2{
        width: 100vw;
        height: 100dvh;
    }

}


/* =========================================
   CLEAN MYPROT STYLE
========================================= */

.myprot-stories-m7x9q2,
.myprot-stories-track-m7x9q2,
.myprot-story-brand-m7x9q2,
.myprot-story-brand-m7x9q2:hover,
.myprot-story-brand-m7x9q2:focus,
.myprot-story-brand-m7x9q2:active,
.myprot-stories-m7x9q2 .myprot-story-brand-m7x9q2:visited{

    background: transparent !important;

    background-color: transparent !important;

    box-shadow: none !important;
}

.myprot-story-brand-m7x9q2:hover .myprot-story-ring-m7x9q2,
.myprot-story-brand-m7x9q2:focus .myprot-story-ring-m7x9q2,
.myprot-stories-m7x9q2 .myprot-story-brand-m7x9q2:active .myprot-story-ring-m7x9q2{

    transform: none !important;

    box-shadow: none !important;
}

.myprot-stories-m7x9q2 .myprot-story-ring-m7x9q2{

    transition: none !important;
}


/* =========================================
   PAUSE STATE
========================================= */

.myprot-stories-m7x9q2.is-paused
.myprot-stories-m7x9q2 .myprot-progress-bar-m7x9q2.is-running::after{

    animation-play-state: paused !important;
}

.myprot-stories-m7x9q2.is-paused
.myprot-stories-m7x9q2 .myprot-story-media-m7x9q2{

    cursor: pointer;
}



/* MYPROT Brand Stories - transparent brand item */
.myprot-stories-m7x9q2 .myprot-story-brand-m7x9q2,
.myprot-stories-m7x9q2 .myprot-story-brand-m7x9q2:hover,
.myprot-stories-m7x9q2 .myprot-story-brand-m7x9q2:focus,
.myprot-stories-m7x9q2 .myprot-story-brand-m7x9q2:active {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* MYPROT Brand Stories - desktop 8 items / tight spacing */
@media (min-width:601px){
    .myprot-stories-m7x9q2 .myprot-stories-track-m7x9q2{
        gap:8px !important;
        padding-left:32px !important;
        padding-right:32px !important;
    }
    .myprot-stories-m7x9q2 .myprot-story-brand-m7x9q2{
        width:calc((100% - 7 * 8px) / 8) !important;
        min-width:calc((100% - 7 * 8px) / 8) !important;
    }
}
