/*src/frontend/static/css/busquedas/wishlist/wishlist.css 

/* Contenedor principal */
.wishlist-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Título */
.wishlist-title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wishlist-icon {
    font-size: 2.2rem;
    display: inline-block;
    /* Elimina borde negro */
    font-variant-emoji: text;
    color: transparent;
    text-shadow: 0 0 0 #e74c3c;
}

/* Grid de tarjetas */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Tarjeta individual */
.wishlist-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #eee;
}

.wishlist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Imagen */
.wishlist-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}

.wishlist-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wishlist-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #adb5bd;
    font-size: 3rem;
}

/* Cuerpo de la tarjeta */
.wishlist-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wishlist-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.wishlist-card-title a {
    color: #1e1e1e;
    text-decoration: none;
    transition: color 0.2s;
}

.wishlist-card-title a:hover {
    color: #8A2BE2;
}

.wishlist-card-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.wishlist-card-price {
    margin-top: auto;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.wishlist-card-price strong {
    font-size: 1.4rem;
    color: #2E7D32;
}

/* Botones de acción */
.wishlist-card-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.wishlist-btn-detalle {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #8A2BE2;
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
    flex: 1;
    text-align: center;
}

.wishlist-btn-detalle:hover {
    background: #6a1cb5;
    transform: translateY(-2px);
    color: white;
}

/* Botón Quitar (con corazón sin borde) */
.wishlist-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    background: transparent;
    border: 1px solid #dc3545;
    border-radius: 40px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
    white-space: nowrap;

    /* Elimina borde negro del emoji */
    font-variant-emoji: text;
    color: transparent;
    text-shadow: 0 0 0 #dc3545;
}

.wishlist-remove .heart-icon {
    font-variant-emoji: text;
    color: transparent;
    text-shadow: 0 0 0 #dc3545;
    font-size: 1.1em;
    line-height: 1;
}

.wishlist-remove:hover {
    background: #dc3545;
    text-shadow: 0 0 0 #ffffff;
}

.wishlist-remove:hover .heart-icon {
    text-shadow: 0 0 0 #ffffff;
}

/* Estado vacío */
.wishlist-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8f9fa;
    border-radius: 16px;
    border: 1px dashed #dee2e6;
}

.wishlist-empty p {
    margin-bottom: 1rem;
    color: #6c757d;
    font-size: 1.2rem;
}

.wishlist-empty a {
    color: #8A2BE2;
    text-decoration: none;
    font-weight: 500;
}

.wishlist-empty a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .wishlist-title {
        font-size: 1.6rem;
    }
    
    .wishlist-grid {
        gap: 1.5rem;
    }
    
    .wishlist-card-actions {
        flex-direction: column;
    }
    
    .wishlist-btn-detalle,
    .wishlist-remove {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .wishlist-container {
        padding: 1rem 0.5rem;
    }
    
    .wishlist-card-image {
        height: 180px;
    }
}