/* Desire Gym Single Product & Blog Page Sidebar CSS */

.dgym-sider-toggle::-webkit-scrollbar {
    display: none !important; 
}

.dgym-sider-toggle {
    -ms-overflow-style: none !important; 
    scrollbar-width: none !important; 
}

@media (min-width: 1025px) {

    .dgym-sider-toggle,
    .dgym-sider-toggle > *,
    .dgym-sider-toggle .e-con, 
    .dgym-sider-toggle .e-con-inner {
        overflow: visible !important;
        overflow-x: visible !important; 
    }

    .dgym-sider-toggle {
        position: sticky !important;
        top: 80px;
        z-index: 9 !important; 
        align-self: flex-start !important; 
        height: auto !important; 
        max-height: none !important; 
        overflow-y: visible !important;
        margin-bottom: 50px !important;
        transition: none !important;
        will-change: top;
    }

    #custom-sidebar-toggle {
        display: none !important;
    }
}

@media (max-width: 1024px) {

    .dgym-sider-toggle {
        position: fixed !important;
        top: 0 !important;
        right: -120% !important; 
        width: 320px !important; 
        max-width: 85vw !important; 
        height: 100vh !important;
        background: #fff !important;
        z-index: 999999 !important; 
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1) !important;
        overflow-y: auto !important;
        padding: 30px 20px !important;
        box-shadow: -5px 0 25px rgba(0,0,0,0.15) !important;
        display: block !important; 
    }

    .dgym-sider-toggle.is-open {
        right: 0 !important;
    }

    body.sidebar-overlay-active::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        z-index: 999990;
    }

    #custom-sidebar-toggle {
        position: fixed;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        background: #fff;
        border: 1px solid #eaeaea;
        border-right: none;
        z-index: 999995;
        padding: 12px 14px;
        border-radius: 8px 0 0 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #custom-sidebar-toggle svg {
        width: 26px;
        height: 26px;
        stroke: #cc0000;
        fill: none;
        stroke-width: 2;
    }
}