.sf-mobile.sidebar-modal-is-active {
    overflow: hidden !important;
}

.sidebar-modal-is-active {

    .site-header {
        position: fixed !important;
    }

    .js-float-toolbar {
        top: 92px;
    }

    .sf-sidebar-modal {
        opacity: 1 !important;
        -webkit-transform: translateX(0) !important;
        transform: translateX(0) !important;
    }
}

.sf-sidebar-modal::after {
    content: "";
    position: absolute;
    inset: -40px;
    border-radius: inherit;
    opacity: .6;
    z-index: -1;
    background: conic-gradient(from 0deg, rgb(122 162 247 / 35%), rgb(173 142 230 / 35%), rgb(242 205 205 / 35%), rgb(195 232 141 / 35%), rgb(122 162 247 / 35%));
    filter: blur(26px);
    animation: rotate 40s 
linear infinite reverse;
    pointer-events: none;
}

#stark-sidebar-modal-root {
    position: fixed;
    right: 0;
    top: 92px;
    bottom: 0px;
    z-index: 9999999;
    width: 500px;
    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: rgba(72, 68, 92, 0.6) !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;
    overflow: clip;

    .sf-sidebar-modal-inner {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        height: 100%;

        .sf-sidebar-modal-header {
            position: relative;
            height: 36px;

            .sf-sidebar-modal-title {
                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;
            }

            .sf-sidebar-modal-close {
                top: 11px;
                right: 25px;
                background: url(https://starkframe.store/wp-content/themes/starkframe/assets/images/stark-frame/cross-title.svg);
                background-size: cover;
                width: 14px;
                height: 14px;
                position: absolute;
                cursor: pointer;
            }
        }

        .sf-sidebar-modal-body {
            margin: 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            overflow-y: scroll;
            height: 100%;
            position: relative;
            padding: 0.75em 0.5em 0.75em 1em;
            scrollbar-width: thin;
            scrollbar-color: #00000075 transparent;
            scrollbar-gutter: stable;
            gap: 0.75em;


            .sf-product-full-desc-section {
                background: linear-gradient(140deg, rgba(0, 0, 0, 0.18) 0%, rgb(0 0 0 / 55%) 100%);
                padding: 1em;
                border-radius: 10px;
                margin: 0;

                .sf-product-full-desc-title {
                    margin: 0;
                    font-size: 16px;
                }
            }

            .sf-product-parameters {
                display: flex;
                flex-direction: column;
                flex-wrap: nowrap;
                gap: 0.75em;
                background: linear-gradient(140deg, rgba(0, 0, 0, 0.18) 0%, rgb(0 0 0 / 55%) 100%);
                padding: 1em;
                border-radius: 10px;
                margin: 0;

                .sf-product-parameters-title {
                    margin: 0;
                    font-size: 16px;
                }

                .sf-product-attrs-group {
                    display: flex;
                    flex-direction: column;
                    flex-wrap: nowrap;
                    gap: 0.75em;
                    padding-bottom: 0.75em;

                    .sf-product-attrs-group-title {
                        margin: 0;
                        font-size: 14px;
                        color: #ffb471;
                    }

                    .sf-product-attrs-list {
                        display: flex;
                        flex-direction: column;
                        flex-wrap: nowrap;
                        gap: 0.75em;

                        .sf-product-attr {
                            display: flex;
                            flex-direction: row;
                            flex-wrap: nowrap;
                            justify-content: space-between;
                            gap: 0.25em;

                            .sf-product-attr-label {
                                width: max-content;
                                white-space: nowrap;
                            }

                            .sf-product-attr-space {
                                width: 100%;
                                border-bottom: 1px dashed #fff;
                                margin-bottom: 0.25em;
                            }

                            .sf-product-attr-values {
                                width: max-content;
                                white-space: nowrap;
                            }
                        }
                    }
                }
            }
        }

        .sf-sidebar-modal-footer {
            margin: 0 1em 0.75em;
            padding: 0.5em 0 0;
            text-align: center;
            z-index: 9;
            display: flex;
            border-top: 1.5px solid #ffffff52;
            flex-direction: column;
            flex-wrap: nowrap;

            .sf-product-price {
                margin: 0 !important;
                display: block;
                text-align: unset;
                font-size: 18px !important;
                font-weight: 800;
                line-height: 1.4;
                color: #ffffff !important;
                font-family: 'DM Sans' !important;
                align-self: baseline;
                padding-left: 0.5em;
            }

            .sf-product-actions {
                width: calc(100% - 0em);
                display: flex;
                flex-direction: row;
                flex-wrap: nowrap;
                justify-content: space-between;
                padding: 0.75em 0 0;
                z-index: 99999;
                gap: 0.5em;

                .sf-btn {
                    background: linear-gradient(140deg, rgba(0, 0, 0, 0.18) 0%, rgb(0 0 0 / 55%) 100%);
                    color: #fff;
                    border-radius: 8px !important;
                    font-family: 'Poppins';
                    font-weight: 600 !important;
                    height: 36px;
                    width: 100%;
                    font-size: 14px;
                }
            }
        }
    }
}