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.
Files changed (251) hide show
  1. package/CHANGELOG.md +133 -127
  2. package/LICENSE +202 -202
  3. package/NOTICE +2 -2
  4. package/README.md +65 -65
  5. package/bin/create-abcart-theme.mjs +4 -4
  6. package/package.json +49 -49
  7. package/src/args.mjs +113 -113
  8. package/src/banner.mjs +21 -21
  9. package/src/cli.mjs +119 -119
  10. package/src/create.mjs +85 -82
  11. package/src/package-manager.mjs +32 -32
  12. package/src/style.mjs +17 -17
  13. package/templates/default/.agents/skills/{wocart-docs → abcart-docs}/SKILL.md +146 -146
  14. package/templates/default/.agents/skills/{wocart-theme-from-design → abcart-theme-from-design}/SKILL.md +58 -58
  15. package/templates/default/.agents/skills/{wocart-theme-from-design → abcart-theme-from-design}/references/inputs-and-rights.md +47 -47
  16. package/templates/default/.agents/skills/{wocart-theme-from-design → abcart-theme-from-design}/references/layout-rtl-and-phone.md +36 -36
  17. package/templates/default/.agents/skills/{wocart-theme-from-design → abcart-theme-from-design}/references/measure-the-design.md +60 -60
  18. package/templates/default/.agents/skills/{wocart-theme-from-design → abcart-theme-from-design}/references/tokens-sections-content.md +103 -103
  19. package/templates/default/.agents/skills/{wocart-theme-from-design → abcart-theme-from-design}/references/verify-and-report.md +102 -102
  20. package/templates/default/.agents/skills/{wocart-theme-from-design → abcart-theme-from-design}/scripts/compare-design.cjs +230 -230
  21. package/templates/default/.agents/skills/{wocart-theme-from-design → abcart-theme-from-design}/scripts/qa-pages.cjs +219 -219
  22. package/templates/default/.agents/skills/shopify-theme-asset-collector/SKILL.md +125 -125
  23. package/templates/default/.agents/skills/shopify-theme-asset-collector/scripts/collect_public_assets.py +370 -370
  24. package/templates/default/.dev.vars.example +12 -12
  25. package/templates/default/AGENTS.md +240 -240
  26. package/templates/default/README.md +184 -184
  27. package/templates/default/_gitignore +11 -11
  28. package/templates/default/astro.config.mjs +85 -85
  29. package/templates/default/package.json +36 -36
  30. package/templates/default/public/fonts/OFL.txt +96 -96
  31. package/templates/default/src/actions/index.ts +22 -22
  32. package/templates/default/src/components/cart/AddToCartButton.astro +45 -45
  33. package/templates/default/src/components/cart/CartDrawer.astro +47 -47
  34. package/templates/default/src/components/cart/CartSummary.astro +11 -11
  35. package/templates/default/src/components/cart/FreeShipping.astro +7 -7
  36. package/templates/default/src/components/checkout/CheckoutMain.astro +29 -29
  37. package/templates/default/src/components/checkout/OrderForm.astro +280 -280
  38. package/templates/default/src/components/checkout/ThankYouMain.astro +68 -68
  39. package/templates/default/src/components/landing/LandingImages.astro +51 -51
  40. package/templates/default/src/components/landing/LandingOrder.astro +46 -46
  41. package/templates/default/src/components/landing/LandingProduct.astro +41 -41
  42. package/templates/default/src/components/listing/ListingMain.astro +93 -93
  43. package/templates/default/src/components/listing/PageMain.astro +52 -52
  44. package/templates/default/src/components/listing/Pagination.astro +31 -31
  45. package/templates/default/src/components/listing/SortControl.astro +35 -35
  46. package/templates/default/src/components/product/BuyBox.astro +96 -96
  47. package/templates/default/src/components/product/Description.astro +24 -24
  48. package/templates/default/src/components/product/Gallery.astro +66 -66
  49. package/templates/default/src/components/product/MobileBuyBar.astro +29 -29
  50. package/templates/default/src/components/product/OfferChoice.astro +66 -66
  51. package/templates/default/src/components/product/ProductMain.astro +40 -40
  52. package/templates/default/src/components/product/ProductReviews.astro +72 -72
  53. package/templates/default/src/components/product/RelatedProducts.astro +30 -30
  54. package/templates/default/src/components/product/blocks/BenefitsBlock.astro +13 -13
  55. package/templates/default/src/components/product/blocks/CollapsibleBlock.astro +20 -20
  56. package/templates/default/src/components/product/blocks/DescriptionBlock.astro +19 -19
  57. package/templates/default/src/components/product/blocks/DetailsBlock.astro +33 -33
  58. package/templates/default/src/components/product/blocks/GalleryBlock.astro +12 -12
  59. package/templates/default/src/components/product/blocks/OrderBlock.astro +30 -30
  60. package/templates/default/src/components/product/blocks/PriceBlock.astro +23 -23
  61. package/templates/default/src/components/product/blocks/RatingBlock.astro +16 -16
  62. package/templates/default/src/components/product/blocks/StockBlock.astro +22 -22
  63. package/templates/default/src/components/product/blocks/TextBlock.astro +11 -11
  64. package/templates/default/src/components/product/blocks/TitleBlock.astro +20 -20
  65. package/templates/default/src/components/reviews/ReviewCard.astro +46 -46
  66. package/templates/default/src/components/reviews/ReviewForm.astro +113 -113
  67. package/templates/default/src/components/reviews/VoiceNote.astro +60 -60
  68. package/templates/default/src/components/sections/CollectionCards.astro +65 -65
  69. package/templates/default/src/components/sections/Countdown.astro +57 -57
  70. package/templates/default/src/components/sections/Faq.astro +44 -44
  71. package/templates/default/src/components/sections/FeaturedProduct.astro +71 -71
  72. package/templates/default/src/components/sections/Hero.astro +99 -99
  73. package/templates/default/src/components/sections/ImageBanner.astro +46 -46
  74. package/templates/default/src/components/sections/ProductGrid.astro +47 -47
  75. package/templates/default/src/components/sections/RichText.astro +35 -35
  76. package/templates/default/src/components/sections/Steps.astro +46 -46
  77. package/templates/default/src/components/sections/Testimonials.astro +57 -57
  78. package/templates/default/src/components/shell/Footer.astro +80 -80
  79. package/templates/default/src/components/shell/Header.astro +89 -89
  80. package/templates/default/src/components/shell/LanguageMenu.astro +33 -33
  81. package/templates/default/src/components/shell/MobileMenu.astro +65 -65
  82. package/templates/default/src/components/shell/SearchDialog.astro +19 -19
  83. package/templates/default/src/components/shell/TopBar.astro +54 -54
  84. package/templates/default/src/components/shell/WhatsAppWidget.astro +111 -111
  85. package/templates/default/src/components/store/ContactMain.astro +79 -79
  86. package/templates/default/src/components/store/SearchMain.astro +56 -56
  87. package/templates/default/src/components/store/TrackOrderMain.astro +161 -161
  88. package/templates/default/src/components/surface/Area.astro +20 -20
  89. package/templates/default/src/components/surface/PreviewBridge.astro +24 -24
  90. package/templates/default/src/components/surface/Sections.astro +35 -35
  91. package/templates/default/src/components/ui/Breadcrumbs.astro +36 -36
  92. package/templates/default/src/components/ui/Button.astro +45 -45
  93. package/templates/default/src/components/ui/EditorPlaceholder.astro +24 -24
  94. package/templates/default/src/components/ui/Icon.astro +93 -93
  95. package/templates/default/src/components/ui/Logo.astro +36 -36
  96. package/templates/default/src/components/ui/Photo.astro +46 -46
  97. package/templates/default/src/components/ui/Price.astro +24 -24
  98. package/templates/default/src/components/ui/ProductCard.astro +41 -41
  99. package/templates/default/src/components/ui/Rating.astro +22 -22
  100. package/templates/default/src/components/ui/Section.astro +34 -34
  101. package/templates/default/src/components/ui/SectionHeading.astro +19 -19
  102. package/templates/default/src/env.d.ts +23 -23
  103. package/templates/default/src/layouts/StoreLayout.astro +145 -145
  104. package/templates/default/src/lib/browser-copy.ts +37 -37
  105. package/templates/default/src/lib/context.ts +89 -89
  106. package/templates/default/src/lib/coupon-notice.ts +47 -47
  107. package/templates/default/src/lib/i18n.ts +32 -32
  108. package/templates/default/src/lib/images.ts +38 -38
  109. package/templates/default/src/lib/listing-query.ts +41 -41
  110. package/templates/default/src/lib/money.ts +16 -16
  111. package/templates/default/src/lib/motion.ts +16 -16
  112. package/templates/default/src/lib/nav.ts +26 -26
  113. package/templates/default/src/lib/offer-tiles.ts +105 -105
  114. package/templates/default/src/lib/order-outcome.ts +66 -66
  115. package/templates/default/src/lib/otp-message.ts +21 -21
  116. package/templates/default/src/lib/products.ts +38 -38
  117. package/templates/default/src/lib/review-refusals.ts +31 -31
  118. package/templates/default/src/lib/store.ts +31 -31
  119. package/templates/default/src/lib/whatsapp.ts +29 -29
  120. package/templates/default/src/middleware.ts +23 -23
  121. package/templates/default/src/pages/404.astro +22 -22
  122. package/templates/default/src/pages/{wocart-preview.astro → abcart-preview.astro} +43 -43
  123. package/templates/default/src/pages/{wocart-revalidate.ts → abcart-revalidate.ts} +10 -10
  124. package/templates/default/src/pages/{wocart-styles.css.ts → abcart-styles.css.ts} +5 -5
  125. package/templates/default/src/pages/{wocart-theme.json.ts → abcart-theme.json.ts} +5 -5
  126. package/templates/default/src/pages/api/abandoned/convert.ts +4 -4
  127. package/templates/default/src/pages/api/abandoned/upsert.ts +4 -4
  128. package/templates/default/src/pages/api/cart/validate.ts +4 -4
  129. package/templates/default/src/pages/api/communes/[wilayaId].ts +4 -4
  130. package/templates/default/src/pages/api/otp/send.ts +4 -4
  131. package/templates/default/src/pages/api/otp/verify.ts +4 -4
  132. package/templates/default/src/pages/api/reviews/[productId].ts +3 -3
  133. package/templates/default/src/pages/api/reviews/eligibility.ts +3 -3
  134. package/templates/default/src/pages/api/reviews/submit.ts +3 -3
  135. package/templates/default/src/pages/api/reviews/upload.ts +3 -3
  136. package/templates/default/src/pages/category/[slug].astro +20 -20
  137. package/templates/default/src/pages/checkout.astro +25 -25
  138. package/templates/default/src/pages/collections/[handle].astro +20 -20
  139. package/templates/default/src/pages/contact.astro +17 -17
  140. package/templates/default/src/pages/index.astro +9 -9
  141. package/templates/default/src/pages/lp/[slug].astro +47 -47
  142. package/templates/default/src/pages/pages/[slug].astro +16 -16
  143. package/templates/default/src/pages/products/[handle].astro +37 -37
  144. package/templates/default/src/pages/products/index.astro +15 -15
  145. package/templates/default/src/pages/robots.txt.ts +9 -9
  146. package/templates/default/src/pages/search.astro +19 -19
  147. package/templates/default/src/pages/sitemap.xml.ts +12 -12
  148. package/templates/default/src/pages/thank-you.astro +33 -33
  149. package/templates/default/src/pages/track-order.astro +17 -17
  150. package/templates/default/src/scripts/cart.ts +371 -371
  151. package/templates/default/src/scripts/checkout/coupon.ts +96 -96
  152. package/templates/default/src/scripts/checkout/delivery.ts +86 -86
  153. package/templates/default/src/scripts/checkout/form.ts +54 -54
  154. package/templates/default/src/scripts/checkout/otp.ts +106 -106
  155. package/templates/default/src/scripts/checkout/picker.ts +169 -169
  156. package/templates/default/src/scripts/checkout/quote.ts +169 -169
  157. package/templates/default/src/scripts/checkout/submit.ts +113 -113
  158. package/templates/default/src/scripts/checkout/tracking.ts +74 -74
  159. package/templates/default/src/scripts/countdown.ts +29 -29
  160. package/templates/default/src/scripts/events.ts +4 -4
  161. package/templates/default/src/scripts/hero.ts +49 -49
  162. package/templates/default/src/scripts/listing.ts +13 -13
  163. package/templates/default/src/scripts/order-form.ts +100 -100
  164. package/templates/default/src/scripts/product.ts +306 -306
  165. package/templates/default/src/scripts/public-config.ts +79 -79
  166. package/templates/default/src/scripts/reviews.ts +358 -358
  167. package/templates/default/src/scripts/site.ts +131 -131
  168. package/templates/default/src/scripts/thank-you.ts +11 -11
  169. package/templates/default/src/scripts/voice-note.ts +94 -94
  170. package/templates/default/src/styles/base.css +1030 -1030
  171. package/templates/default/src/styles/checkout.css +1111 -1111
  172. package/templates/default/src/styles/global.css +12 -12
  173. package/templates/default/src/styles/product.css +871 -871
  174. package/templates/default/src/styles/reviews.css +533 -533
  175. package/templates/default/src/styles/sections.css +931 -931
  176. package/templates/default/src/styles/shell.css +970 -970
  177. package/templates/default/src/styles/tokens.css +583 -583
  178. package/templates/default/src/theme/api-routes.ts +10 -10
  179. package/templates/default/src/theme/content/catalog.ts +117 -117
  180. package/templates/default/src/theme/content/checkout.ts +168 -168
  181. package/templates/default/src/theme/content/editor.ts +21 -21
  182. package/templates/default/src/theme/content/index.ts +45 -45
  183. package/templates/default/src/theme/content/reviews.ts +76 -76
  184. package/templates/default/src/theme/content/shell.ts +59 -59
  185. package/templates/default/src/theme/content/types.ts +12 -12
  186. package/templates/default/src/theme/documents/catalog.json +11 -11
  187. package/templates/default/src/theme/documents/category.json +11 -11
  188. package/templates/default/src/theme/documents/checkout.json +11 -11
  189. package/templates/default/src/theme/documents/collection.json +11 -11
  190. package/templates/default/src/theme/documents/contact.json +11 -11
  191. package/templates/default/src/theme/documents/footer.area.json +11 -11
  192. package/templates/default/src/theme/documents/header.area.json +16 -16
  193. package/templates/default/src/theme/documents/home.json +313 -313
  194. package/templates/default/src/theme/documents/landing.json +8 -8
  195. package/templates/default/src/theme/documents/page.json +11 -11
  196. package/templates/default/src/theme/documents/product.json +125 -125
  197. package/templates/default/src/theme/documents/search.json +11 -11
  198. package/templates/default/src/theme/documents/thank-you.json +11 -11
  199. package/templates/default/src/theme/documents/track-order.json +11 -11
  200. package/templates/default/src/theme/fields.ts +61 -61
  201. package/templates/default/src/theme/key.ts +11 -11
  202. package/templates/default/src/theme/labels.ts +231 -231
  203. package/templates/default/src/theme/locales.ts +11 -11
  204. package/templates/default/src/theme/palette.ts +14 -14
  205. package/templates/default/src/theme/sections/collection-cards.ts +65 -65
  206. package/templates/default/src/theme/sections/faq.ts +74 -74
  207. package/templates/default/src/theme/sections/featured-product.ts +42 -42
  208. package/templates/default/src/theme/sections/hero.ts +47 -47
  209. package/templates/default/src/theme/sections/image-banner.ts +25 -25
  210. package/templates/default/src/theme/sections/index.ts +40 -40
  211. package/templates/default/src/theme/sections/landing.ts +150 -150
  212. package/templates/default/src/theme/sections/listing.ts +84 -84
  213. package/templates/default/src/theme/sections/product-grid.ts +42 -42
  214. package/templates/default/src/theme/sections/product.ts +297 -297
  215. package/templates/default/src/theme/sections/rich-text.ts +39 -39
  216. package/templates/default/src/theme/sections/shared.ts +54 -54
  217. package/templates/default/src/theme/sections/shell.ts +85 -85
  218. package/templates/default/src/theme/sections/store-pages.ts +101 -101
  219. package/templates/default/src/theme/sections/testimonials.ts +61 -61
  220. package/templates/default/src/theme/sections/thank-you.ts +35 -35
  221. package/templates/default/src/theme/settings.ts +124 -124
  222. package/templates/default/src/theme/theme.ts +65 -65
  223. package/templates/default/tests/fixtures/canvas-tote.json +62 -62
  224. package/templates/default/tests/fixtures/linen-shirt.json +128 -128
  225. package/templates/default/tests/unit/checkout.test.ts +241 -241
  226. package/templates/default/tests/unit/contract.test.ts +170 -169
  227. package/templates/default/tests/unit/contrast.test.ts +68 -68
  228. package/templates/default/tests/unit/copy.test.ts +101 -101
  229. package/templates/default/tests/unit/design-values.test.ts +95 -95
  230. package/templates/default/tests/unit/editability.test.ts +180 -180
  231. package/templates/default/tests/unit/fixtures.ts +91 -91
  232. package/templates/default/tests/unit/footer.test.ts +54 -54
  233. package/templates/default/tests/unit/guards.test.ts +340 -340
  234. package/templates/default/tests/unit/images.test.ts +26 -26
  235. package/templates/default/tests/unit/landing.test.ts +151 -151
  236. package/templates/default/tests/unit/languages.test.ts +42 -42
  237. package/templates/default/tests/unit/middleware.test.ts +53 -53
  238. package/templates/default/tests/unit/offer-tiles.test.ts +75 -75
  239. package/templates/default/tests/unit/render.ts +38 -38
  240. package/templates/default/tests/unit/reviews.test.ts +25 -25
  241. package/templates/default/tests/unit/rules.test.ts +59 -59
  242. package/templates/default/tests/unit/source.ts +75 -75
  243. package/templates/default/tests/unit/store-pages.test.ts +147 -147
  244. package/templates/default/tests/unit/studio.test.ts +202 -202
  245. package/templates/default/tests/unit/testimonials.test.ts +52 -52
  246. package/templates/default/tests/unit/thank-you.test.ts +52 -52
  247. package/templates/default/tests/unit/tracking.test.ts +29 -29
  248. package/templates/default/tests/unit/voice-note.test.ts +42 -42
  249. package/templates/default/tsconfig.json +13 -13
  250. package/templates/default/vitest.config.ts +15 -15
  251. package/templates/default/wrangler.jsonc +16 -16
@@ -1,970 +1,970 @@
1
- /* ---------- the top: announcement bar and header ---------- */
2
-
3
- .site-top {
4
- position: sticky;
5
- inset-block-start: 0;
6
- z-index: 50;
7
- }
8
-
9
- /* A header the merchant does not keep on screen scrolls away with the page. */
10
- .site-top:has([data-header][data-sticky="false"]) {
11
- position: relative;
12
- }
13
-
14
- .topbar {
15
- position: relative;
16
- z-index: 2;
17
- font-size: var(--text-topbar);
18
- font-weight: var(--weight-semibold);
19
- }
20
-
21
- .topbar__inner {
22
- display: grid;
23
- grid-template-columns: 1fr auto 1fr;
24
- align-items: center;
25
- gap: 12px;
26
- max-width: 1320px;
27
- min-height: 38px;
28
- margin-inline: auto;
29
- padding-inline: var(--gutter);
30
- }
31
-
32
- .topbar__social {
33
- display: flex;
34
- gap: 4px;
35
- }
36
-
37
- .topbar__social a {
38
- display: grid;
39
- place-items: center;
40
- width: 28px;
41
- height: 28px;
42
- border-radius: var(--r-round);
43
- opacity: var(--opacity-topbar-social);
44
- }
45
-
46
- .topbar__social a:hover {
47
- opacity: 1;
48
- background: var(--surface-topbar-social-hover);
49
- }
50
-
51
- .topbar__end {
52
- display: flex;
53
- justify-content: flex-end;
54
- }
55
-
56
- .ticker {
57
- display: flex;
58
- align-items: center;
59
- justify-content: center;
60
- gap: 6px;
61
- min-width: 0;
62
- }
63
-
64
- .ticker__viewport {
65
- min-width: 0;
66
- }
67
-
68
- .ticker__item {
69
- display: inline-flex;
70
- align-items: center;
71
- gap: 7px;
72
- white-space: nowrap;
73
- }
74
-
75
- .ticker__item a:hover {
76
- text-decoration: underline;
77
- }
78
-
79
- .ticker__arrow {
80
- display: grid;
81
- place-items: center;
82
- width: 26px;
83
- height: 26px;
84
- border-radius: var(--r-round);
85
- opacity: var(--opacity-ticker-arrow);
86
- }
87
-
88
- .ticker__arrow:hover {
89
- opacity: 1;
90
- }
91
-
92
- .locale {
93
- position: relative;
94
- }
95
-
96
- .locale__trigger {
97
- display: inline-flex;
98
- align-items: center;
99
- gap: 6px;
100
- min-height: 30px;
101
- padding: 0 10px;
102
- border-radius: var(--r-pill);
103
- list-style: none;
104
- cursor: pointer;
105
- }
106
-
107
- .locale__trigger::-webkit-details-marker {
108
- display: none;
109
- }
110
-
111
- .locale__trigger:hover,
112
- .locale[open] .locale__trigger {
113
- background: var(--surface-locale-trigger-hover);
114
- }
115
-
116
- .locale__trigger:focus-visible {
117
- outline: var(--border-locale-trigger-focus);
118
- outline-offset: var(--border-locale-trigger-focus-offset);
119
- }
120
-
121
- .locale--bar .locale__code,
122
- .locale--header .locale__name {
123
- display: none;
124
- }
125
-
126
- .locale--header .locale__trigger {
127
- min-height: 44px;
128
- padding: 0 10px;
129
- color: var(--heading);
130
- font-size: var(--text-locale-trigger);
131
- font-weight: var(--weight-bold);
132
- letter-spacing: var(--tracking-locale-trigger);
133
- }
134
-
135
- .locale--header .locale__trigger:hover,
136
- .locale--header[open] .locale__trigger {
137
- background: var(--soft);
138
- }
139
-
140
- .locale__menu {
141
- position: absolute;
142
- inset-block-start: calc(100% + 6px);
143
- inset-inline-end: 0;
144
- z-index: 60;
145
- display: grid;
146
- min-width: 170px;
147
- padding: 6px;
148
- border: var(--border-locale-menu);
149
- border-radius: var(--r);
150
- background: var(--card);
151
- color: var(--ink);
152
- box-shadow: var(--shadow-lg);
153
- }
154
-
155
- .locale__menu a {
156
- display: flex;
157
- align-items: center;
158
- justify-content: space-between;
159
- gap: 10px;
160
- min-height: 44px;
161
- padding: 0 12px;
162
- border-radius: var(--r-sm);
163
- font-size: var(--text-locale-menu);
164
- }
165
-
166
- .locale__menu a:hover,
167
- .locale__menu a[aria-current] {
168
- background: var(--soft);
169
- color: var(--accent);
170
- }
171
-
172
- @media (max-width: 760px) {
173
- .topbar__inner {
174
- grid-template-columns: 1fr;
175
- }
176
- .topbar__social,
177
- .topbar__end {
178
- display: none;
179
- }
180
- }
181
-
182
- .site-header {
183
- position: relative;
184
- z-index: 1;
185
- border-block-end: var(--border-site-header);
186
- background: var(--surface-site-header);
187
- -webkit-backdrop-filter: saturate(1.6) blur(14px);
188
- backdrop-filter: var(--filter-site-header);
189
- transition:
190
- var(--motion-site-header);
191
- }
192
-
193
- .site-header {
194
- border-block-end-color: var(--line);
195
- box-shadow: var(--shadow-sm);
196
- }
197
-
198
- .site-header__inner {
199
- display: grid;
200
- grid-template-columns: 1fr auto 1fr;
201
- align-items: center;
202
- gap: 8px;
203
- max-width: 1320px;
204
- min-height: var(--header-h);
205
- margin-inline: auto;
206
- padding-inline: calc(var(--gutter) - 8px);
207
- }
208
-
209
- .brand {
210
- display: inline-flex;
211
- align-items: center;
212
- justify-self: center;
213
- min-height: 44px;
214
- }
215
-
216
- .brand__img {
217
- width: auto;
218
- height: auto;
219
- max-height: min(var(--logo-h, 42px), 48px);
220
- max-width: min(var(--logo-max-w, 170px), 42vw);
221
- object-fit: contain;
222
- }
223
-
224
- @media (min-width: 1024px) {
225
- .brand__img {
226
- max-height: var(--logo-h, 42px);
227
- --logo-max-w: calc(var(--logo-h, 42px) * 5);
228
- }
229
- }
230
-
231
- .brand__text {
232
- color: var(--heading);
233
- font-family: var(--font-display);
234
- font-size: var(--text-brand-text);
235
- font-weight: var(--weight-heavy);
236
- line-height: 1;
237
- }
238
-
239
- @media (max-width: 759px) {
240
- .brand__text {
241
- font-size: var(--text-brand-text-narrow);
242
- white-space: nowrap;
243
- }
244
- }
245
-
246
- @media (min-width: 1024px) {
247
- .brand__text {
248
- font-size: var(--text-brand-text-wide);
249
- }
250
- }
251
-
252
- .site-nav {
253
- display: none;
254
- }
255
-
256
- .site-header__actions {
257
- display: flex;
258
- justify-content: flex-end;
259
- gap: 2px;
260
- }
261
-
262
- @media (min-width: 1024px) {
263
- .site-header__inner {
264
- grid-template-columns: auto 1fr auto;
265
- gap: 28px;
266
- }
267
- .header-menu-toggle {
268
- display: none;
269
- }
270
- .brand {
271
- justify-self: start;
272
- }
273
- .site-nav {
274
- display: flex;
275
- justify-content: center;
276
- align-items: center;
277
- gap: 4px;
278
- }
279
- }
280
-
281
- .nav-link,
282
- .nav-summary {
283
- display: inline-flex;
284
- align-items: center;
285
- gap: 5px;
286
- min-height: 42px;
287
- padding: 0 14px;
288
- border-radius: var(--r-pill);
289
- color: var(--heading);
290
- font-size: var(--text-nav-summary);
291
- font-weight: var(--weight-semibold);
292
- list-style: none;
293
- cursor: pointer;
294
- transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
295
- }
296
-
297
- .nav-summary::-webkit-details-marker {
298
- display: none;
299
- }
300
-
301
- .nav-link:hover,
302
- .nav-summary:hover,
303
- .nav-item[open] .nav-summary,
304
- .nav-link[aria-current="page"] {
305
- background: var(--soft);
306
- color: var(--accent-text);
307
- }
308
-
309
- .nav-item {
310
- position: relative;
311
- }
312
-
313
- .mega {
314
- position: absolute;
315
- inset-block-start: calc(100% + 10px);
316
- inset-inline-start: 50%;
317
- translate: -50% 0;
318
- min-width: 520px;
319
- padding: 22px;
320
- border: var(--border-mega);
321
- border-radius: var(--r-lg);
322
- background: var(--card);
323
- box-shadow: var(--shadow-lg);
324
- animation: pop-in var(--duration) var(--ease);
325
- }
326
-
327
- [dir="rtl"] .mega {
328
- translate: 50% 0;
329
- }
330
-
331
- @keyframes pop-in {
332
- from {
333
- opacity: 0;
334
- transform: var(--motion-keyframes-pop-in-from);
335
- }
336
- }
337
-
338
- .mega__grid {
339
- display: grid;
340
- grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
341
- gap: 18px 24px;
342
- }
343
-
344
- .mega__title {
345
- color: var(--heading);
346
- font-weight: var(--weight-bold);
347
- }
348
-
349
- .mega__list {
350
- display: grid;
351
- gap: 6px;
352
- margin-block-start: 8px;
353
- padding: 0;
354
- list-style: none;
355
- color: var(--muted);
356
- font-size: var(--text-mega-list);
357
- }
358
-
359
- .mega a:hover {
360
- color: var(--accent);
361
- }
362
-
363
- .mega__all {
364
- display: inline-flex;
365
- align-items: center;
366
- gap: 6px;
367
- margin-block-start: 18px;
368
- color: var(--accent);
369
- font-weight: var(--weight-bold);
370
- }
371
-
372
- /* ---------- the phone menu ---------- */
373
-
374
- .mobile-menu {
375
- position: fixed;
376
- inset: 0;
377
- z-index: 120;
378
- visibility: hidden;
379
- transition: var(--motion-mobile-menu);
380
- }
381
-
382
- .mobile-menu[data-open="true"] {
383
- visibility: visible;
384
- transition: none;
385
- }
386
-
387
- .mobile-menu__scrim {
388
- position: absolute;
389
- inset: 0;
390
- width: 100%;
391
- background: var(--overlay);
392
- opacity: 0;
393
- transition: var(--motion-mobile-menu-scrim);
394
- cursor: default;
395
- }
396
-
397
- .mobile-menu__panel {
398
- position: absolute;
399
- inset-block: 0;
400
- inset-inline-start: 0;
401
- z-index: 1;
402
- display: flex;
403
- flex-direction: column;
404
- width: min(88vw, 380px);
405
- background: var(--bg);
406
- box-shadow: var(--shadow-lg);
407
- transform: var(--motion-mobile-menu-panel);
408
- transition: var(--motion-mobile-menu-panel-transition);
409
- }
410
-
411
- [dir="rtl"] .mobile-menu__panel {
412
- transform: var(--motion-mobile-menu-panel-rtl);
413
- }
414
-
415
- .mobile-menu[data-open="true"] .mobile-menu__panel {
416
- transform: none;
417
- }
418
-
419
- .mobile-menu[data-open="true"] .mobile-menu__scrim {
420
- opacity: 1;
421
- }
422
-
423
- .mobile-menu__head {
424
- display: flex;
425
- align-items: center;
426
- justify-content: space-between;
427
- gap: 12px;
428
- min-height: var(--header-h);
429
- padding-inline: 16px 10px;
430
- border-block-end: var(--border-mobile-menu-head);
431
- }
432
-
433
- .mobile-menu__head .brand__img {
434
- max-height: 34px;
435
- }
436
-
437
- .mobile-nav {
438
- flex: 1;
439
- overflow-y: auto;
440
- padding: 8px 16px;
441
- }
442
-
443
- .mobile-nav > a,
444
- .mobile-nav summary {
445
- display: flex;
446
- align-items: center;
447
- justify-content: space-between;
448
- min-height: 56px;
449
- border-block-end: var(--border-mobile-nav);
450
- color: var(--heading);
451
- font-family: var(--font-display);
452
- font-size: var(--text-mobile-nav);
453
- font-weight: var(--weight-bold);
454
- list-style: none;
455
- cursor: pointer;
456
- }
457
-
458
- .mobile-nav summary::-webkit-details-marker {
459
- display: none;
460
- }
461
-
462
- .mobile-nav details[open] summary svg {
463
- transform: var(--motion-mobile-nav);
464
- }
465
-
466
- .mobile-nav details > div {
467
- display: grid;
468
- gap: 2px;
469
- padding: 8px 0 12px;
470
- }
471
-
472
- .mobile-nav details > div a {
473
- padding: 9px 12px;
474
- border-radius: var(--r-sm);
475
- color: var(--muted);
476
- }
477
-
478
- .mobile-nav a[aria-current="page"] {
479
- color: var(--accent);
480
- }
481
-
482
- .mobile-menu__foot {
483
- display: grid;
484
- gap: 10px;
485
- padding: 16px;
486
- border-block-start: var(--border-mobile-menu-foot);
487
- background: var(--softer);
488
- }
489
-
490
- .mobile-menu__link {
491
- display: flex;
492
- align-items: center;
493
- gap: 10px;
494
- min-height: 40px;
495
- color: var(--heading);
496
- font-weight: var(--weight-semibold);
497
- }
498
-
499
- .mobile-menu__languages {
500
- display: flex;
501
- gap: 8px;
502
- }
503
-
504
- .mobile-menu__languages a {
505
- flex: 1;
506
- padding: 9px;
507
- border: var(--border-mobile-menu-languages);
508
- border-radius: var(--r-pill);
509
- font-size: var(--text-mobile-menu-languages);
510
- font-weight: var(--weight-semibold);
511
- text-align: center;
512
- }
513
-
514
- .mobile-menu__languages a[aria-current] {
515
- border-color: var(--btn);
516
- background: var(--btn);
517
- color: var(--btn-ink);
518
- }
519
-
520
- .mobile-menu__social {
521
- display: flex;
522
- gap: 6px;
523
- }
524
-
525
- .mobile-menu__social a {
526
- display: grid;
527
- place-items: center;
528
- width: 40px;
529
- height: 40px;
530
- border-radius: var(--r-round);
531
- background: var(--card);
532
- color: var(--heading);
533
- }
534
-
535
- /* ---------- search ---------- */
536
-
537
- .search-dialog {
538
- width: min(640px, calc(100vw - 24px));
539
- margin: 10vh auto auto;
540
- padding: 20px;
541
- border: 0;
542
- border-radius: var(--r-lg);
543
- background: var(--bg);
544
- color: var(--ink);
545
- box-shadow: var(--shadow-lg);
546
- }
547
-
548
- .search-dialog::backdrop {
549
- background: var(--overlay);
550
- -webkit-backdrop-filter: blur(3px);
551
- backdrop-filter: var(--filter-search-dialog);
552
- }
553
-
554
- .search-dialog__head {
555
- display: flex;
556
- align-items: center;
557
- justify-content: space-between;
558
- margin-block-end: 12px;
559
- color: var(--heading);
560
- font-family: var(--font-display);
561
- font-size: var(--text-search-dialog-head);
562
- }
563
-
564
- .search-dialog form,
565
- .search-page__form {
566
- position: relative;
567
- display: flex;
568
- gap: 8px;
569
- }
570
-
571
- .search-dialog form .input,
572
- .search-page__form .input {
573
- padding-inline-start: 46px;
574
- }
575
-
576
- .search-dialog__icon {
577
- position: absolute;
578
- inset-inline-start: 16px;
579
- inset-block-start: 16px;
580
- color: var(--muted);
581
- pointer-events: none;
582
- }
583
-
584
- .search-page__form {
585
- max-width: 560px;
586
- margin: 18px auto 0;
587
- }
588
-
589
- /* ---------- footer ---------- */
590
-
591
- .site-footer {
592
- /* The bottom room clears the back-to-top button, which sits over the last line on a phone. */
593
- padding-block: clamp(40px, 6vw, 64px) 88px;
594
- font-size: var(--text-site-footer);
595
- }
596
-
597
- .footer__inner {
598
- display: grid;
599
- gap: 32px;
600
- }
601
-
602
- @media (min-width: 760px) {
603
- .footer__inner {
604
- grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(160px, 1fr));
605
- }
606
- }
607
-
608
- .footer__brand {
609
- color: var(--heading);
610
- font-family: var(--font-display);
611
- font-size: var(--text-footer-brand);
612
- font-weight: var(--weight-heavy);
613
- }
614
-
615
- .footer__logo-img {
616
- width: auto;
617
- height: auto;
618
- max-height: 48px;
619
- max-width: min(200px, 60vw);
620
- object-fit: contain;
621
- }
622
-
623
- .footer__about {
624
- max-width: 340px;
625
- margin-block-start: 12px;
626
- color: var(--muted);
627
- }
628
-
629
- .footer__social {
630
- display: flex;
631
- gap: 8px;
632
- margin-block-start: 18px;
633
- }
634
-
635
- .footer__social a {
636
- display: grid;
637
- place-items: center;
638
- width: 40px;
639
- height: 40px;
640
- border: var(--border-footer-social);
641
- border-radius: var(--r-round);
642
- color: var(--heading);
643
- transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
644
- }
645
-
646
- .footer__social a:hover {
647
- background: var(--accent);
648
- border-color: var(--accent);
649
- color: var(--bg);
650
- }
651
-
652
- .footer__col h2 {
653
- margin-block-end: 14px;
654
- font-family: var(--font-body);
655
- font-size: var(--text-footer-col);
656
- font-weight: var(--weight-bold);
657
- }
658
-
659
- .footer__col ul {
660
- display: grid;
661
- gap: 10px;
662
- padding: 0;
663
- list-style: none;
664
- }
665
-
666
- .footer__col a {
667
- color: var(--muted);
668
- transition: color var(--duration) var(--ease);
669
- }
670
-
671
- .footer__col a:hover {
672
- color: var(--accent);
673
- }
674
-
675
- .footer__contact :is(a, span) {
676
- display: inline-flex;
677
- align-items: center;
678
- gap: 8px;
679
- color: var(--muted);
680
- }
681
-
682
- .footer__contact svg {
683
- flex: none;
684
- color: var(--accent);
685
- }
686
-
687
- .footer__bottom {
688
- display: flex;
689
- flex-wrap: wrap;
690
- align-items: center;
691
- justify-content: space-between;
692
- gap: 12px;
693
- margin-block-start: 36px;
694
- padding-block-start: 18px;
695
- border-block-start: var(--border-footer-bottom);
696
- color: var(--muted);
697
- font-size: var(--text-footer-bottom);
698
- }
699
-
700
- .footer__pay {
701
- display: inline-flex;
702
- align-items: center;
703
- gap: 7px;
704
- padding: 7px 14px;
705
- border-radius: var(--r-pill);
706
- background: var(--surface-footer-pay);
707
- color: var(--heading);
708
- font-weight: var(--weight-bold);
709
- }
710
-
711
- /* ---------- floating helpers ---------- */
712
-
713
- .back-to-top {
714
- position: fixed;
715
- inset-block-end: calc(18px + env(safe-area-inset-bottom));
716
- inset-inline-start: 16px;
717
- z-index: 65;
718
- display: grid;
719
- place-items: center;
720
- width: 46px;
721
- height: 46px;
722
- border: var(--border-back-to-top);
723
- border-radius: var(--r-round);
724
- background: var(--card);
725
- color: var(--accent);
726
- box-shadow: var(--shadow);
727
- opacity: 0;
728
- transform: var(--motion-back-to-top);
729
- pointer-events: none;
730
- transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
731
- }
732
-
733
- .back-to-top[data-visible="true"] {
734
- opacity: 1;
735
- transform: none;
736
- pointer-events: auto;
737
- }
738
-
739
- /* It takes the side the WhatsApp widget leaves free. */
740
- body[data-wa-side="right"] .back-to-top {
741
- inset-inline: auto;
742
- left: 16px;
743
- }
744
-
745
- body[data-wa-side="left"] .back-to-top {
746
- inset-inline: auto;
747
- right: 16px;
748
- }
749
-
750
- /* On a product page the phone's buy bar holds the bottom edge. */
751
- @media (max-width: 899px) {
752
- body[data-page-type="product"] .back-to-top,
753
- body[data-page-type="landing"] .back-to-top {
754
- display: none;
755
- }
756
- }
757
-
758
- .toast {
759
- position: fixed;
760
- inset-block-start: calc(var(--header-h) + 12px);
761
- inset-inline: 12px;
762
- z-index: 130;
763
- display: flex;
764
- justify-content: center;
765
- pointer-events: none;
766
- }
767
-
768
- .toast__inner {
769
- display: flex;
770
- align-items: center;
771
- gap: 10px;
772
- max-width: 460px;
773
- padding: 12px 16px;
774
- border-radius: var(--r);
775
- background: var(--overlay-strong);
776
- color: var(--on-photo);
777
- font-size: var(--text-toast-inner);
778
- box-shadow: var(--shadow-lg);
779
- opacity: 0;
780
- transform: var(--motion-toast-inner);
781
- transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
782
- }
783
-
784
- .toast[data-visible="true"] .toast__inner {
785
- opacity: 1;
786
- transform: none;
787
- pointer-events: auto;
788
- }
789
-
790
- .toast__inner svg {
791
- flex: none;
792
- color: var(--whatsapp-online);
793
- }
794
-
795
- .toast__link {
796
- margin-inline-start: 6px;
797
- color: var(--on-photo);
798
- text-decoration: underline;
799
- font-weight: var(--weight-bold);
800
- white-space: nowrap;
801
- }
802
-
803
- /* ---------- the merchant's WhatsApp widget ---------- */
804
-
805
- .whatsapp-float {
806
- position: fixed;
807
- inset-block-end: calc(18px + env(safe-area-inset-bottom));
808
- inset-inline-end: 16px;
809
- z-index: 70;
810
- display: inline-flex;
811
- align-items: center;
812
- gap: 9px;
813
- min-height: 52px;
814
- padding: 0 18px 0 14px;
815
- border-radius: var(--r-pill);
816
- background: var(--whatsapp);
817
- color: var(--on-photo);
818
- font-size: var(--text-whatsapp-float);
819
- font-weight: var(--weight-bold);
820
- box-shadow: var(--shadow-lg);
821
- transition: transform var(--duration) var(--ease), background-color var(--duration) var(--ease);
822
- }
823
-
824
- .whatsapp-float:hover {
825
- background: var(--whatsapp-hover);
826
- transform: var(--motion-whatsapp-float-hover);
827
- }
828
-
829
- .wa[data-position="right"] .whatsapp-float {
830
- inset-inline: auto;
831
- right: 16px;
832
- }
833
-
834
- .wa[data-position="left"] .whatsapp-float {
835
- inset-inline: auto;
836
- left: 16px;
837
- }
838
-
839
- .wa[data-accent="primary"] .whatsapp-float,
840
- .wa[data-accent="primary"] .wa__cta {
841
- background: var(--btn);
842
- color: var(--btn-ink);
843
- }
844
-
845
- /* A phone keeps only the icon, over the product page's buy bar. */
846
- @media (max-width: 899px) {
847
- .whatsapp-float {
848
- width: 52px;
849
- padding: 0;
850
- justify-content: center;
851
- }
852
- .whatsapp-float span {
853
- display: none;
854
- }
855
- body[data-page-type="product"] .whatsapp-float,
856
- body[data-page-type="landing"] .whatsapp-float {
857
- inset-block-end: calc(92px + env(safe-area-inset-bottom));
858
- }
859
- }
860
-
861
- /* The launcher steps aside while an order form is on screen. */
862
- .wa .whatsapp-float {
863
- transition: var(--motion-whatsapp-float);
864
- }
865
-
866
- .wa[data-yield="true"] .whatsapp-float {
867
- opacity: 0;
868
- visibility: hidden;
869
- transform: var(--motion-whatsapp-float-hidden);
870
- pointer-events: none;
871
- }
872
-
873
- /* The merchant can ask the launcher to call for attention (the WhatsApp App's setting); the widget's script turns it off after one visit and for reduced motion. */
874
- .wa[data-attention="true"] .whatsapp-float {
875
- animation: var(--motion-whatsapp-float-attention);
876
- }
877
-
878
- @keyframes wa-attention {
879
- 0% {
880
- box-shadow: var(--shadow-keyframes-wa-attention-0pct);
881
- }
882
- 70% {
883
- box-shadow: var(--shadow-keyframes-wa-attention-70pct);
884
- }
885
- }
886
-
887
- .wa__card {
888
- position: fixed;
889
- inset-block-end: calc(84px + env(safe-area-inset-bottom));
890
- z-index: 71;
891
- width: min(340px, calc(100vw - 32px));
892
- padding: 16px;
893
- border: var(--border-wa-card);
894
- border-radius: var(--r-lg);
895
- background: var(--whatsapp-panel);
896
- color: var(--whatsapp-panel-ink);
897
- box-shadow: var(--shadow-wa-card);
898
- animation: pop-in var(--duration) var(--ease);
899
- }
900
-
901
- .wa[data-position="right"] .wa__card {
902
- right: 16px;
903
- }
904
-
905
- .wa[data-position="left"] .wa__card {
906
- left: 16px;
907
- }
908
-
909
- .wa__head {
910
- display: flex;
911
- align-items: center;
912
- gap: 10px;
913
- }
914
-
915
- .wa__avatar {
916
- display: grid;
917
- place-items: center;
918
- flex: none;
919
- width: 44px;
920
- height: 44px;
921
- border-radius: var(--r-round);
922
- object-fit: cover;
923
- background: var(--whatsapp-bubble-out);
924
- color: var(--whatsapp);
925
- }
926
-
927
- .wa__name {
928
- font-weight: var(--weight-bold);
929
- }
930
-
931
- .wa__caption {
932
- color: var(--whatsapp-panel-muted);
933
- font-size: var(--text-wa-caption);
934
- }
935
-
936
- .wa__close {
937
- display: grid;
938
- place-items: center;
939
- width: 32px;
940
- height: 32px;
941
- margin-inline-start: auto;
942
- border-radius: var(--r-round);
943
- background: var(--whatsapp-bubble-in);
944
- }
945
-
946
- .wa__bubble {
947
- margin-block: 14px;
948
- padding: 10px 13px;
949
- border-radius: var(--r-xs) var(--r-lg) var(--r-lg) var(--r-lg);
950
- background: var(--whatsapp-bubble-out);
951
- font-size: var(--text-wa-bubble);
952
- line-height: var(--leading-wa-bubble);
953
- white-space: pre-line;
954
- }
955
-
956
- [dir="rtl"] .wa__bubble {
957
- border-radius: var(--r-lg) var(--r-xs) var(--r-lg) var(--r-lg);
958
- }
959
-
960
- .wa__cta {
961
- display: flex;
962
- align-items: center;
963
- justify-content: center;
964
- gap: 8px;
965
- min-height: 48px;
966
- border-radius: var(--r-pill);
967
- background: var(--whatsapp);
968
- color: var(--on-photo);
969
- font-weight: var(--weight-bold);
970
- }
1
+ /* ---------- the top: announcement bar and header ---------- */
2
+
3
+ .site-top {
4
+ position: sticky;
5
+ inset-block-start: 0;
6
+ z-index: 50;
7
+ }
8
+
9
+ /* A header the merchant does not keep on screen scrolls away with the page. */
10
+ .site-top:has([data-header][data-sticky="false"]) {
11
+ position: relative;
12
+ }
13
+
14
+ .topbar {
15
+ position: relative;
16
+ z-index: 2;
17
+ font-size: var(--text-topbar);
18
+ font-weight: var(--weight-semibold);
19
+ }
20
+
21
+ .topbar__inner {
22
+ display: grid;
23
+ grid-template-columns: 1fr auto 1fr;
24
+ align-items: center;
25
+ gap: 12px;
26
+ max-width: 1320px;
27
+ min-height: 38px;
28
+ margin-inline: auto;
29
+ padding-inline: var(--gutter);
30
+ }
31
+
32
+ .topbar__social {
33
+ display: flex;
34
+ gap: 4px;
35
+ }
36
+
37
+ .topbar__social a {
38
+ display: grid;
39
+ place-items: center;
40
+ width: 28px;
41
+ height: 28px;
42
+ border-radius: var(--r-round);
43
+ opacity: var(--opacity-topbar-social);
44
+ }
45
+
46
+ .topbar__social a:hover {
47
+ opacity: 1;
48
+ background: var(--surface-topbar-social-hover);
49
+ }
50
+
51
+ .topbar__end {
52
+ display: flex;
53
+ justify-content: flex-end;
54
+ }
55
+
56
+ .ticker {
57
+ display: flex;
58
+ align-items: center;
59
+ justify-content: center;
60
+ gap: 6px;
61
+ min-width: 0;
62
+ }
63
+
64
+ .ticker__viewport {
65
+ min-width: 0;
66
+ }
67
+
68
+ .ticker__item {
69
+ display: inline-flex;
70
+ align-items: center;
71
+ gap: 7px;
72
+ white-space: nowrap;
73
+ }
74
+
75
+ .ticker__item a:hover {
76
+ text-decoration: underline;
77
+ }
78
+
79
+ .ticker__arrow {
80
+ display: grid;
81
+ place-items: center;
82
+ width: 26px;
83
+ height: 26px;
84
+ border-radius: var(--r-round);
85
+ opacity: var(--opacity-ticker-arrow);
86
+ }
87
+
88
+ .ticker__arrow:hover {
89
+ opacity: 1;
90
+ }
91
+
92
+ .locale {
93
+ position: relative;
94
+ }
95
+
96
+ .locale__trigger {
97
+ display: inline-flex;
98
+ align-items: center;
99
+ gap: 6px;
100
+ min-height: 30px;
101
+ padding: 0 10px;
102
+ border-radius: var(--r-pill);
103
+ list-style: none;
104
+ cursor: pointer;
105
+ }
106
+
107
+ .locale__trigger::-webkit-details-marker {
108
+ display: none;
109
+ }
110
+
111
+ .locale__trigger:hover,
112
+ .locale[open] .locale__trigger {
113
+ background: var(--surface-locale-trigger-hover);
114
+ }
115
+
116
+ .locale__trigger:focus-visible {
117
+ outline: var(--border-locale-trigger-focus);
118
+ outline-offset: var(--border-locale-trigger-focus-offset);
119
+ }
120
+
121
+ .locale--bar .locale__code,
122
+ .locale--header .locale__name {
123
+ display: none;
124
+ }
125
+
126
+ .locale--header .locale__trigger {
127
+ min-height: 44px;
128
+ padding: 0 10px;
129
+ color: var(--heading);
130
+ font-size: var(--text-locale-trigger);
131
+ font-weight: var(--weight-bold);
132
+ letter-spacing: var(--tracking-locale-trigger);
133
+ }
134
+
135
+ .locale--header .locale__trigger:hover,
136
+ .locale--header[open] .locale__trigger {
137
+ background: var(--soft);
138
+ }
139
+
140
+ .locale__menu {
141
+ position: absolute;
142
+ inset-block-start: calc(100% + 6px);
143
+ inset-inline-end: 0;
144
+ z-index: 60;
145
+ display: grid;
146
+ min-width: 170px;
147
+ padding: 6px;
148
+ border: var(--border-locale-menu);
149
+ border-radius: var(--r);
150
+ background: var(--card);
151
+ color: var(--ink);
152
+ box-shadow: var(--shadow-lg);
153
+ }
154
+
155
+ .locale__menu a {
156
+ display: flex;
157
+ align-items: center;
158
+ justify-content: space-between;
159
+ gap: 10px;
160
+ min-height: 44px;
161
+ padding: 0 12px;
162
+ border-radius: var(--r-sm);
163
+ font-size: var(--text-locale-menu);
164
+ }
165
+
166
+ .locale__menu a:hover,
167
+ .locale__menu a[aria-current] {
168
+ background: var(--soft);
169
+ color: var(--accent);
170
+ }
171
+
172
+ @media (max-width: 760px) {
173
+ .topbar__inner {
174
+ grid-template-columns: 1fr;
175
+ }
176
+ .topbar__social,
177
+ .topbar__end {
178
+ display: none;
179
+ }
180
+ }
181
+
182
+ .site-header {
183
+ position: relative;
184
+ z-index: 1;
185
+ border-block-end: var(--border-site-header);
186
+ background: var(--surface-site-header);
187
+ -webkit-backdrop-filter: saturate(1.6) blur(14px);
188
+ backdrop-filter: var(--filter-site-header);
189
+ transition:
190
+ var(--motion-site-header);
191
+ }
192
+
193
+ .site-header {
194
+ border-block-end-color: var(--line);
195
+ box-shadow: var(--shadow-sm);
196
+ }
197
+
198
+ .site-header__inner {
199
+ display: grid;
200
+ grid-template-columns: 1fr auto 1fr;
201
+ align-items: center;
202
+ gap: 8px;
203
+ max-width: 1320px;
204
+ min-height: var(--header-h);
205
+ margin-inline: auto;
206
+ padding-inline: calc(var(--gutter) - 8px);
207
+ }
208
+
209
+ .brand {
210
+ display: inline-flex;
211
+ align-items: center;
212
+ justify-self: center;
213
+ min-height: 44px;
214
+ }
215
+
216
+ .brand__img {
217
+ width: auto;
218
+ height: auto;
219
+ max-height: min(var(--logo-h, 42px), 48px);
220
+ max-width: min(var(--logo-max-w, 170px), 42vw);
221
+ object-fit: contain;
222
+ }
223
+
224
+ @media (min-width: 1024px) {
225
+ .brand__img {
226
+ max-height: var(--logo-h, 42px);
227
+ --logo-max-w: calc(var(--logo-h, 42px) * 5);
228
+ }
229
+ }
230
+
231
+ .brand__text {
232
+ color: var(--heading);
233
+ font-family: var(--font-display);
234
+ font-size: var(--text-brand-text);
235
+ font-weight: var(--weight-heavy);
236
+ line-height: 1;
237
+ }
238
+
239
+ @media (max-width: 759px) {
240
+ .brand__text {
241
+ font-size: var(--text-brand-text-narrow);
242
+ white-space: nowrap;
243
+ }
244
+ }
245
+
246
+ @media (min-width: 1024px) {
247
+ .brand__text {
248
+ font-size: var(--text-brand-text-wide);
249
+ }
250
+ }
251
+
252
+ .site-nav {
253
+ display: none;
254
+ }
255
+
256
+ .site-header__actions {
257
+ display: flex;
258
+ justify-content: flex-end;
259
+ gap: 2px;
260
+ }
261
+
262
+ @media (min-width: 1024px) {
263
+ .site-header__inner {
264
+ grid-template-columns: auto 1fr auto;
265
+ gap: 28px;
266
+ }
267
+ .header-menu-toggle {
268
+ display: none;
269
+ }
270
+ .brand {
271
+ justify-self: start;
272
+ }
273
+ .site-nav {
274
+ display: flex;
275
+ justify-content: center;
276
+ align-items: center;
277
+ gap: 4px;
278
+ }
279
+ }
280
+
281
+ .nav-link,
282
+ .nav-summary {
283
+ display: inline-flex;
284
+ align-items: center;
285
+ gap: 5px;
286
+ min-height: 42px;
287
+ padding: 0 14px;
288
+ border-radius: var(--r-pill);
289
+ color: var(--heading);
290
+ font-size: var(--text-nav-summary);
291
+ font-weight: var(--weight-semibold);
292
+ list-style: none;
293
+ cursor: pointer;
294
+ transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
295
+ }
296
+
297
+ .nav-summary::-webkit-details-marker {
298
+ display: none;
299
+ }
300
+
301
+ .nav-link:hover,
302
+ .nav-summary:hover,
303
+ .nav-item[open] .nav-summary,
304
+ .nav-link[aria-current="page"] {
305
+ background: var(--soft);
306
+ color: var(--accent-text);
307
+ }
308
+
309
+ .nav-item {
310
+ position: relative;
311
+ }
312
+
313
+ .mega {
314
+ position: absolute;
315
+ inset-block-start: calc(100% + 10px);
316
+ inset-inline-start: 50%;
317
+ translate: -50% 0;
318
+ min-width: 520px;
319
+ padding: 22px;
320
+ border: var(--border-mega);
321
+ border-radius: var(--r-lg);
322
+ background: var(--card);
323
+ box-shadow: var(--shadow-lg);
324
+ animation: pop-in var(--duration) var(--ease);
325
+ }
326
+
327
+ [dir="rtl"] .mega {
328
+ translate: 50% 0;
329
+ }
330
+
331
+ @keyframes pop-in {
332
+ from {
333
+ opacity: 0;
334
+ transform: var(--motion-keyframes-pop-in-from);
335
+ }
336
+ }
337
+
338
+ .mega__grid {
339
+ display: grid;
340
+ grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
341
+ gap: 18px 24px;
342
+ }
343
+
344
+ .mega__title {
345
+ color: var(--heading);
346
+ font-weight: var(--weight-bold);
347
+ }
348
+
349
+ .mega__list {
350
+ display: grid;
351
+ gap: 6px;
352
+ margin-block-start: 8px;
353
+ padding: 0;
354
+ list-style: none;
355
+ color: var(--muted);
356
+ font-size: var(--text-mega-list);
357
+ }
358
+
359
+ .mega a:hover {
360
+ color: var(--accent);
361
+ }
362
+
363
+ .mega__all {
364
+ display: inline-flex;
365
+ align-items: center;
366
+ gap: 6px;
367
+ margin-block-start: 18px;
368
+ color: var(--accent);
369
+ font-weight: var(--weight-bold);
370
+ }
371
+
372
+ /* ---------- the phone menu ---------- */
373
+
374
+ .mobile-menu {
375
+ position: fixed;
376
+ inset: 0;
377
+ z-index: 120;
378
+ visibility: hidden;
379
+ transition: var(--motion-mobile-menu);
380
+ }
381
+
382
+ .mobile-menu[data-open="true"] {
383
+ visibility: visible;
384
+ transition: none;
385
+ }
386
+
387
+ .mobile-menu__scrim {
388
+ position: absolute;
389
+ inset: 0;
390
+ width: 100%;
391
+ background: var(--overlay);
392
+ opacity: 0;
393
+ transition: var(--motion-mobile-menu-scrim);
394
+ cursor: default;
395
+ }
396
+
397
+ .mobile-menu__panel {
398
+ position: absolute;
399
+ inset-block: 0;
400
+ inset-inline-start: 0;
401
+ z-index: 1;
402
+ display: flex;
403
+ flex-direction: column;
404
+ width: min(88vw, 380px);
405
+ background: var(--bg);
406
+ box-shadow: var(--shadow-lg);
407
+ transform: var(--motion-mobile-menu-panel);
408
+ transition: var(--motion-mobile-menu-panel-transition);
409
+ }
410
+
411
+ [dir="rtl"] .mobile-menu__panel {
412
+ transform: var(--motion-mobile-menu-panel-rtl);
413
+ }
414
+
415
+ .mobile-menu[data-open="true"] .mobile-menu__panel {
416
+ transform: none;
417
+ }
418
+
419
+ .mobile-menu[data-open="true"] .mobile-menu__scrim {
420
+ opacity: 1;
421
+ }
422
+
423
+ .mobile-menu__head {
424
+ display: flex;
425
+ align-items: center;
426
+ justify-content: space-between;
427
+ gap: 12px;
428
+ min-height: var(--header-h);
429
+ padding-inline: 16px 10px;
430
+ border-block-end: var(--border-mobile-menu-head);
431
+ }
432
+
433
+ .mobile-menu__head .brand__img {
434
+ max-height: 34px;
435
+ }
436
+
437
+ .mobile-nav {
438
+ flex: 1;
439
+ overflow-y: auto;
440
+ padding: 8px 16px;
441
+ }
442
+
443
+ .mobile-nav > a,
444
+ .mobile-nav summary {
445
+ display: flex;
446
+ align-items: center;
447
+ justify-content: space-between;
448
+ min-height: 56px;
449
+ border-block-end: var(--border-mobile-nav);
450
+ color: var(--heading);
451
+ font-family: var(--font-display);
452
+ font-size: var(--text-mobile-nav);
453
+ font-weight: var(--weight-bold);
454
+ list-style: none;
455
+ cursor: pointer;
456
+ }
457
+
458
+ .mobile-nav summary::-webkit-details-marker {
459
+ display: none;
460
+ }
461
+
462
+ .mobile-nav details[open] summary svg {
463
+ transform: var(--motion-mobile-nav);
464
+ }
465
+
466
+ .mobile-nav details > div {
467
+ display: grid;
468
+ gap: 2px;
469
+ padding: 8px 0 12px;
470
+ }
471
+
472
+ .mobile-nav details > div a {
473
+ padding: 9px 12px;
474
+ border-radius: var(--r-sm);
475
+ color: var(--muted);
476
+ }
477
+
478
+ .mobile-nav a[aria-current="page"] {
479
+ color: var(--accent);
480
+ }
481
+
482
+ .mobile-menu__foot {
483
+ display: grid;
484
+ gap: 10px;
485
+ padding: 16px;
486
+ border-block-start: var(--border-mobile-menu-foot);
487
+ background: var(--softer);
488
+ }
489
+
490
+ .mobile-menu__link {
491
+ display: flex;
492
+ align-items: center;
493
+ gap: 10px;
494
+ min-height: 40px;
495
+ color: var(--heading);
496
+ font-weight: var(--weight-semibold);
497
+ }
498
+
499
+ .mobile-menu__languages {
500
+ display: flex;
501
+ gap: 8px;
502
+ }
503
+
504
+ .mobile-menu__languages a {
505
+ flex: 1;
506
+ padding: 9px;
507
+ border: var(--border-mobile-menu-languages);
508
+ border-radius: var(--r-pill);
509
+ font-size: var(--text-mobile-menu-languages);
510
+ font-weight: var(--weight-semibold);
511
+ text-align: center;
512
+ }
513
+
514
+ .mobile-menu__languages a[aria-current] {
515
+ border-color: var(--btn);
516
+ background: var(--btn);
517
+ color: var(--btn-ink);
518
+ }
519
+
520
+ .mobile-menu__social {
521
+ display: flex;
522
+ gap: 6px;
523
+ }
524
+
525
+ .mobile-menu__social a {
526
+ display: grid;
527
+ place-items: center;
528
+ width: 40px;
529
+ height: 40px;
530
+ border-radius: var(--r-round);
531
+ background: var(--card);
532
+ color: var(--heading);
533
+ }
534
+
535
+ /* ---------- search ---------- */
536
+
537
+ .search-dialog {
538
+ width: min(640px, calc(100vw - 24px));
539
+ margin: 10vh auto auto;
540
+ padding: 20px;
541
+ border: 0;
542
+ border-radius: var(--r-lg);
543
+ background: var(--bg);
544
+ color: var(--ink);
545
+ box-shadow: var(--shadow-lg);
546
+ }
547
+
548
+ .search-dialog::backdrop {
549
+ background: var(--overlay);
550
+ -webkit-backdrop-filter: blur(3px);
551
+ backdrop-filter: var(--filter-search-dialog);
552
+ }
553
+
554
+ .search-dialog__head {
555
+ display: flex;
556
+ align-items: center;
557
+ justify-content: space-between;
558
+ margin-block-end: 12px;
559
+ color: var(--heading);
560
+ font-family: var(--font-display);
561
+ font-size: var(--text-search-dialog-head);
562
+ }
563
+
564
+ .search-dialog form,
565
+ .search-page__form {
566
+ position: relative;
567
+ display: flex;
568
+ gap: 8px;
569
+ }
570
+
571
+ .search-dialog form .input,
572
+ .search-page__form .input {
573
+ padding-inline-start: 46px;
574
+ }
575
+
576
+ .search-dialog__icon {
577
+ position: absolute;
578
+ inset-inline-start: 16px;
579
+ inset-block-start: 16px;
580
+ color: var(--muted);
581
+ pointer-events: none;
582
+ }
583
+
584
+ .search-page__form {
585
+ max-width: 560px;
586
+ margin: 18px auto 0;
587
+ }
588
+
589
+ /* ---------- footer ---------- */
590
+
591
+ .site-footer {
592
+ /* The bottom room clears the back-to-top button, which sits over the last line on a phone. */
593
+ padding-block: clamp(40px, 6vw, 64px) 88px;
594
+ font-size: var(--text-site-footer);
595
+ }
596
+
597
+ .footer__inner {
598
+ display: grid;
599
+ gap: 32px;
600
+ }
601
+
602
+ @media (min-width: 760px) {
603
+ .footer__inner {
604
+ grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(160px, 1fr));
605
+ }
606
+ }
607
+
608
+ .footer__brand {
609
+ color: var(--heading);
610
+ font-family: var(--font-display);
611
+ font-size: var(--text-footer-brand);
612
+ font-weight: var(--weight-heavy);
613
+ }
614
+
615
+ .footer__logo-img {
616
+ width: auto;
617
+ height: auto;
618
+ max-height: 48px;
619
+ max-width: min(200px, 60vw);
620
+ object-fit: contain;
621
+ }
622
+
623
+ .footer__about {
624
+ max-width: 340px;
625
+ margin-block-start: 12px;
626
+ color: var(--muted);
627
+ }
628
+
629
+ .footer__social {
630
+ display: flex;
631
+ gap: 8px;
632
+ margin-block-start: 18px;
633
+ }
634
+
635
+ .footer__social a {
636
+ display: grid;
637
+ place-items: center;
638
+ width: 40px;
639
+ height: 40px;
640
+ border: var(--border-footer-social);
641
+ border-radius: var(--r-round);
642
+ color: var(--heading);
643
+ transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
644
+ }
645
+
646
+ .footer__social a:hover {
647
+ background: var(--accent);
648
+ border-color: var(--accent);
649
+ color: var(--bg);
650
+ }
651
+
652
+ .footer__col h2 {
653
+ margin-block-end: 14px;
654
+ font-family: var(--font-body);
655
+ font-size: var(--text-footer-col);
656
+ font-weight: var(--weight-bold);
657
+ }
658
+
659
+ .footer__col ul {
660
+ display: grid;
661
+ gap: 10px;
662
+ padding: 0;
663
+ list-style: none;
664
+ }
665
+
666
+ .footer__col a {
667
+ color: var(--muted);
668
+ transition: color var(--duration) var(--ease);
669
+ }
670
+
671
+ .footer__col a:hover {
672
+ color: var(--accent);
673
+ }
674
+
675
+ .footer__contact :is(a, span) {
676
+ display: inline-flex;
677
+ align-items: center;
678
+ gap: 8px;
679
+ color: var(--muted);
680
+ }
681
+
682
+ .footer__contact svg {
683
+ flex: none;
684
+ color: var(--accent);
685
+ }
686
+
687
+ .footer__bottom {
688
+ display: flex;
689
+ flex-wrap: wrap;
690
+ align-items: center;
691
+ justify-content: space-between;
692
+ gap: 12px;
693
+ margin-block-start: 36px;
694
+ padding-block-start: 18px;
695
+ border-block-start: var(--border-footer-bottom);
696
+ color: var(--muted);
697
+ font-size: var(--text-footer-bottom);
698
+ }
699
+
700
+ .footer__pay {
701
+ display: inline-flex;
702
+ align-items: center;
703
+ gap: 7px;
704
+ padding: 7px 14px;
705
+ border-radius: var(--r-pill);
706
+ background: var(--surface-footer-pay);
707
+ color: var(--heading);
708
+ font-weight: var(--weight-bold);
709
+ }
710
+
711
+ /* ---------- floating helpers ---------- */
712
+
713
+ .back-to-top {
714
+ position: fixed;
715
+ inset-block-end: calc(18px + env(safe-area-inset-bottom));
716
+ inset-inline-start: 16px;
717
+ z-index: 65;
718
+ display: grid;
719
+ place-items: center;
720
+ width: 46px;
721
+ height: 46px;
722
+ border: var(--border-back-to-top);
723
+ border-radius: var(--r-round);
724
+ background: var(--card);
725
+ color: var(--accent);
726
+ box-shadow: var(--shadow);
727
+ opacity: 0;
728
+ transform: var(--motion-back-to-top);
729
+ pointer-events: none;
730
+ transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
731
+ }
732
+
733
+ .back-to-top[data-visible="true"] {
734
+ opacity: 1;
735
+ transform: none;
736
+ pointer-events: auto;
737
+ }
738
+
739
+ /* It takes the side the WhatsApp widget leaves free. */
740
+ body[data-wa-side="right"] .back-to-top {
741
+ inset-inline: auto;
742
+ left: 16px;
743
+ }
744
+
745
+ body[data-wa-side="left"] .back-to-top {
746
+ inset-inline: auto;
747
+ right: 16px;
748
+ }
749
+
750
+ /* On a product page the phone's buy bar holds the bottom edge. */
751
+ @media (max-width: 899px) {
752
+ body[data-page-type="product"] .back-to-top,
753
+ body[data-page-type="landing"] .back-to-top {
754
+ display: none;
755
+ }
756
+ }
757
+
758
+ .toast {
759
+ position: fixed;
760
+ inset-block-start: calc(var(--header-h) + 12px);
761
+ inset-inline: 12px;
762
+ z-index: 130;
763
+ display: flex;
764
+ justify-content: center;
765
+ pointer-events: none;
766
+ }
767
+
768
+ .toast__inner {
769
+ display: flex;
770
+ align-items: center;
771
+ gap: 10px;
772
+ max-width: 460px;
773
+ padding: 12px 16px;
774
+ border-radius: var(--r);
775
+ background: var(--overlay-strong);
776
+ color: var(--on-photo);
777
+ font-size: var(--text-toast-inner);
778
+ box-shadow: var(--shadow-lg);
779
+ opacity: 0;
780
+ transform: var(--motion-toast-inner);
781
+ transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
782
+ }
783
+
784
+ .toast[data-visible="true"] .toast__inner {
785
+ opacity: 1;
786
+ transform: none;
787
+ pointer-events: auto;
788
+ }
789
+
790
+ .toast__inner svg {
791
+ flex: none;
792
+ color: var(--whatsapp-online);
793
+ }
794
+
795
+ .toast__link {
796
+ margin-inline-start: 6px;
797
+ color: var(--on-photo);
798
+ text-decoration: underline;
799
+ font-weight: var(--weight-bold);
800
+ white-space: nowrap;
801
+ }
802
+
803
+ /* ---------- the merchant's WhatsApp widget ---------- */
804
+
805
+ .whatsapp-float {
806
+ position: fixed;
807
+ inset-block-end: calc(18px + env(safe-area-inset-bottom));
808
+ inset-inline-end: 16px;
809
+ z-index: 70;
810
+ display: inline-flex;
811
+ align-items: center;
812
+ gap: 9px;
813
+ min-height: 52px;
814
+ padding: 0 18px 0 14px;
815
+ border-radius: var(--r-pill);
816
+ background: var(--whatsapp);
817
+ color: var(--on-photo);
818
+ font-size: var(--text-whatsapp-float);
819
+ font-weight: var(--weight-bold);
820
+ box-shadow: var(--shadow-lg);
821
+ transition: transform var(--duration) var(--ease), background-color var(--duration) var(--ease);
822
+ }
823
+
824
+ .whatsapp-float:hover {
825
+ background: var(--whatsapp-hover);
826
+ transform: var(--motion-whatsapp-float-hover);
827
+ }
828
+
829
+ .wa[data-position="right"] .whatsapp-float {
830
+ inset-inline: auto;
831
+ right: 16px;
832
+ }
833
+
834
+ .wa[data-position="left"] .whatsapp-float {
835
+ inset-inline: auto;
836
+ left: 16px;
837
+ }
838
+
839
+ .wa[data-accent="primary"] .whatsapp-float,
840
+ .wa[data-accent="primary"] .wa__cta {
841
+ background: var(--btn);
842
+ color: var(--btn-ink);
843
+ }
844
+
845
+ /* A phone keeps only the icon, over the product page's buy bar. */
846
+ @media (max-width: 899px) {
847
+ .whatsapp-float {
848
+ width: 52px;
849
+ padding: 0;
850
+ justify-content: center;
851
+ }
852
+ .whatsapp-float span {
853
+ display: none;
854
+ }
855
+ body[data-page-type="product"] .whatsapp-float,
856
+ body[data-page-type="landing"] .whatsapp-float {
857
+ inset-block-end: calc(92px + env(safe-area-inset-bottom));
858
+ }
859
+ }
860
+
861
+ /* The launcher steps aside while an order form is on screen. */
862
+ .wa .whatsapp-float {
863
+ transition: var(--motion-whatsapp-float);
864
+ }
865
+
866
+ .wa[data-yield="true"] .whatsapp-float {
867
+ opacity: 0;
868
+ visibility: hidden;
869
+ transform: var(--motion-whatsapp-float-hidden);
870
+ pointer-events: none;
871
+ }
872
+
873
+ /* The merchant can ask the launcher to call for attention (the WhatsApp App's setting); the widget's script turns it off after one visit and for reduced motion. */
874
+ .wa[data-attention="true"] .whatsapp-float {
875
+ animation: var(--motion-whatsapp-float-attention);
876
+ }
877
+
878
+ @keyframes wa-attention {
879
+ 0% {
880
+ box-shadow: var(--shadow-keyframes-wa-attention-0pct);
881
+ }
882
+ 70% {
883
+ box-shadow: var(--shadow-keyframes-wa-attention-70pct);
884
+ }
885
+ }
886
+
887
+ .wa__card {
888
+ position: fixed;
889
+ inset-block-end: calc(84px + env(safe-area-inset-bottom));
890
+ z-index: 71;
891
+ width: min(340px, calc(100vw - 32px));
892
+ padding: 16px;
893
+ border: var(--border-wa-card);
894
+ border-radius: var(--r-lg);
895
+ background: var(--whatsapp-panel);
896
+ color: var(--whatsapp-panel-ink);
897
+ box-shadow: var(--shadow-wa-card);
898
+ animation: pop-in var(--duration) var(--ease);
899
+ }
900
+
901
+ .wa[data-position="right"] .wa__card {
902
+ right: 16px;
903
+ }
904
+
905
+ .wa[data-position="left"] .wa__card {
906
+ left: 16px;
907
+ }
908
+
909
+ .wa__head {
910
+ display: flex;
911
+ align-items: center;
912
+ gap: 10px;
913
+ }
914
+
915
+ .wa__avatar {
916
+ display: grid;
917
+ place-items: center;
918
+ flex: none;
919
+ width: 44px;
920
+ height: 44px;
921
+ border-radius: var(--r-round);
922
+ object-fit: cover;
923
+ background: var(--whatsapp-bubble-out);
924
+ color: var(--whatsapp);
925
+ }
926
+
927
+ .wa__name {
928
+ font-weight: var(--weight-bold);
929
+ }
930
+
931
+ .wa__caption {
932
+ color: var(--whatsapp-panel-muted);
933
+ font-size: var(--text-wa-caption);
934
+ }
935
+
936
+ .wa__close {
937
+ display: grid;
938
+ place-items: center;
939
+ width: 32px;
940
+ height: 32px;
941
+ margin-inline-start: auto;
942
+ border-radius: var(--r-round);
943
+ background: var(--whatsapp-bubble-in);
944
+ }
945
+
946
+ .wa__bubble {
947
+ margin-block: 14px;
948
+ padding: 10px 13px;
949
+ border-radius: var(--r-xs) var(--r-lg) var(--r-lg) var(--r-lg);
950
+ background: var(--whatsapp-bubble-out);
951
+ font-size: var(--text-wa-bubble);
952
+ line-height: var(--leading-wa-bubble);
953
+ white-space: pre-line;
954
+ }
955
+
956
+ [dir="rtl"] .wa__bubble {
957
+ border-radius: var(--r-lg) var(--r-xs) var(--r-lg) var(--r-lg);
958
+ }
959
+
960
+ .wa__cta {
961
+ display: flex;
962
+ align-items: center;
963
+ justify-content: center;
964
+ gap: 8px;
965
+ min-height: 48px;
966
+ border-radius: var(--r-pill);
967
+ background: var(--whatsapp);
968
+ color: var(--on-photo);
969
+ font-weight: var(--weight-bold);
970
+ }