.soltanshop-mobile-toc-float {
    --soltanshop-mobile-toc-bottom: 82px;
    --soltanshop-mobile-toc-size: 54px;
    --soltanshop-mobile-toc-button-bg: #f04055;
    --soltanshop-mobile-toc-icon: #fff;
    --soltanshop-mobile-toc-panel: #fff;
    display: none;
}

.soltanshop-mobile-toc-float[hidden],
.soltanshop-mobile-toc-float__overlay[hidden] {
    display: none;
}

@media (max-width: 767px) {
    .soltanshop-mobile-toc-float:not([hidden]) {
        display: block;
    }

    .soltanshop-mobile-toc-float__button {
        align-items: center;
        background: var(--soltanshop-mobile-toc-button-bg);
        border: 0;
        border-radius: 50%;
        bottom: var(--soltanshop-mobile-toc-bottom);
        box-shadow: 0 10px 30px rgba(12, 23, 45, 0.22);
        color: var(--soltanshop-mobile-toc-icon);
        cursor: pointer;
        display: inline-flex;
        height: var(--soltanshop-mobile-toc-size);
        justify-content: center;
        padding: calc(var(--soltanshop-mobile-toc-size) * 0.25);
        position: fixed;
        width: var(--soltanshop-mobile-toc-size);
        z-index: 2147483602;
    }

    .soltanshop-mobile-toc-float[data-side="right"] .soltanshop-mobile-toc-float__button {
        right: 18px;
    }

    .soltanshop-mobile-toc-float[data-side="left"] .soltanshop-mobile-toc-float__button {
        left: 18px;
    }

    .soltanshop-mobile-toc-float__button svg {
        display: block;
        height: 100%;
        width: 100%;
    }

    .soltanshop-mobile-toc-float.has-pulse .soltanshop-mobile-toc-float__button::after {
        animation: soltanshop-mobile-toc-pulse 1.8s ease-out infinite;
        border: 2px solid var(--soltanshop-mobile-toc-button-bg);
        border-radius: inherit;
        content: "";
        inset: -1px;
        pointer-events: none;
        position: absolute;
    }

    .soltanshop-mobile-toc-float__tooltip {
        background: #172033;
        border-radius: 8px;
        bottom: calc(var(--soltanshop-mobile-toc-bottom) + (var(--soltanshop-mobile-toc-size) / 2));
        color: #fff;
        font-size: 12px;
        line-height: 1.5;
        opacity: 1;
        padding: 7px 10px;
        pointer-events: none;
        position: fixed;
        transform: translateY(50%);
        transition: opacity 0.25s ease, visibility 0.25s ease;
        visibility: visible;
        white-space: nowrap;
        z-index: 2147483601;
    }

    .soltanshop-mobile-toc-float[data-side="right"] .soltanshop-mobile-toc-float__tooltip {
        right: calc(var(--soltanshop-mobile-toc-size) + 28px);
    }

    .soltanshop-mobile-toc-float[data-side="left"] .soltanshop-mobile-toc-float__tooltip {
        left: calc(var(--soltanshop-mobile-toc-size) + 28px);
    }

    .soltanshop-mobile-toc-float__tooltip.is-hidden {
        opacity: 0;
        visibility: hidden;
    }

    .soltanshop-mobile-toc-float__overlay {
        background: rgba(9, 16, 30, 0.48);
        inset: 0;
        opacity: 0;
        position: fixed;
        transition: opacity 0.25s ease;
        z-index: 2147483603;
    }

    .soltanshop-mobile-toc-float__drawer {
        background: var(--soltanshop-mobile-toc-panel);
        bottom: 0;
        box-shadow: 0 -18px 60px rgba(8, 17, 35, 0.24);
        color: #172033;
        display: flex;
        flex-direction: column;
        height: min(74vh, 680px);
        max-width: 430px;
        position: fixed;
        top: auto;
        transform: translateY(105%);
        transition: transform 0.28s ease;
        width: 100%;
        z-index: 2147483604;
    }

    .soltanshop-mobile-toc-float[data-side="right"] .soltanshop-mobile-toc-float__drawer {
        border-radius: 22px 22px 0 0;
        right: 0;
    }

    .soltanshop-mobile-toc-float[data-side="left"] .soltanshop-mobile-toc-float__drawer {
        border-radius: 22px 22px 0 0;
        left: 0;
    }

    .soltanshop-mobile-toc-float.is-open .soltanshop-mobile-toc-float__overlay {
        opacity: 1;
    }

    .soltanshop-mobile-toc-float.is-open .soltanshop-mobile-toc-float__drawer {
        transform: translateY(0);
    }

    .soltanshop-mobile-toc-float__drawer > header {
        align-items: center;
        border-bottom: 1px solid rgba(100, 116, 139, 0.18);
        display: flex;
        flex: 0 0 auto;
        font-size: 16px;
        justify-content: space-between;
        padding: 16px 18px;
    }

    .soltanshop-mobile-toc-float__close {
        align-items: center;
        background: #f1f4f8;
        border: 0;
        border-radius: 50%;
        color: #172033;
        cursor: pointer;
        display: inline-flex;
        font-size: 25px;
        height: 36px;
        justify-content: center;
        line-height: 1;
        width: 36px;
    }

    .soltanshop-mobile-toc-float__content {
        -webkit-overflow-scrolling: touch;
        flex: 1 1 auto;
        overflow: auto;
        overscroll-behavior: contain;
        padding: 12px 16px 22px;
    }

    .soltanshop-mobile-toc-float__content .single-blog__article-titles,
    .soltanshop-mobile-toc-float__content .elementor-toc__body,
    .soltanshop-mobile-toc-float__content .elementor-widget-container {
        background: transparent;
        border: 0;
        box-shadow: none;
        margin: 0;
        padding: 0;
        position: static;
        width: auto;
    }

    .soltanshop-mobile-toc-float__content h2 {
        display: none;
    }

    .soltanshop-mobile-toc-float__content a[href^="#"] {
        align-items: center;
        border-bottom: 1px solid rgba(100, 116, 139, 0.14);
        color: inherit;
        display: flex;
        font-size: 13px;
        line-height: 1.9;
        min-height: 45px;
        padding: 8px 4px;
        text-decoration: none;
    }

    .soltanshop-mobile-toc-float__content a[href^="#"]:focus-visible {
        border-radius: 6px;
        outline: 2px solid var(--soltanshop-mobile-toc-button-bg);
        outline-offset: 2px;
    }
}

html.soltanshop-mobile-toc-open,
body.soltanshop-mobile-toc-open {
    overflow: hidden;
    overscroll-behavior: none;
}

@keyframes soltanshop-mobile-toc-pulse {
    0% {
        opacity: 0.55;
        transform: scale(1);
    }

    80%,
    100% {
        opacity: 0;
        transform: scale(1.55);
    }
}

@media (prefers-reduced-motion: reduce) {
    .soltanshop-mobile-toc-float *,
    .soltanshop-mobile-toc-float *::before,
    .soltanshop-mobile-toc-float *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }
}
