@usethrottle/storefront-react 0.0.0-stage → 0.1.0

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.
Files changed (122) hide show
  1. package/CLAUDE.md +67 -0
  2. package/README.md +119 -2
  3. package/dist/StorefrontProvider-Br4wUHui.d.cts +559 -0
  4. package/dist/StorefrontProvider-DLEPEjg6.d.ts +559 -0
  5. package/dist/account/index.cjs +69 -0
  6. package/dist/account/index.cjs.map +1 -0
  7. package/dist/account/index.d.cts +23 -0
  8. package/dist/account/index.d.ts +23 -0
  9. package/dist/account/index.js +68 -0
  10. package/dist/account/index.js.map +1 -0
  11. package/dist/chunk-2LCPIY2P.cjs +16 -0
  12. package/dist/chunk-2LCPIY2P.cjs.map +1 -0
  13. package/dist/chunk-3A72UY6T.js +2126 -0
  14. package/dist/chunk-3A72UY6T.js.map +1 -0
  15. package/dist/chunk-3JMIVAHN.js +185 -0
  16. package/dist/chunk-3JMIVAHN.js.map +1 -0
  17. package/dist/chunk-4J6AGWNC.cjs +24 -0
  18. package/dist/chunk-4J6AGWNC.cjs.map +1 -0
  19. package/dist/chunk-4U6MYDZV.js +17 -0
  20. package/dist/chunk-4U6MYDZV.js.map +1 -0
  21. package/dist/chunk-66HDJVPS.js +22 -0
  22. package/dist/chunk-66HDJVPS.js.map +1 -0
  23. package/dist/chunk-6X2OZSNV.cjs +83 -0
  24. package/dist/chunk-6X2OZSNV.cjs.map +1 -0
  25. package/dist/chunk-6ZMMZ245.cjs +2127 -0
  26. package/dist/chunk-6ZMMZ245.cjs.map +1 -0
  27. package/dist/chunk-7R37CVAB.cjs +23 -0
  28. package/dist/chunk-7R37CVAB.cjs.map +1 -0
  29. package/dist/chunk-A3IFWQUV.js +368 -0
  30. package/dist/chunk-A3IFWQUV.js.map +1 -0
  31. package/dist/chunk-AYC2YK4E.cjs +95 -0
  32. package/dist/chunk-AYC2YK4E.cjs.map +1 -0
  33. package/dist/chunk-AZV5U7YB.cjs +18 -0
  34. package/dist/chunk-AZV5U7YB.cjs.map +1 -0
  35. package/dist/chunk-CE2SKNQP.cjs +71 -0
  36. package/dist/chunk-CE2SKNQP.cjs.map +1 -0
  37. package/dist/chunk-D76CRI4X.js +2175 -0
  38. package/dist/chunk-D76CRI4X.js.map +1 -0
  39. package/dist/chunk-DOAII637.cjs +186 -0
  40. package/dist/chunk-DOAII637.cjs.map +1 -0
  41. package/dist/chunk-DYHHAOMG.cjs +17 -0
  42. package/dist/chunk-DYHHAOMG.cjs.map +1 -0
  43. package/dist/chunk-EYSVU5SJ.js +196 -0
  44. package/dist/chunk-EYSVU5SJ.js.map +1 -0
  45. package/dist/chunk-HSUUDZWS.js +37 -0
  46. package/dist/chunk-HSUUDZWS.js.map +1 -0
  47. package/dist/chunk-HZ6VEN6Q.cjs +101 -0
  48. package/dist/chunk-HZ6VEN6Q.cjs.map +1 -0
  49. package/dist/chunk-IJOTLGPT.js +16 -0
  50. package/dist/chunk-IJOTLGPT.js.map +1 -0
  51. package/dist/chunk-ISDATHVC.js +219 -0
  52. package/dist/chunk-ISDATHVC.js.map +1 -0
  53. package/dist/chunk-LW2A6USV.js +100 -0
  54. package/dist/chunk-LW2A6USV.js.map +1 -0
  55. package/dist/chunk-M4YXSLRG.cjs +369 -0
  56. package/dist/chunk-M4YXSLRG.cjs.map +1 -0
  57. package/dist/chunk-NDUEJJLP.cjs +2176 -0
  58. package/dist/chunk-NDUEJJLP.cjs.map +1 -0
  59. package/dist/chunk-NNE4FYRT.js +820 -0
  60. package/dist/chunk-NNE4FYRT.js.map +1 -0
  61. package/dist/chunk-NW3EFHY2.js +15 -0
  62. package/dist/chunk-NW3EFHY2.js.map +1 -0
  63. package/dist/chunk-NZRUQUN5.js +167 -0
  64. package/dist/chunk-NZRUQUN5.js.map +1 -0
  65. package/dist/chunk-P6HHE57S.cjs +38 -0
  66. package/dist/chunk-P6HHE57S.cjs.map +1 -0
  67. package/dist/chunk-PHY7AY27.cjs +197 -0
  68. package/dist/chunk-PHY7AY27.cjs.map +1 -0
  69. package/dist/chunk-PNJOFFTL.cjs +128 -0
  70. package/dist/chunk-PNJOFFTL.cjs.map +1 -0
  71. package/dist/chunk-PXZQ4ONA.js +127 -0
  72. package/dist/chunk-PXZQ4ONA.js.map +1 -0
  73. package/dist/chunk-Q3VTUBPP.js +82 -0
  74. package/dist/chunk-Q3VTUBPP.js.map +1 -0
  75. package/dist/chunk-Q3XFD5UI.js +45 -0
  76. package/dist/chunk-Q3XFD5UI.js.map +1 -0
  77. package/dist/chunk-QM7KTT7F.js +94 -0
  78. package/dist/chunk-QM7KTT7F.js.map +1 -0
  79. package/dist/chunk-RLWZOLXL.js +70 -0
  80. package/dist/chunk-RLWZOLXL.js.map +1 -0
  81. package/dist/chunk-SV53BRP2.js +23 -0
  82. package/dist/chunk-SV53BRP2.js.map +1 -0
  83. package/dist/chunk-VWXJO427.cjs +821 -0
  84. package/dist/chunk-VWXJO427.cjs.map +1 -0
  85. package/dist/chunk-WIIOJDHR.cjs +220 -0
  86. package/dist/chunk-WIIOJDHR.cjs.map +1 -0
  87. package/dist/chunk-XQHGFWLG.cjs +46 -0
  88. package/dist/chunk-XQHGFWLG.cjs.map +1 -0
  89. package/dist/chunk-ZHCXI2ZZ.cjs +168 -0
  90. package/dist/chunk-ZHCXI2ZZ.cjs.map +1 -0
  91. package/dist/index-RSj2Rg62.d.cts +8 -0
  92. package/dist/index-RSj2Rg62.d.ts +8 -0
  93. package/dist/index.cjs +2829 -0
  94. package/dist/index.cjs.map +1 -0
  95. package/dist/index.d.cts +1718 -0
  96. package/dist/index.d.ts +1718 -0
  97. package/dist/index.js +2828 -0
  98. package/dist/index.js.map +1 -0
  99. package/dist/metadata-QhKw-tvz.d.cts +188 -0
  100. package/dist/metadata-QhKw-tvz.d.ts +188 -0
  101. package/dist/next/client.cjs +84 -0
  102. package/dist/next/client.cjs.map +1 -0
  103. package/dist/next/client.d.cts +40 -0
  104. package/dist/next/client.d.ts +40 -0
  105. package/dist/next/client.js +83 -0
  106. package/dist/next/client.js.map +1 -0
  107. package/dist/next/index.cjs +1090 -0
  108. package/dist/next/index.cjs.map +1 -0
  109. package/dist/next/index.d.cts +218 -0
  110. package/dist/next/index.d.ts +218 -0
  111. package/dist/next/index.js +1049 -0
  112. package/dist/next/index.js.map +1 -0
  113. package/dist/server/index.cjs +994 -0
  114. package/dist/server/index.cjs.map +1 -0
  115. package/dist/server/index.d.cts +229 -0
  116. package/dist/server/index.d.ts +229 -0
  117. package/dist/server/index.js +951 -0
  118. package/dist/server/index.js.map +1 -0
  119. package/dist/styles.css +2111 -0
  120. package/dist/use-part-DCfFk7kf.d.ts +24 -0
  121. package/dist/use-part-DgjPBL_O.d.cts +24 -0
  122. package/package.json +121 -3
@@ -0,0 +1,2111 @@
1
+ @layer theme, base, throttle, components, utilities;
2
+ @layer throttle{.tsf-root {
3
+ --throttle-color-primary: #18181b;
4
+ --throttle-color-primary-foreground: #ffffff;
5
+ --throttle-color-background: #ffffff;
6
+ --throttle-color-surface: #f8fafc;
7
+ --throttle-color-foreground: #0e1116;
8
+ --throttle-color-muted: #eceef2;
9
+ --throttle-color-muted-foreground: #5b6472;
10
+ --throttle-color-border: #e2e8f0;
11
+ /* The boundary of an INTERACTIVE control, which WCAG 1.4.11 requires to
12
+ reach 3:1 against its adjacent colour — an input identified only by a
13
+ 1.23:1 hairline is not identifiable at all. Decorative separators (card
14
+ edges, table rules, dividers) keep --throttle-color-border: they do not
15
+ identify a control, so the requirement does not apply and darkening
16
+ them would only add noise. */
17
+ /* The account dashboard paints nothing by default so it can drop into a
18
+ merchant's page without fighting their background. The accountSurface and
19
+ accountPadding appearance variables opt back into a card.
20
+ No backticks in this comment: the sheet is a TS template literal. */
21
+ --throttle-card-width: 400px;
22
+ --throttle-color-account-surface: transparent;
23
+ --throttle-account-padding: 0;
24
+ --throttle-color-border-control: #8b93a1;
25
+ --throttle-color-danger: #c2321f;
26
+ --throttle-color-danger-surface: #fef2f2;
27
+ --throttle-color-danger-border: #fecaca;
28
+ --throttle-color-success: #127a4a;
29
+ --throttle-color-success-surface: #ecfdf5;
30
+ --throttle-color-success-border: #a7f3d0;
31
+ --throttle-color-warning: #92400e;
32
+ --throttle-color-warning-surface: #fffbeb;
33
+ --throttle-color-warning-border: #fde68a;
34
+ --throttle-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
35
+ --throttle-font-size: 16px;
36
+ --throttle-font-size-xs: 12px;
37
+ --throttle-font-size-sm: 14px;
38
+ --throttle-font-size-lg: 20px;
39
+ --throttle-font-size-xl: 24px;
40
+ --throttle-line-height: 1.5;
41
+ --throttle-line-height-tight: 1.25;
42
+ --throttle-radius: 12px;
43
+ --throttle-radius-sm: 8px;
44
+ --throttle-radius-full: 999px;
45
+ --throttle-border-width: 1px;
46
+ --throttle-spacing: 8px;
47
+ --throttle-space-1: 4px;
48
+ --throttle-space-2: var(--throttle-spacing);
49
+ --throttle-space-3: 12px;
50
+ --throttle-space-4: 16px;
51
+ --throttle-space-5: 24px;
52
+ --throttle-space-6: 32px;
53
+ --throttle-control-height: 48px;
54
+ --throttle-control-padding-x: 16px;
55
+ --throttle-shadow-card: 0 1px 3px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.04);
56
+ --throttle-shadow-popover: 0 10px 24px rgba(15,23,42,.12), 0 2px 6px rgba(15,23,42,.06);
57
+ --throttle-transition: 150ms cubic-bezier(.2,0,.2,1);
58
+ --throttle-z-modal: 2147483000;
59
+ --throttle-z-popover: 2147482000;
60
+ font-family: var(--throttle-font-family);
61
+ font-size: var(--throttle-font-size);
62
+ line-height: var(--throttle-line-height);
63
+ color: var(--throttle-color-foreground);
64
+ box-sizing: border-box;
65
+ }
66
+ .tsf-root *, .tsf-root *::before, .tsf-root *::after { box-sizing: inherit; }
67
+
68
+ .tsf-root[data-throttle-theme="dark"] {
69
+ --throttle-color-primary: #e6edf3;
70
+ --throttle-color-primary-foreground: #0d1117;
71
+ --throttle-color-background: #0d1117;
72
+ --throttle-color-surface: #1c2129;
73
+ --throttle-color-foreground: #e6edf3;
74
+ --throttle-color-muted: #21262d;
75
+ --throttle-color-muted-foreground: #9aa4b2;
76
+ --throttle-color-border: #30363d;
77
+ --throttle-color-border-control: #5c6570;
78
+ --throttle-color-danger: #ff6b58;
79
+ --throttle-color-danger-surface: #2a1513;
80
+ --throttle-color-danger-border: #5c2b25;
81
+ --throttle-color-success: #45c08a;
82
+ --throttle-color-success-surface: #0f2419;
83
+ --throttle-color-success-border: #1f4d36;
84
+ --throttle-color-warning: #e0a53a;
85
+ --throttle-color-warning-surface: #2a2113;
86
+ --throttle-color-warning-border: #5c4a25;
87
+ --throttle-shadow-card: 0 1px 3px rgba(0,0,0,.6), 0 1px 2px rgba(0,0,0,.4);
88
+ --throttle-shadow-popover: 0 10px 24px rgba(0,0,0,.5), 0 2px 6px rgba(0,0,0,.35);
89
+ }
90
+ @media (prefers-color-scheme: dark) {
91
+ .tsf-root[data-throttle-theme="auto"] {
92
+ --throttle-color-primary: #e6edf3;
93
+ --throttle-color-primary-foreground: #0d1117;
94
+ --throttle-color-background: #0d1117;
95
+ --throttle-color-surface: #1c2129;
96
+ --throttle-color-foreground: #e6edf3;
97
+ --throttle-color-muted: #21262d;
98
+ --throttle-color-muted-foreground: #9aa4b2;
99
+ --throttle-color-border: #30363d;
100
+ --throttle-color-border-control: #5c6570;
101
+ --throttle-color-danger: #ff6b58;
102
+ --throttle-color-danger-surface: #2a1513;
103
+ --throttle-color-danger-border: #5c2b25;
104
+ --throttle-color-success: #45c08a;
105
+ --throttle-color-success-surface: #0f2419;
106
+ --throttle-color-success-border: #1f4d36;
107
+ --throttle-color-warning: #e0a53a;
108
+ --throttle-color-warning-surface: #2a2113;
109
+ --throttle-color-warning-border: #5c4a25;
110
+ --throttle-shadow-card: 0 1px 3px rgba(0,0,0,.6), 0 1px 2px rgba(0,0,0,.4);
111
+ --throttle-shadow-popover: 0 10px 24px rgba(0,0,0,.5), 0 2px 6px rgba(0,0,0,.35);
112
+ }
113
+ }
114
+
115
+ .tsf-field { display: flex; flex-direction: column; gap: var(--throttle-space-1); }
116
+ .tsf-field__labelrow { display: flex; align-items: baseline; justify-content: space-between; gap: var(--throttle-space-2); }
117
+ .tsf-field__label { font-weight: 500; }
118
+ .tsf-field__input {
119
+ font: inherit;
120
+ font-size: var(--throttle-font-size);
121
+ color: var(--throttle-color-foreground);
122
+ background: var(--throttle-color-background);
123
+ border: var(--throttle-border-width) solid var(--throttle-color-border-control);
124
+ border-radius: var(--throttle-radius-sm);
125
+ /* padding-block stays 0 so min-height alone owns the height, exactly as
126
+ .tsf-button does. With 12px vertical padding the box computed to
127
+ 50px against the button's 48px — a 2px mismatch, measured in a browser
128
+ across 19 controls. An input element centres its own text vertically. */
129
+ padding-block: 0;
130
+ padding-inline: var(--throttle-control-padding-x);
131
+ min-height: var(--throttle-control-height);
132
+ width: 100%;
133
+ transition: border-color var(--throttle-transition), box-shadow var(--throttle-transition);
134
+ }
135
+ .tsf-field__input:focus-visible {
136
+ outline: none;
137
+ border-color: var(--throttle-color-primary);
138
+ box-shadow: 0 0 0 2px var(--throttle-color-background), 0 0 0 4px var(--throttle-color-primary);
139
+ }
140
+ .tsf-field__input:disabled { background: var(--throttle-color-muted); color: var(--throttle-color-muted-foreground); cursor: not-allowed; }
141
+ .tsf-field__input::placeholder { color: var(--throttle-color-muted-foreground); opacity: 1; }
142
+ .tsf-field__input--grouped { border: none; border-radius: 0; padding-inline: 0; }
143
+ .tsf-field__hint { color: var(--throttle-color-muted-foreground); font-size: var(--throttle-font-size-xs); }
144
+ /* Always mounted, so it reserves its line whether or not there is an error:
145
+ an error appearing on submit must not push the submit button out from
146
+ under the buyer's pointer. */
147
+ .tsf-field__error { color: var(--throttle-color-danger); font-size: var(--throttle-font-size-xs); line-height: 1rem; }
148
+ /* Reserved a full line under EVERY input even with nothing to say, which
149
+ with the stack gap put 28px of dead space beneath each field, on every
150
+ form and all seven account panels. The element stays mounted when empty
151
+ because role=alert only announces changes to a live region that was
152
+ already there; it just stops occupying a line. */
153
+ .tsf-field__error:empty { display: none; }
154
+
155
+ .tsf-field-group {
156
+ display: flex;
157
+ flex-direction: column;
158
+ border: var(--throttle-border-width) solid var(--throttle-color-border);
159
+ border-radius: var(--throttle-radius-sm);
160
+ overflow: hidden;
161
+ }
162
+ .tsf-field-group__item { padding: var(--throttle-space-3) var(--throttle-control-padding-x); }
163
+ .tsf-field-group__divider { height: var(--throttle-border-width); background: var(--throttle-color-border); }
164
+ .tsf-field-group__forgot { margin-inline-start: auto; }
165
+
166
+ .tsf-button {
167
+ font: inherit;
168
+ font-weight: 500;
169
+ border-radius: var(--throttle-radius-sm);
170
+ border: var(--throttle-border-width) solid transparent;
171
+ padding-inline: var(--throttle-control-padding-x);
172
+ padding-block: 0;
173
+ min-height: var(--throttle-control-height);
174
+ display: inline-flex;
175
+ align-items: center;
176
+ justify-content: center;
177
+ cursor: pointer;
178
+ /* A label that wraps turns a control into a two-line block of text. */
179
+ white-space: nowrap;
180
+ transition: opacity var(--throttle-transition), background-color var(--throttle-transition), border-color var(--throttle-transition), filter var(--throttle-transition), box-shadow var(--throttle-transition);
181
+ }
182
+ .tsf-button:disabled { opacity: .55; cursor: not-allowed; }
183
+ .tsf-button:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--throttle-color-background), 0 0 0 4px var(--throttle-color-primary); }
184
+ .tsf-button--primary { background: var(--throttle-color-primary); color: var(--throttle-color-primary-foreground); width: var(--throttle-button-width, auto); }
185
+ .tsf-button--primary:hover:not(:disabled) { filter: brightness(0.92); }
186
+ .tsf-button--secondary { background: var(--throttle-color-surface); color: var(--throttle-color-foreground); border-color: var(--throttle-color-border-control); }
187
+ .tsf-button--secondary:hover:not(:disabled) { background: var(--throttle-color-muted); }
188
+ .tsf-button--danger { background: transparent; color: var(--throttle-color-danger); border-color: var(--throttle-color-border); }
189
+ .tsf-button--danger:hover:not(:disabled) { background: color-mix(in srgb, var(--throttle-color-danger) 10%, transparent); }
190
+ /* Link-style actions are the rows panel default, and they carry Delete,
191
+ Remove, Cancel and Sign out. Zero padding with min-height 0 made those
192
+ roughly 20px tall and ~8px apart — a mis-tap on a phone lands on something
193
+ irreversible. The target is expanded with vertical padding and pulled back
194
+ with an equal negative margin, so the hit box clears 44px while the text
195
+ sits exactly where it did. Collapsing this back to zero padding shrinks the
196
+ target again. */
197
+ .tsf-button--link { background: none; border: none; color: var(--throttle-color-primary); padding-inline: 0; padding-block: var(--throttle-space-3); margin-block: calc(var(--throttle-space-3) * -1); min-height: 0; text-decoration: underline; width: auto; }
198
+ .tsf-button--link:hover:not(:disabled) { opacity: .8; }
199
+ .tsf-button--linkDanger { background: none; border: none; color: var(--throttle-color-danger); padding-inline: 0; padding-block: var(--throttle-space-3); margin-block: calc(var(--throttle-space-3) * -1); min-height: 0; text-decoration: underline; width: auto; }
200
+ .tsf-button--linkDanger:hover:not(:disabled) { opacity: .8; }
201
+ .tsf-button--xs { font-size: var(--throttle-font-size-xs); }
202
+
203
+ .tsf-spinner {
204
+ display: inline-block; width: 1em; height: 1em;
205
+ border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%;
206
+ animation: tsf-spin 700ms linear infinite;
207
+ }
208
+ @keyframes tsf-spin { to { transform: rotate(360deg); } }
209
+ .tsf-button--loading { position: relative; }
210
+ .tsf-button__label { display: inline-flex; align-items: center; justify-content: center; gap: var(--throttle-space-2); }
211
+ .tsf-button__label--hidden { visibility: hidden; }
212
+ .tsf-spinner--centred { position: absolute; top: 50%; inset-inline-start: 50%; margin-block-start: -0.5em; margin-inline-start: -0.5em; }
213
+
214
+ @media (prefers-reduced-motion: reduce) { .tsf-spinner { animation-duration: 2.4s; } }
215
+
216
+ .tsf-skeleton {
217
+ background: var(--throttle-color-muted);
218
+ border-radius: var(--throttle-radius-sm);
219
+ animation: tsf-pulse 1.4s ease-in-out infinite; height: 2.5em; }
220
+ @keyframes tsf-pulse { 50% { opacity: .5; } }
221
+ @media (prefers-reduced-motion: reduce) { .tsf-skeleton { animation: none; } }
222
+
223
+ .tsf-modal__overlay {
224
+ position: fixed; inset: 0; z-index: var(--throttle-z-modal);
225
+ background: rgba(14,17,22,.45);
226
+ display: flex; align-items: center; justify-content: center;
227
+ padding: var(--throttle-space-4);
228
+ overflow-y: auto;
229
+ }
230
+ .tsf-modal__container {
231
+ background: var(--throttle-color-background);
232
+ border-radius: var(--throttle-radius);
233
+ box-shadow: var(--throttle-shadow-popover);
234
+ max-width: 720px; width: 100%; max-height: 90vh; overflow-y: auto;
235
+ position: relative;
236
+ }
237
+ /* After the base rule on purpose: both are single-class, so equal specificity
238
+ means source order decides. Declared before it, this silently lost. */
239
+ .tsf-modal__container--compact { max-width: 440px; }
240
+ .tsf-modal__close {
241
+ position: absolute; top: var(--throttle-space-3); inset-inline-end: var(--throttle-space-3);
242
+ background: none; border: none; cursor: pointer; font-size: var(--throttle-font-size-lg);
243
+ color: var(--throttle-color-muted-foreground);
244
+ transition: color var(--throttle-transition);
245
+ }
246
+ .tsf-modal__close:hover { color: var(--throttle-color-foreground); }
247
+ .tsf-modal__header { padding: var(--throttle-space-4) var(--throttle-space-4) 0; }
248
+ .tsf-modal__title { font-size: var(--throttle-font-size-lg); line-height: var(--throttle-line-height-tight); font-weight: 600; margin: 0; }
249
+ .tsf-modal__body { padding: var(--throttle-space-4); }
250
+
251
+ .tsf-dropdown__trigger { background: none; border: none; cursor: pointer; padding: 0; border-radius: var(--throttle-radius-full); transition: background-color var(--throttle-transition); }
252
+ .tsf-dropdown__trigger:hover { background: var(--throttle-color-surface); }
253
+ .tsf-dropdown__trigger:focus-visible { outline: 2px solid var(--throttle-color-primary); outline-offset: 2px; }
254
+ .tsf-dropdown__menu {
255
+ position: absolute; inset-inline-end: 0; top: calc(100% + var(--throttle-space-2));
256
+ z-index: var(--throttle-z-popover);
257
+ min-width: 260px;
258
+ background: var(--throttle-color-background);
259
+ border: var(--throttle-border-width) solid var(--throttle-color-border);
260
+ border-radius: var(--throttle-radius);
261
+ box-shadow: var(--throttle-shadow-popover);
262
+ padding: var(--throttle-space-1);
263
+ }
264
+ .tsf-dropdown__item {
265
+ display: flex; align-items: center; gap: var(--throttle-space-2);
266
+ width: 100%; text-align: start; font: inherit; color: inherit;
267
+ background: none; border: none; cursor: pointer;
268
+ padding: var(--throttle-space-3);
269
+ border-radius: var(--throttle-radius-sm);
270
+ text-decoration: none;
271
+ transition: background-color var(--throttle-transition);
272
+ }
273
+ .tsf-dropdown__item:hover { background: var(--throttle-color-surface); }
274
+ .tsf-dropdown__item:focus-visible { outline: 2px solid var(--throttle-color-primary); outline-offset: -2px; }
275
+ .tsf-dropdown__separator { height: 1px; background: var(--throttle-color-border); margin: var(--throttle-space-1) 0; border: 0; }
276
+
277
+ .tsf-tabs__list {
278
+ display: flex; gap: var(--throttle-space-1);
279
+ border-bottom: var(--throttle-border-width) solid var(--throttle-color-border);
280
+ overflow-x: auto; scrollbar-width: thin;
281
+ }
282
+ .tsf-tabs__tab {
283
+ font: inherit; background: none; border: none; cursor: pointer; white-space: nowrap;
284
+ padding: var(--throttle-space-3);
285
+ color: var(--throttle-color-muted-foreground);
286
+ border-bottom: 2px solid transparent;
287
+ transition: color var(--throttle-transition), border-color var(--throttle-transition);
288
+ }
289
+ .tsf-tabs__tab:hover { color: var(--throttle-color-foreground); }
290
+ .tsf-tabs__tab--active { color: var(--throttle-color-foreground); border-bottom-color: var(--throttle-color-primary); }
291
+ .tsf-tabs__panel { padding-top: var(--throttle-space-4); }
292
+
293
+ .tsf-tabs__rail { flex: none; width: 220px; display: flex; flex-direction: column; gap: 2px; }
294
+ .tsf-tabs__railitem {
295
+ font: inherit;
296
+ font-size: var(--throttle-font-size-sm);
297
+ display: flex;
298
+ align-items: center;
299
+ gap: var(--throttle-space-3);
300
+ width: 100%;
301
+ text-align: start;
302
+ background: none;
303
+ border: none;
304
+ border-radius: var(--throttle-radius-sm);
305
+ padding: 0 var(--throttle-space-3);
306
+ min-height: var(--throttle-control-height);
307
+ color: var(--throttle-color-muted-foreground);
308
+ cursor: pointer;
309
+ transition: background var(--throttle-transition), color var(--throttle-transition);
310
+ }
311
+ .tsf-tabs__railitem:hover { background: var(--throttle-color-surface); color: var(--throttle-color-foreground); }
312
+ .tsf-tabs__railitem:focus-visible { outline: 2px solid var(--throttle-color-primary); outline-offset: -2px; }
313
+ .tsf-tabs__tab:focus-visible { outline: 2px solid var(--throttle-color-primary); outline-offset: -2px; }
314
+ .tsf-tabs__railitem--active { background: var(--throttle-color-surface); color: var(--throttle-color-foreground); font-weight: 500; }
315
+ .tsf-tabs__railicon { flex: none; opacity: .75; }
316
+
317
+ .tsf-empty { text-align: center; padding: var(--throttle-space-6) var(--throttle-space-4); }
318
+ .tsf-empty__title { font-weight: 600; margin: 0 0 var(--throttle-space-1); }
319
+ .tsf-empty__description { color: var(--throttle-color-muted-foreground); margin: 0; }
320
+
321
+ .tsf-badge {
322
+ display: inline-block; font-size: var(--throttle-font-size-xs); font-weight: 500;
323
+ padding: 2px var(--throttle-space-2); border-radius: var(--throttle-radius-full);
324
+ background: var(--throttle-color-muted); color: var(--throttle-color-muted-foreground);
325
+ }
326
+ .tsf-badge--muted { background: none; border: var(--throttle-border-width) solid var(--throttle-color-border); color: var(--throttle-color-muted-foreground); font-weight: 400; padding: 1px calc(var(--throttle-space-2) - 1px); }
327
+ .tsf-badge--success { background: color-mix(in srgb, var(--throttle-color-success) 15%, transparent); color: var(--throttle-color-success); }
328
+ .tsf-badge--warning { background: color-mix(in srgb, var(--throttle-color-warning) 15%, transparent); color: var(--throttle-color-warning); }
329
+ .tsf-badge--danger { background: color-mix(in srgb, var(--throttle-color-danger) 15%, transparent); color: var(--throttle-color-danger); }
330
+
331
+ .tsf-stack { display: flex; flex-direction: column; gap: var(--throttle-space-3); }
332
+
333
+ .tsf-select { appearance: auto; }
334
+
335
+ /* Cues Field and Select add outside auth: a danger border and ring on an input
336
+ with an error, and an asterisk on a required one. The focus rule repeats the
337
+ danger ring because the base focus ring would otherwise hide the error. */
338
+ .tsf-field__input--invalid { border-color: var(--throttle-color-danger); box-shadow: 0 0 0 1px var(--throttle-color-danger); }
339
+ .tsf-field__input--invalid:focus-visible {
340
+ border-color: var(--throttle-color-danger);
341
+ box-shadow: 0 0 0 2px var(--throttle-color-background), 0 0 0 4px var(--throttle-color-danger);
342
+ }
343
+ .tsf-field__required { margin-inline-start: var(--throttle-space-1); color: var(--throttle-color-danger); }
344
+
345
+ /* Declared after the base rule so equal specificity resolves to this. */
346
+ .tsf-button--block { inline-size: 100%; }
347
+
348
+ /* The container carries the inset, so bare content is not flush against the
349
+ edge. The structured parts (header/body) already pad themselves in the
350
+ shared sheet; their own inset is dropped here so it does not stack on the
351
+ container's. The header-to-body gap stays as the body's top padding. */
352
+ .tsf-modal__container { padding: var(--throttle-space-5); }
353
+ .tsf-modal__header { padding: 0; }
354
+ .tsf-modal__body { padding: 0; padding-block-start: var(--throttle-space-4); }
355
+
356
+ /* Applied by Dropdown only when the end-aligned menu would leave the viewport. */
357
+ .tsf-dropdown__menu--start { inset-inline-start: 0; inset-inline-end: auto; }
358
+
359
+ .tsf-choice { display: inline-flex; align-items: center; gap: var(--throttle-space-2); cursor: pointer; }
360
+ .tsf-choice__input { accent-color: var(--throttle-color-primary); inline-size: 1.125em; block-size: 1.125em; margin: 0; }
361
+ .tsf-choice__label { line-height: 1.3; }
362
+
363
+ .tsf-switch {
364
+ display: inline-flex; align-items: center; gap: var(--throttle-space-2);
365
+ background: none; border: none; padding: 0; cursor: pointer; color: inherit; font: inherit;
366
+ }
367
+ .tsf-switch:disabled { opacity: .55; cursor: not-allowed; }
368
+ .tsf-switch:focus-visible { outline: 2px solid var(--throttle-color-primary); outline-offset: 2px; }
369
+ .tsf-switch__thumb {
370
+ position: relative; display: inline-block; inline-size: 2.5em; block-size: 1.5em; border-radius: 999px;
371
+ background: var(--throttle-color-border-control); transition: background var(--throttle-transition, 120ms ease);
372
+ }
373
+ .tsf-switch__thumb::after {
374
+ content: ''; position: absolute; inset-block-start: .1875em; inset-inline-start: .1875em;
375
+ inline-size: 1.125em; block-size: 1.125em; border-radius: 50%; background: var(--throttle-color-background);
376
+ transition: inset-inline-start var(--throttle-transition, 120ms ease);
377
+ }
378
+ .tsf-switch__thumb--on { background: var(--throttle-color-primary); }
379
+ .tsf-switch__thumb--on::after { inset-inline-start: 1.1875em; }
380
+ .tsf-switch__label { line-height: 1.3; }
381
+
382
+ .tsf-drawer__overlay { position: fixed; inset: 0; z-index: var(--throttle-z-modal); background: rgba(14,17,22,.45); }
383
+ .tsf-drawer__panel {
384
+ position: absolute; inset-block: 0; inline-size: min(26rem, 100%); overflow-y: auto;
385
+ background: var(--throttle-color-background); color: var(--throttle-color-foreground);
386
+ box-shadow: var(--throttle-shadow-popover); outline: none;
387
+ }
388
+ .tsf-drawer__panel--end { inset-inline-end: 0; }
389
+ .tsf-drawer__panel--start { inset-inline-start: 0; }
390
+
391
+ .tsf-accordion { display: flex; flex-direction: column; }
392
+ .tsf-accordion__item { border-block-end: var(--throttle-border-width) solid var(--throttle-color-border); }
393
+ .tsf-accordion__heading { margin: 0; font: inherit; }
394
+ .tsf-accordion__trigger {
395
+ display: flex; align-items: center; justify-content: space-between; inline-size: 100%;
396
+ padding-block: var(--throttle-space-3); background: none; border: none; color: inherit; font: inherit;
397
+ font-weight: 500; text-align: start; cursor: pointer;
398
+ }
399
+ .tsf-accordion__trigger:focus-visible { outline: 2px solid var(--throttle-color-primary); outline-offset: 2px; }
400
+ .tsf-accordion__panel { padding-block-end: var(--throttle-space-3); }
401
+
402
+ .tsf-popover { position: relative; display: inline-block; }
403
+ .tsf-popover__trigger {
404
+ background: none; border: none; padding: 0; cursor: pointer; color: inherit; font: inherit;
405
+ }
406
+ .tsf-popover__trigger:focus-visible { outline: 2px solid var(--throttle-color-primary); outline-offset: 2px; }
407
+ .tsf-popover__panel {
408
+ position: absolute; inset-block-start: 100%; inset-inline-start: 0; z-index: var(--throttle-z-popover);
409
+ min-inline-size: 12rem; padding: var(--throttle-space-3); margin-block-start: var(--throttle-space-1);
410
+ background: var(--throttle-color-background); color: var(--throttle-color-foreground);
411
+ border: var(--throttle-border-width) solid var(--throttle-color-border);
412
+ border-radius: var(--throttle-radius-sm); box-shadow: var(--throttle-shadow-popover);
413
+ }
414
+
415
+ .tsf-tooltip { position: relative; display: inline-block; }
416
+ .tsf-tooltip__content {
417
+ position: absolute; inset-block-end: 100%; inset-inline-start: 0; z-index: var(--throttle-z-popover);
418
+ margin-block-end: var(--throttle-space-1); padding: var(--throttle-space-1) var(--throttle-space-2);
419
+ white-space: nowrap; font-size: var(--throttle-font-size-sm); border-radius: var(--throttle-radius-sm);
420
+ background: var(--throttle-color-foreground); color: var(--throttle-color-background); pointer-events: none;
421
+ }
422
+
423
+ .tsf-root {
424
+ --throttle-sf-accent: #2563eb;
425
+ --throttle-sf-accent-hover: #1d4ed8;
426
+ --throttle-sf-accent-subtle: #eaf0fd;
427
+ --throttle-sf-sale: #b91c1c;
428
+ --throttle-sf-success: #15803d;
429
+ --throttle-sf-warning: #b45309;
430
+ --throttle-sf-danger: #b91c1c;
431
+ --throttle-sf-card-radius: 8px;
432
+ --throttle-sf-grid-gap: 20px;
433
+ --throttle-sf-heading-weight: 600;
434
+ --throttle-sf-heading-tracking: -0.01em;
435
+ --throttle-sf-heading-transform: none;
436
+ background: var(--throttle-color-background);
437
+ color: var(--throttle-color-foreground);
438
+ text-align: start;
439
+ }
440
+
441
+ .tsf-slot-outlet { display: block; }
442
+
443
+ .tsf-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
444
+ .tsf-link:hover { color: var(--throttle-sf-accent); }
445
+
446
+ .tsf-image { display: block; inline-size: 100%; block-size: auto; object-fit: cover; background: var(--throttle-color-muted); }
447
+
448
+ .tsf-rich-text { overflow-wrap: anywhere; line-height: 1.6; }
449
+ .tsf-rich-text-link { color: var(--throttle-sf-accent); }
450
+
451
+ .tsf-money { font-variant-numeric: tabular-nums; }
452
+ .tsf-money-compare { margin-inline-start: 6px; color: var(--throttle-color-muted-foreground); font-weight: 400; font-variant-numeric: tabular-nums; }
453
+
454
+ .tsf-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; font-weight: 600; }
455
+ .tsf-price-label { flex-basis: 100%; font-size: 12px; font-weight: 500; color: var(--throttle-sf-accent); }
456
+ .tsf-price-hint { flex-basis: 100%; font-size: 12px; font-weight: 400; color: var(--throttle-color-muted-foreground); }
457
+
458
+ .tsf-star-rating { display: inline-flex; align-items: center; gap: 6px; color: var(--throttle-color-muted-foreground); font-size: 13px; }
459
+ .tsf-star-rating-stars { display: inline-flex; gap: 1px; color: var(--throttle-color-warning); }
460
+ .tsf-star-rating-count { font-variant-numeric: tabular-nums; }
461
+
462
+ .tsf-product-badge {
463
+ display: inline-flex;
464
+ align-items: center;
465
+ padding: 2px 8px;
466
+ border-radius: 999px;
467
+ font-size: 12px;
468
+ font-weight: 600;
469
+ line-height: 1.4;
470
+ background: var(--tsf-badge-bg, var(--throttle-color-foreground));
471
+ color: var(--tsf-badge-fg, var(--throttle-color-background));
472
+ }
473
+
474
+ .tsf-swatch {
475
+ display: inline-block;
476
+ inline-size: 16px;
477
+ block-size: 16px;
478
+ border-radius: 999px;
479
+ border: 1px solid var(--throttle-color-border-control);
480
+ background-color: var(--throttle-color-muted);
481
+ background-size: cover;
482
+ background-position: center;
483
+ box-sizing: border-box;
484
+ vertical-align: middle;
485
+ }
486
+ .tsf-swatch:where([data-selected="true"]) { outline: 2px solid var(--throttle-color-foreground); outline-offset: 2px; }
487
+ .tsf-swatch:where([data-disabled="true"]) { opacity: 0.4; }
488
+
489
+ /* The card: the variant sets the properties, the parts read them. */
490
+ .tsf-product-card {
491
+ --tsf-card-border: 1px solid var(--throttle-color-border);
492
+ --tsf-card-radius: var(--throttle-sf-card-radius);
493
+ --tsf-body-padding: 12px;
494
+ --tsf-media-radius: 0;
495
+ position: relative;
496
+ display: flex;
497
+ flex-direction: column;
498
+ min-inline-size: 0;
499
+ border: var(--tsf-card-border);
500
+ border-radius: var(--tsf-card-radius);
501
+ background: var(--throttle-color-background);
502
+ color: var(--throttle-color-foreground);
503
+ overflow: hidden;
504
+ }
505
+ .tsf-product-card:where([data-variant="minimal"]) {
506
+ --tsf-card-border: 0 solid transparent;
507
+ --tsf-card-radius: 0;
508
+ --tsf-body-padding: 10px 0 0;
509
+ --tsf-media-radius: var(--throttle-sf-card-radius);
510
+ overflow: visible;
511
+ background: transparent;
512
+ }
513
+ .tsf-product-card:where([data-variant="overlay"]) {
514
+ --tsf-card-border: 0 solid transparent;
515
+ --tsf-body-padding: 40px 14px 14px;
516
+ --tsf-body-position: absolute;
517
+ --tsf-body-events: none;
518
+ --tsf-body-color: #fff;
519
+ --tsf-body-background: linear-gradient(to top, rgb(0 0 0 / 0.72), rgb(0 0 0 / 0));
520
+ }
521
+ .tsf-product-card:where([data-variant="row"]) { --tsf-media-basis: 38%; }
522
+ .tsf-product-card:where([data-sold-out]) { --tsf-media-opacity: 0.6; }
523
+
524
+ .tsf-product-card-row { display: flex; align-items: stretch; flex: 1; min-inline-size: 0; }
525
+
526
+ .tsf-product-card-media {
527
+ --tsf-alt: 0;
528
+ position: relative;
529
+ flex: 0 0 var(--tsf-media-basis, auto);
530
+ overflow: hidden;
531
+ border-radius: var(--tsf-media-radius);
532
+ background: var(--throttle-color-muted);
533
+ }
534
+ .tsf-product-card-media:focus-within { --tsf-alt: 1; }
535
+ @media (hover: hover) {
536
+ .tsf-product-card-media:hover { --tsf-alt: 1; }
537
+ }
538
+ .tsf-product-card-media-link { display: block; color: inherit; text-decoration: none; opacity: var(--tsf-media-opacity, 1); }
539
+ .tsf-product-card-image { display: block; }
540
+ .tsf-product-card-image-alt {
541
+ position: absolute;
542
+ inset: 0;
543
+ opacity: var(--tsf-alt);
544
+ transition: opacity 0.2s ease;
545
+ background: var(--throttle-color-muted);
546
+ }
547
+ /* No hover on a touch screen: the two images sit side by side and the shopper swipes. */
548
+ @media (hover: none) {
549
+ .tsf-product-card-media-link { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
550
+ .tsf-product-card-image, .tsf-product-card-image-alt { position: static; flex: 0 0 100%; opacity: 1; scroll-snap-align: start; }
551
+ }
552
+ @media (prefers-reduced-motion: reduce) {
553
+ .tsf-product-card-image-alt { transition: none; }
554
+ }
555
+ .tsf-product-card-placeholder { inline-size: 100%; background: var(--throttle-color-muted); }
556
+
557
+ .tsf-product-card-badges {
558
+ position: absolute;
559
+ inset-block-start: 8px;
560
+ inset-inline-start: 8px;
561
+ display: flex;
562
+ flex-wrap: wrap;
563
+ gap: 4px;
564
+ max-inline-size: calc(100% - 16px);
565
+ pointer-events: none;
566
+ }
567
+ .tsf-product-card-actions {
568
+ position: absolute;
569
+ inset-block-end: 8px;
570
+ inset-inline-end: 8px;
571
+ display: flex;
572
+ flex-direction: column;
573
+ gap: 6px;
574
+ }
575
+
576
+ .tsf-product-card-body {
577
+ position: var(--tsf-body-position, static);
578
+ inset-inline: 0;
579
+ inset-block-end: 0;
580
+ flex: 1;
581
+ display: flex;
582
+ flex-direction: column;
583
+ align-items: flex-start;
584
+ gap: 6px;
585
+ padding: var(--tsf-body-padding);
586
+ min-inline-size: 0;
587
+ color: var(--tsf-body-color, inherit);
588
+ background: var(--tsf-body-background, transparent);
589
+ pointer-events: var(--tsf-body-events, auto);
590
+ }
591
+ .tsf-product-card-brand { margin: 0; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.7; }
592
+ .tsf-product-card-title {
593
+ margin: 0;
594
+ font-size: 15px;
595
+ font-weight: var(--throttle-sf-heading-weight);
596
+ letter-spacing: var(--throttle-sf-heading-tracking);
597
+ text-transform: var(--throttle-sf-heading-transform);
598
+ line-height: 1.3;
599
+ overflow-wrap: anywhere;
600
+ }
601
+ .tsf-product-card-title-link { color: inherit; text-decoration: none; pointer-events: auto; }
602
+ .tsf-product-card-title-link:hover { text-decoration: underline; }
603
+ .tsf-product-card-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
604
+ .tsf-product-card-swatch-more { font-size: 12px; opacity: 0.7; }
605
+ .tsf-product-card-rating { color: inherit; }
606
+ .tsf-product-card-price { margin: 0; font-size: 15px; }
607
+ .tsf-product-card-from { font-size: 12px; font-weight: 400; opacity: 0.7; }
608
+ .tsf-product-card-unpriced { font-size: 13px; opacity: 0.7; }
609
+
610
+ .tsf-shop-all { display: flex; flex-direction: column; gap: 16px; min-inline-size: 0; padding-block: 24px; }
611
+
612
+ .tsf-shop-all-heading {
613
+ margin: 0;
614
+ font-size: 28px;
615
+ line-height: 1.2;
616
+ font-weight: var(--throttle-sf-heading-weight);
617
+ letter-spacing: var(--throttle-sf-heading-tracking);
618
+ text-transform: var(--throttle-sf-heading-transform);
619
+ }
620
+ .tsf-shop-all-description { margin: 0; max-inline-size: 70ch; color: var(--throttle-color-muted-foreground); line-height: 1.6; }
621
+
622
+ .tsf-shop-all-breadcrumb-list { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--throttle-color-muted-foreground); }
623
+ .tsf-shop-all-breadcrumb:where(:not(:last-child))::after { content: "/"; margin-inline-start: 8px; opacity: 0.6; }
624
+ .tsf-shop-all-breadcrumb-link { color: inherit; text-decoration: none; }
625
+ .tsf-shop-all-breadcrumb-link:hover { color: var(--throttle-color-foreground); text-decoration: underline; }
626
+
627
+ .tsf-shop-all-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
628
+ .tsf-shop-all-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
629
+ .tsf-result-count { margin: 0; color: var(--throttle-color-muted-foreground); font-size: 14px; }
630
+
631
+ .tsf-shop-all-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
632
+ .tsf-shop-all-body:where([data-layout="sidebar"]) { grid-template-columns: 240px minmax(0, 1fr); }
633
+ .tsf-shop-all-main { display: flex; flex-direction: column; gap: 24px; min-inline-size: 0; }
634
+
635
+ .tsf-live-region {
636
+ position: absolute;
637
+ inline-size: 1px;
638
+ block-size: 1px;
639
+ margin: -1px;
640
+ padding: 0;
641
+ overflow: hidden;
642
+ clip: rect(0 0 0 0);
643
+ white-space: nowrap;
644
+ border: 0;
645
+ }
646
+
647
+ /* Sort */
648
+ .tsf-sort-select { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
649
+ .tsf-sort-select-input,
650
+ .tsf-facet-select,
651
+ .tsf-facet-search,
652
+ .tsf-facet-range-input {
653
+ min-block-size: 44px;
654
+ padding-inline: 12px;
655
+ border: 1px solid var(--throttle-color-border-control);
656
+ border-radius: var(--throttle-sf-card-radius);
657
+ background: var(--throttle-color-background);
658
+ color: var(--throttle-color-foreground);
659
+ font: inherit;
660
+ box-sizing: border-box;
661
+ }
662
+ .tsf-facet-select, .tsf-facet-search { inline-size: 100%; }
663
+
664
+ /* Filters: the column */
665
+ .tsf-filter-sidebar { display: flex; flex-direction: column; gap: 4px; min-inline-size: 0; }
666
+ .tsf-filter-sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-block-end: 8px; }
667
+ .tsf-filter-sidebar-title { margin: 0; font-size: 16px; font-weight: var(--throttle-sf-heading-weight); }
668
+ .tsf-filter-clear, .tsf-active-filters-clear, .tsf-facet-range-clear, .tsf-facet-show-all {
669
+ padding: 0;
670
+ min-block-size: 44px;
671
+ border: 0;
672
+ background: none;
673
+ color: var(--throttle-sf-accent);
674
+ font: inherit;
675
+ font-size: 14px;
676
+ text-decoration: underline;
677
+ text-underline-offset: 2px;
678
+ cursor: pointer;
679
+ }
680
+
681
+ /* Filters: the top bar and the drawer trigger */
682
+ .tsf-filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
683
+ .tsf-filter-bar-more,
684
+ .tsf-filter-drawer-trigger {
685
+ display: inline-flex;
686
+ align-items: center;
687
+ gap: 8px;
688
+ min-block-size: 44px;
689
+ padding-inline: 14px;
690
+ border: 1px solid var(--throttle-color-border-control);
691
+ border-radius: var(--throttle-sf-card-radius);
692
+ background: var(--throttle-color-background);
693
+ color: var(--throttle-color-foreground);
694
+ font: inherit;
695
+ cursor: pointer;
696
+ }
697
+ .tsf-filter-drawer-count, .tsf-facet-selected {
698
+ display: inline-flex;
699
+ align-items: center;
700
+ justify-content: center;
701
+ min-inline-size: 20px;
702
+ padding-inline: 6px;
703
+ border-radius: 999px;
704
+ background: var(--throttle-sf-accent);
705
+ color: var(--throttle-color-background);
706
+ font-size: 12px;
707
+ line-height: 20px;
708
+ }
709
+
710
+ /* A facet */
711
+ .tsf-facet { min-inline-size: 0; border-block-start: 1px solid var(--throttle-color-border); }
712
+ .tsf-facet:where([data-presentation="dropdown"]) { border: 0; position: relative; }
713
+ .tsf-facet-heading { margin: 0; font-size: 15px; }
714
+ .tsf-facet-toggle {
715
+ display: flex;
716
+ align-items: center;
717
+ gap: 8px;
718
+ inline-size: 100%;
719
+ min-block-size: 44px;
720
+ padding: 0;
721
+ border: 0;
722
+ background: none;
723
+ color: inherit;
724
+ font: inherit;
725
+ font-weight: 600;
726
+ text-align: start;
727
+ cursor: pointer;
728
+ }
729
+ .tsf-facet-label { flex: 1; text-align: start; }
730
+ .tsf-facet-body { padding-block-end: 12px; }
731
+ .tsf-facet-fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
732
+ .tsf-facet-legend {
733
+ position: absolute;
734
+ inline-size: 1px;
735
+ block-size: 1px;
736
+ margin: -1px;
737
+ padding: 0;
738
+ overflow: hidden;
739
+ clip: rect(0 0 0 0);
740
+ white-space: nowrap;
741
+ border: 0;
742
+ }
743
+ .tsf-facet-trigger {
744
+ display: inline-flex;
745
+ align-items: center;
746
+ gap: 8px;
747
+ min-block-size: 44px;
748
+ padding-inline: 14px;
749
+ border: 1px solid var(--throttle-color-border-control);
750
+ border-radius: var(--throttle-sf-card-radius);
751
+ background: var(--throttle-color-background);
752
+ color: var(--throttle-color-foreground);
753
+ font: inherit;
754
+ cursor: pointer;
755
+ }
756
+ .tsf-facet-trigger:where([aria-expanded="true"]) { border-color: var(--throttle-color-foreground); }
757
+ .tsf-facet-panel {
758
+ position: absolute;
759
+ inset-block-start: calc(100% + 4px);
760
+ inset-inline-start: 0;
761
+ z-index: 20;
762
+ min-inline-size: 240px;
763
+ max-block-size: 360px;
764
+ overflow-y: auto;
765
+ padding: 8px 14px;
766
+ border: 1px solid var(--throttle-color-border);
767
+ border-radius: var(--throttle-sf-card-radius);
768
+ background: var(--throttle-color-background);
769
+ box-shadow: 0 8px 24px rgb(0 0 0 / 0.14);
770
+ }
771
+ .tsf-facet-options { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
772
+ .tsf-facet-search { margin-block-end: 8px; }
773
+ .tsf-facet-option-label { display: flex; align-items: center; gap: 10px; min-block-size: 44px; cursor: pointer; font-size: 14px; }
774
+ .tsf-facet-option:where([data-empty]) { opacity: 0.5; }
775
+ .tsf-facet-option-input { inline-size: 18px; block-size: 18px; margin: 0; accent-color: var(--throttle-sf-accent); }
776
+ .tsf-facet-option-text { flex: 1; overflow-wrap: anywhere; }
777
+ .tsf-facet-option-count { color: var(--throttle-color-muted-foreground); font-variant-numeric: tabular-nums; font-size: 13px; }
778
+ .tsf-facet-empty { margin: 0; color: var(--throttle-color-muted-foreground); font-size: 14px; }
779
+ .tsf-facet-boolean { display: flex; flex-direction: column; }
780
+
781
+ .tsf-facet-range { display: flex; flex-direction: column; gap: 8px; }
782
+ .tsf-facet-range-fields { display: flex; gap: 8px; }
783
+ .tsf-facet-range-field { display: flex; flex: 1; flex-direction: column; gap: 4px; min-inline-size: 0; font-size: 13px; }
784
+ .tsf-facet-range-input { inline-size: 100%; }
785
+ .tsf-facet-range-error { margin: 0; color: var(--throttle-sf-danger); font-size: 13px; }
786
+ .tsf-facet-range-hint { margin: 0; color: var(--throttle-color-muted-foreground); font-size: 13px; }
787
+ .tsf-facet-range-actions { display: flex; align-items: center; gap: 12px; }
788
+ .tsf-facet-range-apply {
789
+ min-block-size: 44px;
790
+ padding-inline: 16px;
791
+ border: 1px solid var(--throttle-color-border-control);
792
+ border-radius: var(--throttle-sf-card-radius);
793
+ background: var(--throttle-color-background);
794
+ color: var(--throttle-color-foreground);
795
+ font: inherit;
796
+ cursor: pointer;
797
+ }
798
+
799
+ /* Filters: the drawer */
800
+ .tsf-filter-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 20px; border-block-end: 1px solid var(--throttle-color-border); }
801
+ .tsf-filter-drawer-title { margin: 0; font-size: 18px; font-weight: var(--throttle-sf-heading-weight); }
802
+ .tsf-filter-drawer-close { display: inline-flex; align-items: center; justify-content: center; inline-size: 44px; block-size: 44px; border: 0; background: none; color: inherit; cursor: pointer; }
803
+ .tsf-filter-drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
804
+ .tsf-filter-drawer-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-block-start: 1px solid var(--throttle-color-border); }
805
+ .tsf-filter-drawer-apply {
806
+ flex: 1;
807
+ min-block-size: 44px;
808
+ padding-inline: 16px;
809
+ border: 0;
810
+ border-radius: var(--throttle-sf-card-radius);
811
+ background: var(--throttle-color-primary);
812
+ color: var(--throttle-color-primary-foreground);
813
+ font: inherit;
814
+ font-weight: 600;
815
+ cursor: pointer;
816
+ }
817
+
818
+ /* The chips */
819
+ .tsf-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
820
+ .tsf-active-filter-remove {
821
+ display: inline-flex;
822
+ align-items: center;
823
+ gap: 6px;
824
+ min-block-size: 36px;
825
+ padding-inline: 12px;
826
+ border: 1px solid var(--throttle-color-border-control);
827
+ border-radius: 999px;
828
+ background: var(--throttle-color-muted);
829
+ color: inherit;
830
+ font: inherit;
831
+ font-size: 13px;
832
+ cursor: pointer;
833
+ }
834
+
835
+ /* The grid */
836
+ .tsf-product-grid-pages { display: flex; flex-direction: column; gap: var(--throttle-sf-grid-gap); }
837
+ .tsf-product-grid, .tsf-product-grid-skeleton {
838
+ display: grid;
839
+ grid-template-columns: repeat(var(--tsf-cols-mobile, 2), minmax(0, 1fr));
840
+ gap: var(--throttle-sf-grid-gap);
841
+ align-items: start;
842
+ margin: 0;
843
+ padding: 0;
844
+ list-style: none;
845
+ }
846
+ @media (min-width: 768px) {
847
+ .tsf-product-grid, .tsf-product-grid-skeleton { grid-template-columns: repeat(var(--tsf-cols-desktop, 4), minmax(0, 1fr)); }
848
+ }
849
+ .tsf-product-grid:where([data-previous]) { opacity: 0.55; transition: opacity 0.15s ease; }
850
+ .tsf-product-grid-item { min-inline-size: 0; }
851
+ .tsf-product-grid-skeleton-item { aspect-ratio: 4 / 5; border-radius: var(--throttle-sf-card-radius); background: var(--throttle-color-muted); animation: tsf-shop-pulse 1.4s ease-in-out infinite; }
852
+ @keyframes tsf-shop-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
853
+ @media (prefers-reduced-motion: reduce) {
854
+ .tsf-product-grid-skeleton-item { animation: none; }
855
+ .tsf-product-grid:where([data-previous]) { transition: none; }
856
+ }
857
+ .tsf-product-grid-empty, .tsf-product-grid-error { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-block: 48px; text-align: center; color: var(--throttle-color-muted-foreground); }
858
+
859
+ /* Pagination */
860
+ .tsf-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
861
+ .tsf-pagination-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
862
+ .tsf-pagination-link, .tsf-pagination-step, .tsf-pagination-gap {
863
+ display: inline-flex;
864
+ align-items: center;
865
+ justify-content: center;
866
+ min-inline-size: 44px;
867
+ min-block-size: 44px;
868
+ padding-inline: 8px;
869
+ border-radius: var(--throttle-sf-card-radius);
870
+ color: inherit;
871
+ text-decoration: none;
872
+ font-variant-numeric: tabular-nums;
873
+ box-sizing: border-box;
874
+ }
875
+ .tsf-pagination-link:hover, .tsf-pagination-step:hover { background: var(--throttle-color-muted); }
876
+ .tsf-pagination-link:where([aria-current="page"]) { border: 1px solid var(--throttle-color-foreground); font-weight: 600; }
877
+ .tsf-pagination-step:where([data-disabled]) { opacity: 0.4; }
878
+ .tsf-pagination-more {
879
+ min-block-size: 44px;
880
+ padding-inline: 24px;
881
+ border: 1px solid var(--throttle-color-border-control);
882
+ border-radius: var(--throttle-sf-card-radius);
883
+ background: var(--throttle-color-background);
884
+ color: var(--throttle-color-foreground);
885
+ font: inherit;
886
+ cursor: pointer;
887
+ }
888
+ .tsf-pagination-more:where([aria-disabled="true"]) { opacity: 0.6; cursor: progress; }
889
+ .tsf-pagination-crawl {
890
+ position: absolute;
891
+ inline-size: 1px;
892
+ block-size: 1px;
893
+ margin: -1px;
894
+ overflow: hidden;
895
+ clip: rect(0 0 0 0);
896
+ white-space: nowrap;
897
+ }
898
+
899
+ /* From 768px up the sidebar or the bar are the filters, and the drawer's button is only for phones. */
900
+ @media (min-width: 768px) {
901
+ .tsf-filter-drawer-trigger:where([data-phone-only]) { display: none; }
902
+ }
903
+
904
+ /* Phones: every filter layout is the drawer. */
905
+ @media (max-width: 767px) {
906
+ .tsf-filter-sidebar, .tsf-filter-bar { display: none; }
907
+ .tsf-shop-all-body:where([data-layout="sidebar"]) { grid-template-columns: minmax(0, 1fr); }
908
+ }
909
+
910
+ .tsf-product-page {
911
+ --tsf-main-columns: minmax(0, 1.1fr) minmax(0, 1fr);
912
+ --tsf-main-gap: 48px;
913
+ --tsf-buy-position: static;
914
+ --tsf-gallery-max: none;
915
+ --tsf-buy-max: none;
916
+ --tsf-main-justify: stretch;
917
+ display: block;
918
+ max-inline-size: 1280px;
919
+ margin-inline: auto;
920
+ padding-block: 24px 96px;
921
+ padding-inline: 16px;
922
+ box-sizing: border-box;
923
+ }
924
+ .tsf-product-page:where([data-layout="stacked"]) {
925
+ --tsf-main-columns: minmax(0, 1fr);
926
+ --tsf-main-gap: 32px;
927
+ --tsf-gallery-max: 720px;
928
+ --tsf-buy-max: 640px;
929
+ --tsf-main-justify: center;
930
+ }
931
+ .tsf-product-page:where([data-layout="editorial"]) {
932
+ --tsf-main-columns: minmax(0, 1.7fr) minmax(0, 1fr);
933
+ --tsf-main-gap: 64px;
934
+ --tsf-buy-position: sticky;
935
+ }
936
+ @media (max-width: 767px) {
937
+ .tsf-product-page,
938
+ .tsf-product-page:where([data-layout="stacked"]),
939
+ .tsf-product-page:where([data-layout="editorial"]) {
940
+ --tsf-main-columns: minmax(0, 1fr);
941
+ --tsf-main-gap: 24px;
942
+ --tsf-buy-position: static;
943
+ --tsf-gallery-max: none;
944
+ --tsf-buy-max: none;
945
+ }
946
+ }
947
+
948
+ .tsf-product-page-main {
949
+ display: grid;
950
+ grid-template-columns: var(--tsf-main-columns);
951
+ gap: var(--tsf-main-gap);
952
+ justify-content: var(--tsf-main-justify);
953
+ align-items: start;
954
+ margin-block-end: 48px;
955
+ }
956
+
957
+ /* Breadcrumbs */
958
+ .tsf-product-breadcrumbs { margin-block-end: 16px; font-size: var(--throttle-font-size-sm, 14px); color: var(--throttle-color-muted-foreground); }
959
+ .tsf-product-breadcrumbs-list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
960
+ .tsf-product-breadcrumbs-item { display: inline-flex; align-items: center; gap: 8px; }
961
+ .tsf-product-breadcrumbs-item:not(:last-child)::after { content: "/"; color: var(--throttle-color-border-control); }
962
+ .tsf-product-breadcrumbs-link { color: inherit; text-decoration: none; }
963
+ .tsf-product-breadcrumbs-link:hover { color: var(--throttle-color-foreground); text-decoration: underline; }
964
+ .tsf-product-breadcrumbs-current { color: var(--throttle-color-foreground); }
965
+ @media (max-width: 767px) {
966
+ .tsf-product-breadcrumbs-link,
967
+ .tsf-buy-box-rating { display: inline-flex; align-items: center; min-block-size: 44px; }
968
+ }
969
+
970
+ /* Gallery */
971
+ .tsf-gallery { display: grid; gap: 12px; max-inline-size: var(--tsf-gallery-max); inline-size: 100%; margin-inline: auto; min-inline-size: 0; }
972
+ .tsf-gallery-stage {
973
+ position: relative;
974
+ overflow: hidden;
975
+ border-radius: var(--throttle-sf-card-radius);
976
+ background: var(--throttle-color-muted);
977
+ touch-action: pan-y;
978
+ cursor: zoom-in;
979
+ outline-offset: 2px;
980
+ }
981
+ .tsf-gallery-stage:focus-visible { outline: 2px solid var(--throttle-color-primary); }
982
+ .tsf-gallery-item { display: block; transition: transform 0.2s ease; will-change: transform; }
983
+ .tsf-gallery-item:where([data-zoomed="true"]) { transform: scale(1.9); }
984
+ .tsf-gallery-item:where([data-zoomed="true"]) { cursor: zoom-in; }
985
+ .tsf-gallery-video { display: block; inline-size: 100%; block-size: auto; background: #000; }
986
+ .tsf-gallery-placeholder { aspect-ratio: 4 / 5; background: var(--throttle-color-muted); }
987
+ .tsf-gallery-previous, .tsf-gallery-next, .tsf-gallery-enlarge, .tsf-lightbox-previous, .tsf-lightbox-next {
988
+ position: absolute;
989
+ display: inline-flex;
990
+ align-items: center;
991
+ justify-content: center;
992
+ inline-size: 44px;
993
+ block-size: 44px;
994
+ padding: 0;
995
+ border: 1px solid var(--throttle-color-border);
996
+ border-radius: 999px;
997
+ background: color-mix(in srgb, var(--throttle-color-background) 88%, transparent);
998
+ color: var(--throttle-color-foreground);
999
+ cursor: pointer;
1000
+ }
1001
+ .tsf-gallery-previous { inset-inline-start: 12px; inset-block-start: calc(50% - 22px); }
1002
+ .tsf-gallery-next { inset-inline-end: 12px; inset-block-start: calc(50% - 22px); }
1003
+ .tsf-gallery-enlarge { inset-inline-end: 12px; inset-block-end: 12px; }
1004
+ .tsf-gallery-previous:hover, .tsf-gallery-next:hover, .tsf-gallery-enlarge:hover { background: var(--throttle-color-background); }
1005
+ .tsf-gallery-counter {
1006
+ position: absolute;
1007
+ inset-inline-start: 12px;
1008
+ inset-block-end: 12px;
1009
+ margin: 0;
1010
+ padding: 2px 10px;
1011
+ border-radius: 999px;
1012
+ background: color-mix(in srgb, var(--throttle-color-background) 88%, transparent);
1013
+ font-size: 12px;
1014
+ font-variant-numeric: tabular-nums;
1015
+ }
1016
+ .tsf-gallery-thumbs { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; overflow-x: auto; }
1017
+ .tsf-gallery-thumbs-item { flex: 0 0 72px; }
1018
+ .tsf-gallery-thumb {
1019
+ display: block;
1020
+ inline-size: 72px;
1021
+ padding: 0;
1022
+ border: 2px solid transparent;
1023
+ border-radius: calc(var(--throttle-sf-card-radius) / 1.5);
1024
+ background: var(--throttle-color-muted);
1025
+ overflow: hidden;
1026
+ cursor: pointer;
1027
+ opacity: 0.7;
1028
+ }
1029
+ .tsf-gallery-thumb:where([aria-current="true"]) { border-color: var(--throttle-color-foreground); opacity: 1; }
1030
+ .tsf-gallery-thumb:hover { opacity: 1; }
1031
+ .tsf-gallery-thumb:focus-visible { outline: 2px solid var(--throttle-color-primary); outline-offset: 2px; }
1032
+
1033
+ /* Lightbox (inside the ui modal) */
1034
+ .tsf-lightbox { position: relative; display: grid; place-items: center; min-inline-size: min(92vw, 960px); min-block-size: 50vh; }
1035
+ .tsf-lightbox-title { position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
1036
+ .tsf-lightbox-stage { display: grid; place-items: center; max-block-size: 82vh; }
1037
+ .tsf-lightbox-previous { inset-inline-start: 8px; inset-block-start: calc(50% - 22px); }
1038
+ .tsf-lightbox-next { inset-inline-end: 8px; inset-block-start: calc(50% - 22px); }
1039
+ .tsf-lightbox-counter { margin: 8px 0 0; font-size: 13px; color: var(--throttle-color-muted-foreground); font-variant-numeric: tabular-nums; }
1040
+
1041
+ /* Buy box */
1042
+ .tsf-buy-box {
1043
+ position: var(--tsf-buy-position);
1044
+ inset-block-start: 24px;
1045
+ display: grid;
1046
+ gap: 16px;
1047
+ max-inline-size: var(--tsf-buy-max);
1048
+ inline-size: 100%;
1049
+ margin-inline: auto;
1050
+ min-inline-size: 0;
1051
+ }
1052
+ .tsf-buy-box-kicker { margin: 0; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--throttle-color-muted-foreground); }
1053
+ .tsf-buy-box-title {
1054
+ margin: 0;
1055
+ font-family: var(--throttle-font-family-heading, inherit);
1056
+ font-size: clamp(26px, 3vw, 36px);
1057
+ line-height: 1.15;
1058
+ font-weight: var(--throttle-sf-heading-weight);
1059
+ letter-spacing: var(--throttle-sf-heading-tracking);
1060
+ text-transform: var(--throttle-sf-heading-transform);
1061
+ overflow-wrap: anywhere;
1062
+ }
1063
+ .tsf-buy-box-rating { justify-self: start; color: inherit; text-decoration: none; }
1064
+ .tsf-buy-box-summary { margin: 0; color: var(--throttle-color-muted-foreground); line-height: 1.55; }
1065
+ .tsf-buy-box-price { margin: 0; font-size: 22px; }
1066
+ .tsf-buy-box-sku { margin: 0; font-size: 13px; color: var(--throttle-color-muted-foreground); }
1067
+ .tsf-buy-box-actions { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
1068
+
1069
+ /* Variant picker */
1070
+ .tsf-variant-picker { display: grid; gap: 16px; }
1071
+ .tsf-variant-option { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
1072
+ .tsf-variant-option-legend { display: flex; gap: 8px; align-items: baseline; padding: 0; margin-block-end: 8px; font-size: 14px; }
1073
+ .tsf-variant-option-name { font-weight: 600; }
1074
+ .tsf-variant-option-chosen { color: var(--throttle-color-muted-foreground); }
1075
+ .tsf-variant-option-values { display: flex; flex-wrap: wrap; gap: 8px; }
1076
+ .tsf-variant-value {
1077
+ position: relative;
1078
+ display: inline-flex;
1079
+ align-items: center;
1080
+ justify-content: center;
1081
+ min-inline-size: 44px;
1082
+ min-block-size: 44px;
1083
+ padding-inline: 14px;
1084
+ border: 1px solid var(--throttle-color-border-control);
1085
+ border-radius: var(--throttle-radius);
1086
+ background: var(--throttle-color-background);
1087
+ color: var(--throttle-color-foreground);
1088
+ font: inherit;
1089
+ cursor: pointer;
1090
+ overflow: hidden;
1091
+ }
1092
+ .tsf-variant-value:where([data-kind="swatch"]) { padding-inline: 0; border-radius: 999px; min-inline-size: 44px; }
1093
+ .tsf-variant-value:hover { border-color: var(--throttle-color-foreground); }
1094
+ .tsf-variant-value:where([aria-pressed="true"]) { border-color: var(--throttle-color-foreground); box-shadow: inset 0 0 0 1px var(--throttle-color-foreground); }
1095
+ .tsf-variant-value:focus-visible { outline: 2px solid var(--throttle-color-primary); outline-offset: 2px; }
1096
+ .tsf-variant-value:where([data-sold-out]), .tsf-variant-value:where([data-unavailable]) { color: var(--throttle-color-muted-foreground); }
1097
+ .tsf-variant-value:where([data-sold-out])::after {
1098
+ content: "";
1099
+ position: absolute;
1100
+ inset: 0;
1101
+ background: linear-gradient(to bottom right, transparent calc(50% - 1px), var(--throttle-color-muted-foreground) 50%, transparent calc(50% + 1px));
1102
+ pointer-events: none;
1103
+ }
1104
+ .tsf-variant-value:where([data-unavailable]) { border-style: dashed; }
1105
+ .tsf-variant-value-label { pointer-events: none; }
1106
+
1107
+ /* Stock, quantity, add */
1108
+ .tsf-stock-status { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
1109
+ .tsf-stock-status::before { content: ""; inline-size: 8px; block-size: 8px; border-radius: 999px; background: var(--throttle-sf-success); }
1110
+ .tsf-stock-status:where([data-state="low"])::before { background: var(--throttle-sf-warning); }
1111
+ .tsf-stock-status:where([data-state="out"])::before, .tsf-stock-status:where([data-state="no_currency"])::before { background: var(--throttle-color-muted-foreground); }
1112
+ .tsf-stock-status:where([data-state="backorder"])::before, .tsf-stock-status:where([data-state="preorder"])::before { background: var(--throttle-sf-accent); }
1113
+
1114
+ .tsf-quantity-input { display: inline-flex; align-items: stretch; border: 1px solid var(--throttle-color-border-control); border-radius: var(--throttle-radius); overflow: hidden; }
1115
+ .tsf-quantity-decrease, .tsf-quantity-increase {
1116
+ inline-size: 44px;
1117
+ min-block-size: 48px;
1118
+ padding: 0;
1119
+ border: 0;
1120
+ background: var(--throttle-color-background);
1121
+ color: var(--throttle-color-foreground);
1122
+ font-size: 18px;
1123
+ cursor: pointer;
1124
+ }
1125
+ .tsf-quantity-decrease:where([aria-disabled="true"]), .tsf-quantity-increase:where([aria-disabled="true"]) { opacity: 0.4; cursor: not-allowed; }
1126
+ .tsf-quantity-field {
1127
+ inline-size: 56px;
1128
+ padding: 0;
1129
+ border: 0;
1130
+ border-inline: 1px solid var(--throttle-color-border);
1131
+ background: var(--throttle-color-background);
1132
+ color: var(--throttle-color-foreground);
1133
+ font: inherit;
1134
+ text-align: center;
1135
+ appearance: textfield;
1136
+ -moz-appearance: textfield;
1137
+ }
1138
+ .tsf-quantity-field::-webkit-outer-spin-button, .tsf-quantity-field::-webkit-inner-spin-button { appearance: none; margin: 0; }
1139
+
1140
+ .tsf-add-to-cart { display: grid; gap: 8px; min-inline-size: 0; }
1141
+ .tsf-add-to-cart-button, .tsf-sticky-add-to-cart-button {
1142
+ display: inline-flex;
1143
+ align-items: center;
1144
+ justify-content: center;
1145
+ gap: 8px;
1146
+ inline-size: 100%;
1147
+ min-block-size: 48px;
1148
+ padding-inline: 20px;
1149
+ border: 1px solid transparent;
1150
+ border-radius: var(--throttle-radius);
1151
+ background: var(--throttle-color-primary);
1152
+ color: var(--throttle-color-primary-foreground);
1153
+ font: inherit;
1154
+ font-weight: 600;
1155
+ cursor: pointer;
1156
+ }
1157
+ .tsf-add-to-cart-button:hover:not(:disabled), .tsf-sticky-add-to-cart-button:hover:not(:disabled) { filter: brightness(0.92); }
1158
+ .tsf-add-to-cart-button:disabled, .tsf-sticky-add-to-cart-button:disabled { opacity: 0.55; cursor: not-allowed; }
1159
+ .tsf-add-to-cart-button:where([aria-disabled="true"]) { cursor: progress; }
1160
+ .tsf-add-to-cart-button:focus-visible, .tsf-sticky-add-to-cart-button:focus-visible { outline: 2px solid var(--throttle-color-primary); outline-offset: 2px; }
1161
+ .tsf-add-to-cart-message { margin: 0; min-block-size: 1.4em; font-size: 14px; }
1162
+ .tsf-add-to-cart-message:where([data-tone="ok"]) { color: var(--throttle-sf-success); }
1163
+ .tsf-add-to-cart-message:where([data-tone="refused"]) { color: var(--throttle-sf-danger); }
1164
+
1165
+ .tsf-sticky-add-to-cart {
1166
+ position: fixed;
1167
+ inset-inline: 0;
1168
+ inset-block-end: 0;
1169
+ z-index: var(--throttle-z-popover, 30);
1170
+ display: flex;
1171
+ align-items: center;
1172
+ gap: 16px;
1173
+ padding: 12px 16px;
1174
+ border-block-start: 1px solid var(--throttle-color-border);
1175
+ background: var(--throttle-color-background);
1176
+ box-shadow: var(--throttle-shadow-popover, 0 -4px 16px rgba(0, 0, 0, 0.08));
1177
+ }
1178
+ .tsf-sticky-add-to-cart-title { flex: 1 1 auto; margin: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-inline-size: 0; }
1179
+ .tsf-sticky-add-to-cart-price { margin: 0; flex: 0 0 auto; }
1180
+ .tsf-sticky-add-to-cart-button { inline-size: auto; flex: 0 0 auto; }
1181
+
1182
+ /* Sections */
1183
+ .tsf-product-sections { display: grid; gap: 32px; }
1184
+ .tsf-product-sections:where([data-style="accordion"]) { gap: 0; border-block-start: 1px solid var(--throttle-color-border); }
1185
+ .tsf-product-section { min-inline-size: 0; scroll-margin-block-start: 16px; }
1186
+ .tsf-product-section:where([hidden]) { display: none; }
1187
+ .tsf-product-section-title {
1188
+ margin: 0 0 12px;
1189
+ font-family: var(--throttle-font-family-heading, inherit);
1190
+ font-size: 22px;
1191
+ font-weight: var(--throttle-sf-heading-weight);
1192
+ letter-spacing: var(--throttle-sf-heading-tracking);
1193
+ text-transform: var(--throttle-sf-heading-transform);
1194
+ }
1195
+ .tsf-product-section-title:where([data-in-tabs]) { position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
1196
+ .tsf-product-section-trigger {
1197
+ display: flex;
1198
+ align-items: center;
1199
+ justify-content: space-between;
1200
+ inline-size: 100%;
1201
+ min-block-size: 56px;
1202
+ padding: 0;
1203
+ border: 0;
1204
+ border-block-end: 1px solid var(--throttle-color-border);
1205
+ background: none;
1206
+ color: inherit;
1207
+ font: inherit;
1208
+ text-align: start;
1209
+ cursor: pointer;
1210
+ }
1211
+ .tsf-product-section-trigger:focus-visible { outline: 2px solid var(--throttle-color-primary); outline-offset: -2px; }
1212
+ .tsf-product-section-body { padding-block: 16px; min-inline-size: 0; }
1213
+ .tsf-product-section-body:where([hidden]) { display: none; }
1214
+ .tsf-product-specs { display: grid; margin: 0; }
1215
+ .tsf-product-specs-row { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr; gap: 16px; padding-block: 10px; border-block-end: 1px solid var(--throttle-color-border); }
1216
+ .tsf-product-specs-label { margin: 0; color: var(--throttle-color-muted-foreground); text-transform: capitalize; }
1217
+ .tsf-product-specs-value { margin: 0; overflow-wrap: anywhere; }
1218
+ .tsf-shipping-section { line-height: 1.6; }
1219
+
1220
+ .tsf-tag-list, .tsf-category-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
1221
+ .tsf-tag-list-link, .tsf-category-list-link {
1222
+ display: inline-flex;
1223
+ align-items: center;
1224
+ min-block-size: 36px;
1225
+ padding-inline: 14px;
1226
+ border: 1px solid var(--throttle-color-border-control);
1227
+ border-radius: 999px;
1228
+ color: inherit;
1229
+ text-decoration: none;
1230
+ font-size: 14px;
1231
+ }
1232
+ .tsf-tag-list-link:hover, .tsf-category-list-link:hover { border-color: var(--throttle-color-foreground); }
1233
+
1234
+ .tsf-related-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: var(--throttle-sf-grid-gap); margin: 0; padding: 0; list-style: none; }
1235
+ .tsf-related-products-item { min-inline-size: 0; }
1236
+
1237
+ /* Reviews */
1238
+ .tsf-product-reviews { display: grid; gap: 24px; }
1239
+ .tsf-product-reviews-summary { display: grid; gap: 12px; max-inline-size: 420px; }
1240
+ .tsf-product-reviews-main { display: grid; gap: 24px; min-inline-size: 0; }
1241
+ @media (min-width: 768px) {
1242
+ .tsf-product-reviews:where([data-layout="columns"]) { grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
1243
+ .tsf-product-reviews-summary:where([data-layout="columns"]) { max-inline-size: none; }
1244
+ }
1245
+ .tsf-product-reviews-average { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 36px; font-weight: 600; }
1246
+ .tsf-product-reviews-histogram { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
1247
+ .tsf-product-reviews-histogram-row {
1248
+ display: grid;
1249
+ grid-template-columns: 36px minmax(0, 1fr) 32px;
1250
+ align-items: center;
1251
+ gap: 10px;
1252
+ inline-size: 100%;
1253
+ min-block-size: 32px;
1254
+ padding: 0 6px;
1255
+ border: 1px solid transparent;
1256
+ border-radius: var(--throttle-radius-sm, 6px);
1257
+ background: none;
1258
+ color: inherit;
1259
+ font: inherit;
1260
+ font-size: 14px;
1261
+ cursor: pointer;
1262
+ }
1263
+ .tsf-product-reviews-histogram-row:hover { background: var(--throttle-color-muted); }
1264
+ .tsf-product-reviews-histogram-row:where([aria-pressed="true"]) { border-color: var(--throttle-color-foreground); background: var(--throttle-color-muted); }
1265
+ .tsf-product-reviews-histogram-row:focus-visible { outline: 2px solid var(--throttle-color-primary); }
1266
+ .tsf-product-reviews-histogram-bar { display: block; block-size: 8px; border-radius: 999px; background: var(--throttle-color-muted); overflow: hidden; }
1267
+ .tsf-product-reviews-histogram-fill { display: block; block-size: 100%; background: var(--throttle-color-warning); }
1268
+ .tsf-product-reviews-histogram-count { text-align: end; font-variant-numeric: tabular-nums; color: var(--throttle-color-muted-foreground); }
1269
+ .tsf-product-reviews-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; }
1270
+ .tsf-product-reviews-clear { min-block-size: 44px; padding-inline: 4px; border: 0; background: none; color: var(--throttle-sf-accent); font: inherit; text-decoration: underline; cursor: pointer; }
1271
+ .tsf-product-reviews-list { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
1272
+ .tsf-product-review { display: grid; gap: 6px; padding-block-end: 20px; border-block-end: 1px solid var(--throttle-color-border); }
1273
+ .tsf-product-review-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
1274
+ .tsf-product-review-date { font-size: 13px; color: var(--throttle-color-muted-foreground); }
1275
+ .tsf-product-review-title { margin: 0; font-size: 16px; }
1276
+ .tsf-product-review-body { margin: 0; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-line; }
1277
+ .tsf-product-review-author { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--throttle-color-muted-foreground); }
1278
+ .tsf-product-review-reply { padding: 12px 16px; border-inline-start: 3px solid var(--throttle-color-border-control); background: var(--throttle-color-muted); font-size: 14px; }
1279
+ .tsf-product-reviews-load-more {
1280
+ justify-self: start;
1281
+ min-block-size: 44px;
1282
+ padding-inline: 20px;
1283
+ border: 1px solid var(--throttle-color-border-control);
1284
+ border-radius: var(--throttle-radius);
1285
+ background: var(--throttle-color-background);
1286
+ color: inherit;
1287
+ font: inherit;
1288
+ cursor: pointer;
1289
+ }
1290
+ .tsf-product-reviews-load-more:where([aria-disabled="true"]) { cursor: progress; opacity: 0.7; }
1291
+ .tsf-product-reviews-empty, .tsf-product-reviews-gate, .tsf-product-reviews-error { margin: 0; color: var(--throttle-color-muted-foreground); }
1292
+ .tsf-product-reviews-error { color: var(--throttle-sf-danger); }
1293
+
1294
+ .tsf-review-form { display: grid; gap: 14px; max-inline-size: 520px; padding: 20px; border: 1px solid var(--throttle-color-border); border-radius: var(--throttle-sf-card-radius); }
1295
+ .tsf-review-form-title { margin: 0; font-weight: 600; font-size: 18px; }
1296
+ .tsf-review-form-stars { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; padding: 0; border: 0; }
1297
+ .tsf-review-form-star { position: relative; display: inline-flex; align-items: center; justify-content: center; inline-size: 44px; block-size: 44px; font-size: 26px; color: var(--throttle-color-border-control); cursor: pointer; }
1298
+ .tsf-review-form-star:where([data-on="true"]) { color: var(--throttle-color-warning); }
1299
+ .tsf-review-form-star-input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
1300
+ .tsf-review-form-star:focus-within { outline: 2px solid var(--throttle-color-primary); border-radius: 6px; }
1301
+ .tsf-review-form-field { display: grid; gap: 6px; font-size: 14px; }
1302
+ .tsf-review-form-textarea { padding: 10px 12px; border: 1px solid var(--throttle-color-border-control); border-radius: var(--throttle-radius); background: var(--throttle-color-background); color: inherit; font: inherit; resize: vertical; }
1303
+ .tsf-review-form-error { display: block; font-size: 13px; color: var(--throttle-sf-danger); }
1304
+ .tsf-review-form-submit { justify-self: start; min-block-size: 48px; padding-inline: 24px; border: 0; border-radius: var(--throttle-radius); background: var(--throttle-color-primary); color: var(--throttle-color-primary-foreground); font: inherit; font-weight: 600; cursor: pointer; }
1305
+ .tsf-review-form-submit:where([aria-disabled="true"]) { cursor: progress; opacity: 0.7; }
1306
+ .tsf-review-form-thanks { margin: 0; padding: 14px 16px; border-radius: var(--throttle-radius); background: var(--throttle-color-success-surface, var(--throttle-color-muted)); }
1307
+
1308
+ @media (prefers-reduced-motion: reduce) {
1309
+ .tsf-gallery-item { transition: none; }
1310
+ }
1311
+
1312
+ .tsf-skip-link {
1313
+ position: absolute;
1314
+ inset-inline-start: 8px;
1315
+ inset-block-start: -120px;
1316
+ z-index: 1000;
1317
+ padding: 12px 16px;
1318
+ border-radius: 8px;
1319
+ background: var(--throttle-color-primary);
1320
+ color: var(--throttle-color-primary-foreground);
1321
+ font-weight: 600;
1322
+ text-decoration: none;
1323
+ }
1324
+ .tsf-skip-link:focus { inset-block-start: 8px; }
1325
+
1326
+ .tsf-store-frame { display: flex; flex-direction: column; min-block-size: 100vh; }
1327
+ .tsf-store-frame-main { flex: 1 0 auto; }
1328
+ .tsf-store-frame-main:focus { outline: none; }
1329
+
1330
+ .tsf-announcement-bar {
1331
+ position: relative;
1332
+ display: flex;
1333
+ align-items: center;
1334
+ justify-content: center;
1335
+ min-block-size: 44px;
1336
+ padding-block: 4px;
1337
+ padding-inline: 52px;
1338
+ background: var(--throttle-color-primary);
1339
+ color: var(--throttle-color-primary-foreground);
1340
+ font-size: 13px;
1341
+ text-align: center;
1342
+ }
1343
+ .tsf-announcement-bar-text { display: inline-flex; align-items: center; min-block-size: 44px; margin: 0; color: inherit; text-decoration: none; }
1344
+ .tsf-announcement-bar-text:hover { text-decoration: underline; }
1345
+ .tsf-announcement-bar-dismiss {
1346
+ position: absolute;
1347
+ inset-inline-end: 4px;
1348
+ inset-block-start: 0;
1349
+ display: inline-flex;
1350
+ align-items: center;
1351
+ justify-content: center;
1352
+ min-inline-size: 44px;
1353
+ min-block-size: 44px;
1354
+ border: 0;
1355
+ background: transparent;
1356
+ color: inherit;
1357
+ cursor: pointer;
1358
+ }
1359
+
1360
+ .tsf-header:focus { outline: none; }
1361
+ .tsf-header { border-block-end: 1px solid var(--throttle-color-border); background: var(--throttle-color-background); color: var(--throttle-color-foreground); }
1362
+ .tsf-header-bar {
1363
+ display: flex;
1364
+ flex-wrap: wrap;
1365
+ align-items: center;
1366
+ gap: 4px 12px;
1367
+ max-inline-size: 1280px;
1368
+ margin-inline: auto;
1369
+ padding-block: 8px;
1370
+ padding-inline: 16px;
1371
+ }
1372
+ .tsf-header-menu-button,
1373
+ .tsf-header-drawer-close,
1374
+ .tsf-category-nav-toggle,
1375
+ .tsf-cart-button,
1376
+ .tsf-account-button {
1377
+ position: relative;
1378
+ display: inline-flex;
1379
+ align-items: center;
1380
+ justify-content: center;
1381
+ min-inline-size: 44px;
1382
+ min-block-size: 44px;
1383
+ border: 0;
1384
+ border-radius: 8px;
1385
+ background: transparent;
1386
+ color: inherit;
1387
+ cursor: pointer;
1388
+ text-decoration: none;
1389
+ }
1390
+ .tsf-header-menu-button:hover,
1391
+ .tsf-header-drawer-close:hover,
1392
+ .tsf-cart-button:hover,
1393
+ .tsf-account-button:hover { background: var(--throttle-color-muted); }
1394
+ @media (min-width: 960px) { .tsf-header-menu-button { display: none; } }
1395
+
1396
+ .tsf-header-brand {
1397
+ display: inline-flex;
1398
+ align-items: center;
1399
+ gap: 8px;
1400
+ flex: none;
1401
+ min-inline-size: 44px;
1402
+ min-block-size: 44px;
1403
+ color: inherit;
1404
+ font-size: 20px;
1405
+ font-weight: var(--throttle-sf-heading-weight);
1406
+ letter-spacing: var(--throttle-sf-heading-tracking);
1407
+ text-transform: var(--throttle-sf-heading-transform);
1408
+ text-decoration: none;
1409
+ }
1410
+ .tsf-header-logo { display: block; block-size: 32px; inline-size: auto; max-inline-size: 160px; }
1411
+ .tsf-header-store-name:where([data-has-logo]) {
1412
+ position: absolute;
1413
+ inline-size: 1px;
1414
+ block-size: 1px;
1415
+ margin: -1px;
1416
+ padding: 0;
1417
+ overflow: hidden;
1418
+ clip: rect(0 0 0 0);
1419
+ white-space: nowrap;
1420
+ border: 0;
1421
+ }
1422
+ .tsf-header-search { order: 3; flex: 1 1 100%; min-inline-size: 0; }
1423
+ @media (min-width: 640px) {
1424
+ .tsf-header-search { order: 0; flex: 1 1 auto; max-inline-size: 520px; margin-inline: auto; }
1425
+ }
1426
+ .tsf-header-actions { display: inline-flex; align-items: center; gap: 2px; margin-inline-start: auto; }
1427
+ @media (min-width: 640px) { .tsf-header-actions { margin-inline-start: 0; } }
1428
+
1429
+ .tsf-header-nav-row {
1430
+ display: flex;
1431
+ align-items: center;
1432
+ justify-content: space-between;
1433
+ gap: 16px;
1434
+ max-inline-size: 1280px;
1435
+ margin-inline: auto;
1436
+ padding-inline: 16px;
1437
+ }
1438
+ @media (max-width: 959px) { .tsf-header-nav-row { display: none; } }
1439
+ .tsf-header-prefs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-inline-start: auto; }
1440
+ .tsf-header-prefs:where([data-in-drawer]) { margin-inline-start: 0; padding-block: 8px; padding-inline: 16px; }
1441
+ .tsf-header-drawer-top {
1442
+ display: flex;
1443
+ align-items: center;
1444
+ justify-content: space-between;
1445
+ padding-block: 8px;
1446
+ padding-inline: 16px;
1447
+ border-block-end: 1px solid var(--throttle-color-border);
1448
+ }
1449
+ .tsf-header-drawer-title { margin: 0; font-size: 18px; font-weight: var(--throttle-sf-heading-weight); }
1450
+
1451
+ .tsf-category-nav-list { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; margin: 0; padding: 0; list-style: none; }
1452
+ .tsf-category-nav-list:where([data-stacked="true"]) { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding-block: 8px; padding-inline: 16px; }
1453
+ .tsf-category-nav-item { position: relative; display: flex; align-items: center; }
1454
+ .tsf-category-nav-item:where([data-stacked="true"]) { flex-wrap: wrap; }
1455
+ .tsf-category-nav-link {
1456
+ display: inline-flex;
1457
+ align-items: center;
1458
+ min-block-size: 44px;
1459
+ color: inherit;
1460
+ text-decoration: none;
1461
+ }
1462
+ .tsf-category-nav-link:hover { color: var(--throttle-sf-accent); }
1463
+ .tsf-category-nav-toggle { min-inline-size: 28px; }
1464
+ .tsf-category-nav-panel {
1465
+ position: absolute;
1466
+ inset-block-start: 100%;
1467
+ inset-inline-start: 0;
1468
+ z-index: 30;
1469
+ min-inline-size: 200px;
1470
+ margin: 0;
1471
+ padding: 8px;
1472
+ list-style: none;
1473
+ background: var(--throttle-color-background);
1474
+ border: 1px solid var(--throttle-color-border);
1475
+ border-radius: var(--throttle-radius, 8px);
1476
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
1477
+ }
1478
+ .tsf-category-nav-panel:where([data-stacked="true"]) {
1479
+ position: static;
1480
+ flex-basis: 100%;
1481
+ min-inline-size: 0;
1482
+ padding-block: 0;
1483
+ padding-inline: 16px 0;
1484
+ border: 0;
1485
+ box-shadow: none;
1486
+ }
1487
+
1488
+ .tsf-search-box {
1489
+ position: relative;
1490
+ display: flex;
1491
+ align-items: center;
1492
+ gap: 8px;
1493
+ min-block-size: 44px;
1494
+ padding-inline: 12px;
1495
+ border: 1px solid var(--throttle-color-border-control);
1496
+ border-radius: 999px;
1497
+ background: var(--throttle-color-background);
1498
+ color: var(--throttle-color-muted-foreground);
1499
+ }
1500
+ .tsf-search-box:focus-within { outline: 2px solid var(--throttle-sf-accent); outline-offset: 2px; }
1501
+ .tsf-search-box-input {
1502
+ flex: 1 1 auto;
1503
+ min-inline-size: 0;
1504
+ padding-block: 10px;
1505
+ border: 0;
1506
+ outline: none;
1507
+ background: transparent;
1508
+ color: var(--throttle-color-foreground);
1509
+ font: inherit;
1510
+ }
1511
+ .tsf-search-box-panel {
1512
+ position: absolute;
1513
+ inset-inline: 0;
1514
+ inset-block-start: calc(100% + 4px);
1515
+ z-index: 40;
1516
+ max-block-size: min(70vh, 480px);
1517
+ overflow: auto;
1518
+ padding: 8px;
1519
+ border: 1px solid var(--throttle-color-border);
1520
+ border-radius: var(--throttle-radius, 8px);
1521
+ background: var(--throttle-color-background);
1522
+ color: var(--throttle-color-foreground);
1523
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
1524
+ }
1525
+ .tsf-search-box-group-label {
1526
+ padding-block: 8px 4px;
1527
+ padding-inline: 8px;
1528
+ color: var(--throttle-color-muted-foreground);
1529
+ font-size: 12px;
1530
+ font-weight: 600;
1531
+ letter-spacing: 0.04em;
1532
+ text-transform: uppercase;
1533
+ }
1534
+ .tsf-search-box-option,
1535
+ .tsf-search-box-all {
1536
+ display: flex;
1537
+ align-items: center;
1538
+ gap: 10px;
1539
+ min-block-size: 44px;
1540
+ padding: 6px 8px;
1541
+ border-radius: 6px;
1542
+ color: inherit;
1543
+ text-decoration: none;
1544
+ }
1545
+ .tsf-search-box-option:hover,
1546
+ .tsf-search-box-all:hover,
1547
+ .tsf-search-box-option:where([aria-selected="true"]),
1548
+ .tsf-search-box-all:where([aria-selected="true"]) { background: var(--throttle-color-muted); }
1549
+ .tsf-search-box-all { font-weight: 600; color: var(--throttle-sf-accent); }
1550
+ .tsf-search-box-thumb { flex: none; inline-size: 40px; }
1551
+ .tsf-search-box-option-name { flex: 1 1 auto; min-inline-size: 0; overflow-wrap: anywhere; }
1552
+ .tsf-search-box-option-meta { flex: none; color: var(--throttle-color-muted-foreground); font-size: 13px; }
1553
+ .tsf-search-box-none { margin: 0; padding: 8px; color: var(--throttle-color-muted-foreground); }
1554
+ .tsf-search-box-status {
1555
+ position: absolute;
1556
+ inline-size: 1px;
1557
+ block-size: 1px;
1558
+ margin: -1px;
1559
+ padding: 0;
1560
+ overflow: hidden;
1561
+ clip: rect(0 0 0 0);
1562
+ white-space: nowrap;
1563
+ border: 0;
1564
+ }
1565
+
1566
+ .tsf-locale-switch,
1567
+ .tsf-currency-switch { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
1568
+ .tsf-locale-switch-label,
1569
+ .tsf-currency-switch-label { color: var(--throttle-color-muted-foreground); }
1570
+ .tsf-locale-switch-select,
1571
+ .tsf-currency-switch-select {
1572
+ min-block-size: 44px;
1573
+ padding-inline: 8px;
1574
+ border: 1px solid var(--throttle-color-border-control);
1575
+ border-radius: 6px;
1576
+ background: var(--throttle-color-background);
1577
+ color: var(--throttle-color-foreground);
1578
+ font: inherit;
1579
+ }
1580
+
1581
+ .tsf-cart-button-count {
1582
+ position: absolute;
1583
+ inset-block-start: 4px;
1584
+ inset-inline-end: 2px;
1585
+ min-inline-size: 18px;
1586
+ block-size: 18px;
1587
+ padding-inline: 4px;
1588
+ border-radius: 999px;
1589
+ background: var(--throttle-sf-accent);
1590
+ color: #ffffff;
1591
+ font-size: 11px;
1592
+ font-weight: 600;
1593
+ line-height: 18px;
1594
+ text-align: center;
1595
+ font-variant-numeric: tabular-nums;
1596
+ }
1597
+ .tsf-cart-button-count:where([data-empty]) { display: none; }
1598
+
1599
+ .tsf-header-menu-button:focus-visible,
1600
+ .tsf-header-drawer-close:focus-visible,
1601
+ .tsf-header-brand:focus-visible,
1602
+ .tsf-category-nav-link:focus-visible,
1603
+ .tsf-category-nav-toggle:focus-visible,
1604
+ .tsf-cart-button:focus-visible,
1605
+ .tsf-account-button:focus-visible,
1606
+ .tsf-announcement-bar-dismiss:focus-visible,
1607
+ .tsf-announcement-bar-text:focus-visible,
1608
+ .tsf-footer-link:focus-visible,
1609
+ .tsf-search-box-option:focus-visible,
1610
+ .tsf-search-box-all:focus-visible,
1611
+ .tsf-locale-switch-select:focus-visible,
1612
+ .tsf-currency-switch-select:focus-visible { outline: 2px solid var(--throttle-sf-accent); outline-offset: 2px; }
1613
+
1614
+ .tsf-footer {
1615
+ margin-block-start: 48px;
1616
+ padding-block: 32px;
1617
+ padding-inline: 16px;
1618
+ border-block-start: 1px solid var(--throttle-color-border);
1619
+ background: var(--throttle-color-surface);
1620
+ color: var(--throttle-color-foreground);
1621
+ }
1622
+ .tsf-footer-brand,
1623
+ .tsf-footer-extra { max-inline-size: 1280px; margin-inline: auto; margin-block-end: 24px; }
1624
+ .tsf-footer-extra { margin-block: 24px 0; }
1625
+ .tsf-footer-nav { max-inline-size: 1280px; margin-inline: auto; }
1626
+ .tsf-footer-list { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 40px; margin: 0; padding: 0; list-style: none; }
1627
+ .tsf-footer-sublist { display: grid; gap: 0; margin: 4px 0 0; padding: 0; list-style: none; }
1628
+ .tsf-footer-link { display: inline-flex; align-items: center; min-inline-size: 44px; min-block-size: 44px; color: inherit; text-decoration: none; }
1629
+ .tsf-footer-link:hover { color: var(--throttle-sf-accent); text-decoration: underline; }
1630
+ .tsf-footer-copyright { max-inline-size: 1280px; margin-block: 24px 0; margin-inline: auto; color: color-mix(in srgb, var(--throttle-color-muted-foreground) 75%, var(--throttle-color-foreground)); font-size: 13px; }
1631
+
1632
+ .tsf-merch-skeleton { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--throttle-sf-grid-gap); }
1633
+ .tsf-merch-skeleton-item { aspect-ratio: 4 / 5; border-radius: var(--throttle-sf-card-radius); background: var(--throttle-color-muted); }
1634
+ @media (min-width: 768px) { .tsf-merch-skeleton { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
1635
+
1636
+ .tsf-collection-shelf { display: block; }
1637
+ .tsf-collection-shelf-header,
1638
+ .tsf-product-carousel-header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-block-end: 16px; }
1639
+ .tsf-collection-shelf-title,
1640
+ .tsf-product-carousel-title { margin: 0; font-size: 22px; font-weight: var(--throttle-sf-heading-weight); letter-spacing: var(--throttle-sf-heading-tracking); text-transform: var(--throttle-sf-heading-transform); }
1641
+ .tsf-collection-shelf-eyebrow,
1642
+ .tsf-product-carousel-eyebrow { flex: 1 0 100%; margin: 0; color: var(--throttle-sf-accent); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
1643
+ .tsf-collection-shelf-link { display: inline-flex; align-items: center; min-block-size: 44px; color: var(--throttle-sf-accent); font-weight: 500; text-decoration: none; }
1644
+ .tsf-collection-shelf-link:hover { color: var(--throttle-sf-accent-hover); text-decoration: underline; }
1645
+ .tsf-collection-shelf-grid { display: grid; grid-template-columns: repeat(var(--tsf-columns-mobile, 2), minmax(0, 1fr)); gap: var(--throttle-sf-grid-gap); margin: 0; padding: 0; list-style: none; }
1646
+ .tsf-collection-shelf-item { min-inline-size: 0; }
1647
+ @media (min-width: 768px) { .tsf-collection-shelf-grid { grid-template-columns: repeat(var(--tsf-columns-desktop, 4), minmax(0, 1fr)); } }
1648
+
1649
+ .tsf-product-carousel { display: block; }
1650
+ .tsf-product-carousel-controls { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
1651
+ .tsf-product-carousel-prev,
1652
+ .tsf-product-carousel-next { display: inline-flex; align-items: center; justify-content: center; inline-size: 44px; block-size: 44px; padding: 0; border: 1px solid var(--throttle-color-border-control); border-radius: 999px; background: var(--throttle-color-background); color: var(--throttle-color-foreground); cursor: pointer; }
1653
+ .tsf-product-carousel-prev:hover:not(:disabled),
1654
+ .tsf-product-carousel-next:hover:not(:disabled) { border-color: var(--throttle-color-foreground); }
1655
+ .tsf-product-carousel-prev:disabled,
1656
+ .tsf-product-carousel-next:disabled { opacity: 0.4; cursor: default; }
1657
+ .tsf-product-carousel-track { display: flex; gap: var(--throttle-sf-grid-gap); margin: 0; padding: 0; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
1658
+ .tsf-product-carousel-item { flex: 0 0 68%; min-inline-size: 0; scroll-snap-align: start; }
1659
+ @media (min-width: 640px) { .tsf-product-carousel-item { flex-basis: calc((100% - var(--throttle-sf-grid-gap)) / 2); } }
1660
+ @media (min-width: 900px) { .tsf-product-carousel-item { flex-basis: calc((100% - 2 * var(--throttle-sf-grid-gap)) / 3); } }
1661
+ @media (min-width: 1200px) { .tsf-product-carousel-item { flex-basis: calc((100% - 3 * var(--throttle-sf-grid-gap)) / 4); } }
1662
+ @media (prefers-reduced-motion: no-preference) { .tsf-product-carousel-track { scroll-behavior: smooth; } }
1663
+
1664
+ .tsf-featured-product { display: grid; gap: 24px; align-items: center; }
1665
+ .tsf-featured-product-media { min-inline-size: 0; max-inline-size: 520px; }
1666
+ .tsf-featured-product-media-link { display: block; }
1667
+ .tsf-featured-product-placeholder { inline-size: 100%; background: var(--throttle-color-muted); border-radius: var(--throttle-sf-card-radius); }
1668
+ .tsf-featured-product-body { display: grid; gap: 12px; justify-items: start; min-inline-size: 0; }
1669
+ .tsf-featured-product-title { margin: 0; font-size: 28px; font-weight: var(--throttle-sf-heading-weight); letter-spacing: var(--throttle-sf-heading-tracking); text-transform: var(--throttle-sf-heading-transform); }
1670
+ .tsf-featured-product-price { margin: 0; font-size: 18px; }
1671
+ .tsf-featured-product-from { font-size: 14px; color: var(--throttle-color-muted-foreground); }
1672
+ .tsf-featured-product-description { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; color: var(--throttle-color-muted-foreground); }
1673
+ .tsf-featured-product-link { display: inline-flex; padding: 10px 20px; border-radius: var(--throttle-radius-md, 6px); background: var(--throttle-sf-accent); color: var(--throttle-color-background); font-weight: 600; text-decoration: none; }
1674
+ .tsf-featured-product-link:hover { background: var(--throttle-sf-accent-hover); }
1675
+ @media (min-width: 768px) {
1676
+ .tsf-featured-product:where([data-layout="image-left"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
1677
+ .tsf-featured-product:where([data-layout="image-right"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
1678
+ .tsf-featured-product-media:where([data-layout="image-right"]) { order: 2; }
1679
+ }
1680
+
1681
+ .tsf-category-directory { display: block; }
1682
+ .tsf-category-directory-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
1683
+ .tsf-category-directory-list:where([data-layout="list"]) { grid-template-columns: minmax(0, 1fr); gap: 4px; }
1684
+ @media (min-width: 768px) { .tsf-category-directory-list:where([data-layout="grid"]) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
1685
+ .tsf-category-directory-item { min-inline-size: 0; }
1686
+ .tsf-category-directory-link { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--throttle-color-border); border-radius: var(--throttle-sf-card-radius); color: inherit; text-decoration: none; }
1687
+ .tsf-category-directory-link:hover { border-color: var(--throttle-color-foreground); }
1688
+ .tsf-category-directory-image { inline-size: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--throttle-sf-card-radius); background: var(--throttle-color-muted); }
1689
+ .tsf-category-directory-name { font-weight: 600; }
1690
+ .tsf-category-directory-count { font-size: 13px; color: var(--throttle-color-muted-foreground); }
1691
+ .tsf-category-directory-children { display: grid; gap: 2px; margin: 6px 0 0; padding: 0; padding-inline-start: 16px; list-style: none; font-size: 14px; }
1692
+
1693
+ .tsf-reviews-list { display: block; }
1694
+ .tsf-reviews-list-items { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
1695
+ .tsf-reviews-list-item { display: grid; gap: 6px; padding-block-end: 20px; border-block-end: 1px solid var(--throttle-color-border); }
1696
+ .tsf-reviews-list-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
1697
+ .tsf-reviews-list-title { margin: 0; font-size: 16px; font-weight: 600; }
1698
+ .tsf-reviews-list-body { margin: 0; line-height: 1.6; overflow-wrap: anywhere; }
1699
+ .tsf-reviews-list-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; font-size: 13px; color: var(--throttle-color-muted-foreground); }
1700
+ .tsf-reviews-list-author { font-weight: 600; color: var(--throttle-color-foreground); }
1701
+ .tsf-reviews-list-verified { color: var(--throttle-sf-success); }
1702
+ .tsf-reviews-list-product { color: var(--throttle-sf-accent); }
1703
+ @media (max-width: 767px) {
1704
+ .tsf-reviews-list-product { display: inline-flex; align-items: center; min-block-size: 44px; }
1705
+ }
1706
+ .tsf-reviews-list-reply { padding: 10px 14px; border-inline-start: 3px solid var(--throttle-color-border); background: var(--throttle-color-muted); font-size: 14px; }
1707
+
1708
+ /* Cart drawer */
1709
+ .tsf-cart-drawer {
1710
+ display: flex;
1711
+ flex-direction: column;
1712
+ block-size: 100%;
1713
+ min-block-size: 0;
1714
+ color: var(--throttle-color-foreground);
1715
+ }
1716
+ .tsf-cart-drawer:where([data-inline]) { block-size: auto; }
1717
+ .tsf-cart-drawer-top {
1718
+ display: flex;
1719
+ align-items: center;
1720
+ justify-content: space-between;
1721
+ gap: 12px;
1722
+ padding-block: 12px;
1723
+ padding-inline: 20px;
1724
+ border-block-end: 1px solid var(--throttle-color-border);
1725
+ }
1726
+ .tsf-cart-drawer-title {
1727
+ margin: 0;
1728
+ font-family: var(--throttle-font-family-heading, inherit);
1729
+ font-size: 20px;
1730
+ font-weight: var(--throttle-sf-heading-weight);
1731
+ letter-spacing: var(--throttle-sf-heading-tracking);
1732
+ text-transform: var(--throttle-sf-heading-transform);
1733
+ }
1734
+ .tsf-cart-drawer-title:where([data-inline]) { margin-block-end: 12px; }
1735
+ .tsf-cart-drawer-close {
1736
+ display: inline-flex;
1737
+ align-items: center;
1738
+ justify-content: center;
1739
+ min-inline-size: 44px;
1740
+ min-block-size: 44px;
1741
+ border: 0;
1742
+ border-radius: 8px;
1743
+ background: transparent;
1744
+ color: inherit;
1745
+ cursor: pointer;
1746
+ }
1747
+ .tsf-cart-drawer-close:focus-visible,
1748
+ .tsf-cart-line-remove:focus-visible,
1749
+ .tsf-cart-line-decrease:focus-visible,
1750
+ .tsf-cart-line-increase:focus-visible,
1751
+ .tsf-cart-checkout:focus-visible,
1752
+ .tsf-cart-continue:focus-visible,
1753
+ .tsf-quick-add-button:focus-visible,
1754
+ .tsf-compare-button:focus-visible,
1755
+ .tsf-compare-clear:focus-visible,
1756
+ .tsf-compare-product-remove:focus-visible {
1757
+ outline: 2px solid var(--throttle-color-primary);
1758
+ outline-offset: 2px;
1759
+ }
1760
+ .tsf-cart-drawer-body {
1761
+ display: flex;
1762
+ flex-direction: column;
1763
+ flex: 1 1 auto;
1764
+ min-block-size: 0;
1765
+ }
1766
+ .tsf-cart-status:empty { display: none; }
1767
+ .tsf-cart-status { position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
1768
+ .tsf-cart-error {
1769
+ margin: 12px 20px 0;
1770
+ padding: 10px 12px;
1771
+ border-radius: var(--throttle-radius);
1772
+ background: var(--throttle-color-muted);
1773
+ color: var(--throttle-sf-danger);
1774
+ font-size: 14px;
1775
+ }
1776
+ .tsf-cart-loading { padding: 20px; }
1777
+ .tsf-cart-empty { display: grid; justify-items: center; gap: 16px; padding: 48px 20px; text-align: center; }
1778
+ .tsf-cart-empty-text { margin: 0; color: var(--throttle-color-muted-foreground); }
1779
+ .tsf-cart-lines {
1780
+ flex: 1 1 auto;
1781
+ min-block-size: 0;
1782
+ margin: 0;
1783
+ padding: 0 20px;
1784
+ list-style: none;
1785
+ overflow-y: auto;
1786
+ }
1787
+ .tsf-cart-line {
1788
+ display: grid;
1789
+ grid-template-columns: 72px minmax(0, 1fr) auto;
1790
+ grid-template-areas: "media body total" "media body remove";
1791
+ align-items: start;
1792
+ gap: 4px 12px;
1793
+ padding-block: 16px;
1794
+ border-block-end: 1px solid var(--throttle-color-border);
1795
+ }
1796
+ .tsf-cart-line:where([data-busy]) { opacity: 0.7; }
1797
+ .tsf-cart-line-media { grid-area: media; overflow: hidden; border-radius: var(--throttle-radius); background: var(--throttle-color-muted); }
1798
+ .tsf-cart-line-body { grid-area: body; display: grid; gap: 4px; min-inline-size: 0; }
1799
+ .tsf-cart-line-name { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
1800
+ .tsf-cart-line-price { margin: 0; color: var(--throttle-color-muted-foreground); font-size: 14px; }
1801
+ .tsf-cart-line-note { margin: 0; color: var(--throttle-sf-danger); font-size: 13px; }
1802
+ .tsf-cart-line-quantity {
1803
+ display: inline-flex;
1804
+ align-items: center;
1805
+ justify-self: start;
1806
+ margin-block-start: 4px;
1807
+ border: 1px solid var(--throttle-color-border-control);
1808
+ border-radius: var(--throttle-radius);
1809
+ }
1810
+ .tsf-cart-line-decrease,
1811
+ .tsf-cart-line-increase {
1812
+ display: inline-flex;
1813
+ align-items: center;
1814
+ justify-content: center;
1815
+ min-inline-size: 44px;
1816
+ min-block-size: 44px;
1817
+ border: 0;
1818
+ background: transparent;
1819
+ color: inherit;
1820
+ cursor: pointer;
1821
+ }
1822
+ .tsf-cart-line-decrease:disabled,
1823
+ .tsf-cart-line-increase:disabled { opacity: 0.4; cursor: not-allowed; }
1824
+ .tsf-cart-line-count { min-inline-size: 28px; text-align: center; font-variant-numeric: tabular-nums; }
1825
+ .tsf-cart-line-total { grid-area: total; margin: 0; font-weight: 600; text-align: end; }
1826
+ .tsf-cart-line-remove {
1827
+ grid-area: remove;
1828
+ align-self: end;
1829
+ justify-self: end;
1830
+ min-block-size: 44px;
1831
+ padding-inline: 4px;
1832
+ border: 0;
1833
+ background: transparent;
1834
+ color: var(--throttle-color-muted-foreground);
1835
+ font: inherit;
1836
+ font-size: 13px;
1837
+ text-decoration: underline;
1838
+ cursor: pointer;
1839
+ }
1840
+ .tsf-cart-line-remove:disabled { opacity: 0.5; cursor: not-allowed; }
1841
+ .tsf-cart-footer {
1842
+ display: grid;
1843
+ gap: 12px;
1844
+ padding-block: 16px;
1845
+ padding-inline: 20px;
1846
+ border-block-start: 1px solid var(--throttle-color-border);
1847
+ background: var(--throttle-color-background);
1848
+ }
1849
+ .tsf-cart-subtotal { display: flex; align-items: baseline; justify-content: space-between; margin: 0; font-size: 18px; font-weight: 600; }
1850
+ .tsf-cart-checkout {
1851
+ min-block-size: 48px;
1852
+ padding-inline: 20px;
1853
+ border: 1px solid transparent;
1854
+ border-radius: var(--throttle-radius);
1855
+ background: var(--throttle-color-primary);
1856
+ color: var(--throttle-color-primary-foreground);
1857
+ font: inherit;
1858
+ font-weight: 600;
1859
+ cursor: pointer;
1860
+ }
1861
+ .tsf-cart-checkout:hover:not(:disabled) { filter: brightness(0.92); }
1862
+ .tsf-cart-checkout:disabled { opacity: 0.55; cursor: not-allowed; }
1863
+ .tsf-cart-checkout:where([aria-disabled="true"]) { cursor: progress; }
1864
+ .tsf-cart-continue {
1865
+ display: inline-flex;
1866
+ align-items: center;
1867
+ justify-content: center;
1868
+ min-block-size: 44px;
1869
+ padding-inline: 12px;
1870
+ border: 0;
1871
+ background: transparent;
1872
+ color: var(--throttle-sf-accent);
1873
+ font: inherit;
1874
+ text-decoration: underline;
1875
+ cursor: pointer;
1876
+ }
1877
+
1878
+ /* Quick add */
1879
+ .tsf-quick-add { position: relative; display: grid; gap: 4px; justify-items: end; }
1880
+ .tsf-quick-add-button,
1881
+ .tsf-compare-button {
1882
+ min-block-size: 44px;
1883
+ padding-inline: 14px;
1884
+ border: 1px solid var(--throttle-color-border-control);
1885
+ border-radius: var(--throttle-radius);
1886
+ background: var(--throttle-color-background);
1887
+ color: var(--throttle-color-foreground);
1888
+ font: inherit;
1889
+ font-size: 14px;
1890
+ font-weight: 600;
1891
+ cursor: pointer;
1892
+ }
1893
+ .tsf-quick-add-button:hover,
1894
+ .tsf-compare-button:hover:not(:disabled) { background: var(--throttle-color-muted); }
1895
+ .tsf-quick-add-button:where([aria-disabled="true"]) { cursor: progress; }
1896
+ .tsf-compare-button:where([aria-pressed="true"]) { border-color: var(--throttle-sf-accent); color: var(--throttle-sf-accent); }
1897
+ .tsf-compare-button:disabled { opacity: 0.5; cursor: not-allowed; }
1898
+ .tsf-quick-add-message { margin: 0; max-inline-size: 220px; font-size: 13px; text-align: end; }
1899
+ .tsf-quick-add-message:empty { display: none; }
1900
+ .tsf-quick-add-message:where([data-tone="ok"]) { color: var(--throttle-sf-success); }
1901
+ .tsf-quick-add-message:where([data-tone="refused"]) { color: var(--throttle-sf-danger); }
1902
+ .tsf-quick-add-panel {
1903
+ position: fixed;
1904
+ z-index: var(--throttle-z-popover, 30);
1905
+ display: grid;
1906
+ gap: 12px;
1907
+ inline-size: min(280px, calc(100vw - 16px));
1908
+ overflow-y: auto;
1909
+ padding: 16px;
1910
+ border: 1px solid var(--throttle-color-border);
1911
+ border-radius: var(--throttle-radius);
1912
+ background: var(--throttle-color-background);
1913
+ color: var(--throttle-color-foreground);
1914
+ box-shadow: var(--throttle-shadow-popover, 0 8px 24px rgba(0, 0, 0, 0.12));
1915
+ text-align: start;
1916
+ }
1917
+ .tsf-quick-add-title { margin: 0; font-weight: 600; }
1918
+
1919
+ /* Quick view */
1920
+ .tsf-quick-view-title {
1921
+ position: absolute;
1922
+ inline-size: 1px;
1923
+ block-size: 1px;
1924
+ margin: -1px;
1925
+ overflow: hidden;
1926
+ clip-path: inset(50%);
1927
+ white-space: nowrap;
1928
+ }
1929
+ .tsf-quick-view { padding: 24px; }
1930
+ .tsf-quick-view-message { margin: 0; padding: 24px; text-align: center; color: var(--throttle-color-muted-foreground); }
1931
+ .tsf-quick-view-body { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
1932
+ @media (min-width: 640px) {
1933
+ .tsf-quick-view-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
1934
+ }
1935
+ .tsf-quick-view-gallery, .tsf-quick-view-details { min-inline-size: 0; }
1936
+ .tsf-quick-view-details { display: grid; align-content: start; gap: 16px; }
1937
+ .tsf-quick-view-link { color: var(--throttle-sf-accent); text-decoration: underline; }
1938
+
1939
+ /* Recently viewed */
1940
+ .tsf-recently-viewed { display: grid; gap: 16px; }
1941
+ .tsf-recently-viewed-title {
1942
+ margin: 0;
1943
+ font-family: var(--throttle-font-family-heading, inherit);
1944
+ font-size: 22px;
1945
+ font-weight: var(--throttle-sf-heading-weight);
1946
+ letter-spacing: var(--throttle-sf-heading-tracking);
1947
+ text-transform: var(--throttle-sf-heading-transform);
1948
+ }
1949
+ .tsf-recently-viewed-list {
1950
+ display: flex;
1951
+ gap: var(--throttle-sf-grid-gap, 16px);
1952
+ margin: 0;
1953
+ padding: 0;
1954
+ list-style: none;
1955
+ overflow-x: auto;
1956
+ scroll-snap-type: x proximity;
1957
+ }
1958
+ .tsf-recently-viewed-item { flex: 0 0 min(220px, 60vw); min-inline-size: 0; scroll-snap-align: start; }
1959
+
1960
+ /* Compare */
1961
+ .tsf-compare { display: grid; gap: 16px; }
1962
+ .tsf-compare-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
1963
+ .tsf-compare-title {
1964
+ margin: 0;
1965
+ font-family: var(--throttle-font-family-heading, inherit);
1966
+ font-size: 22px;
1967
+ font-weight: var(--throttle-sf-heading-weight);
1968
+ letter-spacing: var(--throttle-sf-heading-tracking);
1969
+ text-transform: var(--throttle-sf-heading-transform);
1970
+ }
1971
+ .tsf-compare-clear {
1972
+ min-block-size: 44px;
1973
+ padding-inline: 12px;
1974
+ border: 0;
1975
+ background: transparent;
1976
+ color: var(--throttle-sf-accent);
1977
+ font: inherit;
1978
+ text-decoration: underline;
1979
+ cursor: pointer;
1980
+ }
1981
+ .tsf-compare-empty { margin: 0; color: var(--throttle-color-muted-foreground); }
1982
+ .tsf-compare-scroll { overflow-x: auto; }
1983
+ .tsf-compare-table { inline-size: 100%; min-inline-size: 560px; border-collapse: collapse; table-layout: fixed; }
1984
+ .tsf-compare-caption {
1985
+ position: absolute;
1986
+ inline-size: 1px;
1987
+ block-size: 1px;
1988
+ margin: -1px;
1989
+ overflow: hidden;
1990
+ clip-path: inset(50%);
1991
+ white-space: nowrap;
1992
+ }
1993
+ .tsf-compare-label {
1994
+ inline-size: 140px;
1995
+ padding: 12px;
1996
+ border-block-end: 1px solid var(--throttle-color-border);
1997
+ color: var(--throttle-color-muted-foreground);
1998
+ font-size: 14px;
1999
+ font-weight: 600;
2000
+ text-align: start;
2001
+ vertical-align: top;
2002
+ }
2003
+ .tsf-compare-product {
2004
+ position: relative;
2005
+ padding: 12px;
2006
+ border-block-end: 1px solid var(--throttle-color-border);
2007
+ font-weight: 600;
2008
+ text-align: start;
2009
+ vertical-align: top;
2010
+ }
2011
+ .tsf-compare-product-media { overflow: hidden; margin-block-end: 8px; border-radius: var(--throttle-radius); background: var(--throttle-color-muted); }
2012
+ .tsf-compare-product-link { color: inherit; text-decoration: none; }
2013
+ .tsf-compare-product-link:hover { text-decoration: underline; }
2014
+ .tsf-compare-product-remove {
2015
+ position: absolute;
2016
+ inset-block-start: 4px;
2017
+ inset-inline-end: 4px;
2018
+ display: inline-flex;
2019
+ align-items: center;
2020
+ justify-content: center;
2021
+ min-inline-size: 44px;
2022
+ min-block-size: 44px;
2023
+ border: 0;
2024
+ border-radius: 999px;
2025
+ background: var(--throttle-color-background);
2026
+ color: var(--throttle-color-foreground);
2027
+ cursor: pointer;
2028
+ }
2029
+ .tsf-compare-cell { padding: 12px; border-block-end: 1px solid var(--throttle-color-border); vertical-align: top; overflow-wrap: anywhere; }
2030
+
2031
+ .tsf-search-results { max-inline-size: 1280px; margin-inline: auto; padding-block: 24px; padding-inline: 16px; }
2032
+ .tsf-search-results-title {
2033
+ margin-block: 0 16px;
2034
+ font-size: 28px;
2035
+ font-weight: var(--throttle-sf-heading-weight);
2036
+ letter-spacing: var(--throttle-sf-heading-tracking);
2037
+ text-transform: var(--throttle-sf-heading-transform);
2038
+ }
2039
+ .tsf-search-results-prompt { margin: 0; color: var(--throttle-color-muted-foreground); }
2040
+
2041
+ .tsf-not-found {
2042
+ display: grid;
2043
+ justify-items: center;
2044
+ gap: 12px;
2045
+ padding-block: 64px;
2046
+ padding-inline: 16px;
2047
+ text-align: center;
2048
+ }
2049
+ .tsf-not-found-code {
2050
+ margin: 0;
2051
+ color: var(--throttle-color-muted-foreground);
2052
+ font-size: 72px;
2053
+ font-weight: 700;
2054
+ line-height: 1;
2055
+ letter-spacing: -0.03em;
2056
+ }
2057
+ .tsf-not-found-title {
2058
+ margin: 0;
2059
+ font-size: 28px;
2060
+ font-weight: var(--throttle-sf-heading-weight);
2061
+ letter-spacing: var(--throttle-sf-heading-tracking);
2062
+ text-transform: var(--throttle-sf-heading-transform);
2063
+ }
2064
+ .tsf-not-found-body { max-inline-size: 44ch; margin: 0; color: var(--throttle-color-muted-foreground); }
2065
+ .tsf-not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-block: 12px 0; margin-inline: 0; }
2066
+ .tsf-not-found-link {
2067
+ display: inline-flex;
2068
+ align-items: center;
2069
+ min-block-size: 44px;
2070
+ padding-inline: 20px;
2071
+ border: 1px solid var(--throttle-color-border-control);
2072
+ border-radius: var(--throttle-radius, 8px);
2073
+ color: inherit;
2074
+ font-weight: 600;
2075
+ text-decoration: none;
2076
+ }
2077
+ .tsf-not-found-link:first-child { border-color: transparent; background: var(--throttle-color-primary); color: var(--throttle-color-primary-foreground); }
2078
+ .tsf-not-found-link:focus-visible { outline: 2px solid var(--throttle-sf-accent); outline-offset: 2px; }
2079
+
2080
+ .tsf-account-page { max-inline-size: 960px; margin-inline: auto; padding-block: 32px; padding-inline: 16px; }
2081
+ .tsf-account-page-title { margin-block: 0 16px; font-size: 28px; font-weight: var(--throttle-sf-heading-weight); letter-spacing: var(--throttle-sf-heading-tracking); text-transform: var(--throttle-sf-heading-transform); }
2082
+ .tsf-account-page-setup-notice {
2083
+ max-inline-size: 560px;
2084
+ margin-block: 48px;
2085
+ margin-inline: auto;
2086
+ padding: 24px;
2087
+ border: 1px solid var(--throttle-color-border);
2088
+ border-radius: var(--throttle-radius, 8px);
2089
+ background: var(--throttle-color-surface);
2090
+ }
2091
+ .tsf-account-page-setup-title { margin-block: 0 8px; font-size: 18px; }
2092
+ .tsf-account-page-setup-body { margin: 0; color: color-mix(in srgb, var(--throttle-color-muted-foreground) 75%, var(--throttle-color-foreground)); }
2093
+
2094
+ [data-throttle-preset="clean"] {
2095
+ --throttle-sf-heading-weight: 600;
2096
+ --throttle-sf-heading-tracking: -0.01em;
2097
+ --throttle-sf-heading-transform: none;
2098
+ }
2099
+
2100
+ [data-throttle-preset="editorial"] {
2101
+ --throttle-sf-heading-weight: 400;
2102
+ --throttle-sf-heading-tracking: 0;
2103
+ --throttle-sf-heading-transform: none;
2104
+ }
2105
+
2106
+ [data-throttle-preset="bold"] {
2107
+ --throttle-sf-heading-weight: 800;
2108
+ --throttle-sf-heading-tracking: 0.02em;
2109
+ --throttle-sf-heading-transform: uppercase;
2110
+ }
2111
+ }