apirocket 0.0.7 → 0.0.11

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.
@@ -1,217 +1,1717 @@
1
- * {
2
- font-family: 'Lato', sans-serif;
1
+ .apirocket-checkout * { box-sizing: content-box; }
2
+
3
+ .apirocket-checkout {
4
+ display: block;
5
+ position: fixed;
6
+ z-index: 10000;
7
+ right: 0;
8
+ top: 0;
9
+ overflow: hidden;
10
+ overflow-y: auto;
11
+ width: 100%;
12
+ height: 100vh;
13
+ font-family: var(--cart-font-family, "Arial, Helvetica, sans-serif");
14
+ background-color: #fff;
3
15
  }
4
16
 
5
- button {
6
- cursor: pointer;
17
+ .apirocket-checkout-wrap {
18
+ display: flex;
19
+ margin: 0 auto;
20
+ width: 90%;
21
+ min-height: 100%;
22
+ max-width: 1100px;
23
+ padding: 0 5%;
24
+
7
25
  }
8
26
 
9
- .cesta:not(.left) {
10
- transform: translateX(110%);
11
- transition: all .2s ease-in;
12
- visibility: hidden;
27
+ .apirocket-checkout-main {
28
+ order: 1;
29
+ width: 52%;
30
+ padding-right: 48px;
13
31
  }
14
32
 
15
- .cesta.left {
16
- transform: translateX(0);
17
- transition: all .2s ease-in;
18
- z-index: 501;
19
- visibility: visible;
33
+ .apirocket-checkout-summary {
34
+ order: 2;
35
+ position: relative;
36
+ width: 40%;
37
+ padding-left: 48px;
20
38
  }
21
39
 
22
- .cesta {
23
- position: fixed;
24
- right: 0;
25
- background: #fff;
26
- height: 100vh;
27
- width: 560px;
40
+ .apirocket-checkout-summary::after {
41
+ position: absolute;
42
+ display: block;
28
43
  top: 0;
29
- box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
44
+ left: 0;
45
+ content: "";
46
+ width: 300%;
47
+ height: 100%;
48
+ background: #f5f5f5;
49
+ z-index: -1;
50
+ }
51
+
52
+ .apirocket-checkout-continue {
53
+ display: block;
54
+ text-align: left;
55
+ margin-top: 40px;
56
+ margin-bottom: 40px;
57
+ color: #737373;
58
+ font-size: 16px;
59
+ font-weight: normal;
60
+ cursor: pointer;
61
+ }
62
+
63
+ .apirocket-checkout-summary-login {
64
+ display: block;
65
+ text-align: right;
66
+ margin-top: 40px;
67
+ margin-bottom: 40px;
68
+ color: #737373;
69
+ font-size: 16px;
70
+ font-weight: normal;
71
+ cursor: pointer;
72
+ }
30
73
 
74
+ .apirocket-checkout-summary-login svg,
75
+ .apirocket-checkout-continue svg { margin-right: 16px; }
31
76
 
77
+ .apirocket-checkout-summary-header {
32
78
  display: flex;
33
- flex-direction: column;
34
- justify-content: space-between
79
+ justify-content: space-between;
80
+ align-items: center;
81
+ margin-top: 56px;
82
+ margin-bottom: 48px;
35
83
  }
36
84
 
37
- .cesta-cerrar {
38
- position: absolute;
39
- right: 16px;
40
- top: 20px;
41
- cursor: pointer;
85
+ .apirocket-checkout-summary-header :last-child a {
86
+ font-size: 14px;
87
+ font-weight: normal;
88
+ color: #737373;
42
89
  }
43
90
 
44
- .cesta-header {
45
- padding: 20px;
46
- background: #000;
91
+ .apirocket-checkout-summary-item {
92
+ display: flex;
93
+ justify-content: stretch;
94
+ align-items: center;
95
+ padding-bottom: 16px;
96
+ border-bottom: 1px solid #d9d9d9;
97
+ margin-bottom: 16px;
98
+ }
99
+
100
+ .apirocket-checkout-summary-item-col-image {
101
+ flex: 0 0 auto;
102
+ max-width: 100px;
47
103
  }
48
104
 
49
- .cesta-titulo {
50
- padding-right: 56px;
51
- margin-top: 0;
52
- margin-bottom: 0;
53
- color: #fff;
105
+ .apirocket-checkout-summary-item-col-image img {
106
+ display: block;
107
+ max-width: 100%;
108
+ max-height: 100px;
109
+ }
110
+
111
+ .apirocket-checkout-summary-item-col-description {
112
+ flex: 1 1 auto;
113
+ padding-left: 16px;
114
+ padding-right: 8px;
115
+ font-size: 16px;
116
+ font-weight: bold;
117
+ line-height: 20px;
54
118
  }
55
119
 
56
- .cesta-body {
57
- padding: 20px
120
+ .apirocket-checkout-summary-item-col-description small {
121
+ display: block;
122
+ font-size: 14px;
123
+ font-weight: normal;
124
+ color: #a3a3a3;
58
125
  }
59
126
 
127
+ .apirocket-checkout-summary-item-col-quantity {
128
+ flex: 0 0 50px;
129
+ font-size: 16px;
130
+ font-weight: normal;
131
+ color: #a3a3a3;
132
+ text-align: right;
133
+ }
60
134
 
61
- .cesta-footer {
62
- padding: 40px 20px 20px 20px;
63
- border-top: 1px solid #000;
135
+ .apirocket-checkout-summary-item-col-price {
136
+ flex: 0 0 100px;
137
+ font-size: 16px;
138
+ font-weight: bold;
139
+ color: #404040;
140
+ text-align: right;
64
141
  }
65
142
 
66
- .cesta-footer-total {
143
+ .apirocket-checkout-summary-row {
67
144
  display: flex;
68
145
  justify-content: space-between;
146
+ align-items: center;
147
+ padding-top: 16px;
148
+ }
149
+
150
+ .apirocket-checkout-summary-label {
151
+ font-size: 16px;
152
+ font-weight: normal;
153
+ line-height: 18px;
154
+ color: #404040;
155
+ }
156
+
157
+ .apirocket-checkout-summary-value {
69
158
  font-size: 18px;
70
159
  font-weight: bold;
160
+ line-height: 18px;
161
+ color: #404040;
71
162
  }
72
163
 
73
- .cesta-footer-boton button {
74
- background: #000;
75
- width: 100%;
76
- border: 0;
77
- height: 44px;
164
+ .apirocket-checkout-summary-row-total {
165
+ display: flex;
166
+ justify-content: space-between;
167
+ align-items: flex-start;
168
+ border-top: 1px solid #d9d9d9;
169
+ margin-top: 24px;
170
+ padding-top: 24px;
171
+ }
172
+
173
+ .apirocket-checkout-summary-label-total {
78
174
  font-size: 18px;
79
- text-transform: uppercase;
80
- color: #fff;
175
+ font-weight: bold;
176
+ line-height: 21px;
177
+ color: #404040;
178
+ }
179
+ .apirocket-checkout-summary-label-total small {
180
+ display: block;
181
+ font-size: 14px;
182
+ line-height: 16px;
183
+ font-weight: normal;
184
+ color: #a3a3a3;
81
185
  }
82
186
 
187
+ .apirocket-checkout-summary-value-total {
188
+ font-size: 24px;
189
+ font-weight: bold;
190
+ line-height: 24px;
191
+ color: #404040;
192
+ }
83
193
 
84
- .full-screen {
85
- width: 100% !important;
86
- transform: translateX(0) !important;
87
- transition: all .2s ease-in !important;
88
- z-index: 501 !important;
89
- visibility: visible !important;
194
+ .apirocket-checkout-breadcrumbs ol {
195
+ display: flex;
196
+ align-items: center;
197
+ list-style: none;
198
+ padding: 0;
199
+ margin: 0;
200
+ margin-top: 24px;
90
201
  }
91
202
 
203
+ .apirocket-checkout-breadcrumbs ol li {
204
+ color: #a3a3a3;
205
+ font-size: 14px;
206
+ line-height: 1;
207
+ }
92
208
 
93
- .full-screen .cesta-item-detalles p {
94
- margin-top: 4px;
95
- margin-bottom: 0;
209
+ .apirocket-checkout-breadcrumbs ol li::after {
210
+ width: 5px;
211
+ height: 9px;
212
+ display: inline-block;
213
+ content: "";
214
+ background-image: url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 9'%3E%3Cpath d='M1.164.2a.682.682 0 00-.964.964l3.154 3.154L.2 7.472a.682.682 0 10.964.965L4.8 4.8a.682.682 0 000-.964L1.164.2z' fill='%23A3A3A3'/%3E%3C/svg%3E");
215
+ background-repeat: no-repeat;
216
+ background-position: center;
217
+ padding: 0 8px;
96
218
  }
97
219
 
98
- @media (max-width: 992px) {
99
- .cesta {
100
- width: 100%
101
- }
220
+ .apirocket-checkout-breadcrumbs ol li:last-child::after { display: none; }
221
+
222
+ .apirocket-checkout-breadcrumbs ol li a {
223
+ color: #a3a3a3;
224
+ text-decoration: underline;
102
225
  }
103
226
 
227
+ .apirocket-checkout-breadcrumbs-active {
228
+ font-weight: bold;
229
+ color: #404040 !important;
230
+ }
104
231
 
105
- .cesta-item {
106
- border-bottom: 1px solid #000;
107
- padding-bottom: 40px;
108
- margin-bottom: 40px;
232
+ .apirocket-checkout-steps-summary {
233
+ border: 1px solid #d9d9d9;
234
+ border-radius: 4px;
235
+ overflow: hidden;
236
+ margin-top: 48px;
109
237
  }
110
238
 
111
- .cesta-item-header {
239
+ .apirocket-checkout-steps-summary-row {
112
240
  display: flex;
113
- justify-content: space-between;
114
- align-items: center;
241
+ position: relative;
242
+ border-bottom: 1px solid #d9d9d9;
243
+ padding: 16px;
244
+ }
245
+
246
+ .apirocket-checkout-steps-summary-label {
247
+ flex: 0 0 90px;
248
+ font-size: 14px;
249
+ font-weight: normal;
250
+ line-height: 14px;
251
+ color: #a3a3a3;
252
+ }
253
+
254
+ .apirocket-checkout-steps-summary-text {
255
+ flex: 1 1 auto;
256
+ font-size: 14px;
257
+ font-weight: normal;
258
+ line-height: 18px;
259
+ color: #404040;
260
+ }
261
+
262
+ .apirocket-checkout-steps-summary-link {
263
+ flex: 0 0 60px;
264
+ text-align: right;
265
+ font-size: 12px;
266
+ font-weight: normal;
267
+ line-height: 1;
268
+ text-decoration: underline;
269
+ color: #737373;
270
+ cursor: pointer;
271
+ }
272
+
273
+ .apirocket-checkout-section {
274
+ margin-top: 48px;
275
+ }
276
+
277
+ .apirocket-checkout-section-header {
115
278
  margin-bottom: 24px;
116
279
  }
117
280
 
118
- .cesta-item-header img {
119
- width: 60px;
120
- height: 60px;
121
- object-fit: cover;
122
- margin-right: 8px;
281
+ .apirocket-checkout-section-title {
282
+ font-size: 18px;
283
+ font-weight: bold;
284
+ line-height: 1;
285
+ color: #404040;
123
286
  }
124
287
 
125
- .cesta-item-header a {
126
- text-decoration: none;
127
- color: #000
288
+ .apirocket-checkout-section-subtitle {
289
+ font-size: 12px;
290
+ font-weight: normal;
291
+ padding-top: 4px;
292
+ line-height: 1;
293
+ color: #a3a3a3;
294
+ text-align: right;
128
295
  }
129
296
 
130
- .cesta-item-header h3 {
131
- margin: 0;
132
- padding-right: 4px;
297
+ .apirocket-checkout-section a {
298
+ color: #404040;
299
+ outline: none;
300
+ text-decoration: underline;
133
301
  }
134
302
 
135
- .cesta-item-header button {
136
- background: #fff;
137
- border: 0;
138
- cursor: pointer;
303
+ .apirocket-checkout-section-text {
304
+ font-size: 14px;
305
+ line-height: 1;
306
+ margin-top: 4px;
307
+ color: #737373;
139
308
  }
140
309
 
141
- .cesta-item-cantidad-precio {
310
+ .apirocket-checkout-actions {
311
+ display: flex;
312
+ margin-top: 64px;
313
+ align-items: center;
314
+ max-width: 100%;
315
+ }
316
+
317
+ .apirocket-checkout-actions > * { flex: 1 1; }
318
+
319
+ .apirocket-checkout-footer {
320
+ margin-top: 72px;
321
+ border-top: 1px solid #d9d9d9;
322
+ margin-bottom: 64px;
323
+ padding-top: 16px;
324
+ }
325
+
326
+ .apirocket-checkout-footer ul {
142
327
  display: flex;
143
- justify-content: space-between;
144
328
  align-items: center;
329
+ list-style: none;
330
+ padding: 0;
331
+ margin: 0;
332
+ }
333
+
334
+ .apirocket-checkout-footer ul li { margin-right: 16px; }
335
+
336
+ .apirocket-checkout-footer ul li a {
337
+ color: #404040;
338
+ font-size: 14px;
339
+ line-height: 1;
340
+ }
341
+
342
+
343
+ .apircoket-checkout-legal {
344
+ margin-top: 16px;
345
+ font-size: 14px;
346
+ color: #737373;
347
+ font-weight: normal;
348
+ line-height: 1.4;
349
+ }
350
+
351
+ .apircoket-checkout-legal a {
352
+ text-decoration: underline;
353
+ color: #404040;
145
354
  }
146
355
 
147
- .cesta-item-cantidad label {
356
+ .apirocket-checkout-logo img {
148
357
  display: block;
149
- font-weight: bold;
150
- margin-bottom: 4px;
358
+ max-height: 80px;
151
359
  }
152
360
 
153
- .cesta-item-cantidad input {
154
- max-height: 36px;
155
- padding: 6px;
156
- border: 1px solid #000;
157
- text-align: center;
158
- width: 80px;
361
+ .apirocket-checkout-mobile { display: none; }
362
+
363
+ .apirocket-checkout-mobile .apirocket-checkout-logo {
364
+ display: block;
365
+ margin-top: 16px;
366
+ margin-bottom: 16px;
367
+ }
368
+ .apirocket-checkout-mobile .apirocket-checkout-logo img {
369
+ display: block;
370
+ margin: auto;
371
+ max-height: 80px;
159
372
  }
160
373
 
161
- .cesta-item-cantidad input:focus {
162
- outline: 0;
374
+ .apirocket-checkout-mobile-menu {
375
+ background-color: #f5f5f5;
376
+ border-top: 1px solid #d9d9d9;
163
377
  }
164
378
 
165
- .cesta-item-cantidad button {
166
- height: 36px;
167
- border: 1px solid #000;
168
- background: #000;
379
+ .apirocket-checkout-mobile-wrapper {
169
380
  display: flex;
381
+ justify-content: space-between;
382
+ align-items: center;
383
+ width: 90%;
384
+ max-width: 560px;
385
+ margin: 0 auto;
386
+ padding: 16px 0px;
387
+ color: #404040;
388
+ }
389
+
390
+ .apirocket-checkout-mobile-wrapper-cart {
391
+ display: inline-flex;
170
392
  align-items: center;
393
+ color: #404040;
394
+ cursor: pointer;
171
395
  }
172
396
 
397
+ .apirocket-checkout-mobile-wrapper-cart svg { margin-right: 8px; }
173
398
 
174
- input[type='number']::-webkit-inner-spin-button,
175
- input[type='number']::-webkit-outer-spin-button {
176
- -webkit-appearance: none;
177
- margin: 0;
399
+ .apirocket-checkout-mobile-wrapper-total {
400
+ line-height: 20px;
401
+ font-size: 20px;
402
+ font-weight: bold;
178
403
  }
179
404
 
180
- .cesta-item-cantidad-wrapper {
405
+ .apirocket-checkout-mobile-summary {
406
+ background-color: #f5f5f5;
407
+ transition-property: max-height;
408
+ transition-timing-function: ease-in;
409
+ transition-duration: 350ms;
410
+ max-height: 0px;
411
+ overflow: hidden;
412
+ border-bottom: 1px solid #d9d9d9;
413
+ }
414
+
415
+ .apirocket-checkout-mobile-summary--show {
416
+ max-height: 1000px;
417
+ overflow: auto;
418
+ }
419
+
420
+ .apirocket-checkout-mobile-summary-wrapper {
421
+ width: 90%;
422
+ max-width: 560px;
423
+ padding: 16px 0px;
424
+ margin: 0 auto;
425
+ }
426
+
427
+
428
+
429
+ /* Utils */
430
+
431
+ .apirocket-checkout-row {
181
432
  display: flex;
182
- max-height: 40px;
433
+ justify-content: space-between;
434
+ align-items: flex-start;
435
+ }
436
+ .apirocket-checkout-row > * {
437
+ flex: 1 1;
438
+ margin-right: 16px;
183
439
  }
184
440
 
185
- .cesta-item-precio {
441
+ .apirocket-checkout-row > *:last-child { margin-right: 0; }
442
+
443
+ .apirocket-checkout-fieldset {
444
+ border: 1px solid #d9d9d9;
445
+ border-radius: 4px;
446
+ overflow: hidden;
447
+ }
448
+
449
+ .apirocket-checkout-fieldset > :last-child { border-bottom: none; }
450
+
451
+ .apirocket-checkout-fieldset .form-input,
452
+ .apirocket-checkout-fieldset .form-select,
453
+ .apirocket-checkout-fieldset .form-checkbox,
454
+ .apirocket-checkout-fieldset .form-radio { margin-bottom: 0; }
455
+ .apirocket-checkout-fieldset .form-radio .form-radio-label { font-size: 16px; }
456
+
457
+ .apirocket-checkout-fieldset > * {
458
+ padding: 16px;
459
+ border-bottom: 1px solid #d9d9d9;
460
+ }
461
+ .apirocket-checkout-fieldset-row {
462
+ display: flex;
463
+ justify-content: space-between;
464
+ align-items: flex-start;
465
+ }
466
+ .apirocket-checkout-fieldset-row > * { flex: 1 1; margin-right: 16px; }
467
+ .apirocket-checkout-fieldset-row > :first-child { flex: 1 1 auto;}
468
+ .apirocket-checkout-fieldset-row > :last-child {
469
+ flex: 0 0 auto;
470
+ margin-right: 0px;
471
+ font-size: 16px;
186
472
  font-weight: bold;
187
- font-size: 18px;
473
+ line-height: 20px;
474
+ color: #404040;
475
+ }
476
+
477
+ .apirocket-checkout-fieldset-row > :last-child img {
478
+ display: block;
479
+ max-height: 24px;
480
+ }
481
+
482
+ .apirocket-checkout-fieldset-row-wrapper {
483
+ background-color: #f5f5f5;
484
+ }
485
+
486
+ .apirocket-checkout-fieldset-row-wrapper > * { margin-bottom: 16px !important; }
487
+ .apirocket-checkout-fieldset-row-wrapper > *:last-child { margin-bottom: 0px !important; }
488
+
489
+ /* Responsive */
490
+
491
+ @media (max-width: 1000px) {
492
+
493
+ .apirocket-checkout-mobile { display: block; }
494
+
495
+ .apirocket-checkout-wrap {
496
+ flex-flow: column;
497
+ margin: 0;
498
+ padding: 0;
499
+ width: 100%;
500
+ }
501
+
502
+ .apirocket-checkout-main,
503
+ .apirocket-checkout-summary {
504
+ width: 90%;
505
+ max-width: 560px;
506
+ margin: 0 auto;
507
+ padding: 0;
508
+ }
509
+
510
+ .apirocket-checkout-summary {
511
+ /* order: 0;
512
+ padding: 16px 0; */
513
+ display: none;
514
+ }
515
+ .apirocket-checkout-summary::after { display: none; }
516
+
517
+ .apirocket-checkout-summary-header,
518
+ .apirocket-checkout-summary-login { display: none; }
519
+
520
+ .apirocket-checkout-continue { display: none;}
521
+
522
+ .apirocket-checkout-breadcrumbs { text-align: center; }
523
+ .apirocket-checkout-breadcrumbs ol { display: inline-flex; text-align: center; }
524
+
525
+ .apirocket-checkout-logo { display: none; }
526
+ }
527
+
528
+
529
+ @media (max-width: 720px) {
530
+
531
+ .apirocket-checkout-row { display: block; }
532
+ .apirocket-checkout-row > * { margin-right: 0; }
533
+
534
+ .apirocket-checkout-actions > :first-child { order: 2; }
535
+ .apirocket-checkout-actions > :last-child { margin-bottom: 32px; }
536
+ .apirocket-checkout-actions {
537
+ flex-flow: column;
538
+ align-items: stretch;
539
+ }
540
+
541
+ .apirocket-checkout-fieldset-row > :last-child img { max-height: 16px; }
542
+
543
+ .apirocket-checkout-fieldset-row-wrapper .apirocket-checkout-row > * { margin-bottom: 16px !important; }
544
+ .apirocket-checkout-fieldset-row-wrapper .apirocket-checkout-row:last-child > *:last-child { margin-bottom: 0px !important; }
545
+
546
+ .apirocket-checkout-section-subtitle {
547
+ padding-top: 16px;
548
+ margin-bottom: -16px;
549
+ }
550
+
551
+ .apirocket-checkout-footer ul {
552
+ display: block;
553
+ text-align: center !important;
554
+ line-height: 32px !important;
555
+ }
556
+
557
+ .apirocket-checkout-footer ul li {
558
+ display: inline-block;
559
+ }
560
+
561
+ .apircoket-checkout-legal { text-align: center; }
562
+
563
+ .apirocket-checkout-summary-item-col-image {
564
+ flex: 0 0 auto;
565
+ max-width: 80px;
566
+ }
567
+
568
+ .apirocket-checkout-summary-item-col-image img { max-height: 80px; }
569
+
570
+ .apirocket-checkout-summary-item-col-description {
571
+ flex: 1 1;
572
+ padding-left: 8px;
573
+ font-size: 14px;
574
+ line-height: 16px;
575
+ }
576
+
577
+ .apirocket-checkout-summary-item-col-description small { font-size: 12px; }
578
+
579
+ .apirocket-checkout-summary-item-col-quantity {
580
+ flex: 0 0 25px;
581
+ font-size: 12px;
582
+ }
583
+
584
+ .apirocket-checkout-summary-item-col-price {
585
+ flex: 0 0 80px;
586
+ font-size: 14px;
587
+ }
588
+
589
+ .apirocket-checkout-summary-label-total {
590
+ font-size: 16px;
591
+ line-height: 18px;
592
+ }
593
+ .apirocket-checkout-summary-label-total small {
594
+ font-size: 12px;
595
+ line-height: 14px;
596
+ }
597
+
598
+ .apirocket-checkout-summary-row {
599
+ padding-top: 8px;
600
+ }
601
+
602
+ .apirocket-checkout-summary-label {
603
+ font-size: 14px;
604
+ line-height: 14px;
605
+ }
606
+
607
+ .apirocket-checkout-summary-value,
608
+ .apirocket-checkout-summary-value-total {
609
+ font-size: 16px;
610
+ line-height: 16px;
611
+ }
612
+
613
+ .apirocket-checkout-mobile .apirocket-checkout-logo img {
614
+ max-height: 55px;
615
+ }
616
+
617
+ .apirocket-checkout-steps-summary { margin-top: 24px; }
618
+
619
+ .apirocket-checkout-steps-summary-row { position: relative; }
620
+
621
+ .apirocket-checkout-steps-summary-label {
622
+ position: absolute;
623
+ font-size: 14px;
624
+ }
625
+
626
+ .apirocket-checkout-steps-summary-text { margin-top: 18px; }
627
+ .apirocket-checkout-steps-summary-link { font-size: 12px; }
628
+
188
629
  }
189
630
 
190
- .cesta-item-detalles {
631
+
632
+ :root {
633
+ --cart-width: 540px;
634
+ --cart-background-color: #fff;
635
+ --cart-padding: 32px;
636
+ --cart-font-family: Arial, Helvetica, sans-serif;
637
+
638
+ --cart-header-background-color: #f5f5f5;
639
+ --cart-header-border-color: #f5f5f5;
640
+ --cart-header-border-width: 1px;
641
+ --cart-header-text-font-size: 18px;
642
+ --cart-header-text-font-weight: normal;
643
+ --cart-header-text-font-color: #404040;
644
+ --cart-header-text-close-icon-color: #a3a3a3;
645
+ --cart-header-text-close-icon-size: 24px;
646
+
647
+ --cart-footer-background-color: #fff;
648
+ --cart-footer-border-color: #e5e5e5;
649
+ --cart-footer-border-width: 1px;
650
+ --cart-footer-text-font-size: 16px;
651
+ --cart-footer-text-font-weight: lighter;
652
+ --cart-footer-text-font-color: #404040;
653
+ --cart-footer-total-font-size: 18px;
654
+ --cart-footer-total-font-weight: bold;
655
+ --cart-footer-total-font-color: #000;
656
+
657
+ --cart-item-border-color: #e5e5e5;
658
+ --cart-item-border-width: 1px;
659
+ --cart-item-padding: 32px;
660
+ --cart-item-label-font-size: 14px;
661
+ --cart-item-label-font-weight: lighter;
662
+ --cart-item-label-font-color: #737373;
663
+ --cart-item-image-display: inherit;
664
+ --cart-item-image-width: 100px;
665
+ --cart-item-image-width-fullscreen: 150px;
666
+ --cart-item-name-font-size: 18px;
667
+ --cart-item-name-font-weight: bold;
668
+ --cart-item-name-font-color: #000;
669
+ --cart-item-description-font-size: 14px;
670
+ --cart-item-description-font-weight: lighter;
671
+ --cart-item-description-font-color: #000;
672
+ --cart-item-delete-icon-color: #404040;
673
+ --cart-item-delete-icon-color-hover: #000;
674
+ --cart-item-delete-icon-size: 18px;
675
+ --cart-item-form-border-color: #e5e5e5;
676
+ --cart-item-form-border-color-hover: #000;
677
+ --cart-item-form-border-width: 1px;
678
+ --cart-item-form-text-size: 14px;
679
+ --cart-item-form-text-weight: normal;
680
+ --cart-item-form-text-color: #000;
681
+ --cart-item-quantity-icon-color: #737373;
682
+ --cart-item-quantity-icon-background-color: transparent;
683
+ --cart-item-quantity-icon-size: 16px;
684
+ --cart-item-price-font-size: 16px;
685
+ --cart-item-price-font-weight: normal;
686
+ --cart-item-price-font-color: #404040;
687
+
688
+ --cart-button-font-size: 16px;
689
+ --cart-button-font-weight: normal;
690
+ --cart-button-font-color: #737373;
691
+ --cart-button-font-color-hover: #404040;
692
+ --cart-button-border-color: #e5e5e5;
693
+ --cart-button-border-color-hover: #404040;
694
+ --cart-button-border-radius: 4px;
695
+ --cart-button-background-color: transparent;
696
+ --cart-button-background-color-hover: transparent;
697
+ --cart-button-padding-x: 16px;
698
+ --cart-button-padding-y: 16px;
699
+
700
+ --cart-button-primary-text-color: #fff;
701
+ --cart-button-primary-text-color-hover: #fff;
702
+ --cart-button-primary-border-color: #1d4ed8;
703
+ --cart-button-primary-border-color-hover: #0d59f4;
704
+ --cart-button-primary-background-color: #1d4ed8;
705
+ --cart-button-primary-background-color-hover: #0d59f4;
706
+ /* --cart-shadow-button-primary-hover: 0 10px 4px -8px rgba(0,0,0,.5); */
707
+ }
708
+
709
+ .apirocket-cart * { box-sizing: content-box; }
710
+
711
+ .apirocket-cart {
712
+ position: fixed;
713
+ z-index: 10000;
714
+ right: 0;
715
+ top: 0;
716
+ overflow: hidden;
717
+ width: var(--cart-width, 540px);
718
+ height: 100vh;
719
+ box-shadow: 1px 20px 8px rgba(0,0,0,.1);
720
+ font-family: var(--cart-font-family, "Arial, Helvetica, sans-serif");
721
+ background-color: var(--cart-background-color, #fff);
722
+ }
723
+
724
+ .apirocket-cart-content {
725
+ display: flex;
726
+ flex-direction: column;
727
+ height: 100%;
728
+ background-color: var(--cart-background-color, #fff);
729
+ }
730
+
731
+ .apirocket-cart-header {
191
732
  display: flex;
733
+ flex: 0 0 96px;
192
734
  align-items: center;
735
+ justify-content: space-between;
736
+ padding: 0px var(--cart-padding);
737
+ background-color: var(--cart-header-background-color, #f5f5f5);
738
+ border-bottom: var(--cart-header-border-width, 1px) solid var(--cart-header-border-color, #f5f5f5);
739
+ }
740
+
741
+ .apirocket-cart-header-title {
742
+ font-size: var(--cart-header-text-font-size, 18px);
743
+ font-weight: var(--cart-header-text-font-weight, normal);
744
+ color: var(--cart-header-text-font-color, #404040)
745
+ }
746
+
747
+ .apirocket-cart-header-close-icon {
748
+ height: var(--cart-header-text-close-icon-size, 24px);
749
+ width: var(--cart-header-text-close-icon-size, 24px);
750
+ color: var(--cart-header-text-close-icon-color, #a3a3a3);
751
+ cursor: pointer;
193
752
  }
194
753
 
195
- .cesta-item-descripcion {
754
+ .apirocket-cart-header-continue {
755
+ display: block;
756
+ text-align: left;
757
+ color: #737373;
758
+ font-size: 16px;
759
+ font-weight: normal;
196
760
  display: none;
761
+ cursor: pointer;
197
762
  }
198
763
 
199
- :global(.full-screen) .cesta-item-descripcion {
764
+ .apirocket-cart-header-login {
200
765
  display: block;
766
+ text-align: right;
767
+ color: #737373;
768
+ font-size: 16px;
769
+ font-weight: normal;
770
+ display: none;
771
+ cursor: pointer;
201
772
  }
202
773
 
203
- :global(.full-screen) .cesta-item-detalles {
204
- align-items: flex-start;
205
- width: 800px;
774
+ .apirocket-cart-header-login svg,
775
+ .apirocket-cart-header-continue svg { margin-right: 16px; }
776
+
777
+
778
+ .apirocket-cart-body {
779
+ flex: 1 1 auto;
780
+ padding: 0px;
781
+ background: var(--cart-background-color, #fff);
782
+ overflow-y: auto;
206
783
  }
207
784
 
208
- :global(.full-screen) .cesta-item-detalles p {
209
- margin-top: 4px;
210
- margin-bottom: 0;
785
+ .apirocket-cart-footer {
786
+ flex: 0 0 auto;
787
+ padding: var(--cart-padding, 32px);
788
+ background-color: var(--cart-footer-background-color, transparent);
789
+ border-top: var(--cart-footer-border-width, 1px) solid var(--cart-footer-border-color, #e5e5e5);
790
+ font-size: var(--cart-footer-text-font-size, 16px);
791
+ font-weight: var(--cart-footer-text-font-weight, lighter);
792
+ color: var(--cart-footer-text-font-color, #737373);
211
793
  }
212
794
 
213
- @media (max-width: 992px) {
214
- :global(.full-screen) .cesta-item-detalles {
215
- width: 100%;
216
- }
795
+ .apirocket-cart-footer-total {
796
+ font-size: var(--cart-footer-total-font-size, 18px);
797
+ font-weight: var(--cart-footer-total-font-weight, bold);
798
+ color: var(--cart-footer-total-font-color, #000);
799
+ }
800
+
801
+ .apirocket-cart-row {
802
+ display: flex;
803
+ justify-content: space-between;
804
+ align-items: center;
805
+ }
806
+
807
+ .apirocket-cart-col {
808
+ flex: 1 1 auto;
809
+ margin-bottom: 16px;
810
+ }
811
+
812
+ .apirocket-cart-item {
813
+ padding: var(--cart-item-padding, 32px) var(--cart-padding, 32px);
814
+ border-bottom: var(--cart-item-border-width, 1px) solid var(--cart-item-border-color, #e5e5e5);
815
+ }
816
+
817
+ .apirocket-cart-item:last-child {
818
+ border-bottom: none;
819
+ margin-bottom: var(--cart-padding, 32px);
820
+ }
821
+
822
+ .apirocket-cart-item-row {
823
+ display: flex;
824
+ justify-content: space-between;
825
+ align-items: center;
826
+ }
827
+
828
+ .apirocket-cart-item-col-image {
829
+ display: var(--cart-item-image-display, inherit);
830
+ flex: 0 0 var(--cart-item-image-width, 100px);
831
+ align-self: flex-start;
832
+ margin-right: 16px;
833
+ }
834
+
835
+ .apirocket-cart-item-col-image img {
836
+ display: block;
837
+ max-width: 100%;
838
+ }
839
+
840
+ .apirocket-cart-item-col-description {
841
+ align-self: flex-start;
842
+ padding-right: 32px;
843
+ }
844
+
845
+ .apirocket-cart-item-col-description-name {
846
+ font-size: var(--cart-item-name-font-size, 18px);
847
+ font-weight: var(--cart-item-name-font-weight, bold);
848
+ color: var(--cart-item-name-font-color, #000);
849
+ }
850
+
851
+ .apirocket-cart-item-col-description-text {
852
+ font-size: var(--cart-item-description-font-size, 14px);
853
+ font-weight: var(--cart-item-description-font-weight, lighter);
854
+ color: var(--cart-item-description-font-color, #000);
855
+ }
856
+
857
+ .apirocket-cart-item-col-delete {
858
+ flex: 1 0 auto;
859
+ align-self: flex-start;
860
+ color: var(--cart-item-delete-icon-color, #404040);
861
+ width: var(--cart-item-delete-icon-size, 24px);
862
+ cursor: pointer;
863
+ text-align: center;
864
+ }
865
+
866
+ .apirocket-cart-item-col-delete:hover {
867
+ color: var(--cart-item-delete-icon-color-hover, #000);
868
+ }
869
+
870
+ .apirocket-cart-item-col-delete svg {
871
+ width: var(--cart-item-delete-icon-size, 18px);
872
+ height: var(--cart-item-delete-icon-size, 18px);
873
+ }
874
+
875
+ .apirocket-cart-item-label {
876
+ font-size: var(--cart-item-label-font-size, 14px);
877
+ font-weight: var(--cart-item-label-font-weight, lighter);
878
+ color: var(--cart-item-label-font-color, #737373);
879
+ margin-bottom: 4px;
880
+ }
881
+
882
+ .apirocket-cart-item-col-quantity {
883
+ margin-top: 16px;
884
+ }
885
+
886
+ .apirocket-cart-item-quantity-wrapper {
887
+ display: flex;
888
+ justify-content: space-between;
889
+ border: var(--cart-item-form-border-width, 1px) solid var(--cart-item-form-border-color, #e5e5e5);
890
+ min-width: 160px;
891
+ user-select: none;
892
+ transition-property: border-color;
893
+ transition-timing-function: ease;
894
+ transition-duration: 350ms;
895
+ }
896
+
897
+ .apirocket-cart-item-quantity-wrapper:hover {
898
+ border-color: var(--cart-item-form-border-color-hover, #000);
899
+ }
900
+
901
+ .apirocket-cart-item-quantity-number {
902
+ flex: 1 1 auto;
903
+ font-size: var(--cart-item-form-text-size, 14px);
904
+ font-weight: var(--cart-item-form-text-weight, normal);
905
+ color: var(--cart-item-form-text-color, #000);
906
+ padding: 16px;
907
+ line-height: 1;
908
+ text-align: center;
909
+ }
910
+
911
+ .apirocket-cart-item-quantity-button {
912
+ display: flex;
913
+ align-items: center;
914
+ background-color: var(--cart-item-quantity-icon-background-color, transparent);
915
+ padding: 0px 12px;
916
+ cursor: pointer;
917
+ }
918
+
919
+ .apirocket-cart-item-quantity-button svg {
920
+ color: var(--cart-item-quantity-icon-color, #737373);
921
+ width: var(--cart-item-quantity-icon-size, 16px);
922
+ height: var(--cart-item-quantity-icon-size, 16px);
923
+ }
924
+
925
+ .apirocket-cart-item-col-price {
926
+ margin-top: 36px;
927
+ font-size: var(--cart-item-price-font-size, 16px);
928
+ font-weight: var(--cart-item-price-font-weight, normal);
929
+ color: var(--cart-item-price-font-color, #404040);
930
+ }
931
+
932
+
933
+ @media (min-width: 720px) {
934
+
935
+ .apirocket-cart.apirocket-cart-full-screen {
936
+ width: 100%;
937
+ overflow-y: auto;
938
+ }
939
+
940
+ .apirocket-cart-full-screen .apirocket-cart-content {
941
+ display: block;
942
+ width: 90%;
943
+ max-width: 980px;
944
+ margin: 0 auto;
945
+ }
946
+
947
+ .apirocket-cart-full-screen .apirocket-cart-header {
948
+ background-color: #fff;
949
+ border-bottom: var(--cart-item-border-width, 1px) solid var(--cart-item-border-color, #e5e5e5);
950
+ padding: 40px 0px;
951
+ }
952
+
953
+ .apirocket-cart-full-screen .apirocket-cart-header-continue { display: block; }
954
+ .apirocket-cart-full-screen .apirocket-cart-header-login { display: block; }
955
+ .apirocket-cart-full-screen .apirocket-cart-header-close { display: none; }
956
+
957
+ .apirocket-cart-full-screen .apirocket-cart-footer {
958
+ width: 40%;
959
+ border-top: none;
960
+ margin-left: auto;
961
+ margin-right: 0;
962
+ padding: 0px;
963
+ padding-bottom: 96px;
964
+ }
965
+
966
+ .apirocket-cart-full-screen .apirocket-cart-item {
967
+ display: flex;
968
+ position: relative;
969
+ padding-left: 0;
970
+ padding-right: 0;
971
+ }
972
+
973
+ .apirocket-cart-full-screen .apirocket-cart-item-row:first-child { flex: 1 1 60%; }
974
+ .apirocket-cart-full-screen .apirocket-cart-item-row:last-child { flex: 1 1 40%; }
975
+
976
+ .apirocket-cart-full-screen .apirocket-cart-item:last-child {
977
+ border-bottom: var(--cart-item-border-width, 1px) solid var(--cart-item-border-color, #e5e5e5);
978
+ }
979
+
980
+ .apirocket-cart-full-screen .apirocket-cart-item-col-quantity { margin-top: 0px; }
981
+ .apirocket-cart-full-screen .apirocket-cart-item-col-price {
982
+ align-self: flex-end;
983
+ line-height: 48px;
984
+ }
985
+
986
+ .apirocket-cart-full-screen .apirocket-cart-item-col-image {
987
+ flex: 0 0 var(--cart-item-image-width-fullscreen, 150px);
988
+ }
989
+
990
+ .apirocket-cart-full-screen .apirocket-cart-item-col-description { align-self: flex-start; }
991
+ .apirocket-cart-full-screen .apirocket-cart-item-col-quantity { align-self: flex-end; }
992
+
993
+ .apirocket-cart-full-screen .apirocket-cart-item-col-delete {
994
+ position: absolute;
995
+ right: 0px;
996
+ top: var(--cart-item-padding, 32px);
997
+ }
998
+ }
999
+
1000
+ @media (min-width: 720px) and (max-width: 920px) {
1001
+ .apirocket-cart-full-screen .apirocket-cart-item-row:first-child { flex: 1 1 55%; }
1002
+ .apirocket-cart-full-screen .apirocket-cart-item-row:last-child { flex: 1 1 35%; }
1003
+ }
1004
+
1005
+ /* Mobile version */
1006
+
1007
+ @media (max-width: 720px) {
1008
+ .apirocket-cart {
1009
+ width: 100%;
1010
+ box-shadow: none;
1011
+ }
1012
+ }.apirocket-summary {}
1013
+
1014
+ .apirocket-summary-top {
1015
+ margin-top: 56px;
1016
+ margin-bottom: 32px;
1017
+ }
1018
+
1019
+ .apirocket-summary-header {
1020
+ display: flex;
1021
+ justify-content: flex-start;
1022
+ align-items: center;
1023
+ margin-bottom: 32px;
1024
+ }
1025
+
1026
+ .apirocket-summary-header-icon {
1027
+ flex: 0 1;
1028
+ margin-right: 16px;
1029
+ }
1030
+
1031
+ .apirocket-summary-header-content {}
1032
+
1033
+ .apirocket-summary-header-title {
1034
+ font-size: 24px;
1035
+ font-weight: bold;
1036
+ line-height: 1.2;
1037
+ color: #404040;
1038
+ margin-bottom: 4px;
1039
+ }
1040
+
1041
+ .apirocket-summary-header-subtitle {
1042
+ font-size: 18px;
1043
+ font-weight: normal;
1044
+ line-height: 1.2;
1045
+ color: #737373;
1046
+ }
1047
+
1048
+ .apirocket-summary-section {
1049
+ margin-top: 16px;
1050
+ border: 1px solid #d9d9d9;
1051
+ border-radius: 4px;
1052
+ padding: 24px;
1053
+ }
1054
+
1055
+ .apirocket-summary-section .apirocket-checkout-row { margin-bottom: 32px; }
1056
+ .apirocket-summary-section .apirocket-checkout-row:last-child { margin-bottom: 0px; }
1057
+
1058
+ .apirocket-summary-section-title {
1059
+ font-size: 18px;
1060
+ font-weight: bold;
1061
+ line-height: 1.2;
1062
+ color: #404040;
1063
+ margin-bottom: 24px;
1064
+ }
1065
+
1066
+ .apirocket-summary-section-subtitle {
1067
+ font-size: 16px;
1068
+ font-weight: bold;
1069
+ line-height: 1;
1070
+ color: #404040;
1071
+ margin-bottom: 16px;
1072
+ }
1073
+
1074
+ .apirocket-summary-section-text {
1075
+ font-size: 14px;
1076
+ font-weight: normal;
1077
+ line-height: 18px;
1078
+ color: #404040;
1079
+ }
1080
+
1081
+ .apirocket-summary-help {
1082
+ display: flex;
1083
+ justify-content: flex-start;
1084
+ align-items: center;
1085
+ }
1086
+
1087
+ .apirocket-summary-help-icon {
1088
+ flex: 0 1;
1089
+ padding-right: 12px;
1090
+ }
1091
+
1092
+ .apirocket-summary-help-content {
1093
+ font-size: 14px;
1094
+ font-weight: normal;
1095
+ line-height: 1.2;
1096
+ color: #404040;
1097
+ }
1098
+
1099
+ .apirocket-summary-help-content a {
1100
+ display: block;
1101
+ color: #737373;
1102
+ }
1103
+
1104
+ @media (max-width: 1000px) {
1105
+ .apirocket-summary-top { display: none; }
1106
+ .apirocket-summary-header { margin-top: 32px; }
1107
+ }
1108
+
1109
+ @media (max-width: 720px) {
1110
+ .apirocket-summary-section-subtitle { margin-top: 24px; }
1111
+ .apirocket-summary-header {
1112
+ flex-direction: column;
1113
+ align-items: center;
1114
+ text-align: center;
1115
+ }
1116
+ .apirocket-summary-header-icon {
1117
+ margin-right: 0px;
1118
+ margin-bottom: 16px;
1119
+ }
1120
+ .apirocket-summary-header-title {
1121
+ font-size: 28px;
1122
+ margin-bottom: 8px;
1123
+ }
1124
+ }
1125
+ .apirocket-button {
1126
+ box-sizing: border-box !important;
1127
+ display: block;
1128
+ width: 100%;
1129
+ padding: var(--cart-button-padding-y, 16px) var(--cart-button-padding-x, 16px);
1130
+ margin: 0px;
1131
+ border-radius: var(--cart-button-border-radius, 4px);
1132
+ background-color: var(--cart-button-background-color, transparent);
1133
+ border: 1px solid var(--cart-button-border-color, #e5e5e5);
1134
+ color: var(--cart-button-font-color, #737373);
1135
+ line-height: 1;
1136
+ font-size: var(--cart-button-font-size, 16px);
1137
+ font-weight: var(--cart-button-font-weight, normal);
1138
+ text-align: center;
1139
+ transition-property: color, border-color, background-color, box-shadow;
1140
+ transition-timing-function: ease;
1141
+ transition-duration: 350ms;
1142
+ cursor: pointer;
1143
+ }
1144
+
1145
+ .apirocket-button:hover {
1146
+ background-color: var(--cart-button-background-color-hover, transparent);
1147
+ border-color: var(--cart-button-border-color-hover, #404040);
1148
+ color: var(--cart-button-font-color-hover, #404040);
1149
+ }
1150
+
1151
+ .apirocket-button-link {
1152
+ display: block;
1153
+ text-align: left;
1154
+ justify-content: flex-start;
1155
+ align-items: center;
1156
+ border: none;
1157
+ padding-left: 0;
1158
+ padding-right: 0;
1159
+ width: auto;
1160
+ overflow: hidden;
1161
+ white-space: nowrap;
1162
+ text-overflow: ellipsis;
1163
+ }
1164
+ .apirocket-button-link span {
1165
+ margin-left: 16px;
1166
+ margin-right: 16px;
1167
+ }
1168
+
1169
+ .apirocket-button-primary {
1170
+ background-color: var(--cart-button-primary-background-color, #1d4ed8);
1171
+ border-color: var(--cart-button-primary-border-color, #1d4ed8);
1172
+ color: var(--cart-button-primary-text-color, #fff);
1173
+ }
1174
+
1175
+ .apirocket-button-primary:hover {
1176
+ background-color: var(--cart-button-primary-background-color-hover, #1d4ed8);
1177
+ border-color: var(--cart-button-primary-border-color-hover, #1d4ed8);
1178
+ color: var(--cart-button-primary-text-color-hover, #fff);
1179
+ box-shadow: var(--cart-shadow-button-primary-hover, none);
1180
+ }
1181
+
1182
+
1183
+ @media (max-width: 720px) {
1184
+
1185
+ .apirocket-button-link {
1186
+ width: 100%;
1187
+ text-align: center;
1188
+ }
1189
+
1190
+ }
1191
+
1192
+
1193
+
1194
+ .form-input {
1195
+ display: block;
1196
+ position: relative;
1197
+ margin-bottom: 16px;
1198
+ }
1199
+
1200
+ .form-input input {
1201
+ appearance: none;
1202
+ -moz-appearance: none;
1203
+ -webkit-appearance: none;
1204
+ outline: none;
1205
+ width: 100%;
1206
+ height: 46px;
1207
+ background: #fff;
1208
+ border-radius: 4px;
1209
+ border: 1px solid #D9D9D9;
1210
+ font-size: 14px;
1211
+ line-height: 1;
1212
+ padding-left: 14px;
1213
+ padding-right: 14px;
1214
+ padding-top: 14px;
1215
+ padding-bottom: 14px;
1216
+ transition: all 0.3s ease;
1217
+ box-sizing: border-box;
1218
+ }
1219
+
1220
+ .form-input input:focus {
1221
+ border-color: #404040;
1222
+ box-shadow: 0 0 0 1px #404040;
1223
+ }
1224
+
1225
+ .form-input input:not(:placeholder-shown) {
1226
+ padding-top: 22px;
1227
+ padding-bottom: 6px;
1228
+ }
1229
+
1230
+ .form-input input:disabled { background-color: #f5f5f5; opacity: 0.8; color: #404040; }
1231
+
1232
+ .form-input-placeholder {
1233
+ position: absolute;
1234
+ font-size: 12px;
1235
+ line-height: 1;
1236
+ color: #737373;
1237
+ transform: translateY(50%);
1238
+ opacity: 0;
1239
+ top: 8px;
1240
+ left: 15px;
1241
+ transition: all 0.3s ease;
1242
+ overflow: hidden;
1243
+ white-space: nowrap;
1244
+ text-overflow: ellipsis;
1245
+ }
1246
+
1247
+ .form-input input:not(:placeholder-shown) ~ span.form-input-placeholder {
1248
+ opacity: 1;
1249
+ transform: translateY(0%);
1250
+ }
1251
+
1252
+ .form-input .form-input-error-message {
1253
+ display: none;
1254
+ font-size: 14px;
1255
+ line-height: 1.2;
1256
+ margin-top: 4px;
1257
+ margin-left: 8px;
1258
+ color: #dc2626;
1259
+ }
1260
+
1261
+ .form-input.invalid.touched input {
1262
+ border-color: #dc2626;
1263
+ box-shadow: 0 0 0 1px #dc2626;
1264
+ }
1265
+
1266
+ .form-input.invalid.touched .form-input-placeholder { color: #dc2626; }
1267
+ .form-input.invalid.touched .form-input-error-message { display: block; }
1268
+
1269
+
1270
+
1271
+
1272
+ .form-checkbox {
1273
+ display: flex;
1274
+ align-items: flex-start;
1275
+ justify-content: start;
1276
+ position: relative;
1277
+ margin-bottom: 16px;
1278
+ }
1279
+
1280
+ .form-checkbox-label {
1281
+ flex: 0 1 auto;
1282
+ display: block;
1283
+ font-size: 14px;
1284
+ line-height: 20px;
1285
+ font-weight: normal;
1286
+ color: #404040;
1287
+ cursor: pointer;
1288
+ }
1289
+
1290
+ .form-checkbox-label small {
1291
+ display: block;
1292
+ color: #a3a3a3;
1293
+ font-size: 12px;
1294
+ }
1295
+
1296
+ .form-checkbox input {
1297
+ flex: 0 0 auto;
1298
+ appearance: none;
1299
+ -moz-appearance: none;
1300
+ -webkit-appearance: none;
1301
+ position: relative;
1302
+ box-sizing: border-box;
1303
+ display: inline-block;
1304
+ padding: 0;
1305
+ margin: 0;
1306
+ margin-right: 12px;
1307
+ width: 20px;
1308
+ height: 20px;
1309
+ vertical-align: middle;
1310
+ outline: none;
1311
+ border: 1px solid #d9d9d9;
1312
+ border-radius: 4px;
1313
+ cursor: pointer;
1314
+ transition: all 0.3s ease;
1315
+ overflow: hidden;
1316
+ background-color: #fff;
1317
+ }
1318
+
1319
+ .form-checkbox input:focus {
1320
+ border-color: #404040;
1321
+ box-shadow: 0 0 0 1px #404040;
1322
+ }
1323
+
1324
+ .form-checkbox input:checked {
1325
+ background-color: #404040;
1326
+ border-color: #404040;
1327
+ }
1328
+
1329
+ .form-checkbox input:disabled { background-color: #f5f5f5; }
1330
+ .form-checkbox input:disabled + .form-checkbox-label { color: #a3a3a3; }
1331
+
1332
+ .form-checkbox input::after {
1333
+ display: block;
1334
+ position: absolute;
1335
+ width: 20px;
1336
+ height: 20px;
1337
+ content: "";
1338
+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
1339
+ background-repeat: no-repeat;
1340
+ background-position: -1px -1px;
1341
+ transition: all 0.3s ease;
1342
+ transform: scale(0);
1343
+ }
1344
+
1345
+ .form-checkbox input:checked::after {
1346
+ transform: scale(1);
1347
+ }
1348
+
1349
+ .form-checkbox-error-message {
1350
+ display: none;
1351
+ position: absolute;
1352
+ left: 32px;
1353
+ bottom: -16px;
1354
+ font-size: 14px;
1355
+ line-height: 1.2;
1356
+ color: #dc2626;
1357
+ }
1358
+
1359
+ .form-checkbox.invalid.touched input {
1360
+ border-color: #dc2626;
1361
+ box-shadow: 0 0 0 1px #dc2626;
1362
+ }
1363
+
1364
+ .form-checkbox.invalid.touched .form-checkbox-error-message { display: block; }
1365
+
1366
+
1367
+
1368
+
1369
+ .form-radio {
1370
+ display: flex;
1371
+ align-items: flex-start;
1372
+ justify-content: start;
1373
+ position: relative;
1374
+ margin-bottom: 16px;
1375
+ }
1376
+
1377
+ .form-radio-label {
1378
+ position: relative;
1379
+ flex: 0 1 auto;
1380
+ display: inline-block;
1381
+ font-size: 14px;
1382
+ line-height: 20px;
1383
+ font-weight: normal;
1384
+ color: #404040;
1385
+ cursor: pointer;
1386
+ }
1387
+
1388
+ .form-radio-label small {
1389
+ display: block;
1390
+ color: #a3a3a3;
1391
+ font-size: 12px;
1392
+ }
1393
+
1394
+ .form-radio input:checked ~ .form-radio-label { font-weight: bold; }
1395
+ .form-radio input:checked ~ .form-radio-label small { font-weight: normal; }
1396
+
1397
+ .form-radio input:disabled { background-color: #f5f5f5; }
1398
+ .form-radio input:disabled + .form-radio-label { color: #a3a3a3; }
1399
+
1400
+ .form-radio-label img,
1401
+ .form-radio-label svg {
1402
+ position: absolute;
1403
+ display: inline-block;
1404
+ height: 24px;
1405
+ min-height: 24px;
1406
+ top: -2px;
1407
+ }
1408
+
1409
+ .form-radio input {
1410
+ flex: 0 0 auto;
1411
+ appearance: none;
1412
+ -moz-appearance: none;
1413
+ -webkit-appearance: none;
1414
+ position: relative;
1415
+ box-sizing: border-box;
1416
+ display: inline-block;
1417
+ padding: 0;
1418
+ margin: 0;
1419
+ margin-right: 12px;
1420
+ width: 20px;
1421
+ height: 20px;
1422
+ vertical-align: middle;
1423
+ outline: none;
1424
+ border: 1px solid #d9d9d9;
1425
+ border-radius: 20px;
1426
+ cursor: pointer;
1427
+ transition: all 0.3s ease;
1428
+ overflow: hidden;
1429
+ background-color: #fff;
1430
+ }
1431
+
1432
+ .form-radio input:focus {
1433
+ border-color: #404040;
1434
+ box-shadow: 0 0 0 1px #404040;
1435
+ }
1436
+
1437
+ .form-radio input:checked {
1438
+ background-color: #404040;
1439
+ border-color: #404040;
1440
+ }
1441
+
1442
+ .form-radio input::after {
1443
+ display: block;
1444
+ position: absolute;
1445
+ width: 20px;
1446
+ height: 20px;
1447
+ content: "";
1448
+ background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='3' cy='3' r='3' fill='%23fff'/%3E%3C/svg%3E%0A");
1449
+ background-repeat: no-repeat;
1450
+ background-position: 6px 6px;
1451
+ transition: all 0.4s ease;
1452
+ transform: scale(0);
1453
+ }
1454
+
1455
+ .form-radio input:checked::after {
1456
+ transform: scale(1);
1457
+ }
1458
+
1459
+ .form-radio-error-message {
1460
+ display: none;
1461
+ position: absolute;
1462
+ left: 32px;
1463
+ bottom: -16px;
1464
+ font-size: 14px;
1465
+ line-height: 1.2;
1466
+ color: #dc2626;
1467
+ }
1468
+
1469
+ .form-radio.invalid.touched input {
1470
+ border-color: #dc2626;
1471
+ box-shadow: 0 0 0 1px #dc2626;
1472
+ }
1473
+
1474
+ .form-radio.invalid.touched .form-radio-error-message { display: block; }
1475
+
1476
+
1477
+
1478
+
1479
+ .form-select {
1480
+ display: block;
1481
+ position: relative;
1482
+ margin-bottom: 16px;
1483
+ }
1484
+
1485
+ .form-select select {
1486
+ appearance: none;
1487
+ -moz-appearance: none;
1488
+ -webkit-appearance: none;
1489
+ outline: none;
1490
+ width: 100%;
1491
+ height: 46px;
1492
+ border-radius: 4px;
1493
+ border: 1px solid #D9D9D9;
1494
+ font-size: 14px;
1495
+ line-height: 16px;
1496
+ padding-left: 14px;
1497
+ padding-right: 50px;
1498
+ padding-top: 14px;
1499
+ padding-bottom: 14px;
1500
+ transition: all 0.3s ease;
1501
+ box-sizing: border-box;
1502
+ cursor: pointer;
1503
+ }
1504
+
1505
+ .form-select select:focus {
1506
+ border-color: #404040;
1507
+ box-shadow: 0 0 0 1px #404040;
1508
+ }
1509
+
1510
+ .form-select select:not(:placeholder-shown) {
1511
+ padding-top: 22px;
1512
+ padding-bottom: 6px;
1513
+ }
1514
+
1515
+ .form-select select:disabled { background-color: #f5f5f5; color: #404040; opacity: 0.8; }
1516
+
1517
+ .form-select::before {
1518
+ display: block;
1519
+ position: absolute;
1520
+ top: 8px;
1521
+ right: 0px;
1522
+ width: 40px;
1523
+ height: 30px;
1524
+ content: "";
1525
+ background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.292893 0.292893C0.683416 -0.097631 1.31658 -0.097631 1.7071 0.292893L4.99999 3.58579L8.29288 0.292893C8.6834 -0.0976311 9.31657 -0.0976311 9.70709 0.292893C10.0976 0.683417 10.0976 1.31658 9.70709 1.70711L5.7071 5.70711C5.31657 6.09763 4.68341 6.09763 4.29289 5.70711L0.292893 1.70711C-0.0976309 1.31658 -0.0976309 0.683417 0.292893 0.292893Z' fill='%23A3A3A3'/%3E%3C/svg%3E%0A");
1526
+ background-repeat: no-repeat;
1527
+ background-position: center;
1528
+ border-left: 1px solid #d9d9d9;
1529
+ pointer-events: none;
1530
+ }
1531
+
1532
+ .form-select-placeholder {
1533
+ position: absolute;
1534
+ font-size: 12px;
1535
+ line-height: 1;
1536
+ color: #737373;
1537
+ transform: translateY(50%);
1538
+ opacity: 0;
1539
+ top: 8px;
1540
+ left: 15px;
1541
+ transition: all 0.3s ease;
1542
+ overflow: hidden;
1543
+ white-space: nowrap;
1544
+ text-overflow: ellipsis;
1545
+ }
1546
+
1547
+ .form-select select:not(:placeholder-shown) ~ span.form-select-placeholder {
1548
+ opacity: 1;
1549
+ transform: translateY(0%);
1550
+ }
1551
+
1552
+ .form-select .form-select-error-message {
1553
+ display: none;
1554
+ font-size: 14px;
1555
+ line-height: 1.2;
1556
+ margin-top: 4px;
1557
+ margin-left: 8px;
1558
+ color: #dc2626;
1559
+ }
1560
+
1561
+ .form-select.invalid.touched select {
1562
+ border-color: #dc2626;
1563
+ box-shadow: 0 0 0 1px #dc2626;
1564
+ }
1565
+
1566
+ .form-select.invalid.touched .form-select-placeholder { color: #dc2626; }
1567
+ .form-select.invalid.touched .form-select-error-message { display: block; }
1568
+
1569
+ .apirocket-modal *,
1570
+ .apirocket-modal *::before,
1571
+ .apirocket-modal *::after { box-sizing: border-box; }
1572
+
1573
+ .apirocket-modal {
1574
+ display: flex;
1575
+ justify-content: center;
1576
+ align-items: flex-start;
1577
+ position: fixed;
1578
+ z-index: 10001;
1579
+ right: 0;
1580
+ top: 0;
1581
+ overflow: hidden;
1582
+ overflow-y: auto;
1583
+ width: 100%;
1584
+ height: 100vh;
1585
+ font-family: var(--cart-font-family, "Arial, Helvetica, sans-serif");
1586
+ background-color: #f5f5f5;
1587
+ }
1588
+
1589
+ .apirocket-modal-nav {
1590
+ position: absolute;
1591
+ display: flex;
1592
+ align-items: center;
1593
+ width: 90%;
1594
+ max-width: 1100px;
1595
+ height: 96px;
1596
+ }
1597
+
1598
+ .apirocket-modal-nav > div {
1599
+ display: block;
1600
+ text-align: left;
1601
+ color: #737373;
1602
+ font-size: 16px;
1603
+ font-weight: normal;
1604
+ cursor: pointer;
1605
+ }
1606
+
1607
+ .apirocket-modal-nav > div svg { margin-right: 16px; }
1608
+
1609
+ .apirocket-modal-content {
1610
+ display: flex;
1611
+ flex-flow: column;
1612
+ width: 480px;
1613
+ height: auto;
1614
+ padding: 32px;
1615
+ background-color: #fff;
1616
+ margin-top: 96px;
1617
+ margin-bottom: 32px;
1618
+ }
1619
+
1620
+ .apirocket-modal-header {
1621
+ position: relative;
1622
+ padding-bottom: 32px;
1623
+ }
1624
+
1625
+ .apirocket-modal-title {
1626
+ font-size: 18px;
1627
+ font-weight: bold;
1628
+ line-height: 1;
1629
+ color: #404040;
1630
+ margin-bottom: 8px;
1631
+ }
1632
+
1633
+ .apirocket-modal-subtitle {
1634
+ font-size: 14px;
1635
+ font-weight: normal;
1636
+ line-height: 16px;
1637
+ color: #737373;
1638
+ }
1639
+
1640
+ .apirocket-modal-close {
1641
+ position: absolute;
1642
+ right: -16px;
1643
+ top: -16px;
1644
+ }
1645
+
1646
+ .apirocket-modal-close-icon {
1647
+ height: var(--cart-header-text-close-icon-size, 24px);
1648
+ width: var(--cart-header-text-close-icon-size, 24px);
1649
+ color: var(--cart-header-text-close-icon-color, #a3a3a3);
1650
+ cursor: pointer;
1651
+ }
1652
+
1653
+ .apirocket-modal-body-text-password {
1654
+ color: #404040;
1655
+ font-size: 14px;
1656
+ font-weight: normal;
1657
+ line-height: 16px;
1658
+ margin-top: -8px;text-align: right;
1659
+ cursor: pointer;
1660
+ }
1661
+
1662
+ .apirocket-modal-body-text-password:hover { text-decoration: underline; }
1663
+
1664
+ .apirocket-modal-footer-text {
1665
+ color: #a3a3a3;
1666
+ font-size: 14px;
1667
+ font-weight: normal;
1668
+ line-height: 16px;
1669
+ text-align: center;
1670
+ margin-top: 16px;
1671
+ }
1672
+
1673
+ .apirocket-modal-footer-text span {
1674
+ color: #404040;
1675
+ cursor: pointer;
1676
+ }
1677
+
1678
+ .apirocket-modal-footer-text span:hover { text-decoration: underline; }
1679
+
1680
+
1681
+ .apirocket-modal-body {}
1682
+
1683
+ .apirocket-modal-footer {
1684
+ padding-top: 32px;
1685
+ }
1686
+
1687
+ .apirocket-modal-row {
1688
+ display: flex;
1689
+ justify-content: space-between;
1690
+ align-items: flex-start;
1691
+ }
1692
+
1693
+ .apirocket-modal-row > * {
1694
+ flex: 1 1;
1695
+ margin-right: 16px;
1696
+ }
1697
+
1698
+ .apirocket-modal-row > *:last-child { margin-right: 0; }
1699
+
1700
+
1701
+ @media (max-width: 720px) {
1702
+ .apirocket-modal-row { display: block; }
1703
+ .apirocket-modal-row > * { margin-right: 0; }
1704
+
1705
+ .apirocket-modal-nav { display: none; }
1706
+
1707
+ .apirocket-modal-content {
1708
+ width: 95%;
1709
+ margin-top: 32px;
1710
+ padding: 24px;
1711
+ }
1712
+
1713
+ .apirocket-modal-close {
1714
+ right: -8px;
1715
+ top: -8px;
1716
+ }
217
1717
  }