{locale == "ar" ? item.nameOther : item.name}
{item.description}
}
style={{ width: 24, height: 24 }}
onClick={(e) => {
e.preventDefault();
e.stopPropagation();
console.log("heart");
}}
/>
}
size={isMobile ? "small" : "middle"}
onClick={(e) => {
e.preventDefault();
e.stopPropagation();
handleQuickAdd(item);
}}
style={{
position: "absolute",
bottom: -10,
[isRTL ? "right" : "left"]: isMobile ? "5%" : "15%",
zIndex: 1,
width: isMobile ? 82 : isTablet ? 90 : 100,
height: isMobile ? 32 : isTablet ? 40 : 44,
fontSize: isMobile ? "1rem" : isTablet ? 16 : 18,
fontWeight: 600,
border: 0,
color: themeName === "light" ? "#333333" : "#FFFFFF",
boxShadow:
themeName === "light"
? "0 2px 0 rgba(0,0,0,0.02)"
: "0 2px 0 #6b6b6b",
}}
>
{t("common.add")}
{/* Cart quantity badge - shows current quantity in cart */}
{getItemQuantity(item.id) > 0 && (
)}