
/* Product Card Styles */
.product-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    position: relative;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.product-cover {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.product-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-cover img {
    transform: scale(1.1);
}

.product-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--white);
    background-color: var(--white);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.product-card:hover .product-image {
    transform: translateX(-50%) scale(1.1);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 5px;
}

.product-details {
    padding: 2.5rem 1rem 1rem;
    text-align: center;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
}

.product-card:hover .product-title {
    color: var(--primary-color);
}

.product-price {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.875rem;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}



@media (max-width: 767.98px) {

    
    .product-cover {
        height: 150px;
    }
    
    .product-image {
        width: 60px;
        height: 60px;
        bottom: -30px;
    }
    
    .product-details {
        padding: 2rem 0.75rem 0.75rem;
    }
    
}
