.aveo-cart-popup-widget-content {
    position: fixed;
    /* Fixed position relative to the viewport */
    top: 0;
    /* Align to the top of the viewport */
    left: 0;
    /* Align to the left of the viewport */
    width: 0;
    height: 0;
    z-index: 888;
    /* High z-index to stack it above everything else */
    background: rgba(0, 0, 0, 0.5);
    /* Transparent gray background */
    overflow: hidden;
    display: block !important;
}

.aveo-cart-popup-widget-content-inner {
    position: absolute;
    top: 0;
    right: 0;
    background-color: white;
    padding: 50px 20px;
    height: 100%;
    z-index: 999;
    transform: translateX(100%);
    /* Move element out of viewport */
    max-width: 100vw;
}

.aveo-cart-popup-widget-content-inner-template {
    height: 100%;
    overflow-y: auto;
}

.aveo-cart-popup-widget-content-inner-template>div[data-elementor-type="container"] {
    height: 100%;
}

.aveo-cart-popup-widget-content-inner-close {
    cursor: pointer;
    z-index: 1000;
}

.aveo-cart-popup-widget--open .aveo-cart-popup-widget-content {
    width: 100vw;
    /* 100% of the viewport width */
    height: 100vh;
    /* 100% of the viewport height */
}

.aveo-cart-popup-widget--open .aveo-cart-popup-widget-content-inner {
    transform: translateX(0);
    /* Move element into viewport */
}

.aveo-cart-popup-widget-btn {
    position: relative;
}

.aveo-cart-popup-widget-btn:focus {
    outline: none !important;
}

.aveo-cart-popup-widget-btn-items-count {
    position: absolute;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0px;
}

.aveo-cart-popup-widget-btn-items-count span {
    position: absolute;
}

/* Handle preview in elementor editor */
.elementor-editor-active div[data-elementor-type="header"].elementor-edit-area-active .open-in-elementor-editor .aveo-cart-popup-widget-content-inner {
    transform: translateX(0);
    /* Move element into viewport */
}

.elementor-editor-active div[data-elementor-type="header"].elementor-edit-area-active .open-in-elementor-editor .aveo-cart-popup-widget-content {
    width: 100vw;
    /* 100% of the viewport width */
    height: 100vh;
    /* 100% of the viewport height */
}