| 1 |
.ka-woo-badges { |
| 2 |
/* inline-flex shrinks to the pills, so justify-content: flex-end |
| 3 |
(top-right / bottom-right) had nothing to push against. */ |
| 4 |
display: flex; |
| 5 |
width: 100%; |
| 6 |
gap: 6px; |
| 7 |
flex-wrap: wrap; |
| 8 |
} |
| 9 |
|
| 10 |
.ka-woo-badges--top-left { justify-content: flex-start; } |
| 11 |
.ka-woo-badges--top-right { justify-content: flex-end; } |
| 12 |
.ka-woo-badges--bottom-left { justify-content: flex-start; } |
| 13 |
.ka-woo-badges--bottom-right { justify-content: flex-end; } |
| 14 |
|
| 15 |
.ka-woo-badge { |
| 16 |
display: inline-flex; |
| 17 |
align-items: center; |
| 18 |
padding: 4px 8px; |
| 19 |
font-size: 12px; |
| 20 |
font-weight: 700; |
| 21 |
border-radius: 999px; |
| 22 |
color: #fff; |
| 23 |
background: #111; |
| 24 |
box-shadow: 0 6px 12px rgba(17, 24, 39, 0.18); |
| 25 |
} |
| 26 |
|
| 27 |
.ka-woo-badge--sale { |
| 28 |
background: linear-gradient(135deg, #ef4444, #dc2626); |
| 29 |
} |
| 30 |
|
| 31 |
.ka-woo-badge--new { |
| 32 |
background: linear-gradient(135deg, #22c55e, #16a34a); |
| 33 |
} |
| 34 |
|
| 35 |
.ka-woo-badge--best { |
| 36 |
background: linear-gradient(135deg, #2563eb, #1d4ed8); |
| 37 |
} |
| 38 |
|
| 39 |
.ka-woo-badge--custom { |
| 40 |
background: linear-gradient(135deg, #f59e0b, #d97706); |
| 41 |
} |
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|