/* 🚀 Advanced Product Card Design */
.product-card { 
    background: #ffffff; 
    border-radius: 20px; 
    padding: 14px; 
    border: 1px solid rgba(226, 232, 240, 0.6); 
    position: relative; 
    display: flex; 
    flex-direction: column; 
    cursor: pointer; 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
    overflow: hidden;
}

.product-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--primary); 
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.12);
}

.product-card:active { 
    transform: scale(0.96); 
}

.card-badge { 
    position: absolute; 
    top: 0; 
    right: 0; 
    background: linear-gradient(135deg, var(--danger), #fb7185); 
    color: white; 
    font-size: 11px; 
    font-weight: 800; 
    padding: 6px 14px; 
    border-radius: 0 20px 0 16px; 
    z-index: 2; 
    box-shadow: -2px 2px 10px rgba(225, 29, 72, 0.2);
}

.card-img-box { 
    background: #f8fafc; 
    border-radius: 16px; 
    height: 120px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 15px; 
    transition: transform 0.4s ease;
}

.product-card:hover .card-img-box {
    transform: scale(1.03);
}

.card-title { 
    font-size: 15px; 
    font-weight: 800; 
    margin-bottom: 8px; 
    color: var(--text-dark); 
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tags { 
    display: flex; 
    gap: 8px; 
    margin-bottom: 15px; 
    align-items: center; 
    flex-wrap: wrap;
}

.tag-category { 
    background: #ecfdf5; 
    color: var(--primary); 
    font-size: 10px; 
    padding: 5px 10px; 
    border-radius: 12px; 
    font-weight: 800; 
    border: 1px solid #a7f3d0;
}

.tag-weight { 
    font-size: 12px; 
    color: var(--text-gray); 
    font-weight: 700; 
}

.card-bottom { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    margin-top: auto; 
}

.price-col { 
    display: flex; 
    flex-direction: column; 
}

.old-price { 
    font-size: 12px; 
    text-decoration: line-through; 
    color: #94a3b8; 
    font-weight: 700; 
    margin-bottom: 2px;
}

.current-price { 
    font-size: 20px; 
    font-weight: 900; 
    color: var(--text-dark); 
    line-height: 1;
}

.btn-view { 
    background: var(--primary); 
    color: white; 
    border: none; 
    padding: 10px 16px; 
    border-radius: 12px; 
    font-weight: 800; 
    font-size: 12px; 
    cursor: pointer; 
    box-shadow: 0 4px 12px rgba(16,185,129,0.25); 
    transition: 0.3s;
}

.btn-view:hover {
    background: #059669;
    box-shadow: 0 6px 15px rgba(16,185,129,0.4);
}
