.product-card {
    position: relative;
    margin-bottom: 35px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.21, 1, 0.35, 1);
    border: 1px solid #f1f5f9;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #e2e8f0;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    transition: 0.6s;
    z-index: 1;
}

.product-card:hover::before {
    left: 100%;
}

.product-image-wrapper {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f8fafc;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s cubic-bezier(0.21, 1, 0.35, 1);
}

.product-image-hover {
    opacity: 0;
    transform: scale(1.15);
    filter: brightness(1.05) saturate(1.1);
}

.product-card:hover .product-image-main {
    opacity: 0;
    transform: scale(0.95);
}

.product-card:hover .product-image-hover {
    opacity: 1;
    transform: scale(1);
}

.product-actions {
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    padding: 20px;
    background: #14b8a6;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: all 0.5s cubic-bezier(0.21, 1, 0.35, 1);
    z-index: 2;
}

.product-card:hover .product-actions {
    bottom: 0;
}

.action-icon {
    background: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.action-icon i {
    color: #0f172a;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.action-icon:hover {
    background: #0f172a;
    transform: translateY(-3px);
}

.action-icon:hover i {
    color: #ffffff;
}

.product-info {
    padding: 25px;
    background: #ffffff;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #0f172a;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: -0.3px;
}

.price-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.offer-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #14b8a6;
    letter-spacing: -0.5px;
}

.original-price {
    font-size: 1rem;
    text-decoration: line-through;
    color: #94a3b8;
}

.discount-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #14b8a6;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    letter-spacing: -0.3px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.15);
}


@media (max-width: 768px) {
    .product-card {
        margin-bottom: 25px;
    }
    .product-title {
        font-size: 1.1rem;
    }
    .offer-price {
        font-size: 1.2rem;
    }
    .discount-badge {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    .action-icon {
        width: 38px;
        height: 38px;
    }
    .product-info {
        padding: 20px;
    }
}