.product-card {
    position: relative;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
    animation: fadeIn 0.5s ease-in forwards;
    opacity: 0;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-badge.new {
    background-color: var(--success-color);
}

.product-image {
    position: relative;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 8px;
}

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn,
.wishlist-btn {
    padding: 8px 15px;
    background-color: white;
    color: var(--background-color);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-view-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.wishlist-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    padding: 0;
}

.wishlist-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.wishlist-btn img {
    height: 20px;
    width: 20px;
    filter: brightness(0) saturate(100%);
}

.wishlist-btn.active {
    background-color: var(--error-color);
    color: white;
}

.wishlist-btn.active img {
    height: 20px;
    width: 20px;
    filter: brightness(100) saturate(100%);
}

.product-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.product-description {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-details {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.detail-item {
    font-size: 0.8rem;
    color: var(--light-text);
    background-color: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.product-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.rating-count {
    color: var(--light-text);
    font-size: 0.8rem;
}

.product-price {
    margin-bottom: 1rem;
}

.current-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.original-price {
    color: var(--light-text);
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.add-to-cart {
    width: 100%;
    padding: 10px;
}
