@tansy/theme-storefront 0.1.0 → 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/theme.css CHANGED
@@ -49,6 +49,9 @@
49
49
  }
50
50
  }
51
51
  @layer utilities {
52
+ .sf\:pointer-events-none {
53
+ pointer-events: none;
54
+ }
52
55
  .sf\:sr-only {
53
56
  position: absolute;
54
57
  width: 1px;
@@ -63,12 +66,18 @@
63
66
  .sf\:absolute {
64
67
  position: absolute;
65
68
  }
69
+ .sf\:fixed {
70
+ position: fixed;
71
+ }
66
72
  .sf\:relative {
67
73
  position: relative;
68
74
  }
69
75
  .sf\:sticky {
70
76
  position: sticky;
71
77
  }
78
+ .sf\:inset-0 {
79
+ inset: 0px;
80
+ }
72
81
  .sf\:inset-\[6\%\] {
73
82
  inset: 6%;
74
83
  }
@@ -78,9 +87,6 @@
78
87
  .sf\:inset-x-\[12\%\] {
79
88
  inset-inline: 12%;
80
89
  }
81
- .sf\:inset-x-gutter {
82
- inset-inline: var(--site-space-gutter);
83
- }
84
90
  .sf\:start-0 {
85
91
  inset-inline-start: calc(var(--sf-spacing) * 0);
86
92
  }
@@ -90,12 +96,21 @@
90
96
  .sf\:end-0 {
91
97
  inset-inline-end: calc(var(--sf-spacing) * 0);
92
98
  }
99
+ .sf\:end-4 {
100
+ inset-inline-end: calc(var(--sf-spacing) * 4);
101
+ }
102
+ .sf\:end-5 {
103
+ inset-inline-end: calc(var(--sf-spacing) * 5);
104
+ }
93
105
  .sf\:top-0 {
94
106
  top: 0px;
95
107
  }
96
108
  .sf\:top-1\/2 {
97
109
  top: calc(1 / 2 * 100%);
98
110
  }
111
+ .sf\:top-4 {
112
+ top: calc(var(--sf-spacing) * 4);
113
+ }
99
114
  .sf\:top-5 {
100
115
  top: calc(var(--sf-spacing) * 5);
101
116
  }
@@ -111,6 +126,12 @@
111
126
  .sf\:top-full {
112
127
  top: 100%;
113
128
  }
129
+ .sf\:bottom-0 {
130
+ bottom: 0px;
131
+ }
132
+ .sf\:bottom-5 {
133
+ bottom: calc(var(--sf-spacing) * 5);
134
+ }
114
135
  .sf\:bottom-6 {
115
136
  bottom: calc(var(--sf-spacing) * 6);
116
137
  }
@@ -138,6 +159,12 @@
138
159
  .sf\:z-40 {
139
160
  z-index: 40;
140
161
  }
162
+ .sf\:z-50 {
163
+ z-index: 50;
164
+ }
165
+ .sf\:z-\[60\] {
166
+ z-index: 60;
167
+ }
141
168
  .sf\:-mx-gutter {
142
169
  margin-inline: calc(var(--site-space-gutter) * -1);
143
170
  }
@@ -162,6 +189,9 @@
162
189
  .sf\:mt-24 {
163
190
  margin-top: calc(var(--sf-spacing) * 24);
164
191
  }
192
+ .sf\:mt-auto {
193
+ margin-top: auto;
194
+ }
165
195
  .sf\:mb-1\.5 {
166
196
  margin-bottom: calc(var(--sf-spacing) * 1.5);
167
197
  }
@@ -177,6 +207,9 @@
177
207
  .sf\:mb-10 {
178
208
  margin-bottom: calc(var(--sf-spacing) * 10);
179
209
  }
210
+ .sf\:mb-16 {
211
+ margin-bottom: calc(var(--sf-spacing) * 16);
212
+ }
180
213
  .sf\:line-clamp-1 {
181
214
  overflow: hidden;
182
215
  display: -webkit-box;
@@ -212,6 +245,10 @@
212
245
  width: calc(var(--sf-spacing) * 5);
213
246
  height: calc(var(--sf-spacing) * 5);
214
247
  }
248
+ .sf\:size-6 {
249
+ width: calc(var(--sf-spacing) * 6);
250
+ height: calc(var(--sf-spacing) * 6);
251
+ }
215
252
  .sf\:size-8 {
216
253
  width: calc(var(--sf-spacing) * 8);
217
254
  height: calc(var(--sf-spacing) * 8);
@@ -263,6 +300,9 @@
263
300
  .sf\:h-1 {
264
301
  height: var(--sf-spacing);
265
302
  }
303
+ .sf\:h-1\.5 {
304
+ height: calc(var(--sf-spacing) * 1.5);
305
+ }
266
306
  .sf\:h-10 {
267
307
  height: calc(var(--sf-spacing) * 10);
268
308
  }
@@ -272,8 +312,8 @@
272
312
  .sf\:h-14 {
273
313
  height: calc(var(--sf-spacing) * 14);
274
314
  }
275
- .sf\:h-20 {
276
- height: calc(var(--sf-spacing) * 20);
315
+ .sf\:h-16 {
316
+ height: calc(var(--sf-spacing) * 16);
277
317
  }
278
318
  .sf\:h-\[24\%\] {
279
319
  height: 24%;
@@ -284,8 +324,20 @@
284
324
  .sf\:h-full {
285
325
  height: 100%;
286
326
  }
287
- .sf\:min-h-screen {
288
- min-height: 100vh;
327
+ .sf\:max-h-\[70dvh\] {
328
+ max-height: 70dvh;
329
+ }
330
+ .sf\:max-h-\[88dvh\] {
331
+ max-height: 88dvh;
332
+ }
333
+ .sf\:min-h-dvh {
334
+ min-height: 100dvh;
335
+ }
336
+ .sf\:w-1\.5 {
337
+ width: calc(var(--sf-spacing) * 1.5);
338
+ }
339
+ .sf\:w-5 {
340
+ width: calc(var(--sf-spacing) * 5);
289
341
  }
290
342
  .sf\:w-10 {
291
343
  width: calc(var(--sf-spacing) * 10);
@@ -323,6 +375,9 @@
323
375
  .sf\:max-w-\[34rem\] {
324
376
  max-width: 34rem;
325
377
  }
378
+ .sf\:max-w-\[min\(92vw\,56rem\)\] {
379
+ max-width: min(92vw, 56rem);
380
+ }
326
381
  .sf\:max-w-lg {
327
382
  max-width: var(--sf-container-lg);
328
383
  }
@@ -353,6 +408,9 @@
353
408
  .sf\:shrink-0 {
354
409
  flex-shrink: 0;
355
410
  }
411
+ .sf\:basis-full {
412
+ flex-basis: 100%;
413
+ }
356
414
  .sf\:-translate-1\/2 {
357
415
  --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
358
416
  --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
@@ -368,6 +426,27 @@
368
426
  .sf\:cursor-pointer {
369
427
  cursor: pointer;
370
428
  }
429
+ .sf\:cursor-zoom-in {
430
+ cursor: zoom-in;
431
+ }
432
+ .sf\:cursor-zoom-out {
433
+ cursor: zoom-out;
434
+ }
435
+ .sf\:snap-x {
436
+ scroll-snap-type: x var(--tw-scroll-snap-strictness);
437
+ }
438
+ .sf\:snap-mandatory {
439
+ --tw-scroll-snap-strictness: mandatory;
440
+ }
441
+ .sf\:snap-center {
442
+ scroll-snap-align: center;
443
+ }
444
+ .sf\:snap-always {
445
+ scroll-snap-stop: always;
446
+ }
447
+ .sf\:scroll-mt-24 {
448
+ scroll-margin-top: calc(var(--sf-spacing) * 24);
449
+ }
371
450
  .sf\:\[appearance\:textfield\] {
372
451
  appearance: textfield;
373
452
  }
@@ -395,6 +474,9 @@
395
474
  .sf\:items-start {
396
475
  align-items: flex-start;
397
476
  }
477
+ .sf\:items-stretch {
478
+ align-items: stretch;
479
+ }
398
480
  .sf\:justify-between {
399
481
  justify-content: space-between;
400
482
  }
@@ -419,6 +501,9 @@
419
501
  .sf\:gap-4 {
420
502
  gap: calc(var(--sf-spacing) * 4);
421
503
  }
504
+ .sf\:gap-5 {
505
+ gap: calc(var(--sf-spacing) * 5);
506
+ }
422
507
  .sf\:gap-6 {
423
508
  gap: calc(var(--sf-spacing) * 6);
424
509
  }
@@ -431,9 +516,18 @@
431
516
  .sf\:gap-10 {
432
517
  gap: calc(var(--sf-spacing) * 10);
433
518
  }
519
+ .sf\:gap-x-2 {
520
+ column-gap: calc(var(--sf-spacing) * 2);
521
+ }
522
+ .sf\:gap-x-3 {
523
+ column-gap: calc(var(--sf-spacing) * 3);
524
+ }
434
525
  .sf\:gap-x-4 {
435
526
  column-gap: calc(var(--sf-spacing) * 4);
436
527
  }
528
+ .sf\:gap-y-1 {
529
+ row-gap: var(--sf-spacing);
530
+ }
437
531
  .sf\:gap-y-2 {
438
532
  row-gap: calc(var(--sf-spacing) * 2);
439
533
  }
@@ -451,6 +545,12 @@
451
545
  .sf\:overflow-x-auto {
452
546
  overflow-x: auto;
453
547
  }
548
+ .sf\:overflow-y-auto {
549
+ overflow-y: auto;
550
+ }
551
+ .sf\:overscroll-x-contain {
552
+ overscroll-behavior-x: contain;
553
+ }
454
554
  .sf\:rounded-2xl {
455
555
  border-radius: var(--sf-radius-2xl);
456
556
  }
@@ -469,6 +569,10 @@
469
569
  .sf\:rounded-full {
470
570
  border-radius: calc(infinity * 1px);
471
571
  }
572
+ .sf\:rounded-t-\[2rem\] {
573
+ border-top-left-radius: 2rem;
574
+ border-top-right-radius: 2rem;
575
+ }
472
576
  .sf\:rounded-t-\[3rem\] {
473
577
  border-top-left-radius: 3rem;
474
578
  border-top-right-radius: 3rem;
@@ -526,6 +630,12 @@
526
630
  .sf\:bg-accent {
527
631
  background-color: var(--site-color-accent);
528
632
  }
633
+ .sf\:bg-accent\/5 {
634
+ background-color: var(--site-color-accent);
635
+ @supports (color: color-mix(in lab, red, red)) {
636
+ background-color: color-mix(in oklab, var(--site-color-accent) 5%, transparent);
637
+ }
638
+ }
529
639
  .sf\:bg-accent\/10 {
530
640
  background-color: var(--site-color-accent);
531
641
  @supports (color: color-mix(in lab, red, red)) {
@@ -535,6 +645,12 @@
535
645
  .sf\:bg-ink {
536
646
  background-color: var(--site-color-text);
537
647
  }
648
+ .sf\:bg-ink\/25 {
649
+ background-color: var(--site-color-text);
650
+ @supports (color: color-mix(in lab, red, red)) {
651
+ background-color: color-mix(in oklab, var(--site-color-text) 25%, transparent);
652
+ }
653
+ }
538
654
  .sf\:bg-line {
539
655
  background-color: var(--site-color-border);
540
656
  }
@@ -601,9 +717,15 @@
601
717
  .sf\:p-4 {
602
718
  padding: calc(var(--sf-spacing) * 4);
603
719
  }
720
+ .sf\:p-5 {
721
+ padding: calc(var(--sf-spacing) * 5);
722
+ }
604
723
  .sf\:p-6 {
605
724
  padding: calc(var(--sf-spacing) * 6);
606
725
  }
726
+ .sf\:p-7 {
727
+ padding: calc(var(--sf-spacing) * 7);
728
+ }
607
729
  .sf\:px-2 {
608
730
  padding-inline: calc(var(--sf-spacing) * 2);
609
731
  }
@@ -622,6 +744,9 @@
622
744
  .sf\:px-gutter {
623
745
  padding-inline: var(--site-space-gutter);
624
746
  }
747
+ .sf\:py-0\.5 {
748
+ padding-block: calc(var(--sf-spacing) * 0.5);
749
+ }
625
750
  .sf\:py-1 {
626
751
  padding-block: var(--sf-spacing);
627
752
  }
@@ -646,6 +771,12 @@
646
771
  .sf\:pe-5 {
647
772
  padding-inline-end: calc(var(--sf-spacing) * 5);
648
773
  }
774
+ .sf\:pt-2 {
775
+ padding-top: calc(var(--sf-spacing) * 2);
776
+ }
777
+ .sf\:pt-3 {
778
+ padding-top: calc(var(--sf-spacing) * 3);
779
+ }
649
780
  .sf\:pt-5 {
650
781
  padding-top: calc(var(--sf-spacing) * 5);
651
782
  }
@@ -712,6 +843,9 @@
712
843
  font-size: var(--sf-text-xs);
713
844
  line-height: var(--tw-leading, var(--sf-text-xs--line-height));
714
845
  }
846
+ .sf\:text-\[0\.6875rem\] {
847
+ font-size: 0.6875rem;
848
+ }
715
849
  .sf\:leading-\[1\.02\] {
716
850
  --tw-leading: 1.02;
717
851
  line-height: 1.02;
@@ -864,6 +998,11 @@
864
998
  transition-timing-function: var(--tw-ease, var(--sf-default-transition-timing-function));
865
999
  transition-duration: var(--tw-duration, var(--sf-default-transition-duration));
866
1000
  }
1001
+ .sf\:transition-all {
1002
+ transition-property: all;
1003
+ transition-timing-function: var(--tw-ease, var(--sf-default-transition-timing-function));
1004
+ transition-duration: var(--tw-duration, var(--sf-default-transition-duration));
1005
+ }
867
1006
  .sf\:transition-shadow {
868
1007
  transition-property: box-shadow;
869
1008
  transition-timing-function: var(--tw-ease, var(--sf-default-transition-timing-function));
@@ -1132,7 +1271,18 @@
1132
1271
  transition-property: none;
1133
1272
  }
1134
1273
  }
1274
+ @media (width < 64rem) {
1275
+ .sf\:max-lg\:hidden {
1276
+ display: none;
1277
+ }
1278
+ }
1135
1279
  @media (width >= 40rem) {
1280
+ .sf\:sm\:flex {
1281
+ display: flex;
1282
+ }
1283
+ .sf\:sm\:hidden {
1284
+ display: none;
1285
+ }
1136
1286
  .sf\:sm\:inline {
1137
1287
  display: inline;
1138
1288
  }
@@ -1159,6 +1309,9 @@
1159
1309
  .sf\:md\:col-span-2 {
1160
1310
  grid-column: span 2 / span 2;
1161
1311
  }
1312
+ .sf\:md\:grid-cols-2 {
1313
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1314
+ }
1162
1315
  .sf\:md\:grid-cols-3 {
1163
1316
  grid-template-columns: repeat(3, minmax(0, 1fr));
1164
1317
  }
@@ -1182,6 +1335,9 @@
1182
1335
  .sf\:lg\:hidden {
1183
1336
  display: none;
1184
1337
  }
1338
+ .sf\:lg\:h-20 {
1339
+ height: calc(var(--sf-spacing) * 20);
1340
+ }
1185
1341
  .sf\:lg\:grid-cols-\[1\.1fr_1fr\] {
1186
1342
  grid-template-columns: 1.1fr 1fr;
1187
1343
  }
@@ -1205,6 +1361,9 @@
1205
1361
  }
1206
1362
  }
1207
1363
  @media (width >= 80rem) {
1364
+ .sf\:xl\:grid-cols-3 {
1365
+ grid-template-columns: repeat(3, minmax(0, 1fr));
1366
+ }
1208
1367
  .sf\:xl\:grid-cols-4 {
1209
1368
  grid-template-columns: repeat(4, minmax(0, 1fr));
1210
1369
  }
@@ -1481,6 +1640,250 @@ body:has(.site-root[data-theme="storefront"]) {
1481
1640
  border-top: 1px solid var(--site-color-border);
1482
1641
  }
1483
1642
  }
1643
+ .sf-shell {
1644
+ -webkit-tap-highlight-color: transparent;
1645
+ }
1646
+ .sf-shell :where(a, button, summary, label, input, select) {
1647
+ touch-action: manipulation;
1648
+ }
1649
+ .sf-shell :where(.sf-press, .sf-tab) {
1650
+ transition-property: transform, color;
1651
+ transition-duration: 0.15s;
1652
+ }
1653
+ .sf-shell :where(.sf-press, .sf-tab):active {
1654
+ transform: scale(0.97);
1655
+ }
1656
+ .sf-chips, .sf-track {
1657
+ scrollbar-width: none;
1658
+ overscroll-behavior-x: contain;
1659
+ }
1660
+ .sf-card {
1661
+ scroll-margin-block: 30dvh;
1662
+ }
1663
+ .sf-chips::-webkit-scrollbar, .sf-track::-webkit-scrollbar {
1664
+ display: none;
1665
+ }
1666
+ .sf-chips {
1667
+ scroll-snap-type: x proximity;
1668
+ }
1669
+ .sf-chips > ul > li, .sf-chips > li {
1670
+ scroll-snap-align: start;
1671
+ scroll-margin-inline: var(--site-space-gutter);
1672
+ }
1673
+ .sf-track {
1674
+ -webkit-overflow-scrolling: touch;
1675
+ }
1676
+ .sf-tabbar .shop-count {
1677
+ inset-block-start: 0.25rem;
1678
+ inset-inline-end: calc(50% - 1.5rem);
1679
+ }
1680
+ .sf-tabbar {
1681
+ padding-bottom: env(safe-area-inset-bottom);
1682
+ }
1683
+ .sf-shell[data-page="shop-cart"] .sf-tab-cart {
1684
+ color: var(--site-color-accent);
1685
+ }
1686
+ .sf-tabbar::before {
1687
+ content: "";
1688
+ position: absolute;
1689
+ inset: 0;
1690
+ z-index: -1;
1691
+ background: var(--site-color-page);
1692
+ @supports (color: color-mix(in lab, red, red)) {
1693
+ background: color-mix(in srgb, var(--site-color-page) 85%, transparent);
1694
+ }
1695
+ -webkit-backdrop-filter: blur(24px);
1696
+ backdrop-filter: blur(24px);
1697
+ }
1698
+ .sf-tab-dot {
1699
+ position: absolute;
1700
+ inset-block-end: 0.2rem;
1701
+ inset-inline-start: calc(50% - 0.6rem);
1702
+ width: 1.2rem;
1703
+ height: 0.2rem;
1704
+ border-radius: 999px;
1705
+ background: var(--site-color-accent);
1706
+ }
1707
+ .sf-zoom {
1708
+ background: var(--site-color-page);
1709
+ @supports (color: color-mix(in lab, red, red)) {
1710
+ background: color-mix(in srgb, var(--site-color-page) 92%, transparent);
1711
+ }
1712
+ -webkit-backdrop-filter: blur(20px);
1713
+ backdrop-filter: blur(20px);
1714
+ touch-action: pinch-zoom;
1715
+ }
1716
+ .sf-shell .sf-plan-action .payments-button {
1717
+ width: 100%;
1718
+ height: 3.25rem;
1719
+ border: 0;
1720
+ border-radius: 999px;
1721
+ background: var(--site-color-accent);
1722
+ color: var(--site-color-on-accent);
1723
+ font-weight: 600;
1724
+ cursor: pointer;
1725
+ transition: filter 0.15s, transform 0.15s;
1726
+ }
1727
+ .sf-shell .sf-plan-action .payments-button:hover {
1728
+ filter: brightness(1.1);
1729
+ }
1730
+ .sf-shell .sf-plan-action .payments-button:active {
1731
+ transform: scale(0.98);
1732
+ }
1733
+ .sf-shell .sf-plan-action .payments-error {
1734
+ margin-top: 0.5rem;
1735
+ font-size: 0.875rem;
1736
+ color: var(--site-color-muted);
1737
+ }
1738
+ .sf-sheet > summary::before {
1739
+ content: "";
1740
+ position: fixed;
1741
+ inset: 0;
1742
+ z-index: 45;
1743
+ background: rgb(0 0 0 / 0.35);
1744
+ opacity: 0;
1745
+ pointer-events: none;
1746
+ transition: opacity 0.25s;
1747
+ }
1748
+ .sf-sheet[open] > summary::before {
1749
+ opacity: 1;
1750
+ pointer-events: auto;
1751
+ }
1752
+ .sf-sheet-panel {
1753
+ padding-bottom: calc(1rem + env(safe-area-inset-bottom));
1754
+ }
1755
+ .sf-sheet[open] > .sf-sheet-panel {
1756
+ animation: sf-sheet-up 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
1757
+ }
1758
+ .sf-sheet-panel a {
1759
+ padding-block: 0.875rem;
1760
+ font-size: 1.0625rem;
1761
+ }
1762
+ @keyframes sf-sheet-up {
1763
+ from {
1764
+ transform: translateY(100%);
1765
+ }
1766
+ }
1767
+ @media (max-width: 63.99rem) {
1768
+ .sf-shell {
1769
+ padding-bottom: calc(4.25rem + env(safe-area-inset-bottom));
1770
+ }
1771
+ .sf-shell:not([data-page="shop-products"]) .sf-header-cart {
1772
+ display: none;
1773
+ }
1774
+ .sf-shell[data-page="shop-products"] .sf-tabbar {
1775
+ display: none;
1776
+ }
1777
+ .sf-shell[data-page="shop-products"] {
1778
+ padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
1779
+ }
1780
+ .sf-buybar {
1781
+ position: fixed;
1782
+ inset-inline: 0;
1783
+ inset-block-end: 0;
1784
+ z-index: 40;
1785
+ padding: 0.75rem var(--site-space-gutter) calc(0.75rem + env(safe-area-inset-bottom));
1786
+ border-top: 1px solid var(--site-color-border);
1787
+ @supports (color: color-mix(in lab, red, red)) {
1788
+ border-top: 1px solid color-mix(in srgb, var(--site-color-border) 70%, transparent);
1789
+ }
1790
+ background: var(--site-color-page);
1791
+ @supports (color: color-mix(in lab, red, red)) {
1792
+ background: color-mix(in srgb, var(--site-color-page) 88%, transparent);
1793
+ }
1794
+ -webkit-backdrop-filter: blur(24px);
1795
+ backdrop-filter: blur(24px);
1796
+ }
1797
+ .sf-shell footer {
1798
+ margin-top: 4rem;
1799
+ }
1800
+ }
1801
+ @media (prefers-reduced-motion: no-preference) {
1802
+ html:has(.sf-shell)::view-transition-old(root) {
1803
+ animation: 160ms cubic-bezier(0.4, 0, 1, 1) both sf-page-out;
1804
+ }
1805
+ html:has(.sf-shell)::view-transition-new(root) {
1806
+ animation: 340ms cubic-bezier(0.2, 0.8, 0.2, 1) both sf-page-in;
1807
+ }
1808
+ html:has(.sf-shell)::view-transition-group(*.sf-product) {
1809
+ z-index: 10;
1810
+ animation-duration: 460ms;
1811
+ animation-timing-function: cubic-bezier(0.2, 0.9, 0.1, 1);
1812
+ }
1813
+ html:has(.sf-shell)::view-transition-group(sf-chip), html:has(.sf-shell)::view-transition-group(sf-tab-dot) {
1814
+ animation-duration: 380ms;
1815
+ animation-timing-function: cubic-bezier(0.3, 1.25, 0.4, 1);
1816
+ }
1817
+ html:has(.sf-shell)::view-transition-old(*.sf-product), html:has(.sf-shell)::view-transition-new(*.sf-product) {
1818
+ height: 100%;
1819
+ object-fit: contain;
1820
+ }
1821
+ html:has(.sf-shell)::view-transition-new(sf-tabbar):only-child, html:has(.sf-shell)::view-transition-new(sf-buybar):only-child {
1822
+ animation: 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both sf-bar-in;
1823
+ }
1824
+ html:has(.sf-shell)::view-transition-old(sf-tabbar):only-child, html:has(.sf-shell)::view-transition-old(sf-buybar):only-child {
1825
+ animation: 200ms ease-in both sf-bar-out;
1826
+ }
1827
+ html:active-view-transition-type(sf-zoom)::view-transition-old(root) {
1828
+ animation: 260ms ease both sf-fade-out;
1829
+ }
1830
+ html:active-view-transition-type(sf-zoom)::view-transition-new(root) {
1831
+ animation: 260ms ease both sf-fade-in;
1832
+ }
1833
+ html:active-view-transition-type(sf-zoom) :is(.sf-header, .sf-tabbar, .sf-buybar, .sf-vt-product:not(.sf-zoom-target)) {
1834
+ view-transition-name: none !important;
1835
+ }
1836
+ html:active-view-transition-type(sf-zoom)::view-transition-group(*) {
1837
+ animation-duration: 380ms;
1838
+ animation-timing-function: cubic-bezier(0.2, 0.9, 0.1, 1);
1839
+ }
1840
+ .sf-header {
1841
+ view-transition-name: sf-header;
1842
+ }
1843
+ .sf-vt-product {
1844
+ view-transition-class: sf-product;
1845
+ }
1846
+ @media (max-width: 63.99rem) {
1847
+ .sf-tabbar {
1848
+ view-transition-name: sf-tabbar;
1849
+ }
1850
+ .sf-buybar {
1851
+ view-transition-name: sf-buybar;
1852
+ }
1853
+ }
1854
+ }
1855
+ @keyframes sf-page-out {
1856
+ to {
1857
+ opacity: 0;
1858
+ transform: scale(0.985);
1859
+ }
1860
+ }
1861
+ @keyframes sf-page-in {
1862
+ from {
1863
+ opacity: 0;
1864
+ transform: translateY(1.25rem);
1865
+ }
1866
+ }
1867
+ @keyframes sf-fade-out {
1868
+ to {
1869
+ opacity: 0;
1870
+ }
1871
+ }
1872
+ @keyframes sf-fade-in {
1873
+ from {
1874
+ opacity: 0;
1875
+ }
1876
+ }
1877
+ @keyframes sf-bar-in {
1878
+ from {
1879
+ transform: translateY(100%);
1880
+ }
1881
+ }
1882
+ @keyframes sf-bar-out {
1883
+ to {
1884
+ transform: translateY(100%);
1885
+ }
1886
+ }
1484
1887
  .sf-shell .shop-count {
1485
1888
  position: absolute;
1486
1889
  inset-block-start: -0.3rem;
@@ -1758,6 +2161,11 @@ body:has(.site-root[data-theme="storefront"]) {
1758
2161
  inherits: false;
1759
2162
  initial-value: 0;
1760
2163
  }
2164
+ @property --tw-scroll-snap-strictness {
2165
+ syntax: "*";
2166
+ inherits: false;
2167
+ initial-value: proximity;
2168
+ }
1761
2169
  @property --tw-border-style {
1762
2170
  syntax: "*";
1763
2171
  inherits: false;
@@ -1988,6 +2396,7 @@ body:has(.site-root[data-theme="storefront"]) {
1988
2396
  --tw-translate-x: 0;
1989
2397
  --tw-translate-y: 0;
1990
2398
  --tw-translate-z: 0;
2399
+ --tw-scroll-snap-strictness: proximity;
1991
2400
  --tw-border-style: solid;
1992
2401
  --tw-leading: initial;
1993
2402
  --tw-font-weight: initial;