@sonic-equipment/ui 0.0.14 → 0.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/base.css +4 -5
  2. package/dist/buttons/add-to-cart-button/add-to-cart-button.d.ts +8 -0
  3. package/dist/buttons/add-to-cart-button/add-to-cart-button.stories.d.ts +17 -0
  4. package/dist/buttons/button/button.d.ts +4 -2
  5. package/dist/buttons/button/button.stories.d.ts +3 -0
  6. package/dist/cards/product-card/product-card.d.ts +12 -7
  7. package/dist/cards/product-card/product-card.stories.d.ts +27 -1
  8. package/dist/display/product-price/product-price.d.ts +4 -8
  9. package/dist/display/product-price/product-price.stories.d.ts +1 -2
  10. package/dist/fonts.css +32 -32
  11. package/dist/forms/field-error/field-error.d.ts +5 -0
  12. package/dist/forms/field-error/field-error.stories.d.ts +15 -0
  13. package/dist/forms/input/input.d.ts +13 -0
  14. package/dist/forms/input/input.stories.d.ts +27 -0
  15. package/dist/forms/label/label.d.ts +6 -0
  16. package/dist/forms/label/label.stories.d.ts +15 -0
  17. package/dist/forms/number-field/number-field.d.ts +31 -0
  18. package/dist/forms/number-field/number-field.stories.d.ts +31 -0
  19. package/dist/forms/text-field/text-field.d.ts +28 -0
  20. package/dist/forms/text-field/text-field.stories.d.ts +24 -0
  21. package/dist/forms/textarea/textarea.d.ts +13 -0
  22. package/dist/forms/textarea/textarea.stories.d.ts +19 -0
  23. package/dist/icons/dehashed/dehashed-outlined-icon.d.ts +2 -0
  24. package/dist/icons/hashed/hashed-outlined-icon.d.ts +2 -0
  25. package/dist/index.d.ts +149 -29
  26. package/dist/index.js +251 -31
  27. package/dist/lists/product-overview-grid/product-overview-grid.d.ts +5 -0
  28. package/dist/lists/product-overview-grid/product-overview-grid.stories.d.ts +14 -0
  29. package/dist/media/image/image.d.ts +21 -0
  30. package/dist/media/image/image.stories.d.ts +16 -0
  31. package/dist/product-listing/product-listing.d.ts +1 -4
  32. package/dist/shared/types/price.d.ts +5 -0
  33. package/dist/styles.css +549 -70
  34. package/dist/typography/heading/heading.stories.d.ts +2 -2
  35. package/package.json +39 -22
  36. package/dist/icons/arrows/left-arrow-filled-icon.d.ts +0 -2
  37. /package/dist/{inputs → forms}/checkbox/checkbox.d.ts +0 -0
  38. /package/dist/{inputs → forms}/checkbox/checkbox.stories.d.ts +0 -0
package/dist/styles.css CHANGED
@@ -1,11 +1,14 @@
1
1
  :root {
2
+ /* font families */
2
3
  --font-family-sonic: 'Pancetta', sans-serif;
3
4
 
5
+ /* font sizes */
4
6
  --font-size-11: 0.6875rem;
5
7
  --font-size-12: 0.75rem;
6
8
  --font-size-14: 0.875rem;
7
9
  --font-size-16: 1rem;
8
10
  --font-size-18: 1.125rem;
11
+ --font-size-20: 1.25rem;
9
12
  --font-size-24: 1.5rem;
10
13
  --font-size-32: 2rem;
11
14
  --font-size-36: 2.25rem;
@@ -15,8 +18,10 @@
15
18
  --font-size-64: 4rem;
16
19
  --font-size-96: 6rem;
17
20
 
21
+ /* base font size */
18
22
  --font-size-base: var(--font-size-16);
19
23
 
24
+ /* font weights */
20
25
  --font-weight-thin: 100;
21
26
  --font-weight-extralight: 200;
22
27
  --font-weight-light: 300;
@@ -27,8 +32,10 @@
27
32
  --font-weight-extrabold: 800;
28
33
  --font-weight-black: 900;
29
34
 
35
+ /* base font weight */
30
36
  --font-weight-base: var(--font-weight-normal);
31
37
 
38
+ /* line heights */
32
39
  --line-height-22: 1.375rem;
33
40
  --line-height-24: 1.5rem;
34
41
  --line-height-28: 1.75rem;
@@ -38,26 +45,34 @@
38
45
  --line-height-56: 3.5rem;
39
46
  --line-height-84: 5.25rem;
40
47
 
48
+ /* base line height */
41
49
  --line-height-base: var(--line-height-24);
42
50
 
51
+ /* headings xxl */
43
52
  --text-heading-xxl-size: var(--font-size-96);
44
53
  --text-heading-xxl-line-height: var(--line-height-84);
45
54
 
55
+ /* headings xl */
46
56
  --text-heading-xl-size: var(--font-size-64);
47
57
  --text-heading-xl-line-height: var(--line-height-56);
48
58
 
59
+ /* headings l */
49
60
  --text-heading-l-size: var(--font-size-52);
50
61
  --text-heading-l-line-height: var(--line-height-44);
51
62
 
63
+ /* headings m */
52
64
  --text-heading-m-size: var(--font-size-48);
53
65
  --text-heading-m-line-height: var(--line-height-42);
54
66
 
67
+ /* headings s */
55
68
  --text-heading-s-size: var(--font-size-44);
56
69
  --text-heading-s-line-height: var(--line-height-38);
57
70
 
71
+ /* headings xs */
58
72
  --text-heading-xs-size: var(--font-size-32);
59
73
  --text-heading-xs-line-height: var(--line-height-28);
60
74
 
75
+ /* headings xxs */
61
76
  --text-heading-xxs-size: var(--font-size-24);
62
77
  --text-heading-xxs-line-height: var(--line-height-22);
63
78
  }
@@ -78,22 +93,21 @@
78
93
  --space-2: 2px;
79
94
  --space-4: 4px;
80
95
  --space-8: 8px;
96
+ --space-12: 12px;
81
97
  --space-16: 16px;
82
98
  --space-20: 20px;
83
99
  --space-24: 24px;
84
100
  --space-32: 32px;
85
101
  --space-36: 36px;
102
+ --space-40: 40px;
86
103
  --space-44: 44px;
87
104
  --space-48: 48px;
88
105
  --space-52: 52px;
89
106
  --space-56: 56px;
90
107
  --space-64: 64px;
91
108
  --space-72: 72px;
92
- --space-96: 96px;
93
-
94
- --space-20: 20px;
95
- --space-40: 40px;
96
109
  --space-80: 80px;
110
+ --space-96: 96px;
97
111
  --space-100: 100px;
98
112
  }
99
113
  :root {
@@ -105,8 +119,11 @@
105
119
 
106
120
  --color-transparent: transparent;
107
121
 
108
- --color-white: #ffffff;
122
+ /* Base */
123
+ --color-black: #000;
124
+ --color-white: #fff;
109
125
 
126
+ /* Reds */
110
127
  --color-red-50: #fff0f1;
111
128
  --color-red-100: #ffdee0;
112
129
  --color-red-200: #ffc3c7;
@@ -119,12 +136,12 @@
119
136
  --color-red-900: #8d0f16;
120
137
  --color-red-950: #4d0206;
121
138
 
139
+ /* Neutrals */
140
+ --color-gray-50: #fbfbfb;
122
141
  --color-gray-100: #ededed;
123
142
  --color-gray-500: #bcbcbc;
124
143
  --color-gray-900: #6f6f6f;
125
144
 
126
- --color-black: #000000;
127
-
128
145
  /*********************************************************
129
146
  *
130
147
  * Alias color tokens
@@ -134,24 +151,30 @@
134
151
  --color-brand-white: var(--color-white);
135
152
  --color-brand-black: var(--color-black);
136
153
 
154
+ /* Reds */
137
155
  --color-brand-red: var(--color-red-700);
138
156
  --color-brand-dark-red: var(--color-red-800);
139
157
 
158
+ /* Neutrals */
140
159
  --color-brand-dark-steelblue: #44586b;
141
160
  --color-brand-light-steelblue: #6ca1b6;
142
161
  --color-brand-dark-golden-rod: #d2a558;
143
162
 
163
+ /* Status */
144
164
  --color-status-available: #007000;
145
165
 
166
+ /* Semantic */
146
167
  --color-semantic-okay: #30d158;
147
168
  --color-semantic-notify: #ff9f0a;
148
169
  --color-semantic-stop: #e30613;
149
170
  --color-semantic-information: #0a84ff;
150
171
 
172
+ /* Brand neutrals */
151
173
  --color-brand-light-gray: var(--color-gray-100);
152
174
  --color-brand-medium-gray: var(--color-gray-500);
153
175
  --color-brand-dark-gray: var(--color-gray-900);
154
176
 
177
+ /* State */
155
178
  --color-focus-ring: var(--color-brand-red);
156
179
  }
157
180
  :root {
@@ -182,35 +205,37 @@
182
205
  --border-width-2: 2px;
183
206
  --border-width-3: 4px;
184
207
  }
208
+ :root {
209
+ --shadow-focus-outline: 0 0 1px 2px rgb(227 6 19 / 40%);
210
+ --shadow-focus-outline-padded: 0 0 1px 4px rgb(227 6 19 / 40%);
211
+ --box-shadow: 0 0 96px 0 rgb(0 0 0 / 30%);
212
+ }
185
213
 
186
214
  .button-module-V4meK {
187
215
  all: unset;
188
-
189
- align-items: center;
190
216
  display: inline-flex;
217
+ width: uppercase;
218
+ box-sizing: border-box;
191
219
  flex-shrink: 0;
220
+ align-items: center;
221
+ justify-content: center;
222
+ cursor: pointer;
192
223
  font-size: var(--font-size-base);
193
224
  font-style: italic;
194
225
  font-weight: var(--font-weight-bold);
195
- justify-content: center;
226
+ gap: 5px;
196
227
  line-height: var(--line-height-base);
197
228
  text-transform: uppercase;
198
229
  -webkit-user-select: none;
199
230
  -moz-user-select: none;
200
231
  user-select: none;
201
232
  vertical-align: text-bottom;
202
- cursor: pointer;
203
233
  }
204
234
 
205
235
  .button-module-V4meK:where([data-disabled]) {
206
236
  cursor: default;
207
237
  }
208
238
 
209
- .button-module-V4meK {
210
-
211
- gap: 3px;
212
- }
213
-
214
239
  /*********************************************************
215
240
  *
216
241
  * Sizes
@@ -218,11 +243,18 @@
218
243
  *********************************************************/
219
244
 
220
245
  .button-module-GVTEW {
246
+ min-width: 52px;
221
247
  min-height: 40px;
248
+ box-sizing: border-box;
249
+ padding: 0 var(--space-20);
222
250
  border-radius: var(--border-radius-20);
223
- padding-inline: var(--space-20);
224
251
  }
225
252
 
253
+ .button-module-GVTEW.button-module-GKHQc {
254
+ min-width: var(--space-56);
255
+ padding: 0 var(--space-16);
256
+ }
257
+
226
258
  .button-module-nyNY8 {
227
259
  min-height: 44px;
228
260
  border-radius: var(--border-radius-22);
@@ -261,9 +293,9 @@
261
293
  }
262
294
 
263
295
  .button-module-tmyk8:where([data-disabled]) {
296
+ border-color: var(--color-brand-light-gray);
264
297
  background-color: var(--color-red-100);
265
298
  color: var(--color-red-50);
266
- border-color: var(--color-brand-light-gray);
267
299
  }
268
300
 
269
301
  .button-module--1bCH:where(.button-module-vq9GI, .button-module-AjvlY) {
@@ -292,18 +324,150 @@
292
324
  }
293
325
 
294
326
  .button-module--1bCH:where([data-disabled]) {
327
+ border-color: var(--color-brand-medium-gray);
295
328
  background-color: var(--color-white);
296
329
  color: var(--color-brand-medium-gray);
297
- border-color: var(--color-brand-medium-gray);
298
330
  }
299
331
 
300
332
  .button-module--1bCH:where([data-disabled]) .button-module-ydQAo {
301
333
  color: var(--color-red-300);
302
334
  }
303
335
 
304
- .icon-button-module-HJm0i {
336
+ .field-error-module-FXnIg {
337
+ color: var(--color-brand-red);
338
+ }
339
+
340
+ /*************************************************************************
341
+ * Shared Text Field Styles
342
+ *************************************************************************/
343
+ .input-module-2woJR {
344
+ position: relative;
345
+ display: inline-block;
346
+ overflow: hidden;
347
+ border: none;
348
+ border-radius: var(--border-radius-8);
349
+ background-color: var(--color-brand-light-gray);
350
+ }
351
+ .input-module-2woJR .input-module-pNKEt,
352
+ .input-module-2woJR input {
353
+ all: unset;
354
+ min-width: 180px;
355
+ box-sizing: border-box;
356
+ font: inherit;
357
+ }
358
+ .input-module-2woJR .input-module-pNKEt::-moz-placeholder, .input-module-2woJR input::-moz-placeholder {
359
+ font-style: italic;
360
+ }
361
+ .input-module-2woJR .input-module-pNKEt::placeholder, .input-module-2woJR input::placeholder {
362
+ font-style: italic;
363
+ }
364
+ .input-module-2woJR .input-module-pNKEt {
365
+ display: none;
366
+ }
367
+ .input-module-2woJR:where(.input-module-Dx2qC) {
368
+ height: var(--space-44);
369
+ }
370
+ .input-module-2woJR:where(.input-module-Dx2qC) .input-module-pNKEt,
371
+ .input-module-2woJR:where(.input-module-Dx2qC) input {
372
+ height: var(--space-44);
373
+ padding: 0 var(--space-16);
374
+ }
375
+ .input-module-2woJR:where(.input-module-sH6e7) {
376
+ height: var(--space-40);
377
+ }
378
+ .input-module-2woJR:where(.input-module-sH6e7) .input-module-pNKEt,
379
+ .input-module-2woJR:where(.input-module-sH6e7) input {
380
+ height: var(--space-40);
381
+ padding: 0 var(--space-8);
382
+ }
383
+ .input-module-2woJR:has([data-disabled]) {
384
+ background-color: var(--color-gray-50);
385
+ color: var(--color-gray-500);
386
+ }
387
+ .input-module-2woJR.input-module-hEEuy,
388
+ .input-module-2woJR:has([data-focused]) {
389
+ box-shadow: var(--shadow-focus-outline);
390
+ outline: 0;
391
+ }
392
+ .input-module-2woJR:has([data-invalid])::after {
393
+ position: absolute;
394
+ right: 0;
395
+ bottom: 0;
396
+ left: 0;
397
+ display: block;
398
+ height: 2px;
399
+ background-color: var(--color-brand-red);
400
+ content: '';
401
+ }
402
+ .input-module-2woJR .input-module-6HwY4 {
403
+ display: inline-grid;
404
+ }
405
+ .input-module-2woJR .input-module-6HwY4 .input-module-pNKEt,
406
+ .input-module-2woJR .input-module-6HwY4 input {
407
+ min-width: auto;
408
+ grid-area: 1 / 1;
409
+ }
410
+ .input-module-2woJR .input-module-6HwY4 input {
411
+ text-align: center;
412
+ }
413
+ .input-module-2woJR .input-module-6HwY4 .input-module-pNKEt {
414
+ display: block;
415
+ visibility: hidden;
416
+ white-space: nowrap;
417
+ }
418
+
419
+ .label-module-LGfJt {
420
+ all: unset;
421
+ font-weight: var(--font-weight-bold);
422
+ }
423
+
424
+ .label-module-LGfJt :where(.label-module-oTWaS) {
425
+ color: var(--color-brand-red);
426
+ margin-inline-start: var(--space-4);
427
+ }
428
+
429
+ .number-field-module-gmnog {
305
430
  all: unset;
431
+ display: inline-flex;
432
+ flex-direction: column;
433
+ align-items: flex-start;
434
+ gap: var(--space-4);
435
+ }
436
+
437
+ .number-field-module-gmnog .number-field-module-8Lvgh {
438
+ display: flex;
439
+ width: 100%;
440
+ align-items: stretch;
441
+ justify-content: space-between;
442
+ }
443
+
444
+ .number-field-module-gmnog .number-field-module-8Lvgh button {
445
+ all: unset;
446
+ width: var(--space-32);
447
+ cursor: pointer;
448
+ font-size: var(--font-size-24);
449
+ text-align: center;
450
+ }
451
+
452
+ .number-field-module-gmnog span:empty {
453
+ display: none;
454
+ }
455
+
456
+ .add-to-cart-button-module-AWFvQ {
457
+ display: inline-flex;
458
+ flex-direction: row;
459
+ align-items: center;
460
+ justify-content: center;
461
+ gap: var(--space-4);
462
+ }
306
463
 
464
+ .add-to-cart-button-module-SS7WM {
465
+ display: inline-block;
466
+ width: 28px;
467
+ }
468
+
469
+ .icon-button-module-4PDK- {
470
+ all: unset;
307
471
  display: flex;
308
472
  align-items: center;
309
473
  justify-content: center;
@@ -348,85 +512,251 @@
348
512
  color: var(--color-brand-dark-red);
349
513
  }
350
514
 
351
- .favorite-button-module-tXSS3:where(.favorite-button-module-6FS3Q) {
515
+ .favorite-button-module-tXSS3:where(.favorite-button-module-l557q) {
352
516
  color: var(--color-brand-red);
353
517
  }
354
518
 
519
+ .tag-module-B7r15 {
520
+ --tag-bg-color: var(--color-brand-red);
521
+ --tag-fg-color: var(--color-brand-white);
522
+
523
+ display: inline-flex;
524
+ height: 16px;
525
+ flex: 1 1;
526
+ flex-direction: row;
527
+ align-items: stretch;
528
+ }
529
+
530
+ .tag-module-B7r15 .tag-module-4cfCf {
531
+ display: block;
532
+ padding: 2px 0 0 4px;
533
+ border: 1px solid var(--tag-bg-color);
534
+ background-color: var(--tag-bg-color);
535
+ color: var(--tag-fg-color);
536
+ font-size: var(--font-size-11);
537
+ font-weight: var(--font-weight-bold);
538
+ line-height: var(--font-size-11);
539
+ text-transform: uppercase;
540
+ }
541
+
542
+ .tag-module-B7r15 .tag-module-c7CRb {
543
+ min-width: 8px;
544
+ height: 16px;
545
+ flex: 0 0;
546
+ color: var(--tag-bg-color);
547
+ vertical-align: top;
548
+ }
549
+
355
550
  .product-price-module-oIU1K {
356
551
  --current-price-color: var(--color-brand-black);
552
+ --current-price-font-style: normal;
553
+ --font-size-wholes: var(--price-font-size-wholes, var(--font-size-36));
554
+ --font-size-decimals: var(--price-font-size-decimals, var(--font-size-24));
357
555
 
358
556
  display: flex;
359
557
  flex-direction: column;
360
558
  }
361
559
 
362
560
  .product-price-module-oIU1K .product-price-module-til0s {
363
- font-weight: var(--font-weight-bold);
561
+ padding-left: var(--space-4);
364
562
  color: var(--color-brand-dark-gray);
365
- text-decoration: line-through;
366
563
  font-size: var(--font-size-18);
367
- padding-left: var(--space-4);
564
+ font-weight: var(--font-weight-bold);
565
+ text-decoration: line-through;
368
566
  }
369
567
 
370
568
  .product-price-module-oIU1K .product-price-module-FfVhl {
371
569
  display: flex;
372
- gap: var(--space-4);
570
+ flex-wrap: wrap;
373
571
  align-items: baseline;
374
572
  margin-top: calc(var(--space-4) * -1);
573
+ gap: 0 var(--space-4);
375
574
  }
376
575
 
377
576
  .product-price-module-oIU1K .product-price-module-pvy2w {
378
577
  position: relative;
379
578
  display: flex;
380
- line-height: 1;
381
579
  color: var(--current-price-color);
382
- font-weight: var(--font-weight-black);
383
580
  font-size: var(--font-size-36);
384
- font-style: italic;
581
+ font-style: var(--current-price-font-style);
582
+ font-weight: var(--font-weight-black);
583
+ line-height: 1;
385
584
  }
386
585
 
387
586
  .product-price-module-oIU1K .product-price-module-pvy2w > * {
388
587
  line-height: 1;
389
588
  }
390
589
 
391
- .product-price-module-oIU1K .product-price-module-pvy2w .product-price-module-GCw07 {
392
- font-size: 36px;
393
- }
394
-
395
- .product-price-module-oIU1K .product-price-module-pvy2w .product-price-module-N56iV {
396
- margin-bottom: 0;
590
+ .product-price-module-oIU1K .product-price-module-pvy2w .product-price-module-GCw07,
591
+ .product-price-module-oIU1K .product-price-module-pvy2w .product-price-module-N56iV {
592
+ font-size: var(--font-size-wholes);
397
593
  }
398
594
 
399
595
  .product-price-module-oIU1K .product-price-module-pvy2w .product-price-module-eWOOF {
400
596
  position: relative;
401
- font-size: var(--font-size-24);
402
- margin-left: -0.375rem;
403
597
  margin-top: 2px;
404
- vertical-align: top;
598
+ margin-left: -0.375rem;
599
+ font-size: var(--font-size-decimals);
405
600
  }
406
601
 
407
602
  .product-price-module-oIU1K .product-price-module-96DoG {
408
- font-size: var(--font-size-12);
409
603
  color: var(--color-brand-dark-gray);
604
+ font-size: var(--font-size-12);
410
605
  font-weight: var(--font-weight-normal);
411
606
  }
412
607
 
413
608
  .product-price-module-oIU1K:has(.product-price-module-til0s) {
414
609
  --current-price-color: var(--color-brand-red);
610
+ --current-price-font-style: italic;
415
611
  }
416
612
 
417
613
  .product-sku-module-ITb8x {
418
- all: unset;
419
- font-size: var(--font-size-14);
420
- color: var(--color-brand-dark-gray);;
614
+ all: unset;
615
+ color: var(--color-brand-dark-gray);
616
+ font-size: var(--font-size-14);
421
617
  }
422
618
 
423
- .checkbox-module-y3eBg {
424
- all: unset;
619
+ .image-module-lg7Kj {
620
+ display: block;
621
+ max-width: 100%;
622
+ max-height: 100%;
623
+ }
624
+
625
+ .image-module-lg7Kj:where(.image-module-KFEgG) {
626
+ margin: auto;
627
+ -o-object-fit: contain;
628
+ object-fit: contain;
629
+ }
630
+
631
+ .image-module-lg7Kj:where(.image-module-tVKFe) {
632
+ width: 100%;
633
+ height: 100%;
634
+ -o-object-fit: cover;
635
+ object-fit: cover;
636
+ }
637
+
638
+ .product-card-module-pLaiB {
639
+ --title-font-size: var(--font-size-16);
640
+ --price-font-size-wholes: var(--font-size-32);
641
+ --price-font-size-decimals: var(--font-size-20);
642
+ --image-width: 122px;
643
+ --padding-inline: var(--space-12);
644
+ --padding-bottom: var(--space-12);
645
+
646
+ position: relative;
647
+ display: block;
648
+ padding-top: var(--space-12);
649
+ background-color: var(--color-white);
650
+ color: var(--color-black);
651
+ cursor: pointer;
652
+ text-decoration: none;
653
+ transition:
654
+ scale ease 0.2s,
655
+ box-shadow ease 0.2s;
656
+ }
425
657
 
658
+ .product-card-module-pLaiB .product-card-module-tvEdz {
659
+ position: absolute;
660
+ top: var(--space-8);
661
+ right: var(--space-8);
662
+ }
663
+
664
+ .product-card-module-pLaiB .product-card-module-e0kMu {
665
+ padding-bottom: var(--padding-bottom);
666
+ padding-inline: var(--padding-inline);
667
+ }
668
+
669
+ .product-card-module-pLaiB .product-card-module-Q0VvF {
670
+ margin-bottom: 53px;
671
+ }
672
+
673
+ .product-card-module-pLaiB .product-card-module-Q0VvF .product-card-module-HkWBE {
674
+ margin-bottom: 18px;
675
+ }
676
+
677
+ .product-card-module-pLaiB .product-card-module-Q0VvF .product-card-module-CStNi {
678
+ display: -webkit-box;
679
+ overflow: hidden;
680
+ margin-top: 0;
681
+ margin-bottom: var(--space-8);
682
+ -webkit-box-orient: vertical;
683
+ font-size: var(--title-font-size);
684
+ -webkit-line-clamp: 4;
685
+ line-height: 1;
686
+ text-wrap: balance;
687
+ }
688
+
689
+ .product-card-module-pLaiB .product-card-module-kD2tU {
690
+ display: flex;
691
+ flex-wrap: wrap;
692
+ align-items: center;
693
+ justify-content: space-between;
694
+ }
695
+
696
+ .product-card-module-pLaiB .product-card-module-p-zoi {
697
+ width: var(--image-width);
698
+ aspect-ratio: 1 / 1;
699
+ margin-inline: auto;
700
+ }
701
+
702
+ .product-card-module-pLaiB .product-card-module-p-zoi img {
703
+ display: block;
704
+ max-width: 100%;
705
+ }
706
+
707
+ .product-card-module-pLaiB .product-card-module-irW0D {
708
+ width: 100%;
709
+ }
710
+
711
+ .product-card-module-pLaiB .product-card-module-SnCvX {
712
+ display: flex;
713
+ width: 125px;
714
+ justify-content: flex-end;
715
+ margin-top: var(--space-4);
716
+ margin-left: auto;
717
+ }
718
+
719
+ @media (hover: hover) {
720
+ .product-card-module-pLaiB:hover {
721
+ box-shadow: var(--box-shadow);
722
+ scale: 1.04;
723
+ }
724
+ }
725
+
726
+ @container (min-width: 282px) {
727
+ .product-card-module-pLaiB {
728
+ --image-width: 204px;
729
+ --padding-bottom: var(--space-24);
730
+ }
731
+
732
+ .product-card-module-pLaiB .product-card-module-SnCvX {
733
+ margin-top: 0;
734
+ margin-left: auto;
735
+ }
736
+
737
+ .product-card-module-pLaiB .product-card-module-kD2tU {
738
+ flex-wrap: nowrap;
739
+ }
740
+
741
+ .product-card-module-pLaiB .product-card-module-irW0D {
742
+ width: initial;
743
+ }
744
+ }
745
+
746
+ @container (min-width: 360px) {
747
+ .product-card-module-pLaiB {
748
+ --image-width: 288px;
749
+ --title-font-size: var(--font-size-20);
750
+ --price-font-size-wholes: var(--font-size-36);
751
+ --price-font-size-decimals: var(--font-size-24);
752
+ --padding-inline: var(--space-16);
753
+ }
754
+ }
755
+
756
+ .checkbox-module-YNVdd {
426
757
  --selected-color: var(--color-brand-red);
427
758
  --selected-color-pressed: var(--color-brand-dark-red);
428
759
  --disabled-color: color-mix(in srgb, var(--selected-color) 20%, transparent);
429
-
430
760
  --checkmark-color: var(--color-white);
431
761
  --disabled-checkmark-color: color-mix(
432
762
  in srgb,
@@ -434,71 +764,220 @@
434
764
  transparent
435
765
  );
436
766
 
437
- box-sizing: border-box;
438
-
767
+ all: unset;
439
768
  display: flex;
769
+ box-sizing: border-box;
440
770
  align-items: center;
441
- gap: 4px;
442
771
  color: var(--color-brand-black);
443
772
  forced-color-adjust: none;
773
+ gap: 4px;
444
774
  }
445
775
 
446
- .checkbox-module-y3eBg .checkbox-module-TqLux {
447
- box-sizing: border-box;
776
+ .checkbox-module-YNVdd .checkbox-module-UKoyf {
777
+ display: flex;
448
778
  width: 16px;
449
779
  height: 16px;
450
- border: 2px solid var(--color-brand-medium-gray);
451
- border-radius: var(--border-radius-2);
452
- transition: all 200ms;
453
- display: flex;
780
+ box-sizing: border-box;
454
781
  align-items: center;
455
782
  justify-content: center;
783
+ border: 2px solid var(--color-brand-medium-gray);
784
+ border-radius: var(--border-radius-2);
456
785
  color: var(--checkmark-color);
786
+ transition: all 200ms;
457
787
  }
458
788
 
459
- .checkbox-module-y3eBg .checkbox-module-Yhrdp {
789
+ .checkbox-module-YNVdd .checkbox-module-pHIwh {
460
790
  width: 1rem;
461
791
  height: 1rem;
462
792
  fill: none;
463
- stroke: currentColor;
464
- stroke-width: 2px;
465
- stroke-linecap: round;
793
+ stroke: currentcolor;
466
794
  stroke-dasharray: 22px;
467
795
  stroke-dashoffset: 66;
796
+ stroke-linecap: round;
797
+ stroke-width: 2px;
468
798
  transition: all 200ms;
469
799
  }
470
800
 
471
- .checkbox-module-y3eBg[data-pressed] .checkbox-module-TqLux {
801
+ .checkbox-module-YNVdd[data-disabled] .checkbox-module-UKoyf {
802
+ border-color: var(--color-transparent);
803
+ background-color: var(--disabled-color);
804
+ color: var(--disabled-checkmark-color);
805
+ }
806
+
807
+ .checkbox-module-YNVdd[data-pressed] .checkbox-module-UKoyf {
472
808
  border-color: var(--color-brand-dark-gray);
473
809
  }
474
810
 
475
- .checkbox-module-y3eBg.checkbox-module-zoTSP .checkbox-module-TqLux, .checkbox-module-y3eBg.checkbox-module-sHmzp .checkbox-module-TqLux, .checkbox-module-y3eBg[data-focus-visible] .checkbox-module-TqLux {
811
+ .checkbox-module-YNVdd.checkbox-module-v23jy .checkbox-module-UKoyf, .checkbox-module-YNVdd.checkbox-module-7UG-b .checkbox-module-UKoyf, .checkbox-module-YNVdd[data-focus-visible] .checkbox-module-UKoyf {
812
+ box-shadow: var(--shadow-focus-outline-padded);
476
813
  outline: 2px solid var(--color-brand-white);
477
- outline-offset: 0px;
478
- box-shadow: 0 0 8px 2px var(--color-brand-red);
814
+ outline-offset: 0;
479
815
  }
480
816
 
481
- .checkbox-module-y3eBg[data-selected] .checkbox-module-TqLux, .checkbox-module-y3eBg[data-indeterminate] .checkbox-module-TqLux {
817
+ .checkbox-module-YNVdd[data-selected] .checkbox-module-UKoyf, .checkbox-module-YNVdd[data-indeterminate] .checkbox-module-UKoyf {
482
818
  border-color: var(--selected-color);
483
819
  background: var(--selected-color);
484
820
  }
485
821
 
486
- .checkbox-module-y3eBg[data-selected][data-pressed] .checkbox-module-TqLux, .checkbox-module-y3eBg[data-indeterminate][data-pressed] .checkbox-module-TqLux {
822
+ .checkbox-module-YNVdd[data-selected][data-pressed] .checkbox-module-UKoyf, .checkbox-module-YNVdd[data-indeterminate][data-pressed] .checkbox-module-UKoyf {
487
823
  border-color: var(--selected-color-pressed);
488
824
  background: var(--selected-color-pressed);
489
825
  }
490
826
 
491
- .checkbox-module-y3eBg[data-selected] .checkbox-module-Yhrdp, .checkbox-module-y3eBg[data-indeterminate] .checkbox-module-Yhrdp {
827
+ .checkbox-module-YNVdd[data-selected] .checkbox-module-pHIwh, .checkbox-module-YNVdd[data-indeterminate] .checkbox-module-pHIwh {
492
828
  stroke-dashoffset: 44;
493
829
  }
494
830
 
495
- .checkbox-module-y3eBg[data-indeterminate] .checkbox-module-Yhrdp {
496
- stroke: none;
831
+ .checkbox-module-YNVdd[data-indeterminate] .checkbox-module-pHIwh {
497
832
  fill: var(--checkmark-color);
833
+ stroke: none;
498
834
  }
499
835
 
500
- .checkbox-module-y3eBg[data-disabled] .checkbox-module-TqLux {
501
- border-color: var(--color-transparent);
502
- background-color: var(--disabled-color);
503
- color: var(--disabled-checkmark-color);
836
+ .textarea-module-C6Xr1 {
837
+ position: relative;
838
+ display: inline-block;
839
+ overflow: hidden;
840
+ border: none;
841
+ border-radius: var(--border-radius-8);
842
+ background-color: var(--color-brand-light-gray);
843
+ }
844
+
845
+ .textarea-module-C6Xr1:has([data-disabled]) {
846
+ background-color: var(--color-gray-50);
847
+ color: var(--color-gray-500);
504
848
  }
849
+
850
+ .textarea-module-C6Xr1:has([data-focused]) {
851
+ box-shadow: 0 0 8px 2px var(--color-brand-red);
852
+ outline: 0;
853
+ }
854
+
855
+ .textarea-module-C6Xr1:has([data-invalid])::after {
856
+ position: absolute;
857
+ right: 0;
858
+ bottom: 0;
859
+ left: 0;
860
+ display: block;
861
+ height: 2px;
862
+ background-color: var(--color-brand-red);
863
+ content: '';
864
+ }
865
+
866
+ .textarea-module-C6Xr1 textarea {
867
+ all: unset;
868
+ box-sizing: border-box;
869
+ padding: 13px var(--space-16);
870
+ font: inherit;
871
+ }
872
+
873
+ .textarea-module-C6Xr1.textarea-module-vksG- textarea,
874
+ .textarea-module-C6Xr1.textarea-module-vksG- .textarea-module-C6Xr1 {
875
+ min-height: var(--space-44);
876
+ }
877
+
878
+ .textarea-module-C6Xr1.textarea-module-vksG- textarea {
879
+ padding: var(--space-16);
880
+ }
881
+
882
+ .textarea-module-C6Xr1.textarea-module-6JrQJ textarea,
883
+ .textarea-module-C6Xr1.textarea-module-6JrQJ .textarea-module-C6Xr1 {
884
+ min-height: var(--space-40);
885
+ }
886
+
887
+ .textarea-module-C6Xr1.textarea-module-6JrQJ textarea {
888
+ padding: 11px var(--space-8);
889
+ }
890
+
891
+ .text-field-module-JeaK0 {
892
+ all: unset;
893
+ display: inline-flex;
894
+ flex-direction: column;
895
+ align-items: flex-start;
896
+ gap: var(--space-4);
897
+ }
898
+
899
+ .text-field-module-JeaK0 span:empty {
900
+ display: none;
901
+ }
902
+
903
+ .product-overview-grid-module-bzys- {
904
+ --amount-of-columns: 1;
905
+ --column-gap: 0;
906
+ --row-gap: var(--space-16);
907
+
908
+ display: grid;
909
+ width: 100%;
910
+ gap: var(--row-gap) var(--column-gap);
911
+ grid-template-columns: repeat(var(--amount-of-columns), 1fr);
912
+ }
913
+
914
+ .product-overview-grid-module-MlUVA {
915
+ container-type: inline-size;
916
+ }
917
+
918
+ .product-overview-grid-module-MlUVA:not(:last-child)::before {
919
+ position: absolute;
920
+ top: calc(100% + var(--row-gap) / 2);
921
+ left: 0;
922
+ width: 100%;
923
+ height: 1px;
924
+ background-image: linear-gradient(
925
+ to right,
926
+ var(--color-white),
927
+ #e0dfdf 10%,
928
+ #bdbcbc 51%,
929
+ #e0dfdf 90%,
930
+ var(--color-white)
931
+ );
932
+ content: '';
933
+ }
934
+
935
+ .product-overview-grid-module-MlUVA:has(> :hover) {
936
+ z-index: 1;
937
+ }
938
+
939
+ @media (width >= 576px) {
940
+ .product-overview-grid-module-bzys- {
941
+ --amount-of-columns: 2;
942
+ --row-gap: 0;
943
+ --column-gap: var(--space-16);
944
+ }
945
+ .product-overview-grid-module-MlUVA::before {
946
+ display: none;
947
+ }
948
+
949
+ .product-overview-grid-module-MlUVA::after {
950
+ position: absolute;
951
+ top: 0;
952
+ left: calc(100% + var(--column-gap) / 2);
953
+ width: 1px;
954
+ height: 100%;
955
+ background-image: linear-gradient(
956
+ to bottom,
957
+ var(--color-white),
958
+ #e0dfdf 10%,
959
+ #bdbcbc 51%,
960
+ #e0dfdf 90%,
961
+ var(--color-white)
962
+ );
963
+ content: '';
964
+ }
965
+ .product-overview-grid-module-MlUVA:nth-child(2n)::after {
966
+ display: none;
967
+ }
968
+ .product-overview-grid-module-MlUVA:has(> :hover)::after, .product-overview-grid-module-MlUVA:has(+ .product-overview-grid-module-MlUVA:hover)::after {
969
+ display: none;
970
+ }
971
+ }
972
+
973
+ @media (width >= 1440px) {
974
+ .product-overview-grid-module-bzys- {
975
+ --amount-of-columns: 3;
976
+ }
977
+ .product-overview-grid-module-MlUVA:nth-child(2n)::after {
978
+ display: block;
979
+ }
980
+ .product-overview-grid-module-MlUVA:nth-child(3n)::after {
981
+ display: none;
982
+ }
983
+ }