.panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;

}

.panel--active {
    display: block;
}

.panel__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0, 0.5);
    cursor: pointer;
}

.panel:not(.panel--show) .panel__container {
    transform: translateX(100%);
}

.panel__container {
    position: relative;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    will-change: auto;
    width: 1080px;
    max-width: 100%;
    margin-left: auto;
}


.panel__content {
    position: relative;
    height: 100%;
    z-index: 9;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
    background: #eef2f4;
}

.panel__close {
    position: absolute;
    left: -34px;
    top: 20px;
    display: flex;
    width: 36px;
    height: 36px;
    border-radius: 50px 0 0 50px;
    align-items: center;
    justify-content: center;
    background-color: #e0ca2b;
}
.panel__close-svg {
    width: 15px;
    height: 15px;
}

@media (min-width: 1200px) {
    .panel__close {
        opacity: 0.8;
        transition: opacity 0.3s ease-in-out;
    }

    .panel__close:hover {
        opacity: 1;
    }
}

@media (max-width: 1199.98px) {
    .panel__close {
        left: auto;
        right: 0;
        z-index: 99;
    }
    .panel__container {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .panel__close{
        top: 11px;
        right: 11px;
        border-radius: 50%;
    }
   
}