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