@orunelle/theme-engine 0.0.0-stage → 2.0.0-alpha.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/sections.css ADDED
@@ -0,0 +1,781 @@
1
+ /* Generated from styles.css by tools/sections-css.mjs; do not edit.
2
+ Section library, product page and color schemes without page-wide resets.
3
+ Themes with their own design import this file and map the --store-* tokens
4
+ (accent, ink, paper, line, muted, ground, tint, on-accent) to their palette. */
5
+ :where(:root) {
6
+ --store-accent: var(--setting-accent, #7042b0);
7
+ --store-ink: #241536;
8
+ --store-muted: #6a6074;
9
+ --store-paper: #fff;
10
+ --store-ground: #f8f6fb;
11
+ --store-line: #ece9ef;
12
+ --store-tint: #f1e9fb;
13
+ --store-on-accent: #fff;
14
+ --store-accent-hover: color-mix(in srgb, var(--store-accent) 78%, #000);
15
+ }
16
+ .theme-link-button {
17
+ display: inline-block;
18
+ padding: 0.75rem 1.2rem;
19
+ color: var(--store-paper);
20
+ background: var(--store-accent);
21
+ border-radius: 0.5rem;
22
+ text-decoration: none;
23
+ }
24
+ .theme-link-button:hover {
25
+ background: var(--store-accent-hover);
26
+ color: var(--store-paper);
27
+ }
28
+ .theme-copy {
29
+ max-width: 65ch;
30
+ color: var(--store-muted);
31
+ }
32
+ .product-image-empty {
33
+ aspect-ratio: 4 / 3;
34
+ display: grid;
35
+ place-items: center;
36
+ border-radius: 0.75rem;
37
+ background: var(--store-ground);
38
+ color: var(--store-muted);
39
+ font-size: 0.85rem;
40
+ }
41
+ .product-detail-image {
42
+ aspect-ratio: 1;
43
+ }
44
+ .sample-notice {
45
+ margin-top: 2rem;
46
+ font-size: 0.9rem;
47
+ color: var(--store-muted);
48
+ }
49
+ .back-link {
50
+ display: inline-block;
51
+ margin-bottom: 2rem;
52
+ font-size: 0.9rem;
53
+ }
54
+
55
+ /* Color schemes: a section opts in with data-scheme. Derived tokens are
56
+ redeclared here so they follow the scheme instead of the page root. */
57
+ [data-scheme="scheme-1"] {
58
+ --store-paper: var(--setting-scheme-1-background, #fff);
59
+ --store-ink: var(--setting-scheme-1-text, #241536);
60
+ --store-accent: var(
61
+ --setting-scheme-1-accent,
62
+ var(--setting-accent, #7042b0)
63
+ );
64
+ }
65
+ [data-scheme="scheme-2"] {
66
+ --store-paper: var(--setting-scheme-2-background, #1d1429);
67
+ --store-ink: var(--setting-scheme-2-text, #f6f2fb);
68
+ --store-accent: var(--setting-scheme-2-accent, #c9a7ff);
69
+ }
70
+ [data-scheme="scheme-3"] {
71
+ --store-paper: var(--setting-scheme-3-background, #f1e9fb);
72
+ --store-ink: var(--setting-scheme-3-text, #241536);
73
+ --store-accent: var(--setting-scheme-3-accent, #58308e);
74
+ }
75
+ [data-scheme] {
76
+ --store-accent-hover: color-mix(
77
+ in srgb,
78
+ var(--store-accent) 78%,
79
+ var(--store-ink)
80
+ );
81
+ --store-muted: color-mix(in srgb, var(--store-ink) 68%, var(--store-paper));
82
+ --store-line: color-mix(in srgb, var(--store-ink) 14%, var(--store-paper));
83
+ --store-ground: color-mix(in srgb, var(--store-ink) 5%, var(--store-paper));
84
+ --store-tint: color-mix(in srgb, var(--store-accent) 14%, var(--store-paper));
85
+ --store-on-accent: var(--store-paper);
86
+ background: var(--store-paper);
87
+ color: var(--store-ink);
88
+ }
89
+ /* Non-default schemes read as a distinct band inside the page width. */
90
+ .theme-products[data-scheme]:not([data-scheme="scheme-1"]),
91
+ .theme-introduction[data-scheme]:not([data-scheme="scheme-1"]) {
92
+ padding-inline: clamp(1.25rem, 4vw, 3rem);
93
+ border-radius: 1rem;
94
+ }
95
+ .theme-products[data-scheme]:not([data-scheme="scheme-1"]) {
96
+ padding-block: clamp(1.5rem, 4vw, 3rem);
97
+ }
98
+
99
+ /* ── Section library ─────────────────────────────────────────────────────── */
100
+ .theme-section {
101
+ margin-block: clamp(2rem, 5vw, 4rem);
102
+ }
103
+ .theme-section[data-scheme]:not([data-scheme="scheme-1"]) {
104
+ padding: clamp(1.5rem, 4vw, 3rem);
105
+ border-radius: 1rem;
106
+ }
107
+ .theme-section-title {
108
+ font-size: clamp(1.4rem, 2.6vw, 2rem);
109
+ margin-bottom: 1.5rem;
110
+ }
111
+ .theme-section-head {
112
+ display: flex;
113
+ align-items: baseline;
114
+ justify-content: space-between;
115
+ gap: 1rem;
116
+ margin-bottom: 1.5rem;
117
+ }
118
+ .theme-section-head .theme-section-title {
119
+ margin: 0;
120
+ }
121
+ .theme-grid {
122
+ display: grid;
123
+ gap: 1.5rem;
124
+ grid-template-columns: repeat(min(var(--columns, 3), 2), minmax(0, 1fr));
125
+ }
126
+ @media (min-width: 64rem) {
127
+ .theme-grid {
128
+ grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr));
129
+ }
130
+ }
131
+ .theme-narrow {
132
+ max-width: 46rem;
133
+ margin-inline: auto;
134
+ }
135
+ .theme-editor-hint {
136
+ padding: 1.5rem;
137
+ border: 1px dashed var(--store-line);
138
+ border-radius: 0.75rem;
139
+ color: var(--store-muted);
140
+ text-align: center;
141
+ }
142
+ .theme-media-empty {
143
+ background: linear-gradient(135deg, var(--store-ground), var(--store-tint));
144
+ }
145
+
146
+ /* Announcement bar */
147
+ .theme-announcement {
148
+ margin: 0;
149
+ padding: 0.6rem 1rem;
150
+ text-align: center;
151
+ font-size: 0.9rem;
152
+ }
153
+ .theme-announcement a {
154
+ text-decoration: none;
155
+ }
156
+
157
+ /* Image banner and slides share one layered layout. */
158
+ .theme-banner,
159
+ .theme-slide {
160
+ position: relative;
161
+ display: grid;
162
+ overflow: hidden;
163
+ border-radius: 1rem;
164
+ isolation: isolate;
165
+ }
166
+ .theme-height-small {
167
+ --banner-height: 18rem;
168
+ }
169
+ .theme-height-medium {
170
+ --banner-height: 28rem;
171
+ }
172
+ .theme-height-large {
173
+ --banner-height: 40rem;
174
+ }
175
+ .theme-banner,
176
+ .theme-slide {
177
+ min-height: min(var(--banner-height, 28rem), 85vh);
178
+ }
179
+ .theme-banner-media {
180
+ position: absolute;
181
+ inset: 0;
182
+ z-index: -2;
183
+ width: 100%;
184
+ height: 100%;
185
+ object-fit: cover;
186
+ }
187
+ .theme-banner::after,
188
+ .theme-slide::after {
189
+ content: "";
190
+ position: absolute;
191
+ inset: 0;
192
+ z-index: -1;
193
+ background: rgb(0 0 0 / var(--overlay, 0.3));
194
+ }
195
+ .theme-banner-content {
196
+ align-self: center;
197
+ display: grid;
198
+ gap: 1rem;
199
+ padding: clamp(1.5rem, 5vw, 4rem);
200
+ color: #fff;
201
+ }
202
+ .theme-align-center .theme-banner-content {
203
+ text-align: center;
204
+ justify-items: center;
205
+ }
206
+
207
+ /* Slideshow: native scroll snapping keeps it swipeable without a library. */
208
+ .theme-slideshow {
209
+ position: relative;
210
+ }
211
+ .theme-slides {
212
+ display: grid;
213
+ grid-auto-flow: column;
214
+ grid-auto-columns: 100%;
215
+ overflow-x: auto;
216
+ scroll-snap-type: x mandatory;
217
+ scrollbar-width: none;
218
+ border-radius: 1rem;
219
+ }
220
+ .theme-slides::-webkit-scrollbar {
221
+ display: none;
222
+ }
223
+ .theme-slides > * {
224
+ scroll-snap-align: start;
225
+ }
226
+ .theme-slide {
227
+ border-radius: 0;
228
+ }
229
+ .theme-slide-controls {
230
+ display: flex;
231
+ justify-content: center;
232
+ align-items: center;
233
+ gap: 0.5rem;
234
+ margin-top: 1rem;
235
+ }
236
+ .theme-slide-controls button {
237
+ padding: 0.3rem 0.75rem;
238
+ background: transparent;
239
+ color: var(--store-ink);
240
+ border-color: var(--store-line);
241
+ }
242
+ .theme-slide-controls .theme-slide-dot {
243
+ width: 0.65rem;
244
+ height: 0.65rem;
245
+ padding: 0;
246
+ border-radius: 50%;
247
+ background: var(--store-line);
248
+ }
249
+ .theme-slide-controls .theme-slide-dot[aria-current="true"] {
250
+ background: var(--store-accent);
251
+ border-color: var(--store-accent);
252
+ }
253
+
254
+ /* Rich text */
255
+ .theme-rich-text {
256
+ display: grid;
257
+ gap: 1rem;
258
+ }
259
+ .theme-rich-text.theme-align-center {
260
+ text-align: center;
261
+ justify-items: center;
262
+ }
263
+
264
+ /* Image with text */
265
+ .theme-image-with-text {
266
+ display: grid;
267
+ gap: clamp(1.5rem, 4vw, 3rem);
268
+ align-items: center;
269
+ }
270
+ @media (min-width: 48rem) {
271
+ .theme-image-with-text {
272
+ grid-template-columns: 1fr 1fr;
273
+ }
274
+ .theme-image-end .theme-split-media {
275
+ order: 2;
276
+ }
277
+ }
278
+ .theme-split-media {
279
+ width: 100%;
280
+ aspect-ratio: 4 / 3;
281
+ object-fit: cover;
282
+ border-radius: 1rem;
283
+ }
284
+ .theme-split-content {
285
+ display: grid;
286
+ gap: 1rem;
287
+ justify-items: start;
288
+ }
289
+
290
+ /* Columns, testimonials, collections */
291
+ .theme-column {
292
+ display: grid;
293
+ gap: 0.6rem;
294
+ align-content: start;
295
+ }
296
+ .theme-column h3 {
297
+ margin: 0;
298
+ font-size: 1.05rem;
299
+ }
300
+ .theme-column p {
301
+ color: var(--store-muted);
302
+ }
303
+ .theme-column-media {
304
+ width: 100%;
305
+ aspect-ratio: 3 / 2;
306
+ object-fit: cover;
307
+ border-radius: 0.75rem;
308
+ }
309
+ .theme-testimonial {
310
+ margin: 0;
311
+ display: grid;
312
+ gap: 0.75rem;
313
+ padding: 1.5rem;
314
+ border: 1px solid var(--store-line);
315
+ border-radius: 1rem;
316
+ }
317
+ .theme-testimonial blockquote {
318
+ margin: 0;
319
+ font-size: 1.05rem;
320
+ }
321
+ .theme-testimonial figcaption {
322
+ color: var(--store-muted);
323
+ font-size: 0.9rem;
324
+ }
325
+ .theme-rating {
326
+ color: var(--store-accent);
327
+ letter-spacing: 0.1em;
328
+ }
329
+ .theme-rating span {
330
+ opacity: 0.25;
331
+ }
332
+ .theme-collection-card {
333
+ display: grid;
334
+ gap: 0.4rem;
335
+ align-content: end;
336
+ min-height: 9rem;
337
+ padding: 1.25rem;
338
+ border-radius: 1rem;
339
+ background: var(--store-tint);
340
+ text-decoration: none;
341
+ }
342
+ .theme-collection-card span {
343
+ color: var(--store-muted);
344
+ font-size: 0.9rem;
345
+ }
346
+
347
+ /* FAQ */
348
+ .theme-faq-list {
349
+ display: grid;
350
+ border-top: 1px solid var(--store-line);
351
+ }
352
+ .theme-faq-item {
353
+ border-bottom: 1px solid var(--store-line);
354
+ padding-block: 1rem;
355
+ }
356
+ .theme-faq-item summary {
357
+ cursor: pointer;
358
+ font-weight: 600;
359
+ }
360
+ .theme-faq-item .theme-copy {
361
+ margin-top: 0.75rem;
362
+ color: var(--store-muted);
363
+ }
364
+
365
+ /* Video: a facade keeps third-party players off the page until clicked. */
366
+ .theme-video-frame {
367
+ position: relative;
368
+ aspect-ratio: 16 / 9;
369
+ overflow: hidden;
370
+ border-radius: 1rem;
371
+ background: #000;
372
+ }
373
+ .theme-video-frame iframe,
374
+ .theme-video-frame video,
375
+ .theme-video-facade,
376
+ .theme-video-facade img {
377
+ position: absolute;
378
+ inset: 0;
379
+ width: 100%;
380
+ height: 100%;
381
+ border: 0;
382
+ object-fit: cover;
383
+ }
384
+ .theme-video-facade {
385
+ padding: 0;
386
+ border-radius: 0;
387
+ background: #111;
388
+ }
389
+ .theme-video-facade span {
390
+ position: absolute;
391
+ inset: 50% auto auto 50%;
392
+ translate: -50% -50%;
393
+ display: grid;
394
+ place-items: center;
395
+ width: 4.5rem;
396
+ height: 4.5rem;
397
+ border-radius: 50%;
398
+ background: var(--store-accent);
399
+ color: var(--store-on-accent);
400
+ font-size: 1.5rem;
401
+ }
402
+
403
+ /* Logo list */
404
+ .theme-logos {
405
+ display: flex;
406
+ flex-wrap: wrap;
407
+ justify-content: center;
408
+ align-items: center;
409
+ gap: clamp(1.5rem, 4vw, 3rem);
410
+ }
411
+ .theme-logo {
412
+ max-height: 3rem;
413
+ max-width: 9rem;
414
+ object-fit: contain;
415
+ filter: grayscale(1);
416
+ opacity: 0.8;
417
+ }
418
+ .theme-logos a:hover .theme-logo {
419
+ filter: none;
420
+ opacity: 1;
421
+ }
422
+
423
+ /* Product custom fields */
424
+ .product-fields {
425
+ display: grid;
426
+ gap: 0;
427
+ margin: 1.5rem 0 0;
428
+ border-top: 1px solid var(--store-line);
429
+ }
430
+ .product-fields > div {
431
+ display: grid;
432
+ grid-template-columns: minmax(7rem, 35%) 1fr;
433
+ gap: 1rem;
434
+ padding-block: 0.7rem;
435
+ border-bottom: 1px solid var(--store-line);
436
+ }
437
+ .product-fields dt {
438
+ color: var(--store-muted);
439
+ }
440
+ .product-fields dd {
441
+ margin: 0;
442
+ }
443
+ .product-field-color {
444
+ display: inline-flex;
445
+ align-items: center;
446
+ gap: 0.5rem;
447
+ }
448
+ .product-field-color > span {
449
+ width: 1rem;
450
+ height: 1rem;
451
+ border-radius: 50%;
452
+ border: 1px solid var(--store-line);
453
+ }
454
+
455
+ /* ── Product page ─────────────────────────────────────────────────────────── */
456
+ .visually-hidden {
457
+ position: absolute;
458
+ width: 1px;
459
+ height: 1px;
460
+ overflow: hidden;
461
+ clip-path: inset(50%);
462
+ white-space: nowrap;
463
+ }
464
+ .product-main {
465
+ display: grid;
466
+ gap: clamp(1.5rem, 4vw, 3.5rem);
467
+ padding-block: 1.5rem 3rem;
468
+ align-items: start;
469
+ }
470
+ @media (min-width: 56rem) {
471
+ .product-main {
472
+ grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
473
+ }
474
+ .product-main-sticky .product-info {
475
+ position: sticky;
476
+ top: 1.5rem;
477
+ }
478
+ }
479
+ .product-info {
480
+ display: grid;
481
+ gap: 1.25rem;
482
+ align-content: start;
483
+ }
484
+ .product-title {
485
+ font-size: clamp(1.6rem, 3vw, 2.4rem);
486
+ max-width: none;
487
+ }
488
+
489
+ /* Gallery */
490
+ .product-gallery {
491
+ display: grid;
492
+ gap: 0.75rem;
493
+ min-width: 0;
494
+ }
495
+ .product-gallery .product-gallery-main {
496
+ min-height: 0;
497
+ display: block;
498
+ width: 100%;
499
+ padding: 0;
500
+ border: 0;
501
+ border-radius: 1rem;
502
+ overflow: hidden;
503
+ background: var(--store-ground);
504
+ cursor: zoom-in;
505
+ }
506
+ .product-gallery .product-gallery-main:disabled {
507
+ cursor: default;
508
+ }
509
+ .product-gallery-main img,
510
+ .product-gallery-grid img {
511
+ display: block;
512
+ width: 100%;
513
+ aspect-ratio: 1;
514
+ object-fit: cover;
515
+ }
516
+ .product-gallery-thumbs {
517
+ display: flex;
518
+ gap: 0.5rem;
519
+ overflow-x: auto;
520
+ scrollbar-width: thin;
521
+ }
522
+ .product-gallery .product-gallery-thumbs button {
523
+ min-height: 0;
524
+ flex: 0 0 4.5rem;
525
+ padding: 0;
526
+ border: 2px solid transparent;
527
+ border-radius: 0.6rem;
528
+ overflow: hidden;
529
+ background: var(--store-ground);
530
+ }
531
+ .product-gallery .product-gallery-thumbs button[aria-current="true"] {
532
+ border-color: var(--store-accent);
533
+ }
534
+ .product-gallery-thumbs img {
535
+ display: block;
536
+ width: 100%;
537
+ aspect-ratio: 1;
538
+ object-fit: cover;
539
+ }
540
+ .product-gallery-grid {
541
+ grid-template-columns: repeat(2, minmax(0, 1fr));
542
+ }
543
+ .product-gallery-grid img {
544
+ border-radius: 0.75rem;
545
+ }
546
+ .product-gallery-grid img:first-child {
547
+ grid-column: 1 / -1;
548
+ }
549
+ .product-zoom {
550
+ width: min(96vw, 70rem);
551
+ max-height: 94vh;
552
+ padding: 0;
553
+ border: 0;
554
+ border-radius: 1rem;
555
+ background: #fff;
556
+ }
557
+ .product-zoom::backdrop {
558
+ background: rgb(0 0 0 / 0.75);
559
+ }
560
+ .product-zoom img {
561
+ display: block;
562
+ width: 100%;
563
+ max-height: 94vh;
564
+ object-fit: contain;
565
+ cursor: zoom-out;
566
+ }
567
+ .product-gallery .product-zoom button {
568
+ position: absolute;
569
+ top: 0.75rem;
570
+ inset-inline-end: 0.75rem;
571
+ width: 2.5rem;
572
+ height: 2.5rem;
573
+ padding: 0;
574
+ border-radius: 50%;
575
+ font-size: 1.4rem;
576
+ }
577
+
578
+ /* Price */
579
+ .product-price-block {
580
+ display: flex;
581
+ flex-wrap: wrap;
582
+ align-items: baseline;
583
+ gap: 0.6rem;
584
+ }
585
+ .product-price-block .product-price {
586
+ font-size: 1.4rem;
587
+ font-weight: 700;
588
+ }
589
+ .product-compare-price {
590
+ color: var(--store-muted);
591
+ margin-inline-start: 0.5rem;
592
+ }
593
+ .product-price-block .product-compare-price {
594
+ margin: 0;
595
+ }
596
+ .product-sale-badge {
597
+ padding: 0.15rem 0.55rem;
598
+ border-radius: 999px;
599
+ background: var(--store-accent);
600
+ color: var(--store-on-accent);
601
+ font-size: 0.8rem;
602
+ font-weight: 600;
603
+ }
604
+
605
+ /* Options */
606
+ .product-options {
607
+ display: grid;
608
+ gap: 1rem;
609
+ }
610
+ .product-option {
611
+ margin: 0;
612
+ padding: 0;
613
+ border: 0;
614
+ }
615
+ .product-option legend {
616
+ margin-bottom: 0.5rem;
617
+ font-weight: 600;
618
+ font-size: 0.95rem;
619
+ }
620
+ .product-option legend span {
621
+ font-weight: 400;
622
+ color: var(--store-muted);
623
+ }
624
+ .product-option-values {
625
+ display: flex;
626
+ flex-wrap: wrap;
627
+ gap: 0.5rem;
628
+ }
629
+ .product-options .product-option-value {
630
+ min-height: 0;
631
+ min-width: 2.75rem;
632
+ padding: 0.5rem 0.9rem;
633
+ border: 1px solid var(--store-line);
634
+ border-radius: 0.6rem;
635
+ background: var(--store-paper);
636
+ color: var(--store-ink);
637
+ }
638
+ .product-options .product-option-value:hover {
639
+ background: var(--store-ground);
640
+ }
641
+ .product-options .product-option-value[aria-pressed="true"] {
642
+ border-color: var(--store-ink);
643
+ box-shadow: inset 0 0 0 1px var(--store-ink);
644
+ }
645
+ .product-options .product-option-value[data-unavailable="true"] {
646
+ color: var(--store-muted);
647
+ text-decoration: line-through;
648
+ }
649
+ .product-options .product-option-color .product-option-value,
650
+ .product-options .product-option-image .product-option-value {
651
+ min-width: 0;
652
+ padding: 3px;
653
+ border-radius: 50%;
654
+ }
655
+ .product-swatch {
656
+ display: block;
657
+ width: 2rem;
658
+ height: 2rem;
659
+ border-radius: 50%;
660
+ border: 1px solid rgb(0 0 0 / 0.12);
661
+ object-fit: cover;
662
+ }
663
+ .product-option-color [data-unavailable="true"] .product-swatch,
664
+ .product-option-image [data-unavailable="true"] .product-swatch {
665
+ opacity: 0.35;
666
+ }
667
+
668
+ /* Buy buttons */
669
+ .product-buy {
670
+ display: grid;
671
+ gap: 0.75rem;
672
+ }
673
+ .product-buy-row {
674
+ display: flex;
675
+ gap: 0.75rem;
676
+ }
677
+ .product-quantity {
678
+ display: flex;
679
+ align-items: stretch;
680
+ border: 1px solid var(--store-line);
681
+ border-radius: 0.6rem;
682
+ overflow: hidden;
683
+ }
684
+ .product-buy .product-quantity button {
685
+ min-height: 0;
686
+ width: 2.6rem;
687
+ padding: 0;
688
+ border: 0;
689
+ border-radius: 0;
690
+ background: transparent;
691
+ color: var(--store-ink);
692
+ font-size: 1.1rem;
693
+ }
694
+ .product-quantity input {
695
+ width: 3rem;
696
+ border: 0;
697
+ text-align: center;
698
+ font: inherit;
699
+ background: transparent;
700
+ color: inherit;
701
+ appearance: textfield;
702
+ }
703
+ .product-quantity input::-webkit-inner-spin-button {
704
+ appearance: none;
705
+ }
706
+ .product-add {
707
+ flex: 1;
708
+ padding-block: 0.85rem;
709
+ font-weight: 600;
710
+ }
711
+ .product-buy-now {
712
+ width: 100%;
713
+ padding-block: 0.85rem;
714
+ background: var(--store-ink);
715
+ border-color: var(--store-ink);
716
+ color: var(--store-paper);
717
+ font-weight: 600;
718
+ }
719
+ .product-buy button:disabled {
720
+ opacity: 0.55;
721
+ cursor: not-allowed;
722
+ }
723
+ .product-stock-low {
724
+ color: #b45309;
725
+ font-weight: 600;
726
+ font-size: 0.9rem;
727
+ }
728
+ .form-notice {
729
+ color: #15803d;
730
+ }
731
+
732
+ /* Description, notes and tabs */
733
+ .product-description {
734
+ display: grid;
735
+ gap: 0.75rem;
736
+ color: var(--store-ink);
737
+ }
738
+ .product-note {
739
+ font-size: 0.95rem;
740
+ }
741
+ .product-note-highlight {
742
+ padding: 0.75rem 1rem;
743
+ border-radius: 0.6rem;
744
+ background: var(--store-tint);
745
+ }
746
+ .product-collapsible {
747
+ border-block: 1px solid var(--store-line);
748
+ padding-block: 0.9rem;
749
+ }
750
+ .product-collapsible + .product-collapsible {
751
+ border-top: 0;
752
+ }
753
+ .product-collapsible summary {
754
+ cursor: pointer;
755
+ font-weight: 600;
756
+ }
757
+ .product-collapsible > :not(summary) {
758
+ margin-top: 0.75rem;
759
+ }
760
+ .product-specs h2 {
761
+ font-size: 1rem;
762
+ margin-bottom: 0.25rem;
763
+ }
764
+ .product-specs .product-fields {
765
+ margin-top: 0.5rem;
766
+ }
767
+
768
+ /* Mobile: the gallery becomes a swipeable strip. */
769
+ @media (max-width: 40rem) {
770
+ .product-gallery .product-gallery-thumbs button {
771
+ min-height: 0;
772
+ flex-basis: 3.5rem;
773
+ }
774
+ .product-buy-row {
775
+ flex-wrap: wrap;
776
+ }
777
+ .product-add {
778
+ flex-basis: 100%;
779
+ }
780
+ }
781
+