diff --git a/apps/website/src/components/AddToCartSection.tsx b/apps/website/src/components/AddToCartSection.tsx index bc84f4e..4631bb8 100644 --- a/apps/website/src/components/AddToCartSection.tsx +++ b/apps/website/src/components/AddToCartSection.tsx @@ -347,10 +347,10 @@ export default function AddToCartSection({ ) : (
{categoryName && ( -

{categoryName}

+

{categoryName}

)}
- {product.brand?.name || 'NORIFUMI'} + {product.brand?.name || 'NORIFUMI'} {categoryName} Series
@@ -362,24 +362,24 @@ export default function AddToCartSection({ {/* Subtitle / Tagline */} -

+

{description ? (description.length > 80 ? `${description.slice(0, 80)}...` : description) : t.defaultTagline}

{/* Star Rating & SKU Row */} -
-
+
+
{[...Array(5)].map((_, i) => ( ))}
4.9 - ({`128 ${t.reviews}`}) + ({`128 ${t.reviews}`})
- | -
- SKU: {currentVariant?.sku || 'NOR-GP-OILCUP-SET'} + | +
+ SKU: {currentVariant?.sku || 'NOR-GP-OILCUP-SET'}
@@ -387,23 +387,23 @@ export default function AddToCartSection({ {/* Price & In-stock Badge */}
- + {formatPrice(currentVariant?.price ?? product.price ?? 0)} {currentVariantName && ( - / {currentVariantName} + / {currentVariantName} )}
-
- +
+ {t.inStock}
{/* Description Excerpt */} {description && ( -

+

{description}

)} @@ -418,7 +418,7 @@ export default function AddToCartSection({ return (
-

+

{t.selectPrefix(optNameDisplay)}

@@ -438,13 +438,13 @@ export default function AddToCartSection({ onClick={() => handleOptionChange(optIndex, baseVal)} className={`group relative flex flex-col items-center gap-1.5 p-1.5 rounded-xl border transition-all ${ isSelected - ? 'border-red-500 bg-red-500/10 ring-2 ring-red-500/30' + ? 'border-brand-primary bg-brand-primary/10 ring-2 ring-brand-primary/30' : isAvailable - ? 'border-line-primary/20 bg-surface-card hover:border-line-primary/50 text-muted-text' + ? 'border-line-primary/20 bg-surface-card hover:border-brand-primary/50 text-muted-text' : 'border-line-primary/10 bg-surface-card/40 opacity-40 cursor-not-allowed' }`} > -
+
{swatchImg ? ( {displayVal} @@ -473,9 +473,9 @@ export default function AddToCartSection({ onClick={() => handleOptionChange(optIndex, baseVal)} className={`rounded-xl border px-5 py-2.5 text-xs font-bold uppercase tracking-wider transition ${ isSelected - ? 'border-red-500 bg-red-500/15 text-red-400 ring-1 ring-red-500/30 shadow-card' + ? 'border-brand-primary bg-brand-primary/15 text-brand-primary ring-1 ring-brand-primary/30 shadow-card' : isAvailable - ? 'border-line-primary/20 bg-surface-card text-muted-text hover:border-line-primary/50 hover:text-text-main' + ? 'border-line-primary/20 bg-surface-card text-muted-text hover:border-brand-primary/50 hover:text-text-main' : 'border-line-primary/10 bg-surface-card/40 text-muted-text/30 cursor-not-allowed' }`} > @@ -499,7 +499,7 @@ export default function AddToCartSection({ type="button" onClick={() => setQuantity(q => Math.max(1, q - 1))} disabled={quantity <= 1} - className="w-9 h-9 rounded-lg flex items-center justify-center text-zinc-400 hover:text-white hover:bg-white/5 disabled:opacity-30 disabled:hover:bg-transparent transition-colors" + className="w-9 h-9 rounded-lg flex items-center justify-center text-muted-text hover:text-text-main hover:bg-brand-primary/10 disabled:opacity-30 disabled:hover:bg-transparent transition-colors" aria-label="Decrease quantity" > @@ -510,7 +510,7 @@ export default function AddToCartSection({