@nuvler/cli 0.5.17 → 0.5.19
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/dist/api/theme-context.js.map +1 -1
- package/dist/commands/theme/create.js +1 -1
- package/dist/nuvler.js +10 -1
- package/dist/nuvler.js.map +1 -1
- package/dist/templates/nuvler-atelier/package.json +2 -2
- package/dist/templates/nuvler-default/README.md +4 -4
- package/dist/templates/nuvler-default/nuvler.theme.json +1 -1
- package/dist/templates/nuvler-default/package.json +2 -2
- package/dist/templates/nuvler-default/src/catalog-filters.tsx +169 -0
- package/dist/templates/nuvler-default/src/interaction-colors.ts +49 -0
- package/dist/templates/nuvler-default/src/kit-composition.ts +15 -0
- package/dist/templates/nuvler-default/src/not-found.tsx +288 -21
- package/dist/templates/nuvler-default/src/product-detail-interactive.tsx +24 -12
- package/dist/templates/nuvler-default/src/server-shell.tsx +21 -3
- package/dist/templates/nuvler-default/src/theme-component.tsx +100 -27
- package/dist/templates/nuvler-default/src/theme.css +599 -210
- package/dist/templates/nuvler-default/src/whatsapp-message.ts +82 -0
- package/dist/templates/nuvler-default/test/catalog-filters.test.mjs +44 -0
- package/dist/templates/nuvler-default/test/interaction-colors.test.mjs +74 -0
- package/dist/templates/nuvler-default/test/kit-composition.test.mjs +28 -0
- package/dist/templates/nuvler-default/test/kit-detail.test.mjs +3 -3
- package/dist/templates/nuvler-default/test/whatsapp-message.test.mjs +126 -0
- package/dist/templates/starter/package.json +2 -2
- package/package.json +3 -3
- package/preview-host/package.json +1 -1
- package/preview-host/vendor/theme-runtime/default-theme.tsx +15 -6
|
@@ -291,299 +291,385 @@ html {
|
|
|
291
291
|
margin-top: 30px;
|
|
292
292
|
}
|
|
293
293
|
|
|
294
|
-
/*
|
|
294
|
+
/*
|
|
295
|
+
* 404 do tema. Dois layouts: genérico (página, blog, serviço, case) e
|
|
296
|
+
* catálogo (produto/categoria, com busca e sugestões). Cores vêm dos tokens
|
|
297
|
+
* da loja; [data-not-found-resource] permite ajustes por tipo.
|
|
298
|
+
*/
|
|
295
299
|
.nuvler-not-found {
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
300
|
+
--nf-ink: var(--store-text);
|
|
301
|
+
--nf-accent: var(--color-primary);
|
|
302
|
+
--nf-cheek: #f9b8c6;
|
|
303
|
+
position: relative;
|
|
304
|
+
isolation: isolate;
|
|
299
305
|
overflow: hidden;
|
|
300
|
-
padding: clamp(44px, 7vw, 88px) 20px;
|
|
301
306
|
background:
|
|
302
307
|
radial-gradient(
|
|
303
|
-
|
|
308
|
+
ellipse at 50% 30%,
|
|
304
309
|
color-mix(in srgb, var(--color-primary), transparent 92%),
|
|
305
|
-
transparent
|
|
306
|
-
),
|
|
307
|
-
radial-gradient(
|
|
308
|
-
circle at 88% 76%,
|
|
309
|
-
color-mix(in srgb, var(--color-secondary), transparent 91%),
|
|
310
|
-
transparent 26%
|
|
310
|
+
transparent 55%
|
|
311
311
|
),
|
|
312
312
|
var(--store-background);
|
|
313
|
+
color: var(--store-text);
|
|
313
314
|
}
|
|
314
315
|
|
|
315
|
-
.nuvler-not-found-
|
|
316
|
-
|
|
317
|
-
width:
|
|
318
|
-
|
|
319
|
-
|
|
316
|
+
.nuvler-not-found-sr {
|
|
317
|
+
position: absolute;
|
|
318
|
+
width: 1px;
|
|
319
|
+
height: 1px;
|
|
320
|
+
overflow: hidden;
|
|
321
|
+
clip: rect(0 0 0 0);
|
|
322
|
+
white-space: nowrap;
|
|
320
323
|
}
|
|
321
324
|
|
|
322
|
-
.
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
filter: drop-shadow(
|
|
329
|
-
0 20px 28px color-mix(in srgb, var(--color-primary), transparent 82%)
|
|
330
|
-
);
|
|
325
|
+
/* Ilustração: nuvem com contorno, rosto e acento (? ou lupa). */
|
|
326
|
+
.nuvler-not-found-illustration {
|
|
327
|
+
display: block;
|
|
328
|
+
width: min(62vw, 240px);
|
|
329
|
+
height: auto;
|
|
330
|
+
overflow: visible;
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
-
.nuvler-not-found-cloud
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
background: linear-gradient(
|
|
339
|
-
145deg,
|
|
340
|
-
var(--store-surface),
|
|
341
|
-
color-mix(in srgb, var(--store-surface-alt), var(--color-primary) 10%)
|
|
342
|
-
);
|
|
343
|
-
box-shadow:
|
|
344
|
-
inset 12px 12px 20px
|
|
345
|
-
color-mix(in srgb, var(--store-surface), transparent 45%),
|
|
346
|
-
inset -12px -12px 22px
|
|
347
|
-
color-mix(in srgb, var(--color-primary), transparent 92%);
|
|
348
|
-
content: "";
|
|
333
|
+
.nuvler-not-found-illustration .nf-cloud {
|
|
334
|
+
fill: var(--store-surface);
|
|
335
|
+
stroke: var(--nf-ink);
|
|
336
|
+
stroke-width: 7;
|
|
337
|
+
stroke-linejoin: round;
|
|
349
338
|
}
|
|
350
339
|
|
|
351
|
-
.nuvler-not-found-
|
|
352
|
-
|
|
353
|
-
right: 5%;
|
|
354
|
-
bottom: 3%;
|
|
355
|
-
left: 5%;
|
|
356
|
-
height: 48%;
|
|
357
|
-
border-radius: 48% 48% 42% 42%;
|
|
340
|
+
.nuvler-not-found-illustration .nf-eye {
|
|
341
|
+
fill: var(--nf-ink);
|
|
358
342
|
}
|
|
359
343
|
|
|
360
|
-
.nuvler-not-found-
|
|
361
|
-
|
|
362
|
-
border-radius: 50%;
|
|
344
|
+
.nuvler-not-found-illustration .nf-eye-shine {
|
|
345
|
+
fill: var(--store-surface);
|
|
363
346
|
}
|
|
364
347
|
|
|
365
|
-
.nuvler-not-found-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
width: 43%;
|
|
369
|
-
aspect-ratio: 1;
|
|
348
|
+
.nuvler-not-found-illustration .nf-cheek {
|
|
349
|
+
fill: var(--nf-cheek);
|
|
350
|
+
opacity: 0.85;
|
|
370
351
|
}
|
|
371
352
|
|
|
372
|
-
.nuvler-not-found-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
width:
|
|
376
|
-
|
|
353
|
+
.nuvler-not-found-illustration .nf-mouth {
|
|
354
|
+
fill: none;
|
|
355
|
+
stroke: var(--nf-ink);
|
|
356
|
+
stroke-width: 5;
|
|
357
|
+
stroke-linecap: round;
|
|
377
358
|
}
|
|
378
359
|
|
|
379
|
-
.nuvler-not-found-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
width:
|
|
383
|
-
|
|
360
|
+
.nuvler-not-found-illustration .nf-accent-stroke {
|
|
361
|
+
fill: none;
|
|
362
|
+
stroke: var(--nf-accent);
|
|
363
|
+
stroke-width: 9;
|
|
364
|
+
stroke-linecap: round;
|
|
365
|
+
stroke-linejoin: round;
|
|
384
366
|
}
|
|
385
367
|
|
|
386
|
-
.nuvler-not-found-
|
|
387
|
-
|
|
388
|
-
bottom: 0;
|
|
389
|
-
width: 30%;
|
|
390
|
-
aspect-ratio: 1;
|
|
368
|
+
.nuvler-not-found-illustration .nf-accent-fill {
|
|
369
|
+
fill: var(--nf-accent);
|
|
391
370
|
}
|
|
392
371
|
|
|
393
|
-
.nuvler-not-found-
|
|
394
|
-
|
|
372
|
+
.nuvler-not-found-illustration .nf-lens {
|
|
373
|
+
fill: color-mix(in srgb, var(--nf-accent), var(--store-surface) 88%);
|
|
374
|
+
stroke: var(--nf-accent);
|
|
375
|
+
stroke-width: 8;
|
|
395
376
|
}
|
|
396
|
-
|
|
397
|
-
|
|
377
|
+
|
|
378
|
+
.nuvler-not-found-illustration .nf-lens-shine {
|
|
379
|
+
fill: none;
|
|
380
|
+
stroke: color-mix(in srgb, var(--nf-accent), var(--store-surface) 45%);
|
|
381
|
+
stroke-width: 4;
|
|
382
|
+
stroke-linecap: round;
|
|
398
383
|
}
|
|
399
384
|
|
|
400
|
-
.nuvler-not-found-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
transform: translateX(-50%);
|
|
385
|
+
.nuvler-not-found-eyebrow {
|
|
386
|
+
display: block;
|
|
387
|
+
color: var(--nf-accent);
|
|
388
|
+
font-size: 13px;
|
|
389
|
+
font-weight: 800;
|
|
390
|
+
letter-spacing: 0.12em;
|
|
391
|
+
text-transform: uppercase;
|
|
408
392
|
}
|
|
409
393
|
|
|
410
|
-
.nuvler-not-found
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
box-shadow: inset -3px -4px 6px
|
|
418
|
-
color-mix(in srgb, var(--color-primary), transparent 60%);
|
|
394
|
+
.nuvler-not-found h1 {
|
|
395
|
+
margin: 10px 0 0;
|
|
396
|
+
color: var(--store-text);
|
|
397
|
+
font-size: clamp(30px, 4.6vw, 50px);
|
|
398
|
+
letter-spacing: -0.04em;
|
|
399
|
+
line-height: 1.06;
|
|
400
|
+
text-wrap: balance;
|
|
419
401
|
}
|
|
420
402
|
|
|
421
|
-
.nuvler-not-found
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
border-radius: 50%;
|
|
428
|
-
background: var(--store-surface);
|
|
429
|
-
content: "";
|
|
403
|
+
.nuvler-not-found p {
|
|
404
|
+
margin: 14px 0 0;
|
|
405
|
+
color: var(--store-muted);
|
|
406
|
+
font-size: clamp(15px, 1.8vw, 17px);
|
|
407
|
+
line-height: 1.6;
|
|
408
|
+
text-wrap: pretty;
|
|
430
409
|
}
|
|
431
410
|
|
|
432
|
-
.nuvler-not-found
|
|
433
|
-
|
|
434
|
-
|
|
411
|
+
.nuvler-not-found .button svg,
|
|
412
|
+
.nuvler-not-found-search svg {
|
|
413
|
+
width: 18px;
|
|
414
|
+
height: 18px;
|
|
415
|
+
flex: none;
|
|
416
|
+
fill: none;
|
|
417
|
+
stroke: currentColor;
|
|
418
|
+
stroke-width: 2;
|
|
419
|
+
stroke-linecap: round;
|
|
420
|
+
stroke-linejoin: round;
|
|
435
421
|
}
|
|
436
422
|
|
|
437
|
-
|
|
438
|
-
|
|
423
|
+
/* Layout genérico */
|
|
424
|
+
.nuvler-not-found-page {
|
|
425
|
+
display: grid;
|
|
426
|
+
place-items: center;
|
|
427
|
+
padding: clamp(40px, 7vw, 88px) 20px clamp(48px, 8vw, 96px);
|
|
439
428
|
}
|
|
440
429
|
|
|
441
|
-
.nuvler-not-found-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
height: 19%;
|
|
447
|
-
transform: translateX(-50%);
|
|
448
|
-
border: 3px solid var(--store-text);
|
|
449
|
-
border-bottom: 0;
|
|
450
|
-
border-radius: 50% 50% 0 0;
|
|
430
|
+
.nuvler-not-found-page .nuvler-not-found-content {
|
|
431
|
+
display: grid;
|
|
432
|
+
width: min(100%, 660px);
|
|
433
|
+
justify-items: center;
|
|
434
|
+
text-align: center;
|
|
451
435
|
}
|
|
452
436
|
|
|
453
|
-
.nuvler-not-found-
|
|
454
|
-
|
|
455
|
-
font-size: clamp(72px, 13vw, 132px);
|
|
456
|
-
font-weight: 950;
|
|
457
|
-
letter-spacing: -0.1em;
|
|
458
|
-
line-height: 0.84;
|
|
437
|
+
.nuvler-not-found-page .nuvler-not-found-illustration {
|
|
438
|
+
margin-bottom: 28px;
|
|
459
439
|
}
|
|
460
440
|
|
|
461
|
-
.nuvler-not-found-
|
|
462
|
-
|
|
463
|
-
color: var(--color-primary);
|
|
464
|
-
font-size: 14px;
|
|
465
|
-
font-weight: 900;
|
|
466
|
-
letter-spacing: 0.12em;
|
|
467
|
-
text-transform: uppercase;
|
|
441
|
+
.nuvler-not-found-page p {
|
|
442
|
+
max-width: 500px;
|
|
468
443
|
}
|
|
469
444
|
|
|
470
|
-
.nuvler-not-found
|
|
471
|
-
|
|
445
|
+
.nuvler-not-found-actions {
|
|
446
|
+
display: flex;
|
|
447
|
+
flex-wrap: wrap;
|
|
448
|
+
justify-content: center;
|
|
449
|
+
gap: 12px;
|
|
450
|
+
margin-top: 28px;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.nuvler-not-found-actions .button {
|
|
454
|
+
gap: 8px;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.nuvler-not-found-ghost {
|
|
458
|
+
border-color: var(--store-line);
|
|
459
|
+
background: var(--store-surface);
|
|
472
460
|
color: var(--store-text);
|
|
473
|
-
font-size: clamp(32px, 5vw, 54px);
|
|
474
|
-
letter-spacing: -0.055em;
|
|
475
|
-
line-height: 1.03;
|
|
476
461
|
}
|
|
477
462
|
|
|
478
|
-
.nuvler-not-found
|
|
479
|
-
|
|
480
|
-
|
|
463
|
+
.nuvler-not-found-ghost:hover {
|
|
464
|
+
border-color: color-mix(in srgb, var(--nf-accent), var(--store-line) 55%);
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.nuvler-not-found-shortcuts {
|
|
468
|
+
display: grid;
|
|
469
|
+
justify-items: center;
|
|
470
|
+
gap: 12px;
|
|
471
|
+
margin-top: 44px;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.nuvler-not-found-shortcuts > span {
|
|
481
475
|
color: var(--store-muted);
|
|
482
|
-
font-size:
|
|
483
|
-
line-height: 1.65;
|
|
476
|
+
font-size: 14px;
|
|
484
477
|
}
|
|
485
478
|
|
|
486
|
-
.nuvler-not-found-
|
|
479
|
+
.nuvler-not-found-shortcuts ul {
|
|
487
480
|
display: flex;
|
|
488
481
|
flex-wrap: wrap;
|
|
489
482
|
justify-content: center;
|
|
490
483
|
gap: 10px;
|
|
491
|
-
margin
|
|
484
|
+
margin: 0;
|
|
485
|
+
padding: 0;
|
|
486
|
+
list-style: none;
|
|
492
487
|
}
|
|
493
488
|
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
min-height:
|
|
497
|
-
align-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
color-mix(in srgb, var(--color-secondary), transparent 91%),
|
|
508
|
-
transparent 42%
|
|
509
|
-
),
|
|
510
|
-
var(--store-background);
|
|
489
|
+
.nuvler-not-found-shortcuts a {
|
|
490
|
+
display: inline-flex;
|
|
491
|
+
min-height: 42px;
|
|
492
|
+
align-items: center;
|
|
493
|
+
border: 1px solid var(--store-line);
|
|
494
|
+
border-radius: 999px;
|
|
495
|
+
background: var(--store-surface);
|
|
496
|
+
padding: 8px 18px;
|
|
497
|
+
font-size: 14px;
|
|
498
|
+
font-weight: 600;
|
|
499
|
+
transition:
|
|
500
|
+
border-color 160ms ease,
|
|
501
|
+
color 160ms ease;
|
|
511
502
|
}
|
|
512
503
|
|
|
513
|
-
.nuvler-not-found-
|
|
514
|
-
color: var(--
|
|
504
|
+
.nuvler-not-found-shortcuts a:hover {
|
|
505
|
+
border-color: var(--nf-accent);
|
|
506
|
+
color: var(--nf-accent);
|
|
515
507
|
}
|
|
516
508
|
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
509
|
+
/* Nuvens decorativas ao fundo */
|
|
510
|
+
.nuvler-not-found-puff {
|
|
511
|
+
position: absolute;
|
|
512
|
+
z-index: -1;
|
|
513
|
+
border-radius: 999px;
|
|
514
|
+
background: var(--store-surface);
|
|
515
|
+
opacity: 0.85;
|
|
516
|
+
pointer-events: none;
|
|
524
517
|
}
|
|
525
518
|
|
|
526
|
-
.nuvler-not-found-
|
|
527
|
-
|
|
519
|
+
.nuvler-not-found-puff.puff-a {
|
|
520
|
+
top: 9%;
|
|
521
|
+
left: 8%;
|
|
522
|
+
width: 140px;
|
|
523
|
+
height: 44px;
|
|
528
524
|
}
|
|
529
525
|
|
|
530
|
-
.nuvler-not-found-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
left: 50%;
|
|
536
|
-
width: 82%;
|
|
537
|
-
height: auto;
|
|
538
|
-
aspect-ratio: 640 / 420;
|
|
539
|
-
transform: translateX(-50%);
|
|
540
|
-
color: var(--color-primary);
|
|
526
|
+
.nuvler-not-found-puff.puff-b {
|
|
527
|
+
top: 24%;
|
|
528
|
+
right: 9%;
|
|
529
|
+
width: 190px;
|
|
530
|
+
height: 56px;
|
|
541
531
|
}
|
|
542
532
|
|
|
543
|
-
.nuvler-not-found-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
color: var(--color-primary);
|
|
550
|
-
font-size: clamp(118px, 23vw, 190px);
|
|
551
|
-
font-weight: 950;
|
|
552
|
-
letter-spacing: -0.13em;
|
|
553
|
-
line-height: 0.66;
|
|
554
|
-
text-align: center;
|
|
533
|
+
.nuvler-not-found-puff.puff-c {
|
|
534
|
+
bottom: 14%;
|
|
535
|
+
left: 14%;
|
|
536
|
+
width: 100px;
|
|
537
|
+
height: 32px;
|
|
538
|
+
opacity: 0.6;
|
|
555
539
|
}
|
|
556
540
|
|
|
557
|
-
|
|
541
|
+
/* Layout de catálogo (produto/categoria) */
|
|
542
|
+
.nuvler-not-found-catalog {
|
|
543
|
+
padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 7vw, 88px);
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.nuvler-not-found-card {
|
|
547
|
+
display: grid;
|
|
548
|
+
grid-template-columns: minmax(180px, 0.75fr) 1.6fr;
|
|
549
|
+
align-items: center;
|
|
550
|
+
gap: clamp(24px, 4vw, 48px);
|
|
551
|
+
border: 1px solid var(--store-line);
|
|
552
|
+
border-radius: max(16px, var(--radius-lg));
|
|
553
|
+
background: var(--store-surface);
|
|
554
|
+
padding: clamp(24px, 4vw, 48px);
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.nuvler-not-found-art {
|
|
558
|
+
display: grid;
|
|
559
|
+
place-items: center;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
.nuvler-not-found-catalog h1 {
|
|
563
|
+
font-size: clamp(28px, 3.6vw, 42px);
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.nuvler-not-found-search {
|
|
567
|
+
display: flex;
|
|
568
|
+
gap: 10px;
|
|
569
|
+
margin-top: 24px;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.nuvler-not-found-search label {
|
|
573
|
+
display: flex;
|
|
574
|
+
min-height: 50px;
|
|
575
|
+
flex: 1;
|
|
576
|
+
align-items: center;
|
|
577
|
+
gap: 10px;
|
|
578
|
+
border: 1px solid var(--store-line);
|
|
579
|
+
border-radius: var(--radius-sm);
|
|
580
|
+
background: var(--store-background);
|
|
581
|
+
padding: 0 14px;
|
|
582
|
+
color: var(--store-muted);
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
.nuvler-not-found-search label:focus-within {
|
|
586
|
+
border-color: var(--nf-accent);
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
.nuvler-not-found-search input {
|
|
590
|
+
width: 100%;
|
|
591
|
+
min-width: 0;
|
|
592
|
+
border: 0;
|
|
593
|
+
outline: 0;
|
|
594
|
+
background: transparent;
|
|
558
595
|
color: var(--store-text);
|
|
559
596
|
}
|
|
560
597
|
|
|
561
|
-
.nuvler-not-found
|
|
598
|
+
.nuvler-not-found-search .button {
|
|
599
|
+
min-height: 50px;
|
|
600
|
+
padding-inline: 22px;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.nuvler-not-found-links {
|
|
604
|
+
display: flex;
|
|
605
|
+
flex-wrap: wrap;
|
|
606
|
+
gap: 8px 20px;
|
|
607
|
+
margin-top: 16px;
|
|
608
|
+
font-size: 14px;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
.nuvler-not-found-links a {
|
|
562
612
|
color: var(--store-muted);
|
|
613
|
+
text-decoration: underline;
|
|
614
|
+
text-underline-offset: 3px;
|
|
563
615
|
}
|
|
564
616
|
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
margin-bottom: -10px;
|
|
569
|
-
}
|
|
617
|
+
.nuvler-not-found-links a.is-primary {
|
|
618
|
+
color: var(--nf-accent);
|
|
619
|
+
font-weight: 700;
|
|
570
620
|
}
|
|
571
621
|
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
622
|
+
.nuvler-not-found-suggestions {
|
|
623
|
+
margin-top: clamp(36px, 5vw, 56px);
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.nuvler-not-found-suggestions header {
|
|
627
|
+
display: flex;
|
|
628
|
+
align-items: baseline;
|
|
629
|
+
justify-content: space-between;
|
|
630
|
+
gap: 16px;
|
|
631
|
+
margin-bottom: 20px;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.nuvler-not-found-suggestions h2 {
|
|
635
|
+
margin: 0;
|
|
636
|
+
font-size: clamp(20px, 2.4vw, 26px);
|
|
637
|
+
letter-spacing: -0.03em;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
.nuvler-not-found-suggestions header a {
|
|
641
|
+
color: var(--nf-accent);
|
|
642
|
+
font-size: 14px;
|
|
643
|
+
font-weight: 700;
|
|
644
|
+
text-decoration: underline;
|
|
645
|
+
text-underline-offset: 3px;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
@media (max-width: 760px) {
|
|
649
|
+
.nuvler-not-found-card {
|
|
650
|
+
grid-template-columns: 1fr;
|
|
651
|
+
text-align: center;
|
|
576
652
|
}
|
|
577
653
|
|
|
578
|
-
.nuvler-not-found-
|
|
579
|
-
width: min(
|
|
580
|
-
height: min(61vw, 218px);
|
|
654
|
+
.nuvler-not-found-art .nuvler-not-found-illustration {
|
|
655
|
+
width: min(56vw, 200px);
|
|
581
656
|
}
|
|
582
657
|
|
|
583
|
-
.nuvler-not-found-
|
|
584
|
-
|
|
658
|
+
.nuvler-not-found-links {
|
|
659
|
+
justify-content: center;
|
|
585
660
|
}
|
|
586
661
|
|
|
662
|
+
.nuvler-not-found-puff {
|
|
663
|
+
display: none;
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
@media (max-width: 520px) {
|
|
668
|
+
.nuvler-not-found-search {
|
|
669
|
+
flex-direction: column;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
.nuvler-not-found-actions,
|
|
587
673
|
.nuvler-not-found-actions .button {
|
|
588
674
|
width: 100%;
|
|
589
675
|
}
|
|
@@ -3600,7 +3686,13 @@ a.mini-banner-card:focus-visible {
|
|
|
3600
3686
|
.catalog-filters {
|
|
3601
3687
|
position: sticky;
|
|
3602
3688
|
top: 146px;
|
|
3603
|
-
|
|
3689
|
+
box-sizing: border-box;
|
|
3690
|
+
max-height: calc(100vh - 162px);
|
|
3691
|
+
max-height: calc(100dvh - 162px);
|
|
3692
|
+
overflow-x: hidden;
|
|
3693
|
+
overflow-y: auto;
|
|
3694
|
+
overscroll-behavior-y: contain;
|
|
3695
|
+
scrollbar-gutter: stable;
|
|
3604
3696
|
align-items: stretch;
|
|
3605
3697
|
align-self: start;
|
|
3606
3698
|
gap: 0;
|
|
@@ -3863,6 +3955,7 @@ a.mini-banner-card:focus-visible {
|
|
|
3863
3955
|
.product-main-image {
|
|
3864
3956
|
position: relative;
|
|
3865
3957
|
overflow: hidden;
|
|
3958
|
+
aspect-ratio: auto;
|
|
3866
3959
|
border: 1px solid var(--store-line);
|
|
3867
3960
|
border-radius: var(--border-radius);
|
|
3868
3961
|
background: var(--store-surface);
|
|
@@ -5417,7 +5510,10 @@ a.mini-banner-card:focus-visible {
|
|
|
5417
5510
|
|
|
5418
5511
|
.catalog-filters {
|
|
5419
5512
|
position: static;
|
|
5513
|
+
max-height: none;
|
|
5420
5514
|
overflow: visible;
|
|
5515
|
+
overscroll-behavior-y: auto;
|
|
5516
|
+
scrollbar-gutter: auto;
|
|
5421
5517
|
align-items: stretch;
|
|
5422
5518
|
flex-direction: column;
|
|
5423
5519
|
padding: 16px;
|
|
@@ -6117,3 +6213,296 @@ summary.kit-group-header:hover {
|
|
|
6117
6213
|
gap: 4px;
|
|
6118
6214
|
}
|
|
6119
6215
|
}
|
|
6216
|
+
|
|
6217
|
+
/* Optional per-store search and cart colors. */
|
|
6218
|
+
.header-search input {
|
|
6219
|
+
background: var(--search-background, var(--store-surface));
|
|
6220
|
+
color: var(--search-text, var(--store-text));
|
|
6221
|
+
border-color: var(--search-border, var(--store-line));
|
|
6222
|
+
}
|
|
6223
|
+
.header-search input::placeholder {
|
|
6224
|
+
color: var(--search-muted, var(--store-muted));
|
|
6225
|
+
opacity: 1;
|
|
6226
|
+
}
|
|
6227
|
+
.header-search-toggle {
|
|
6228
|
+
background: var(--search-toggle-background, transparent);
|
|
6229
|
+
color: var(--search-toggle-text, var(--store-header-text));
|
|
6230
|
+
}
|
|
6231
|
+
.header-search-toggle:hover {
|
|
6232
|
+
background: var(--search-toggle-hover, var(--store-surface-alt));
|
|
6233
|
+
}
|
|
6234
|
+
.header-search button[type="submit"] {
|
|
6235
|
+
background: var(--search-button-background, var(--color-secondary));
|
|
6236
|
+
color: var(--search-button-text, #fff);
|
|
6237
|
+
}
|
|
6238
|
+
.header-search button[type="submit"]:hover {
|
|
6239
|
+
background: var(--search-toggle-hover, var(--store-surface-alt));
|
|
6240
|
+
}
|
|
6241
|
+
.header-search .header-search-close {
|
|
6242
|
+
background: transparent;
|
|
6243
|
+
color: var(--search-text, var(--store-text));
|
|
6244
|
+
}
|
|
6245
|
+
.header-search .header-search-close:hover {
|
|
6246
|
+
background: var(--search-hover, var(--store-surface-alt));
|
|
6247
|
+
}
|
|
6248
|
+
.header-search-toggle:focus-visible,
|
|
6249
|
+
.header-search button:focus-visible {
|
|
6250
|
+
outline: 2px solid currentColor;
|
|
6251
|
+
outline-offset: 2px;
|
|
6252
|
+
}
|
|
6253
|
+
.search-suggestions {
|
|
6254
|
+
--store-surface-alt: var(--search-hover);
|
|
6255
|
+
--store-surface: var(--search-background);
|
|
6256
|
+
--store-text: var(--search-text);
|
|
6257
|
+
--store-muted: var(--search-muted);
|
|
6258
|
+
--store-line: var(--search-border);
|
|
6259
|
+
color: var(--store-text);
|
|
6260
|
+
}
|
|
6261
|
+
.cart-button {
|
|
6262
|
+
background: var(--cart-button-background, var(--store-surface));
|
|
6263
|
+
color: var(--cart-button-text, var(--store-text));
|
|
6264
|
+
}
|
|
6265
|
+
.cart-button span {
|
|
6266
|
+
border-color: var(--cart-button-background, var(--store-surface));
|
|
6267
|
+
}
|
|
6268
|
+
.cart-drawer {
|
|
6269
|
+
--store-surface: var(--cart-background);
|
|
6270
|
+
--store-text: var(--cart-text);
|
|
6271
|
+
--store-muted: var(--cart-muted);
|
|
6272
|
+
--store-line: var(--cart-border);
|
|
6273
|
+
color: var(--store-text);
|
|
6274
|
+
}
|
|
6275
|
+
.cart-heading button {
|
|
6276
|
+
background: var(--cart-close-background, var(--store-background));
|
|
6277
|
+
}
|
|
6278
|
+
|
|
6279
|
+
.cart-quantity button {
|
|
6280
|
+
color: var(--cart-text, var(--store-text));
|
|
6281
|
+
}
|
|
6282
|
+
|
|
6283
|
+
/* The desktop sidebar and mobile dialog share one set of filter inputs. */
|
|
6284
|
+
.catalog-filter-container {
|
|
6285
|
+
display: contents;
|
|
6286
|
+
}
|
|
6287
|
+
.catalog-mobile-toolbar,
|
|
6288
|
+
.catalog-filter-mobile-heading,
|
|
6289
|
+
.catalog-filter-mobile-actions,
|
|
6290
|
+
.catalog-filter-backdrop {
|
|
6291
|
+
display: none;
|
|
6292
|
+
}
|
|
6293
|
+
.catalog-filter-body {
|
|
6294
|
+
width: 100%;
|
|
6295
|
+
min-height: 0;
|
|
6296
|
+
}
|
|
6297
|
+
@media (max-width: 800px) {
|
|
6298
|
+
.catalog-page .catalog-hero {
|
|
6299
|
+
padding: 24px 0;
|
|
6300
|
+
}
|
|
6301
|
+
.catalog-page .catalog-hero h1 {
|
|
6302
|
+
font-size: clamp(24px, 6vw, 32px);
|
|
6303
|
+
margin: 8px 0 0;
|
|
6304
|
+
line-height: 1.2;
|
|
6305
|
+
}
|
|
6306
|
+
.catalog-page .catalog-hero p {
|
|
6307
|
+
margin-top: 8px;
|
|
6308
|
+
font-size: 13px;
|
|
6309
|
+
}
|
|
6310
|
+
.catalog-page .catalog-layout {
|
|
6311
|
+
padding-top: 20px;
|
|
6312
|
+
padding-bottom: 36px;
|
|
6313
|
+
gap: 16px;
|
|
6314
|
+
}
|
|
6315
|
+
.catalog-filter-container {
|
|
6316
|
+
display: block;
|
|
6317
|
+
min-width: 0;
|
|
6318
|
+
}
|
|
6319
|
+
.catalog-mobile-toolbar {
|
|
6320
|
+
display: flex;
|
|
6321
|
+
align-items: center;
|
|
6322
|
+
justify-content: space-between;
|
|
6323
|
+
gap: 12px;
|
|
6324
|
+
font-size: 13px;
|
|
6325
|
+
color: var(--store-muted);
|
|
6326
|
+
}
|
|
6327
|
+
.catalog-mobile-toolbar > button {
|
|
6328
|
+
display: flex;
|
|
6329
|
+
align-items: center;
|
|
6330
|
+
gap: 8px;
|
|
6331
|
+
min-height: 44px;
|
|
6332
|
+
padding: 8px 14px;
|
|
6333
|
+
border: 1px solid var(--store-line);
|
|
6334
|
+
border-radius: 10px;
|
|
6335
|
+
background: var(--store-surface);
|
|
6336
|
+
color: var(--store-text);
|
|
6337
|
+
font: inherit;
|
|
6338
|
+
font-weight: 700;
|
|
6339
|
+
cursor: pointer;
|
|
6340
|
+
}
|
|
6341
|
+
.catalog-mobile-toolbar svg {
|
|
6342
|
+
width: 18px;
|
|
6343
|
+
height: 18px;
|
|
6344
|
+
fill: none;
|
|
6345
|
+
stroke: currentColor;
|
|
6346
|
+
stroke-width: 1.8;
|
|
6347
|
+
stroke-linecap: round;
|
|
6348
|
+
}
|
|
6349
|
+
.catalog-filter-count {
|
|
6350
|
+
display: grid;
|
|
6351
|
+
place-items: center;
|
|
6352
|
+
min-width: 22px;
|
|
6353
|
+
height: 22px;
|
|
6354
|
+
border-radius: 999px;
|
|
6355
|
+
background: var(--color-primary);
|
|
6356
|
+
color: var(--color-primary-text);
|
|
6357
|
+
font-size: 11px;
|
|
6358
|
+
}
|
|
6359
|
+
.catalog-filter-container > .catalog-filters {
|
|
6360
|
+
display: none;
|
|
6361
|
+
}
|
|
6362
|
+
.catalog-filter-container[data-filters-open] > .catalog-filters {
|
|
6363
|
+
display: flex;
|
|
6364
|
+
position: fixed;
|
|
6365
|
+
inset: 0 0 0 auto;
|
|
6366
|
+
z-index: 220;
|
|
6367
|
+
width: min(420px, 100%);
|
|
6368
|
+
height: 100dvh;
|
|
6369
|
+
max-height: 100dvh;
|
|
6370
|
+
margin: 0;
|
|
6371
|
+
padding: 0;
|
|
6372
|
+
border: 0;
|
|
6373
|
+
border-radius: 0;
|
|
6374
|
+
overflow: hidden;
|
|
6375
|
+
background: var(--store-surface);
|
|
6376
|
+
color: var(--store-text);
|
|
6377
|
+
}
|
|
6378
|
+
.catalog-filter-backdrop {
|
|
6379
|
+
display: block;
|
|
6380
|
+
position: fixed;
|
|
6381
|
+
inset: 0;
|
|
6382
|
+
z-index: 210;
|
|
6383
|
+
background: rgb(0 0 0 / 45%);
|
|
6384
|
+
}
|
|
6385
|
+
.catalog-filter-mobile-heading {
|
|
6386
|
+
display: flex;
|
|
6387
|
+
align-items: center;
|
|
6388
|
+
justify-content: space-between;
|
|
6389
|
+
flex-shrink: 0;
|
|
6390
|
+
gap: 16px;
|
|
6391
|
+
padding: max(16px, env(safe-area-inset-top)) 16px 16px;
|
|
6392
|
+
border-bottom: 1px solid var(--store-line);
|
|
6393
|
+
}
|
|
6394
|
+
.catalog-filter-mobile-heading strong {
|
|
6395
|
+
margin: 0;
|
|
6396
|
+
font-size: 17px;
|
|
6397
|
+
}
|
|
6398
|
+
.catalog-filter-mobile-heading button {
|
|
6399
|
+
width: 44px;
|
|
6400
|
+
height: 44px;
|
|
6401
|
+
border: 0;
|
|
6402
|
+
border-radius: 10px;
|
|
6403
|
+
background: var(--store-surface-alt);
|
|
6404
|
+
color: var(--store-text);
|
|
6405
|
+
font-size: 26px;
|
|
6406
|
+
cursor: pointer;
|
|
6407
|
+
}
|
|
6408
|
+
.catalog-filter-body {
|
|
6409
|
+
flex: 1;
|
|
6410
|
+
overflow-y: auto;
|
|
6411
|
+
overscroll-behavior-y: contain;
|
|
6412
|
+
padding: 18px 16px;
|
|
6413
|
+
}
|
|
6414
|
+
.catalog-filter-mobile-actions {
|
|
6415
|
+
display: flex;
|
|
6416
|
+
align-items: center;
|
|
6417
|
+
gap: 12px;
|
|
6418
|
+
flex-shrink: 0;
|
|
6419
|
+
padding: 14px 16px max(14px, env(safe-area-inset-bottom));
|
|
6420
|
+
border-top: 1px solid var(--store-line);
|
|
6421
|
+
}
|
|
6422
|
+
.catalog-filter-mobile-actions > a {
|
|
6423
|
+
width: auto;
|
|
6424
|
+
flex: 0 0 auto;
|
|
6425
|
+
padding: 12px;
|
|
6426
|
+
color: var(--store-text);
|
|
6427
|
+
text-decoration: underline;
|
|
6428
|
+
}
|
|
6429
|
+
.catalog-filter-mobile-actions > button {
|
|
6430
|
+
flex: 1;
|
|
6431
|
+
min-height: 44px;
|
|
6432
|
+
}
|
|
6433
|
+
.catalog-filter-body .catalog-variant-filters > button {
|
|
6434
|
+
display: none;
|
|
6435
|
+
}
|
|
6436
|
+
.catalog-results > .catalog-toolbar {
|
|
6437
|
+
display: none;
|
|
6438
|
+
}
|
|
6439
|
+
.catalog-page .catalog-results .product-grid,
|
|
6440
|
+
.catalog-page .catalog-results .product-grid[data-columns] {
|
|
6441
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
6442
|
+
gap: 10px;
|
|
6443
|
+
}
|
|
6444
|
+
.catalog-page .product-card {
|
|
6445
|
+
min-width: 0;
|
|
6446
|
+
}
|
|
6447
|
+
.catalog-page .product-card-image {
|
|
6448
|
+
aspect-ratio: 1;
|
|
6449
|
+
}
|
|
6450
|
+
.catalog-page .product-card-content {
|
|
6451
|
+
padding: 10px;
|
|
6452
|
+
gap: 6px;
|
|
6453
|
+
}
|
|
6454
|
+
.catalog-page .product-card h3 {
|
|
6455
|
+
display: -webkit-box;
|
|
6456
|
+
-webkit-box-orient: vertical;
|
|
6457
|
+
-webkit-line-clamp: 2;
|
|
6458
|
+
overflow: hidden;
|
|
6459
|
+
min-height: 2.7em;
|
|
6460
|
+
margin: 0;
|
|
6461
|
+
font-size: 13px;
|
|
6462
|
+
line-height: 1.35;
|
|
6463
|
+
}
|
|
6464
|
+
.catalog-page .product-card-description,
|
|
6465
|
+
.catalog-page .product-card-sku {
|
|
6466
|
+
display: none;
|
|
6467
|
+
}
|
|
6468
|
+
.catalog-page .product-card-price {
|
|
6469
|
+
margin-top: auto;
|
|
6470
|
+
}
|
|
6471
|
+
.catalog-page .product-card-price strong {
|
|
6472
|
+
font-size: 16px;
|
|
6473
|
+
}
|
|
6474
|
+
.catalog-page .product-card-price > span {
|
|
6475
|
+
font-size: 11px;
|
|
6476
|
+
}
|
|
6477
|
+
.catalog-page .product-card-content > .product-card-action {
|
|
6478
|
+
min-height: 40px;
|
|
6479
|
+
margin-top: 4px !important;
|
|
6480
|
+
padding: 8px 5px;
|
|
6481
|
+
font-size: 11px;
|
|
6482
|
+
line-height: 1.3;
|
|
6483
|
+
text-align: center;
|
|
6484
|
+
}
|
|
6485
|
+
.catalog-page .product-card-badge,
|
|
6486
|
+
.catalog-page .product-card-stock {
|
|
6487
|
+
padding: 4px 6px;
|
|
6488
|
+
font-size: 9px;
|
|
6489
|
+
}
|
|
6490
|
+
.catalog-page .catalog-pagination {
|
|
6491
|
+
flex-wrap: wrap;
|
|
6492
|
+
gap: 10px;
|
|
6493
|
+
}
|
|
6494
|
+
.catalog-page .catalog-pagination > a {
|
|
6495
|
+
min-height: 44px;
|
|
6496
|
+
}
|
|
6497
|
+
}
|
|
6498
|
+
|
|
6499
|
+
.mobile-menu-trigger {
|
|
6500
|
+
color: var(--mobile-menu-text, var(--store-header-text));
|
|
6501
|
+
}
|
|
6502
|
+
.mobile-menu-trigger:hover {
|
|
6503
|
+
background: var(--mobile-menu-hover, transparent);
|
|
6504
|
+
}
|
|
6505
|
+
.mobile-menu-trigger:focus-visible {
|
|
6506
|
+
outline: 2px solid currentColor;
|
|
6507
|
+
outline-offset: 2px;
|
|
6508
|
+
}
|