spree_storefront 5.0.0.rc1

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 (341) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.md +13 -0
  3. data/Rakefile +15 -0
  4. data/app/assets/config/spree_storefront_manifest.js +6 -0
  5. data/app/assets/stylesheets/storefront_page_builder.css +51 -0
  6. data/app/controllers/concerns/spree/cart_methods.rb +40 -0
  7. data/app/controllers/concerns/spree/locale_urls.rb +23 -0
  8. data/app/controllers/concerns/spree/password_protected.rb +17 -0
  9. data/app/controllers/concerns/spree/theme_concern.rb +29 -0
  10. data/app/controllers/spree/account/addresses_controller.rb +16 -0
  11. data/app/controllers/spree/account/base_controller.rb +20 -0
  12. data/app/controllers/spree/account/newsletter_controller.rb +34 -0
  13. data/app/controllers/spree/account/orders_controller.rb +34 -0
  14. data/app/controllers/spree/account/profile_controller.rb +23 -0
  15. data/app/controllers/spree/account/store_credits_controller.rb +23 -0
  16. data/app/controllers/spree/account/wished_items_controller.rb +45 -0
  17. data/app/controllers/spree/addresses_controller.rb +101 -0
  18. data/app/controllers/spree/checkout_controller.rb +365 -0
  19. data/app/controllers/spree/contacts_controller.rb +46 -0
  20. data/app/controllers/spree/digital_links_controller.rb +48 -0
  21. data/app/controllers/spree/home_controller.rb +5 -0
  22. data/app/controllers/spree/line_items_controller.rb +96 -0
  23. data/app/controllers/spree/newsletter_subscribers_controller.rb +43 -0
  24. data/app/controllers/spree/order_status_controller.rb +32 -0
  25. data/app/controllers/spree/orders_controller.rb +104 -0
  26. data/app/controllers/spree/page_sections_controller.rb +17 -0
  27. data/app/controllers/spree/pages_controller.rb +13 -0
  28. data/app/controllers/spree/password_controller.rb +21 -0
  29. data/app/controllers/spree/policies_controller.rb +17 -0
  30. data/app/controllers/spree/posts_controller.rb +76 -0
  31. data/app/controllers/spree/products_controller.rb +99 -0
  32. data/app/controllers/spree/search_controller.rb +39 -0
  33. data/app/controllers/spree/seo_controller.rb +25 -0
  34. data/app/controllers/spree/settings_controller.rb +68 -0
  35. data/app/controllers/spree/store_controller.rb +247 -0
  36. data/app/controllers/spree/taxonomies_controller.rb +30 -0
  37. data/app/controllers/spree/taxons_controller.rb +46 -0
  38. data/app/controllers/spree/wishlists_controller.rb +19 -0
  39. data/app/finders/spree/storefront/variant_finder.rb +80 -0
  40. data/app/helpers/spree/analytics_helper.rb +28 -0
  41. data/app/helpers/spree/cart_helper.rb +48 -0
  42. data/app/helpers/spree/checkout_analytics_helper.rb +77 -0
  43. data/app/helpers/spree/checkout_helper.rb +58 -0
  44. data/app/helpers/spree/filters_helper.rb +180 -0
  45. data/app/helpers/spree/fonts_helper.rb +58 -0
  46. data/app/helpers/spree/orders_helper.rb +7 -0
  47. data/app/helpers/spree/page_helper.rb +67 -0
  48. data/app/helpers/spree/posts_helper.rb +42 -0
  49. data/app/helpers/spree/products_helper.rb +205 -0
  50. data/app/helpers/spree/storefront_helper.rb +86 -0
  51. data/app/helpers/spree/storefront_locale_helper.rb +42 -0
  52. data/app/helpers/spree/theme_helper.rb +244 -0
  53. data/app/helpers/spree/turbo_helper.rb +13 -0
  54. data/app/helpers/spree/turbo_stream_actions_helper.rb +13 -0
  55. data/app/helpers/spree/wishlist_helper.rb +7 -0
  56. data/app/javascript/spree/storefront/application.js +156 -0
  57. data/app/javascript/spree/storefront/controllers/accordion_controller.js +25 -0
  58. data/app/javascript/spree/storefront/controllers/account_nav_controller.js +10 -0
  59. data/app/javascript/spree/storefront/controllers/card_validation_controller.js +103 -0
  60. data/app/javascript/spree/storefront/controllers/carousel_controller.js +44 -0
  61. data/app/javascript/spree/storefront/controllers/cart_controller.js +10 -0
  62. data/app/javascript/spree/storefront/controllers/checkout_address_book_controller.js +28 -0
  63. data/app/javascript/spree/storefront/controllers/checkout_delivery_controller.js +39 -0
  64. data/app/javascript/spree/storefront/controllers/checkout_promotions_controller.js +28 -0
  65. data/app/javascript/spree/storefront/controllers/checkout_summary_controller.js +46 -0
  66. data/app/javascript/spree/storefront/controllers/clear_input_controller.js +23 -0
  67. data/app/javascript/spree/storefront/controllers/copy_input_controller.js +19 -0
  68. data/app/javascript/spree/storefront/controllers/dropdown_controller.js +14 -0
  69. data/app/javascript/spree/storefront/controllers/header_controller.js +33 -0
  70. data/app/javascript/spree/storefront/controllers/infinite_scroll_controller.js +31 -0
  71. data/app/javascript/spree/storefront/controllers/lightbox_controller.js +138 -0
  72. data/app/javascript/spree/storefront/controllers/mobile_nav_controller.js +17 -0
  73. data/app/javascript/spree/storefront/controllers/modal_controller.js +15 -0
  74. data/app/javascript/spree/storefront/controllers/no_ui_slider_controller.js +55 -0
  75. data/app/javascript/spree/storefront/controllers/pdp_desktop_gallery_controller.js +28 -0
  76. data/app/javascript/spree/storefront/controllers/plp_variant_picker_controller.js +151 -0
  77. data/app/javascript/spree/storefront/controllers/product_form_controller.js +136 -0
  78. data/app/javascript/spree/storefront/controllers/quantity_picker_controller.js +43 -0
  79. data/app/javascript/spree/storefront/controllers/search_suggestions_controller.js +61 -0
  80. data/app/javascript/spree/storefront/controllers/searchable_list_controller.js +25 -0
  81. data/app/javascript/spree/storefront/controllers/slideover_controller.js +40 -0
  82. data/app/javascript/spree/storefront/controllers/sticky_button_controller.js +32 -0
  83. data/app/javascript/spree/storefront/controllers/toggle_menu_controller.js +32 -0
  84. data/app/javascript/spree/storefront/controllers/turbo_stream_form_controller.js +51 -0
  85. data/app/javascript/spree/storefront/controllers/wished_item_controller.js +69 -0
  86. data/app/javascript/spree/storefront/helpers/lazy_load_controllers_with_manifest.js +78 -0
  87. data/app/javascript/spree/storefront/helpers/show_flash_message.js +25 -0
  88. data/app/models/spree/color_names.rb +35 -0
  89. data/app/models/spree/contact.rb +24 -0
  90. data/app/presenters/spree/colors_preview_styles_presenter.rb +84 -0
  91. data/app/presenters/spree/featured_product_presenter.rb +42 -0
  92. data/app/presenters/spree/mega_nav_presenter.rb +55 -0
  93. data/app/views/devise/passwords/edit.html.erb +22 -0
  94. data/app/views/devise/passwords/new.html.erb +16 -0
  95. data/app/views/devise/registrations/_form.html.erb +21 -0
  96. data/app/views/devise/registrations/edit.html.erb +24 -0
  97. data/app/views/devise/registrations/new.html.erb +27 -0
  98. data/app/views/devise/sessions/new.html.erb +25 -0
  99. data/app/views/devise/shared/_links.html.erb +22 -0
  100. data/app/views/layouts/spree/checkout.html.erb +58 -0
  101. data/app/views/layouts/spree/password.html.erb +34 -0
  102. data/app/views/layouts/spree/storefront.html.erb +38 -0
  103. data/app/views/spree/account/wished_items/create.turbo_stream.erb +8 -0
  104. data/app/views/spree/account/wished_items/destroy.turbo_stream.erb +20 -0
  105. data/app/views/spree/addresses/destroy.turbo_stream.erb +1 -0
  106. data/app/views/spree/addresses/edit.html.erb +57 -0
  107. data/app/views/spree/addresses/new.html.erb +71 -0
  108. data/app/views/spree/checkout/_address.html.erb +153 -0
  109. data/app/views/spree/checkout/_button_processing.html.erb +7 -0
  110. data/app/views/spree/checkout/_coupon_code.html.erb +55 -0
  111. data/app/views/spree/checkout/_credit_card.html.erb +12 -0
  112. data/app/views/spree/checkout/_delivery.html.erb +70 -0
  113. data/app/views/spree/checkout/_line_item.html.erb +26 -0
  114. data/app/views/spree/checkout/_line_items.html.erb +7 -0
  115. data/app/views/spree/checkout/_missing_all_line_items.html.erb +17 -0
  116. data/app/views/spree/checkout/_missing_line_items.html.erb +28 -0
  117. data/app/views/spree/checkout/_payment.html.erb +35 -0
  118. data/app/views/spree/checkout/_payment_methods.html.erb +72 -0
  119. data/app/views/spree/checkout/_payment_sources.html.erb +24 -0
  120. data/app/views/spree/checkout/_quick_checkout.html.erb +1 -0
  121. data/app/views/spree/checkout/_sidebar.html.erb +34 -0
  122. data/app/views/spree/checkout/_store_credit.html.erb +21 -0
  123. data/app/views/spree/checkout/_summary.html.erb +116 -0
  124. data/app/views/spree/checkout/_user_account.html.erb +9 -0
  125. data/app/views/spree/checkout/apply_coupon_code.turbo_stream.erb +45 -0
  126. data/app/views/spree/checkout/apply_store_credit.turbo_stream.erb +19 -0
  127. data/app/views/spree/checkout/edit.html.erb +98 -0
  128. data/app/views/spree/checkout/payment/_check.html.erb +0 -0
  129. data/app/views/spree/checkout/payment/_gateway.html.erb +74 -0
  130. data/app/views/spree/checkout/payment/_store_credit.html.erb +13 -0
  131. data/app/views/spree/checkout/remove_coupon_code.turbo_stream.erb +34 -0
  132. data/app/views/spree/checkout/remove_store_credit.turbo_stream.erb +19 -0
  133. data/app/views/spree/checkout/update.turbo_stream.erb +25 -0
  134. data/app/views/spree/home/index.html.erb +1 -0
  135. data/app/views/spree/line_items/create.turbo_stream.erb +13 -0
  136. data/app/views/spree/line_items/destroy.turbo_stream.erb +11 -0
  137. data/app/views/spree/line_items/update.turbo_stream.erb +10 -0
  138. data/app/views/spree/newsletter_subscribers/create.turbo_stream.erb +7 -0
  139. data/app/views/spree/order_status/new.html.erb +16 -0
  140. data/app/views/spree/page_sections/show.html.erb +3 -0
  141. data/app/views/spree/pages/show.html.erb +1 -0
  142. data/app/views/spree/password/show.html.erb +1 -0
  143. data/app/views/spree/posts/index.html.erb +1 -0
  144. data/app/views/spree/posts/related_products.html.erb +7 -0
  145. data/app/views/spree/posts/show.html.erb +1 -0
  146. data/app/views/spree/products/index.html.erb +1 -0
  147. data/app/views/spree/products/index.turbo_stream.erb +1 -0
  148. data/app/views/spree/products/related.html.erb +3 -0
  149. data/app/views/spree/products/show.html.erb +1 -0
  150. data/app/views/spree/search/show.html.erb +6 -0
  151. data/app/views/spree/search/show.turbo_stream.erb +1 -0
  152. data/app/views/spree/search/suggestions.turbo_stream.erb +8 -0
  153. data/app/views/spree/seo/robots.text.erb +31 -0
  154. data/app/views/spree/seo/sitemap.xml.erb +25 -0
  155. data/app/views/spree/shared/_fonts.html.erb +14 -0
  156. data/app/views/spree/shared/_head.html.erb +36 -0
  157. data/app/views/spree/shared/_load_more_products.turbo_stream.erb +7 -0
  158. data/app/views/spree/shared/_product_listing_page.html.erb +11 -0
  159. data/app/views/spree/shared/_products.html.erb +1 -0
  160. data/app/views/spree/taxonomies/show.html.erb +1 -0
  161. data/app/views/spree/taxons/show.html.erb +1 -0
  162. data/app/views/spree/taxons/show.turbo_stream.erb +1 -0
  163. data/app/views/spree/waitlists/create.turbo_stream.erb +9 -0
  164. data/app/views/themes/default/kaminari/storefront/_first_page.html.erb +8 -0
  165. data/app/views/themes/default/kaminari/storefront/_gap.html.erb +8 -0
  166. data/app/views/themes/default/kaminari/storefront/_last_page.html.erb +8 -0
  167. data/app/views/themes/default/kaminari/storefront/_next_page.html.erb +13 -0
  168. data/app/views/themes/default/kaminari/storefront/_page.html.erb +10 -0
  169. data/app/views/themes/default/kaminari/storefront/_paginator.html.erb +27 -0
  170. data/app/views/themes/default/kaminari/storefront/_prev_page.html.erb +13 -0
  171. data/app/views/themes/default/spree/account/_account_nav.html.erb +46 -0
  172. data/app/views/themes/default/spree/account/_order.html.erb +39 -0
  173. data/app/views/themes/default/spree/account/_orders.html.erb +16 -0
  174. data/app/views/themes/default/spree/account/addresses/_address.html.erb +42 -0
  175. data/app/views/themes/default/spree/account/addresses/index.html.erb +28 -0
  176. data/app/views/themes/default/spree/account/newsletter/_newsletter_settings.html.erb +13 -0
  177. data/app/views/themes/default/spree/account/newsletter/edit.html.erb +16 -0
  178. data/app/views/themes/default/spree/account/newsletter/update.html.erb +1 -0
  179. data/app/views/themes/default/spree/account/orders/index.html.erb +24 -0
  180. data/app/views/themes/default/spree/account/orders/show.html.erb +22 -0
  181. data/app/views/themes/default/spree/account/profile/edit.html.erb +36 -0
  182. data/app/views/themes/default/spree/account/store_credits/_store_credit_event.html.erb +29 -0
  183. data/app/views/themes/default/spree/account/store_credits/index.html.erb +31 -0
  184. data/app/views/themes/default/spree/checkout/_footer.html.erb +10 -0
  185. data/app/views/themes/default/spree/checkout/complete.html.erb +84 -0
  186. data/app/views/themes/default/spree/contacts/new.html.erb +23 -0
  187. data/app/views/themes/default/spree/orders/_cart.html.erb +14 -0
  188. data/app/views/themes/default/spree/orders/_empty.html.erb +11 -0
  189. data/app/views/themes/default/spree/orders/_line_item.html.erb +47 -0
  190. data/app/views/themes/default/spree/orders/_line_item_quantity.html.erb +11 -0
  191. data/app/views/themes/default/spree/orders/_summary.html.erb +41 -0
  192. data/app/views/themes/default/spree/orders/edit.html.erb +18 -0
  193. data/app/views/themes/default/spree/orders/show.html.erb +6 -0
  194. data/app/views/themes/default/spree/page_sections/_announcement_bar.html.erb +10 -0
  195. data/app/views/themes/default/spree/page_sections/_custom_code.html.erb +5 -0
  196. data/app/views/themes/default/spree/page_sections/_featured_product.html.erb +136 -0
  197. data/app/views/themes/default/spree/page_sections/_featured_taxon.html.erb +116 -0
  198. data/app/views/themes/default/spree/page_sections/_featured_taxons.html.erb +71 -0
  199. data/app/views/themes/default/spree/page_sections/_footer.html.erb +62 -0
  200. data/app/views/themes/default/spree/page_sections/_header.html.erb +166 -0
  201. data/app/views/themes/default/spree/page_sections/_image_banner.html.erb +57 -0
  202. data/app/views/themes/default/spree/page_sections/_image_with_text.html.erb +66 -0
  203. data/app/views/themes/default/spree/page_sections/_main_password_footer.html.erb +64 -0
  204. data/app/views/themes/default/spree/page_sections/_main_password_header.html.erb +54 -0
  205. data/app/views/themes/default/spree/page_sections/_newsletter.html.erb +47 -0
  206. data/app/views/themes/default/spree/page_sections/_page_title.html.erb +7 -0
  207. data/app/views/themes/default/spree/page_sections/_post_details.html.erb +19 -0
  208. data/app/views/themes/default/spree/page_sections/_post_grid.html.erb +11 -0
  209. data/app/views/themes/default/spree/page_sections/_product_details.html.erb +102 -0
  210. data/app/views/themes/default/spree/page_sections/_product_grid.html.erb +52 -0
  211. data/app/views/themes/default/spree/page_sections/_related_products.html.erb +15 -0
  212. data/app/views/themes/default/spree/page_sections/_rich_text.html.erb +18 -0
  213. data/app/views/themes/default/spree/page_sections/_taxon_banner.html.erb +37 -0
  214. data/app/views/themes/default/spree/page_sections/_taxon_grid.html.erb +103 -0
  215. data/app/views/themes/default/spree/page_sections/_video.html.erb +27 -0
  216. data/app/views/themes/default/spree/page_sections/nav/_desktop.html.erb +49 -0
  217. data/app/views/themes/default/spree/page_sections/nav/_mobile.html.erb +136 -0
  218. data/app/views/themes/default/spree/policies/show.html.erb +11 -0
  219. data/app/views/themes/default/spree/posts/_json_ld.html.erb +20 -0
  220. data/app/views/themes/default/spree/posts/_pagination.html.erb +1 -0
  221. data/app/views/themes/default/spree/posts/_post.html.erb +13 -0
  222. data/app/views/themes/default/spree/products/_add_to_cart_button.html.erb +58 -0
  223. data/app/views/themes/default/spree/products/_add_to_waitlist.html.erb +36 -0
  224. data/app/views/themes/default/spree/products/_add_to_wishlist.html.erb +33 -0
  225. data/app/views/themes/default/spree/products/_breadcrumbs.html.erb +23 -0
  226. data/app/views/themes/default/spree/products/_color_picker.html.erb +19 -0
  227. data/app/views/themes/default/spree/products/_color_swatches.html.erb +61 -0
  228. data/app/views/themes/default/spree/products/_details.html.erb +55 -0
  229. data/app/views/themes/default/spree/products/_featured_image.html.erb +37 -0
  230. data/app/views/themes/default/spree/products/_filters.html.erb +45 -0
  231. data/app/views/themes/default/spree/products/_json_ld.html.erb +38 -0
  232. data/app/views/themes/default/spree/products/_json_ld_list.html.erb +9 -0
  233. data/app/views/themes/default/spree/products/_json_ld_variant.html.erb +10 -0
  234. data/app/views/themes/default/spree/products/_label.html.erb +26 -0
  235. data/app/views/themes/default/spree/products/_media_gallery.html.erb +94 -0
  236. data/app/views/themes/default/spree/products/_price.html.erb +59 -0
  237. data/app/views/themes/default/spree/products/_product.html.erb +62 -0
  238. data/app/views/themes/default/spree/products/_quantity_selector.html.erb +32 -0
  239. data/app/views/themes/default/spree/products/_returns_policy_modal.html.erb +22 -0
  240. data/app/views/themes/default/spree/products/_show_more_button.html.erb +8 -0
  241. data/app/views/themes/default/spree/products/_sort.html.erb +45 -0
  242. data/app/views/themes/default/spree/products/_swiper.html.erb +85 -0
  243. data/app/views/themes/default/spree/products/_tags.html.erb +0 -0
  244. data/app/views/themes/default/spree/products/_variant_options.html.erb +71 -0
  245. data/app/views/themes/default/spree/products/_variant_picker.html.erb +50 -0
  246. data/app/views/themes/default/spree/products/filters/_availability.html.erb +32 -0
  247. data/app/views/themes/default/spree/products/filters/_colors.html.erb +23 -0
  248. data/app/views/themes/default/spree/products/filters/_generic.html.erb +75 -0
  249. data/app/views/themes/default/spree/products/filters/_price.html.erb +35 -0
  250. data/app/views/themes/default/spree/products/filters/_taxons.erb +78 -0
  251. data/app/views/themes/default/spree/search/_suggestions.html.erb +92 -0
  252. data/app/views/themes/default/spree/settings/show.html.erb +32 -0
  253. data/app/views/themes/default/spree/shared/_account_pane.html.erb +28 -0
  254. data/app/views/themes/default/spree/shared/_address.html.erb +35 -0
  255. data/app/views/themes/default/spree/shared/_cart_icon.html.erb +13 -0
  256. data/app/views/themes/default/spree/shared/_cart_pane.html.erb +38 -0
  257. data/app/views/themes/default/spree/shared/_css_variables.html.erb +54 -0
  258. data/app/views/themes/default/spree/shared/_custom_head.html.erb +0 -0
  259. data/app/views/themes/default/spree/shared/_error_messages.html.erb +9 -0
  260. data/app/views/themes/default/spree/shared/_error_messages_without_base_attribute.html.erb +15 -0
  261. data/app/views/themes/default/spree/shared/_flash.html.erb +16 -0
  262. data/app/views/themes/default/spree/shared/_flashes.html.erb +10 -0
  263. data/app/views/themes/default/spree/shared/_json_ld.html.erb +32 -0
  264. data/app/views/themes/default/spree/shared/_line_item_options.html.erb +18 -0
  265. data/app/views/themes/default/spree/shared/_logo.html.erb +42 -0
  266. data/app/views/themes/default/spree/shared/_meta_tags.html.erb +45 -0
  267. data/app/views/themes/default/spree/shared/_order_details.html.erb +106 -0
  268. data/app/views/themes/default/spree/shared/_order_line_item.html.erb +65 -0
  269. data/app/views/themes/default/spree/shared/_order_shipment.html.erb +71 -0
  270. data/app/views/themes/default/spree/shared/_search.html.erb +32 -0
  271. data/app/views/themes/default/spree/shared/_title.html.erb +3 -0
  272. data/app/views/themes/default/spree/shared/_wishlist_icon.html.erb +13 -0
  273. data/app/views/themes/default/spree/shared/icons/_account.html.erb +17 -0
  274. data/app/views/themes/default/spree/shared/icons/_arrow-left.html.erb +8 -0
  275. data/app/views/themes/default/spree/shared/icons/_arrow-right.html.erb +3 -0
  276. data/app/views/themes/default/spree/shared/icons/_bell.html.erb +9 -0
  277. data/app/views/themes/default/spree/shared/icons/_cart.html.erb +10 -0
  278. data/app/views/themes/default/spree/shared/icons/_cart_48.html.erb +6 -0
  279. data/app/views/themes/default/spree/shared/icons/_check.html.erb +4 -0
  280. data/app/views/themes/default/spree/shared/icons/_chevron.html.erb +15 -0
  281. data/app/views/themes/default/spree/shared/icons/_chevron_down.html.erb +5 -0
  282. data/app/views/themes/default/spree/shared/icons/_chevron_right.html.erb +15 -0
  283. data/app/views/themes/default/spree/shared/icons/_chevron_up.html.erb +3 -0
  284. data/app/views/themes/default/spree/shared/icons/_close.html.erb +9 -0
  285. data/app/views/themes/default/spree/shared/icons/_cross.html.erb +16 -0
  286. data/app/views/themes/default/spree/shared/icons/_delete.html.erb +3 -0
  287. data/app/views/themes/default/spree/shared/icons/_delivery.html.erb +5 -0
  288. data/app/views/themes/default/spree/shared/icons/_disabled.html.erb +13 -0
  289. data/app/views/themes/default/spree/shared/icons/_edit.html.erb +3 -0
  290. data/app/views/themes/default/spree/shared/icons/_facebook.html.erb +16 -0
  291. data/app/views/themes/default/spree/shared/icons/_filter.html.erb +8 -0
  292. data/app/views/themes/default/spree/shared/icons/_heart.html.erb +12 -0
  293. data/app/views/themes/default/spree/shared/icons/_info.html.erb +7 -0
  294. data/app/views/themes/default/spree/shared/icons/_instagram.html.erb +18 -0
  295. data/app/views/themes/default/spree/shared/icons/_lock.html.erb +13 -0
  296. data/app/views/themes/default/spree/shared/icons/_menu.html.erb +10 -0
  297. data/app/views/themes/default/spree/shared/icons/_minus.html.erb +5 -0
  298. data/app/views/themes/default/spree/shared/icons/_pinch.html.erb +6 -0
  299. data/app/views/themes/default/spree/shared/icons/_pinterest.html.erb +8 -0
  300. data/app/views/themes/default/spree/shared/icons/_plus.html.erb +17 -0
  301. data/app/views/themes/default/spree/shared/icons/_return.html.erb +11 -0
  302. data/app/views/themes/default/spree/shared/icons/_search.html.erb +17 -0
  303. data/app/views/themes/default/spree/shared/icons/_spinner.html.erb +1 -0
  304. data/app/views/themes/default/spree/shared/icons/_spotify.html.erb +8 -0
  305. data/app/views/themes/default/spree/shared/icons/_tiktok.html.erb +9 -0
  306. data/app/views/themes/default/spree/shared/icons/_twitter.html.erb +16 -0
  307. data/app/views/themes/default/spree/shared/icons/_youtube.html.erb +9 -0
  308. data/app/views/themes/default/spree/shared/icons/_zoom.html.erb +10 -0
  309. data/app/views/themes/default/spree/wishlists/_no_wished_items.html.erb +10 -0
  310. data/app/views/themes/default/spree/wishlists/_wished_item.html.erb +38 -0
  311. data/app/views/themes/default/spree/wishlists/show.html.erb +17 -0
  312. data/config/i18n-tasks.yml +176 -0
  313. data/config/importmap.rb +22 -0
  314. data/config/initializers/assets.rb +1 -0
  315. data/config/initializers/heroicon.rb +10 -0
  316. data/config/locales/en.yml +76 -0
  317. data/config/routes.rb +88 -0
  318. data/lib/generators/spree/storefront/install/install_generator.rb +45 -0
  319. data/lib/generators/spree/storefront/install/templates/application.tailwind.css +1760 -0
  320. data/lib/generators/spree/storefront/install/templates/dev +16 -0
  321. data/lib/generators/spree/storefront/install/templates/tailwind.config.js +128 -0
  322. data/lib/generators/spree/storefront/theme/templates/model.rb.tt +12 -0
  323. data/lib/generators/spree/storefront/theme/theme_generator.rb +41 -0
  324. data/lib/spree/storefront/configuration.rb +11 -0
  325. data/lib/spree/storefront/engine.rb +51 -0
  326. data/lib/spree/storefront/testing_support/capybara_utils.rb +13 -0
  327. data/lib/spree/storefront.rb +16 -0
  328. data/lib/spree_storefront.rb +1 -0
  329. data/vendor/colornames.json +1 -0
  330. data/vendor/javascript/@kanety--stimulus-accordion.js +4 -0
  331. data/vendor/javascript/@stimulus-components--carousel.js +4 -0
  332. data/vendor/javascript/card-validator.js +4 -0
  333. data/vendor/javascript/credit-card-type.js +4 -0
  334. data/vendor/javascript/headroom.js.js +19 -0
  335. data/vendor/javascript/nouislider.js +4 -0
  336. data/vendor/javascript/photoswipe--dist--photoswipe-lightbox.esm.js.js +667 -0
  337. data/vendor/javascript/photoswipe.js +1675 -0
  338. data/vendor/javascript/stimulus-read-more.js +4 -0
  339. data/vendor/javascript/stimulus-scroll-to.js +4 -0
  340. data/vendor/javascript/swiper--bundle.js +4 -0
  341. metadata +567 -0
@@ -0,0 +1,1760 @@
1
+ @import url("https://esm.sh/swiper@11.2.2/swiper-bundle.min.css");
2
+ @import url("https://esm.sh/flag-icons@7.3.2/css/flag-icons.min.css");
3
+
4
+ @tailwind base;
5
+ @tailwind components;
6
+ @tailwind utilities;
7
+ @tailwind forms;
8
+
9
+ /*
10
+ This is the storefront CSS
11
+ */
12
+
13
+ .container,
14
+ .page-container {
15
+ max-width: 90rem;
16
+ padding-left: 1rem;
17
+ padding-right: 1rem;
18
+ margin-left: auto;
19
+ margin-right: auto;
20
+ }
21
+ @media (min-width: 1024px) {
22
+ .page-container {
23
+ padding-left: 3.75rem;
24
+ padding-right: 3.75rem;
25
+ }
26
+ }
27
+
28
+ @media (min-width: 1024px) {
29
+ header.header-logo-centered.headroom--not-top
30
+ > nav
31
+ > .page-container
32
+ > .flex {
33
+ align-items: center !important;
34
+ }
35
+ }
36
+
37
+ html {
38
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
39
+ }
40
+
41
+ .trix-content a {
42
+ text-decoration: underline;
43
+ }
44
+
45
+ .trix-content ul {
46
+ list-style-type: revert;
47
+ list-style-position: inside;
48
+
49
+ @apply pl-8;
50
+
51
+ &:not(ul ul) {
52
+ @apply mt-2 mb-6;
53
+ }
54
+ }
55
+
56
+ .trix-content li:last-child {
57
+ @apply mb-2;
58
+ }
59
+
60
+ .trix-content ol {
61
+ list-style: decimal;
62
+ list-style-position: inside;
63
+
64
+ @apply pl-8;
65
+
66
+ &:not(ol ol) {
67
+ @apply mt-2 mb-6;
68
+ }
69
+ }
70
+
71
+ .text-input {
72
+ max-width: 100%;
73
+ border-radius: var(--input-border-radius);
74
+ border-color: var(--input);
75
+ background-color: var(--input-bg);
76
+ color: var(--input-text);
77
+ height: 3rem;
78
+ }
79
+
80
+ textarea.text-input {
81
+ height: auto;
82
+ min-height: 3rem;
83
+ border-radius: 0;
84
+ }
85
+
86
+ .text-input:disabled {
87
+ background-color: var(--neutral-50);
88
+ border-color: var(--input);
89
+ color: var(--neutral-400);
90
+ }
91
+
92
+ .text-input:focus {
93
+ border-color: var(--primary);
94
+ background-color: var(--input-focus-bg);
95
+ --tw-ring-color: var(--primary);
96
+ }
97
+ .invalid {
98
+ border-color: var(--danger);
99
+ --tw-ring-color: var(--danger);
100
+ }
101
+
102
+ .turbo-frame button {
103
+ background-color: transparent;
104
+ cursor: pointer;
105
+ }
106
+
107
+ .select-input {
108
+ cursor: pointer;
109
+ -webkit-appearance: none;
110
+ -moz-appearance: none;
111
+ appearance: none;
112
+ border-radius: var(--input-border-radius);
113
+ border-color: var(--input);
114
+ background-color: var(--input-bg);
115
+ color: var(--input-text);
116
+ height: 3rem;
117
+ }
118
+
119
+ .select-input:focus {
120
+ border-color: var(--primary);
121
+ background-color: var(--input-focus-bg);
122
+ --tw-ring-color: var(--primary);
123
+ }
124
+
125
+ .checkbox-input {
126
+ cursor: pointer;
127
+ border-radius: var(--input-border-radius) / 2;
128
+ border-color: var(--input);
129
+ background-color: transparent;
130
+ }
131
+
132
+ .checkbox-input:checked {
133
+ background-color: var(--primary);
134
+ }
135
+
136
+ .radio-input {
137
+ cursor: pointer;
138
+ }
139
+
140
+ .checkbox-input:focus,
141
+ .checkbox-input:checked,
142
+ .radio-input:focus,
143
+ .radio-input:checked {
144
+ outline: none !important;
145
+ box-shadow: none !important;
146
+ }
147
+
148
+ .menu-item {
149
+ font-weight: 400;
150
+ line-height: 0.875rem;
151
+ letter-spacing: 0.06rem;
152
+ text-transform: uppercase;
153
+ padding-top: 0.5rem;
154
+ padding-bottom: 0.5rem;
155
+ border: 1.5px solid transparent;
156
+ }
157
+ .menu-item:hover span {
158
+ border-bottom: 1.5px solid var(--accent);
159
+ }
160
+ .menu-item:active span,
161
+ .menu-item--active span {
162
+ border-bottom: 1.5px solid var(--text);
163
+ }
164
+ .menu-item:focus {
165
+ outline: none;
166
+ padding-left: 0.5rem;
167
+ padding-right: 0.5rem;
168
+ margin-left: -0.5rem;
169
+ margin-right: -0.5rem;
170
+ border-radius: var(--button-border-radius);
171
+ }
172
+
173
+ @media (min-width: 1024px) {
174
+ .menu-item {
175
+ font-size: 0.875rem;
176
+ line-height: 1.375rem;
177
+ letter-spacing: 0.07rem;
178
+ padding-top: 0px;
179
+ padding-bottom: 0px;
180
+ }
181
+ }
182
+
183
+ .btn-primary,
184
+ .btn-secondary {
185
+ position: relative;
186
+ font-size: 0.875rem;
187
+ font-weight: 600;
188
+ line-height: 1.25rem;
189
+ letter-spacing: 0.07rem;
190
+ text-transform: uppercase;
191
+ text-align: center;
192
+ cursor: pointer;
193
+ border-radius: var(--button-border-radius);
194
+ background-color: var(--button-background-color, var(--button));
195
+ padding-left: 1.25rem;
196
+ padding-right: 1.25rem;
197
+ padding-top: 0.75rem;
198
+ padding-bottom: 0.75rem;
199
+ color: var(--button-text-color, var(--button-text));
200
+ outline-offset: 0.5rem;
201
+ transition-property:
202
+ color,
203
+ background-color,
204
+ border-color,
205
+ text-decoration-color,
206
+ fill,
207
+ stroke,
208
+ -webkit-text-decoration-color;
209
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
210
+ transition-duration: 150ms;
211
+ }
212
+ .btn-primary {
213
+ border: var(--button-border-width) solid
214
+ var(--button-border-color, var(--button));
215
+ }
216
+
217
+ .btn-primary:focus-visible,
218
+ .btn-secondary:focus-visible,
219
+ .btn-icon:not(.btn-primary, .btn-secondary):focus-visible {
220
+ outline: none;
221
+ }
222
+
223
+ .btn-primary:not(:disabled):focus::after,
224
+ .btn-primary:not(:disabled):active::after,
225
+ .btn-secondary:not(:disabled):focus::after,
226
+ .btn-secondary:not(:disabled):active::after {
227
+ content: "";
228
+ border-radius: var(--button-border-radius);
229
+ position: absolute;
230
+ top: -8px;
231
+ left: -8px;
232
+ width: calc(100% + 16px);
233
+ height: calc(100% + 16px);
234
+ background-color: transparent;
235
+ display: inherit;
236
+ }
237
+
238
+ .btn-primary:disabled,
239
+ .btn-primary.btn-disabled {
240
+ cursor: not-allowed;
241
+ }
242
+
243
+ .btn-primary:hover:not(:disabled, .btn-disabled),
244
+ .btn-secondary:hover:not(:disabled, .btn-disabled) {
245
+ cursor: pointer;
246
+ }
247
+
248
+ .btn-primary:hover:not(:disabled, .btn-disabled) {
249
+ color: var(--button-background-color, var(--primary));
250
+ background-color: var(--button-text-color, var(--button-text));
251
+ }
252
+
253
+ .btn-primary:hover:not(:disabled) svg path {
254
+ stroke: var(--button-background-color, var(--primary));
255
+ }
256
+
257
+ .btn-secondary {
258
+ color: var(--secondary-button-text);
259
+ background-color: var(--secondary-button);
260
+ border: var(--button-border-width) solid
261
+ var(--button-border-color, var(--secondary-button-text));
262
+ }
263
+
264
+ .btn-secondary:hover:not(:disabled) {
265
+ color: var(--secondary-button);
266
+ background-color: var(--secondary-button-text);
267
+ }
268
+
269
+ .btn-secondary:hover:not(:disabled) svg path {
270
+ stroke: var(--secondary-button);
271
+ }
272
+
273
+ @media (hover: none) {
274
+ .btn-primary:hover:not(:disabled, .btn-disabled) {
275
+ color: var(--button-text);
276
+ background-color: var(--button);
277
+ }
278
+ .btn-secondary:hover:not(:disabled) {
279
+ color: var(--secondary-button-text);
280
+ background-color: var(--secondary-button);
281
+ }
282
+ }
283
+
284
+ .btn-secondary:focus,
285
+ .btn-secondary:active {
286
+ outline-color: var(--secondary-button);
287
+ }
288
+
289
+ .btn-primary.btn-icon,
290
+ .btn-secondary.btn-icon,
291
+ .link-icon {
292
+ display: flex;
293
+ justify-content: center;
294
+ align-items: center;
295
+ gap: 0.5rem;
296
+ }
297
+
298
+ .btn-primary.btn-icon > svg .btn-secondary.btn-icon > svg {
299
+ height: 1.25rem;
300
+ }
301
+
302
+ .btn-icon:not(.btn-primary, .btn-secondary) {
303
+ position: relative;
304
+ padding: 0.5rem;
305
+ border-radius: var(--button-border-radius);
306
+ outline-offset: 1px;
307
+ }
308
+
309
+ .btn-icon:not(.btn-primary, .btn-secondary):hover {
310
+ background: var(--accent-100);
311
+ }
312
+
313
+ .btn-icon:not(.btn-primary, .btn-secondary):active {
314
+ background: var(--accent);
315
+ }
316
+
317
+ .btn-icon:not(.btn-primary, .btn-secondary):focus::after {
318
+ content: "";
319
+ border-radius: var(--button-border-radius);
320
+ position: absolute;
321
+ top: -1px;
322
+ left: -1px;
323
+ width: calc(100% + 2px);
324
+ height: calc(100% + 2px);
325
+ background-color: transparent;
326
+ display: inherit;
327
+ }
328
+
329
+ .link {
330
+ font-size: 0.875rem;
331
+ font-weight: 600;
332
+ line-height: 1.375;
333
+ letter-spacing: 0.07rem;
334
+ text-transform: uppercase;
335
+ color: var(--text);
336
+ border-bottom: 1px solid transparent;
337
+ }
338
+
339
+ .link:hover {
340
+ border-bottom-color: var(--text);
341
+ }
342
+
343
+ .link:focus-visible {
344
+ outline-offset: 0.25rem;
345
+ padding: 0 0.25rem;
346
+ border-radius: 0.25rem;
347
+ }
348
+
349
+ .link > svg {
350
+ height: 1.5rem;
351
+ }
352
+
353
+ .link-disabled {
354
+ opacity: 0.3;
355
+ }
356
+
357
+ #checkout-page .btn-primary {
358
+ border-radius: var(--button-border-radius);
359
+ border: var(--button-border-width) solid
360
+ var(--button-border-color, var(--button));
361
+ font-size: 1rem;
362
+ font-weight: 400;
363
+ text-transform: none;
364
+ letter-spacing: initial;
365
+ }
366
+
367
+ #checkout-page .btn-primary:focus,
368
+ #checkout-page .btn-primary:active {
369
+ outline: none;
370
+ }
371
+
372
+ #checkout-page .btn-primary:hover:not(:disabled) {
373
+ opacity: 0.8;
374
+ background-color: var(--button);
375
+ color: var(--button-text);
376
+ }
377
+
378
+ #checkout-page .btn-primary:disabled {
379
+ opacity: 0.5;
380
+ background-color: var(--button);
381
+ border-color: var(--button);
382
+ }
383
+
384
+ #checkout-page .text-input,
385
+ #checkout-page .select-input {
386
+ border-radius: 0.375rem;
387
+ height: 46.8px;
388
+ }
389
+
390
+ #checkout-page #flashes .fixed {
391
+ position: fixed;
392
+ left: 0;
393
+ }
394
+
395
+ #checkout-page #checkout_payment_methods[busy] {
396
+ opacity: 0.5;
397
+ cursor: wait;
398
+ pointer-events: none;
399
+ }
400
+
401
+ #checkout-page #checkout-message {
402
+ h1,
403
+ h2,
404
+ h3,
405
+ h4,
406
+ h5,
407
+ h6 {
408
+ @apply text-xl pb-1;
409
+ }
410
+ }
411
+
412
+ .field_with_errors .text-input,
413
+ .field_with_errors .select-input {
414
+ --tw-border-opacity: 1;
415
+ border-color: rgb(220 38 38 / var(--tw-border-opacity));
416
+ }
417
+
418
+ .StripeElement iframe:focus-visible {
419
+ outline: none;
420
+ }
421
+
422
+ .breadcrumb-item {
423
+ font-size: 12px;
424
+ margin-top: -1px;
425
+ }
426
+
427
+ .breadcrumb-item::before {
428
+ content: url("data:image/svg+xml;utf8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ccc' class='bi bi-chevron-right' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
429
+ padding-right: 0.5rem;
430
+ position: relative;
431
+ top: 0.25rem;
432
+ }
433
+
434
+ .breadcrumb-item:first-child::before {
435
+ content: none;
436
+ }
437
+
438
+ .breadcrumb-item:first-child {
439
+ margin-top: 0.1rem;
440
+ }
441
+
442
+ .breadcrumb-square {
443
+ width: 0.25rem;
444
+ height: 0.25rem;
445
+ margin: 0.6rem 0;
446
+ background-color: var(--text);
447
+ }
448
+
449
+ a:hover {
450
+ }
451
+
452
+ .delivery-list-item:last-child {
453
+ border-radius: 0.375rem !important;
454
+ }
455
+
456
+ .has-float-label {
457
+ position: relative;
458
+ }
459
+
460
+ .has-float-label label {
461
+ color: var(--input-text);
462
+ font-size: 11px;
463
+ position: absolute;
464
+ left: 10px;
465
+ cursor: text;
466
+ top: 3px;
467
+ padding: 0 4px;
468
+ opacity: 0.8;
469
+ transition: transform 0.2s ease-in-out;
470
+ white-space: nowrap;
471
+ pointer-events: none;
472
+ }
473
+
474
+ .has-float-label input,
475
+ .has-float-label select {
476
+ padding-top: 1rem;
477
+ padding-bottom: 0.3rem;
478
+ }
479
+
480
+ .has-float-label input:-moz-placeholder-shown + label,
481
+ .has-float-label select:-moz-placeholder-shown + label {
482
+ opacity: 0;
483
+ transform: translateY(5px);
484
+ }
485
+
486
+ .has-float-label input:-ms-input-placeholder + label,
487
+ .has-float-label select:-ms-input-placeholder + label {
488
+ opacity: 0;
489
+ transform: translateY(5px);
490
+ }
491
+
492
+ .has-float-label input:placeholder-shown + label,
493
+ .has-float-label select:placeholder-shown + label {
494
+ opacity: 0;
495
+ transform: translateY(5px);
496
+ }
497
+
498
+ .has-float-label input:-moz-placeholder-shown,
499
+ .has-float-label select:-moz-placeholder-shown {
500
+ padding-top: 0.45rem;
501
+ padding-bottom: 0.45rem;
502
+ }
503
+
504
+ .has-float-label input:-ms-input-placeholder,
505
+ .has-float-label select:-ms-input-placeholder {
506
+ padding-top: 0.45rem;
507
+ padding-bottom: 0.45rem;
508
+ }
509
+
510
+ .has-float-label input:placeholder-shown,
511
+ .has-float-label select:placeholder-shown {
512
+ padding-top: 0.45rem;
513
+ padding-bottom: 0.45rem;
514
+ }
515
+
516
+ .badge,
517
+ .badge-success,
518
+ .badge-paid,
519
+ .badge-warning,
520
+ .badge-canceled,
521
+ .badge-failed,
522
+ .badge-refunded,
523
+ .badge-void,
524
+ .badge-pending,
525
+ .badge-ready,
526
+ .badge-partial,
527
+ .badge-active,
528
+ .badge-inactive {
529
+ margin-right: 0.25rem;
530
+ display: inline-block;
531
+ border-radius: var(--badge-border-radius);
532
+ padding-top: 0.125rem;
533
+ padding-bottom: 0.125rem;
534
+ padding-left: 0.5rem;
535
+ padding-right: 0.5rem;
536
+ font-size: 0.875rem;
537
+ line-height: 1.375rem;
538
+ font-weight: 400;
539
+ }
540
+
541
+ .badge:last-child,
542
+ .badge-success:last-child,
543
+ .badge-paid:last-child,
544
+ .badge-warning:last-child,
545
+ .badge-canceled:last-child,
546
+ .badge-failed:last-child,
547
+ .badge-refunded:last-child,
548
+ .badge-void:last-child,
549
+ .badge-pending:last-child,
550
+ .badge-ready:last-child,
551
+ .badge-partial:last-child {
552
+ margin-right: 0px;
553
+ }
554
+
555
+ .badge-success,
556
+ .badge-paid,
557
+ .badge-active {
558
+ background-color: #d9f7ea;
559
+ }
560
+
561
+ .badge-warning,
562
+ .badge-canceled,
563
+ .badge-failed {
564
+ background-color: #f8e7e5;
565
+ }
566
+
567
+ .badge,
568
+ .badge-refunded,
569
+ .badge-pending,
570
+ .badge-void,
571
+ .badge-ready,
572
+ .badge-inactive {
573
+ background-color: #f3f3f3;
574
+ }
575
+
576
+ .badge-partial {
577
+ background-color: rgb(186 230 253);
578
+ }
579
+
580
+ address {
581
+ font-style: normal;
582
+ }
583
+
584
+ button:focus {
585
+ outline: none;
586
+ }
587
+
588
+ .summary-folded .summary {
589
+ height: 0px !important;
590
+ }
591
+
592
+ .summary-folded .show-summary {
593
+ display: block;
594
+ }
595
+
596
+ .summary-folded .hide-summary {
597
+ display: none;
598
+ }
599
+
600
+ .chevron-summary::after {
601
+ content: url("data:image/svg+xml;utf8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' class='bi bi-chevron-right' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
602
+ color: var(--sidebar-divider);
603
+ transform: rotate(-90deg);
604
+ margin-left: 0.07rem;
605
+ }
606
+
607
+ .summary-folded .chevron-summary::after {
608
+ transform: rotate(90deg);
609
+ }
610
+
611
+ @media (min-width: 1024px) {
612
+ .summary-folded .summary {
613
+ pointer-events: auto;
614
+ height: 100% !important;
615
+ }
616
+ }
617
+
618
+ /* .address-form {
619
+ grid-template-columns: repeat(1, minmax(0, 1fr));
620
+ }
621
+
622
+ @media (min-width: 768px) {
623
+ .address-form {
624
+ grid-template-columns: repeat(3, minmax(0, 1fr));
625
+ }
626
+
627
+ .address-form.cols-2 {
628
+ grid-template-columns: repeat(2, minmax(0, 1fr));
629
+ }
630
+
631
+ .address-form.col-1 {
632
+ grid-template-columns: repeat(1, minmax(0, 1fr));
633
+ }
634
+ } */
635
+
636
+ .field_with_errors {
637
+ display: contents;
638
+ }
639
+
640
+ .turbo-progress-bar {
641
+ background-color: var(--primary);
642
+ }
643
+ .modal .turbo-frame-error {
644
+ display: flex;
645
+ width: 100%;
646
+ height: 100%;
647
+ align-items: center;
648
+ justify-content: center;
649
+ font-weight: normal;
650
+ }
651
+
652
+ .card-dialog {
653
+ margin-bottom: 1.25rem;
654
+ }
655
+
656
+ .border-default,
657
+ .border-sidebar {
658
+ border-color: var(--border-default-color);
659
+ }
660
+
661
+ .card-dialog {
662
+ border-radius: var(--border-default-radius);
663
+ box-shadow: var(--border-default-shadow);
664
+ }
665
+
666
+ .border-default.border-t {
667
+ border-width: 0;
668
+ border-radius: 0;
669
+ border-top-width: var(--border-default-width);
670
+ }
671
+
672
+ .border-default.border-b {
673
+ border-width: 0;
674
+ border-radius: 0;
675
+ border-bottom-width: var(--border-default-width);
676
+ }
677
+
678
+ .border-default.border-b.border-t {
679
+ border-width: 0;
680
+ border-radius: 0;
681
+ border-top-width: var(--border-default-width);
682
+ border-bottom-width: var(--border-default-width);
683
+ }
684
+
685
+ .border-default.border-b-0 {
686
+ border-bottom-width: 0;
687
+ }
688
+
689
+ .logo {
690
+ max-height: 60px;
691
+ }
692
+
693
+ .checkout-mobile-header .logo {
694
+ display: inline;
695
+ }
696
+
697
+ .product-image-container {
698
+ text-indent: 100%;
699
+ white-space: nowrap;
700
+ overflow: hidden;
701
+ }
702
+
703
+ .product-image-container img {
704
+ max-width: 100%;
705
+ max-height: 100%;
706
+ margin: auto;
707
+ position: relative;
708
+ left: 50%;
709
+ transform: translateX(-50%);
710
+ }
711
+
712
+ @media (max-width: 1024px) {
713
+ .line-items {
714
+ max-height: none !important;
715
+ }
716
+ }
717
+
718
+ .alert-notice {
719
+ background-color: var(--success);
720
+ }
721
+
722
+ .alert-error {
723
+ background-color: #f8e7e5;
724
+ }
725
+
726
+ .alert-success {
727
+ background-color: var(--success);
728
+ }
729
+
730
+ .alert-warning {
731
+ --tw-bg-opacity: 1;
732
+ background-color: rgb(254 249 195 / var(--tw-bg-opacity));
733
+ }
734
+
735
+ @media (min-width: 1024px) {
736
+ .background {
737
+ background: linear-gradient(
738
+ 90deg,
739
+ var(--background) 50%,
740
+ var(--accent) 50%
741
+ );
742
+ }
743
+ }
744
+
745
+ .quantity-picker {
746
+ display: inline-flex;
747
+ align-items: center;
748
+ gap: 8px;
749
+ border-radius: var(--input-border-radius);
750
+ --tw-bg-opacity: 1;
751
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity));
752
+ border: var(--border-default-width) solid var(--border-default-color);
753
+ }
754
+
755
+ .quantity-picker.border-t {
756
+ border-width: 0;
757
+ border-radius: 0;
758
+ border-top-width: var(--border-default-width);
759
+ }
760
+
761
+ .quantity-picker.border-b {
762
+ border-width: 0;
763
+ border-radius: 0;
764
+ border-bottom-width: var(--border-default-width);
765
+ }
766
+
767
+ .quantity-picker.border-b-0 {
768
+ border-bottom-width: 0;
769
+ }
770
+
771
+ .quantity-picker button:not(.hidden) {
772
+ cursor: pointer;
773
+ background-color: transparent;
774
+ display: inline-flex;
775
+ width: 36px;
776
+ height: 36px;
777
+ justify-content: center;
778
+ align-items: center;
779
+ border-radius: var(--input-border-radius);
780
+ }
781
+ .quantity-picker button svg {
782
+ width: 18px;
783
+ height: 18px;
784
+ }
785
+
786
+ .quantity-picker button:disabled {
787
+ cursor: not-allowed;
788
+ opacity: 0.5;
789
+ }
790
+
791
+ .quantity-picker input {
792
+ width: 1.5rem;
793
+ height: 100%;
794
+ border-width: 0px;
795
+ padding: 0px 0px;
796
+ text-align: center;
797
+ background-color: transparent;
798
+ -webkit-appearance: none;
799
+ -moz-appearance: none;
800
+ appearance: none;
801
+ margin: 0;
802
+ }
803
+
804
+ .quantity-picker input::-webkit-inner-spin-button,
805
+ .quantity-picker input::-webkit-outer-spin-button {
806
+ -webkit-appearance: none;
807
+ margin: 0;
808
+ }
809
+
810
+ .quantity-picker input:focus {
811
+ border-width: 0px;
812
+ outline: none;
813
+ border-color: transparent;
814
+ box-shadow: none;
815
+ }
816
+
817
+ .quantity-picker input[type="number"]::-webkit-inner-spin-button,
818
+ .quantity-picker input[type="number"]::-webkit-outer-spin-button {
819
+ -webkit-appearance: none;
820
+ margin: 0;
821
+ }
822
+
823
+ .quantity-picker input[type="number"] {
824
+ -moz-appearance: textfield;
825
+ }
826
+
827
+ .swiper-pagination-bullet {
828
+ border: 1px solid var(--primary);
829
+ background: none;
830
+ opacity: 1;
831
+ margin: 0px 0.375rem !important;
832
+ width: 10px;
833
+ height: 10px;
834
+ }
835
+
836
+ input.without-arrows[type="number"]::-webkit-outer-spin-button,
837
+ input.without-arrows[type="number"]::-webkit-inner-spin-button {
838
+ -webkit-appearance: none;
839
+ margin: 0;
840
+ }
841
+
842
+ input.without-arrows[type="number"] {
843
+ -moz-appearance: textfield;
844
+ }
845
+
846
+ .swiper-pagination-bullet-active {
847
+ background: var(--primary) !important;
848
+ }
849
+
850
+ .swiper-pagination-current {
851
+ color: var(--text);
852
+ }
853
+
854
+ .swiper-pagination-lock {
855
+ display: none;
856
+ }
857
+
858
+ .swiper-notification {
859
+ display: none;
860
+ }
861
+
862
+ .pswp {
863
+ --pswp-bg: var(--accent) !important;
864
+ --pswp-placeholder-bg: var(--accent) !important;
865
+ }
866
+
867
+ .pswp__button--close {
868
+ margin: 0;
869
+ width: 4rem;
870
+ height: 4rem;
871
+ background: var(--background);
872
+ opacity: 1;
873
+ display: flex;
874
+ justify-content: center;
875
+ align-items: center;
876
+ }
877
+ .pswp__button--close:hover {
878
+ background: var(--background);
879
+ }
880
+
881
+ .pswp__button--close .pswp__icn {
882
+ position: static;
883
+ width: 1.5rem;
884
+ height: 1.5rem;
885
+ }
886
+
887
+ .pswp__button--arrow .pswp__icn {
888
+ width: 2rem;
889
+ height: 2rem;
890
+ top: 0;
891
+ margin: 0;
892
+ left: 0;
893
+ }
894
+
895
+ .pswp__button--arrow--next .pswp__icn {
896
+ transform: rotate(0deg) !important;
897
+ }
898
+
899
+ .pswp__button--arrow {
900
+ width: 2rem;
901
+ height: 2rem;
902
+ bottom: 2rem;
903
+ top: auto;
904
+ visibility: visible !important;
905
+ }
906
+
907
+ .pswp__button--arrow--prev {
908
+ left: 1rem;
909
+ }
910
+
911
+ .pswp__button--arrow--next {
912
+ right: 1rem;
913
+ }
914
+
915
+ .pswp__button--zoom {
916
+ display: none !important;
917
+ }
918
+
919
+ .pswp__counter {
920
+ display: none;
921
+ }
922
+
923
+ .pswp__bullets-indicator {
924
+ display: flex;
925
+ flex-direction: row;
926
+ align-items: center;
927
+ bottom: 2rem;
928
+ height: 2rem;
929
+ position: absolute;
930
+ left: 50%;
931
+ transform: translate(-50%, 0);
932
+ }
933
+
934
+ .pswp__bullet {
935
+ width: 0.5rem;
936
+ height: 0.5rem;
937
+ padding: 0.25rem;
938
+ margin: 0 0.25rem;
939
+ border-radius: 50%;
940
+ border: 1px solid var(--primary);
941
+ }
942
+
943
+ .pswp__bullet--active {
944
+ background: var(--primary);
945
+ }
946
+ .pswp__pagination {
947
+ display: none;
948
+ }
949
+
950
+ @media (min-width: 1024px) {
951
+ .pswp__button--close {
952
+ margin-right: 3.75rem;
953
+ margin-top: 3.75rem;
954
+ }
955
+ .pswp__button--arrow {
956
+ top: 50%;
957
+ }
958
+ .pswp__button--arrow--prev {
959
+ left: 3.75rem;
960
+ }
961
+ .pswp__button--arrow--next {
962
+ right: 3.75rem;
963
+ }
964
+ .pswp__bullets-indicator {
965
+ display: none;
966
+ }
967
+ .pswp__pagination {
968
+ display: block;
969
+ position: absolute;
970
+ top: 5rem;
971
+ left: 3.75rem;
972
+ font-size: 1.5rem;
973
+ line-height: 2rem;
974
+ font-weight: 400;
975
+ color: var(--neutral);
976
+ }
977
+ .pswp__pagination--current {
978
+ color: var(--text);
979
+ }
980
+ }
981
+
982
+ #pinch-to-zoom {
983
+ left: 50%;
984
+ z-index: 100001;
985
+ top: 50%;
986
+ transform: translate(-50%, -50%);
987
+ pointer-events: none;
988
+ display: none;
989
+ }
990
+
991
+ .product-image :hover .zoom-icon {
992
+ display: block;
993
+ }
994
+
995
+ .flyout-menu:hover .flyout-button button {
996
+ border-color: var(--primary);
997
+ color: var(--primary);
998
+ }
999
+
1000
+ .flyout-menu:hover .flyout-menu-container {
1001
+ display: block;
1002
+ z-index: 9999;
1003
+ }
1004
+
1005
+ .product-description p {
1006
+ margin-bottom: 1rem;
1007
+ }
1008
+
1009
+ .swipe-slide {
1010
+ -webkit-backface-visibility: hidden;
1011
+ -webkit-transform: translate3d(0, 0, 0);
1012
+ }
1013
+
1014
+ .swiper-wrapper {
1015
+ -webkit-transform-style: preserve-3d;
1016
+ }
1017
+
1018
+ .word-break {
1019
+ word-break: break-word;
1020
+ }
1021
+
1022
+ .tailwind-container {
1023
+ width: 100%;
1024
+ }
1025
+
1026
+ @media (min-width: 640px) {
1027
+ .tailwind-container {
1028
+ max-width: 640px;
1029
+ }
1030
+ }
1031
+
1032
+ @media (min-width: 768px) {
1033
+ .tailwind-container {
1034
+ max-width: 768px;
1035
+ }
1036
+ }
1037
+
1038
+ @media (min-width: 1024px) {
1039
+ .tailwind-container {
1040
+ max-width: 1024px;
1041
+ }
1042
+ }
1043
+
1044
+ @media (min-width: 1280px) {
1045
+ .tailwind-container {
1046
+ max-width: 1280px;
1047
+ }
1048
+ }
1049
+
1050
+ @media (min-width: 1536px) {
1051
+ .tailwind-container {
1052
+ max-width: 1536px;
1053
+ }
1054
+ }
1055
+
1056
+ .hamburger-visible,
1057
+ .search-visible {
1058
+ opacity: 1;
1059
+ pointer-events: auto;
1060
+ }
1061
+
1062
+ .hamburger-visible .body {
1063
+ transform: translateX(0);
1064
+ }
1065
+
1066
+ .menu-open div:first-of-type {
1067
+ opacity: 0;
1068
+ }
1069
+
1070
+ .menu-open div:last-of-type {
1071
+ opacity: 1;
1072
+ }
1073
+
1074
+ html[aria-busy="true"] .hide-on-load {
1075
+ pointer-events: none;
1076
+ opacity: 0;
1077
+ }
1078
+
1079
+ .label {
1080
+ position: absolute;
1081
+ width: fit-content;
1082
+ height: fit-content;
1083
+ overflow-wrap: anywhere;
1084
+ }
1085
+
1086
+ @media (max-width: 768px) {
1087
+ *[width-desktop="true"] {
1088
+ width: 100% !important;
1089
+ }
1090
+ }
1091
+
1092
+ @media (min-width: 1024px) {
1093
+ .flex-centered {
1094
+ position: absolute;
1095
+ flex: 0 1 auto;
1096
+ left: 50%;
1097
+ transform: translateX(-50%);
1098
+ }
1099
+ }
1100
+
1101
+ /* kanety/stimulus-accordion */
1102
+
1103
+ .st-accordion .st-accordion__icon svg {
1104
+ transition: transform 0.2s;
1105
+ }
1106
+
1107
+ .st-accordion .st-accordion__icon--opened svg {
1108
+ transform: rotate(-180deg);
1109
+ }
1110
+
1111
+ .st-accordion .st-accordion__content:not(.st-accordion__content--visible) {
1112
+ height: 0;
1113
+ opacity: 0;
1114
+ overflow: hidden;
1115
+ transition: all 0.2s;
1116
+ visibility: hidden;
1117
+ padding: 0;
1118
+ }
1119
+
1120
+ .st-accordion .st-accordion__content.st-accordion__content--visible {
1121
+ opacity: 1;
1122
+ transition: all 0.2s;
1123
+ visibility: visible;
1124
+ }
1125
+
1126
+ .st-accordion button {
1127
+ width: 100%;
1128
+ text-align: left;
1129
+ }
1130
+
1131
+ .fixed-pdp-button {
1132
+ transition: all 0.2s ease;
1133
+ }
1134
+
1135
+ @media (min-width: 1024px) {
1136
+ .fixed-pdp-button {
1137
+ display: none !important;
1138
+ }
1139
+ }
1140
+
1141
+ .sidebar-pane {
1142
+ max-width: 420px;
1143
+ }
1144
+
1145
+ #slideover-cart .line-item-total-amount {
1146
+ display: none;
1147
+ }
1148
+
1149
+ #slideover-cart #cart_contents {
1150
+ display: flex;
1151
+ flex-direction: column;
1152
+ height: 100%;
1153
+ }
1154
+ #slideover-cart #line-items {
1155
+ flex-grow: 1;
1156
+ overflow: auto;
1157
+ }
1158
+ #slideover-cart .cart-line-item {
1159
+ }
1160
+ .cart-line-item .delete svg {
1161
+ width: 1rem !important;
1162
+ height: 1rem !important;
1163
+ }
1164
+ #slideover-cart .cart-summary-container {
1165
+ background-color: var(--accent);
1166
+ }
1167
+ #slideover-cart .cart-summary-container * {
1168
+ text-align: left !important;
1169
+ }
1170
+ #slideover-cart .shopping-cart-total-text {
1171
+ display: flex;
1172
+ justify-content: space-between;
1173
+ }
1174
+ #slideover-cart .btn-primary {
1175
+ width: 100%;
1176
+ margin-top: 1rem;
1177
+ text-align: center !important;
1178
+ margin-bottom: 0;
1179
+ }
1180
+ #slideover-cart turbo-frame[busy] {
1181
+ opacity: 0.5;
1182
+ cursor: wait;
1183
+ }
1184
+ .line-item-overlay {
1185
+ display: none;
1186
+ position: absolute;
1187
+ top: 0;
1188
+ left: 0;
1189
+ width: 100%;
1190
+ height: 100%;
1191
+ }
1192
+ #slideover-cart turbo-frame[busy] .line-item-overlay {
1193
+ display: block;
1194
+ }
1195
+
1196
+ .headroom--unpinned:not(.headroom--frozen) {
1197
+ pointer-events: none;
1198
+ }
1199
+
1200
+ .headroom--unpinned:not([data-toggle-menu-open-value="true"]):not(
1201
+ [data-slideover-open-value="true"]
1202
+ )
1203
+ nav {
1204
+ transform: translateY(-100%);
1205
+ }
1206
+ /*#region noUiSlider functional */
1207
+ .noUi-target,
1208
+ .noUi-target * {
1209
+ -webkit-touch-callout: none;
1210
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
1211
+ -webkit-user-select: none;
1212
+ -ms-touch-action: none;
1213
+ touch-action: none;
1214
+ -ms-user-select: none;
1215
+ -moz-user-select: none;
1216
+ user-select: none;
1217
+ -moz-box-sizing: border-box;
1218
+ box-sizing: border-box;
1219
+ }
1220
+ .noUi-target {
1221
+ position: relative;
1222
+ }
1223
+ .noUi-base,
1224
+ .noUi-connects {
1225
+ width: 100%;
1226
+ height: 100%;
1227
+ position: relative;
1228
+ z-index: 1;
1229
+ }
1230
+ .noUi-connects {
1231
+ overflow: hidden;
1232
+ z-index: 0;
1233
+ }
1234
+ .noUi-connect,
1235
+ .noUi-origin {
1236
+ will-change: transform;
1237
+ position: absolute;
1238
+ z-index: 1;
1239
+ top: 0;
1240
+ right: 0;
1241
+ height: 100%;
1242
+ width: 100%;
1243
+ -ms-transform-origin: 0 0;
1244
+ -webkit-transform-origin: 0 0;
1245
+ -webkit-transform-style: preserve-3d;
1246
+ transform-origin: 0 0;
1247
+ transform-style: flat;
1248
+ }
1249
+ .noUi-txt-dir-rtl.noUi-horizontal .noUi-origin {
1250
+ left: 0;
1251
+ right: auto;
1252
+ }
1253
+ .noUi-vertical .noUi-origin {
1254
+ top: -100%;
1255
+ width: 0;
1256
+ }
1257
+ .noUi-horizontal .noUi-origin {
1258
+ height: 0;
1259
+ }
1260
+ .noUi-handle {
1261
+ -webkit-backface-visibility: hidden;
1262
+ backface-visibility: hidden;
1263
+ position: absolute;
1264
+ }
1265
+ .noUi-touch-area {
1266
+ height: 100%;
1267
+ width: 100%;
1268
+ }
1269
+ .noUi-state-tap .noUi-connect,
1270
+ .noUi-state-tap .noUi-origin {
1271
+ -webkit-transition: transform 0.3s;
1272
+ transition: transform 0.3s;
1273
+ }
1274
+ .noUi-state-drag * {
1275
+ cursor: inherit !important;
1276
+ }
1277
+ .noUi-horizontal {
1278
+ height: 18px;
1279
+ }
1280
+ .noUi-vertical {
1281
+ width: 18px;
1282
+ }
1283
+ .noUi-txt-dir-rtl.noUi-horizontal .noUi-handle {
1284
+ left: -17px;
1285
+ right: auto;
1286
+ }
1287
+ /*#endregion*/
1288
+
1289
+ .noUi-target {
1290
+ background: var(--border-default-color);
1291
+ height: 2px;
1292
+ width: calc(100% - 24px);
1293
+ margin-left: 12px;
1294
+ }
1295
+ .noUi-connect {
1296
+ background: var(--primary);
1297
+ height: 2px;
1298
+ }
1299
+ .noUi-handle {
1300
+ border: 3px solid #fff;
1301
+ width: 24px;
1302
+ height: 24px;
1303
+ right: -12px;
1304
+ top: -12px;
1305
+ border-radius: 50%;
1306
+ background: var(--primary);
1307
+ cursor: pointer;
1308
+ }
1309
+
1310
+ .input-checkbox {
1311
+ width: 1.5rem;
1312
+ height: 1.5rem;
1313
+ cursor: pointer;
1314
+ border-color: var(--border-default-color);
1315
+ background-color: transparent;
1316
+ color: transparent;
1317
+ }
1318
+
1319
+ .input-checkbox:checked {
1320
+ background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
1321
+ border-color: var(--primary);
1322
+ }
1323
+ .input-checkbox:hover {
1324
+ border-color: var(--primary);
1325
+ }
1326
+ .input-checkbox:checked:hover {
1327
+ border-color: var(--primary);
1328
+ }
1329
+ .input-checkbox:focus,
1330
+ .input-checkbox:checked:focus {
1331
+ outline-color: var(--primary);
1332
+ outline: none;
1333
+ box-shadow: none;
1334
+ }
1335
+
1336
+ #search-suggestions {
1337
+ z-index: 50;
1338
+ width: 100%;
1339
+ background-color: var(--background);
1340
+ top: 0;
1341
+ left: 0;
1342
+ display: none;
1343
+ position: absolute;
1344
+ }
1345
+ #search-suggestions::before {
1346
+ content: "";
1347
+ position: fixed;
1348
+ top: 0;
1349
+ left: 0;
1350
+ height: 100%;
1351
+ width: 100%;
1352
+ background-color: var(--background);
1353
+ opacity: 0.75;
1354
+ z-index: -1;
1355
+ animation: fadeInTo75 0.5s ease-in-out;
1356
+ }
1357
+
1358
+ @keyframes fadeInTo75 {
1359
+ 0% {
1360
+ opacity: 0;
1361
+ }
1362
+ 100% {
1363
+ opacity: 0.75;
1364
+ }
1365
+ }
1366
+
1367
+ .no-scrollbar::-webkit-scrollbar {
1368
+ display: none;
1369
+ }
1370
+
1371
+ .no-scrollbar {
1372
+ -ms-overflow-style: none;
1373
+ scrollbar-width: none;
1374
+ }
1375
+ @media (min-width: 768px) {
1376
+ .custom-desktop-height {
1377
+ height: var(--desktop-height);
1378
+ }
1379
+ }
1380
+ @media (max-width: 768px) {
1381
+ .custom-mobile-height {
1382
+ height: var(--mobile-height);
1383
+ }
1384
+ }
1385
+
1386
+ .rounded-input {
1387
+ border-radius: var(--input-border-radius);
1388
+ }
1389
+
1390
+ .rounded-button {
1391
+ border-radius: var(--button-border-radius);
1392
+ }
1393
+
1394
+ .modal {
1395
+ position: fixed;
1396
+ overflow-y: auto;
1397
+ inset: 0px;
1398
+ align-items: center;
1399
+ justify-content: center;
1400
+ z-index: 9999;
1401
+ /* https://stackoverflow.com/questions/32082121/why-is-fixed-position-elements-being-cut-off-on-full-screen-iphone-experience-wh */
1402
+ -webkit-transform: translate3d(0, 0, 0);
1403
+ -moz-transform: translate3d(0, 0, 0);
1404
+ -ms-transform: translate3d(0, 0, 0);
1405
+ transform: translate3d(0, 0, 0);
1406
+ }
1407
+
1408
+ .modal .page-container,
1409
+ .modal .main-product-container {
1410
+ padding: 0 !important;
1411
+ margin: 0 !important;
1412
+ border: 0 none !important;
1413
+ }
1414
+
1415
+ .product-modal #breadcrumbs {
1416
+ display: none;
1417
+ }
1418
+
1419
+ .product-modal .add-to-wishlist {
1420
+ display: none;
1421
+ }
1422
+
1423
+ .media-gallery-desktop .swiper-slide-thumb-active {
1424
+ position: relative;
1425
+ }
1426
+ .media-gallery-desktop .swiper-slide-thumb-active::after {
1427
+ position: absolute;
1428
+ width: 100%;
1429
+ height: 100%;
1430
+ border: 1px solid black;
1431
+ display: block;
1432
+ left: 0px;
1433
+ top: 0px;
1434
+ content: "";
1435
+ }
1436
+
1437
+ .media-gallery-desktop .swiper-button-lock {
1438
+ display: none;
1439
+ }
1440
+ .media-gallery-desktop {
1441
+ container-name: media-gallery-desktop;
1442
+ container-type: inline-size;
1443
+ }
1444
+ @supports (container-type: inline-size) {
1445
+ .media-gallery-desktop {
1446
+ --arrows-display: none;
1447
+ }
1448
+ }
1449
+ @container media-gallery-desktop (max-width: calc(108px * 6 + 104px + 0.5rem)) {
1450
+ .media-gallery-desktop:has(.swiper-slide:nth-child(6))
1451
+ > .media-gallery-desktop__wrapper {
1452
+ --arrows-display: flex;
1453
+ }
1454
+ }
1455
+ @container media-gallery-desktop (max-width: calc(108px * 5 + 104px + 0.5rem)) {
1456
+ .media-gallery-desktop:has(.swiper-slide:nth-child(5))
1457
+ > .media-gallery-desktop__wrapper {
1458
+ --arrows-display: flex;
1459
+ }
1460
+ }
1461
+ @container media-gallery-desktop (max-width: calc(108px * 4 + 104px + 0.5rem)) {
1462
+ .media-gallery-desktop:has(.swiper-slide:nth-child(4))
1463
+ > .media-gallery-desktop__wrapper {
1464
+ --arrows-display: flex;
1465
+ }
1466
+ }
1467
+ @container media-gallery-desktop (max-width: calc(108px * 3 + 104px + 0.5rem)) {
1468
+ .media-gallery-desktop:has(.swiper-slide:nth-child(3))
1469
+ > .media-gallery-desktop__wrapper {
1470
+ --arrows-display: flex;
1471
+ }
1472
+ }
1473
+ @container media-gallery-desktop (max-width: calc(108px * 2 + 104px + 0.5rem)) {
1474
+ .media-gallery-desktop:has(.swiper-slide:nth-child(2))
1475
+ > .media-gallery-desktop__wrapper {
1476
+ --arrows-display: flex;
1477
+ }
1478
+ }
1479
+
1480
+ .media-gallery-desktop-arrow {
1481
+ display: var(--arrows-display, flex);
1482
+ }
1483
+
1484
+ #floating-cart-icon {
1485
+ bottom: 1rem;
1486
+ right: 1rem;
1487
+ z-index: 9998;
1488
+ }
1489
+
1490
+ .custom-height {
1491
+ height: var(--mobile-height, var(--height));
1492
+ }
1493
+ @media (min-width: 501px) {
1494
+ .custom-height {
1495
+ height: var(--desktop-height, var(--height));
1496
+ }
1497
+ }
1498
+ @media (min-width: 768px) {
1499
+ .desktop-max-width {
1500
+ max-width: var(--desktop-max-width);
1501
+ }
1502
+ }
1503
+
1504
+ .checkout-container {
1505
+ --main-container-width: 650px;
1506
+ --summary-container-width: 455px;
1507
+ grid-template-rows: min-content auto;
1508
+ grid-template-columns: 1fr;
1509
+ grid-template-areas:
1510
+ "summary"
1511
+ "main";
1512
+ }
1513
+
1514
+ @media (min-width: 768px) {
1515
+ .checkout-container {
1516
+ grid-template-rows: 1fr;
1517
+ grid-template-columns:
1518
+ minmax(0, 1fr)
1519
+ minmax(0, var(--main-container-width))
1520
+ minmax(0, var(--summary-container-width))
1521
+ minmax(0, 1fr);
1522
+ grid-template-areas: "main main summary summary";
1523
+ }
1524
+ }
1525
+
1526
+ #checkout-main #flashes {
1527
+ --flashes-container-width: var(--main-container-width) +
1528
+ var(--summary-container-width);
1529
+ grid-template-columns:
1530
+ minmax(0, 1fr)
1531
+ minmax(0, calc(var(--flashes-container-width)))
1532
+ minmax(0, 1fr);
1533
+ grid-template-areas: ". flash .";
1534
+ display: grid;
1535
+ left: 0;
1536
+ }
1537
+
1538
+ #checkout-main #flashes > div {
1539
+ grid-area: flash;
1540
+ }
1541
+
1542
+ #checkout-main {
1543
+ background: var(--background);
1544
+ grid-area: main;
1545
+ }
1546
+
1547
+ #checkout-summary {
1548
+ background: var(--accent);
1549
+ grid-area: summary;
1550
+ }
1551
+
1552
+ #checkout-main > .checkout-main-container,
1553
+ #checkout-footer {
1554
+ max-width: var(--main-container-width);
1555
+ width: 100%;
1556
+ inline-size: 100%;
1557
+ padding: 0px 21px;
1558
+ }
1559
+ #checkout-footer {
1560
+ padding: 16px 21px;
1561
+ padding-top: 0;
1562
+ }
1563
+ #checkout-summary > .checkout-summary-container {
1564
+ max-width: var(--summary-container-width);
1565
+ width: 100%;
1566
+ inline-size: 100%;
1567
+ padding: 21px;
1568
+ }
1569
+
1570
+ @media (min-width: 768px) {
1571
+ #checkout-main > .checkout-main-container {
1572
+ padding: 42px;
1573
+ flex-grow: 1;
1574
+ }
1575
+ #checkout-footer {
1576
+ padding: 16px 42px;
1577
+ padding-top: 0;
1578
+ }
1579
+ #checkout-summary > .checkout-summary-container {
1580
+ padding: 42px;
1581
+ position: sticky;
1582
+ top: 0;
1583
+ }
1584
+ }
1585
+
1586
+ .size-chart-table table {
1587
+ width: 100%;
1588
+ border-collapse: collapse;
1589
+ border-spacing: 0;
1590
+ }
1591
+ .size-chart-table tr th {
1592
+ border: 1px solid var(--border-default-color);
1593
+ padding: 0.25rem;
1594
+ text-align: center;
1595
+ font-weight: 600;
1596
+ }
1597
+ .size-chart-table tr td {
1598
+ border: 1px solid var(--border-default-color);
1599
+ padding: 0.25rem;
1600
+ text-align: center;
1601
+ }
1602
+
1603
+ .dropdown-button:focus svg {
1604
+ rotate: 180deg;
1605
+ transition: 200ms;
1606
+ }
1607
+
1608
+ /* PDP properties */
1609
+ .product-property {
1610
+ ul {
1611
+ list-style: disc;
1612
+ padding-left: 2rem;
1613
+ }
1614
+
1615
+ ol {
1616
+ list-style: decimal;
1617
+ padding-left: 2rem;
1618
+ }
1619
+
1620
+ h1,
1621
+ h2,
1622
+ h3,
1623
+ h4,
1624
+ h5,
1625
+ h6 {
1626
+ font-size: 1.5rem;
1627
+ line-height: 2rem;
1628
+ }
1629
+
1630
+ a {
1631
+ font-weight: 600;
1632
+ line-height: 1.375;
1633
+ letter-spacing: 0.07rem;
1634
+ color: var(--text);
1635
+ border-bottom: 1px solid transparent;
1636
+
1637
+ &:hover {
1638
+ border-bottom-color: var(--text);
1639
+ }
1640
+
1641
+ &:focus-visible {
1642
+ outline-offset: 0.25rem;
1643
+ padding: 0 0.25rem;
1644
+ border-radius: 0.25rem;
1645
+ }
1646
+ }
1647
+ }
1648
+ .product-description-truncated {
1649
+ overflow: hidden;
1650
+ display: -webkit-box;
1651
+ -webkit-box-orient: vertical;
1652
+ -webkit-line-clamp: var(--read-more-line-clamp, 3);
1653
+ }
1654
+ .header--nav-item .menu-item:focus:not(.header--mega-nav-container *) {
1655
+ outline: none;
1656
+ padding-left: 1rem;
1657
+ padding-right: 1rem;
1658
+ margin-left: 0rem;
1659
+ margin-right: 0rem;
1660
+ }
1661
+
1662
+ .post-details-content {
1663
+ h1,
1664
+ h2,
1665
+ h3,
1666
+ h4,
1667
+ h5,
1668
+ h6 {
1669
+ @apply text-xl font-medium my-4;
1670
+ }
1671
+
1672
+ li {
1673
+ b,
1674
+ strong {
1675
+ @apply font-semibold;
1676
+ }
1677
+ }
1678
+
1679
+ pre {
1680
+ @apply mb-4;
1681
+ }
1682
+
1683
+ p {
1684
+ @apply my-4;
1685
+ }
1686
+
1687
+ p:first-child {
1688
+ margin-top: 0;
1689
+ }
1690
+
1691
+ img {
1692
+ width: 100%;
1693
+ }
1694
+
1695
+ hr {
1696
+ @apply mt-4 mb-6;
1697
+ }
1698
+
1699
+ .attachment {
1700
+ @apply my-6;
1701
+ }
1702
+
1703
+ .attachment__caption {
1704
+ @apply text-center text-neutral-600 italic;
1705
+ }
1706
+ }
1707
+
1708
+ .prose:not(:has(h1)) {
1709
+ h2:first-of-type {
1710
+ margin-top: 0;
1711
+ }
1712
+ }
1713
+
1714
+ .pagination {
1715
+ .pagination-link {
1716
+ border: 1.5px solid transparent;
1717
+ }
1718
+
1719
+ .pagination-link:hover {
1720
+ border-bottom: 1.5px solid var(--accent);
1721
+ }
1722
+
1723
+ .pagination-link:active,
1724
+ .pagination-link--active {
1725
+ border-bottom: 1.5px solid var(--text);
1726
+ }
1727
+
1728
+ .pagination-link--disabled {
1729
+ color: var(--neutral);
1730
+ pointer-events: none;
1731
+ }
1732
+ }
1733
+
1734
+ label:has(.input-address-default:disabled) {
1735
+ color: var(--neutral);
1736
+ }
1737
+
1738
+ .input-address-default:disabled {
1739
+ @apply cursor-not-allowed;
1740
+
1741
+ border-color: var(--neutral);
1742
+ background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='#999999' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
1743
+
1744
+ &:hover {
1745
+ border-color: var(--neutral);
1746
+ }
1747
+ }
1748
+
1749
+ body:has(.currency-and-locale-modal:not(.hidden)) .page-contents {
1750
+ position: relative;
1751
+ z-index: 1;
1752
+ }
1753
+
1754
+ .video-embed-container {
1755
+ iframe {
1756
+ width: 100%;
1757
+ height: auto;
1758
+ aspect-ratio: 1.77;
1759
+ }
1760
+ }