.slg-offcanvas {
/*  OLD
    top: 0;
    max-width: 400px;
    height: 100%;
*/
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 25vh 2vh 2vh;
    width: 100%;
    max-width: 500px;
    height: calc(100% - 220px);
    background: #fff;
    transform: translateX(calc(100% + 200px));
    transition: transform 0.3s ease;
    z-index: 999999;
    overflow-y: auto;
    padding: 0 25px;
    border-radius: 10px;
    max-height: 85vh;
    min-height: 400px;
    outline: none;
    box-sizing: border-box;
    box-shadow: 0 50px 100px rgba(92, 110, 128, .5);
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}
.slg-offcanvas.show {
    transform: translateX(0);
}
.slg-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    padding: 10px 16px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
.slg-offcanvas-top {
    position: sticky;
    display: flex;
    top: 20px;
    left: 100%;
    z-index: 99;
    gap: 12px;
    width: fit-content;
}
.slg-close, .slg-offcanvas #expandPanel {
    width: 40px;
    height: 40px;
    font-size: 20px;
    background-color: #f4f4f4;
    border: none;
    border-radius: 99px;
    cursor: pointer;
}
.slg-icon {
    display: flex;
    justify-content: center;
}
@media (min-width: 1000px) {
    .slg-offcanvas.show.slg-expanded {
        min-width: calc(100% - 4vh);
    }
}
@media (max-width: 999.98px) {
    .slg-offcanvas {
        bottom: 0;
        width: calc(100% - 4vh);
        height: 43%;
        max-width: 100%;
        padding: 0 15px;
        transform: translateY(calc(100% + 50px));
    }
    .slg-offcanvas.show {
        transform: translateY(0);
    }
    .slg-offcanvas.show.slg-expanded {
        height: calc(100% - 100px);
    }
}