.admin-bar #stark_side_bar {
    top: 32px;
}

#stark_side_bar.active {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

#stark_side_bar {
    position: fixed;
    right: 0;
    top: 32px;
    bottom: 0px;
    z-index: 99;
    width: 520px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    touch-action: none;
    border-radius: 0 !important;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    background-color: #48445c80 !important;
    transition: transform 0.3s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.25s cubic-bezier(0.77, 0.2, 0.05, 1), top 0.3s;
    transform: translateX(100%);
    left: auto;
    color: #fff;

    .title-bar {
        position: relative;
        z-index: 999;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;

        .modal-back-button {
            width: 38px;
            height: 38px;
            position: absolute;
            top: 10px;
            left: 20px;
            cursor: pointer;
            font-size: 0;
            z-index: 9;
        }

        .modal-back-button::after {
            content: "";
            margin-right: 0;
            background: url(../../images/sf-1/arr-modal-back-2.svg);
            background-size: contain;
            width: 20px;
            height: 20px;
            position: absolute;
            top: 9px;
            left: 9px;
            transform: rotate(270deg);
        }

        .modal-title {
            position: relative;
            text-align: center;
            height: 36px;
            font-family: 'Poppins';
            background: #00000000;
            color: #ffffff;
            font-size: 16px;
            margin: 0 1em;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            justify-content: center;
            align-items: center;
            border-bottom: 1.5px solid #ffffff52;
        }

        .close-modal {
            width: 36px;
            height: 36px;
            position: absolute;
            top: 0;
            right: 16px;
            cursor: pointer;
            font-size: 0;
            z-index: 9;
        }

        .close-modal::after {
            content: "";
            margin-right: 0;
            background: url(../../images/stark-frame/cross-title.svg);
            background-size: contain;
            width: 14px;
            height: 14px;
            position: absolute;
            top: 11px;
            right: 12px;
        }

    }

    .stark_modal_page {
        overflow-y: hidden;
        height: 100%;

        h3.stark-page-title {
            display: none;
        }

        #reviews {
            display: flex;
            flex-direction: column;
            flex-wrap: nowrap;
            left: unset !important;
            width: 100%;
            margin: unset;
            height: 100%;

            #comments {
                width: unset !important;
                padding: unset !important;
                height: 100%;

                .reviews-butt-cont {
                    margin: 0 5px;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    height: 100%;

                    .all-reviews-butt-cont {
                        display: flex;
                        flex-direction: row;
                        flex-wrap: nowrap;
                        justify-content: space-between;
                        margin: 0 1em 0;
                        border-top: 1.5px solid var(--light-trans-bg);

                        .all-reviews-butt {
                            color: var(--dark-theme-text-color);
                            width: 100%;
                            padding: 7px 20px !important;
                            border-radius: 10px;
                            font-size: 14px;
                            background: var(--dark-orange-clr);
                            height: 38px;
                            margin: 1em 0;
                            text-transform: uppercase;
                            font-weight: 600;
                            text-align: center;
                        }
                    }

                    .reviews-butt {
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;
                        overflow-y: hidden;
                        height: 100%;

                        .commentlist {
                            width: 100%;
                            margin: 0;
                            list-style-type: none;
                            padding: 1em 1.2em 0;
                            width: 100%;
                            margin: 0;
                            list-style-type: none;
                            padding: 1em 1.2em 0;
                            scrollbar-gutter: stable;
                            display: flex;
                            scrollbar-width: thin;
                            overflow: scroll;
                            gap: 1em;
                            scrollbar-color: #ebeaf2 transparent;
                            flex-direction: column;
                            flex-wrap: nowrap;

                            li.review {
                                background: #00000075 !important;
                                box-shadow: 0 0px 0 0 #e3e3e3;
                                overflow: hidden;
                                max-height: unset;
                                box-sizing: border-box;
                                margin-top: 0em !important;
                                margin-bottom: 0em !important;
                                padding: 0.5em 0.5em 15px !important;
                                width: 100%;
                                display: flex;
                                flex-direction: column;
                                flex-wrap: nowrap;
                                align-items: stretch;
                                height: fit-content;
                                position: unset;
                                border-radius: 15px;

                                .open-full-cont {
                                    display: none;
                                }

                                .comment_container {

                                    .comment-header {
                                        display: flex;
                                        flex-direction: row;
                                        flex-wrap: nowrap;
                                        align-items: center;
                                        width: 100%;

                                        .avatar {
                                            width: 65px !important;
                                            height: 65px !important;
                                            padding: 3px !important;
                                            background: transparent !important;
                                            border-radius: 50%;
                                            margin-right: 10px !important;
                                            line-height: 1;
                                            position: unset !important;
                                            border: unset !important;
                                        }

                                        .comment-meta {
                                            display: flex;
                                            flex-direction: column;
                                            height: 60px;
                                            justify-content: space-between;

                                            .review-product-rating {
                                                display: flex;
                                                flex-direction: row;
                                                flex-wrap: nowrap;
                                                width: fit-content;
                                                justify-content: flex-start;
                                                gap: 0.5em;

                                                .rating {
                                                    display: none;
                                                }

                                                .star-rating::before {
                                                    top: 0;
                                                    left: 0;
                                                    position: absolute;
                                                    background-image: url(../../images/stark-frame/a1-star-g.svg);
                                                    content: '';
                                                    display: block;
                                                    height: 100%;
                                                    width: 100%;
                                                    background-size: contain;
                                                }

                                                .star-rating {
                                                    position: relative;
                                                    height: 20px;
                                                    width: 7.1em;

                                                    span::before {
                                                        background-image: url(../../images/stark-frame/a1-star-o.svg);
                                                        content: '';
                                                        background-size: contain;
                                                        top: 0;
                                                        position: absolute;
                                                        left: 0;
                                                        width: 100%;
                                                        height: 100%;
                                                    }

                                                    span {
                                                        float: left;
                                                        top: 0;
                                                        left: 0px;
                                                        position: absolute;
                                                        height: 100%;
                                                    }
                                                }
                                            }

                                            .meta {
                                                display: flex;
                                                flex-direction: column;
                                                flex-wrap: nowrap;
                                                align-items: flex-start;
                                                margin: 0;
                                                justify-content: center;

                                                strong {
                                                    color: #ffffff;
                                                }

                                                time.woocommerce-review__published-date {
                                                    color: #ffffff82;
                                                }

                                            }

                                            .comment-media-count {
                                                display: none;
                                            }
                                        }
                                    }

                                    .comment-text {
                                        background: #ffffff32;
                                        border-radius: 12px;
                                        position: relative;
                                        display: flex;
                                        flex-direction: row;
                                        gap: 0.5em;
                                        margin: 1.5em 3em 0px 1em !important;
                                        border: unset !important;
                                        padding: 0px !important;
                                        width: fit-content;
                                        max-width: calc(100% - 4em);

                                        .description {
                                            width: 100%;

                                            p::before {
                                                content: "";
                                                background: url(../../images/stark-frame/tongue_tr.svg);
                                                background-size: cover;
                                                position: absolute;
                                                top: 0;
                                                left: 0;
                                                width: 30px;
                                                height: 30px;
                                                margin-right: 0;
                                                transform: translate(25px, -24.9px);
                                            }

                                            p {
                                                padding: 3px 0;
                                                min-width: 50px;
                                                display: flex;
                                                margin: 1em 1.5em;
                                            }

                                            .scroll-arrow {
                                                background: #00000075 !important;
                                                backdrop-filter: blur(2px);
                                                box-shadow: unset !important;
                                                z-index: 10 !important;
                                            }

                                            .scroll-arrow::before {
                                                content: '';
                                                background: url(../../images/stark-frame/arr-w.svg) !important;
                                                background-size: cover !important;
                                                width: 38px;
                                                height: 38px;
                                                position: absolute;
                                                top: 0px;
                                                left: 0px;
                                            }

                                            .comment-text-media {
                                                display: flex;
                                                align-items: flex-start;
                                                width: 100%;
                                                margin: 10px 0;
                                                position: relative;

                                                .scroll-arrow {
                                                    background: #00000075 !important;
                                                    backdrop-filter: blur(2px);
                                                    box-shadow: unset !important;
                                                    z-index: 10 !important;
                                                }

                                                .scroll-arrow::before {
                                                    content: '';
                                                    background: url(../../images/stark-frame/arr-w.svg) !important;
                                                    background-size: cover !important;
                                                    width: 38px;
                                                    height: 38px;
                                                    position: absolute;
                                                    top: 0px;
                                                    left: 0px;
                                                }

                                                .all-comment-media-cont {
                                                    position: relative;
                                                    overflow: hidden;
                                                    scrollbar-width: thin;
                                                    scrollbar-color: #bababa transparent;
                                                    scrollbar-gutter: stable;

                                                    .all-comment-media {
                                                        list-style-type: none;
                                                        margin: 0px;
                                                        padding: 0;
                                                        display: flex;
                                                        flex-direction: row;
                                                        flex-wrap: nowrap;
                                                        justify-content: flex-start;

                                                        li:first-child {
                                                            margin-left: 1.5em !important;
                                                        }

                                                        li:last-child {
                                                            margin-right: 1.5em !important;
                                                        }

                                                        li {
                                                            margin: 3px;
                                                            display: flex;
                                                            align-items: center;
                                                            border-radius: 6px;
                                                            position: relative !important;
                                                            z-index: unset !important;

                                                            a {

                                                                img {
                                                                    width: 85px !important;
                                                                    object-fit: cover;
                                                                    padding: 0;
                                                                    position: relative;
                                                                    border-radius: 6px;
                                                                    display: block;
                                                                    max-width: unset;
                                                                    max-height: unset;
                                                                    height: unset !important;
                                                                    aspect-ratio: 3 / 4 !important;
                                                                    z-index: 9;
                                                                }
                                                            }
                                                        }

                                                        .all-comment-video-item {

                                                            a::before {
                                                                width: 85px !important;
                                                                z-index: 999 !important;
                                                            }
                                                        }

                                                    }
                                                }
                                            }
                                        }
                                    }
                                }

                                .children {
                                    display: flex;
                                    flex-direction: column;
                                    flex-wrap: nowrap;
                                    padding: 0;

                                    li {

                                        .comment_container {
                                            align-items: flex-end;

                                            .comment-header {
                                                flex-direction: row-reverse;

                                                img.avatar {
                                                    transform: scaleX(-1) !important;
                                                    margin-left: 10px;
                                                }

                                                .comment-meta {
                                                    justify-content: center;

                                                    .meta {
                                                        align-items: flex-end;
                                                    }
                                                }
                                            }

                                            .comment-text {

                                                .description {
                                                    margin: 1.5em 1.5em 0 5em !important;

                                                    p::before {
                                                        content: "";
                                                        transform: translate(15px, -24.9px) scaleX(-1);
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }                                        
}

#progress-bar-container {
    height: 100%;
    width: 100%;
    margin: 0;
    display: none;
    z-index: 9999;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #0000008f;
    border-radius: unset !important;

    .progress-circle circle {
        stroke: var(--light-trans-bg);
        stroke-linecap: round;
    }

    .progress-circle circle:nth-child(2) {
        stroke: var(--bright-orange-color) !important;
        transition: stroke-dashoffset 0.5s ease;
    }
}

#comment-status-message {
width: 100%;
height: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: #ffffffdb;
border-radius: unset !important;
display: none;
z-index: 9999;
backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px);

    #back-response {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 0px);
        padding: 7px 24px;
        color: #fff;
        background: #000;
        border-radius: 10px;
        font-weight: 600;
        font-family: 'Poppins';
        font-size: 13px;
        margin: 1em 0px;
        text-transform: uppercase;
        cursor: pointer;
        width: 95%;
        text-align: center;
        z-index: 99;
    }

    #complete-anim {

        lottie-player {
            width: 200px !important;
            height: 200px !important;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -60%);
            z-index: 99;
        }
    }
}


@media screen and (max-width: 900px) {

    #stark_side_bar {
        bottom: 71px !important;
    }
}

@media screen and (max-width: 600px) {

    #stark_side_bar {
        left: 0;
        width: unset !important;
    }
}

.sf-reviews-more-cont {
    display: flex !important;
    border-radius: 8px;
    padding: 0;
    margin: 0.75em 0em;
    background: linear-gradient(140deg, rgba(0, 0, 0, 0.18) 0%, rgb(0 0 0 / 55%) 100%);
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;

    .sf-reviews-more-btn {
        color: #fff;
        font-family: 'Poppins';
        font-weight: 600;
        margin: 0;
        padding: 7px;
        width: 100%;
        cursor: pointer;
        font-size: 14px;
    }
}

.sf-sidebar-butt-cont {
    text-align: center;
    z-index: 9;
    display: inline-flex;
    margin: 0px 1em 0.75em;
    padding: 0.75em 0px 0px;
    border-top: 1.5px solid rgba(255, 255, 255, 0.32);

    .sf-sidebar-butt-add-review {
        color: rgb(255, 255, 255);
        text-transform: capitalize;
        font-size: 16px;
        font-weight: 600;
        width: 100%;
        font-family: Poppins;
        text-decoration: none;
        background: linear-gradient(140deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.55) 100%);
        padding: 8px 20px;
        border-radius: 8px;
    }
}

.sf-context-product-reviews {

    .sf-review {
        --sf-context-review-avatar-size: 65px;
        --sf-context-review-bubble-gap: 20px;
        --sf-context-review-bubble: rgb(255 255 255 / 96%);
        list-style-type: none;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 1em;

            .sf-replies-children {
                position: relative;
                padding-left: 1em;
                display: flex;
                flex-direction: column;
                flex-wrap: nowrap;
                gap: 1em;
                
                &::before {
                    content: "";
                    width: 3px;
                    height: 100%;
                    background: #fff;
                    position: absolute;
                    border-radius: 8px;
                    left: 0;
                    top: 0;
                }
            }

        .sf-review__content {
            display: grid;
            grid-template-columns: min-content minmax(0, 1fr);
            column-gap: var(--sf-context-review-bubble-gap);
            align-items: start;
            position: relative;
            overflow: visible;
            width: 100%;
            padding: 0;
            border: 0;
            border-radius: 0;
            background: transparent;
            box-shadow: none;

            .comment-header {
                display: flex;
                flex-direction: row;
                flex-wrap: nowrap;
                align-items: center;
                width: 100%;
                gap: 0.75em;

                .sf-review__avatar img {
                    display: block;
                    box-sizing: border-box;
                    width: var(--sf-context-review-avatar-size);
                    height: var(--sf-context-review-avatar-size);
                    padding: 0;
                    border: 2px solid rgb(255 255 255 / 78%);
                    background-color: #ffffff62;
                    backdrop-filter: blur(1px);
                    border-radius: 50%;
                    object-fit: cover;
                }
            }

            .sf-review__contain {
                box-sizing: border-box;
                display: flex;
                flex-direction: column;
                position: relative;
                gap: 6px;
                width: auto;
                min-width: 0;
                max-width: none;
                margin: 0;
                padding: 0.75em 1em 0.5em;
                color: var(--sf-color-text, #25242e);
                z-index: 0;
                border: 1px solid rgb(63 60 90 / 10%);
                border-radius: 12px;
                background: var(--sf-context-review-bubble);
                box-shadow: -2px 3px 5px 1px #0000001c;

                .sf-review__username {
                    display: flex;
                    flex-flow: row wrap;
                    align-items: center;
                    justify-content: flex-start;
                    gap: 5px 8px;
                    position: static;
                    height: auto;
                    min-height: 20px;
                    padding: 0;

                    .review-product-rating {
                        order: 2;
                        display: flex;
                        align-items: center;
                        width: fit-content;
                        margin: 0;
                        transform: translateY(-1px);

                        .rating {
                            display: none;
                        }

                        .star-rating {
                            display: block;
                            overflow: hidden;
                            position: relative;
                            height: 18px;
                            width: 6.4em;

                            > span {
                                float: left;
                                top: 0;
                                left: 0px;
                                position: absolute;
                                height: 100%;

                                &::before {
                                    background-image: url(../../images/stark-frame/a1-star-o.svg);
                                }
                            }

                            &::before {
                                background-image: url(../../images/stark-frame/a1-star-g.svg);
                            }
                        }

                        .star-rating::before, .star-rating span::before {
                            top: 0;
                            left: 0;
                            position: absolute;
                            content: '';
                            display: block;
                            height: 100%;
                            width: 100%;
                            background-size: contain;
                        }
                    }

                    .sf-review__author {
                        order: 1;
                        color: var(--sf-color-text, #25242e);
                        font: 600 13px / 1.25 var(--sf-font-body);
                        font-family: 'Poppins';
                    }

                    .sf-review__moderation {
                        order: 3;
                        color: var(--sf-color-accent-strong, #e98135);
                        font: 600 11px / 1.25 var(--sf-font-body);
                    }
                }

                .sf-review__text, .sf-review__text p {
                    margin: 0;
                    color: inherit;
                    font: 400 14px / 1.45 var(--sf-font-body);
                }

                .sf-review__media {
                    min-width: 0;

                    .sf-review-media-preview {
                        --sf-media-preview-item-size: 65px;
                        --sf-media-preview-gap: 6px;
                        --sf-media-preview-radius: 6px;
                        --sf-media-preview-aspect-ratio: 1 / 1;
                    }
                }

                .sf-review__published-date {
                    color: var(--sf-color-text-tertiary, #9491a2);
                    font: 500 11px / 1.2 var(--sf-font-body);
                    white-space: nowrap;
                    display: flex;
                    flex-direction: row;
                    justify-content: flex-end;
                }

                &::after {
                    content: "";
                    position: absolute;
                    z-index: 0;
                    top: 14px;
                    left: 0;
                    width: 12px;
                    height: 16px;
                    background: var(--sf-context-review-bubble);
                    clip-path: polygon(100% 0, 100% 100%, 0 0);
                    transform: translate(-10px, 14px);
                }
            }
        }
    }
}
