create-abcart-theme 0.10.0 → 1.0.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.
- package/CHANGELOG.md +133 -127
- package/LICENSE +202 -202
- package/NOTICE +2 -2
- package/README.md +65 -65
- package/bin/create-abcart-theme.mjs +4 -4
- package/package.json +49 -49
- package/src/args.mjs +113 -113
- package/src/banner.mjs +21 -21
- package/src/cli.mjs +119 -119
- package/src/create.mjs +85 -82
- package/src/package-manager.mjs +32 -32
- package/src/style.mjs +17 -17
- package/templates/default/.agents/skills/{wocart-docs → abcart-docs}/SKILL.md +146 -146
- package/templates/default/.agents/skills/{wocart-theme-from-design → abcart-theme-from-design}/SKILL.md +58 -58
- package/templates/default/.agents/skills/{wocart-theme-from-design → abcart-theme-from-design}/references/inputs-and-rights.md +47 -47
- package/templates/default/.agents/skills/{wocart-theme-from-design → abcart-theme-from-design}/references/layout-rtl-and-phone.md +36 -36
- package/templates/default/.agents/skills/{wocart-theme-from-design → abcart-theme-from-design}/references/measure-the-design.md +60 -60
- package/templates/default/.agents/skills/{wocart-theme-from-design → abcart-theme-from-design}/references/tokens-sections-content.md +103 -103
- package/templates/default/.agents/skills/{wocart-theme-from-design → abcart-theme-from-design}/references/verify-and-report.md +102 -102
- package/templates/default/.agents/skills/{wocart-theme-from-design → abcart-theme-from-design}/scripts/compare-design.cjs +230 -230
- package/templates/default/.agents/skills/{wocart-theme-from-design → abcart-theme-from-design}/scripts/qa-pages.cjs +219 -219
- package/templates/default/.agents/skills/shopify-theme-asset-collector/SKILL.md +125 -125
- package/templates/default/.agents/skills/shopify-theme-asset-collector/scripts/collect_public_assets.py +370 -370
- package/templates/default/.dev.vars.example +12 -12
- package/templates/default/AGENTS.md +240 -240
- package/templates/default/README.md +184 -184
- package/templates/default/_gitignore +11 -11
- package/templates/default/astro.config.mjs +85 -85
- package/templates/default/package.json +36 -36
- package/templates/default/public/fonts/OFL.txt +96 -96
- package/templates/default/src/actions/index.ts +22 -22
- package/templates/default/src/components/cart/AddToCartButton.astro +45 -45
- package/templates/default/src/components/cart/CartDrawer.astro +47 -47
- package/templates/default/src/components/cart/CartSummary.astro +11 -11
- package/templates/default/src/components/cart/FreeShipping.astro +7 -7
- package/templates/default/src/components/checkout/CheckoutMain.astro +29 -29
- package/templates/default/src/components/checkout/OrderForm.astro +280 -280
- package/templates/default/src/components/checkout/ThankYouMain.astro +68 -68
- package/templates/default/src/components/landing/LandingImages.astro +51 -51
- package/templates/default/src/components/landing/LandingOrder.astro +46 -46
- package/templates/default/src/components/landing/LandingProduct.astro +41 -41
- package/templates/default/src/components/listing/ListingMain.astro +93 -93
- package/templates/default/src/components/listing/PageMain.astro +52 -52
- package/templates/default/src/components/listing/Pagination.astro +31 -31
- package/templates/default/src/components/listing/SortControl.astro +35 -35
- package/templates/default/src/components/product/BuyBox.astro +96 -96
- package/templates/default/src/components/product/Description.astro +24 -24
- package/templates/default/src/components/product/Gallery.astro +66 -66
- package/templates/default/src/components/product/MobileBuyBar.astro +29 -29
- package/templates/default/src/components/product/OfferChoice.astro +66 -66
- package/templates/default/src/components/product/ProductMain.astro +40 -40
- package/templates/default/src/components/product/ProductReviews.astro +72 -72
- package/templates/default/src/components/product/RelatedProducts.astro +30 -30
- package/templates/default/src/components/product/blocks/BenefitsBlock.astro +13 -13
- package/templates/default/src/components/product/blocks/CollapsibleBlock.astro +20 -20
- package/templates/default/src/components/product/blocks/DescriptionBlock.astro +19 -19
- package/templates/default/src/components/product/blocks/DetailsBlock.astro +33 -33
- package/templates/default/src/components/product/blocks/GalleryBlock.astro +12 -12
- package/templates/default/src/components/product/blocks/OrderBlock.astro +30 -30
- package/templates/default/src/components/product/blocks/PriceBlock.astro +23 -23
- package/templates/default/src/components/product/blocks/RatingBlock.astro +16 -16
- package/templates/default/src/components/product/blocks/StockBlock.astro +22 -22
- package/templates/default/src/components/product/blocks/TextBlock.astro +11 -11
- package/templates/default/src/components/product/blocks/TitleBlock.astro +20 -20
- package/templates/default/src/components/reviews/ReviewCard.astro +46 -46
- package/templates/default/src/components/reviews/ReviewForm.astro +113 -113
- package/templates/default/src/components/reviews/VoiceNote.astro +60 -60
- package/templates/default/src/components/sections/CollectionCards.astro +65 -65
- package/templates/default/src/components/sections/Countdown.astro +57 -57
- package/templates/default/src/components/sections/Faq.astro +44 -44
- package/templates/default/src/components/sections/FeaturedProduct.astro +71 -71
- package/templates/default/src/components/sections/Hero.astro +99 -99
- package/templates/default/src/components/sections/ImageBanner.astro +46 -46
- package/templates/default/src/components/sections/ProductGrid.astro +47 -47
- package/templates/default/src/components/sections/RichText.astro +35 -35
- package/templates/default/src/components/sections/Steps.astro +46 -46
- package/templates/default/src/components/sections/Testimonials.astro +57 -57
- package/templates/default/src/components/shell/Footer.astro +80 -80
- package/templates/default/src/components/shell/Header.astro +89 -89
- package/templates/default/src/components/shell/LanguageMenu.astro +33 -33
- package/templates/default/src/components/shell/MobileMenu.astro +65 -65
- package/templates/default/src/components/shell/SearchDialog.astro +19 -19
- package/templates/default/src/components/shell/TopBar.astro +54 -54
- package/templates/default/src/components/shell/WhatsAppWidget.astro +111 -111
- package/templates/default/src/components/store/ContactMain.astro +79 -79
- package/templates/default/src/components/store/SearchMain.astro +56 -56
- package/templates/default/src/components/store/TrackOrderMain.astro +161 -161
- package/templates/default/src/components/surface/Area.astro +20 -20
- package/templates/default/src/components/surface/PreviewBridge.astro +24 -24
- package/templates/default/src/components/surface/Sections.astro +35 -35
- package/templates/default/src/components/ui/Breadcrumbs.astro +36 -36
- package/templates/default/src/components/ui/Button.astro +45 -45
- package/templates/default/src/components/ui/EditorPlaceholder.astro +24 -24
- package/templates/default/src/components/ui/Icon.astro +93 -93
- package/templates/default/src/components/ui/Logo.astro +36 -36
- package/templates/default/src/components/ui/Photo.astro +46 -46
- package/templates/default/src/components/ui/Price.astro +24 -24
- package/templates/default/src/components/ui/ProductCard.astro +41 -41
- package/templates/default/src/components/ui/Rating.astro +22 -22
- package/templates/default/src/components/ui/Section.astro +34 -34
- package/templates/default/src/components/ui/SectionHeading.astro +19 -19
- package/templates/default/src/env.d.ts +23 -23
- package/templates/default/src/layouts/StoreLayout.astro +145 -145
- package/templates/default/src/lib/browser-copy.ts +37 -37
- package/templates/default/src/lib/context.ts +89 -89
- package/templates/default/src/lib/coupon-notice.ts +47 -47
- package/templates/default/src/lib/i18n.ts +32 -32
- package/templates/default/src/lib/images.ts +38 -38
- package/templates/default/src/lib/listing-query.ts +41 -41
- package/templates/default/src/lib/money.ts +16 -16
- package/templates/default/src/lib/motion.ts +16 -16
- package/templates/default/src/lib/nav.ts +26 -26
- package/templates/default/src/lib/offer-tiles.ts +105 -105
- package/templates/default/src/lib/order-outcome.ts +66 -66
- package/templates/default/src/lib/otp-message.ts +21 -21
- package/templates/default/src/lib/products.ts +38 -38
- package/templates/default/src/lib/review-refusals.ts +31 -31
- package/templates/default/src/lib/store.ts +31 -31
- package/templates/default/src/lib/whatsapp.ts +29 -29
- package/templates/default/src/middleware.ts +23 -23
- package/templates/default/src/pages/404.astro +22 -22
- package/templates/default/src/pages/{wocart-preview.astro → abcart-preview.astro} +43 -43
- package/templates/default/src/pages/{wocart-revalidate.ts → abcart-revalidate.ts} +10 -10
- package/templates/default/src/pages/{wocart-styles.css.ts → abcart-styles.css.ts} +5 -5
- package/templates/default/src/pages/{wocart-theme.json.ts → abcart-theme.json.ts} +5 -5
- package/templates/default/src/pages/api/abandoned/convert.ts +4 -4
- package/templates/default/src/pages/api/abandoned/upsert.ts +4 -4
- package/templates/default/src/pages/api/cart/validate.ts +4 -4
- package/templates/default/src/pages/api/communes/[wilayaId].ts +4 -4
- package/templates/default/src/pages/api/otp/send.ts +4 -4
- package/templates/default/src/pages/api/otp/verify.ts +4 -4
- package/templates/default/src/pages/api/reviews/[productId].ts +3 -3
- package/templates/default/src/pages/api/reviews/eligibility.ts +3 -3
- package/templates/default/src/pages/api/reviews/submit.ts +3 -3
- package/templates/default/src/pages/api/reviews/upload.ts +3 -3
- package/templates/default/src/pages/category/[slug].astro +20 -20
- package/templates/default/src/pages/checkout.astro +25 -25
- package/templates/default/src/pages/collections/[handle].astro +20 -20
- package/templates/default/src/pages/contact.astro +17 -17
- package/templates/default/src/pages/index.astro +9 -9
- package/templates/default/src/pages/lp/[slug].astro +47 -47
- package/templates/default/src/pages/pages/[slug].astro +16 -16
- package/templates/default/src/pages/products/[handle].astro +37 -37
- package/templates/default/src/pages/products/index.astro +15 -15
- package/templates/default/src/pages/robots.txt.ts +9 -9
- package/templates/default/src/pages/search.astro +19 -19
- package/templates/default/src/pages/sitemap.xml.ts +12 -12
- package/templates/default/src/pages/thank-you.astro +33 -33
- package/templates/default/src/pages/track-order.astro +17 -17
- package/templates/default/src/scripts/cart.ts +371 -371
- package/templates/default/src/scripts/checkout/coupon.ts +96 -96
- package/templates/default/src/scripts/checkout/delivery.ts +86 -86
- package/templates/default/src/scripts/checkout/form.ts +54 -54
- package/templates/default/src/scripts/checkout/otp.ts +106 -106
- package/templates/default/src/scripts/checkout/picker.ts +169 -169
- package/templates/default/src/scripts/checkout/quote.ts +169 -169
- package/templates/default/src/scripts/checkout/submit.ts +113 -113
- package/templates/default/src/scripts/checkout/tracking.ts +74 -74
- package/templates/default/src/scripts/countdown.ts +29 -29
- package/templates/default/src/scripts/events.ts +4 -4
- package/templates/default/src/scripts/hero.ts +49 -49
- package/templates/default/src/scripts/listing.ts +13 -13
- package/templates/default/src/scripts/order-form.ts +100 -100
- package/templates/default/src/scripts/product.ts +306 -306
- package/templates/default/src/scripts/public-config.ts +79 -79
- package/templates/default/src/scripts/reviews.ts +358 -358
- package/templates/default/src/scripts/site.ts +131 -131
- package/templates/default/src/scripts/thank-you.ts +11 -11
- package/templates/default/src/scripts/voice-note.ts +94 -94
- package/templates/default/src/styles/base.css +1030 -1030
- package/templates/default/src/styles/checkout.css +1111 -1111
- package/templates/default/src/styles/global.css +12 -12
- package/templates/default/src/styles/product.css +871 -871
- package/templates/default/src/styles/reviews.css +533 -533
- package/templates/default/src/styles/sections.css +931 -931
- package/templates/default/src/styles/shell.css +970 -970
- package/templates/default/src/styles/tokens.css +583 -583
- package/templates/default/src/theme/api-routes.ts +10 -10
- package/templates/default/src/theme/content/catalog.ts +117 -117
- package/templates/default/src/theme/content/checkout.ts +168 -168
- package/templates/default/src/theme/content/editor.ts +21 -21
- package/templates/default/src/theme/content/index.ts +45 -45
- package/templates/default/src/theme/content/reviews.ts +76 -76
- package/templates/default/src/theme/content/shell.ts +59 -59
- package/templates/default/src/theme/content/types.ts +12 -12
- package/templates/default/src/theme/documents/catalog.json +11 -11
- package/templates/default/src/theme/documents/category.json +11 -11
- package/templates/default/src/theme/documents/checkout.json +11 -11
- package/templates/default/src/theme/documents/collection.json +11 -11
- package/templates/default/src/theme/documents/contact.json +11 -11
- package/templates/default/src/theme/documents/footer.area.json +11 -11
- package/templates/default/src/theme/documents/header.area.json +16 -16
- package/templates/default/src/theme/documents/home.json +313 -313
- package/templates/default/src/theme/documents/landing.json +8 -8
- package/templates/default/src/theme/documents/page.json +11 -11
- package/templates/default/src/theme/documents/product.json +125 -125
- package/templates/default/src/theme/documents/search.json +11 -11
- package/templates/default/src/theme/documents/thank-you.json +11 -11
- package/templates/default/src/theme/documents/track-order.json +11 -11
- package/templates/default/src/theme/fields.ts +61 -61
- package/templates/default/src/theme/key.ts +11 -11
- package/templates/default/src/theme/labels.ts +231 -231
- package/templates/default/src/theme/locales.ts +11 -11
- package/templates/default/src/theme/palette.ts +14 -14
- package/templates/default/src/theme/sections/collection-cards.ts +65 -65
- package/templates/default/src/theme/sections/faq.ts +74 -74
- package/templates/default/src/theme/sections/featured-product.ts +42 -42
- package/templates/default/src/theme/sections/hero.ts +47 -47
- package/templates/default/src/theme/sections/image-banner.ts +25 -25
- package/templates/default/src/theme/sections/index.ts +40 -40
- package/templates/default/src/theme/sections/landing.ts +150 -150
- package/templates/default/src/theme/sections/listing.ts +84 -84
- package/templates/default/src/theme/sections/product-grid.ts +42 -42
- package/templates/default/src/theme/sections/product.ts +297 -297
- package/templates/default/src/theme/sections/rich-text.ts +39 -39
- package/templates/default/src/theme/sections/shared.ts +54 -54
- package/templates/default/src/theme/sections/shell.ts +85 -85
- package/templates/default/src/theme/sections/store-pages.ts +101 -101
- package/templates/default/src/theme/sections/testimonials.ts +61 -61
- package/templates/default/src/theme/sections/thank-you.ts +35 -35
- package/templates/default/src/theme/settings.ts +124 -124
- package/templates/default/src/theme/theme.ts +65 -65
- package/templates/default/tests/fixtures/canvas-tote.json +62 -62
- package/templates/default/tests/fixtures/linen-shirt.json +128 -128
- package/templates/default/tests/unit/checkout.test.ts +241 -241
- package/templates/default/tests/unit/contract.test.ts +170 -169
- package/templates/default/tests/unit/contrast.test.ts +68 -68
- package/templates/default/tests/unit/copy.test.ts +101 -101
- package/templates/default/tests/unit/design-values.test.ts +95 -95
- package/templates/default/tests/unit/editability.test.ts +180 -180
- package/templates/default/tests/unit/fixtures.ts +91 -91
- package/templates/default/tests/unit/footer.test.ts +54 -54
- package/templates/default/tests/unit/guards.test.ts +340 -340
- package/templates/default/tests/unit/images.test.ts +26 -26
- package/templates/default/tests/unit/landing.test.ts +151 -151
- package/templates/default/tests/unit/languages.test.ts +42 -42
- package/templates/default/tests/unit/middleware.test.ts +53 -53
- package/templates/default/tests/unit/offer-tiles.test.ts +75 -75
- package/templates/default/tests/unit/render.ts +38 -38
- package/templates/default/tests/unit/reviews.test.ts +25 -25
- package/templates/default/tests/unit/rules.test.ts +59 -59
- package/templates/default/tests/unit/source.ts +75 -75
- package/templates/default/tests/unit/store-pages.test.ts +147 -147
- package/templates/default/tests/unit/studio.test.ts +202 -202
- package/templates/default/tests/unit/testimonials.test.ts +52 -52
- package/templates/default/tests/unit/thank-you.test.ts +52 -52
- package/templates/default/tests/unit/tracking.test.ts +29 -29
- package/templates/default/tests/unit/voice-note.test.ts +42 -42
- package/templates/default/tsconfig.json +13 -13
- package/templates/default/vitest.config.ts +15 -15
- package/templates/default/wrangler.jsonc +16 -16
|
@@ -1,583 +1,583 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* The design system — the one file that holds the brand.
|
|
3
|
-
*
|
|
4
|
-
* Change this file to make the theme yours: fonts, type, corners, shadows,
|
|
5
|
-
* motion and the colors nothing else decides. Every other stylesheet reads
|
|
6
|
-
* these tokens and never writes a brand value of its own (a test enforces it).
|
|
7
|
-
*
|
|
8
|
-
* Colors come in two layers:
|
|
9
|
-
* 1. The store's color schemes. Merchants pick them in Studio; the SDK's
|
|
10
|
-
* `schemeClass(id)` puts `.
|
|
11
|
-
* `--
|
|
12
|
-
* theme's color tokens, so a section recolors with its scheme. The
|
|
13
|
-
* defaults merchants start from live in `src/theme/settings.ts`.
|
|
14
|
-
* 2. Fixed colors no scheme should change: status colors, photo overlays,
|
|
15
|
-
* WhatsApp's own green.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/* ── Fonts ──────────────────────────────────────────────────────────────
|
|
19
|
-
* Two families, self-hosted in public/fonts (licenses in public/fonts/OFL.txt):
|
|
20
|
-
* one for Arabic, one for Latin. Each covers only its script (unicode-range),
|
|
21
|
-
* so a page downloads the one its text uses, and mixed text — a French name
|
|
22
|
-
* on an Arabic page — takes each script from its own family. To change a
|
|
23
|
-
* font, replace its file, its rule here and its preload in
|
|
24
|
-
* src/layouts/StoreLayout.astro.
|
|
25
|
-
*/
|
|
26
|
-
@font-face {
|
|
27
|
-
font-family: "Alexandria";
|
|
28
|
-
src: url("/fonts/alexandria-arabic.woff2") format("woff2");
|
|
29
|
-
font-weight: 100 900;
|
|
30
|
-
font-style: normal;
|
|
31
|
-
font-display: swap;
|
|
32
|
-
unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
|
|
33
|
-
}
|
|
34
|
-
@font-face {
|
|
35
|
-
font-family: "Fraunces";
|
|
36
|
-
src: url("/fonts/fraunces-latin.woff2") format("woff2");
|
|
37
|
-
font-weight: 100 900;
|
|
38
|
-
font-style: normal;
|
|
39
|
-
font-display: swap;
|
|
40
|
-
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
:root {
|
|
44
|
-
/* Type */
|
|
45
|
-
--font-arabic: "Alexandria";
|
|
46
|
-
--font-latin: "Fraunces";
|
|
47
|
-
/* Latin first: it holds only Latin glyphs, so Arabic text falls through to the Arabic family. */
|
|
48
|
-
--font-body: var(--font-latin), var(--font-arabic), Georgia, "Times New Roman", serif;
|
|
49
|
-
--font-display: var(--font-body);
|
|
50
|
-
--font-quote: var(--font-body);
|
|
51
|
-
--body-size: 16.5px;
|
|
52
|
-
--body-leading: 1.65;
|
|
53
|
-
/* Weights every stylesheet names; a serif reads heavier, so its "heavy" is a semibold. */
|
|
54
|
-
--weight-medium: 450;
|
|
55
|
-
--weight-semibold: 550;
|
|
56
|
-
--weight-bold: 600;
|
|
57
|
-
--weight-heavy: 600;
|
|
58
|
-
--heading-weight: 500;
|
|
59
|
-
--heading-tracking: -0.015em;
|
|
60
|
-
--display-weight: 400;
|
|
61
|
-
--display-tracking: -0.03em;
|
|
62
|
-
|
|
63
|
-
/* Buttons: crisp, small capitals, letter-spaced. */
|
|
64
|
-
--btn-radius: var(--r-sm);
|
|
65
|
-
--btn-weight: 600;
|
|
66
|
-
--btn-size: 13.5px;
|
|
67
|
-
--btn-case: uppercase;
|
|
68
|
-
--btn-tracking: 0.09em;
|
|
69
|
-
--btn-glow: none;
|
|
70
|
-
|
|
71
|
-
/* A saving: the badge on a card and the sticker on a product photo. */
|
|
72
|
-
--sticker-radius: var(--r-sm);
|
|
73
|
-
--sticker-shadow: none;
|
|
74
|
-
--sticker-rotate: 0deg;
|
|
75
|
-
|
|
76
|
-
/* Layout */
|
|
77
|
-
--gutter: clamp(16px, 4vw, 40px);
|
|
78
|
-
--header-h: 64px;
|
|
79
|
-
|
|
80
|
-
/* Corners — the `corners` setting picks one of three sets below. */
|
|
81
|
-
--r-xs: 1px;
|
|
82
|
-
--r-sm: 2px;
|
|
83
|
-
--r: 3px;
|
|
84
|
-
--r-lg: 4px;
|
|
85
|
-
--r-pill: 2px;
|
|
86
|
-
--r-round: 50%;
|
|
87
|
-
|
|
88
|
-
/* Motion — short and functional; turned off for people who ask for less. */
|
|
89
|
-
--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
|
|
90
|
-
--duration: 0.2s;
|
|
91
|
-
|
|
92
|
-
/* Fixed colors */
|
|
93
|
-
--star: #f5a524;
|
|
94
|
-
--success: #15803d;
|
|
95
|
-
--danger: #b91c1c;
|
|
96
|
-
--warm: #b45309;
|
|
97
|
-
--warm-ink: #ffffff;
|
|
98
|
-
--on-photo: #ffffff;
|
|
99
|
-
--on-photo-ink: #111113;
|
|
100
|
-
--swatch-edge: rgb(0 0 0 / 0.12);
|
|
101
|
-
--overlay: rgb(9 9 11 / 0.5);
|
|
102
|
-
--overlay-strong: rgb(9 9 11 / 0.82);
|
|
103
|
-
--whatsapp: #0f7d37;
|
|
104
|
-
--whatsapp-hover: #188a45;
|
|
105
|
-
--whatsapp-panel: #ffffff;
|
|
106
|
-
--whatsapp-panel-ink: #1f2937;
|
|
107
|
-
--whatsapp-panel-muted: #6b7280;
|
|
108
|
-
--whatsapp-panel-line: #e5e7eb;
|
|
109
|
-
--whatsapp-head: #075e54;
|
|
110
|
-
--whatsapp-head-ink: #ffffff;
|
|
111
|
-
--whatsapp-online: #86efac;
|
|
112
|
-
--whatsapp-bubble-in: #f3f4f6;
|
|
113
|
-
--whatsapp-bubble-out: #dcf8c6;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/* Arabic joins its letters: no letter-spacing, no capitals, and a taller line. */
|
|
117
|
-
[dir="rtl"] {
|
|
118
|
-
--body-size: 16.5px;
|
|
119
|
-
--body-leading: 1.8;
|
|
120
|
-
--weight-medium: 500;
|
|
121
|
-
--weight-semibold: 600;
|
|
122
|
-
--weight-bold: 700;
|
|
123
|
-
--weight-heavy: 700;
|
|
124
|
-
--heading-weight: 600;
|
|
125
|
-
--heading-tracking: 0;
|
|
126
|
-
--display-weight: 500;
|
|
127
|
-
--display-tracking: 0;
|
|
128
|
-
--btn-size: 15px;
|
|
129
|
-
--btn-tracking: 0;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
html[data-corners="round"] {
|
|
133
|
-
--r-pill: 999px;
|
|
134
|
-
--r-xs: 6px;
|
|
135
|
-
--r-sm: 10px;
|
|
136
|
-
--r: 16px;
|
|
137
|
-
--r-lg: 22px;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
html[data-corners="square"] {
|
|
141
|
-
--r-xs: 0;
|
|
142
|
-
--r-sm: 0;
|
|
143
|
-
--r: 0;
|
|
144
|
-
--r-lg: 0;
|
|
145
|
-
--r-pill: 0;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
@media (prefers-reduced-motion: reduce) {
|
|
149
|
-
:root {
|
|
150
|
-
--duration: 0s;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
/* ── Scheme colors ──────────────────────────────────────────────────────
|
|
155
|
-
* The fallbacks are the "light" scheme in src/theme/settings.ts, used where
|
|
156
|
-
* no scheme is set.
|
|
157
|
-
*/
|
|
158
|
-
:root,
|
|
159
|
-
.
|
|
160
|
-
--bg: var(--
|
|
161
|
-
--ink: var(--
|
|
162
|
-
--heading: var(--
|
|
163
|
-
--accent-text: color-mix(in oklab, var(--accent) 75%, var(--heading));
|
|
164
|
-
--accent: var(--
|
|
165
|
-
--btn: var(--
|
|
166
|
-
--btn-ink: var(--
|
|
167
|
-
--line: var(--
|
|
168
|
-
--sale: var(--accent);
|
|
169
|
-
--sale-ink: var(--bg);
|
|
170
|
-
--muted: color-mix(in oklab, var(--ink) 64%, var(--bg));
|
|
171
|
-
--soft: color-mix(in oklab, var(--heading) 5%, var(--bg));
|
|
172
|
-
--softer: color-mix(in oklab, var(--heading) 2.5%, var(--bg));
|
|
173
|
-
--card: color-mix(in oklab, var(--bg) 35%, white);
|
|
174
|
-
--field: color-mix(in oklab, var(--bg) 20%, white);
|
|
175
|
-
--line-strong: color-mix(in oklab, var(--ink) 22%, var(--bg));
|
|
176
|
-
--btn-hover: color-mix(in oklab, var(--btn) 88%, black);
|
|
177
|
-
/* Status words, readable on the scheme they sit on. */
|
|
178
|
-
--success-text: color-mix(in oklab, var(--success) 75%, var(--heading));
|
|
179
|
-
--danger-text: color-mix(in oklab, var(--danger) 75%, var(--heading));
|
|
180
|
-
--warm-text: color-mix(in oklab, var(--warm) 80%, var(--heading));
|
|
181
|
-
/* Depth: paper on paper — a hairline, almost no shadow. */
|
|
182
|
-
--shadow-sm: 0 0 0 1px color-mix(in oklab, var(--heading) 6%, transparent);
|
|
183
|
-
--shadow: 0 0 0 1px color-mix(in oklab, var(--heading) 7%, transparent), 0 12px 28px -24px color-mix(in oklab, var(--heading) 30%, transparent);
|
|
184
|
-
--shadow-lg: 0 30px 60px -36px color-mix(in oklab, var(--heading) 45%, transparent);
|
|
185
|
-
/* Text over photos stays readable whatever the photo. */
|
|
186
|
-
--photo-veil-light: color-mix(in oklab, black 10%, transparent);
|
|
187
|
-
--photo-veil: color-mix(in oklab, black 55%, transparent);
|
|
188
|
-
color: var(--ink);
|
|
189
|
-
/* Colour-dependent tokens: they read the scheme set on each section. */
|
|
190
|
-
--border-accordion: 1px solid var(--line);
|
|
191
|
-
--border-back-to-top: 1px solid var(--line);
|
|
192
|
-
--border-btn: 1.5px solid var(--btn);
|
|
193
|
-
--border-cart-drawer-foot: 1px solid var(--line);
|
|
194
|
-
--border-cart-drawer-head: 1px solid var(--line);
|
|
195
|
-
--border-cart-line: 1px solid var(--line);
|
|
196
|
-
--border-cart-summary-row-total: 1px dashed var(--line);
|
|
197
|
-
--border-checkout-totals: 1px dashed var(--line);
|
|
198
|
-
--border-chip: 1.5px solid var(--line);
|
|
199
|
-
--border-delivery-choice-option: 1.5px solid var(--line);
|
|
200
|
-
--border-delivery-choice-option-focus: 2px solid var(--accent);
|
|
201
|
-
--border-editor-placeholder: 2px dashed color-mix(in oklab, var(--accent) 45%, var(--bg));
|
|
202
|
-
--border-empty-state: 1.5px dashed var(--line);
|
|
203
|
-
--border-faq-item: 1px solid var(--line);
|
|
204
|
-
--border-footer-bottom: 1px solid var(--line);
|
|
205
|
-
--border-footer-social: 1px solid var(--line);
|
|
206
|
-
--border-locale-menu: 1px solid var(--line);
|
|
207
|
-
--border-mega: 1px solid var(--line);
|
|
208
|
-
--border-mobile-buy-bar: 1px solid var(--line);
|
|
209
|
-
--border-mobile-menu-foot: 1px solid var(--line);
|
|
210
|
-
--border-mobile-menu-head: 1px solid var(--line);
|
|
211
|
-
--border-mobile-menu-languages: 1.5px solid var(--line);
|
|
212
|
-
--border-mobile-nav: 1px solid var(--line);
|
|
213
|
-
--border-offer-tile: 1.5px solid var(--line);
|
|
214
|
-
--border-offer-tile-focus: 2px solid var(--accent);
|
|
215
|
-
--border-offer-tile-radio: 2px solid var(--line-strong);
|
|
216
|
-
--border-offer-tile-radio-chosen: 7px solid var(--accent);
|
|
217
|
-
--border-offer-unit: 1px dashed var(--line);
|
|
218
|
-
--border-option-value: 1.5px solid var(--line);
|
|
219
|
-
--border-order-panel: 1.5px solid color-mix(in oklab, var(--accent) 28%, var(--line));
|
|
220
|
-
--border-otp-box: 1.5px solid color-mix(in oklab, var(--whatsapp) 45%, var(--line));
|
|
221
|
-
--border-page-focus: 2px solid var(--accent);
|
|
222
|
-
--border-product-facts: 1px dashed var(--line);
|
|
223
|
-
--border-prose: 4px solid var(--accent);
|
|
224
|
-
--border-prose-line: 1px solid var(--line);
|
|
225
|
-
--border-prose-before: 1.5px solid var(--line-strong);
|
|
226
|
-
--border-review-card: 1px solid var(--line);
|
|
227
|
-
--border-review-product: 1.5px solid var(--line);
|
|
228
|
-
--border-select: 1.5px solid var(--line);
|
|
229
|
-
--border-stepper: 1.5px solid var(--line);
|
|
230
|
-
--border-textarea: 1.5px solid var(--line);
|
|
231
|
-
--border-thanks-number: 1.5px dashed color-mix(in oklab, var(--accent) 45%, var(--line));
|
|
232
|
-
--border-track-dot: 2px solid var(--line-strong);
|
|
233
|
-
--border-upload-button: 1.5px dashed var(--line-strong);
|
|
234
|
-
--border-voice-note-track-focus: 2px solid var(--accent);
|
|
235
|
-
--shadow-delivery-choice-option-checked: inset 0 0 0 1px var(--accent);
|
|
236
|
-
--shadow-is-chosen: inset 0 0 0 1px var(--accent), 0 14px 30px -24px var(--accent);
|
|
237
|
-
--shadow-keyframes-wa-attention-0pct: var(--shadow-lg), 0 0 0 0 color-mix(in oklab, var(--whatsapp) 45%, transparent);
|
|
238
|
-
--shadow-keyframes-wa-attention-70pct: var(--shadow-lg), 0 0 0 16px color-mix(in oklab, var(--whatsapp) 0%, transparent);
|
|
239
|
-
--shadow-option-value: inset 0 0 0 1px var(--accent);
|
|
240
|
-
--shadow-textarea-focus: 0 0 0 4px color-mix(in oklab, var(--accent) 14%, transparent);
|
|
241
|
-
--shadow-track-dot: 0 0 0 5px color-mix(in oklab, var(--accent) 18%, transparent);
|
|
242
|
-
--shadow-voice-note-play: 0 8px 18px -10px var(--btn);
|
|
243
|
-
--surface-btn-white-hover: color-mix(in oklab, var(--on-photo) 88%, var(--accent));
|
|
244
|
-
--surface-cart-line-remove-hover: color-mix(in oklab, var(--danger) 10%, var(--bg));
|
|
245
|
-
--surface-cod-chip: color-mix(in oklab, var(--success) 12%, var(--bg));
|
|
246
|
-
--surface-collection-card-body: color-mix(in oklab, var(--card) 92%, transparent);
|
|
247
|
-
--surface-footer-pay: color-mix(in oklab, var(--accent) 16%, transparent);
|
|
248
|
-
--surface-gallery-arrow: color-mix(in oklab, var(--card) 88%, transparent);
|
|
249
|
-
--surface-hero-arrow: color-mix(in oklab, var(--card) 80%, transparent);
|
|
250
|
-
--surface-hero-dot-before: color-mix(in oklab, var(--heading) 30%, transparent);
|
|
251
|
-
--surface-hero-media-after: linear-gradient(90deg, color-mix(in oklab, var(--bg) 88%, transparent) 0%, color-mix(in oklab, var(--bg) 55%, transparent) 38%, transparent 70%);
|
|
252
|
-
--surface-hero-media-after-rtl: linear-gradient(270deg, color-mix(in oklab, var(--bg) 88%, transparent) 0%, color-mix(in oklab, var(--bg) 55%, transparent) 38%, transparent 70%);
|
|
253
|
-
--surface-hero-media-after-narrow: linear-gradient(0deg, color-mix(in oklab, var(--bg) 96%, transparent) 0%, color-mix(in oklab, var(--bg) 80%, transparent) 36%, transparent 70%);
|
|
254
|
-
--surface-image-banner-photo-after: linear-gradient(180deg, var(--photo-veil-light), var(--photo-veil));
|
|
255
|
-
--surface-mobile-buy-bar: color-mix(in oklab, var(--card) 94%, transparent);
|
|
256
|
-
--surface-notice-error: color-mix(in oklab, var(--danger) 10%, var(--bg));
|
|
257
|
-
--surface-notice-warn: color-mix(in oklab, var(--warm) 14%, var(--bg));
|
|
258
|
-
--surface-offer-tile-save: color-mix(in oklab, var(--success) 12%, var(--bg));
|
|
259
|
-
--surface-otp-box: color-mix(in oklab, var(--whatsapp) 6%, var(--bg));
|
|
260
|
-
--surface-review-form-done-icon: color-mix(in oklab, var(--success) 12%, var(--bg));
|
|
261
|
-
--surface-save-badge: color-mix(in oklab, var(--danger) 12%, var(--bg));
|
|
262
|
-
--surface-site-header: color-mix(in oklab, var(--bg) 92%, transparent);
|
|
263
|
-
--surface-stock-line: color-mix(in oklab, var(--success) 10%, var(--bg));
|
|
264
|
-
--surface-stock-line-low: color-mix(in oklab, var(--warm) 18%, var(--bg));
|
|
265
|
-
--surface-stock-line-out: color-mix(in oklab, var(--danger) 10%, var(--bg));
|
|
266
|
-
--surface-thanks-icon: color-mix(in oklab, var(--success) 13%, var(--bg));
|
|
267
|
-
--surface-track-refusal: color-mix(in oklab, var(--danger) 9%, var(--bg));
|
|
268
|
-
--surface-track-stage-ended: color-mix(in oklab, var(--warm) 14%, var(--bg));
|
|
269
|
-
--surface-voice-note-bars: color-mix(in oklab, var(--accent) 28%, var(--bg));
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
/*
|
|
273
|
-
* A card or a field is lifted off its scheme's background: towards white on a
|
|
274
|
-
* light scheme, only a little lighter on a dark one, so a form or a card in a
|
|
275
|
-
* dark scheme keeps its text readable. The clamp is 1 on a light background,
|
|
276
|
-
* 0 on a dark one.
|
|
277
|
-
*/
|
|
278
|
-
@supports (color: oklch(from red l c h)) {
|
|
279
|
-
:root,
|
|
280
|
-
.
|
|
281
|
-
--card: oklch(from var(--bg) calc(l + (1 - l) * 0.65 * clamp(0, (l - 0.6) * 1000, 1) + 0.06 * (1 - clamp(0, (l - 0.6) * 1000, 1))) c h);
|
|
282
|
-
--field: oklch(from var(--bg) calc(l + (1 - l) * 0.8 * clamp(0, (l - 0.6) * 1000, 1) + 0.1 * (1 - clamp(0, (l - 0.6) * 1000, 1))) c h);
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
/* ── Design values of the stylesheets, one token per place ─────────────────
|
|
287
|
-
* Each name says where a value is used: its category, its role (the class)
|
|
288
|
-
* and its media context. Layout geometry (gap, padding, margin, sizes,
|
|
289
|
-
* insets, grid) stays in the stylesheets. */
|
|
290
|
-
:root {
|
|
291
|
-
/* Type sizes */
|
|
292
|
-
--text-eyebrow: 13px;
|
|
293
|
-
--text-section-head: clamp(28px, 3.4vw, 44px);
|
|
294
|
-
--text-section-head-text: clamp(15px, 1.3vw, 17px);
|
|
295
|
-
--text-btn-lg: calc(var(--btn-size) + 1px);
|
|
296
|
-
--text-btn-sm: calc(var(--btn-size) - 1.5px);
|
|
297
|
-
--text-cart-badge: 11px;
|
|
298
|
-
--text-field-label: 14px;
|
|
299
|
-
--text-field-hint: 13px;
|
|
300
|
-
--text-field-error: 13px;
|
|
301
|
-
--text-textarea: 16px;
|
|
302
|
-
--text-select: 15px;
|
|
303
|
-
--text-notice: 14px;
|
|
304
|
-
--text-chip: 14px;
|
|
305
|
-
--text-rating-line: 14px;
|
|
306
|
-
--text-verified: 12.5px;
|
|
307
|
-
--text-price-from: 0.8em;
|
|
308
|
-
--text-price-compare: 0.86em;
|
|
309
|
-
--text-price-lg: clamp(24px, 3vw, 30px);
|
|
310
|
-
--text-badge: 12.5px;
|
|
311
|
-
--text-empty-state: clamp(20px, 2.4vw, 26px);
|
|
312
|
-
--text-service-page-big: clamp(80px, 14vw, 150px);
|
|
313
|
-
--text-breadcrumbs: 13.5px;
|
|
314
|
-
--text-pagination-page: 14px;
|
|
315
|
-
--text-prose: 16px;
|
|
316
|
-
--text-prose-h2: 1.45em;
|
|
317
|
-
--text-prose-h3: 1.25em;
|
|
318
|
-
--text-prose-h4: 1.08em;
|
|
319
|
-
--text-prose-caption: 0.86em;
|
|
320
|
-
--text-prose-code: 0.9em;
|
|
321
|
-
--text-prose-table: 0.94em;
|
|
322
|
-
--text-editor-placeholder: 14.5px;
|
|
323
|
-
--text-order-panel-title: clamp(19px, 2.2vw, 23px);
|
|
324
|
-
--text-cod-chip: 13px;
|
|
325
|
-
--text-delivery-choice-label: 14px;
|
|
326
|
-
--text-delivery-choice-fee: 13px;
|
|
327
|
-
--text-coupon-toggle: 14.5px;
|
|
328
|
-
--text-coupon-note: 13.5px;
|
|
329
|
-
--text-checkout-line-qty: 12px;
|
|
330
|
-
--text-checkout-line-title: 14.5px;
|
|
331
|
-
--text-checkout-line-variant: 13px;
|
|
332
|
-
--text-checkout-totals: 14.5px;
|
|
333
|
-
--text-row: 12.5px;
|
|
334
|
-
--text-row-total: 18px;
|
|
335
|
-
--text-order-submit: 18px;
|
|
336
|
-
--text-assure: 12.5px;
|
|
337
|
-
--text-order-note: 13px;
|
|
338
|
-
--text-otp-status: 14px;
|
|
339
|
-
--text-otp-code: 22px;
|
|
340
|
-
--text-mobile-buy-bar-price: 11.5px;
|
|
341
|
-
--text-mobile-buy-bar-total: 19px;
|
|
342
|
-
--text-cart-summary: 14.5px;
|
|
343
|
-
--text-cart-summary-row: 12.5px;
|
|
344
|
-
--text-cart-summary-row-total: 18px;
|
|
345
|
-
--text-cart-trust: 13.5px;
|
|
346
|
-
--text-free-ship: 14px;
|
|
347
|
-
--text-cart-line-variant: 13px;
|
|
348
|
-
--text-cart-line-blocked: 13px;
|
|
349
|
-
--text-cart-drawer-head: 21px;
|
|
350
|
-
--text-cart-drawer-count: 0.6em;
|
|
351
|
-
--text-checkout-head: clamp(28px, 3.6vw, 40px);
|
|
352
|
-
--text-thanks: clamp(30px, 4.4vw, 44px);
|
|
353
|
-
--text-thanks-number: clamp(19px, 5.4vw, 26px);
|
|
354
|
-
--text-thanks-details: 12.5px;
|
|
355
|
-
--text-track-placed: 14px;
|
|
356
|
-
--text-track-refusal: 14.5px;
|
|
357
|
-
--text-track-stage: clamp(20px, 2.4vw, 26px);
|
|
358
|
-
--text-track-step: 14.5px;
|
|
359
|
-
--text-track-step-wide: 13.5px;
|
|
360
|
-
--text-track-lines: 16px;
|
|
361
|
-
--text-product-title: clamp(26px, 3.4vw, 40px);
|
|
362
|
-
--text-save-badge: 13.5px;
|
|
363
|
-
--text-stock-line: 14px;
|
|
364
|
-
--text-trust-row-item: 13px;
|
|
365
|
-
--text-product-facts: 14.5px;
|
|
366
|
-
--text-gallery-sticker: 17px;
|
|
367
|
-
--text-gallery-count: 13px;
|
|
368
|
-
--text-variant-label: 14.5px;
|
|
369
|
-
--text-option-value: 14.5px;
|
|
370
|
-
--text-option-value-sm: 13.5px;
|
|
371
|
-
--text-offer-tile-qty: 18px;
|
|
372
|
-
--text-offer-tile-detail: 13px;
|
|
373
|
-
--text-offer-tile-save: 12.5px;
|
|
374
|
-
--text-offer-tile-price: 17px;
|
|
375
|
-
--text-offer-tile-compare: 13px;
|
|
376
|
-
--text-offer-tile-ribbon: 12px;
|
|
377
|
-
--text-offer-unit-label: 13.5px;
|
|
378
|
-
--text-landing-product-name: clamp(24px, 6vw, 34px);
|
|
379
|
-
--text-countdown-title: clamp(18px, 4.6vw, 22px);
|
|
380
|
-
--text-countdown-part: clamp(24px, 7vw, 32px);
|
|
381
|
-
--text-countdown-part-unit: 12px;
|
|
382
|
-
--text-steps-number: 13px;
|
|
383
|
-
--text-steps-title: 17px;
|
|
384
|
-
--text-steps-text: 14px;
|
|
385
|
-
--text-reviews-summary: clamp(26px, 3.2vw, 38px);
|
|
386
|
-
--text-reviews-summary-score: 32px;
|
|
387
|
-
--text-review-card-date: 12.5px;
|
|
388
|
-
--text-review-card-body: 15px;
|
|
389
|
-
--text-voice-note-error: 13px;
|
|
390
|
-
--text-voice-note-time: 13px;
|
|
391
|
-
--text-review-dialog-head: 22px;
|
|
392
|
-
--text-review-form-lead: 14.5px;
|
|
393
|
-
--text-upload-item: 12px;
|
|
394
|
-
--text-upload-button: 14px;
|
|
395
|
-
--text-hero-title: clamp(42px, 6.4vw, 84px);
|
|
396
|
-
--text-hero-subtitle: clamp(16px, 1.5vw, 19px);
|
|
397
|
-
--text-collection-card-title: clamp(16px, 1.6vw, 20px);
|
|
398
|
-
--text-collection-card-count: 13px;
|
|
399
|
-
--text-collection-card-title-large: clamp(20px, 2vw, 26px);
|
|
400
|
-
--text-collection-card-cta: 14px;
|
|
401
|
-
--text-image-banner: clamp(30px, 4.4vw, 56px);
|
|
402
|
-
--text-image-banner-text: clamp(15px, 1.4vw, 18px);
|
|
403
|
-
--text-product-card-title: 15px;
|
|
404
|
-
--text-price: 16px;
|
|
405
|
-
--text-product-info-title: clamp(24px, 3vw, 34px);
|
|
406
|
-
--text-testimonial-before: 90px;
|
|
407
|
-
--text-testimonial-quote: 16px;
|
|
408
|
-
--text-testimonial-avatar: 19px;
|
|
409
|
-
--text-testimonial-date: 13px;
|
|
410
|
-
--text-testimonial-product: 14px;
|
|
411
|
-
--text-listing-head: clamp(30px, 4vw, 48px);
|
|
412
|
-
--text-listing-head-count: 13px;
|
|
413
|
-
--text-listing-sort: 14px;
|
|
414
|
-
--text-prose-h1: clamp(30px, 4vw, 44px);
|
|
415
|
-
--text-side-card: 20px;
|
|
416
|
-
--text-side-card-text: 14.5px;
|
|
417
|
-
--text-side-card-link: 14.5px;
|
|
418
|
-
--text-contact-card: 17px;
|
|
419
|
-
--text-contact-help: 20px;
|
|
420
|
-
--text-topbar: 13px;
|
|
421
|
-
--text-locale-trigger: 13px;
|
|
422
|
-
--text-locale-menu: 14px;
|
|
423
|
-
--text-brand-text: min(calc(var(--logo-h, 42px) * 0.5), 26px);
|
|
424
|
-
--text-brand-text-wide: calc(var(--logo-h, 42px) * 0.6);
|
|
425
|
-
--text-brand-text-narrow: 17px;
|
|
426
|
-
--text-nav-summary: 15px;
|
|
427
|
-
--text-mega-list: 14.5px;
|
|
428
|
-
--text-mobile-nav: 18px;
|
|
429
|
-
--text-mobile-menu-languages: 14px;
|
|
430
|
-
--text-search-dialog-head: 20px;
|
|
431
|
-
--text-site-footer: 14.5px;
|
|
432
|
-
--text-footer-brand: 28px;
|
|
433
|
-
--text-footer-col: 15px;
|
|
434
|
-
--text-footer-bottom: 13px;
|
|
435
|
-
--text-toast-inner: 14px;
|
|
436
|
-
--text-whatsapp-float: 14.5px;
|
|
437
|
-
--text-wa-caption: 12.5px;
|
|
438
|
-
--text-wa-bubble: 14px;
|
|
439
|
-
|
|
440
|
-
/* Line heights */
|
|
441
|
-
--leading-h4: 1.15;
|
|
442
|
-
--leading-rtl: 1.35;
|
|
443
|
-
--leading-btn: 1.2;
|
|
444
|
-
--leading-cart-badge: 19px;
|
|
445
|
-
--leading-prose: 1.75;
|
|
446
|
-
--leading-prose-heading: 1.3;
|
|
447
|
-
--leading-delivery-choice-label: 1.3;
|
|
448
|
-
--leading-checkout-line-qty: 22px;
|
|
449
|
-
--leading-checkout-line-title: 1.35;
|
|
450
|
-
--leading-assure: 1.3;
|
|
451
|
-
--leading-mobile-buy-bar-price: 1.2;
|
|
452
|
-
--leading-cart-line-title: 1.35;
|
|
453
|
-
--leading-trust-row-item: 1.35;
|
|
454
|
-
--leading-offer-tile-name: 1.35;
|
|
455
|
-
--leading-landing-product-name: 1.2;
|
|
456
|
-
--leading-countdown-part: 1.1;
|
|
457
|
-
--leading-steps-text: 1.5;
|
|
458
|
-
--leading-hero-title: 0.98;
|
|
459
|
-
--leading-hero-title-rtl: 1.25;
|
|
460
|
-
--leading-collection-card-title: 1.2;
|
|
461
|
-
--leading-product-card-title: 1.4;
|
|
462
|
-
--leading-testimonial-quote: 1.65;
|
|
463
|
-
--leading-wa-bubble: 1.55;
|
|
464
|
-
|
|
465
|
-
/* Letter-spacing */
|
|
466
|
-
--tracking-eyebrow: 0.04em;
|
|
467
|
-
--tracking-otp-code: 0.4em;
|
|
468
|
-
--tracking-thanks-number: 0.04em;
|
|
469
|
-
--tracking-locale-trigger: 0.04em;
|
|
470
|
-
|
|
471
|
-
/* Motion: transitions, animations and transforms */
|
|
472
|
-
--motion-page-before-after-reduced: 0.01ms;
|
|
473
|
-
--motion-icon-directional: scaleX(-1);
|
|
474
|
-
--motion-skip-link: translateY(-150%);
|
|
475
|
-
--motion-icon-directional-hover: translateX(4px);
|
|
476
|
-
--motion-icon-directional-hover-rtl: scaleX(-1) translateX(4px);
|
|
477
|
-
--motion-btn-active: scale(0.98);
|
|
478
|
-
--motion-accordion-last: rotate(180deg);
|
|
479
|
-
--motion-mobile-buy-bar: translateY(110%);
|
|
480
|
-
--motion-mobile-buy-bar-transition: transform 0.3s var(--ease);
|
|
481
|
-
--motion-free-ship-bar: width 0.4s var(--ease);
|
|
482
|
-
--motion-cart-drawer: visibility 0s 0.35s;
|
|
483
|
-
--motion-cart-drawer-scrim: opacity 0.35s var(--ease);
|
|
484
|
-
--motion-cart-drawer-panel: translateX(100%);
|
|
485
|
-
--motion-cart-drawer-panel-transition: transform 0.35s var(--ease);
|
|
486
|
-
--motion-cart-drawer-panel-rtl: translateX(-100%);
|
|
487
|
-
--motion-review-card-photo-hover: scale(1.04);
|
|
488
|
-
--motion-voice-note-play-active: scale(0.94);
|
|
489
|
-
--motion-voice-note-spinner: voice-spin 0.8s linear infinite;
|
|
490
|
-
--motion-keyframes-voice-spin-to: rotate(1turn);
|
|
491
|
-
--motion-voice-note-spinner-reduced: 2.4s;
|
|
492
|
-
--motion-voice-note-bars: background-color 0.15s linear;
|
|
493
|
-
--motion-star-input-hover: scale(1.1);
|
|
494
|
-
--motion-upload-item-bar: inline-size 0.2s linear;
|
|
495
|
-
--motion-rec-dot: pulse 1s ease-in-out infinite;
|
|
496
|
-
--motion-hero-slide: opacity 0.8s var(--ease), visibility 0.8s;
|
|
497
|
-
--motion-hero-dot-before: width 0.3s var(--ease), background-color 0.3s var(--ease);
|
|
498
|
-
--motion-collection-card-media: transform 0.7s var(--ease);
|
|
499
|
-
--motion-collection-card-media-hover: scale(1.05);
|
|
500
|
-
--motion-product-card-media: transform 0.6s var(--ease);
|
|
501
|
-
--motion-product-card-media-hover: scale(1.045);
|
|
502
|
-
--motion-contact-card-hover: translateY(-3px);
|
|
503
|
-
--motion-site-header: background-color 0.3s var(--ease),
|
|
504
|
-
border-color 0.3s var(--ease),
|
|
505
|
-
box-shadow 0.3s var(--ease);
|
|
506
|
-
--motion-keyframes-pop-in-from: translateY(6px);
|
|
507
|
-
--motion-mobile-menu: visibility 0s 0.35s;
|
|
508
|
-
--motion-mobile-menu-scrim: opacity 0.35s var(--ease);
|
|
509
|
-
--motion-mobile-menu-panel: translateX(-100%);
|
|
510
|
-
--motion-mobile-menu-panel-transition: transform 0.35s var(--ease);
|
|
511
|
-
--motion-mobile-menu-panel-rtl: translateX(100%);
|
|
512
|
-
--motion-mobile-nav: rotate(180deg);
|
|
513
|
-
--motion-back-to-top: translateY(12px);
|
|
514
|
-
--motion-toast-inner: translateY(-10px);
|
|
515
|
-
--motion-whatsapp-float-hover: translateY(-2px);
|
|
516
|
-
--motion-whatsapp-float: transform var(--duration) var(--ease), background-color var(--duration) var(--ease), opacity var(--duration) var(--ease), visibility 0.2s;
|
|
517
|
-
--motion-whatsapp-float-hidden: translateY(12px);
|
|
518
|
-
--motion-whatsapp-float-attention: wa-attention 2.4s ease-out 2;
|
|
519
|
-
|
|
520
|
-
/* Opacity */
|
|
521
|
-
--opacity-btn-disabled: 0.5;
|
|
522
|
-
--opacity-select-disabled: 0.6;
|
|
523
|
-
--opacity-cart-line: 0.7;
|
|
524
|
-
--opacity-gallery-thumb: 0.7;
|
|
525
|
-
--opacity-option-value-disabled: 0.4;
|
|
526
|
-
--opacity-review-product-disabled: 0.55;
|
|
527
|
-
--opacity-keyframes-pulse-50pct: 0.4;
|
|
528
|
-
--opacity-image-banner: 0.92;
|
|
529
|
-
--opacity-topbar-social: 0.85;
|
|
530
|
-
--opacity-ticker-arrow: 0.75;
|
|
531
|
-
|
|
532
|
-
/* Shapes */
|
|
533
|
-
--shape-collection-card-media: 0.94;
|
|
534
|
-
--shape-product-card-media: 4 / 5;
|
|
535
|
-
|
|
536
|
-
/* Borders and outlines */
|
|
537
|
-
--border-page-focus-offset: 2px;
|
|
538
|
-
--border-delivery-choice-focus-offset: 2px;
|
|
539
|
-
--border-gallery-thumb: 2px solid transparent;
|
|
540
|
-
--border-offer-tile-focus-offset: 2px;
|
|
541
|
-
--border-voice-note-spinner: 2px solid currentColor;
|
|
542
|
-
--border-voice-note-track-focus-offset: 4px;
|
|
543
|
-
--border-locale-trigger-focus: 2px solid currentColor;
|
|
544
|
-
--border-locale-trigger-focus-offset: 2px;
|
|
545
|
-
--border-site-header: 1px solid transparent;
|
|
546
|
-
--border-wa-card: 1px solid var(--whatsapp-panel-line);
|
|
547
|
-
|
|
548
|
-
/* Surfaces: colour mixes and backgrounds */
|
|
549
|
-
--surface-prose: color-mix(in oklab, var(--warm) 38%, transparent);
|
|
550
|
-
--surface-topbar-social-hover: color-mix(in oklab, currentColor 14%, transparent);
|
|
551
|
-
--surface-locale-trigger-hover: color-mix(in oklab, currentColor 14%, transparent);
|
|
552
|
-
|
|
553
|
-
/* Shadows */
|
|
554
|
-
--shadow-mobile-buy-bar: 0 -14px 30px -24px var(--overlay);
|
|
555
|
-
--shadow-option-value-swatch: inset 0 0 0 1px var(--swatch-edge);
|
|
556
|
-
--shadow-offer-tile-ribbon: 0 6px 14px -6px var(--warm);
|
|
557
|
-
--shadow-wa-card: 0 30px 70px -30px var(--overlay);
|
|
558
|
-
|
|
559
|
-
/* Corner radii */
|
|
560
|
-
--radius-order-panel: calc(var(--r-lg) + 4px);
|
|
561
|
-
--radius-thanks-card: calc(var(--r-lg) + 8px);
|
|
562
|
-
--radius-track-card: calc(var(--r-lg) + 8px);
|
|
563
|
-
--radius-product-detail-featured: calc(var(--r-lg) + 8px);
|
|
564
|
-
|
|
565
|
-
/* Filters */
|
|
566
|
-
--filter-mobile-buy-bar: blur(14px);
|
|
567
|
-
--filter-gallery-count: blur(6px);
|
|
568
|
-
--filter-collection-card-body: blur(8px);
|
|
569
|
-
--filter-site-header: saturate(1.6) blur(14px);
|
|
570
|
-
--filter-search-dialog: blur(3px);
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
/* ── Timings the scripts read ─────────────────────────────────────────────
|
|
574
|
-
* Scripts read these with `motionMs` and `motionValue` (src/lib/motion.ts), so
|
|
575
|
-
* a timing changes here and nowhere else.
|
|
576
|
-
*/
|
|
577
|
-
:root {
|
|
578
|
-
--motion-hero-interval: 6.5s;
|
|
579
|
-
--motion-ticker-interval: 5s;
|
|
580
|
-
--motion-menu-close-delay: 160ms;
|
|
581
|
-
--motion-toast-visible: 3.8s;
|
|
582
|
-
--motion-drawer-focus-delay: 40ms;
|
|
583
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
* The design system — the one file that holds the brand.
|
|
3
|
+
*
|
|
4
|
+
* Change this file to make the theme yours: fonts, type, corners, shadows,
|
|
5
|
+
* motion and the colors nothing else decides. Every other stylesheet reads
|
|
6
|
+
* these tokens and never writes a brand value of its own (a test enforces it).
|
|
7
|
+
*
|
|
8
|
+
* Colors come in two layers:
|
|
9
|
+
* 1. The store's color schemes. Merchants pick them in Studio; the SDK's
|
|
10
|
+
* `schemeClass(id)` puts `.ab-scheme` on an element and sets the seven
|
|
11
|
+
* `--ab-color-*` roles. `.ab-scheme` below turns those roles into this
|
|
12
|
+
* theme's color tokens, so a section recolors with its scheme. The
|
|
13
|
+
* defaults merchants start from live in `src/theme/settings.ts`.
|
|
14
|
+
* 2. Fixed colors no scheme should change: status colors, photo overlays,
|
|
15
|
+
* WhatsApp's own green.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
/* ── Fonts ──────────────────────────────────────────────────────────────
|
|
19
|
+
* Two families, self-hosted in public/fonts (licenses in public/fonts/OFL.txt):
|
|
20
|
+
* one for Arabic, one for Latin. Each covers only its script (unicode-range),
|
|
21
|
+
* so a page downloads the one its text uses, and mixed text — a French name
|
|
22
|
+
* on an Arabic page — takes each script from its own family. To change a
|
|
23
|
+
* font, replace its file, its rule here and its preload in
|
|
24
|
+
* src/layouts/StoreLayout.astro.
|
|
25
|
+
*/
|
|
26
|
+
@font-face {
|
|
27
|
+
font-family: "Alexandria";
|
|
28
|
+
src: url("/fonts/alexandria-arabic.woff2") format("woff2");
|
|
29
|
+
font-weight: 100 900;
|
|
30
|
+
font-style: normal;
|
|
31
|
+
font-display: swap;
|
|
32
|
+
unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
|
|
33
|
+
}
|
|
34
|
+
@font-face {
|
|
35
|
+
font-family: "Fraunces";
|
|
36
|
+
src: url("/fonts/fraunces-latin.woff2") format("woff2");
|
|
37
|
+
font-weight: 100 900;
|
|
38
|
+
font-style: normal;
|
|
39
|
+
font-display: swap;
|
|
40
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
:root {
|
|
44
|
+
/* Type */
|
|
45
|
+
--font-arabic: "Alexandria";
|
|
46
|
+
--font-latin: "Fraunces";
|
|
47
|
+
/* Latin first: it holds only Latin glyphs, so Arabic text falls through to the Arabic family. */
|
|
48
|
+
--font-body: var(--font-latin), var(--font-arabic), Georgia, "Times New Roman", serif;
|
|
49
|
+
--font-display: var(--font-body);
|
|
50
|
+
--font-quote: var(--font-body);
|
|
51
|
+
--body-size: 16.5px;
|
|
52
|
+
--body-leading: 1.65;
|
|
53
|
+
/* Weights every stylesheet names; a serif reads heavier, so its "heavy" is a semibold. */
|
|
54
|
+
--weight-medium: 450;
|
|
55
|
+
--weight-semibold: 550;
|
|
56
|
+
--weight-bold: 600;
|
|
57
|
+
--weight-heavy: 600;
|
|
58
|
+
--heading-weight: 500;
|
|
59
|
+
--heading-tracking: -0.015em;
|
|
60
|
+
--display-weight: 400;
|
|
61
|
+
--display-tracking: -0.03em;
|
|
62
|
+
|
|
63
|
+
/* Buttons: crisp, small capitals, letter-spaced. */
|
|
64
|
+
--btn-radius: var(--r-sm);
|
|
65
|
+
--btn-weight: 600;
|
|
66
|
+
--btn-size: 13.5px;
|
|
67
|
+
--btn-case: uppercase;
|
|
68
|
+
--btn-tracking: 0.09em;
|
|
69
|
+
--btn-glow: none;
|
|
70
|
+
|
|
71
|
+
/* A saving: the badge on a card and the sticker on a product photo. */
|
|
72
|
+
--sticker-radius: var(--r-sm);
|
|
73
|
+
--sticker-shadow: none;
|
|
74
|
+
--sticker-rotate: 0deg;
|
|
75
|
+
|
|
76
|
+
/* Layout */
|
|
77
|
+
--gutter: clamp(16px, 4vw, 40px);
|
|
78
|
+
--header-h: 64px;
|
|
79
|
+
|
|
80
|
+
/* Corners — the `corners` setting picks one of three sets below. */
|
|
81
|
+
--r-xs: 1px;
|
|
82
|
+
--r-sm: 2px;
|
|
83
|
+
--r: 3px;
|
|
84
|
+
--r-lg: 4px;
|
|
85
|
+
--r-pill: 2px;
|
|
86
|
+
--r-round: 50%;
|
|
87
|
+
|
|
88
|
+
/* Motion — short and functional; turned off for people who ask for less. */
|
|
89
|
+
--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
|
|
90
|
+
--duration: 0.2s;
|
|
91
|
+
|
|
92
|
+
/* Fixed colors */
|
|
93
|
+
--star: #f5a524;
|
|
94
|
+
--success: #15803d;
|
|
95
|
+
--danger: #b91c1c;
|
|
96
|
+
--warm: #b45309;
|
|
97
|
+
--warm-ink: #ffffff;
|
|
98
|
+
--on-photo: #ffffff;
|
|
99
|
+
--on-photo-ink: #111113;
|
|
100
|
+
--swatch-edge: rgb(0 0 0 / 0.12);
|
|
101
|
+
--overlay: rgb(9 9 11 / 0.5);
|
|
102
|
+
--overlay-strong: rgb(9 9 11 / 0.82);
|
|
103
|
+
--whatsapp: #0f7d37;
|
|
104
|
+
--whatsapp-hover: #188a45;
|
|
105
|
+
--whatsapp-panel: #ffffff;
|
|
106
|
+
--whatsapp-panel-ink: #1f2937;
|
|
107
|
+
--whatsapp-panel-muted: #6b7280;
|
|
108
|
+
--whatsapp-panel-line: #e5e7eb;
|
|
109
|
+
--whatsapp-head: #075e54;
|
|
110
|
+
--whatsapp-head-ink: #ffffff;
|
|
111
|
+
--whatsapp-online: #86efac;
|
|
112
|
+
--whatsapp-bubble-in: #f3f4f6;
|
|
113
|
+
--whatsapp-bubble-out: #dcf8c6;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* Arabic joins its letters: no letter-spacing, no capitals, and a taller line. */
|
|
117
|
+
[dir="rtl"] {
|
|
118
|
+
--body-size: 16.5px;
|
|
119
|
+
--body-leading: 1.8;
|
|
120
|
+
--weight-medium: 500;
|
|
121
|
+
--weight-semibold: 600;
|
|
122
|
+
--weight-bold: 700;
|
|
123
|
+
--weight-heavy: 700;
|
|
124
|
+
--heading-weight: 600;
|
|
125
|
+
--heading-tracking: 0;
|
|
126
|
+
--display-weight: 500;
|
|
127
|
+
--display-tracking: 0;
|
|
128
|
+
--btn-size: 15px;
|
|
129
|
+
--btn-tracking: 0;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
html[data-corners="round"] {
|
|
133
|
+
--r-pill: 999px;
|
|
134
|
+
--r-xs: 6px;
|
|
135
|
+
--r-sm: 10px;
|
|
136
|
+
--r: 16px;
|
|
137
|
+
--r-lg: 22px;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
html[data-corners="square"] {
|
|
141
|
+
--r-xs: 0;
|
|
142
|
+
--r-sm: 0;
|
|
143
|
+
--r: 0;
|
|
144
|
+
--r-lg: 0;
|
|
145
|
+
--r-pill: 0;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
@media (prefers-reduced-motion: reduce) {
|
|
149
|
+
:root {
|
|
150
|
+
--duration: 0s;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* ── Scheme colors ──────────────────────────────────────────────────────
|
|
155
|
+
* The fallbacks are the "light" scheme in src/theme/settings.ts, used where
|
|
156
|
+
* no scheme is set.
|
|
157
|
+
*/
|
|
158
|
+
:root,
|
|
159
|
+
.ab-scheme {
|
|
160
|
+
--bg: var(--ab-color-background, #ffffff);
|
|
161
|
+
--ink: var(--ab-color-text, #262626);
|
|
162
|
+
--heading: var(--ab-color-heading, #000000);
|
|
163
|
+
--accent-text: color-mix(in oklab, var(--accent) 75%, var(--heading));
|
|
164
|
+
--accent: var(--ab-color-accent, #000000);
|
|
165
|
+
--btn: var(--ab-color-button, #000000);
|
|
166
|
+
--btn-ink: var(--ab-color-button-text, #ffffff);
|
|
167
|
+
--line: var(--ab-color-border, #e5e5e5);
|
|
168
|
+
--sale: var(--accent);
|
|
169
|
+
--sale-ink: var(--bg);
|
|
170
|
+
--muted: color-mix(in oklab, var(--ink) 64%, var(--bg));
|
|
171
|
+
--soft: color-mix(in oklab, var(--heading) 5%, var(--bg));
|
|
172
|
+
--softer: color-mix(in oklab, var(--heading) 2.5%, var(--bg));
|
|
173
|
+
--card: color-mix(in oklab, var(--bg) 35%, white);
|
|
174
|
+
--field: color-mix(in oklab, var(--bg) 20%, white);
|
|
175
|
+
--line-strong: color-mix(in oklab, var(--ink) 22%, var(--bg));
|
|
176
|
+
--btn-hover: color-mix(in oklab, var(--btn) 88%, black);
|
|
177
|
+
/* Status words, readable on the scheme they sit on. */
|
|
178
|
+
--success-text: color-mix(in oklab, var(--success) 75%, var(--heading));
|
|
179
|
+
--danger-text: color-mix(in oklab, var(--danger) 75%, var(--heading));
|
|
180
|
+
--warm-text: color-mix(in oklab, var(--warm) 80%, var(--heading));
|
|
181
|
+
/* Depth: paper on paper — a hairline, almost no shadow. */
|
|
182
|
+
--shadow-sm: 0 0 0 1px color-mix(in oklab, var(--heading) 6%, transparent);
|
|
183
|
+
--shadow: 0 0 0 1px color-mix(in oklab, var(--heading) 7%, transparent), 0 12px 28px -24px color-mix(in oklab, var(--heading) 30%, transparent);
|
|
184
|
+
--shadow-lg: 0 30px 60px -36px color-mix(in oklab, var(--heading) 45%, transparent);
|
|
185
|
+
/* Text over photos stays readable whatever the photo. */
|
|
186
|
+
--photo-veil-light: color-mix(in oklab, black 10%, transparent);
|
|
187
|
+
--photo-veil: color-mix(in oklab, black 55%, transparent);
|
|
188
|
+
color: var(--ink);
|
|
189
|
+
/* Colour-dependent tokens: they read the scheme set on each section. */
|
|
190
|
+
--border-accordion: 1px solid var(--line);
|
|
191
|
+
--border-back-to-top: 1px solid var(--line);
|
|
192
|
+
--border-btn: 1.5px solid var(--btn);
|
|
193
|
+
--border-cart-drawer-foot: 1px solid var(--line);
|
|
194
|
+
--border-cart-drawer-head: 1px solid var(--line);
|
|
195
|
+
--border-cart-line: 1px solid var(--line);
|
|
196
|
+
--border-cart-summary-row-total: 1px dashed var(--line);
|
|
197
|
+
--border-checkout-totals: 1px dashed var(--line);
|
|
198
|
+
--border-chip: 1.5px solid var(--line);
|
|
199
|
+
--border-delivery-choice-option: 1.5px solid var(--line);
|
|
200
|
+
--border-delivery-choice-option-focus: 2px solid var(--accent);
|
|
201
|
+
--border-editor-placeholder: 2px dashed color-mix(in oklab, var(--accent) 45%, var(--bg));
|
|
202
|
+
--border-empty-state: 1.5px dashed var(--line);
|
|
203
|
+
--border-faq-item: 1px solid var(--line);
|
|
204
|
+
--border-footer-bottom: 1px solid var(--line);
|
|
205
|
+
--border-footer-social: 1px solid var(--line);
|
|
206
|
+
--border-locale-menu: 1px solid var(--line);
|
|
207
|
+
--border-mega: 1px solid var(--line);
|
|
208
|
+
--border-mobile-buy-bar: 1px solid var(--line);
|
|
209
|
+
--border-mobile-menu-foot: 1px solid var(--line);
|
|
210
|
+
--border-mobile-menu-head: 1px solid var(--line);
|
|
211
|
+
--border-mobile-menu-languages: 1.5px solid var(--line);
|
|
212
|
+
--border-mobile-nav: 1px solid var(--line);
|
|
213
|
+
--border-offer-tile: 1.5px solid var(--line);
|
|
214
|
+
--border-offer-tile-focus: 2px solid var(--accent);
|
|
215
|
+
--border-offer-tile-radio: 2px solid var(--line-strong);
|
|
216
|
+
--border-offer-tile-radio-chosen: 7px solid var(--accent);
|
|
217
|
+
--border-offer-unit: 1px dashed var(--line);
|
|
218
|
+
--border-option-value: 1.5px solid var(--line);
|
|
219
|
+
--border-order-panel: 1.5px solid color-mix(in oklab, var(--accent) 28%, var(--line));
|
|
220
|
+
--border-otp-box: 1.5px solid color-mix(in oklab, var(--whatsapp) 45%, var(--line));
|
|
221
|
+
--border-page-focus: 2px solid var(--accent);
|
|
222
|
+
--border-product-facts: 1px dashed var(--line);
|
|
223
|
+
--border-prose: 4px solid var(--accent);
|
|
224
|
+
--border-prose-line: 1px solid var(--line);
|
|
225
|
+
--border-prose-before: 1.5px solid var(--line-strong);
|
|
226
|
+
--border-review-card: 1px solid var(--line);
|
|
227
|
+
--border-review-product: 1.5px solid var(--line);
|
|
228
|
+
--border-select: 1.5px solid var(--line);
|
|
229
|
+
--border-stepper: 1.5px solid var(--line);
|
|
230
|
+
--border-textarea: 1.5px solid var(--line);
|
|
231
|
+
--border-thanks-number: 1.5px dashed color-mix(in oklab, var(--accent) 45%, var(--line));
|
|
232
|
+
--border-track-dot: 2px solid var(--line-strong);
|
|
233
|
+
--border-upload-button: 1.5px dashed var(--line-strong);
|
|
234
|
+
--border-voice-note-track-focus: 2px solid var(--accent);
|
|
235
|
+
--shadow-delivery-choice-option-checked: inset 0 0 0 1px var(--accent);
|
|
236
|
+
--shadow-is-chosen: inset 0 0 0 1px var(--accent), 0 14px 30px -24px var(--accent);
|
|
237
|
+
--shadow-keyframes-wa-attention-0pct: var(--shadow-lg), 0 0 0 0 color-mix(in oklab, var(--whatsapp) 45%, transparent);
|
|
238
|
+
--shadow-keyframes-wa-attention-70pct: var(--shadow-lg), 0 0 0 16px color-mix(in oklab, var(--whatsapp) 0%, transparent);
|
|
239
|
+
--shadow-option-value: inset 0 0 0 1px var(--accent);
|
|
240
|
+
--shadow-textarea-focus: 0 0 0 4px color-mix(in oklab, var(--accent) 14%, transparent);
|
|
241
|
+
--shadow-track-dot: 0 0 0 5px color-mix(in oklab, var(--accent) 18%, transparent);
|
|
242
|
+
--shadow-voice-note-play: 0 8px 18px -10px var(--btn);
|
|
243
|
+
--surface-btn-white-hover: color-mix(in oklab, var(--on-photo) 88%, var(--accent));
|
|
244
|
+
--surface-cart-line-remove-hover: color-mix(in oklab, var(--danger) 10%, var(--bg));
|
|
245
|
+
--surface-cod-chip: color-mix(in oklab, var(--success) 12%, var(--bg));
|
|
246
|
+
--surface-collection-card-body: color-mix(in oklab, var(--card) 92%, transparent);
|
|
247
|
+
--surface-footer-pay: color-mix(in oklab, var(--accent) 16%, transparent);
|
|
248
|
+
--surface-gallery-arrow: color-mix(in oklab, var(--card) 88%, transparent);
|
|
249
|
+
--surface-hero-arrow: color-mix(in oklab, var(--card) 80%, transparent);
|
|
250
|
+
--surface-hero-dot-before: color-mix(in oklab, var(--heading) 30%, transparent);
|
|
251
|
+
--surface-hero-media-after: linear-gradient(90deg, color-mix(in oklab, var(--bg) 88%, transparent) 0%, color-mix(in oklab, var(--bg) 55%, transparent) 38%, transparent 70%);
|
|
252
|
+
--surface-hero-media-after-rtl: linear-gradient(270deg, color-mix(in oklab, var(--bg) 88%, transparent) 0%, color-mix(in oklab, var(--bg) 55%, transparent) 38%, transparent 70%);
|
|
253
|
+
--surface-hero-media-after-narrow: linear-gradient(0deg, color-mix(in oklab, var(--bg) 96%, transparent) 0%, color-mix(in oklab, var(--bg) 80%, transparent) 36%, transparent 70%);
|
|
254
|
+
--surface-image-banner-photo-after: linear-gradient(180deg, var(--photo-veil-light), var(--photo-veil));
|
|
255
|
+
--surface-mobile-buy-bar: color-mix(in oklab, var(--card) 94%, transparent);
|
|
256
|
+
--surface-notice-error: color-mix(in oklab, var(--danger) 10%, var(--bg));
|
|
257
|
+
--surface-notice-warn: color-mix(in oklab, var(--warm) 14%, var(--bg));
|
|
258
|
+
--surface-offer-tile-save: color-mix(in oklab, var(--success) 12%, var(--bg));
|
|
259
|
+
--surface-otp-box: color-mix(in oklab, var(--whatsapp) 6%, var(--bg));
|
|
260
|
+
--surface-review-form-done-icon: color-mix(in oklab, var(--success) 12%, var(--bg));
|
|
261
|
+
--surface-save-badge: color-mix(in oklab, var(--danger) 12%, var(--bg));
|
|
262
|
+
--surface-site-header: color-mix(in oklab, var(--bg) 92%, transparent);
|
|
263
|
+
--surface-stock-line: color-mix(in oklab, var(--success) 10%, var(--bg));
|
|
264
|
+
--surface-stock-line-low: color-mix(in oklab, var(--warm) 18%, var(--bg));
|
|
265
|
+
--surface-stock-line-out: color-mix(in oklab, var(--danger) 10%, var(--bg));
|
|
266
|
+
--surface-thanks-icon: color-mix(in oklab, var(--success) 13%, var(--bg));
|
|
267
|
+
--surface-track-refusal: color-mix(in oklab, var(--danger) 9%, var(--bg));
|
|
268
|
+
--surface-track-stage-ended: color-mix(in oklab, var(--warm) 14%, var(--bg));
|
|
269
|
+
--surface-voice-note-bars: color-mix(in oklab, var(--accent) 28%, var(--bg));
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/*
|
|
273
|
+
* A card or a field is lifted off its scheme's background: towards white on a
|
|
274
|
+
* light scheme, only a little lighter on a dark one, so a form or a card in a
|
|
275
|
+
* dark scheme keeps its text readable. The clamp is 1 on a light background,
|
|
276
|
+
* 0 on a dark one.
|
|
277
|
+
*/
|
|
278
|
+
@supports (color: oklch(from red l c h)) {
|
|
279
|
+
:root,
|
|
280
|
+
.ab-scheme {
|
|
281
|
+
--card: oklch(from var(--bg) calc(l + (1 - l) * 0.65 * clamp(0, (l - 0.6) * 1000, 1) + 0.06 * (1 - clamp(0, (l - 0.6) * 1000, 1))) c h);
|
|
282
|
+
--field: oklch(from var(--bg) calc(l + (1 - l) * 0.8 * clamp(0, (l - 0.6) * 1000, 1) + 0.1 * (1 - clamp(0, (l - 0.6) * 1000, 1))) c h);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/* ── Design values of the stylesheets, one token per place ─────────────────
|
|
287
|
+
* Each name says where a value is used: its category, its role (the class)
|
|
288
|
+
* and its media context. Layout geometry (gap, padding, margin, sizes,
|
|
289
|
+
* insets, grid) stays in the stylesheets. */
|
|
290
|
+
:root {
|
|
291
|
+
/* Type sizes */
|
|
292
|
+
--text-eyebrow: 13px;
|
|
293
|
+
--text-section-head: clamp(28px, 3.4vw, 44px);
|
|
294
|
+
--text-section-head-text: clamp(15px, 1.3vw, 17px);
|
|
295
|
+
--text-btn-lg: calc(var(--btn-size) + 1px);
|
|
296
|
+
--text-btn-sm: calc(var(--btn-size) - 1.5px);
|
|
297
|
+
--text-cart-badge: 11px;
|
|
298
|
+
--text-field-label: 14px;
|
|
299
|
+
--text-field-hint: 13px;
|
|
300
|
+
--text-field-error: 13px;
|
|
301
|
+
--text-textarea: 16px;
|
|
302
|
+
--text-select: 15px;
|
|
303
|
+
--text-notice: 14px;
|
|
304
|
+
--text-chip: 14px;
|
|
305
|
+
--text-rating-line: 14px;
|
|
306
|
+
--text-verified: 12.5px;
|
|
307
|
+
--text-price-from: 0.8em;
|
|
308
|
+
--text-price-compare: 0.86em;
|
|
309
|
+
--text-price-lg: clamp(24px, 3vw, 30px);
|
|
310
|
+
--text-badge: 12.5px;
|
|
311
|
+
--text-empty-state: clamp(20px, 2.4vw, 26px);
|
|
312
|
+
--text-service-page-big: clamp(80px, 14vw, 150px);
|
|
313
|
+
--text-breadcrumbs: 13.5px;
|
|
314
|
+
--text-pagination-page: 14px;
|
|
315
|
+
--text-prose: 16px;
|
|
316
|
+
--text-prose-h2: 1.45em;
|
|
317
|
+
--text-prose-h3: 1.25em;
|
|
318
|
+
--text-prose-h4: 1.08em;
|
|
319
|
+
--text-prose-caption: 0.86em;
|
|
320
|
+
--text-prose-code: 0.9em;
|
|
321
|
+
--text-prose-table: 0.94em;
|
|
322
|
+
--text-editor-placeholder: 14.5px;
|
|
323
|
+
--text-order-panel-title: clamp(19px, 2.2vw, 23px);
|
|
324
|
+
--text-cod-chip: 13px;
|
|
325
|
+
--text-delivery-choice-label: 14px;
|
|
326
|
+
--text-delivery-choice-fee: 13px;
|
|
327
|
+
--text-coupon-toggle: 14.5px;
|
|
328
|
+
--text-coupon-note: 13.5px;
|
|
329
|
+
--text-checkout-line-qty: 12px;
|
|
330
|
+
--text-checkout-line-title: 14.5px;
|
|
331
|
+
--text-checkout-line-variant: 13px;
|
|
332
|
+
--text-checkout-totals: 14.5px;
|
|
333
|
+
--text-row: 12.5px;
|
|
334
|
+
--text-row-total: 18px;
|
|
335
|
+
--text-order-submit: 18px;
|
|
336
|
+
--text-assure: 12.5px;
|
|
337
|
+
--text-order-note: 13px;
|
|
338
|
+
--text-otp-status: 14px;
|
|
339
|
+
--text-otp-code: 22px;
|
|
340
|
+
--text-mobile-buy-bar-price: 11.5px;
|
|
341
|
+
--text-mobile-buy-bar-total: 19px;
|
|
342
|
+
--text-cart-summary: 14.5px;
|
|
343
|
+
--text-cart-summary-row: 12.5px;
|
|
344
|
+
--text-cart-summary-row-total: 18px;
|
|
345
|
+
--text-cart-trust: 13.5px;
|
|
346
|
+
--text-free-ship: 14px;
|
|
347
|
+
--text-cart-line-variant: 13px;
|
|
348
|
+
--text-cart-line-blocked: 13px;
|
|
349
|
+
--text-cart-drawer-head: 21px;
|
|
350
|
+
--text-cart-drawer-count: 0.6em;
|
|
351
|
+
--text-checkout-head: clamp(28px, 3.6vw, 40px);
|
|
352
|
+
--text-thanks: clamp(30px, 4.4vw, 44px);
|
|
353
|
+
--text-thanks-number: clamp(19px, 5.4vw, 26px);
|
|
354
|
+
--text-thanks-details: 12.5px;
|
|
355
|
+
--text-track-placed: 14px;
|
|
356
|
+
--text-track-refusal: 14.5px;
|
|
357
|
+
--text-track-stage: clamp(20px, 2.4vw, 26px);
|
|
358
|
+
--text-track-step: 14.5px;
|
|
359
|
+
--text-track-step-wide: 13.5px;
|
|
360
|
+
--text-track-lines: 16px;
|
|
361
|
+
--text-product-title: clamp(26px, 3.4vw, 40px);
|
|
362
|
+
--text-save-badge: 13.5px;
|
|
363
|
+
--text-stock-line: 14px;
|
|
364
|
+
--text-trust-row-item: 13px;
|
|
365
|
+
--text-product-facts: 14.5px;
|
|
366
|
+
--text-gallery-sticker: 17px;
|
|
367
|
+
--text-gallery-count: 13px;
|
|
368
|
+
--text-variant-label: 14.5px;
|
|
369
|
+
--text-option-value: 14.5px;
|
|
370
|
+
--text-option-value-sm: 13.5px;
|
|
371
|
+
--text-offer-tile-qty: 18px;
|
|
372
|
+
--text-offer-tile-detail: 13px;
|
|
373
|
+
--text-offer-tile-save: 12.5px;
|
|
374
|
+
--text-offer-tile-price: 17px;
|
|
375
|
+
--text-offer-tile-compare: 13px;
|
|
376
|
+
--text-offer-tile-ribbon: 12px;
|
|
377
|
+
--text-offer-unit-label: 13.5px;
|
|
378
|
+
--text-landing-product-name: clamp(24px, 6vw, 34px);
|
|
379
|
+
--text-countdown-title: clamp(18px, 4.6vw, 22px);
|
|
380
|
+
--text-countdown-part: clamp(24px, 7vw, 32px);
|
|
381
|
+
--text-countdown-part-unit: 12px;
|
|
382
|
+
--text-steps-number: 13px;
|
|
383
|
+
--text-steps-title: 17px;
|
|
384
|
+
--text-steps-text: 14px;
|
|
385
|
+
--text-reviews-summary: clamp(26px, 3.2vw, 38px);
|
|
386
|
+
--text-reviews-summary-score: 32px;
|
|
387
|
+
--text-review-card-date: 12.5px;
|
|
388
|
+
--text-review-card-body: 15px;
|
|
389
|
+
--text-voice-note-error: 13px;
|
|
390
|
+
--text-voice-note-time: 13px;
|
|
391
|
+
--text-review-dialog-head: 22px;
|
|
392
|
+
--text-review-form-lead: 14.5px;
|
|
393
|
+
--text-upload-item: 12px;
|
|
394
|
+
--text-upload-button: 14px;
|
|
395
|
+
--text-hero-title: clamp(42px, 6.4vw, 84px);
|
|
396
|
+
--text-hero-subtitle: clamp(16px, 1.5vw, 19px);
|
|
397
|
+
--text-collection-card-title: clamp(16px, 1.6vw, 20px);
|
|
398
|
+
--text-collection-card-count: 13px;
|
|
399
|
+
--text-collection-card-title-large: clamp(20px, 2vw, 26px);
|
|
400
|
+
--text-collection-card-cta: 14px;
|
|
401
|
+
--text-image-banner: clamp(30px, 4.4vw, 56px);
|
|
402
|
+
--text-image-banner-text: clamp(15px, 1.4vw, 18px);
|
|
403
|
+
--text-product-card-title: 15px;
|
|
404
|
+
--text-price: 16px;
|
|
405
|
+
--text-product-info-title: clamp(24px, 3vw, 34px);
|
|
406
|
+
--text-testimonial-before: 90px;
|
|
407
|
+
--text-testimonial-quote: 16px;
|
|
408
|
+
--text-testimonial-avatar: 19px;
|
|
409
|
+
--text-testimonial-date: 13px;
|
|
410
|
+
--text-testimonial-product: 14px;
|
|
411
|
+
--text-listing-head: clamp(30px, 4vw, 48px);
|
|
412
|
+
--text-listing-head-count: 13px;
|
|
413
|
+
--text-listing-sort: 14px;
|
|
414
|
+
--text-prose-h1: clamp(30px, 4vw, 44px);
|
|
415
|
+
--text-side-card: 20px;
|
|
416
|
+
--text-side-card-text: 14.5px;
|
|
417
|
+
--text-side-card-link: 14.5px;
|
|
418
|
+
--text-contact-card: 17px;
|
|
419
|
+
--text-contact-help: 20px;
|
|
420
|
+
--text-topbar: 13px;
|
|
421
|
+
--text-locale-trigger: 13px;
|
|
422
|
+
--text-locale-menu: 14px;
|
|
423
|
+
--text-brand-text: min(calc(var(--logo-h, 42px) * 0.5), 26px);
|
|
424
|
+
--text-brand-text-wide: calc(var(--logo-h, 42px) * 0.6);
|
|
425
|
+
--text-brand-text-narrow: 17px;
|
|
426
|
+
--text-nav-summary: 15px;
|
|
427
|
+
--text-mega-list: 14.5px;
|
|
428
|
+
--text-mobile-nav: 18px;
|
|
429
|
+
--text-mobile-menu-languages: 14px;
|
|
430
|
+
--text-search-dialog-head: 20px;
|
|
431
|
+
--text-site-footer: 14.5px;
|
|
432
|
+
--text-footer-brand: 28px;
|
|
433
|
+
--text-footer-col: 15px;
|
|
434
|
+
--text-footer-bottom: 13px;
|
|
435
|
+
--text-toast-inner: 14px;
|
|
436
|
+
--text-whatsapp-float: 14.5px;
|
|
437
|
+
--text-wa-caption: 12.5px;
|
|
438
|
+
--text-wa-bubble: 14px;
|
|
439
|
+
|
|
440
|
+
/* Line heights */
|
|
441
|
+
--leading-h4: 1.15;
|
|
442
|
+
--leading-rtl: 1.35;
|
|
443
|
+
--leading-btn: 1.2;
|
|
444
|
+
--leading-cart-badge: 19px;
|
|
445
|
+
--leading-prose: 1.75;
|
|
446
|
+
--leading-prose-heading: 1.3;
|
|
447
|
+
--leading-delivery-choice-label: 1.3;
|
|
448
|
+
--leading-checkout-line-qty: 22px;
|
|
449
|
+
--leading-checkout-line-title: 1.35;
|
|
450
|
+
--leading-assure: 1.3;
|
|
451
|
+
--leading-mobile-buy-bar-price: 1.2;
|
|
452
|
+
--leading-cart-line-title: 1.35;
|
|
453
|
+
--leading-trust-row-item: 1.35;
|
|
454
|
+
--leading-offer-tile-name: 1.35;
|
|
455
|
+
--leading-landing-product-name: 1.2;
|
|
456
|
+
--leading-countdown-part: 1.1;
|
|
457
|
+
--leading-steps-text: 1.5;
|
|
458
|
+
--leading-hero-title: 0.98;
|
|
459
|
+
--leading-hero-title-rtl: 1.25;
|
|
460
|
+
--leading-collection-card-title: 1.2;
|
|
461
|
+
--leading-product-card-title: 1.4;
|
|
462
|
+
--leading-testimonial-quote: 1.65;
|
|
463
|
+
--leading-wa-bubble: 1.55;
|
|
464
|
+
|
|
465
|
+
/* Letter-spacing */
|
|
466
|
+
--tracking-eyebrow: 0.04em;
|
|
467
|
+
--tracking-otp-code: 0.4em;
|
|
468
|
+
--tracking-thanks-number: 0.04em;
|
|
469
|
+
--tracking-locale-trigger: 0.04em;
|
|
470
|
+
|
|
471
|
+
/* Motion: transitions, animations and transforms */
|
|
472
|
+
--motion-page-before-after-reduced: 0.01ms;
|
|
473
|
+
--motion-icon-directional: scaleX(-1);
|
|
474
|
+
--motion-skip-link: translateY(-150%);
|
|
475
|
+
--motion-icon-directional-hover: translateX(4px);
|
|
476
|
+
--motion-icon-directional-hover-rtl: scaleX(-1) translateX(4px);
|
|
477
|
+
--motion-btn-active: scale(0.98);
|
|
478
|
+
--motion-accordion-last: rotate(180deg);
|
|
479
|
+
--motion-mobile-buy-bar: translateY(110%);
|
|
480
|
+
--motion-mobile-buy-bar-transition: transform 0.3s var(--ease);
|
|
481
|
+
--motion-free-ship-bar: width 0.4s var(--ease);
|
|
482
|
+
--motion-cart-drawer: visibility 0s 0.35s;
|
|
483
|
+
--motion-cart-drawer-scrim: opacity 0.35s var(--ease);
|
|
484
|
+
--motion-cart-drawer-panel: translateX(100%);
|
|
485
|
+
--motion-cart-drawer-panel-transition: transform 0.35s var(--ease);
|
|
486
|
+
--motion-cart-drawer-panel-rtl: translateX(-100%);
|
|
487
|
+
--motion-review-card-photo-hover: scale(1.04);
|
|
488
|
+
--motion-voice-note-play-active: scale(0.94);
|
|
489
|
+
--motion-voice-note-spinner: voice-spin 0.8s linear infinite;
|
|
490
|
+
--motion-keyframes-voice-spin-to: rotate(1turn);
|
|
491
|
+
--motion-voice-note-spinner-reduced: 2.4s;
|
|
492
|
+
--motion-voice-note-bars: background-color 0.15s linear;
|
|
493
|
+
--motion-star-input-hover: scale(1.1);
|
|
494
|
+
--motion-upload-item-bar: inline-size 0.2s linear;
|
|
495
|
+
--motion-rec-dot: pulse 1s ease-in-out infinite;
|
|
496
|
+
--motion-hero-slide: opacity 0.8s var(--ease), visibility 0.8s;
|
|
497
|
+
--motion-hero-dot-before: width 0.3s var(--ease), background-color 0.3s var(--ease);
|
|
498
|
+
--motion-collection-card-media: transform 0.7s var(--ease);
|
|
499
|
+
--motion-collection-card-media-hover: scale(1.05);
|
|
500
|
+
--motion-product-card-media: transform 0.6s var(--ease);
|
|
501
|
+
--motion-product-card-media-hover: scale(1.045);
|
|
502
|
+
--motion-contact-card-hover: translateY(-3px);
|
|
503
|
+
--motion-site-header: background-color 0.3s var(--ease),
|
|
504
|
+
border-color 0.3s var(--ease),
|
|
505
|
+
box-shadow 0.3s var(--ease);
|
|
506
|
+
--motion-keyframes-pop-in-from: translateY(6px);
|
|
507
|
+
--motion-mobile-menu: visibility 0s 0.35s;
|
|
508
|
+
--motion-mobile-menu-scrim: opacity 0.35s var(--ease);
|
|
509
|
+
--motion-mobile-menu-panel: translateX(-100%);
|
|
510
|
+
--motion-mobile-menu-panel-transition: transform 0.35s var(--ease);
|
|
511
|
+
--motion-mobile-menu-panel-rtl: translateX(100%);
|
|
512
|
+
--motion-mobile-nav: rotate(180deg);
|
|
513
|
+
--motion-back-to-top: translateY(12px);
|
|
514
|
+
--motion-toast-inner: translateY(-10px);
|
|
515
|
+
--motion-whatsapp-float-hover: translateY(-2px);
|
|
516
|
+
--motion-whatsapp-float: transform var(--duration) var(--ease), background-color var(--duration) var(--ease), opacity var(--duration) var(--ease), visibility 0.2s;
|
|
517
|
+
--motion-whatsapp-float-hidden: translateY(12px);
|
|
518
|
+
--motion-whatsapp-float-attention: wa-attention 2.4s ease-out 2;
|
|
519
|
+
|
|
520
|
+
/* Opacity */
|
|
521
|
+
--opacity-btn-disabled: 0.5;
|
|
522
|
+
--opacity-select-disabled: 0.6;
|
|
523
|
+
--opacity-cart-line: 0.7;
|
|
524
|
+
--opacity-gallery-thumb: 0.7;
|
|
525
|
+
--opacity-option-value-disabled: 0.4;
|
|
526
|
+
--opacity-review-product-disabled: 0.55;
|
|
527
|
+
--opacity-keyframes-pulse-50pct: 0.4;
|
|
528
|
+
--opacity-image-banner: 0.92;
|
|
529
|
+
--opacity-topbar-social: 0.85;
|
|
530
|
+
--opacity-ticker-arrow: 0.75;
|
|
531
|
+
|
|
532
|
+
/* Shapes */
|
|
533
|
+
--shape-collection-card-media: 0.94;
|
|
534
|
+
--shape-product-card-media: 4 / 5;
|
|
535
|
+
|
|
536
|
+
/* Borders and outlines */
|
|
537
|
+
--border-page-focus-offset: 2px;
|
|
538
|
+
--border-delivery-choice-focus-offset: 2px;
|
|
539
|
+
--border-gallery-thumb: 2px solid transparent;
|
|
540
|
+
--border-offer-tile-focus-offset: 2px;
|
|
541
|
+
--border-voice-note-spinner: 2px solid currentColor;
|
|
542
|
+
--border-voice-note-track-focus-offset: 4px;
|
|
543
|
+
--border-locale-trigger-focus: 2px solid currentColor;
|
|
544
|
+
--border-locale-trigger-focus-offset: 2px;
|
|
545
|
+
--border-site-header: 1px solid transparent;
|
|
546
|
+
--border-wa-card: 1px solid var(--whatsapp-panel-line);
|
|
547
|
+
|
|
548
|
+
/* Surfaces: colour mixes and backgrounds */
|
|
549
|
+
--surface-prose: color-mix(in oklab, var(--warm) 38%, transparent);
|
|
550
|
+
--surface-topbar-social-hover: color-mix(in oklab, currentColor 14%, transparent);
|
|
551
|
+
--surface-locale-trigger-hover: color-mix(in oklab, currentColor 14%, transparent);
|
|
552
|
+
|
|
553
|
+
/* Shadows */
|
|
554
|
+
--shadow-mobile-buy-bar: 0 -14px 30px -24px var(--overlay);
|
|
555
|
+
--shadow-option-value-swatch: inset 0 0 0 1px var(--swatch-edge);
|
|
556
|
+
--shadow-offer-tile-ribbon: 0 6px 14px -6px var(--warm);
|
|
557
|
+
--shadow-wa-card: 0 30px 70px -30px var(--overlay);
|
|
558
|
+
|
|
559
|
+
/* Corner radii */
|
|
560
|
+
--radius-order-panel: calc(var(--r-lg) + 4px);
|
|
561
|
+
--radius-thanks-card: calc(var(--r-lg) + 8px);
|
|
562
|
+
--radius-track-card: calc(var(--r-lg) + 8px);
|
|
563
|
+
--radius-product-detail-featured: calc(var(--r-lg) + 8px);
|
|
564
|
+
|
|
565
|
+
/* Filters */
|
|
566
|
+
--filter-mobile-buy-bar: blur(14px);
|
|
567
|
+
--filter-gallery-count: blur(6px);
|
|
568
|
+
--filter-collection-card-body: blur(8px);
|
|
569
|
+
--filter-site-header: saturate(1.6) blur(14px);
|
|
570
|
+
--filter-search-dialog: blur(3px);
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
/* ── Timings the scripts read ─────────────────────────────────────────────
|
|
574
|
+
* Scripts read these with `motionMs` and `motionValue` (src/lib/motion.ts), so
|
|
575
|
+
* a timing changes here and nowhere else.
|
|
576
|
+
*/
|
|
577
|
+
:root {
|
|
578
|
+
--motion-hero-interval: 6.5s;
|
|
579
|
+
--motion-ticker-interval: 5s;
|
|
580
|
+
--motion-menu-close-delay: 160ms;
|
|
581
|
+
--motion-toast-visible: 3.8s;
|
|
582
|
+
--motion-drawer-focus-delay: 40ms;
|
|
583
|
+
}
|