.poppup-button {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 999;
}

.poppup-button:hover {
    opacity: 0.9;
}

.poppup-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    transform: translateZ(9999px);
}

.poppup-modal.show {
    display: block;
    opacity: 1;
}

.poppup-modal-content {
    position: relative;
    background-color: #ffffff;
    margin: 50px auto;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: scale(0.7);
    transition: transform 0.3s ease;
    max-width: 90%;
    z-index: 1000000;
}

.poppup-modal.show .poppup-modal-content {
    transform: scale(1);
}

.poppup-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    z-index: 1000001;
    line-height: 1;
}

.poppup-close:hover {
    color: #555;
}

.poppup-modal h2 {
    margin: 0 0 20px;
    padding-right: 30px;
    font-size: 24px;
    line-height: 1.4;
}

.poppup-modal-body {
    position: relative;
    z-index: 1000000;
}

/* Estilos para contenido de Elementor */
.poppup-modal .elementor-section-wrap {
    margin: -25px;
    position: relative;
    z-index: 1000000;
}

.poppup-modal .elementor-element {
    margin-top: 0;
}

/* Responsive */
@media (max-width: 767px) {
    .poppup-modal-content {
        margin: 20px auto;
        padding: 15px;
    }
    
    .poppup-modal h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
} 