.product-card {
    font-family: 'Sora', sans-serif;
    position: relative;
    margin-bottom: 40px;
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    transform: translateZ(0) rotateX(0) rotateY(0);
}

.product-card:hover {
    transform: translateZ(50px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 25px 35px 60px rgba(0, 0, 0, 0.07);
}

.product-image-wrapper {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f8faff;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: center;
}

.product-image-hover {
    opacity: 0;
    transform: scale(1.3) translateY(-10%);
    filter: contrast(1.1);
}

.product-card:hover .product-image-main {
    opacity: 0;
    transform: scale(0.9) translateY(10%);
    filter: blur(3px);
}

.product-card:hover .product-image-hover {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: contrast(1.05);
}

.product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 25px;
    background: linear-gradient(to top, 
        rgba(255, 255, 255, 1) 20%,
        rgba(255, 255, 255, 0) 100%);
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
}

.product-card:hover .product-actions {
    transform: translateY(0);
}

.action-icon {
    position: relative;
    background: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.action-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff6b6b, #ff8787);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.action-icon i {
    color: #ff6b6b;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    z-index: 1;
}

.action-icon:hover {
    transform: translateY(-5px);
}

.action-icon:hover::before {
    opacity: 1;
}

.action-icon:hover i {
    color: #ffffff;
}

.product-info {
    padding: 30px;
    background: #ffffff;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: -0.2px;
}

.price-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
}

.offer-price {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ff6b6b, #ff8787);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.original-price {
    font-size: 1.1rem;
    text-decoration: line-through;
    color: #94a3b8;
    font-weight: 500;
}

.discount-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: linear-gradient(45deg, #ff6b6b, #ff8787);
    color: white;
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    transform: translateY(0);
    transition: all 0.4s ease;
}

.product-card:hover .discount-badge {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 25px rgba(99, 102, 241, 0.4);
}

.new-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: linear-gradient(45deg, #0ea5e9, #38bdf8);
    color: white;
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
    transform: translateY(0);
    transition: all 0.4s ease;
}

.product-card:hover .new-badge {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 25px rgba(14, 165, 233, 0.4);
}

@media (max-width: 768px) {
    .product-card {
        margin-bottom: 30px;
    }
    .product-title {
        font-size: 1.15rem;
    }
    .offer-price {
        font-size: 1.35rem;
    }
    .original-price {
        font-size: 1rem;
    }
    .discount-badge, .new-badge {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .action-icon {
        width: 44px;
        height: 44px;
    }
    .product-info {
        padding: 25px;
    }
}