div[data-popup-content]{position:fixed;right:0;top:0;width:650px;background:#fff;padding:50px;z-index:9999;height:100%;transform:translateX(100%);transition:transform 0.3s ease-in-out;overflow-y:auto}div[data-popup-content].open{transform:translateX(0)}.popup-overlay{position:fixed;left:0;top:0;width:100%;height:100%;z-index:9998;background-color:rgb(0 0 0 / .6)}@media (max-width:768px){div[data-popup-content]{width:90vw;padding:40px 30px}}