@pradip1995/segment-powerhouse-shop 0.1.1
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.
- package/package.json +40 -0
- package/src/index.ts +2 -0
- package/src/manifest.ts +10 -0
- package/src/product-card.tsx +132 -0
- package/src/segment.tsx +1 -0
- package/src/shop.css +670 -0
- package/src/shop.tsx +537 -0
- package/src/types.ts +41 -0
package/src/shop.css
ADDED
|
@@ -0,0 +1,670 @@
|
|
|
1
|
+
.powerhouse-shop {
|
|
2
|
+
--layout-container-max-width: 1400px;
|
|
3
|
+
max-width: var(--layout-container-max-width);
|
|
4
|
+
margin: 0 auto;
|
|
5
|
+
padding: 0 10px 3rem;
|
|
6
|
+
color: #1d1d1d;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.powerhouse-shop__crumbs {
|
|
10
|
+
margin: 1.25rem 0;
|
|
11
|
+
font-size: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.powerhouse-shop__crumbs a,
|
|
15
|
+
.powerhouse-shop__crumbs span {
|
|
16
|
+
display: inline-block;
|
|
17
|
+
vertical-align: middle;
|
|
18
|
+
font-family: var(--font-sans, inherit);
|
|
19
|
+
font-size: 1rem;
|
|
20
|
+
color: #1d1d1d;
|
|
21
|
+
text-decoration: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.powerhouse-shop__crumb-sep {
|
|
25
|
+
margin: 0 0.5rem;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.powerhouse-shop__banner {
|
|
29
|
+
position: relative;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
min-height: 16.5rem;
|
|
32
|
+
margin-bottom: 1.5rem;
|
|
33
|
+
background: #1b1b1b;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.powerhouse-shop__banner-image {
|
|
37
|
+
position: absolute;
|
|
38
|
+
inset: 0;
|
|
39
|
+
width: 100%;
|
|
40
|
+
height: 100%;
|
|
41
|
+
object-fit: cover;
|
|
42
|
+
object-position: 50% 50%;
|
|
43
|
+
display: block;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.powerhouse-shop__banner-overlay {
|
|
47
|
+
position: absolute;
|
|
48
|
+
inset: 0;
|
|
49
|
+
background: rgba(0, 0, 0, 0.28);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.powerhouse-shop__banner-content {
|
|
53
|
+
position: relative;
|
|
54
|
+
z-index: 1;
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
align-items: center;
|
|
58
|
+
justify-content: center;
|
|
59
|
+
min-height: inherit;
|
|
60
|
+
padding: 2.5rem 1.25rem;
|
|
61
|
+
text-align: center;
|
|
62
|
+
color: #fff;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.powerhouse-shop__banner-content h1 {
|
|
66
|
+
margin: 0;
|
|
67
|
+
font-family: var(--font-heading, Georgia, serif);
|
|
68
|
+
font-size: 1.8rem;
|
|
69
|
+
font-weight: 500;
|
|
70
|
+
line-height: 1.2;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.powerhouse-shop__banner-content p {
|
|
74
|
+
margin: 0.65rem 0 0;
|
|
75
|
+
max-width: 36rem;
|
|
76
|
+
font-family: var(--font-sans, inherit);
|
|
77
|
+
font-size: 0.9375rem;
|
|
78
|
+
font-weight: 400;
|
|
79
|
+
line-height: 1.5;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.powerhouse-shop__layout {
|
|
83
|
+
display: flex;
|
|
84
|
+
flex-direction: column;
|
|
85
|
+
gap: 1.5rem;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.powerhouse-shop__sidebar {
|
|
89
|
+
display: none;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.powerhouse-shop__sidebar-head {
|
|
93
|
+
display: flex;
|
|
94
|
+
align-items: center;
|
|
95
|
+
justify-content: space-between;
|
|
96
|
+
gap: 1rem;
|
|
97
|
+
margin-bottom: 1rem;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.powerhouse-shop__sidebar h2,
|
|
101
|
+
.powerhouse-shop__filter h3 {
|
|
102
|
+
margin: 0;
|
|
103
|
+
font-family: var(--font-sans, inherit);
|
|
104
|
+
font-weight: 700;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.powerhouse-shop__sidebar h2 {
|
|
108
|
+
font-size: 1.25rem;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.powerhouse-shop__filter {
|
|
112
|
+
margin: 0 0 1.5rem;
|
|
113
|
+
padding-bottom: 1.25rem;
|
|
114
|
+
border-bottom: 1px solid #dddddd;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.powerhouse-shop__filter h3 {
|
|
118
|
+
margin-bottom: 0.75rem;
|
|
119
|
+
font-size: 0.9375rem;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.powerhouse-shop__filter ul {
|
|
123
|
+
margin: 0;
|
|
124
|
+
padding: 0;
|
|
125
|
+
list-style: none;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.powerhouse-shop__filter li + li {
|
|
129
|
+
margin-top: 0.45rem;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.powerhouse-shop__filter a {
|
|
133
|
+
display: flex;
|
|
134
|
+
align-items: center;
|
|
135
|
+
gap: 0.55rem;
|
|
136
|
+
color: #1d1d1d;
|
|
137
|
+
font-size: 0.9375rem;
|
|
138
|
+
text-decoration: none;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.powerhouse-shop__check {
|
|
142
|
+
width: 1rem;
|
|
143
|
+
height: 1rem;
|
|
144
|
+
flex-shrink: 0;
|
|
145
|
+
border: 1px solid #1d1d1d;
|
|
146
|
+
background: #fff;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.powerhouse-shop__filter a.is-active .powerhouse-shop__check {
|
|
150
|
+
background: #1d1d1d;
|
|
151
|
+
box-shadow: inset 0 0 0 2px #fff;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.powerhouse-shop__price-form {
|
|
155
|
+
display: grid;
|
|
156
|
+
grid-template-columns: 1fr 1fr;
|
|
157
|
+
gap: 0.5rem;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.powerhouse-shop__price-form label {
|
|
161
|
+
display: flex;
|
|
162
|
+
flex-direction: column;
|
|
163
|
+
gap: 0.3rem;
|
|
164
|
+
font-size: 0.8125rem;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.powerhouse-shop__price-form input,
|
|
168
|
+
.powerhouse-shop__sort select {
|
|
169
|
+
width: 100%;
|
|
170
|
+
padding: 0.6rem 0.7rem;
|
|
171
|
+
border: 1px solid #dddddd;
|
|
172
|
+
background: #fff;
|
|
173
|
+
color: #1d1d1d;
|
|
174
|
+
font-family: var(--font-sans, inherit);
|
|
175
|
+
font-size: 0.9375rem;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.powerhouse-shop__sort select {
|
|
179
|
+
width: auto;
|
|
180
|
+
min-width: 12rem;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.powerhouse-shop__price-form button {
|
|
184
|
+
grid-column: 1 / -1;
|
|
185
|
+
padding: 0.65rem 0.9rem;
|
|
186
|
+
border: 1px solid #1d1d1d;
|
|
187
|
+
background: #1d1d1d;
|
|
188
|
+
color: #fff;
|
|
189
|
+
font-family: var(--font-sans, inherit);
|
|
190
|
+
cursor: pointer;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.powerhouse-shop__close,
|
|
194
|
+
.powerhouse-shop__backdrop {
|
|
195
|
+
display: none;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.powerhouse-shop__masthead h1 {
|
|
199
|
+
margin: 0;
|
|
200
|
+
font-family: var(--font-heading, Georgia, serif);
|
|
201
|
+
font-size: 1.8rem;
|
|
202
|
+
font-weight: 500;
|
|
203
|
+
line-height: 1.2;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.powerhouse-shop__search {
|
|
207
|
+
margin: 0.4rem 0 0;
|
|
208
|
+
color: #4d4d4d;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.powerhouse-shop__utils {
|
|
212
|
+
display: flex;
|
|
213
|
+
align-items: center;
|
|
214
|
+
justify-content: space-between;
|
|
215
|
+
gap: 0.75rem;
|
|
216
|
+
margin: 1rem 0 1.25rem;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.powerhouse-shop__filters-btn,
|
|
220
|
+
.powerhouse-shop__sort {
|
|
221
|
+
display: flex;
|
|
222
|
+
align-items: center;
|
|
223
|
+
gap: 0.5rem;
|
|
224
|
+
font-family: var(--font-sans, inherit);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.powerhouse-shop__filters-btn {
|
|
228
|
+
padding: 0.65rem 0.9rem;
|
|
229
|
+
border: 1px solid #dddddd;
|
|
230
|
+
background: #fff;
|
|
231
|
+
color: #1d1d1d;
|
|
232
|
+
cursor: pointer;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.powerhouse-shop__utils-right {
|
|
236
|
+
display: flex;
|
|
237
|
+
align-items: center;
|
|
238
|
+
justify-content: flex-end;
|
|
239
|
+
flex-wrap: wrap;
|
|
240
|
+
gap: 0.85rem 1.25rem;
|
|
241
|
+
margin-left: auto;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.powerhouse-shop__utils-label {
|
|
245
|
+
font-size: 0.9375rem;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.powerhouse-shop__view {
|
|
249
|
+
display: flex;
|
|
250
|
+
align-items: center;
|
|
251
|
+
gap: 0.35rem;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.powerhouse-shop__view button {
|
|
255
|
+
display: flex;
|
|
256
|
+
align-items: center;
|
|
257
|
+
justify-content: center;
|
|
258
|
+
width: 2.25rem;
|
|
259
|
+
height: 2.25rem;
|
|
260
|
+
padding: 0;
|
|
261
|
+
border: 0;
|
|
262
|
+
background: transparent;
|
|
263
|
+
color: #b3b3b3;
|
|
264
|
+
cursor: pointer;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.powerhouse-shop__view button.is-active,
|
|
268
|
+
.powerhouse-shop__view button:hover {
|
|
269
|
+
color: #1d1d1d;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.powerhouse-shop__active {
|
|
273
|
+
display: flex;
|
|
274
|
+
flex-wrap: wrap;
|
|
275
|
+
align-items: center;
|
|
276
|
+
gap: 0.5rem 0.65rem;
|
|
277
|
+
margin: 0 0 1.25rem;
|
|
278
|
+
padding: 0;
|
|
279
|
+
list-style: none;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.powerhouse-shop__active-item {
|
|
283
|
+
display: inline-flex;
|
|
284
|
+
align-items: center;
|
|
285
|
+
gap: 0.45rem;
|
|
286
|
+
padding: 0.4rem 0.6rem;
|
|
287
|
+
border: 1px solid #dddddd;
|
|
288
|
+
background: #fff;
|
|
289
|
+
color: #1d1d1d;
|
|
290
|
+
font-size: 0.875rem;
|
|
291
|
+
text-decoration: none;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.powerhouse-shop__active-item:hover {
|
|
295
|
+
border-color: #1d1d1d;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.powerhouse-shop__active-x {
|
|
299
|
+
display: inline-flex;
|
|
300
|
+
align-items: center;
|
|
301
|
+
justify-content: center;
|
|
302
|
+
color: #6e6e6e;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.powerhouse-shop__active-item:hover .powerhouse-shop__active-x {
|
|
306
|
+
color: #1d1d1d;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.powerhouse-shop__active-clear a {
|
|
310
|
+
color: #1d1d1d;
|
|
311
|
+
font-size: 0.875rem;
|
|
312
|
+
text-decoration: underline;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.powerhouse-shop__sidebar .powerhouse-shop__active {
|
|
316
|
+
margin-bottom: 1.5rem;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.powerhouse-shop__grid.is-list {
|
|
320
|
+
grid-template-columns: 1fr;
|
|
321
|
+
gap: 0;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.powerhouse-shop__grid.is-list .powerhouse-shop__card {
|
|
325
|
+
display: grid;
|
|
326
|
+
grid-template-columns: 7.5rem minmax(0, 1fr);
|
|
327
|
+
align-items: start;
|
|
328
|
+
gap: 1rem;
|
|
329
|
+
padding: 1.25rem 0;
|
|
330
|
+
border-bottom: 1px solid #dddddd;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.powerhouse-shop__grid.is-list .powerhouse-shop__info {
|
|
334
|
+
padding-top: 0;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.powerhouse-shop__grid.is-list .powerhouse-shop__excerpt,
|
|
338
|
+
.powerhouse-shop__grid.is-list .powerhouse-shop__actions {
|
|
339
|
+
display: flex;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.powerhouse-shop__grid.is-list .powerhouse-shop__excerpt {
|
|
343
|
+
display: block;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.powerhouse-shop__grid.is-list .powerhouse-shop__actions {
|
|
347
|
+
opacity: 1;
|
|
348
|
+
pointer-events: auto;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.powerhouse-shop__grid {
|
|
352
|
+
display: grid;
|
|
353
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
354
|
+
gap: 1.25rem 10px;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.powerhouse-shop__card {
|
|
358
|
+
min-width: 0;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.powerhouse-shop__media {
|
|
362
|
+
position: relative;
|
|
363
|
+
display: block;
|
|
364
|
+
overflow: hidden;
|
|
365
|
+
background: #f3f3f3;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.powerhouse-shop__media img,
|
|
369
|
+
.powerhouse-shop__placeholder {
|
|
370
|
+
display: block;
|
|
371
|
+
width: 100%;
|
|
372
|
+
aspect-ratio: 1;
|
|
373
|
+
object-fit: cover;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.powerhouse-shop__badge,
|
|
377
|
+
.powerhouse-shop__sold {
|
|
378
|
+
position: absolute;
|
|
379
|
+
top: 0.5rem;
|
|
380
|
+
left: 0.5rem;
|
|
381
|
+
padding: 0.2rem 0.45rem;
|
|
382
|
+
font-size: 0.75rem;
|
|
383
|
+
font-weight: 600;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.powerhouse-shop__badge {
|
|
387
|
+
background: #688600;
|
|
388
|
+
color: #fff;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.powerhouse-shop__sold {
|
|
392
|
+
left: auto;
|
|
393
|
+
right: 0.5rem;
|
|
394
|
+
background: #1d1d1d;
|
|
395
|
+
color: #fff;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.powerhouse-shop__info {
|
|
399
|
+
padding-top: 0.75rem;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.powerhouse-shop__name {
|
|
403
|
+
margin: 0;
|
|
404
|
+
font-family: var(--font-sans, inherit);
|
|
405
|
+
font-size: 1rem;
|
|
406
|
+
font-weight: 400;
|
|
407
|
+
line-height: 1.3;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.powerhouse-shop__name a {
|
|
411
|
+
color: inherit;
|
|
412
|
+
text-decoration: none;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.powerhouse-shop__stock {
|
|
416
|
+
margin: 0.35rem 0 0;
|
|
417
|
+
color: #688600;
|
|
418
|
+
font-size: 0.8125rem;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.powerhouse-shop__stock.is-out {
|
|
422
|
+
color: #6e6e6e;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.powerhouse-shop__excerpt {
|
|
426
|
+
display: none;
|
|
427
|
+
margin: 0.5rem 0 0;
|
|
428
|
+
color: #4d4d4d;
|
|
429
|
+
font-size: 0.875rem;
|
|
430
|
+
line-height: 1.45;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.powerhouse-shop__price {
|
|
434
|
+
margin-top: 0.4rem;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.powerhouse-shop__compare {
|
|
438
|
+
display: block;
|
|
439
|
+
color: #949494;
|
|
440
|
+
font-size: 0.875rem;
|
|
441
|
+
text-decoration: line-through;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.powerhouse-shop__current {
|
|
445
|
+
display: block;
|
|
446
|
+
font-family: var(--font-heading, Georgia, serif);
|
|
447
|
+
font-size: 1.25rem;
|
|
448
|
+
font-weight: 500;
|
|
449
|
+
line-height: 1.2;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.powerhouse-shop__card.is-sale .powerhouse-shop__current {
|
|
453
|
+
color: #688600;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.powerhouse-shop__actions {
|
|
457
|
+
display: flex;
|
|
458
|
+
flex-wrap: wrap;
|
|
459
|
+
gap: 0.5rem;
|
|
460
|
+
margin-top: 0.75rem;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.powerhouse-shop__quickshop,
|
|
464
|
+
.powerhouse-shop__atc {
|
|
465
|
+
display: inline-flex;
|
|
466
|
+
align-items: center;
|
|
467
|
+
justify-content: center;
|
|
468
|
+
min-height: 2.5rem;
|
|
469
|
+
padding: 0.5rem 0.85rem;
|
|
470
|
+
border-radius: 2px;
|
|
471
|
+
font-family: var(--font-sans, inherit);
|
|
472
|
+
font-size: 0.8125rem;
|
|
473
|
+
font-weight: 500;
|
|
474
|
+
text-decoration: none;
|
|
475
|
+
cursor: pointer;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.powerhouse-shop__quickshop {
|
|
479
|
+
border: 1px solid #f2f682;
|
|
480
|
+
background: #f1eeae;
|
|
481
|
+
color: #1d1d1d;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.powerhouse-shop__atc {
|
|
485
|
+
border: 1px solid #2c2b2b;
|
|
486
|
+
background: #2c2b2b;
|
|
487
|
+
color: #fff;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.powerhouse-shop__atc:disabled {
|
|
491
|
+
opacity: 0.55;
|
|
492
|
+
cursor: not-allowed;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.powerhouse-shop__empty {
|
|
496
|
+
margin: 2rem 0;
|
|
497
|
+
color: #4d4d4d;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.powerhouse-shop__pages {
|
|
501
|
+
margin-top: 2.5rem;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
.powerhouse-shop__pages ul {
|
|
505
|
+
display: flex;
|
|
506
|
+
flex-wrap: wrap;
|
|
507
|
+
justify-content: center;
|
|
508
|
+
gap: 0.35rem;
|
|
509
|
+
margin: 0;
|
|
510
|
+
padding: 0;
|
|
511
|
+
list-style: none;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
.powerhouse-shop__pages a,
|
|
515
|
+
.powerhouse-shop__pages span {
|
|
516
|
+
display: flex;
|
|
517
|
+
align-items: center;
|
|
518
|
+
justify-content: center;
|
|
519
|
+
min-width: 2.25rem;
|
|
520
|
+
min-height: 2.25rem;
|
|
521
|
+
padding: 0 0.55rem;
|
|
522
|
+
color: #1d1d1d;
|
|
523
|
+
font-size: 0.9375rem;
|
|
524
|
+
text-decoration: none;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.powerhouse-shop__pages .is-active span {
|
|
528
|
+
font-weight: 700;
|
|
529
|
+
text-decoration: underline;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
.powerhouse-shop__pages .is-ellipsis {
|
|
533
|
+
padding: 0.4rem;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
@media screen and (max-width: 859px) {
|
|
537
|
+
.powerhouse-shop.is-filters-open .powerhouse-shop__sidebar,
|
|
538
|
+
.powerhouse-shop__layout.is-filters-open .powerhouse-shop__sidebar {
|
|
539
|
+
display: block;
|
|
540
|
+
position: fixed;
|
|
541
|
+
inset: 0 auto 0 0;
|
|
542
|
+
z-index: 40;
|
|
543
|
+
width: min(22rem, 88vw);
|
|
544
|
+
padding: 1.25rem;
|
|
545
|
+
overflow: auto;
|
|
546
|
+
background: #fff;
|
|
547
|
+
box-shadow: 8px 0 24px rgb(0 0 0 / 12%);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.powerhouse-shop__layout.is-filters-open .powerhouse-shop__close,
|
|
551
|
+
.powerhouse-shop__layout.is-filters-open .powerhouse-shop__backdrop {
|
|
552
|
+
display: block;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
.powerhouse-shop__backdrop {
|
|
556
|
+
position: fixed;
|
|
557
|
+
inset: 0;
|
|
558
|
+
z-index: 30;
|
|
559
|
+
border: 0;
|
|
560
|
+
background: rgb(0 0 0 / 35%);
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.powerhouse-shop__close {
|
|
564
|
+
padding: 0;
|
|
565
|
+
border: 0;
|
|
566
|
+
background: none;
|
|
567
|
+
color: #1d1d1d;
|
|
568
|
+
text-decoration: underline;
|
|
569
|
+
cursor: pointer;
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
@media screen and (min-width: 720px) {
|
|
574
|
+
.powerhouse-shop {
|
|
575
|
+
padding: 0 20px 4rem;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.powerhouse-shop__crumbs {
|
|
579
|
+
margin: 1.75rem 0;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.powerhouse-shop__banner {
|
|
583
|
+
min-height: 18.75rem;
|
|
584
|
+
margin-bottom: 2rem;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
.powerhouse-shop__banner-content h1 {
|
|
588
|
+
font-size: 2.1rem;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.powerhouse-shop__banner-content p {
|
|
592
|
+
font-size: 1rem;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.powerhouse-shop__grid {
|
|
596
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
597
|
+
gap: 1.75rem 20px;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.powerhouse-shop__grid.is-list {
|
|
601
|
+
grid-template-columns: 1fr;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.powerhouse-shop__grid.is-list .powerhouse-shop__card {
|
|
605
|
+
grid-template-columns: 11.5rem minmax(0, 1fr);
|
|
606
|
+
gap: 1.5rem;
|
|
607
|
+
padding: 1.5rem 0;
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
@media screen and (min-width: 860px) {
|
|
612
|
+
.powerhouse-shop__layout {
|
|
613
|
+
flex-direction: row;
|
|
614
|
+
align-items: flex-start;
|
|
615
|
+
gap: 2.5%;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
.powerhouse-shop__sidebar {
|
|
619
|
+
display: block;
|
|
620
|
+
width: 22%;
|
|
621
|
+
flex-shrink: 0;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.powerhouse-shop__sidebar-head .powerhouse-shop__close,
|
|
625
|
+
.powerhouse-shop__filters-btn {
|
|
626
|
+
display: none;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.powerhouse-shop__main {
|
|
630
|
+
width: 75.5%;
|
|
631
|
+
min-width: 0;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.powerhouse-shop__masthead h1 {
|
|
635
|
+
font-size: 2.1rem;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
.powerhouse-shop__banner-content h1 {
|
|
639
|
+
font-size: 2.4rem;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
.powerhouse-shop__utils {
|
|
643
|
+
justify-content: flex-end;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
.powerhouse-shop__grid {
|
|
647
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
.powerhouse-shop__grid.is-list {
|
|
651
|
+
grid-template-columns: 1fr;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.powerhouse-shop__grid.is-list .powerhouse-shop__card {
|
|
655
|
+
grid-template-columns: 14rem minmax(0, 1fr);
|
|
656
|
+
gap: 2rem;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
.powerhouse-shop__actions {
|
|
660
|
+
opacity: 0;
|
|
661
|
+
pointer-events: none;
|
|
662
|
+
transition: opacity 0.2s ease;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
.powerhouse-shop__card:hover .powerhouse-shop__actions,
|
|
666
|
+
.powerhouse-shop__grid.is-list .powerhouse-shop__actions {
|
|
667
|
+
opacity: 1;
|
|
668
|
+
pointer-events: auto;
|
|
669
|
+
}
|
|
670
|
+
}
|