@nuvler/cli 0.5.16 → 0.5.18

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 (32) hide show
  1. package/dist/api/theme-context.js +2 -0
  2. package/dist/api/theme-context.js.map +1 -1
  3. package/dist/commands/theme/create.js +1 -1
  4. package/dist/nuvler.js +24 -1
  5. package/dist/nuvler.js.map +1 -1
  6. package/dist/templates/nuvler-atelier/package.json +2 -2
  7. package/dist/templates/nuvler-default/README.md +4 -4
  8. package/dist/templates/nuvler-default/nuvler.theme.json +1 -1
  9. package/dist/templates/nuvler-default/package.json +2 -2
  10. package/dist/templates/nuvler-default/src/catalog-filters.tsx +169 -0
  11. package/dist/templates/nuvler-default/src/contact-form.tsx +172 -0
  12. package/dist/templates/nuvler-default/src/home-data.ts +30 -0
  13. package/dist/templates/nuvler-default/src/home.tsx +2 -196
  14. package/dist/templates/nuvler-default/src/interaction-colors.ts +49 -0
  15. package/dist/templates/nuvler-default/src/kit-composition.ts +15 -0
  16. package/dist/templates/nuvler-default/src/kit-group-selector.tsx +230 -0
  17. package/dist/templates/nuvler-default/src/kit-selection.ts +39 -0
  18. package/dist/templates/nuvler-default/src/product-detail-interactive.tsx +420 -115
  19. package/dist/templates/nuvler-default/src/product-detail.tsx +141 -59
  20. package/dist/templates/nuvler-default/src/products.tsx +143 -12
  21. package/dist/templates/nuvler-default/src/server-shell.tsx +21 -3
  22. package/dist/templates/nuvler-default/src/theme-component.tsx +85 -24
  23. package/dist/templates/nuvler-default/src/theme.css +673 -6
  24. package/dist/templates/nuvler-default/src/whatsapp-message.ts +82 -0
  25. package/dist/templates/nuvler-default/test/catalog-filters.test.mjs +44 -0
  26. package/dist/templates/nuvler-default/test/interaction-colors.test.mjs +74 -0
  27. package/dist/templates/nuvler-default/test/kit-composition.test.mjs +28 -0
  28. package/dist/templates/nuvler-default/test/kit-detail.test.mjs +292 -0
  29. package/dist/templates/nuvler-default/test/whatsapp-message.test.mjs +126 -0
  30. package/dist/templates/starter/package.json +2 -2
  31. package/package.json +3 -3
  32. package/preview-host/package.json +1 -1
@@ -1347,6 +1347,23 @@ select {
1347
1347
  cursor: pointer;
1348
1348
  line-height: 1;
1349
1349
  }
1350
+ .cart-quantity .cart-remove {
1351
+ width: auto;
1352
+ min-width: 0;
1353
+ flex-shrink: 0;
1354
+ padding: 0 10px;
1355
+ border-color: #fecaca;
1356
+ color: #b42318;
1357
+ font-size: 12px;
1358
+ white-space: nowrap;
1359
+ }
1360
+ .cart-quantity .cart-remove:hover {
1361
+ background: #fef2f2;
1362
+ }
1363
+ .cart-quantity .cart-remove:focus-visible {
1364
+ outline: 2px solid #b42318;
1365
+ outline-offset: 2px;
1366
+ }
1350
1367
  .cart-quantity .cart-delete {
1351
1368
  border-color: #fecaca;
1352
1369
  color: #b42318;
@@ -3583,7 +3600,13 @@ a.mini-banner-card:focus-visible {
3583
3600
  .catalog-filters {
3584
3601
  position: sticky;
3585
3602
  top: 146px;
3586
- overflow: hidden;
3603
+ box-sizing: border-box;
3604
+ max-height: calc(100vh - 162px);
3605
+ max-height: calc(100dvh - 162px);
3606
+ overflow-x: hidden;
3607
+ overflow-y: auto;
3608
+ overscroll-behavior-y: contain;
3609
+ scrollbar-gutter: stable;
3587
3610
  align-items: stretch;
3588
3611
  align-self: start;
3589
3612
  gap: 0;
@@ -3846,7 +3869,7 @@ a.mini-banner-card:focus-visible {
3846
3869
  .product-main-image {
3847
3870
  position: relative;
3848
3871
  overflow: hidden;
3849
- aspect-ratio: 1 / 1;
3872
+ aspect-ratio: auto;
3850
3873
  border: 1px solid var(--store-line);
3851
3874
  border-radius: var(--border-radius);
3852
3875
  background: var(--store-surface);
@@ -3943,17 +3966,23 @@ a.mini-banner-card:focus-visible {
3943
3966
  }
3944
3967
  }
3945
3968
 
3946
- .product-main-image img,
3947
- .product-main-image .store-image-placeholder {
3969
+ .product-main-image img {
3970
+ display: block;
3948
3971
  width: 100%;
3949
- height: 100%;
3972
+ height: auto;
3950
3973
  object-fit: contain;
3951
3974
  }
3952
3975
 
3976
+ .product-main-image .store-image-placeholder {
3977
+ width: 100%;
3978
+ height: auto;
3979
+ aspect-ratio: 1 / 1;
3980
+ }
3981
+
3953
3982
  .product-main-image > [data-product-main-image] {
3954
3983
  display: block;
3955
3984
  width: 100%;
3956
- height: 100%;
3985
+ height: auto;
3957
3986
  }
3958
3987
 
3959
3988
  .product-main-image > [data-product-main-image][hidden] {
@@ -5395,7 +5424,10 @@ a.mini-banner-card:focus-visible {
5395
5424
 
5396
5425
  .catalog-filters {
5397
5426
  position: static;
5427
+ max-height: none;
5398
5428
  overflow: visible;
5429
+ overscroll-behavior-y: auto;
5430
+ scrollbar-gutter: auto;
5399
5431
  align-items: stretch;
5400
5432
  flex-direction: column;
5401
5433
  padding: 16px;
@@ -5753,3 +5785,638 @@ a.mini-banner-card:focus-visible {
5753
5785
  transition-duration: 0.01ms !important;
5754
5786
  }
5755
5787
  }
5788
+
5789
+ .kit-heading {
5790
+ display: flex;
5791
+ flex-wrap: wrap;
5792
+ align-items: center;
5793
+ gap: 8px 12px;
5794
+ }
5795
+ .kit-heading h2 {
5796
+ margin: 0;
5797
+ font-size: 1.15rem;
5798
+ font-weight: 750;
5799
+ }
5800
+ .kit-heading p {
5801
+ flex-basis: 100%;
5802
+ margin: 0;
5803
+ color: var(--store-muted);
5804
+ font-size: 13px;
5805
+ line-height: 1.6;
5806
+ }
5807
+ .kit-groups {
5808
+ display: grid;
5809
+ gap: 12px;
5810
+ margin: 24px 0 16px;
5811
+ }
5812
+ .kit-selector {
5813
+ min-width: 0;
5814
+ border: 1px solid var(--store-line);
5815
+ border-radius: 14px;
5816
+ background: var(--store-surface);
5817
+ overflow: hidden;
5818
+ }
5819
+ .kit-selector[data-complete] {
5820
+ border-color: color-mix(in srgb, var(--color-primary), var(--store-line) 45%);
5821
+ }
5822
+ .kit-group-header {
5823
+ display: flex;
5824
+ align-items: center;
5825
+ gap: 10px;
5826
+ padding: 14px;
5827
+ list-style: none;
5828
+ }
5829
+ summary.kit-group-header {
5830
+ cursor: pointer;
5831
+ }
5832
+ summary.kit-group-header::-webkit-details-marker {
5833
+ display: none;
5834
+ }
5835
+ summary.kit-group-header:focus-visible {
5836
+ outline: 2px solid var(--color-primary);
5837
+ outline-offset: -3px;
5838
+ border-radius: 12px;
5839
+ }
5840
+ summary.kit-group-header:hover {
5841
+ background: color-mix(in srgb, var(--color-primary), transparent 97%);
5842
+ }
5843
+ .kit-group-header .kit-group-image {
5844
+ display: block;
5845
+ width: 44px;
5846
+ height: 44px;
5847
+ flex: 0 0 44px;
5848
+ object-fit: cover;
5849
+ border: 1px solid var(--store-line);
5850
+ border-radius: 10px;
5851
+ }
5852
+ .kit-group-title {
5853
+ display: grid;
5854
+ flex: 1;
5855
+ min-width: 0;
5856
+ gap: 4px;
5857
+ }
5858
+ .kit-group-name {
5859
+ font-size: 14px;
5860
+ font-weight: 750;
5861
+ line-height: 1.4;
5862
+ overflow-wrap: anywhere;
5863
+ }
5864
+ .kit-group-preview {
5865
+ display: -webkit-box;
5866
+ -webkit-line-clamp: 2;
5867
+ -webkit-box-orient: vertical;
5868
+ overflow: hidden;
5869
+ color: var(--store-muted);
5870
+ font-size: 11px;
5871
+ line-height: 1.5;
5872
+ overflow-wrap: anywhere;
5873
+ }
5874
+ .kit-group-status {
5875
+ display: grid;
5876
+ justify-items: end;
5877
+ gap: 3px;
5878
+ flex-shrink: 0;
5879
+ font-size: 10px;
5880
+ color: var(--store-muted);
5881
+ }
5882
+ .kit-group-status > span:first-child {
5883
+ font-size: 12px;
5884
+ font-weight: 750;
5885
+ color: var(--store-text);
5886
+ font-variant-numeric: tabular-nums;
5887
+ }
5888
+ .kit-group-status[data-complete] {
5889
+ color: var(--store-text);
5890
+ }
5891
+ .kit-group-status[data-complete] > span:first-child {
5892
+ padding: 3px 7px;
5893
+ border-radius: 999px;
5894
+ background: color-mix(in srgb, var(--color-primary), transparent 88%);
5895
+ }
5896
+ .kit-group-chevron {
5897
+ width: 16px;
5898
+ height: 16px;
5899
+ flex-shrink: 0;
5900
+ fill: none;
5901
+ stroke: var(--store-muted);
5902
+ stroke-width: 1.8;
5903
+ transition: transform 0.18s;
5904
+ }
5905
+ .kit-group-accordion[open] > .kit-group-header .kit-group-chevron {
5906
+ transform: rotate(180deg);
5907
+ }
5908
+ .kit-group-body {
5909
+ display: grid;
5910
+ gap: 10px;
5911
+ padding: 0 12px 12px;
5912
+ }
5913
+ .kit-group-accordion:not([open]) > .kit-group-body {
5914
+ display: none;
5915
+ }
5916
+ .kit-group-instructions {
5917
+ margin: 0 2px 2px;
5918
+ font-size: 12px;
5919
+ color: var(--store-muted);
5920
+ line-height: 1.5;
5921
+ }
5922
+ .kit-flavor {
5923
+ display: grid;
5924
+ grid-template-columns: minmax(0, 1fr) auto;
5925
+ align-items: center;
5926
+ gap: 8px 12px;
5927
+ padding: 10px 12px;
5928
+ border: 1px solid var(--store-line);
5929
+ border-radius: 10px;
5930
+ background: var(--store-surface);
5931
+ transition:
5932
+ border-color 0.18s,
5933
+ background 0.18s;
5934
+ }
5935
+ .kit-flavor[data-selected] {
5936
+ border-color: color-mix(in srgb, var(--color-primary), var(--store-line) 45%);
5937
+ background: color-mix(
5938
+ in srgb,
5939
+ var(--color-primary),
5940
+ var(--store-surface) 97%
5941
+ );
5942
+ }
5943
+ .kit-flavor > label {
5944
+ min-width: 0;
5945
+ font-size: 13px;
5946
+ font-weight: 600;
5947
+ line-height: 1.5;
5948
+ overflow-wrap: anywhere;
5949
+ }
5950
+ .kit-flavor[data-unavailable] > label {
5951
+ color: var(--store-muted);
5952
+ }
5953
+ .kit-flavor small {
5954
+ display: block;
5955
+ font-weight: 400;
5956
+ font-size: 11px;
5957
+ }
5958
+ .kit-controls {
5959
+ display: contents;
5960
+ }
5961
+ .kit-stepper {
5962
+ grid-column: 2;
5963
+ display: flex;
5964
+ align-items: center;
5965
+ border: 1px solid var(--store-line);
5966
+ border-radius: 9px;
5967
+ background: var(--store-surface);
5968
+ overflow: hidden;
5969
+ }
5970
+ .kit-controls button {
5971
+ display: grid;
5972
+ place-items: center;
5973
+ min-width: 38px;
5974
+ height: 40px;
5975
+ padding: 0 8px;
5976
+ border: 0;
5977
+ background: transparent;
5978
+ color: var(--store-text);
5979
+ font: inherit;
5980
+ font-size: 14px;
5981
+ font-weight: 600;
5982
+ cursor: pointer;
5983
+ transition: background 0.18s;
5984
+ }
5985
+ .kit-controls button:hover:not(:disabled) {
5986
+ background: color-mix(in srgb, var(--color-primary), transparent 90%);
5987
+ }
5988
+ .kit-stepper input {
5989
+ width: 44px;
5990
+ min-width: 0;
5991
+ height: 40px;
5992
+ padding: 0 2px;
5993
+ border: 0;
5994
+ border-inline: 1px solid var(--store-line);
5995
+ border-radius: 0;
5996
+ background: transparent;
5997
+ color: var(--store-text);
5998
+ text-align: center;
5999
+ font: inherit;
6000
+ font-size: 14px;
6001
+ font-weight: 700;
6002
+ appearance: textfield;
6003
+ }
6004
+ .kit-stepper input::-webkit-inner-spin-button,
6005
+ .kit-stepper input::-webkit-outer-spin-button {
6006
+ -webkit-appearance: none;
6007
+ margin: 0;
6008
+ }
6009
+ .kit-shortcuts {
6010
+ grid-column: 1 / -1;
6011
+ display: flex;
6012
+ justify-content: flex-end;
6013
+ flex-wrap: wrap;
6014
+ gap: 6px;
6015
+ }
6016
+ .kit-shortcuts button {
6017
+ height: 32px;
6018
+ border: 1px solid var(--store-line);
6019
+ border-radius: 8px;
6020
+ color: var(--store-muted);
6021
+ font-size: 11px;
6022
+ }
6023
+ .kit-controls button:focus-visible,
6024
+ .kit-controls input:focus-visible {
6025
+ outline: 2px solid var(--color-primary);
6026
+ outline-offset: -3px;
6027
+ }
6028
+ .kit-controls button:disabled,
6029
+ .kit-controls input:disabled,
6030
+ .product-purchase button:disabled {
6031
+ opacity: 0.4;
6032
+ cursor: not-allowed;
6033
+ }
6034
+ .kit-group-progress {
6035
+ display: grid;
6036
+ gap: 8px;
6037
+ padding: 4px 2px;
6038
+ }
6039
+ .kit-progress {
6040
+ display: block;
6041
+ appearance: none;
6042
+ width: 100%;
6043
+ height: 5px;
6044
+ border: 0;
6045
+ border-radius: 999px;
6046
+ overflow: hidden;
6047
+ background: var(--store-line);
6048
+ color: var(--color-primary);
6049
+ }
6050
+ .kit-progress::-webkit-progress-bar {
6051
+ background: var(--store-line);
6052
+ border-radius: 999px;
6053
+ }
6054
+ .kit-progress::-webkit-progress-value {
6055
+ background: var(--color-primary);
6056
+ border-radius: 999px;
6057
+ transition: width 0.18s;
6058
+ }
6059
+ .kit-progress::-moz-progress-bar {
6060
+ background: var(--color-primary);
6061
+ border-radius: 999px;
6062
+ }
6063
+ .kit-group-progress p {
6064
+ margin: 0;
6065
+ color: var(--store-muted);
6066
+ font-size: 11px;
6067
+ line-height: 1.5;
6068
+ }
6069
+ .kit-purchase-actions {
6070
+ display: grid;
6071
+ gap: 10px;
6072
+ padding: 14px;
6073
+ border: 1px solid var(--store-line);
6074
+ border-radius: 14px;
6075
+ background: var(--store-surface);
6076
+ }
6077
+ .kit-completion-summary {
6078
+ display: grid;
6079
+ gap: 8px;
6080
+ }
6081
+ .kit-completion-summary p {
6082
+ margin: 0;
6083
+ font-size: 12px;
6084
+ color: var(--store-muted);
6085
+ line-height: 1.5;
6086
+ }
6087
+ .kit-completion-summary strong {
6088
+ font-size: 13px;
6089
+ color: var(--store-text);
6090
+ }
6091
+ .kit-completion-groups {
6092
+ display: flex;
6093
+ flex-wrap: wrap;
6094
+ gap: 6px;
6095
+ }
6096
+ .kit-completion-groups > span {
6097
+ padding: 4px 8px;
6098
+ border-radius: 6px;
6099
+ border: 1px solid var(--store-line);
6100
+ font-size: 10px;
6101
+ color: var(--store-muted);
6102
+ }
6103
+ .kit-completion-groups > span[data-complete] {
6104
+ background: color-mix(in srgb, var(--color-primary), transparent 90%);
6105
+ border-color: transparent;
6106
+ color: var(--store-text);
6107
+ }
6108
+ .cart-item small {
6109
+ white-space: pre-line;
6110
+ }
6111
+ @media (max-width: 380px) {
6112
+ .kit-group-header {
6113
+ padding: 12px;
6114
+ gap: 8px;
6115
+ }
6116
+ .kit-flavor {
6117
+ padding: 10px;
6118
+ gap: 8px;
6119
+ }
6120
+ .kit-controls button {
6121
+ min-width: 34px;
6122
+ }
6123
+ .kit-stepper input {
6124
+ width: 38px;
6125
+ }
6126
+ .kit-shortcuts {
6127
+ gap: 4px;
6128
+ }
6129
+ }
6130
+
6131
+ /* Optional per-store search and cart colors. */
6132
+ .header-search input {
6133
+ background: var(--search-background, var(--store-surface));
6134
+ color: var(--search-text, var(--store-text));
6135
+ border-color: var(--search-border, var(--store-line));
6136
+ }
6137
+ .header-search input::placeholder {
6138
+ color: var(--search-muted, var(--store-muted));
6139
+ opacity: 1;
6140
+ }
6141
+ .header-search-toggle {
6142
+ background: var(--search-toggle-background, transparent);
6143
+ color: var(--search-toggle-text, var(--store-header-text));
6144
+ }
6145
+ .header-search-toggle:hover {
6146
+ background: var(--search-toggle-hover, var(--store-surface-alt));
6147
+ }
6148
+ .header-search button[type="submit"] {
6149
+ background: var(--search-button-background, var(--color-secondary));
6150
+ color: var(--search-button-text, #fff);
6151
+ }
6152
+ .header-search button[type="submit"]:hover {
6153
+ background: var(--search-toggle-hover, var(--store-surface-alt));
6154
+ }
6155
+ .header-search .header-search-close {
6156
+ background: transparent;
6157
+ color: var(--search-text, var(--store-text));
6158
+ }
6159
+ .header-search .header-search-close:hover {
6160
+ background: var(--search-hover, var(--store-surface-alt));
6161
+ }
6162
+ .header-search-toggle:focus-visible,
6163
+ .header-search button:focus-visible {
6164
+ outline: 2px solid currentColor;
6165
+ outline-offset: 2px;
6166
+ }
6167
+ .search-suggestions {
6168
+ --store-surface-alt: var(--search-hover);
6169
+ --store-surface: var(--search-background);
6170
+ --store-text: var(--search-text);
6171
+ --store-muted: var(--search-muted);
6172
+ --store-line: var(--search-border);
6173
+ color: var(--store-text);
6174
+ }
6175
+ .cart-button {
6176
+ background: var(--cart-button-background, var(--store-surface));
6177
+ color: var(--cart-button-text, var(--store-text));
6178
+ }
6179
+ .cart-button span {
6180
+ border-color: var(--cart-button-background, var(--store-surface));
6181
+ }
6182
+ .cart-drawer {
6183
+ --store-surface: var(--cart-background);
6184
+ --store-text: var(--cart-text);
6185
+ --store-muted: var(--cart-muted);
6186
+ --store-line: var(--cart-border);
6187
+ color: var(--store-text);
6188
+ }
6189
+ .cart-heading button {
6190
+ background: var(--cart-close-background, var(--store-background));
6191
+ }
6192
+
6193
+ .cart-quantity button {
6194
+ color: var(--cart-text, var(--store-text));
6195
+ }
6196
+
6197
+ /* The desktop sidebar and mobile dialog share one set of filter inputs. */
6198
+ .catalog-filter-container {
6199
+ display: contents;
6200
+ }
6201
+ .catalog-mobile-toolbar,
6202
+ .catalog-filter-mobile-heading,
6203
+ .catalog-filter-mobile-actions,
6204
+ .catalog-filter-backdrop {
6205
+ display: none;
6206
+ }
6207
+ .catalog-filter-body {
6208
+ width: 100%;
6209
+ min-height: 0;
6210
+ }
6211
+ @media (max-width: 800px) {
6212
+ .catalog-page .catalog-hero {
6213
+ padding: 24px 0;
6214
+ }
6215
+ .catalog-page .catalog-hero h1 {
6216
+ font-size: clamp(24px, 6vw, 32px);
6217
+ margin: 8px 0 0;
6218
+ line-height: 1.2;
6219
+ }
6220
+ .catalog-page .catalog-hero p {
6221
+ margin-top: 8px;
6222
+ font-size: 13px;
6223
+ }
6224
+ .catalog-page .catalog-layout {
6225
+ padding-top: 20px;
6226
+ padding-bottom: 36px;
6227
+ gap: 16px;
6228
+ }
6229
+ .catalog-filter-container {
6230
+ display: block;
6231
+ min-width: 0;
6232
+ }
6233
+ .catalog-mobile-toolbar {
6234
+ display: flex;
6235
+ align-items: center;
6236
+ justify-content: space-between;
6237
+ gap: 12px;
6238
+ font-size: 13px;
6239
+ color: var(--store-muted);
6240
+ }
6241
+ .catalog-mobile-toolbar > button {
6242
+ display: flex;
6243
+ align-items: center;
6244
+ gap: 8px;
6245
+ min-height: 44px;
6246
+ padding: 8px 14px;
6247
+ border: 1px solid var(--store-line);
6248
+ border-radius: 10px;
6249
+ background: var(--store-surface);
6250
+ color: var(--store-text);
6251
+ font: inherit;
6252
+ font-weight: 700;
6253
+ cursor: pointer;
6254
+ }
6255
+ .catalog-mobile-toolbar svg {
6256
+ width: 18px;
6257
+ height: 18px;
6258
+ fill: none;
6259
+ stroke: currentColor;
6260
+ stroke-width: 1.8;
6261
+ stroke-linecap: round;
6262
+ }
6263
+ .catalog-filter-count {
6264
+ display: grid;
6265
+ place-items: center;
6266
+ min-width: 22px;
6267
+ height: 22px;
6268
+ border-radius: 999px;
6269
+ background: var(--color-primary);
6270
+ color: var(--color-primary-text);
6271
+ font-size: 11px;
6272
+ }
6273
+ .catalog-filter-container > .catalog-filters {
6274
+ display: none;
6275
+ }
6276
+ .catalog-filter-container[data-filters-open] > .catalog-filters {
6277
+ display: flex;
6278
+ position: fixed;
6279
+ inset: 0 0 0 auto;
6280
+ z-index: 220;
6281
+ width: min(420px, 100%);
6282
+ height: 100dvh;
6283
+ max-height: 100dvh;
6284
+ margin: 0;
6285
+ padding: 0;
6286
+ border: 0;
6287
+ border-radius: 0;
6288
+ overflow: hidden;
6289
+ background: var(--store-surface);
6290
+ color: var(--store-text);
6291
+ }
6292
+ .catalog-filter-backdrop {
6293
+ display: block;
6294
+ position: fixed;
6295
+ inset: 0;
6296
+ z-index: 210;
6297
+ background: rgb(0 0 0 / 45%);
6298
+ }
6299
+ .catalog-filter-mobile-heading {
6300
+ display: flex;
6301
+ align-items: center;
6302
+ justify-content: space-between;
6303
+ flex-shrink: 0;
6304
+ gap: 16px;
6305
+ padding: max(16px, env(safe-area-inset-top)) 16px 16px;
6306
+ border-bottom: 1px solid var(--store-line);
6307
+ }
6308
+ .catalog-filter-mobile-heading strong {
6309
+ margin: 0;
6310
+ font-size: 17px;
6311
+ }
6312
+ .catalog-filter-mobile-heading button {
6313
+ width: 44px;
6314
+ height: 44px;
6315
+ border: 0;
6316
+ border-radius: 10px;
6317
+ background: var(--store-surface-alt);
6318
+ color: var(--store-text);
6319
+ font-size: 26px;
6320
+ cursor: pointer;
6321
+ }
6322
+ .catalog-filter-body {
6323
+ flex: 1;
6324
+ overflow-y: auto;
6325
+ overscroll-behavior-y: contain;
6326
+ padding: 18px 16px;
6327
+ }
6328
+ .catalog-filter-mobile-actions {
6329
+ display: flex;
6330
+ align-items: center;
6331
+ gap: 12px;
6332
+ flex-shrink: 0;
6333
+ padding: 14px 16px max(14px, env(safe-area-inset-bottom));
6334
+ border-top: 1px solid var(--store-line);
6335
+ }
6336
+ .catalog-filter-mobile-actions > a {
6337
+ width: auto;
6338
+ flex: 0 0 auto;
6339
+ padding: 12px;
6340
+ color: var(--store-text);
6341
+ text-decoration: underline;
6342
+ }
6343
+ .catalog-filter-mobile-actions > button {
6344
+ flex: 1;
6345
+ min-height: 44px;
6346
+ }
6347
+ .catalog-filter-body .catalog-variant-filters > button {
6348
+ display: none;
6349
+ }
6350
+ .catalog-results > .catalog-toolbar {
6351
+ display: none;
6352
+ }
6353
+ .catalog-page .catalog-results .product-grid,
6354
+ .catalog-page .catalog-results .product-grid[data-columns] {
6355
+ grid-template-columns: repeat(2, minmax(0, 1fr));
6356
+ gap: 10px;
6357
+ }
6358
+ .catalog-page .product-card {
6359
+ min-width: 0;
6360
+ }
6361
+ .catalog-page .product-card-image {
6362
+ aspect-ratio: 1;
6363
+ }
6364
+ .catalog-page .product-card-content {
6365
+ padding: 10px;
6366
+ gap: 6px;
6367
+ }
6368
+ .catalog-page .product-card h3 {
6369
+ display: -webkit-box;
6370
+ -webkit-box-orient: vertical;
6371
+ -webkit-line-clamp: 2;
6372
+ overflow: hidden;
6373
+ min-height: 2.7em;
6374
+ margin: 0;
6375
+ font-size: 13px;
6376
+ line-height: 1.35;
6377
+ }
6378
+ .catalog-page .product-card-description,
6379
+ .catalog-page .product-card-sku {
6380
+ display: none;
6381
+ }
6382
+ .catalog-page .product-card-price {
6383
+ margin-top: auto;
6384
+ }
6385
+ .catalog-page .product-card-price strong {
6386
+ font-size: 16px;
6387
+ }
6388
+ .catalog-page .product-card-price > span {
6389
+ font-size: 11px;
6390
+ }
6391
+ .catalog-page .product-card-content > .product-card-action {
6392
+ min-height: 40px;
6393
+ margin-top: 4px !important;
6394
+ padding: 8px 5px;
6395
+ font-size: 11px;
6396
+ line-height: 1.3;
6397
+ text-align: center;
6398
+ }
6399
+ .catalog-page .product-card-badge,
6400
+ .catalog-page .product-card-stock {
6401
+ padding: 4px 6px;
6402
+ font-size: 9px;
6403
+ }
6404
+ .catalog-page .catalog-pagination {
6405
+ flex-wrap: wrap;
6406
+ gap: 10px;
6407
+ }
6408
+ .catalog-page .catalog-pagination > a {
6409
+ min-height: 44px;
6410
+ }
6411
+ }
6412
+
6413
+ .mobile-menu-trigger {
6414
+ color: var(--mobile-menu-text, var(--store-header-text));
6415
+ }
6416
+ .mobile-menu-trigger:hover {
6417
+ background: var(--mobile-menu-hover, transparent);
6418
+ }
6419
+ .mobile-menu-trigger:focus-visible {
6420
+ outline: 2px solid currentColor;
6421
+ outline-offset: 2px;
6422
+ }