/* Estilos para el Frontend - Amenidades en la descripción del producto */

.product-amenities-section {
    margin: 30px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.amenities-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.amenities-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin: 0;
}

.amenity-item-frontend {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #3498db;
}

.amenity-item-frontend:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-left-color: #2ecc71;
}

.amenity-icon-frontend {
    font-size: 32px;
    margin-right: 15px;
    flex-shrink: 0;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.1));
}

.amenity-label-frontend {
    font-size: 15px;
    font-weight: 600;
    color: #34495e;
    line-height: 1.4;
}

/* Variante con iconos más grandes */
.amenities-list.large-icons .amenity-icon-frontend {
    font-size: 40px;
}

.amenities-list.large-icons .amenity-item-frontend {
    flex-direction: column;
    text-align: center;
    padding: 20px;
}

.amenities-list.large-icons .amenity-icon-frontend {
    margin: 0 0 10px 0;
}

/* Estilo alternativo - Lista simple */
.amenities-list.simple-list {
    display: block;
}

.amenities-list.simple-list .amenity-item-frontend {
    margin-bottom: 10px;
    padding: 12px 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .product-amenities-section {
        padding: 20px;
        margin: 20px 0;
    }
    
    .amenities-title {
        font-size: 20px;
    }
    
    .amenities-list {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 10px;
    }
    
    .amenity-item-frontend {
        padding: 12px 15px;
    }
    
    .amenity-icon-frontend {
        font-size: 28px;
        margin-right: 12px;
    }
    
    .amenity-label-frontend {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .amenities-list {
        grid-template-columns: 1fr;
    }
    
    .product-amenities-section {
        padding: 15px;
    }
}

/* Estilos para temas oscuros */
@media (prefers-color-scheme: dark) {
    .product-amenities-section {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    }
    
    .amenities-title {
        color: #ecf0f1;
        border-bottom-color: #3498db;
    }
    
    .amenity-item-frontend {
        background: #34495e;
        border-left-color: #3498db;
    }
    
    .amenity-item-frontend:hover {
        background: #2c3e50;
        border-left-color: #2ecc71;
    }
    
    .amenity-label-frontend {
        color: #ecf0f1;
    }
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.amenity-item-frontend {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.amenity-item-frontend:nth-child(1) { animation-delay: 0.05s; }
.amenity-item-frontend:nth-child(2) { animation-delay: 0.1s; }
.amenity-item-frontend:nth-child(3) { animation-delay: 0.15s; }
.amenity-item-frontend:nth-child(4) { animation-delay: 0.2s; }
.amenity-item-frontend:nth-child(5) { animation-delay: 0.25s; }
.amenity-item-frontend:nth-child(6) { animation-delay: 0.3s; }
.amenity-item-frontend:nth-child(7) { animation-delay: 0.35s; }
.amenity-item-frontend:nth-child(8) { animation-delay: 0.4s; }

/* Badges style alternativo */
.amenities-list.badge-style {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.amenities-list.badge-style .amenity-item-frontend {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.amenities-list.badge-style .amenity-label-frontend {
    color: #ffffff;
    font-size: 14px;
}

.amenities-list.badge-style .amenity-icon-frontend {
    font-size: 20px;
    margin-right: 8px;
}
