.oaza-event-popup {
    position: fixed;
    left: 50%;
    top: 14px;
    width: calc(100vw - 32px);
    height: calc(100vh - 48px);
    background-color: rgba(241, 241, 241, 0.97);
    box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.1),
    0 16px 24px rgba(0, 0, 0, 0.15),
    0 24px 48px rgba(0, 0, 0, 0.2);
    padding: 42px 8px 8px 8px;
    z-index: 99998;
    border: 4px solid #2d3691;
    display: flex;
    justify-content: center;
    flex-direction: column;
    transform: translateX(-50%);
}
.oaza-event-popup-overlay{
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99997;
}

@media (min-width: 1220px) {
    .oaza-event-popup {
        max-width: 1020px;
        width: calc(100vw - 200px);
    }
}

.oaza-event-popup .close-popup {
    position: absolute;
    right: 24px;
    top: 8px;
    background-color: transparent;
    padding-left: 30px;
    border: none;
    font-size: 2rem;
}
.oaza-event-popup .close-popup:before {
    content: "";
    width: 30px;
    height: 30px;
    background: url(../../../../themes/custom/yasne/images/icons/cross.png) no-repeat center;
    display: block;
    position: absolute;
    left: 0px;
    top: 0;
}

.oaza-event-popup .popup-countdown {
    display: flex;
    gap: 6px;
    justify-content: center;
    padding-top: 24px;
}

@media (min-width: 768px) {
    .oaza-event-popup .popup-countdown {
        gap: 32px;
    }
}

.oaza-event-popup .popup-content {
    overflow-x: hidden;
    overflow-y: auto;
}

.oaza-event-popup .popup-content *{
    font-size: 3.2rem;
    text-align: center;
}

.oaza-event-popup .popup-content p {
    margin: 0 0 0 2px;
}
.oaza-event-popup .popup-content img{
    max-height: 44vh;
    object-fit: contain;
}

.oaza-event-popup .popup-countdown .countdown-element {
    display: flex;
    flex-direction: column;
    border: 3px solid #fbf9f5;
    border-radius: 30px;
    width: 130px;
    height: 150px;
    justify-content: center;
    align-items: center;
    background-color: #2a6591;
}

.oaza-event-popup .popup-countdown .countdown-element .amount {
    font-size: 6rem;
    line-height: 6rem;
    color: #fff;
}

.oaza-event-popup .popup-countdown .countdown-element .unit {
    font-size: 2.4rem;
    color: #fff;
}