@@ -387,23 +387,23 @@ export default function AddToCartSection({
{/* Price & In-stock Badge */}
-
+
{formatPrice(currentVariant?.price ?? product.price ?? 0)}
{currentVariantName && (
- / {currentVariantName}
+ / {currentVariantName}
)}
-
{/* 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({