.product-card {
    position: relative;
    margin-bottom: 25px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-image-wrapper {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-image-hover {
    opacity: 0;
    transform: scale(1.1) rotate(2deg);
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-card:hover .product-image-main {
    opacity: 0;
}

.product-card:hover .product-image-hover {
    opacity: 1;
    transform: scale(1.1) rotate(0);
}

.product-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.action-icon {
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.action-icon i {
    color: #333;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.action-icon:hover {
    background: #333;
    transform: translateY(-2px);
}

.action-icon:hover i {
    color: white;
}

.product-info {
    padding: 20px;
    background: white;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: #333;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.price-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.offer-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

.original-price {
    font-size: 1rem;
    text-decoration: line-through;
    color: #95a5a6;
}

.discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e74c3c;
    color: white;
    padding: 5px 12px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 2;
    opacity: 0.9;
}

.new-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #2ecc71;
    color: white;
    padding: 5px 12px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 2;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .product-card {
        margin-bottom: 20px;
    }
    .product-title {
        font-size: 1rem;
    }
    .offer-price {
        font-size: 1.1rem;
    }
}