.elementor-14 .elementor-element.elementor-element-e832791{--display:flex;}@media(min-width:768px){.elementor-14 .elementor-element.elementor-element-e832791{--content-width:1400px;}}/* Start custom CSS *//* ===== STYLES PARA CARDS DE COMPRA DE CUPOS ===== */

.rifa-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Información de la rifa */
.rifa-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.rifa-info h2 {
    font-size: 2.5em;
    margin: 0 0 15px 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rifa-descripcion {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

.rifa-estadisticas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-label {
    display: block;
    font-size: 0.9em;
    opacity: 0.8;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.3em;
    font-weight: bold;
    display: block;
}

/* Cards de compra */
.cards-compra-container {
    margin-bottom: 50px;
}

.cards-compra-container h3 {
    text-align: center;
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 600;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.card-cupo {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    cursor: pointer;
}

.card-cupo:hover,
.card-cupo.card-hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.card-cupo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.card-header {
    padding: 25px 20px 15px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
}

.card-header h4 {
    font-size: 1.4em;
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.card-price {
    font-size: 2em;
    font-weight: bold;
    color: #667eea;
    margin: 0;
}

.card-body {
    padding: 20px;
}

.card-benefit {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.card-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-details li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.card-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.1em;
}

.card-footer {
    padding: 20px;
    background: #f8f9fa;
}

.btn-seleccionar-cupos {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-seleccionar-cupos:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    filter: brightness(1.1);
}

.btn-seleccionar-cupos:active {
    transform: translateY(0);
}

/* Información adicional */
.rifa-info-adicional {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.info-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #667eea;
}

.info-box h4 {
    color: #2c3e50;
    font-size: 1.3em;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.info-box ol,
.info-box ul {
    padding-left: 20px;
    line-height: 1.8;
    color: #555;
}

.info-box li {
    margin-bottom: 8px;
}

/* Estados especiales */
.rifa-error {
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
}

.rifa-error h3 {
    color: #c33;
    margin-top: 0;
}

.btn-volver {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn-volver:hover {
    background: #5a6fd8;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .rifa-container {
        padding: 15px;
    }
    
    .rifa-info {
        padding: 30px 20px;
    }
    
    .rifa-info h2 {
        font-size: 2em;
    }
    
    .rifa-estadisticas {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cards-compra-container h3 {
        font-size: 1.6em;
    }
    
    .rifa-info-adicional {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-box {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .rifa-info {
        padding: 25px 15px;
    }
    
    .rifa-info h2 {
        font-size: 1.8em;
    }
    
    .card-header {
        padding: 20px 15px 10px;
    }
    
    .card-price {
        font-size: 1.6em;
    }
    
    .card-body,
    .card-footer {
        padding: 15px;
    }
    
    .btn-seleccionar-cupos {
        padding: 12px 15px;
        font-size: 1em;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-cupo {
    animation: fadeInUp 0.6s ease forwards;
}

.card-cupo:nth-child(1) { animation-delay: 0.1s; }
.card-cupo:nth-child(2) { animation-delay: 0.2s; }
.card-cupo:nth-child(3) { animation-delay: 0.3s; }
.card-cupo:nth-child(4) { animation-delay: 0.4s; }

/* Loading state */
.btn-seleccionar-cupos:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-seleccionar-cupos.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Efectos especiales */
.card-cupo:hover .card-benefit {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.card-cupo:hover .btn-seleccionar-cupos {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a5acd 100%);
}

/* Accesibilidad */
.btn-seleccionar-cupos:focus {
    outline: 3px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

.card-cupo:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

/* Print styles */
@media print {
    .btn-seleccionar-cupos {
        display: none;
    }
    
    .card-cupo {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .rifa-info {
        background: white !important;
        color: black !important;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}/* End custom CSS */