@merchi/checkout 1.3.5

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 (122) hide show
  1. package/README.md +196 -0
  2. package/lib/actions/confirm.d.ts +2 -0
  3. package/lib/actions/confirm.js +85 -0
  4. package/lib/actions/customer.d.ts +2 -0
  5. package/lib/actions/customer.js +53 -0
  6. package/lib/actions/domain.d.ts +2 -0
  7. package/lib/actions/domain.js +65 -0
  8. package/lib/actions/files.d.ts +1 -0
  9. package/lib/actions/files.js +35 -0
  10. package/lib/actions/helpers.d.ts +19 -0
  11. package/lib/actions/helpers.js +125 -0
  12. package/lib/actions/invoice.d.ts +3 -0
  13. package/lib/actions/invoice.js +113 -0
  14. package/lib/area.d.ts +77 -0
  15. package/lib/area.js +298 -0
  16. package/lib/assets/merchi-monster-loader.gif +0 -0
  17. package/lib/checkoutSession.d.ts +32 -0
  18. package/lib/checkoutSession.js +151 -0
  19. package/lib/components/Alerts.d.ts +3 -0
  20. package/lib/components/Alerts.js +88 -0
  21. package/lib/components/CancelOrderConfirmModal.d.ts +10 -0
  22. package/lib/components/CancelOrderConfirmModal.js +50 -0
  23. package/lib/components/CheckoutSummaryFields.d.ts +11 -0
  24. package/lib/components/CheckoutSummaryFields.js +38 -0
  25. package/lib/components/Collapse.d.ts +3 -0
  26. package/lib/components/Collapse.js +34 -0
  27. package/lib/components/CustomerCheckoutMethodTabs.d.ts +6 -0
  28. package/lib/components/CustomerCheckoutMethodTabs.js +90 -0
  29. package/lib/components/DiscountInputGroup.d.ts +2 -0
  30. package/lib/components/DiscountInputGroup.js +256 -0
  31. package/lib/components/DraftImageUploaded.d.ts +8 -0
  32. package/lib/components/DraftImageUploaded.js +53 -0
  33. package/lib/components/FooterButtons.d.ts +11 -0
  34. package/lib/components/FooterButtons.js +28 -0
  35. package/lib/components/InvoiceInfo.d.ts +6 -0
  36. package/lib/components/InvoiceInfo.js +37 -0
  37. package/lib/components/JobInfoContent.d.ts +2 -0
  38. package/lib/components/JobInfoContent.js +728 -0
  39. package/lib/components/MerchiCheckout.d.ts +46 -0
  40. package/lib/components/MerchiCheckout.js +49 -0
  41. package/lib/components/MerchiCheckoutProvider.d.ts +167 -0
  42. package/lib/components/MerchiCheckoutProvider.js +569 -0
  43. package/lib/components/MerchiCheckoutTabs.d.ts +2 -0
  44. package/lib/components/MerchiCheckoutTabs.js +50 -0
  45. package/lib/components/TabPane.d.ts +7 -0
  46. package/lib/components/TabPane.js +21 -0
  47. package/lib/components/TabPaneAddress.d.ts +3 -0
  48. package/lib/components/TabPaneAddress.js +28 -0
  49. package/lib/components/TabPaneConfirm.d.ts +11 -0
  50. package/lib/components/TabPaneConfirm.js +288 -0
  51. package/lib/components/TabPaneContainer.d.ts +6 -0
  52. package/lib/components/TabPaneContainer.js +13 -0
  53. package/lib/components/TabPaneCustomer.d.ts +5 -0
  54. package/lib/components/TabPaneCustomer.js +93 -0
  55. package/lib/components/TabPaneNewDomain.d.ts +3 -0
  56. package/lib/components/TabPaneNewDomain.js +39 -0
  57. package/lib/components/TabPanePayment.d.ts +3 -0
  58. package/lib/components/TabPanePayment.js +99 -0
  59. package/lib/components/TabPaneSubmitted.d.ts +3 -0
  60. package/lib/components/TabPaneSubmitted.js +90 -0
  61. package/lib/components/TitleStep.d.ts +6 -0
  62. package/lib/components/TitleStep.js +24 -0
  63. package/lib/components/buttons/ButtonInvoiceDownload.d.ts +3 -0
  64. package/lib/components/buttons/ButtonInvoiceDownload.js +91 -0
  65. package/lib/components/buttons/ButtonNext.d.ts +10 -0
  66. package/lib/components/buttons/ButtonNext.js +48 -0
  67. package/lib/components/buttons/ButtonPrevious.d.ts +7 -0
  68. package/lib/components/buttons/ButtonPrevious.js +36 -0
  69. package/lib/components/buttons/index.d.ts +3 -0
  70. package/lib/components/buttons/index.js +4 -0
  71. package/lib/components/currency.d.ts +5 -0
  72. package/lib/components/currency.js +223 -0
  73. package/lib/components/forms/CheckboxBillingAddressSameAsShippingAddress.d.ts +7 -0
  74. package/lib/components/forms/CheckboxBillingAddressSameAsShippingAddress.js +22 -0
  75. package/lib/components/forms/FormAddresses.d.ts +6 -0
  76. package/lib/components/forms/FormAddresses.js +251 -0
  77. package/lib/components/forms/FormCustomerNew.d.ts +4 -0
  78. package/lib/components/forms/FormCustomerNew.js +197 -0
  79. package/lib/components/forms/FormCustomerReturning.d.ts +3 -0
  80. package/lib/components/forms/FormCustomerReturning.js +147 -0
  81. package/lib/components/forms/FormDomainNew.d.ts +2 -0
  82. package/lib/components/forms/FormDomainNew.js +152 -0
  83. package/lib/components/forms/FormWhatsappCustomer.d.ts +4 -0
  84. package/lib/components/forms/FormWhatsappCustomer.js +217 -0
  85. package/lib/components/forms/InputAcceptUserTermsAndConditions.d.ts +7 -0
  86. package/lib/components/forms/InputAcceptUserTermsAndConditions.js +38 -0
  87. package/lib/components/forms/InputCheckStoreName.d.ts +7 -0
  88. package/lib/components/forms/InputCheckStoreName.js +168 -0
  89. package/lib/components/forms/InputError.d.ts +8 -0
  90. package/lib/components/forms/InputError.js +19 -0
  91. package/lib/components/forms/InputFileUpload.d.ts +12 -0
  92. package/lib/components/forms/InputFileUpload.js +191 -0
  93. package/lib/components/forms/InputSelect.d.ts +14 -0
  94. package/lib/components/forms/InputSelect.js +52 -0
  95. package/lib/components/forms/InputText.d.ts +12 -0
  96. package/lib/components/forms/InputText.js +59 -0
  97. package/lib/components/forms/InputsAddress.d.ts +12 -0
  98. package/lib/components/forms/InputsAddress.js +533 -0
  99. package/lib/components/forms/index.d.ts +5 -0
  100. package/lib/components/forms/index.js +6 -0
  101. package/lib/components/lists/ListShipmentQuoteOptions.d.ts +9 -0
  102. package/lib/components/lists/ListShipmentQuoteOptions.js +145 -0
  103. package/lib/components/lists/index.d.ts +2 -0
  104. package/lib/components/lists/index.js +3 -0
  105. package/lib/fonts/nunito-bold-webfont.woff +0 -0
  106. package/lib/fonts/nunito-bold-webfont.woff2 +0 -0
  107. package/lib/fonts/nunito-regular-webfont.woff +0 -0
  108. package/lib/fonts/nunito-regular-webfont.woff2 +0 -0
  109. package/lib/index.d.ts +3 -0
  110. package/lib/index.js +4 -0
  111. package/lib/merchi_source.d.ts +2 -0
  112. package/lib/merchi_source.js +31 -0
  113. package/lib/styles/globals.css +2546 -0
  114. package/lib/styles/globals.css.map +1 -0
  115. package/lib/styles/globals.scss +2763 -0
  116. package/lib/tabs_utils.d.ts +31 -0
  117. package/lib/tabs_utils.js +104 -0
  118. package/lib/types.d.ts +43 -0
  119. package/lib/types.js +40 -0
  120. package/lib/utils.d.ts +68 -0
  121. package/lib/utils.js +560 -0
  122. package/package.json +96 -0
@@ -0,0 +1,2763 @@
1
+ .modal-fullscreen {
2
+ width: 100vw;
3
+ max-width: none;
4
+ height: 100%;
5
+ margin: 0;
6
+ }
7
+
8
+ .modal.modal-fullscreen.modal_merchi-checkout .modal-dialog.modal-fullscreen {
9
+ height: auto;
10
+ max-height: calc(100vh - 2rem);
11
+ }
12
+
13
+ .modal.modal-fullscreen.modal_merchi-checkout .modal-content {
14
+ height: auto;
15
+ min-height: 0;
16
+ }
17
+
18
+ /* Embed form */
19
+ /* Muti step form */
20
+ /* Modal - checkout */
21
+ /* Invoice */
22
+
23
+ $brandBlue: #303dbf;
24
+ $brandRed: #ff464a;
25
+ $brandYellow: #ffc928;
26
+ $brandGreen: #65cf85;
27
+ $textDark: rgb(59, 64, 77);
28
+
29
+ .cursor-pointer {
30
+ cursor: pointer;
31
+ }
32
+
33
+ /* Helpers */
34
+ .flex-wrap {
35
+ flex-wrap: wrap !important;
36
+ }
37
+
38
+ .gap-1 {
39
+ gap: 0.5rem !important;
40
+ }
41
+
42
+ .height-xs {
43
+ height: 150px !important;
44
+ }
45
+
46
+ .height-sm {
47
+ height: 300px !important;
48
+ }
49
+
50
+ .height-md {
51
+ height: 450px !important;
52
+ }
53
+
54
+ .height-lg {
55
+ height: 600px !important;
56
+ }
57
+
58
+ .height-full {
59
+ height: 100% !important;
60
+ }
61
+
62
+ .height-0 {
63
+ height: 0px !important;
64
+ }
65
+
66
+ .height-10 {
67
+ height: 10px !important;
68
+ }
69
+
70
+ .height-20 {
71
+ height: 20px !important;
72
+ }
73
+
74
+ .height-30 {
75
+ height: 30px !important;
76
+ }
77
+
78
+ .height-40 {
79
+ height: 40px !important;
80
+ }
81
+
82
+ .height-50 {
83
+ height: 50px !important;
84
+ }
85
+
86
+ .height-60 {
87
+ height: 60px !important;
88
+ }
89
+
90
+ .height-70 {
91
+ height: 70px !important;
92
+ }
93
+
94
+ .height-80 {
95
+ height: 80px !important;
96
+ }
97
+
98
+ .height-90 {
99
+ height: 90px !important;
100
+ }
101
+
102
+ .height-100 {
103
+ height: 100px !important;
104
+ }
105
+
106
+ .height-150 {
107
+ height: 150px !important;
108
+ }
109
+
110
+ .height-200 {
111
+ height: 200px !important;
112
+ }
113
+
114
+ .height-250 {
115
+ height: 250px !important;
116
+ }
117
+
118
+ .height-300 {
119
+ height: 300px !important;
120
+ }
121
+
122
+ .height-310 {
123
+ height: 310px !important;
124
+ }
125
+
126
+ .height-350 {
127
+ height: 350px !important;
128
+ }
129
+
130
+ .height-400 {
131
+ height: 400px !important;
132
+ }
133
+
134
+ .height-450 {
135
+ height: 450px !important;
136
+ }
137
+
138
+ .height-500 {
139
+ height: 500px !important;
140
+ }
141
+
142
+ .height-550 {
143
+ height: 550px !important;
144
+ }
145
+
146
+ .height-600 {
147
+ height: 600px !important;
148
+ }
149
+
150
+ .width-xs {
151
+ width: 150px !important;
152
+ }
153
+
154
+ .width-sm {
155
+ width: 300px !important;
156
+ }
157
+
158
+ .width-md {
159
+ width: 450px !important;
160
+ }
161
+
162
+ .width-lg {
163
+ width: 600px !important;
164
+ }
165
+
166
+ .width-full {
167
+ width: 100% !important;
168
+ }
169
+
170
+ .width-0 {
171
+ width: 0px !important;
172
+ }
173
+
174
+ .width-10 {
175
+ width: 10px !important;
176
+ }
177
+
178
+ .width-20 {
179
+ width: 20px !important;
180
+ }
181
+
182
+ .width-30 {
183
+ width: 30px !important;
184
+ }
185
+
186
+ .width-40 {
187
+ width: 40px !important;
188
+ }
189
+
190
+ .width-50 {
191
+ width: 50px !important;
192
+ }
193
+
194
+ .width-60 {
195
+ width: 60px !important;
196
+ }
197
+
198
+ .width-70 {
199
+ width: 70px !important;
200
+ }
201
+
202
+ .width-80 {
203
+ width: 80px !important;
204
+ }
205
+
206
+ .width-90 {
207
+ width: 90px !important;
208
+ }
209
+
210
+ .width-100 {
211
+ width: 100px !important;
212
+ }
213
+
214
+ .width-150 {
215
+ width: 150px !important;
216
+ }
217
+
218
+ .width-200 {
219
+ width: 200px !important;
220
+ }
221
+
222
+ .width-250 {
223
+ width: 250px !important;
224
+ }
225
+
226
+ .width-300 {
227
+ width: 300px !important;
228
+ }
229
+
230
+ .width-350 {
231
+ width: 350px !important;
232
+ }
233
+
234
+ .width-400 {
235
+ width: 400px !important;
236
+ }
237
+
238
+ .width-450 {
239
+ width: 450px !important;
240
+ }
241
+
242
+ .width-500 {
243
+ width: 500px !important;
244
+ }
245
+
246
+ .width-550 {
247
+ width: 550px !important;
248
+ }
249
+
250
+ .width-600 {
251
+ width: 600px !important;
252
+ }
253
+
254
+ .ml-auto,
255
+ .mx-auto {
256
+ margin-left: auto !important;
257
+ }
258
+
259
+ /* Progress circle */
260
+ .progress-circle {
261
+ width: 50px;
262
+ height: 50px;
263
+ background: none;
264
+ position: relative;
265
+ }
266
+
267
+ .progress-circle-sm {
268
+ width: 40px !important;
269
+ height: 40px !important;
270
+ }
271
+
272
+ .progress-circle::after {
273
+ content: "";
274
+ width: 100%;
275
+ height: 100%;
276
+ border-radius: 50%;
277
+ border: 6px solid #f6f9fc;
278
+ position: absolute;
279
+ top: 0;
280
+ left: 0;
281
+ }
282
+
283
+ .progress-circle>span {
284
+ width: 50%;
285
+ height: 100%;
286
+ overflow: hidden;
287
+ position: absolute;
288
+ top: 0;
289
+ z-index: 1;
290
+ }
291
+
292
+ .progress-circle .progress-left {
293
+ left: 0;
294
+ }
295
+
296
+ .progress-circle .progress-bar {
297
+ width: 100%;
298
+ height: 100%;
299
+ background: none;
300
+ border-width: 6px;
301
+ border-style: solid;
302
+ position: absolute;
303
+ top: 0;
304
+ }
305
+
306
+ .progress-circle .progress-left .progress-bar {
307
+ left: 100%;
308
+ border-top-right-radius: 80px;
309
+ border-bottom-right-radius: 80px;
310
+ border-left: 0;
311
+ -webkit-transform-origin: center left;
312
+ transform-origin: center left;
313
+ }
314
+
315
+ .progress-circle .progress-right {
316
+ right: 0;
317
+ }
318
+
319
+ .progress-circle .progress-right .progress-bar {
320
+ left: -100%;
321
+ border-top-left-radius: 80px;
322
+ border-bottom-left-radius: 80px;
323
+ border-right: 0;
324
+ -webkit-transform-origin: center right;
325
+ transform-origin: center right;
326
+ }
327
+
328
+ .progress-circle .progress-value {
329
+ position: absolute;
330
+ top: 0;
331
+ left: 0;
332
+ }
333
+
334
+ .progress-circle-badge-counter {
335
+ position: absolute;
336
+ top: -10px;
337
+ right: -4px;
338
+ padding: .25rem .275rem;
339
+ }
340
+
341
+ .rounded-lg {
342
+ border-radius: 1rem;
343
+ }
344
+
345
+ .spinner,
346
+ .fade.in .spinner-small {
347
+ -webkit-animation: none !important;
348
+ -moz-animation: none !important;
349
+ -o-animation: none !important;
350
+ animation: none !important;
351
+ }
352
+
353
+ .spinner,
354
+ .spinner-small {
355
+ height: 100px !important;
356
+ width: 100px !important;
357
+ top: 45%;
358
+ left: 48%;
359
+ background: url('../assets/merchi-monster-loader.gif');
360
+ background-repeat: no-repeat;
361
+ background-position: center center;
362
+ background-size: 150px 150px;
363
+ margin: -20px 0 0 -20px;
364
+ position: absolute;
365
+ border: none;
366
+ }
367
+
368
+ .spinner,
369
+ .spinner-merchi-small {
370
+ height: 100px !important;
371
+ width: 100px !important;
372
+ background: url('../assets/merchi-monster-loader.gif');
373
+ background-repeat: no-repeat;
374
+ background-position: center center;
375
+ background-size: 150px 150px;
376
+ border: none;
377
+ }
378
+
379
+ .bg-landing-page {
380
+ background-color: #f8f9fe;
381
+ }
382
+
383
+ .navbar-landing {
384
+ background-color: #f8f9fe;
385
+ }
386
+
387
+ .navbar-horizontal .navbar-nav .nav-link {
388
+ font-size: 1rem !important;
389
+ font-weight: 1000 !important;
390
+ letter-spacing: 0;
391
+ }
392
+
393
+ .header-main-img {
394
+ background-size: contain;
395
+ background-repeat: no-repeat;
396
+ background-position: center;
397
+ min-height: 250px,
398
+ }
399
+
400
+ .landing-h1 {
401
+ font-size: 3.5rem;
402
+ font-weight: 800;
403
+ line-height: 3.5rem;
404
+ display: inline;
405
+ }
406
+
407
+ .landing-h2 {
408
+ font-size: 3rem;
409
+ font-weight: 800;
410
+ line-height: 3.5rem;
411
+ }
412
+
413
+ .landing-p {
414
+ font-size: 1.5rem;
415
+ line-height: 2.2rem;
416
+ }
417
+
418
+ .landing-p-strong {
419
+ font-size: 17px;
420
+ font-weight: 600;
421
+ }
422
+
423
+ .landing-p-1 {
424
+ font-size: 1.5rem;
425
+ line-height: 2.2rem;
426
+ }
427
+
428
+ @media(min-width: 500px) {
429
+ .header-main-img {
430
+ min-height: 500px;
431
+ }
432
+
433
+ .landing-h1 {
434
+ font-size: 3.5rem;
435
+ line-height: 3.5rem;
436
+ }
437
+ }
438
+
439
+ .display-3 {
440
+ line-height: 1.2;
441
+ margin-bottom: 1rem;
442
+ }
443
+
444
+ .progress-circle .progress-bar {
445
+ transition: all 0.1s linear;
446
+ }
447
+
448
+ .progress-circle-hero {
449
+ height: 110px;
450
+ width: 110px;
451
+ border-width: 6px;
452
+ }
453
+
454
+ .progress-circle-hero .progress-bar {
455
+ border-width: 6px !important;
456
+ }
457
+
458
+ .utils-progress .rounded-lg {
459
+ background: #fff;
460
+ border-radius: 100%;
461
+ padding: 10px;
462
+ }
463
+
464
+ .utils-progress .badge {
465
+ font-size: 14px;
466
+ margin-left: -10px !important;
467
+ border-top-right-radius: 20px;
468
+ border-bottom-right-radius: 20px;
469
+ padding: 15px;
470
+ }
471
+
472
+ .utils-progress .badge-left {
473
+ margin-right: -10px !important;
474
+ border-top-left-radius: 20px;
475
+ border-bottom-left-radius: 20px;
476
+ border-top-right-radius: 0;
477
+ border-bottom-right-radius: 0;
478
+ }
479
+
480
+ @media(max-width: 500px) {
481
+ .utils-progress .badge {
482
+ font-size: 12px;
483
+ }
484
+ }
485
+
486
+ @keyframes fade-in-out {
487
+ 0% {
488
+ opacity: 0;
489
+ transform: translateY(-15px);
490
+ }
491
+
492
+ 25% {
493
+ opacity: 1;
494
+ transform: translateY(0);
495
+ }
496
+
497
+ 75% {
498
+ opacity: 1;
499
+ transform: translateY(0);
500
+ }
501
+
502
+ 100% {
503
+ opacity: 0;
504
+ transform: translateY(15px);
505
+ }
506
+ }
507
+
508
+ .heading-fade-animate {
509
+ opacity: 0;
510
+ animation: fade-in-out cubic-bezier(.65, .05, .36, 1) infinite;
511
+ }
512
+
513
+ .customise-container {
514
+ height: 400px;
515
+ }
516
+
517
+ .customise-container_img {
518
+ position: absolute;
519
+ max-height: 400px;
520
+ top: 50%;
521
+ transform: translateY(-50%);
522
+ left: 0;
523
+ }
524
+
525
+ .customise-container_img-animated-position {
526
+ position: absolute;
527
+ left: calc(50% - 10px);
528
+ top: calc(50% - 20px);
529
+ transform: translate(-50%, -50%);
530
+ }
531
+
532
+ @media(min-width: 992px) and (max-width: 1200px) {
533
+ .customise-container_img-animated-position {
534
+ left: calc(50% - 18px);
535
+ top: calc(50% - 30px);
536
+ transform: translate(-50%, -50%);
537
+ }
538
+ }
539
+
540
+ .customise-container_lines-animated-position {
541
+ position: relative;
542
+ }
543
+
544
+ .animation-circular-progress-bar {
545
+ display: none;
546
+ }
547
+
548
+ @media(min-width: 991px) {
549
+ .animation-circular-progress-bar {
550
+ display: block;
551
+ height: 200px;
552
+ width: 200px;
553
+ border-radius: 100%;
554
+ background: linear-gradient(90deg, #ffc928 50%, rgba(255, 255, 255, 0) 50%);
555
+ position: relative;
556
+ z-index: 1;
557
+ }
558
+ }
559
+
560
+ .animation-circular-progress-bar-progress {
561
+ height: 200px;
562
+ width: 200px;
563
+ background: linear-gradient(90deg, #ffc928 50%, rgba(255, 255, 255, 0) 50%);
564
+ position: absolute;
565
+ left: 0;
566
+ top: 50%;
567
+ transform: translateY(-50%);
568
+ border-radius: 100%;
569
+ }
570
+
571
+ .animation-circular-progress-bar-progress-outer {
572
+ height: 200px;
573
+ width: 200px;
574
+ background: linear-gradient(90deg, #ffc928 50%, rgba(255, 255, 255, 1) 50%);
575
+ position: absolute;
576
+ left: 0;
577
+ top: 50%;
578
+ transform: translateY(-50%);
579
+ border-radius: 100%;
580
+ box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
581
+ }
582
+
583
+ .animation-circular-progress-bar-inner {
584
+ height: 150px;
585
+ width: 150px;
586
+ border-radius: 100%;
587
+ background: #fff;
588
+ position: absolute;
589
+ left: 50%;
590
+ top: 50%;
591
+ transform: translate(-50%, -50%);
592
+ box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
593
+ }
594
+
595
+ .analytics-animation_container_percentage_number {
596
+ color: #32325d;
597
+ font-family: Nunito, sans-serif;
598
+ font-size: 2.5rem;
599
+ font-weight: 800;
600
+ left: 50%;
601
+ position: absolute;
602
+ top: 50%;
603
+ transform: translate(-50%, -50%);
604
+ z-index: 1;
605
+ }
606
+
607
+ .analytics-img {
608
+ border-radius: 1.5rem;
609
+ display: block;
610
+ position: relative;
611
+ margin: auto;
612
+ width: 100%;
613
+ max-width: 400px;
614
+ box-shadow: 0 10px 30px rgba(1, 1, 1, 0.1);
615
+ }
616
+
617
+ @media(min-width: 991px) {
618
+ .analytics-img {
619
+ border-radius: 1.5rem;
620
+ max-width: 250px;
621
+ position: absolute;
622
+ top: 140px;
623
+ width: 100%;
624
+ right: 3rem;
625
+ }
626
+ }
627
+
628
+ @media(min-width: 1200px) {
629
+ .analytics-img {
630
+ border-radius: 1.5rem;
631
+ max-width: 330px;
632
+ position: absolute;
633
+ top: 100px;
634
+ width: 100%;
635
+ }
636
+ }
637
+
638
+ @media(max-width: 991px) {
639
+ .flex-column-reverse-md {
640
+ flex-direction: column-reverse !important;
641
+ }
642
+ }
643
+
644
+ @media(max-width: 460px) {
645
+ .search-merch-heading {
646
+ min-height: 144px;
647
+ }
648
+ }
649
+
650
+ .card-product-feature {
651
+ width: 50%;
652
+ }
653
+
654
+ /* Carousel SCSS */
655
+
656
+ $breakpoint-small: 576px;
657
+ $breakpoint-medium: 768px;
658
+ $breakpoint-large: 992px;
659
+
660
+ $default-height: 80%;
661
+ $default-width: 25%;
662
+ $level2-height: $default-height - 4%;
663
+ $level2-width: $default-width - 4%;
664
+ $level1-height: $default-height - 2%;
665
+ $level1-width: $default-width;
666
+ $level0-height: $default-height;
667
+ $level0-width: $default-width;
668
+ $level-2-left: 11%;
669
+ $level-1-left: 30%;
670
+ $level0-left: 50%;
671
+ $level1-left: 70%;
672
+ $level2-left: 89%;
673
+
674
+ $level0-height-sm: $default-height;
675
+ $level0-width-sm: $default-width + 40%;
676
+ $level0-left-sm: 50%;
677
+
678
+ $level1-height-sm: $default-height - 2%;
679
+ $level1-width-sm: $default-width + 40%;
680
+ $level-1-left-sm: 50%;
681
+ $level1-left-sm: 80%;
682
+
683
+ $level2-height-sm: $default-height - 8%;
684
+ $level2-width-sm: $default-width + 40%;
685
+ $level-2-left-sm: 15%;
686
+ $level2-left-sm: 70%;
687
+
688
+ .basedOn {
689
+ text-align: center;
690
+ font-size: 1.2em;
691
+ color: #FFF;
692
+
693
+ a,
694
+ a:visited,
695
+ a:hover,
696
+ a:active {
697
+ color: #FFEB3B;
698
+ }
699
+ }
700
+
701
+ .products-carousel {
702
+ height: 500px;
703
+ width: 100%;
704
+ margin: auto;
705
+ position: relative;
706
+ display: flex;
707
+ justify-content: center;
708
+ }
709
+
710
+ .products-carousel-main {
711
+ display: block;
712
+ position: relative;
713
+ flex-grow: 1;
714
+ overflow: hidden;
715
+ }
716
+
717
+ .arrow {
718
+ display: flex;
719
+ align-items: center;
720
+ justify-content: center;
721
+ width: 50px;
722
+ height: 100%;
723
+ font-size: 2em;
724
+ cursor: pointer;
725
+ z-index: 1000;
726
+ transition: all 500ms;
727
+ }
728
+
729
+ .arrow i {
730
+ position: static;
731
+ }
732
+
733
+ .item {
734
+ color: white;
735
+ font-size: 40px;
736
+ position: absolute;
737
+ left: 50%;
738
+ top: 50%;
739
+ transform: translate(-50%, -50%);
740
+ transition: box-shadow 1s, height 250ms, width 250ms, left 1s, margin-top 1s,
741
+ line-height 250ms, background-color 1s;
742
+ }
743
+
744
+ .level-2 {
745
+ height: $level2-height;
746
+ width: $level2-width;
747
+ line-height: $level2-height;
748
+
749
+ @media (min-width: $breakpoint-large) {
750
+ left: $level-2-left;
751
+ }
752
+
753
+ left: 3%;
754
+ }
755
+
756
+ .level-1 {
757
+ @media (min-width: $breakpoint-large) {
758
+ height: $level1-height;
759
+ width: $level1-width;
760
+ line-height: $level1-height;
761
+ left: $level-1-left;
762
+ }
763
+
764
+ height: $level1-height;
765
+ width: $level1-width;
766
+ line-height: $level1-height;
767
+ left: 10%;
768
+ }
769
+
770
+ .level0 {
771
+ @media (min-width: $breakpoint-large) {
772
+ height: $level0-height;
773
+ width: $level0-width;
774
+ line-height: $level0-height;
775
+ left: $level0-left;
776
+ }
777
+
778
+ height: $level0-height-sm;
779
+ width: $level0-width-sm;
780
+ line-height: $level0-height-sm;
781
+ left: $level0-left-sm;
782
+ }
783
+
784
+ .level1 {
785
+ @media (min-width: $breakpoint-large) {
786
+ height: $level1-height;
787
+ width: $level1-width;
788
+ line-height: $level1-height;
789
+ left: $level1-left;
790
+ }
791
+
792
+ height: $level1-height-sm;
793
+ width: $level1-width-sm;
794
+ line-height: $level1-height-sm;
795
+ left: $level1-left-sm;
796
+ }
797
+
798
+ .level2 {
799
+ @media (min-width: $breakpoint-large) {
800
+ height: $level2-height;
801
+ width: $level2-width;
802
+ line-height: $level2-height;
803
+ left: $level2-left;
804
+ }
805
+
806
+ height: $level2-height-sm;
807
+ width: $level2-width-sm;
808
+ line-height: $level2-height-sm;
809
+ left: $level2-left-sm;
810
+ }
811
+
812
+ .level-2,
813
+ .level2 {
814
+ z-index: 0;
815
+ }
816
+
817
+ .level-1,
818
+ .level1 {
819
+ z-index: 1;
820
+ }
821
+
822
+ .level0 {
823
+ z-index: 2;
824
+ }
825
+
826
+ .left-enter {
827
+ opacity: 0;
828
+
829
+ @media (min-width: $breakpoint-large) {
830
+ left: $level2-left;
831
+ height: $level2-height - $default-height;
832
+ width: $level2-width - $default-width;
833
+ line-height: $level2-height - 30;
834
+ }
835
+
836
+ left: 3%;
837
+ left: $level2-left;
838
+ height: $level2-height - $default-height;
839
+ width: $level2-width - $default-width;
840
+ line-height: $level2-height - 30;
841
+
842
+ &.left-enter-active {
843
+ opacity: 1;
844
+ left: 3%;
845
+
846
+ @media (min-width: $breakpoint-large) {
847
+ left: $level2-left;
848
+ }
849
+
850
+ height: $level2-height;
851
+ width: $level2-width;
852
+ line-height: $level2-height;
853
+ transition: box-shadow 1s,
854
+ left 1s,
855
+ opacity 1s,
856
+ height 250ms,
857
+ width 250ms,
858
+ margin-top 1s,
859
+ line-height 1s;
860
+ }
861
+ }
862
+
863
+ .left-leave {
864
+ opacity: 1;
865
+ left: 3%;
866
+
867
+ @media (min-width: $breakpoint-large) {
868
+ left: $level-2-left;
869
+ }
870
+
871
+ height: $level2-height;
872
+ width: $level2-width-sm;
873
+ line-height: $level2-height;
874
+ z-index: -1;
875
+
876
+ &.left-leave-active {
877
+ z-index: -1;
878
+ left: 3%;
879
+
880
+ @media (min-width: $breakpoint-large) {
881
+ left: $level-2-left;
882
+ }
883
+
884
+ opacity: 0;
885
+ height: $level2-height - $default-height;
886
+ width: $level2-width-sm - $default-width;
887
+ line-height: 120px;
888
+ transition: box-shadow 1s,
889
+ left 1s,
890
+ opacity 1s,
891
+ height 250ms,
892
+ width 250ms,
893
+ margin-top 1s,
894
+ line-height 1s;
895
+ }
896
+ }
897
+
898
+ .right-enter {
899
+ opacity: 0;
900
+ line-height: $level2-height - 30;
901
+ height: $level2-height - $default-height;
902
+ width: $level2-width - $default-width;
903
+ left: 3%;
904
+
905
+ @media (min-width: $breakpoint-large) {
906
+ left: $level-2-left;
907
+ }
908
+
909
+ &.right-enter-active {
910
+ @media (min-width: $breakpoint-large) {
911
+ left: $level-2-left;
912
+ }
913
+
914
+ left: 3%;
915
+ opacity: 1;
916
+ height: $level2-height;
917
+ line-height: $level2-height;
918
+ width: $level2-width;
919
+ transition: box-shadow 1s,
920
+ left 1s,
921
+ opacity 1s,
922
+ height 250ms,
923
+ width 250ms,
924
+ margin-top 1s,
925
+ line-height 1s;
926
+ }
927
+ }
928
+
929
+ .right-leave {
930
+ height: $level2-height;
931
+ opacity: 1;
932
+ line-height: $level2-height;
933
+ width: $level2-width;
934
+
935
+ @media (min-width: $breakpoint-large) {
936
+ left: $level-2-left;
937
+ }
938
+
939
+ left: 70%;
940
+
941
+ &.right-leave-active {
942
+ @media (min-width: $breakpoint-large) {
943
+ left: $level-2-left;
944
+ }
945
+
946
+ left: 70%;
947
+ opacity: 0;
948
+ height: $level2-height - $default-height;
949
+ width: $level2-width - $default-width;
950
+ line-height: $level2-height - 30;
951
+ transition: box-shadow 1s,
952
+ left 1s,
953
+ opacity 1s,
954
+ height 250ms,
955
+ width 250ms,
956
+ margin-top 1s,
957
+ line-height 1s;
958
+ }
959
+ }
960
+
961
+ .noselect {
962
+ -webkit-user-select: none;
963
+ -html-user-select: none;
964
+ -moz-user-select: none;
965
+ -ms-user-select: none;
966
+ user-select: none;
967
+ }
968
+
969
+ .image-container {
970
+ position: relative;
971
+ width: 100%;
972
+ height: 300px;
973
+ overflow: hidden;
974
+ }
975
+
976
+ .card-product-feature-img {
977
+ position: absolute;
978
+ width: 100%;
979
+ height: 100%;
980
+ max-height: 400px;
981
+ object-fit: cover;
982
+ }
983
+
984
+ .card-product-title {
985
+ color: #32325d;
986
+ font-weight: 600;
987
+ line-height: 1.5;
988
+ text-overflow: ellipsis;
989
+ overflow: hidden;
990
+ white-space: nowrap;
991
+ padding: 1rem;
992
+ }
993
+
994
+ .card-container {
995
+ display: block;
996
+ }
997
+
998
+ /*
999
+ Avatar
1000
+ Badges
1001
+ Fixes
1002
+ Cards
1003
+ */
1004
+
1005
+ /* vietnamese */
1006
+ @font-face {
1007
+ font-family: 'Nunito';
1008
+ font-style: normal;
1009
+ font-weight: 400;
1010
+ src: local('Nunito Regular'), local('Nunito-Regular'), url(../fonts/nunito-regular-webfont.woff2) format('woff2');
1011
+ unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
1012
+ }
1013
+
1014
+ /* latin-ext */
1015
+ @font-face {
1016
+ font-family: 'Nunito';
1017
+ font-style: normal;
1018
+ font-weight: 400;
1019
+ src: local('Nunito Regular'), local('Nunito-Regular'), url(../fonts/nunito-regular-webfont.woff2) format('woff2');
1020
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
1021
+ }
1022
+
1023
+ /* latin */
1024
+ @font-face {
1025
+ font-family: 'Nunito';
1026
+ font-style: normal;
1027
+ font-weight: 400;
1028
+ src: local('Nunito Regular'), local('Nunito-Regular'), url(../fonts/nunito-regular-webfont.woff2) format('woff2');
1029
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
1030
+ }
1031
+
1032
+ /* vietnamese */
1033
+ @font-face {
1034
+ font-family: 'Nunito';
1035
+ font-style: normal;
1036
+ font-weight: 700;
1037
+ src: local('Nunito Bold'), local('Nunito-Bold'), url(../fonts/nunito-bold-webfont.woff2) format('woff2');
1038
+ unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
1039
+ }
1040
+
1041
+ /* latin-ext */
1042
+ @font-face {
1043
+ font-family: 'Nunito';
1044
+ font-style: normal;
1045
+ font-weight: 700;
1046
+ src: local('Nunito Bold'), local('Nunito-Bold'), url(../fonts/nunito-bold-webfont.woff2) format('woff2');
1047
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
1048
+ }
1049
+
1050
+ /* latin */
1051
+ @font-face {
1052
+ font-family: 'Nunito';
1053
+ font-style: normal;
1054
+ font-weight: 700;
1055
+ src: local('Nunito Bold'), local('Nunito-Bold'), url(../fonts/nunito-bold-webfont.woff2) format('woff2');
1056
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
1057
+ }
1058
+
1059
+ /*Avatar*/
1060
+ .avatar.rounded-circle img {
1061
+ max-height: 36px;
1062
+ }
1063
+
1064
+ .avatar-bg {
1065
+ background-repeat: no-repeat;
1066
+ background-position: center;
1067
+ background-size: cover;
1068
+ }
1069
+
1070
+ /*Badges*/
1071
+ .badge-right-align {
1072
+ position: absolute;
1073
+ right: 1rem;
1074
+ }
1075
+
1076
+ .badge-inverse {
1077
+ color: #212529;
1078
+ background-color: #f7fafc;
1079
+ }
1080
+
1081
+ .badge-side-nav {
1082
+ height: 19px;
1083
+ width: 19px;
1084
+ padding: 5px 1px 0px 0px;
1085
+ margin-left: 1em;
1086
+ }
1087
+
1088
+ /*Fixes*/
1089
+ .react-select-2-fix>div {
1090
+ border: 1px solid #dee2e6;
1091
+ font-size: 0.875rem;
1092
+ min-height: calc(2.75rem + 2px);
1093
+ }
1094
+
1095
+ .list-filter-container-left {
1096
+ margin-bottom: 0 !important;
1097
+ margin-top: 0 !important;
1098
+ padding-top: 1.1rem;
1099
+ }
1100
+
1101
+ .list-filter-container-right {
1102
+ margin-bottom: 0 !important;
1103
+ margin-top: 0 !important;
1104
+ padding-top: 1rem;
1105
+ padding-bottom: 0.5rem;
1106
+ }
1107
+
1108
+ .badge-danger {
1109
+ color: #fff;
1110
+ background-color: #dc3545;
1111
+ }
1112
+
1113
+ /* Firefox input autofill fix */
1114
+ input:autofill {
1115
+ background: #fff;
1116
+ /* or any other */
1117
+ }
1118
+
1119
+ /*Cards*/
1120
+ .card-title {
1121
+ text-overflow: ellipsis;
1122
+ overflow: hidden;
1123
+ white-space: nowrap;
1124
+ }
1125
+
1126
+ @keyframes animationBlink {
1127
+ 0% {
1128
+ opacity: 1;
1129
+ }
1130
+
1131
+ 50% {
1132
+ opacity: 0.2;
1133
+ }
1134
+
1135
+ 100% {
1136
+ opacity: 1;
1137
+
1138
+ }
1139
+ }
1140
+
1141
+ .animation-blink {
1142
+ animation-name: animationBlink;
1143
+ animation-duration: 0.5s;
1144
+ animation-iteration-count: infinite;
1145
+ animation-timing-function: ease-in-out;
1146
+ }
1147
+
1148
+ /* Product Images */
1149
+ .preview-container {
1150
+ display: flex;
1151
+ height: 490px;
1152
+ padding-bottom: 1rem !important;
1153
+ padding-top: 1rem !important;
1154
+ }
1155
+
1156
+ .preview-container-stacked {
1157
+ display: flex;
1158
+ padding-bottom: 1rem !important;
1159
+ padding-top: 1rem !important;
1160
+ }
1161
+
1162
+ .preview-container-main-image {
1163
+ align-items: center;
1164
+ display: flex;
1165
+ justify-content: center;
1166
+ width: 100%;
1167
+ }
1168
+
1169
+ .product-pic img {
1170
+ width: 100%;
1171
+ border-radius: .375rem;
1172
+ height: auto;
1173
+ max-width: 470px;
1174
+ max-height: 446px;
1175
+ }
1176
+
1177
+ .thumbnails {}
1178
+
1179
+ .fit-image {
1180
+ width: 100%;
1181
+ object-fit: cover;
1182
+ border-radius: .375rem;
1183
+ }
1184
+
1185
+ .tb {
1186
+ width: 62px;
1187
+ height: 62px;
1188
+ margin: 2px;
1189
+ opacity: 0.4;
1190
+ cursor: pointer;
1191
+ border-radius: .375rem;
1192
+ }
1193
+
1194
+ .tb-active {
1195
+ opacity: 1;
1196
+ }
1197
+
1198
+ .thumbnail-img {
1199
+ width: 60px;
1200
+ height: 60px;
1201
+ }
1202
+
1203
+ [data-rmiz-wrap="visible"],
1204
+ [data-rmiz-wrap="hidden"] {
1205
+ position: relative;
1206
+ display: inline-flex;
1207
+ align-items: flex-start;
1208
+ }
1209
+
1210
+ [data-rmiz-wrap="hidden"] {
1211
+ visibility: hidden;
1212
+ }
1213
+
1214
+ [data-rmiz-overlay] {
1215
+ position: fixed;
1216
+ top: 0;
1217
+ right: 0;
1218
+ bottom: 0;
1219
+ left: 0;
1220
+ width: 100%;
1221
+ height: 100%;
1222
+ transition-property: background-color;
1223
+ }
1224
+
1225
+ [data-rmiz-btn-open],
1226
+ [data-rmiz-btn-close] {
1227
+ position: absolute;
1228
+ top: 0;
1229
+ right: 0;
1230
+ bottom: 0;
1231
+ left: 0;
1232
+ width: 100%;
1233
+ height: 100%;
1234
+
1235
+ /* reset styles */
1236
+ margin: 0;
1237
+ padding: 0;
1238
+ border: none;
1239
+ border-radius: 0;
1240
+ font: inherit;
1241
+ color: inherit;
1242
+ background: none;
1243
+ -webkit-appearance: none;
1244
+ -moz-appearance: none;
1245
+ appearance: none;
1246
+ }
1247
+
1248
+ [data-rmiz-btn-open] {
1249
+ cursor: zoom-in;
1250
+ }
1251
+
1252
+ [data-rmiz-btn-close] {
1253
+ cursor: zoom-out;
1254
+ }
1255
+
1256
+ [data-rmiz-modal-content] {
1257
+ position: absolute;
1258
+ transition-property: transform;
1259
+ transform-origin: center center;
1260
+ }
1261
+
1262
+ /* Draft js RTE styles */
1263
+
1264
+ .rte-editor-iframeContainer {
1265
+ width: 100%;
1266
+ height: 0;
1267
+ position: relative;
1268
+ min-height: 300px;
1269
+ padding-bottom: 56.25%;
1270
+ }
1271
+
1272
+ .rte-editor-iframe {
1273
+ width: 100%;
1274
+ height: 100%;
1275
+ position: absolute;
1276
+ top: 0;
1277
+ left: 0;
1278
+ }
1279
+
1280
+ .rte-editor-invalidVideoSrc {
1281
+ text-align: center;
1282
+ background-color: #eaeaea;
1283
+ padding: 1em;
1284
+ }
1285
+
1286
+ .rte-editor-video {
1287
+ width: 100%;
1288
+ height: 100%;
1289
+ }
1290
+
1291
+ /* **********
1292
+ Embed form
1293
+ ********** */
1294
+ .merchi-embed-form {
1295
+
1296
+ /* buttons */
1297
+ &_button {
1298
+ &-submit {
1299
+ margin: 4px !important;
1300
+ }
1301
+ }
1302
+
1303
+ /* variant container */
1304
+ &_variantion-container {
1305
+ gap: 2rem;
1306
+ display: flex;
1307
+ flex-direction: column;
1308
+ padding: 1rem 0;
1309
+
1310
+ @media(min-width: 992px) {
1311
+ padding: 0;
1312
+ }
1313
+ }
1314
+
1315
+ /* information */
1316
+ &_information-container {
1317
+ margin-top: 1rem;
1318
+
1319
+ @media(min-width: 992px) {
1320
+ padding: 0;
1321
+ }
1322
+
1323
+ ul {
1324
+ gap: 1rem;
1325
+ }
1326
+
1327
+ .nav-item {
1328
+ padding: 0 !important;
1329
+ }
1330
+
1331
+ &-list-group-item {
1332
+ padding: 0.5rem !important;
1333
+ list-style-type: none;
1334
+ }
1335
+ }
1336
+
1337
+ /* images */
1338
+ &_img {
1339
+ &-container {}
1340
+
1341
+ &-product-pic {
1342
+ img {
1343
+ max-width: 100%;
1344
+ border-radius: 0.5rem;
1345
+ }
1346
+ }
1347
+
1348
+ &-preview-container {
1349
+ flex-direction: column;
1350
+ }
1351
+
1352
+ &-preview-container-main-image {
1353
+ align-items: center;
1354
+ display: flex;
1355
+ justify-content: center;
1356
+ width: 100%;
1357
+ }
1358
+
1359
+ &-thumbnails {
1360
+ gap: 1rem;
1361
+ flex-wrap: wrap;
1362
+ justify-content: center;
1363
+ padding: 0.5rem;
1364
+ }
1365
+ }
1366
+
1367
+ /* react zoom package */
1368
+ &_zoom {
1369
+ &-img button {
1370
+ font-size: 1.5rem;
1371
+ display: flex;
1372
+ }
1373
+ }
1374
+
1375
+ /* cost summary */
1376
+ &_summary {
1377
+ &-product-cost {
1378
+ display: flex;
1379
+ flex-direction: row;
1380
+ justify-content: space-between;
1381
+ width: 100%;
1382
+ margin: 1rem 0;
1383
+ flex-direction: wrap;
1384
+ }
1385
+
1386
+ &-product-cost-container {
1387
+ display: flex;
1388
+ flex-direction: column;
1389
+ font-size: 1.2rem;
1390
+ margin-top: 1.5rem
1391
+ }
1392
+
1393
+ &-button-submit-container {
1394
+ display: flex;
1395
+ }
1396
+ }
1397
+
1398
+ /* variation dropzone */
1399
+ &_dropzone {
1400
+ padding: 0;
1401
+ border: none;
1402
+ color: inherit;
1403
+ padding: 2rem 1rem;
1404
+ background-color: #fff;
1405
+ border: 1px dashed #dee2e6;
1406
+ border-radius: 0.375rem;
1407
+ text-align: center;
1408
+ color: #8898aa;
1409
+ order: -1;
1410
+ cursor: pointer;
1411
+ z-index: 999;
1412
+ transition: all .2s ease-in-out;
1413
+
1414
+ &:hover {
1415
+ box-shadow: 0 0.5em 0.75em #00000014;
1416
+ scale: 1.002;
1417
+ }
1418
+
1419
+ &-text-container {
1420
+ display: flex;
1421
+ }
1422
+
1423
+ &-icon-container {
1424
+ display: inline-block;
1425
+ width: 50px;
1426
+ height: 50px;
1427
+ background: #dfdfdf;
1428
+ border-radius: 100%;
1429
+ position: relative;
1430
+ margin-right: 1rem;
1431
+ }
1432
+
1433
+ &-icon {
1434
+ position: absolute;
1435
+ display: block;
1436
+ top: 50%;
1437
+ height: 24px;
1438
+ left: 50%;
1439
+ transform: translate(-50%, -50%)
1440
+ }
1441
+
1442
+ &-icon-plus {
1443
+ transition: all .15s ease-in-out;
1444
+ position: absolute;
1445
+ background: white;
1446
+ height: 30px;
1447
+ width: 30px !important;
1448
+ border-radius: 100%;
1449
+ border: 1px solid #dfdfdf;
1450
+ padding: 5px;
1451
+ display: block;
1452
+ right: -8px;
1453
+ bottom: -14px;
1454
+ top: initial;
1455
+ left: initial;
1456
+
1457
+ &:hover {
1458
+ scale: 1.2;
1459
+ }
1460
+ }
1461
+ }
1462
+
1463
+ /* variation image select */
1464
+ &_image-select-option {
1465
+ &-container {
1466
+ display: flex;
1467
+ gap: 1rem;
1468
+ flex-wrap: wrap;
1469
+ }
1470
+
1471
+ &-item-container {
1472
+ flex-grow: 1;
1473
+ flex: 0 0 calc(50% - 0.50rem);
1474
+
1475
+ @media(min-width: 782px) {
1476
+ flex: 0 0 calc(33.33% - 0.67rem);
1477
+ }
1478
+ }
1479
+
1480
+ &-item {
1481
+ background: #fff;
1482
+ border-radius: 0.5em;
1483
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
1484
+ cursor: pointer;
1485
+ transition-duration: 0.15s;
1486
+ position: relative;
1487
+ text-align: center;
1488
+ padding: 1rem 0.5rem;
1489
+
1490
+ &:hover {
1491
+ box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
1492
+ transition-duration: 0.25s;
1493
+ }
1494
+
1495
+ &-img {
1496
+ display: block;
1497
+ height: 150px;
1498
+ margin: auto;
1499
+ max-width: 150px;
1500
+ width: 100%;
1501
+ background-repeat: no-repeat;
1502
+ background-size: contain;
1503
+ }
1504
+
1505
+ svg {
1506
+ position: absolute;
1507
+ top: 0.5rem;
1508
+ right: 0.5rem;
1509
+ background: #fff;
1510
+ padding: 2px;
1511
+ padding-bottom: 1px;
1512
+ border-radius: 0.4rem;
1513
+ color: $brandRed;
1514
+ font-size: 28px !important;
1515
+ -webkit-animation-name: fadeInOpacity;
1516
+ -webkit-animation-iteration-count: 1;
1517
+ -webkit-animation-duration: 0.2s;
1518
+ animation-name: fadeInOpacity;
1519
+ animation-iteration-count: 1;
1520
+ animation-duration: 0.2s;
1521
+ }
1522
+ }
1523
+ }
1524
+
1525
+ /* variation color select */
1526
+ &_color-select {
1527
+ &-container {
1528
+ display: flex;
1529
+ flex-wrap: wrap;
1530
+ gap: 2rem;
1531
+
1532
+ @media (max-width: 768px) {
1533
+ justify-content: center;
1534
+ }
1535
+ }
1536
+
1537
+ &-indicator {
1538
+ border-radius: 100%;
1539
+ height: 65px;
1540
+ width: 65px;
1541
+ }
1542
+
1543
+ &-item {
1544
+ align-items: center;
1545
+ display: flex;
1546
+ flex-direction: column;
1547
+ position: relative
1548
+ }
1549
+
1550
+ &-description {
1551
+ white-space: nowrap;
1552
+ text-overflow: ellipsis;
1553
+ overflow: clip;
1554
+ max-width: 125px;
1555
+ text-transform: capitalize;
1556
+ background-color: white;
1557
+ padding: 0 0.4rem;
1558
+ margin: 6px 0 0 0;
1559
+ cursor: pointer;
1560
+ border-radius: 5px;
1561
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
1562
+ font-size: 0.8rem;
1563
+ font-weight: 600;
1564
+ }
1565
+
1566
+ &-option {
1567
+ border: 4px solid #fff;
1568
+ border-radius: 100%;
1569
+ box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
1570
+ transition: all 0.2s ease-in-out;
1571
+ z-index: 1;
1572
+
1573
+ &:hover {
1574
+ box-shadow: 0 5px 4px rgba(0, 0, 0, 0.1);
1575
+ }
1576
+
1577
+ i,
1578
+ svg {
1579
+ position: absolute;
1580
+ top: 0;
1581
+ right: 0;
1582
+ background: #fff;
1583
+ border-radius: 100%;
1584
+ color: $brandRed;
1585
+ font-size: 21px;
1586
+ }
1587
+ }
1588
+ }
1589
+
1590
+ /* variation checkbox and radio */
1591
+ &_checkbox_radio {
1592
+ &-container {
1593
+ display: flex;
1594
+ flex-direction: column;
1595
+ }
1596
+
1597
+ &-item-container {
1598
+ display: flex;
1599
+ flex-direction: row;
1600
+ gap: 1rem;
1601
+ flex-wrap: wrap;
1602
+ }
1603
+
1604
+ // item and input are in the merchi embed form with the className merchi-embed-form_checkbox_radio-item, but I dont know what its used for. Leaving it here in case we need it later.
1605
+ &-item {}
1606
+
1607
+ &-input {
1608
+ position: absolute;
1609
+ opacity: 0;
1610
+ cursor: pointer;
1611
+ z-index: 999;
1612
+ height: 33px;
1613
+ width: 33px;
1614
+
1615
+ // Define the styles for the checkbox label
1616
+ +label {
1617
+ position: relative;
1618
+ cursor: pointer;
1619
+ display: flex;
1620
+ align-items: center;
1621
+ margin-bottom: 0;
1622
+
1623
+ // Define the custom checkbox indicator
1624
+ &::before {
1625
+ content: " ";
1626
+ display: inline-block;
1627
+ margin-right: 0.5rem;
1628
+ width: 33px;
1629
+ height: 33px;
1630
+ background-color: white;
1631
+ border-radius: 6px;
1632
+ box-shadow: rgba(42, 42, 42, 0.15) 0px 2px 2px 0px;
1633
+ transition: all 0.1s ease-in-out;
1634
+ cursor: pointer;
1635
+ }
1636
+
1637
+ // Define the custom checkbox indicator when checked
1638
+ &::after {
1639
+ content: "";
1640
+ width: 11px;
1641
+ height: 11px; // Size of the checkmark
1642
+ background: $brandRed;
1643
+ border-radius: 100%;
1644
+ position: absolute;
1645
+ top: 50%;
1646
+ left: 11px;
1647
+ transform: translateY(-50%);
1648
+ opacity: 0;
1649
+ transition: all 0.3s ease; // Smooth transition for hover/focus effects
1650
+ cursor: pointer;
1651
+ }
1652
+ }
1653
+
1654
+ &:disabled+label {
1655
+ &::before {
1656
+ opacity: 0.8;
1657
+ box-shadow: none;
1658
+ cursor: not-allowed;
1659
+ border: inset 1px #0000002b;
1660
+ background-color: transparent;
1661
+ }
1662
+
1663
+ &::after {
1664
+ cursor: not-allowed;
1665
+ }
1666
+ }
1667
+
1668
+ &:disabled+label &-label {
1669
+ opacity: 0.8;
1670
+ box-shadow: none;
1671
+ cursor: not-allowed;
1672
+ border: inset 1px #0000002b;
1673
+ background-color: transparent;
1674
+ }
1675
+
1676
+ &:disabled+label:hover::before {
1677
+ box-shadow: none;
1678
+ border: inset 1px #0000002b;
1679
+ }
1680
+
1681
+ // Apply styles to the checkbox when checked
1682
+ &:checked+label::before {
1683
+ box-shadow: rgba(42, 42, 42, 0.15) 0px 1px 1px 0px;
1684
+ }
1685
+
1686
+ // Show the checkmark when the checkbox is checked
1687
+ &:checked+label::after {
1688
+ opacity: 1;
1689
+ }
1690
+
1691
+ }
1692
+
1693
+ &-label {
1694
+ position: relative;
1695
+ cursor: auto !important;
1696
+ display: inline-flex;
1697
+ align-items: center;
1698
+ height: 33px;
1699
+ }
1700
+
1701
+ &-super {
1702
+ display: block;
1703
+ color: rgb(129, 136, 155);
1704
+ padding: 3px 10px;
1705
+ font-weight: bold;
1706
+ border-radius: 8px;
1707
+ font-size: 11px;
1708
+ margin-top: 10px;
1709
+ width: -moz-fit-content;
1710
+ width: fit-content;
1711
+ box-shadow: 1px 1px 2px #00000026;
1712
+ background: #f2f4fb;
1713
+ border-top: 1px solid white;
1714
+ border-left: 1px solid white;
1715
+ }
1716
+ }
1717
+
1718
+ /* titles */
1719
+ &_input {
1720
+ &-radio {
1721
+ font-size: 18px;
1722
+ font-weight: 800;
1723
+ padding-bottom: 0.25rem;
1724
+ }
1725
+
1726
+ &-checkbox {
1727
+ font-size: 18px;
1728
+ font-weight: 800;
1729
+ padding-bottom: 0.25rem;
1730
+
1731
+ }
1732
+
1733
+ &-select {
1734
+ font-size: 18px;
1735
+ font-weight: 800;
1736
+ padding-bottom: 0.25rem;
1737
+
1738
+ }
1739
+
1740
+ &-image-select {
1741
+ font-size: 18px;
1742
+ font-weight: 800;
1743
+ padding-bottom: 0.25rem;
1744
+
1745
+ }
1746
+
1747
+ &-file {
1748
+ font-size: 18px;
1749
+ font-weight: 800;
1750
+ padding-bottom: 0.25rem;
1751
+
1752
+ }
1753
+ }
1754
+
1755
+ /* other */
1756
+ &_variation-cost-detail {
1757
+ display: block;
1758
+ color: rgb(129, 136, 155);
1759
+ padding: 3px 10px;
1760
+ font-weight: bold;
1761
+ border-radius: 8px;
1762
+ font-size: 14px;
1763
+ width: -moz-fit-content;
1764
+ width: fit-content;
1765
+ box-shadow: 1px 1px 2px #00000026;
1766
+ background: #f2f4fb;
1767
+ border-top: 1px solid white;
1768
+ border-left: 1px solid white;
1769
+ margin: 0.25rem 0rem 0.5rem;
1770
+ }
1771
+
1772
+ /* product groups */
1773
+ &_product-group {
1774
+ &-container {
1775
+ background: rgba(255, 255, 255, 0.75);
1776
+ border-radius: 0.75rem;
1777
+ padding: 0.75rem 1rem 1rem;
1778
+ display: flex;
1779
+ flex-direction: column;
1780
+ gap: 1rem;
1781
+ }
1782
+
1783
+ &-actions-container {
1784
+ display: flex;
1785
+ align-items: center;
1786
+ justify-content: space-between;
1787
+ width: 100%;
1788
+
1789
+ @media(min-width: 500px) {
1790
+ width: auto;
1791
+ }
1792
+ }
1793
+
1794
+ &-actions-cost-container {
1795
+ align-items: center;
1796
+ display: flex;
1797
+ justify-content: space-between;
1798
+ margin-top: 2rem;
1799
+ flex-wrap: wrap;
1800
+ gap: 1rem;
1801
+ }
1802
+
1803
+ &-total-cost {
1804
+ font-weight: 800;
1805
+ }
1806
+
1807
+ &-button-remove {
1808
+ width: 100%;
1809
+
1810
+ @media(min-width: 500px) {
1811
+ width: fit-content;
1812
+ }
1813
+ }
1814
+
1815
+ &-button-add-group {
1816
+ display: flex;
1817
+ align-items: center;
1818
+ justify-content: center;
1819
+ width: 100%;
1820
+ margin: 1rem 0;
1821
+ }
1822
+
1823
+ &-inventory-status {
1824
+ width: fit-content;
1825
+ border-radius: 50px;
1826
+ color: white;
1827
+ font-weight: bold;
1828
+ font-size: 0.75rem;
1829
+ padding: 3px;
1830
+ display: flex;
1831
+ gap: 0.25rem;
1832
+ align-items: center;
1833
+ }
1834
+
1835
+ &-variation-container {
1836
+ display: flex;
1837
+ flex-direction: column;
1838
+ gap: 2rem;
1839
+ }
1840
+
1841
+ &-input-qty-container {
1842
+ font-size: 18px;
1843
+ font-weight: 800;
1844
+ }
1845
+ }
1846
+
1847
+ /* quantity input */
1848
+ &_quantity {
1849
+ &-container {}
1850
+
1851
+ &-label-container {
1852
+ font-size: 18px;
1853
+ font-weight: 800;
1854
+ ;
1855
+ margin-bottom: 0.5rem;
1856
+ }
1857
+ }
1858
+ }
1859
+
1860
+ /* **********
1861
+ END Embed from
1862
+ ********** */
1863
+
1864
+ .animate_spin {
1865
+ animation: spin 0.3s linear infinite;
1866
+ }
1867
+
1868
+ @keyframes spin {
1869
+ 0% {
1870
+ transform: rotate(0deg);
1871
+ }
1872
+
1873
+ 100% {
1874
+ transform: rotate(359deg);
1875
+ }
1876
+ }
1877
+
1878
+ .merchi-dropzone-sign-up {
1879
+ padding: 0;
1880
+ border: none;
1881
+ color: inherit;
1882
+ padding: 2rem 1rem;
1883
+ background-color: #fff;
1884
+ border: 1px dashed #dee2e6;
1885
+ border-radius: 0.375rem;
1886
+ text-align: center;
1887
+ color: #8898aa;
1888
+ transition: all .15s ease;
1889
+ cursor: pointer;
1890
+ z-index: 999;
1891
+ }
1892
+
1893
+ .merchi-dropzone-file-uploaded {
1894
+ height: 50px;
1895
+ width: 50px;
1896
+ margin: 0px 0px 0px auto;
1897
+ border-radius: 0.375rem;
1898
+ object-fit: cover;
1899
+ }
1900
+
1901
+ /* Variation colour select */
1902
+ .color-select-option-container {
1903
+ display: inline-block;
1904
+ text-align: center;
1905
+ }
1906
+
1907
+ .merchi-dropzone {
1908
+ padding: 0;
1909
+ border: none;
1910
+ color: inherit;
1911
+ padding: 2rem 1rem;
1912
+ background-color: #fff;
1913
+ border: 1px dashed #dee2e6;
1914
+ border-radius: 0.375rem;
1915
+ text-align: center;
1916
+ color: #8898aa;
1917
+ transition: all .15s ease;
1918
+ order: -1;
1919
+ cursor: pointer;
1920
+ z-index: 999;
1921
+ }
1922
+
1923
+ .merchi-dropzone-upload-text {
1924
+ padding-left: 20px;
1925
+ }
1926
+
1927
+ .uploaded-variation-file {
1928
+ position: relative;
1929
+ }
1930
+
1931
+ .uploaded-variation-file-icon-wrapper {
1932
+ position: absolute;
1933
+ top: -2px;
1934
+ right: -2px;
1935
+ padding: 4px;
1936
+ padding-top: 0px;
1937
+ cursor: pointer;
1938
+ }
1939
+
1940
+ .merchi-collapse {
1941
+ display: none;
1942
+ }
1943
+
1944
+ .merchi-collapse.show {
1945
+ display: block;
1946
+ }
1947
+
1948
+ .product-group-total-cost {
1949
+ align-self: center;
1950
+ flex: 1 1 auto;
1951
+ font-size: 1.0625rem;
1952
+ margin-bottom: 0px;
1953
+ }
1954
+
1955
+ .merchi-quantity-label-container {
1956
+ align-items: center;
1957
+ display: flex;
1958
+ }
1959
+
1960
+ .merchi-product-total {
1961
+ align-self: center;
1962
+ font-family: inherit;
1963
+ font-weight: 600;
1964
+ line-height: 1.5;
1965
+ }
1966
+
1967
+ .merchi-product-origin-title {
1968
+ align-items: center;
1969
+ display: flex;
1970
+ }
1971
+
1972
+ .merchi-product-title {
1973
+ margin-bottom: 1rem;
1974
+ }
1975
+
1976
+ /* Merchi checkout */
1977
+ .merchi-row {
1978
+ display: flex;
1979
+ flex-direction: column;
1980
+ }
1981
+
1982
+ @media (min-width: 768px) {
1983
+ .merchi-row {
1984
+ flex-direction: row;
1985
+ }
1986
+
1987
+ .merchi-column {
1988
+ width: 50%;
1989
+ padding-right: 10px;
1990
+ }
1991
+
1992
+ .merchi-column:last-child {
1993
+ padding-left: 10px;
1994
+ padding-right: 0;
1995
+ }
1996
+ }
1997
+
1998
+ .merchi-checkout-tabs-container {
1999
+ align-items: center;
2000
+ display: flex;
2001
+ flex: 1;
2002
+ justify-content: space-between;
2003
+
2004
+ small {
2005
+ display: none;
2006
+ }
2007
+ }
2008
+
2009
+ .merchi-checkout-header {
2010
+ position: relative;
2011
+ display: flex;
2012
+ align-items: flex-start;
2013
+ gap: 1rem;
2014
+ margin-bottom: 1rem;
2015
+ padding-right: 2.75rem;
2016
+ }
2017
+
2018
+ .merchi-checkout-close {
2019
+ position: absolute;
2020
+ top: 0;
2021
+ right: 0;
2022
+ display: inline-flex;
2023
+ align-items: center;
2024
+ justify-content: center;
2025
+ width: 2.25rem;
2026
+ height: 2.25rem;
2027
+ padding: 0;
2028
+ border: none;
2029
+ border-radius: 0.375rem;
2030
+ background: transparent;
2031
+ color: #71717a;
2032
+ cursor: pointer;
2033
+ font-size: 1.125rem;
2034
+ line-height: 1;
2035
+
2036
+ &:hover {
2037
+ background: #f4f4f5;
2038
+ color: #18181b;
2039
+ }
2040
+
2041
+ &:focus-visible {
2042
+ outline: 2px solid var(--color-brand, #4c6fff);
2043
+ outline-offset: 2px;
2044
+ }
2045
+ }
2046
+
2047
+ .merchi-checkout-tab {
2048
+ display: flex;
2049
+ gap: 0.5rem;
2050
+ text-align: center;
2051
+ justify-content: center;
2052
+ align-items: center;
2053
+ flex-wrap: wrap;
2054
+ }
2055
+
2056
+ .merchi-checkout-tab-btn {
2057
+ border-radius: 6px;
2058
+ padding: 0.5rem 0.75rem;
2059
+ margin-right: 0 !important;
2060
+ }
2061
+
2062
+ .btn.btn-primary,
2063
+ .btn.btn-md.btn-primary,
2064
+ .btn.btn-lg.btn-primary,
2065
+ .btn.btn-block.btn-primary {
2066
+ background-color: var(--color-brand, #{$brandBlue});
2067
+ border-color: var(--color-brand, #{$brandBlue});
2068
+ color: #fff;
2069
+ }
2070
+
2071
+ .btn.btn-primary:hover:not(:disabled),
2072
+ .btn.btn-md.btn-primary:hover:not(:disabled),
2073
+ .btn.btn-lg.btn-primary:hover:not(:disabled),
2074
+ .btn.btn-block.btn-primary:hover:not(:disabled) {
2075
+ background-color: var(--color-brand-dark, #{$brandBlue});
2076
+ border-color: var(--color-brand-dark, #{$brandBlue});
2077
+ }
2078
+
2079
+ .btn.btn-outline-primary,
2080
+ .btn.btn-lg.btn-outline-primary {
2081
+ color: var(--color-brand, #{$brandBlue});
2082
+ background-color: transparent;
2083
+ background-image: none;
2084
+ border-color: var(--color-brand, #{$brandBlue});
2085
+ }
2086
+
2087
+ .btn.btn-outline-primary:hover:not(:disabled),
2088
+ .btn.btn-lg.btn-outline-primary:hover:not(:disabled) {
2089
+ color: #fff;
2090
+ background-color: var(--color-brand, #{$brandBlue});
2091
+ border-color: var(--color-brand, #{$brandBlue});
2092
+ }
2093
+
2094
+ .merchi-checkout-discount-code-container {
2095
+ display: -webkit-box !important;
2096
+ display: -ms-flexbox !important;
2097
+ display: flex !important;
2098
+ -webkit-box-align: center !important;
2099
+ -ms-flex-align: center !important;
2100
+ align-items: center !important;
2101
+ gap: 0.5rem;
2102
+ }
2103
+
2104
+ .merchi-checkout-discount-code-label {
2105
+ display: block;
2106
+ font-size: 0.9375rem;
2107
+ font-weight: 600;
2108
+ color: #18181b;
2109
+ margin-bottom: 0.75rem;
2110
+ }
2111
+
2112
+ .merchi-checkout-discount-code-field-container {}
2113
+
2114
+ .merchi-checkout-cancel-order {
2115
+ display: flex;
2116
+ justify-content: center;
2117
+ margin-top: 1.25rem;
2118
+ }
2119
+
2120
+ .merchi-checkout-confirm-overlay {
2121
+ position: fixed;
2122
+ inset: 0;
2123
+ z-index: 1060;
2124
+ display: flex;
2125
+ align-items: center;
2126
+ justify-content: center;
2127
+ padding: 1rem;
2128
+ background: rgb(0 0 0 / 0.45);
2129
+ }
2130
+
2131
+ .merchi-checkout-confirm-dialog {
2132
+ width: 100%;
2133
+ max-width: 24rem;
2134
+ padding: 1.5rem;
2135
+ border-radius: 0.75rem;
2136
+ background: #fff;
2137
+ box-shadow: 0 12px 40px rgb(0 0 0 / 0.18);
2138
+ }
2139
+
2140
+ .merchi-checkout-confirm-dialog-title {
2141
+ margin: 0 0 0.75rem;
2142
+ font-size: 1.125rem;
2143
+ font-weight: 600;
2144
+ color: #18181b;
2145
+ }
2146
+
2147
+ .merchi-checkout-confirm-dialog-message {
2148
+ margin: 0 0 1.25rem;
2149
+ font-size: 0.9375rem;
2150
+ line-height: 1.5;
2151
+ color: #52525b;
2152
+ }
2153
+
2154
+ .merchi-checkout-confirm-dialog-actions {
2155
+ display: flex;
2156
+ flex-wrap: wrap;
2157
+ gap: 0.75rem;
2158
+ justify-content: flex-end;
2159
+ }
2160
+
2161
+ @media(min-width: 500px) {
2162
+ .merchi-checkout-tabs-container {
2163
+ small {
2164
+ display: inline;
2165
+ }
2166
+ }
2167
+ }
2168
+
2169
+ @media(min-width: 762px) {
2170
+ .merchi-checkout-tabs-container {
2171
+ justify-content: start;
2172
+ gap: 2rem;
2173
+ }
2174
+
2175
+ .merchi-checkout-tab {
2176
+ text-align: center;
2177
+ }
2178
+
2179
+ .merchi-checkout-tab-btn {
2180
+ padding: 0.75rem 1.25rem;
2181
+ }
2182
+ }
2183
+
2184
+ .merchi-checkout-summary {
2185
+ text-align: left;
2186
+ }
2187
+
2188
+ .merchi-checkout-summary-section-title {
2189
+ display: block;
2190
+ font-size: 1rem;
2191
+ font-weight: 600;
2192
+ margin-bottom: 0.5rem;
2193
+ color: #18181b;
2194
+ }
2195
+
2196
+ .merchi-checkout-summary-groups {
2197
+ display: flex;
2198
+ flex-direction: column;
2199
+ gap: 1rem;
2200
+ }
2201
+
2202
+ .merchi-checkout-summary-group {
2203
+ display: flex;
2204
+ flex-direction: column;
2205
+ gap: 0.5rem;
2206
+ }
2207
+
2208
+ .merchi-checkout-summary-groups .merchi-checkout-summary-group:first-child .merchi-checkout-summary-order-detail-title {
2209
+ margin-top: 0;
2210
+ }
2211
+
2212
+ .merchi-checkout-summary-variations {
2213
+ display: flex;
2214
+ flex-direction: column;
2215
+ gap: 0.625rem;
2216
+ }
2217
+
2218
+ .merchi-checkout-summary-variation-row {
2219
+ display: flex;
2220
+ flex-direction: column;
2221
+ gap: 0.25rem;
2222
+ }
2223
+
2224
+ .merchi-checkout-summary-variation-label {
2225
+ font-size: 0.8125rem;
2226
+ color: #71717a;
2227
+ line-height: 1.3;
2228
+ }
2229
+
2230
+ .merchi-checkout-summary-variation-value {
2231
+ font-size: 0.875rem;
2232
+ color: #18181b;
2233
+ line-height: 1.4;
2234
+ }
2235
+
2236
+ .merchi-checkout-summary-colour-value,
2237
+ .merchi-checkout-summary-colour-option,
2238
+ .merchi-checkout-summary-image-select-option {
2239
+ display: inline-flex;
2240
+ align-items: center;
2241
+ gap: 0.5rem;
2242
+ }
2243
+
2244
+ .merchi-checkout-summary-file-previews {
2245
+ display: flex;
2246
+ flex-wrap: wrap;
2247
+ gap: 0.5rem;
2248
+ }
2249
+
2250
+ .merchi-checkout-summary-file-link,
2251
+ .merchi-checkout-summary-file-fallback {
2252
+ display: inline-flex;
2253
+ align-items: center;
2254
+ gap: 0.375rem;
2255
+ color: inherit;
2256
+ text-decoration: none;
2257
+
2258
+ &:hover {
2259
+ text-decoration: underline;
2260
+ }
2261
+ }
2262
+
2263
+ .merchi-checkout-summary-file-fallback {
2264
+ &:hover {
2265
+ text-decoration: none;
2266
+ }
2267
+ }
2268
+
2269
+ .merchi-checkout-summary {
2270
+ .color-indicator {
2271
+ display: inline-block;
2272
+ width: 0.875rem;
2273
+ height: 0.875rem;
2274
+ border-radius: 50%;
2275
+ border: 1px solid rgba(0, 0, 0, 0.12);
2276
+ flex-shrink: 0;
2277
+ }
2278
+ }
2279
+
2280
+ .merchi-checkout-summary-group-cost {
2281
+ display: block;
2282
+ margin-top: 0.5rem;
2283
+ padding-top: 0.625rem;
2284
+ border-top: 1px solid #e4e4e7;
2285
+ font-size: 0.875rem;
2286
+ font-weight: 600;
2287
+ line-height: 1.4;
2288
+ color: #18181b;
2289
+ }
2290
+
2291
+ .merchi-checkout-summary-standalone {
2292
+ margin-top: 0.75rem;
2293
+ }
2294
+
2295
+ .merchi-checkout-summary-order-detail-title {
2296
+ display: block;
2297
+ font-size: 0.9375rem;
2298
+ font-weight: 600;
2299
+ margin: 0.75rem 0 0.5rem;
2300
+ }
2301
+
2302
+ .merchi-checkout-summary-total {
2303
+ margin-top: 1rem;
2304
+ padding-top: 0.75rem;
2305
+ border-top: 1px solid #e4e4e7;
2306
+ }
2307
+
2308
+ .merchi-checkout-summary-amount {
2309
+ margin-bottom: 0;
2310
+ }
2311
+
2312
+ .merchi-checkout-summary-total-quantity,
2313
+ .merchi-checkout-summary-shipment-cost {
2314
+ margin-bottom: 0.75rem;
2315
+ }
2316
+
2317
+ .modal-merchi-checkout-shipment-detail.merchi-checkout-summary {
2318
+ .merchi-checkout-summary-order-detail-title {
2319
+ margin-top: 0;
2320
+ }
2321
+
2322
+ .merchi-checkout-summary-variation-row+.merchi-checkout-summary-variation-row,
2323
+ .merchi-checkout-summary-variation-row+.merchi-checkout-summary-amount {
2324
+ margin-top: 0.625rem;
2325
+ }
2326
+ }
2327
+
2328
+ .merchi-checkout-summary-total-label {
2329
+ margin-bottom: 0.25rem;
2330
+ font-size: 0.8125rem;
2331
+ color: #71717a;
2332
+ line-height: 1.4;
2333
+
2334
+ small {
2335
+ display: inline;
2336
+ font-size: inherit;
2337
+ color: inherit;
2338
+ }
2339
+ }
2340
+
2341
+ .merchi-checkout-summary-total-note {
2342
+ font-style: italic;
2343
+ }
2344
+
2345
+ .merchi-checkout-summary-total-amount {
2346
+ display: block;
2347
+ font-size: 1rem;
2348
+ font-weight: 600;
2349
+ color: #18181b;
2350
+ }
2351
+
2352
+ .merchi-checkout-address-recommendation {
2353
+ margin-bottom: 0.5rem;
2354
+ }
2355
+
2356
+ .merchi-checkout-summary-turnaround-value {
2357
+ display: flex;
2358
+ flex-direction: column;
2359
+ gap: 0.125rem;
2360
+ }
2361
+
2362
+ .merchi-checkout-summary-turnaround-days {
2363
+ font-weight: 600;
2364
+ color: #18181b;
2365
+ }
2366
+
2367
+ .merchi-checkout-summary-turnaround-deadline {
2368
+ font-size: 0.8125rem;
2369
+ color: #52525b;
2370
+ }
2371
+
2372
+ .merchi-checkout-address-recommendation-btn {
2373
+ display: block;
2374
+ width: 100%;
2375
+ padding: 0.75rem 0.875rem;
2376
+ border: 1px solid #c7d2fe;
2377
+ border-radius: 0.5rem;
2378
+ background: #eef2ff;
2379
+ color: #312e81;
2380
+ text-align: left;
2381
+ cursor: pointer;
2382
+ }
2383
+
2384
+ .merchi-checkout-address-recommendation-btn:hover {
2385
+ background: #e0e7ff;
2386
+ }
2387
+
2388
+ .merchi-checkout-address-recommendation-label {
2389
+ display: block;
2390
+ font-size: 0.75rem;
2391
+ font-weight: 600;
2392
+ text-transform: uppercase;
2393
+ letter-spacing: 0.02em;
2394
+ color: #4338ca;
2395
+ margin-bottom: 0.25rem;
2396
+ }
2397
+
2398
+ .merchi-checkout-address-recommendation-value {
2399
+ display: block;
2400
+ font-size: 0.9375rem;
2401
+ line-height: 1.4;
2402
+ color: #1e1b4b;
2403
+ }
2404
+
2405
+ .merchi-checkout-google-suggest-list {
2406
+ position: absolute;
2407
+ left: 0;
2408
+ right: 0;
2409
+ top: 100%;
2410
+ z-index: 1050;
2411
+ margin: 0.25rem 0 0;
2412
+ padding: 0;
2413
+ list-style: none;
2414
+ /* Explicit colors so host dark-mode --foreground is not inherited onto a light panel */
2415
+ background: #fff;
2416
+ color: #18181b;
2417
+ border: 1px solid #dee2e6;
2418
+ border-radius: 0.375rem;
2419
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
2420
+ max-height: 280px;
2421
+ overflow-y: auto;
2422
+ }
2423
+
2424
+ .merchi-checkout-google-suggest-list-item {
2425
+ padding: 0.5rem 0.75rem;
2426
+ cursor: pointer;
2427
+ color: #18181b;
2428
+ border-bottom: 1px solid #f4f4f5;
2429
+
2430
+ strong {
2431
+ color: #18181b;
2432
+ }
2433
+
2434
+ .text-muted {
2435
+ color: #71717a !important;
2436
+ }
2437
+
2438
+ &:last-child {
2439
+ border-bottom: none;
2440
+ }
2441
+
2442
+ &:hover,
2443
+ &.active {
2444
+ background-color: #f8f9fa;
2445
+ }
2446
+ }
2447
+
2448
+ /* GEO suggest close */
2449
+
2450
+ .geosuggest__suggests--hidden {
2451
+ max-height: 0;
2452
+ overflow: hidden;
2453
+ border-width: 0;
2454
+ }
2455
+
2456
+ /* **************
2457
+ Modal - checkout
2458
+ ************** */
2459
+
2460
+ .modal {
2461
+ &_merchi-checkout {
2462
+ max-width: calc(100% - 15px);
2463
+ margin: 0 0.5rem;
2464
+
2465
+ .modal-content {
2466
+ top: 0.5rem;
2467
+ }
2468
+
2469
+ @media (min-width: 900px) {
2470
+ margin: 0 auto;
2471
+ max-width: 900px;
2472
+
2473
+ .modal-content {
2474
+ top: 3rem;
2475
+ }
2476
+ }
2477
+
2478
+ &_steps-heading {
2479
+ background: #f8f8f8;
2480
+ border-radius: 0.5rem;
2481
+ font-size: 1.25rem;
2482
+ margin-top: 1rem;
2483
+ padding: 0.5rem 1rem;
2484
+ width: fit-content;
2485
+ margin-bottom: 1rem;
2486
+
2487
+ small {
2488
+ margin-bottom: 0;
2489
+ }
2490
+
2491
+ h5 {
2492
+ font-size: 1rem !important;
2493
+ }
2494
+ }
2495
+
2496
+ /* variation dropzone */
2497
+ &_dropzone {
2498
+ padding: 0;
2499
+ border: none;
2500
+ color: inherit;
2501
+ padding: 2rem 1rem;
2502
+ background-color: #fff;
2503
+ border: 1px dashed #dee2e6;
2504
+ border-radius: 0.375rem;
2505
+ text-align: center;
2506
+ color: #8898aa;
2507
+ order: -1;
2508
+ cursor: pointer;
2509
+ z-index: 999;
2510
+ transition: all .2s ease-in-out;
2511
+
2512
+ &:hover {
2513
+ box-shadow: 0 0.5em 0.75em #00000014;
2514
+ scale: 1.002;
2515
+ }
2516
+
2517
+ &-image-preview {
2518
+ display: flex;
2519
+ gap: 1rem;
2520
+ margin-top: 1rem;
2521
+ flex-wrap: wrap;
2522
+
2523
+ &-item {
2524
+ height: 50px;
2525
+ width: 50px;
2526
+ border-radius: 0.375rem;
2527
+ object-fit: cover;
2528
+ }
2529
+ }
2530
+
2531
+ &-text-container {
2532
+ display: flex;
2533
+ }
2534
+
2535
+ &-icon-container {
2536
+ display: inline-block;
2537
+ width: 50px;
2538
+ height: 50px;
2539
+ background: #dfdfdf;
2540
+ border-radius: 100%;
2541
+ position: relative;
2542
+ margin-right: 1rem;
2543
+ }
2544
+
2545
+ &-icon {
2546
+ position: absolute;
2547
+ display: block;
2548
+ top: 50%;
2549
+ height: 24px;
2550
+ left: 50%;
2551
+ transform: translate(-50%, -50%)
2552
+ }
2553
+
2554
+ &-icon-plus {
2555
+ transition: all .15s ease-in-out;
2556
+ position: absolute;
2557
+ background: white;
2558
+ height: 30px;
2559
+ width: 30px !important;
2560
+ border-radius: 100%;
2561
+ border: 1px solid #dfdfdf;
2562
+ padding: 5px;
2563
+ display: block;
2564
+ right: -8px;
2565
+ bottom: -14px;
2566
+ top: initial;
2567
+ left: initial;
2568
+
2569
+ &:hover {
2570
+ scale: 1.2;
2571
+ }
2572
+ }
2573
+ }
2574
+
2575
+ /*customer info card*/
2576
+ &-customer-card {
2577
+ background: #f8f8f8;
2578
+ border-radius: 0.5rem;
2579
+ padding: 1rem;
2580
+ }
2581
+
2582
+ &-customer-details {
2583
+ p {
2584
+ margin: 0;
2585
+ padding: 0;
2586
+ }
2587
+ }
2588
+
2589
+ &-job-info-content {
2590
+ padding: 1rem;
2591
+ background: #f8f8f8;
2592
+ border-radius: 0.5rem;
2593
+ margin-top: 1rem;
2594
+ }
2595
+
2596
+ &-job-info-content-img {
2597
+ border-radius: 0.5rem;
2598
+ object-fit: cover;
2599
+ width: 50px;
2600
+ height: 50px;
2601
+ }
2602
+
2603
+ &-shipment-option {
2604
+ min-height: 4rem;
2605
+
2606
+ &:not(.list-group-item) {
2607
+ display: flex;
2608
+ flex-direction: column;
2609
+ gap: 0.75rem;
2610
+ margin-top: 1rem;
2611
+ }
2612
+
2613
+ &.list-group-item {
2614
+ padding: 1rem;
2615
+ background: #f4f4f5;
2616
+ border: 2px solid transparent;
2617
+ border-radius: 0.75rem;
2618
+ color: #18181b;
2619
+
2620
+ &:hover {
2621
+ background: #ececee;
2622
+ }
2623
+
2624
+ &.active {
2625
+ background: #f4f4f5;
2626
+ border-color: #303dbf;
2627
+ color: #18181b;
2628
+ }
2629
+ }
2630
+ }
2631
+
2632
+ &-shipment-detail {
2633
+ padding: 1rem;
2634
+ background: #f8f8f8;
2635
+ border-radius: 0.5rem;
2636
+ margin-top: 1rem;
2637
+ }
2638
+
2639
+ &-discount-code {
2640
+ padding: 1rem;
2641
+ background: #f8f8f8;
2642
+ border-radius: 0.5rem;
2643
+ margin-top: 1rem;
2644
+ }
2645
+ }
2646
+ }
2647
+
2648
+ .merchi-customer-checkout__heading {
2649
+ margin: 0 0 1rem;
2650
+ color: #52525b;
2651
+ font-size: 0.8125rem;
2652
+ font-weight: 600;
2653
+ text-transform: uppercase;
2654
+ }
2655
+
2656
+ .merchi-customer-checkout-options {
2657
+ display: flex;
2658
+ flex-direction: column;
2659
+ overflow: hidden;
2660
+ border: 1.5px solid #b8bec8;
2661
+ border-radius: 0.5rem;
2662
+ background: #fff;
2663
+ }
2664
+
2665
+ .merchi-customer-checkout-option {
2666
+ border-bottom: 1px solid #e4e4e7;
2667
+ background: #fff;
2668
+
2669
+ &:last-child {
2670
+ border-bottom: none;
2671
+ }
2672
+ }
2673
+
2674
+ .merchi-customer-checkout-option__header {
2675
+ display: flex;
2676
+ align-items: center;
2677
+ justify-content: space-between;
2678
+ gap: 0.75rem;
2679
+ width: 100%;
2680
+ min-height: 3rem;
2681
+ padding: 0.75rem 1rem;
2682
+ border: none;
2683
+ background: #fff;
2684
+ color: #3f3f46;
2685
+ font-size: 0.9375rem;
2686
+ text-align: left;
2687
+ cursor: pointer;
2688
+
2689
+ &:hover,
2690
+ .merchi-customer-checkout-option.is-selected & {
2691
+ background: color-mix(in srgb, var(--color-brand, #{$brandBlue}) 8%, #fff);
2692
+ }
2693
+ }
2694
+
2695
+ .merchi-customer-checkout-option__title {
2696
+ display: flex;
2697
+ align-items: center;
2698
+ gap: 0.75rem;
2699
+ flex: 1;
2700
+ }
2701
+
2702
+ .merchi-customer-checkout-option__label {
2703
+ font-weight: 600;
2704
+ }
2705
+
2706
+ .merchi-customer-checkout-option__icon {
2707
+ display: inline-flex;
2708
+ align-items: center;
2709
+ justify-content: center;
2710
+ width: 2rem;
2711
+ height: 2rem;
2712
+ border-radius: 0.375rem;
2713
+ background: #f4f4f5;
2714
+ }
2715
+
2716
+ .merchi-customer-checkout-option__icon-svg {
2717
+ width: 1.125rem;
2718
+ height: 1.125rem;
2719
+ }
2720
+
2721
+ .merchi-customer-checkout-option__icon-svg--whatsapp {
2722
+ color: #25d366;
2723
+ }
2724
+
2725
+ .merchi-customer-checkout-option__checkbox {
2726
+ display: inline-flex;
2727
+ flex-shrink: 0;
2728
+ align-items: center;
2729
+ justify-content: center;
2730
+ width: 1.25rem;
2731
+ height: 1.25rem;
2732
+ border: 2px solid #a1a1aa;
2733
+ border-radius: 0.25rem;
2734
+ background: #fff;
2735
+ font-size: 1rem;
2736
+ }
2737
+
2738
+ .merchi-customer-checkout-option.is-selected .merchi-customer-checkout-option__checkbox {
2739
+ border-color: var(--color-brand, #{$brandBlue});
2740
+ background: var(--color-brand, #{$brandBlue});
2741
+ color: #fff;
2742
+ }
2743
+
2744
+ .merchi-customer-checkout-option__body {
2745
+ padding: 0.75rem 1rem 1rem;
2746
+ background: #fff;
2747
+ }
2748
+
2749
+ /* **************
2750
+ Invoice
2751
+ ************** */
2752
+
2753
+ .merchi {
2754
+ &_invoice {
2755
+ &-container {
2756
+ &-icons {
2757
+ width: 150px;
2758
+ margin: auto;
2759
+ height: auto;
2760
+ }
2761
+ }
2762
+ }
2763
+ }