/* Selector de Estilos - CSS */

.style-selector-wrapper {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.style-selector-header {
    text-align: center;
    margin-bottom: 3rem;
}

.style-selector-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.style-selector-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid de estilos */
.styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Cards de estilos */
.style-card {
    background: #ffffff;
    border: 3px solid #e0e0e0;
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.style-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color, #667eea);
}

.style-card.selected {
    border-color: var(--primary-color, #667eea);
    border-width: 4px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Icono del estilo */
.style-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.style-card-icon span {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contenido del card */
.style-card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    text-align: center;
}

.style-card-content p {
    font-size: 0.95rem;
    color: #666;
    text-align: center;
    line-height: 1.5;
}

/* Badge de seleccionado */
.style-selected-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color, #667eea);
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Acciones */
.style-selector-actions {
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.style-selector-actions .btn {
    min-width: 200px;
}

/* Responsive */
@media (max-width: 768px) {
    .styles-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .style-selector-header h2 {
        font-size: 2rem;
    }
    
    .style-card-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.style-card {
    animation: fadeInUp 0.4s ease-out;
}

.style-card:nth-child(1) { animation-delay: 0.05s; }
.style-card:nth-child(2) { animation-delay: 0.1s; }
.style-card:nth-child(3) { animation-delay: 0.15s; }
.style-card:nth-child(4) { animation-delay: 0.2s; }
.style-card:nth-child(5) { animation-delay: 0.25s; }
.style-card:nth-child(6) { animation-delay: 0.3s; }

