.product-card {
    position: relative;
    margin-bottom: 35px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03),
                0 5px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid #ffffff;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08),
                0 8px 20px rgba(0, 0, 0, 0.04);
    
}

.product-image-wrapper {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f1f5f9;
    border-radius: 20px 20px 0 0;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-image-hover {
    opacity: 0;
    transform: scale(1.2) translateX(10%);
}

.product-card:hover .product-image-main {
    opacity: 0;
    transform: scale(0.9) translateX(-10%);
}

.product-card:hover .product-image-hover {
    opacity: 1;
    transform: scale(1) translateX(0);
}

.product-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 20px)) scale(0.9);
    display: flex;
    gap: 12px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.action-icon {
    background: #ffffff;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.action-icon i {
    color: #6366f1;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.action-icon:hover {
    background: #6366f1;
    transform: translateY(-5px) scale(1.1);
}

.action-icon:hover i {
    color: #ffffff;
}

.product-info {
    position: relative;
    padding: 25px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.price-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
}

.offer-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #6366f1;
}

.original-price {
    font-size: 1.1rem;
    text-decoration: line-through;
    color: #94a3b8;
    font-weight: 500;
}

.discount-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #6366f1;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.product-card:hover .discount-badge {
    transform: translateY(-3px);
}


.product-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image-wrapper::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .product-card {
        margin-bottom: 25px;
    }
    .product-title {
        font-size: 1.1rem;
    }
    .offer-price {
        font-size: 1.3rem;
    }
    .original-price {
        font-size: 1rem;
    }
    .discount-badge, .new-badge {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    .action-icon {
        width: 42px;
        height: 42px;
    }
    .product-info {
        padding: 20px;
    }
}