create-tanqory-theme 0.0.0-stage → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +55 -2
- package/bin/create-tanqory-theme.mjs +13 -0
- package/lib/agents.mjs +118 -0
- package/lib/create.mjs +245 -0
- package/package.json +39 -4
- package/templates/blank/README.md +13 -0
- package/templates/blank/config/settings.json +3 -0
- package/templates/blank/locales/en.json +22 -0
- package/templates/blank/locales/th.json +22 -0
- package/templates/blank/package.json +34 -0
- package/templates/blank/regions/footer.json +35 -0
- package/templates/blank/regions/header.json +13 -0
- package/templates/blank/scripts/build.mjs +193 -0
- package/templates/blank/scripts/probe.ts +4 -0
- package/templates/blank/src/bundle.ts +15 -0
- package/templates/blank/src/components/parts.tsx +32 -0
- package/templates/blank/src/entry.client.tsx +6 -0
- package/templates/blank/src/entry.server.tsx +13 -0
- package/templates/blank/src/sections/chrome.tsx +132 -0
- package/templates/blank/src/sections/commerce.tsx +242 -0
- package/templates/blank/src/sections/content.tsx +111 -0
- package/templates/blank/src/sections/editorial.tsx +107 -0
- package/templates/blank/src/settings.ts +15 -0
- package/templates/blank/src/styles/theme.css +195 -0
- package/templates/blank/src/templates.ts +14 -0
- package/templates/blank/src/theme.tsx +76 -0
- package/templates/blank/template.json +24 -0
- package/templates/blank/templates/404.json +14 -0
- package/templates/blank/templates/account.json +14 -0
- package/templates/blank/templates/article.json +14 -0
- package/templates/blank/templates/blog.json +14 -0
- package/templates/blank/templates/cart.json +14 -0
- package/templates/blank/templates/collection.json +14 -0
- package/templates/blank/templates/index.json +36 -0
- package/templates/blank/templates/page.contact.json +18 -0
- package/templates/blank/templates/page.json +14 -0
- package/templates/blank/templates/product.json +18 -0
- package/templates/blank/templates/search.json +14 -0
- package/templates/blank/tests/theme.test.ts +49 -0
- package/templates/blank/tsconfig.json +17 -0
- package/templates/blank/vite.client.config.ts +17 -0
- package/templates/blank/vite.probe.config.ts +16 -0
- package/templates/blank/vite.server.config.ts +32 -0
- package/templates/blank/vitest.config.ts +9 -0
- package/templates/common/.claude/settings.json +8 -0
- package/templates/common/.codex/config.toml +4 -0
- package/templates/common/.gemini/settings.json +12 -0
- package/templates/common/.github/workflows/theme-check.yml +44 -0
- package/templates/common/.mcp.json +12 -0
- package/templates/common/.vscode/mcp.json +9 -0
- package/templates/common/_gitignore +9 -0
- package/templates/common/scripts/check.mjs +44 -0
- package/templates/common/scripts/dev.mjs +30 -0
- package/templates/common/tanqory.config.json +6 -0
- package/templates/nova/.gitattributes +3 -0
- package/templates/nova/.tanqory/contracts/LOCK.json +66 -0
- package/templates/nova/.tanqory/contracts/nova-01.json +1092 -0
- package/templates/nova/.tanqory/contracts/nova-12A.json +2674 -0
- package/templates/nova/.tanqory/contracts/nova-12B.json +2285 -0
- package/templates/nova/.tanqory/contracts/nova-12C.json +2848 -0
- package/templates/nova/.tanqory/contracts/nova-12D.json +3039 -0
- package/templates/nova/.tanqory/contracts/nova-12E.json +1473 -0
- package/templates/nova/.tanqory/contracts/nova-12F.json +1670 -0
- package/templates/nova/.tanqory/contracts/nova-12G.json +1661 -0
- package/templates/nova/.tanqory/contracts/nova-13.json +301 -0
- package/templates/nova/.tanqory/contracts/nova-14.json +172 -0
- package/templates/nova/.tanqory/legacy-settings.json +1121 -0
- package/templates/nova/README.md +150 -0
- package/templates/nova/_gitignore +28 -0
- package/templates/nova/assets/ai-tokens.css +6 -0
- package/templates/nova/assets/starter/starter-art-1200x800-0b773ac4.svg +1 -0
- package/templates/nova/assets/starter/starter-art-1200x900-59600290.svg +1 -0
- package/templates/nova/assets/starter/starter-art-1200x900-c549d496.svg +1 -0
- package/templates/nova/assets/starter/starter-art-1600x900-8f979fcb.svg +1 -0
- package/templates/nova/assets/starter/starter-art-2100x900-cbb71bfd.svg +1 -0
- package/templates/nova/config/legacy-settings.json +438 -0
- package/templates/nova/config/promotion-popup.schema.ts +29 -0
- package/templates/nova/config/settings.json +23 -0
- package/templates/nova/config/settings.schema.ts +231 -0
- package/templates/nova/entry.abi.tsx +27 -0
- package/templates/nova/groups/footer.json +39 -0
- package/templates/nova/groups/header.json +11 -0
- package/templates/nova/lib/abi/abi.css +41 -0
- package/templates/nova/lib/bundle-core.ts +35 -0
- package/templates/nova/lib/bundle.client.ts +15 -0
- package/templates/nova/lib/bundle.ts +15 -0
- package/templates/nova/lib/legacy-settings.ts +104 -0
- package/templates/nova/locales/ar.json +590 -0
- package/templates/nova/locales/en.json +590 -0
- package/templates/nova/locales/th.json +590 -0
- package/templates/nova/main.abi.tsx +12 -0
- package/templates/nova/package.json +44 -0
- package/templates/nova/scripts/abi/build.mjs +145 -0
- package/templates/nova/scripts/abi/check-content.mjs +99 -0
- package/templates/nova/scripts/abi/jcs.mjs +27 -0
- package/templates/nova/scripts/abi/local-host.mjs +294 -0
- package/templates/nova/scripts/abi/manifest.mjs +392 -0
- package/templates/nova/scripts/abi/starter-assets.mjs +32 -0
- package/templates/nova/scripts/compiler/checks/check-a11y.mjs +88 -0
- package/templates/nova/scripts/compiler/checks/check-layout-sanity.mjs +169 -0
- package/templates/nova/scripts/compiler/checks/check-page-headings.mjs +67 -0
- package/templates/nova/scripts/compiler/checks/check-product-jsonld.mjs +80 -0
- package/templates/nova/scripts/compiler/checks/theme-spec/check.mjs +88 -0
- package/templates/nova/scripts/compiler/contracts/extract.mjs +188 -0
- package/templates/nova/scripts/compiler/contracts/index.ts +125 -0
- package/templates/nova/scripts/compiler/contracts/validate.ts +347 -0
- package/templates/nova/scripts/compiler/manifest/gen-manifest.mjs +156 -0
- package/templates/nova/scripts/compiler/manifest/manifest-entry.ts +386 -0
- package/templates/nova/scripts/compiler/manifest/manifest-sections.ts +247 -0
- package/templates/nova/scripts/compiler/migrate/migrate-content.mjs +171 -0
- package/templates/nova/scripts/compiler/migrate/migrate-groups.mjs +159 -0
- package/templates/nova/scripts/parity/case-shim.ts +14 -0
- package/templates/nova/scripts/parity/emit.ts +206 -0
- package/templates/nova/scripts/parity/index.html +12 -0
- package/templates/nova/scripts/parity/main.tsx +23 -0
- package/templates/nova/scripts/parity/pages.tsx +123 -0
- package/templates/nova/scripts/parity/vite.config.ts +29 -0
- package/templates/nova/src/components/base/Accordion.css +20 -0
- package/templates/nova/src/components/base/Accordion.tsx +50 -0
- package/templates/nova/src/components/base/Badge.css +17 -0
- package/templates/nova/src/components/base/Badge.tsx +26 -0
- package/templates/nova/src/components/base/Button.css +73 -0
- package/templates/nova/src/components/base/Button.tsx +64 -0
- package/templates/nova/src/components/base/Checkbox.tsx +18 -0
- package/templates/nova/src/components/base/Chip.css +20 -0
- package/templates/nova/src/components/base/Chip.tsx +33 -0
- package/templates/nova/src/components/base/Divider.css +6 -0
- package/templates/nova/src/components/base/Divider.tsx +28 -0
- package/templates/nova/src/components/base/IconButton.css +34 -0
- package/templates/nova/src/components/base/IconButton.tsx +41 -0
- package/templates/nova/src/components/base/Input.css +21 -0
- package/templates/nova/src/components/base/Input.tsx +24 -0
- package/templates/nova/src/components/base/Link.css +15 -0
- package/templates/nova/src/components/base/Link.tsx +23 -0
- package/templates/nova/src/components/base/Radio.tsx +13 -0
- package/templates/nova/src/components/base/Select.css +18 -0
- package/templates/nova/src/components/base/Select.tsx +34 -0
- package/templates/nova/src/components/base/Skeleton.css +17 -0
- package/templates/nova/src/components/base/Skeleton.tsx +23 -0
- package/templates/nova/src/components/base/Spinner.css +13 -0
- package/templates/nova/src/components/base/Spinner.tsx +8 -0
- package/templates/nova/src/components/base/Switch.tsx +16 -0
- package/templates/nova/src/components/base/Tabs.css +24 -0
- package/templates/nova/src/components/base/Tabs.tsx +61 -0
- package/templates/nova/src/components/base/Textarea.css +1 -0
- package/templates/nova/src/components/base/Textarea.tsx +8 -0
- package/templates/nova/src/components/base/choice-props.ts +9 -0
- package/templates/nova/src/components/base/choice.css +69 -0
- package/templates/nova/src/components/commerce/AddToCart.css +4 -0
- package/templates/nova/src/components/commerce/AddToCart.tsx +77 -0
- package/templates/nova/src/components/commerce/CartLine.css +26 -0
- package/templates/nova/src/components/commerce/CartLine.tsx +82 -0
- package/templates/nova/src/components/commerce/CartSummary.css +23 -0
- package/templates/nova/src/components/commerce/CartSummary.tsx +120 -0
- package/templates/nova/src/components/commerce/CollectionCard.css +66 -0
- package/templates/nova/src/components/commerce/CollectionCard.tsx +57 -0
- package/templates/nova/src/components/commerce/ComparisonTable.css +33 -0
- package/templates/nova/src/components/commerce/ComparisonTable.tsx +113 -0
- package/templates/nova/src/components/commerce/EarnHint.css +3 -0
- package/templates/nova/src/components/commerce/EarnHint.tsx +31 -0
- package/templates/nova/src/components/commerce/Hotspot.css +16 -0
- package/templates/nova/src/components/commerce/Hotspot.tsx +64 -0
- package/templates/nova/src/components/commerce/ListingParts.css +79 -0
- package/templates/nova/src/components/commerce/ListingParts.tsx +211 -0
- package/templates/nova/src/components/commerce/LookItem.css +19 -0
- package/templates/nova/src/components/commerce/LookItem.tsx +41 -0
- package/templates/nova/src/components/commerce/MiniCartLine.css +20 -0
- package/templates/nova/src/components/commerce/MiniCartLine.tsx +93 -0
- package/templates/nova/src/components/commerce/PaymentMark.css +2 -0
- package/templates/nova/src/components/commerce/PaymentMark.tsx +55 -0
- package/templates/nova/src/components/commerce/Price.css +27 -0
- package/templates/nova/src/components/commerce/Price.tsx +55 -0
- package/templates/nova/src/components/commerce/ProductCard.css +66 -0
- package/templates/nova/src/components/commerce/ProductCard.tsx +117 -0
- package/templates/nova/src/components/commerce/ProductGallery.css +72 -0
- package/templates/nova/src/components/commerce/ProductGallery.tsx +98 -0
- package/templates/nova/src/components/commerce/QuantitySelector.css +23 -0
- package/templates/nova/src/components/commerce/QuantitySelector.tsx +45 -0
- package/templates/nova/src/components/commerce/Reviews.css +34 -0
- package/templates/nova/src/components/commerce/Reviews.tsx +112 -0
- package/templates/nova/src/components/commerce/Stars.css +7 -0
- package/templates/nova/src/components/commerce/Stars.tsx +38 -0
- package/templates/nova/src/components/commerce/VariantPicker.css +31 -0
- package/templates/nova/src/components/commerce/VariantPicker.tsx +122 -0
- package/templates/nova/src/components/commerce/blocks/Badge.css +6 -0
- package/templates/nova/src/components/commerce/blocks/Badge.tsx +33 -0
- package/templates/nova/src/components/commerce/blocks/PaymentIcons.tsx +43 -0
- package/templates/nova/src/components/commerce/blocks/Swatches.tsx +17 -0
- package/templates/nova/src/components/commerce/blocks/payment.css +2 -0
- package/templates/nova/src/components/commerce/cart-limit.ts +11 -0
- package/templates/nova/src/components/commerce/money.ts +34 -0
- package/templates/nova/src/components/commerce/swatch.ts +54 -0
- package/templates/nova/src/components/content/ArticleCard.css +22 -0
- package/templates/nova/src/components/content/ArticleCard.tsx +53 -0
- package/templates/nova/src/components/content/BeforeAfterSlider.css +38 -0
- package/templates/nova/src/components/content/BeforeAfterSlider.tsx +87 -0
- package/templates/nova/src/components/content/CardRow.css +80 -0
- package/templates/nova/src/components/content/CardRow.tsx +140 -0
- package/templates/nova/src/components/content/CarouselControls.css +61 -0
- package/templates/nova/src/components/content/CarouselControls.tsx +90 -0
- package/templates/nova/src/components/content/ContentsNav.css +16 -0
- package/templates/nova/src/components/content/ContentsNav.tsx +55 -0
- package/templates/nova/src/components/content/Countdown.css +24 -0
- package/templates/nova/src/components/content/Countdown.tsx +115 -0
- package/templates/nova/src/components/content/HeroCopy.css +92 -0
- package/templates/nova/src/components/content/HeroCopy.tsx +148 -0
- package/templates/nova/src/components/content/HeroFrame.css +75 -0
- package/templates/nova/src/components/content/HeroFrame.tsx +49 -0
- package/templates/nova/src/components/content/HeroMedia.css +40 -0
- package/templates/nova/src/components/content/HeroMedia.tsx +170 -0
- package/templates/nova/src/components/content/LongForm.css +40 -0
- package/templates/nova/src/components/content/LongForm.tsx +56 -0
- package/templates/nova/src/components/content/MediaFrame.css +5 -0
- package/templates/nova/src/components/content/MediaFrame.tsx +52 -0
- package/templates/nova/src/components/content/RichText.tsx +30 -0
- package/templates/nova/src/components/content/SectionHead.css +8 -0
- package/templates/nova/src/components/content/SectionHead.tsx +34 -0
- package/templates/nova/src/components/content/ShareButtons.css +2 -0
- package/templates/nova/src/components/content/ShareButtons.tsx +40 -0
- package/templates/nova/src/components/content/StoreCard.css +14 -0
- package/templates/nova/src/components/content/StoreCard.tsx +60 -0
- package/templates/nova/src/components/content/TestimonialCard.css +36 -0
- package/templates/nova/src/components/content/TestimonialCard.tsx +102 -0
- package/templates/nova/src/components/content/UgcTile.css +8 -0
- package/templates/nova/src/components/content/UgcTile.tsx +33 -0
- package/templates/nova/src/components/content/blocks/Button.tsx +36 -0
- package/templates/nova/src/components/content/blocks/Column.tsx +30 -0
- package/templates/nova/src/components/content/blocks/Heading.tsx +31 -0
- package/templates/nova/src/components/content/blocks/Icon.tsx +25 -0
- package/templates/nova/src/components/content/blocks/Image.tsx +42 -0
- package/templates/nova/src/components/content/blocks/Text.tsx +26 -0
- package/templates/nova/src/components/content/blocks/Video.tsx +44 -0
- package/templates/nova/src/components/content/blocks/content.css +25 -0
- package/templates/nova/src/components/content/blocks/shared.ts +5 -0
- package/templates/nova/src/components/forms/ContactForm.css +19 -0
- package/templates/nova/src/components/forms/ContactForm.tsx +139 -0
- package/templates/nova/src/components/forms/FormField.css +15 -0
- package/templates/nova/src/components/forms/FormField.tsx +77 -0
- package/templates/nova/src/components/forms/GatewayFields.tsx +79 -0
- package/templates/nova/src/components/forms/NewsletterForm.css +9 -0
- package/templates/nova/src/components/forms/NewsletterForm.tsx +141 -0
- package/templates/nova/src/components/forms/SearchField.css +7 -0
- package/templates/nova/src/components/forms/SearchField.tsx +68 -0
- package/templates/nova/src/components/forms/blocks/Newsletter.css +5 -0
- package/templates/nova/src/components/forms/blocks/Newsletter.tsx +71 -0
- package/templates/nova/src/components/forms/validate.ts +4 -0
- package/templates/nova/src/components/listing/ProductListing.tsx +200 -0
- package/templates/nova/src/components/navigation/BrandLogo.tsx +35 -0
- package/templates/nova/src/components/navigation/Breadcrumb.css +16 -0
- package/templates/nova/src/components/navigation/Breadcrumb.tsx +59 -0
- package/templates/nova/src/components/navigation/LineAddFriend.css +5 -0
- package/templates/nova/src/components/navigation/LineAddFriend.tsx +42 -0
- package/templates/nova/src/components/navigation/LocaleSelector.css +33 -0
- package/templates/nova/src/components/navigation/LocaleSelector.tsx +64 -0
- package/templates/nova/src/components/navigation/Menu.tsx +26 -0
- package/templates/nova/src/components/navigation/Pagination.css +24 -0
- package/templates/nova/src/components/navigation/Pagination.tsx +74 -0
- package/templates/nova/src/components/navigation/RecoveryLinks.css +8 -0
- package/templates/nova/src/components/navigation/RecoveryLinks.tsx +23 -0
- package/templates/nova/src/components/navigation/SocialLinks.css +5 -0
- package/templates/nova/src/components/navigation/SocialLinks.tsx +51 -0
- package/templates/nova/src/components/navigation/blocks/SocialLinks.tsx +23 -0
- package/templates/nova/src/components/overlays/AccountMenu.css +11 -0
- package/templates/nova/src/components/overlays/AccountMenu.tsx +91 -0
- package/templates/nova/src/components/overlays/CartDrawer.css +17 -0
- package/templates/nova/src/components/overlays/CartDrawer.tsx +118 -0
- package/templates/nova/src/components/overlays/ConfirmationDialog.tsx +49 -0
- package/templates/nova/src/components/overlays/CookieConsent.css +56 -0
- package/templates/nova/src/components/overlays/CookieConsent.tsx +170 -0
- package/templates/nova/src/components/overlays/Drawer.css +38 -0
- package/templates/nova/src/components/overlays/Drawer.tsx +66 -0
- package/templates/nova/src/components/overlays/FriendOfferPanel.tsx +79 -0
- package/templates/nova/src/components/overlays/MarketSelector.css +111 -0
- package/templates/nova/src/components/overlays/MarketSelector.tsx +450 -0
- package/templates/nova/src/components/overlays/Menu.css +9 -0
- package/templates/nova/src/components/overlays/Menu.tsx +124 -0
- package/templates/nova/src/components/overlays/MobileNavDrawer.css +28 -0
- package/templates/nova/src/components/overlays/MobileNavDrawer.tsx +166 -0
- package/templates/nova/src/components/overlays/Modal.css +52 -0
- package/templates/nova/src/components/overlays/Modal.tsx +88 -0
- package/templates/nova/src/components/overlays/Popover.css +4 -0
- package/templates/nova/src/components/overlays/Popover.tsx +115 -0
- package/templates/nova/src/components/overlays/ProductLightbox.css +20 -0
- package/templates/nova/src/components/overlays/ProductLightbox.tsx +70 -0
- package/templates/nova/src/components/overlays/PromoPopup.css +32 -0
- package/templates/nova/src/components/overlays/PromoPopup.tsx +198 -0
- package/templates/nova/src/components/overlays/QuickView.css +31 -0
- package/templates/nova/src/components/overlays/QuickView.tsx +127 -0
- package/templates/nova/src/components/overlays/ReferralPanel.css +16 -0
- package/templates/nova/src/components/overlays/ReferralPanel.tsx +138 -0
- package/templates/nova/src/components/overlays/RewardsLauncher.css +22 -0
- package/templates/nova/src/components/overlays/RewardsLauncher.tsx +270 -0
- package/templates/nova/src/components/overlays/SearchModal.css +48 -0
- package/templates/nova/src/components/overlays/SearchModal.tsx +302 -0
- package/templates/nova/src/components/overlays/Sheet.css +16 -0
- package/templates/nova/src/components/overlays/Sheet.tsx +48 -0
- package/templates/nova/src/components/overlays/SizeGuide.css +8 -0
- package/templates/nova/src/components/overlays/SizeGuide.tsx +74 -0
- package/templates/nova/src/components/overlays/Toast.css +20 -0
- package/templates/nova/src/components/overlays/Toast.tsx +164 -0
- package/templates/nova/src/components/overlays/Tooltip.css +6 -0
- package/templates/nova/src/components/overlays/Tooltip.tsx +59 -0
- package/templates/nova/src/components/overlays/use-dialog.ts +74 -0
- package/templates/nova/src/components/section/shared.css +42 -0
- package/templates/nova/src/components/section/shared.ts +120 -0
- package/templates/nova/src/components/section/shell.tsx +29 -0
- package/templates/nova/src/components/states/Alert.css +10 -0
- package/templates/nova/src/components/states/Alert.tsx +50 -0
- package/templates/nova/src/components/states/EditorFrame.css +31 -0
- package/templates/nova/src/components/states/EditorFrame.tsx +43 -0
- package/templates/nova/src/components/states/MediaState.css +1 -0
- package/templates/nova/src/components/states/MediaState.tsx +49 -0
- package/templates/nova/src/components/states/OfflineNotice.css +4 -0
- package/templates/nova/src/components/states/OfflineNotice.tsx +24 -0
- package/templates/nova/src/components/states/SkeletonLayout.css +22 -0
- package/templates/nova/src/components/states/SkeletonLayout.tsx +104 -0
- package/templates/nova/src/components/states/StateBlock.css +22 -0
- package/templates/nova/src/components/states/StateBlock.tsx +39 -0
- package/templates/nova/src/components/states/media/MediaError.css +6 -0
- package/templates/nova/src/components/states/media/MediaError.tsx +49 -0
- package/templates/nova/src/components/states/media/MediaPlaceholder.css +24 -0
- package/templates/nova/src/components/states/media/MediaPlaceholder.tsx +101 -0
- package/templates/nova/src/components/states/media/placeholder-art.ts +142 -0
- package/templates/nova/src/layouts/Main.tsx +80 -0
- package/templates/nova/src/sections/Account/Account.tsx +109 -0
- package/templates/nova/src/sections/Account/index.ts +22 -0
- package/templates/nova/src/sections/Account/presets.ts +6 -0
- package/templates/nova/src/sections/Account/schema.ts +29 -0
- package/templates/nova/src/sections/AnnouncementBar/AnnouncementBar.css +37 -0
- package/templates/nova/src/sections/AnnouncementBar/AnnouncementBar.tsx +151 -0
- package/templates/nova/src/sections/AnnouncementBar/index.ts +20 -0
- package/templates/nova/src/sections/AnnouncementBar/presets.ts +10 -0
- package/templates/nova/src/sections/AnnouncementBar/schema.ts +26 -0
- package/templates/nova/src/sections/ArticleBody/ArticleBody.tsx +129 -0
- package/templates/nova/src/sections/ArticleBody/index.ts +21 -0
- package/templates/nova/src/sections/ArticleBody/presets.ts +10 -0
- package/templates/nova/src/sections/ArticleBody/schema.ts +40 -0
- package/templates/nova/src/sections/BeforeAfter/BeforeAfter.tsx +47 -0
- package/templates/nova/src/sections/BeforeAfter/blocks/Comparison.tsx +20 -0
- package/templates/nova/src/sections/BeforeAfter/index.ts +28 -0
- package/templates/nova/src/sections/BeforeAfter/presets.ts +10 -0
- package/templates/nova/src/sections/BeforeAfter/schema.ts +34 -0
- package/templates/nova/src/sections/BlogPosts/BlogPosts.tsx +106 -0
- package/templates/nova/src/sections/BlogPosts/index.ts +30 -0
- package/templates/nova/src/sections/BlogPosts/presets.ts +10 -0
- package/templates/nova/src/sections/BlogPosts/schema.ts +42 -0
- package/templates/nova/src/sections/Breadcrumbs/Breadcrumbs.css +10 -0
- package/templates/nova/src/sections/Breadcrumbs/Breadcrumbs.tsx +41 -0
- package/templates/nova/src/sections/Breadcrumbs/index.ts +20 -0
- package/templates/nova/src/sections/Breadcrumbs/presets.ts +6 -0
- package/templates/nova/src/sections/Breadcrumbs/schema.ts +24 -0
- package/templates/nova/src/sections/CartItems/CartItems.tsx +170 -0
- package/templates/nova/src/sections/CartItems/blocks/CartBadge.tsx +14 -0
- package/templates/nova/src/sections/CartItems/index.ts +37 -0
- package/templates/nova/src/sections/CartItems/presets.ts +8 -0
- package/templates/nova/src/sections/CartItems/schema.ts +34 -0
- package/templates/nova/src/sections/CollectionBanner/CollectionBanner.tsx +120 -0
- package/templates/nova/src/sections/CollectionBanner/index.ts +25 -0
- package/templates/nova/src/sections/CollectionBanner/presets.ts +10 -0
- package/templates/nova/src/sections/CollectionBanner/schema.ts +37 -0
- package/templates/nova/src/sections/CollectionLinks/CollectionLinks.tsx +47 -0
- package/templates/nova/src/sections/CollectionLinks/index.ts +20 -0
- package/templates/nova/src/sections/CollectionLinks/presets.ts +8 -0
- package/templates/nova/src/sections/CollectionLinks/schema.ts +33 -0
- package/templates/nova/src/sections/CollectionList/CollectionList.tsx +89 -0
- package/templates/nova/src/sections/CollectionList/blocks/CollectionItem.tsx +25 -0
- package/templates/nova/src/sections/CollectionList/index.ts +33 -0
- package/templates/nova/src/sections/CollectionList/presets.ts +10 -0
- package/templates/nova/src/sections/CollectionList/schema.ts +41 -0
- package/templates/nova/src/sections/ComparisonTable/ComparisonTable.tsx +52 -0
- package/templates/nova/src/sections/ComparisonTable/blocks/CompareItem.tsx +26 -0
- package/templates/nova/src/sections/ComparisonTable/index.ts +31 -0
- package/templates/nova/src/sections/ComparisonTable/presets.ts +8 -0
- package/templates/nova/src/sections/ComparisonTable/schema.ts +31 -0
- package/templates/nova/src/sections/ContactForm/ContactForm.tsx +83 -0
- package/templates/nova/src/sections/ContactForm/blocks/ContactDetail.tsx +13 -0
- package/templates/nova/src/sections/ContactForm/index.ts +29 -0
- package/templates/nova/src/sections/ContactForm/presets.ts +8 -0
- package/templates/nova/src/sections/ContactForm/schema.ts +34 -0
- package/templates/nova/src/sections/Divider/Divider.css +17 -0
- package/templates/nova/src/sections/Divider/Divider.tsx +21 -0
- package/templates/nova/src/sections/Divider/index.ts +20 -0
- package/templates/nova/src/sections/Divider/presets.ts +10 -0
- package/templates/nova/src/sections/Divider/schema.ts +24 -0
- package/templates/nova/src/sections/Faq/Faq.tsx +51 -0
- package/templates/nova/src/sections/Faq/blocks/FaqItem.tsx +13 -0
- package/templates/nova/src/sections/Faq/index.ts +28 -0
- package/templates/nova/src/sections/Faq/presets.ts +8 -0
- package/templates/nova/src/sections/Faq/schema.ts +32 -0
- package/templates/nova/src/sections/FeatureGridBlocks/FeatureGridBlocks.tsx +90 -0
- package/templates/nova/src/sections/FeatureGridBlocks/index.ts +35 -0
- package/templates/nova/src/sections/FeatureGridBlocks/presets.ts +8 -0
- package/templates/nova/src/sections/FeatureGridBlocks/schema.ts +35 -0
- package/templates/nova/src/sections/FeatureHighlights/FeatureHighlights.tsx +56 -0
- package/templates/nova/src/sections/FeatureHighlights/index.ts +20 -0
- package/templates/nova/src/sections/FeatureHighlights/presets.ts +6 -0
- package/templates/nova/src/sections/FeatureHighlights/schema.ts +27 -0
- package/templates/nova/src/sections/FeaturedCollection/FeaturedCollection.tsx +67 -0
- package/templates/nova/src/sections/FeaturedCollection/index.ts +21 -0
- package/templates/nova/src/sections/FeaturedCollection/presets.ts +10 -0
- package/templates/nova/src/sections/FeaturedCollection/schema.ts +39 -0
- package/templates/nova/src/sections/FeaturedProduct/FeaturedProduct.tsx +107 -0
- package/templates/nova/src/sections/FeaturedProduct/index.ts +23 -0
- package/templates/nova/src/sections/FeaturedProduct/presets.ts +8 -0
- package/templates/nova/src/sections/FeaturedProduct/schema.ts +35 -0
- package/templates/nova/src/sections/Footer/Footer.css +81 -0
- package/templates/nova/src/sections/Footer/Footer.tsx +256 -0
- package/templates/nova/src/sections/Footer/blocks/FooterBrand.tsx +40 -0
- package/templates/nova/src/sections/Footer/blocks/FooterLine.tsx +11 -0
- package/templates/nova/src/sections/Footer/blocks/FooterMenu.tsx +14 -0
- package/templates/nova/src/sections/Footer/blocks/FooterText.tsx +8 -0
- package/templates/nova/src/sections/Footer/blocks/footer.css +7 -0
- package/templates/nova/src/sections/Footer/index.ts +38 -0
- package/templates/nova/src/sections/Footer/presets.ts +10 -0
- package/templates/nova/src/sections/Footer/schema.ts +27 -0
- package/templates/nova/src/sections/Group/Group.css +59 -0
- package/templates/nova/src/sections/Group/Group.tsx +167 -0
- package/templates/nova/src/sections/Group/blocks/Accordion.tsx +26 -0
- package/templates/nova/src/sections/Group/blocks/JumboText.tsx +20 -0
- package/templates/nova/src/sections/Group/blocks/Spacer.tsx +16 -0
- package/templates/nova/src/sections/Group/index.ts +36 -0
- package/templates/nova/src/sections/Group/presets.ts +12 -0
- package/templates/nova/src/sections/Group/schema.ts +35 -0
- package/templates/nova/src/sections/Header/Header.css +185 -0
- package/templates/nova/src/sections/Header/Header.tsx +478 -0
- package/templates/nova/src/sections/Header/index.ts +32 -0
- package/templates/nova/src/sections/Header/presets.ts +10 -0
- package/templates/nova/src/sections/Header/schema.ts +32 -0
- package/templates/nova/src/sections/Hero/Hero.tsx +128 -0
- package/templates/nova/src/sections/Hero/index.ts +24 -0
- package/templates/nova/src/sections/Hero/presets.ts +16 -0
- package/templates/nova/src/sections/Hero/schema.ts +56 -0
- package/templates/nova/src/sections/ImageGallery/ImageGallery.tsx +86 -0
- package/templates/nova/src/sections/ImageGallery/index.ts +28 -0
- package/templates/nova/src/sections/ImageGallery/presets.ts +10 -0
- package/templates/nova/src/sections/ImageGallery/schema.ts +34 -0
- package/templates/nova/src/sections/ImageWithText/ImageWithText.tsx +62 -0
- package/templates/nova/src/sections/ImageWithText/index.ts +23 -0
- package/templates/nova/src/sections/ImageWithText/presets.ts +12 -0
- package/templates/nova/src/sections/ImageWithText/schema.ts +45 -0
- package/templates/nova/src/sections/LineAddFriend/LineAddFriend.tsx +25 -0
- package/templates/nova/src/sections/LineAddFriend/index.ts +20 -0
- package/templates/nova/src/sections/LineAddFriend/presets.ts +3 -0
- package/templates/nova/src/sections/LineAddFriend/schema.ts +25 -0
- package/templates/nova/src/sections/LogoList/LogoList.tsx +40 -0
- package/templates/nova/src/sections/LogoList/blocks/Logo.tsx +18 -0
- package/templates/nova/src/sections/LogoList/index.ts +29 -0
- package/templates/nova/src/sections/LogoList/presets.ts +8 -0
- package/templates/nova/src/sections/LogoList/schema.ts +29 -0
- package/templates/nova/src/sections/MainCollection/MainCollection.tsx +51 -0
- package/templates/nova/src/sections/MainCollection/index.ts +26 -0
- package/templates/nova/src/sections/MainCollection/presets.ts +10 -0
- package/templates/nova/src/sections/MainCollection/schema.ts +29 -0
- package/templates/nova/src/sections/Marquee/Marquee.tsx +114 -0
- package/templates/nova/src/sections/Marquee/index.ts +20 -0
- package/templates/nova/src/sections/Marquee/presets.ts +10 -0
- package/templates/nova/src/sections/Marquee/schema.ts +23 -0
- package/templates/nova/src/sections/Multicolumn/Multicolumn.tsx +56 -0
- package/templates/nova/src/sections/Multicolumn/index.ts +25 -0
- package/templates/nova/src/sections/Multicolumn/presets.ts +8 -0
- package/templates/nova/src/sections/Multicolumn/schema.ts +34 -0
- package/templates/nova/src/sections/Newsletter/Newsletter.tsx +64 -0
- package/templates/nova/src/sections/Newsletter/index.ts +20 -0
- package/templates/nova/src/sections/Newsletter/presets.ts +10 -0
- package/templates/nova/src/sections/Newsletter/schema.ts +36 -0
- package/templates/nova/src/sections/NotFound/NotFound.tsx +41 -0
- package/templates/nova/src/sections/NotFound/index.ts +20 -0
- package/templates/nova/src/sections/NotFound/presets.ts +6 -0
- package/templates/nova/src/sections/NotFound/schema.ts +30 -0
- package/templates/nova/src/sections/PageBody/PageBody.tsx +35 -0
- package/templates/nova/src/sections/PageBody/index.ts +21 -0
- package/templates/nova/src/sections/PageBody/presets.ts +6 -0
- package/templates/nova/src/sections/PageBody/schema.ts +29 -0
- package/templates/nova/src/sections/PolicyPage/PolicyPage.tsx +62 -0
- package/templates/nova/src/sections/PolicyPage/index.ts +23 -0
- package/templates/nova/src/sections/PolicyPage/presets.ts +6 -0
- package/templates/nova/src/sections/PolicyPage/schema.ts +27 -0
- package/templates/nova/src/sections/ProductDetails/ProductDetails.tsx +269 -0
- package/templates/nova/src/sections/ProductDetails/blocks/AddToCartBlock.tsx +15 -0
- package/templates/nova/src/sections/ProductDetails/blocks/ProductDescription.tsx +15 -0
- package/templates/nova/src/sections/ProductDetails/blocks/ProductInventory.tsx +38 -0
- package/templates/nova/src/sections/ProductDetails/blocks/ProductPrice.tsx +19 -0
- package/templates/nova/src/sections/ProductDetails/blocks/ProductSku.tsx +15 -0
- package/templates/nova/src/sections/ProductDetails/blocks/ProductTitle.tsx +17 -0
- package/templates/nova/src/sections/ProductDetails/blocks/Quantity.tsx +14 -0
- package/templates/nova/src/sections/ProductDetails/blocks/Tab.tsx +23 -0
- package/templates/nova/src/sections/ProductDetails/blocks/VariantPickerBlock.tsx +44 -0
- package/templates/nova/src/sections/ProductDetails/blocks/commerce-blocks.css +13 -0
- package/templates/nova/src/sections/ProductDetails/index.ts +44 -0
- package/templates/nova/src/sections/ProductDetails/presets.ts +10 -0
- package/templates/nova/src/sections/ProductDetails/schema.ts +44 -0
- package/templates/nova/src/sections/ProductGrid/ProductGrid.tsx +38 -0
- package/templates/nova/src/sections/ProductGrid/index.ts +25 -0
- package/templates/nova/src/sections/ProductGrid/presets.ts +6 -0
- package/templates/nova/src/sections/ProductGrid/schema.ts +37 -0
- package/templates/nova/src/sections/ProductRecommendations/ProductRecommendations.tsx +45 -0
- package/templates/nova/src/sections/ProductRecommendations/index.ts +20 -0
- package/templates/nova/src/sections/ProductRecommendations/presets.ts +8 -0
- package/templates/nova/src/sections/ProductRecommendations/schema.ts +28 -0
- package/templates/nova/src/sections/ProductReviews/ProductReviews.tsx +136 -0
- package/templates/nova/src/sections/ProductReviews/index.ts +22 -0
- package/templates/nova/src/sections/ProductReviews/presets.ts +6 -0
- package/templates/nova/src/sections/ProductReviews/schema.ts +31 -0
- package/templates/nova/src/sections/PromoBanner/PromoBanner.tsx +78 -0
- package/templates/nova/src/sections/PromoBanner/index.ts +20 -0
- package/templates/nova/src/sections/PromoBanner/presets.ts +10 -0
- package/templates/nova/src/sections/PromoBanner/schema.ts +38 -0
- package/templates/nova/src/sections/RecentlyViewed/RecentlyViewed.tsx +53 -0
- package/templates/nova/src/sections/RecentlyViewed/index.ts +20 -0
- package/templates/nova/src/sections/RecentlyViewed/presets.ts +6 -0
- package/templates/nova/src/sections/RecentlyViewed/schema.ts +26 -0
- package/templates/nova/src/sections/RichText/RichText.tsx +38 -0
- package/templates/nova/src/sections/RichText/index.ts +20 -0
- package/templates/nova/src/sections/RichText/presets.ts +10 -0
- package/templates/nova/src/sections/RichText/schema.ts +37 -0
- package/templates/nova/src/sections/SearchResults/SearchResults.tsx +112 -0
- package/templates/nova/src/sections/SearchResults/index.ts +26 -0
- package/templates/nova/src/sections/SearchResults/presets.ts +8 -0
- package/templates/nova/src/sections/SearchResults/schema.ts +30 -0
- package/templates/nova/src/sections/ShopTheLook/ShopTheLook.tsx +112 -0
- package/templates/nova/src/sections/ShopTheLook/blocks/Hotspot.tsx +22 -0
- package/templates/nova/src/sections/ShopTheLook/index.ts +33 -0
- package/templates/nova/src/sections/ShopTheLook/presets.ts +8 -0
- package/templates/nova/src/sections/ShopTheLook/schema.ts +31 -0
- package/templates/nova/src/sections/Slideshow/Slideshow.tsx +199 -0
- package/templates/nova/src/sections/Slideshow/blocks/Slide.tsx +93 -0
- package/templates/nova/src/sections/Slideshow/index.ts +30 -0
- package/templates/nova/src/sections/Slideshow/presets.ts +10 -0
- package/templates/nova/src/sections/Slideshow/schema.ts +36 -0
- package/templates/nova/src/sections/StoreLocator/StoreLocator.tsx +66 -0
- package/templates/nova/src/sections/StoreLocator/index.ts +20 -0
- package/templates/nova/src/sections/StoreLocator/presets.ts +6 -0
- package/templates/nova/src/sections/StoreLocator/schema.ts +34 -0
- package/templates/nova/src/sections/TeamFounders/TeamFounders.tsx +74 -0
- package/templates/nova/src/sections/TeamFounders/blocks/Person.tsx +28 -0
- package/templates/nova/src/sections/TeamFounders/index.ts +28 -0
- package/templates/nova/src/sections/TeamFounders/presets.ts +10 -0
- package/templates/nova/src/sections/TeamFounders/schema.ts +36 -0
- package/templates/nova/src/sections/Testimonials/Testimonials.tsx +83 -0
- package/templates/nova/src/sections/Testimonials/blocks/Testimonial.tsx +30 -0
- package/templates/nova/src/sections/Testimonials/index.ts +29 -0
- package/templates/nova/src/sections/Testimonials/presets.ts +10 -0
- package/templates/nova/src/sections/Testimonials/schema.ts +35 -0
- package/templates/nova/src/sections/Timeline/Timeline.tsx +43 -0
- package/templates/nova/src/sections/Timeline/blocks/Step.tsx +19 -0
- package/templates/nova/src/sections/Timeline/index.ts +28 -0
- package/templates/nova/src/sections/Timeline/presets.ts +8 -0
- package/templates/nova/src/sections/Timeline/schema.ts +31 -0
- package/templates/nova/src/sections/TrustBadges/TrustBadges.tsx +42 -0
- package/templates/nova/src/sections/TrustBadges/index.ts +29 -0
- package/templates/nova/src/sections/TrustBadges/presets.ts +8 -0
- package/templates/nova/src/sections/TrustBadges/schema.ts +29 -0
- package/templates/nova/src/sections/UgcGallery/UgcGallery.tsx +58 -0
- package/templates/nova/src/sections/UgcGallery/blocks/UgcImage.tsx +27 -0
- package/templates/nova/src/sections/UgcGallery/index.ts +31 -0
- package/templates/nova/src/sections/UgcGallery/presets.ts +8 -0
- package/templates/nova/src/sections/UgcGallery/schema.ts +35 -0
- package/templates/nova/src/sections/VideoHero/VideoHero.tsx +75 -0
- package/templates/nova/src/sections/VideoHero/index.ts +22 -0
- package/templates/nova/src/sections/VideoHero/presets.ts +8 -0
- package/templates/nova/src/sections/VideoHero/schema.ts +43 -0
- package/templates/nova/src/sections/data.ts +115 -0
- package/templates/nova/src/sections/shipped-copy.ts +25 -0
- package/templates/nova/src/sections/starter.ts +49 -0
- package/templates/nova/src/styles/Container.css +6 -0
- package/templates/nova/src/styles/Container.tsx +13 -0
- package/templates/nova/src/styles/Icon.css +2 -0
- package/templates/nova/src/styles/Icon.tsx +101 -0
- package/templates/nova/src/styles/NovaProvider.tsx +91 -0
- package/templates/nova/src/styles/base.css +142 -0
- package/templates/nova/src/styles/blocks.css +6 -0
- package/templates/nova/src/styles/fonts/OFL.txt +93 -0
- package/templates/nova/src/styles/fonts/geist-cyrillic-ext.woff2 +0 -0
- package/templates/nova/src/styles/fonts/geist-cyrillic.woff2 +0 -0
- package/templates/nova/src/styles/fonts/geist-latin-ext.woff2 +0 -0
- package/templates/nova/src/styles/fonts/geist-latin.woff2 +0 -0
- package/templates/nova/src/styles/fonts/geist-mono-cyrillic-ext.woff2 +0 -0
- package/templates/nova/src/styles/fonts/geist-mono-cyrillic.woff2 +0 -0
- package/templates/nova/src/styles/fonts/geist-mono-latin-ext.woff2 +0 -0
- package/templates/nova/src/styles/fonts/geist-mono-latin.woff2 +0 -0
- package/templates/nova/src/styles/fonts/geist-mono-vietnamese.woff2 +0 -0
- package/templates/nova/src/styles/fonts/geist-vietnamese.woff2 +0 -0
- package/templates/nova/src/styles/fonts.css +95 -0
- package/templates/nova/src/styles/global-settings.css +88 -0
- package/templates/nova/src/styles/index.css +6 -0
- package/templates/nova/src/styles/motion.ts +53 -0
- package/templates/nova/src/styles/scroll.ts +24 -0
- package/templates/nova/src/styles/sections/commerce.css +147 -0
- package/templates/nova/src/styles/sections/content.css +304 -0
- package/templates/nova/src/styles/sections/editorial.css +131 -0
- package/templates/nova/src/styles/sections/promotion.css +336 -0
- package/templates/nova/src/styles/sections/trust.css +117 -0
- package/templates/nova/src/styles/sections/utility.css +190 -0
- package/templates/nova/src/styles/strings.ts +492 -0
- package/templates/nova/src/styles/text.ts +4 -0
- package/templates/nova/src/styles/theme.ts +171 -0
- package/templates/nova/src/styles/tokens.css +600 -0
- package/templates/nova/src/styles/viewport.ts +23 -0
- package/templates/nova/template.json +94 -0
- package/templates/nova/templates/404.json +30 -0
- package/templates/nova/templates/account.json +15 -0
- package/templates/nova/templates/article.json +41 -0
- package/templates/nova/templates/article.longform.json +17 -0
- package/templates/nova/templates/blog.featured.json +22 -0
- package/templates/nova/templates/blog.json +29 -0
- package/templates/nova/templates/cart.json +67 -0
- package/templates/nova/templates/collection.featured.json +43 -0
- package/templates/nova/templates/collection.json +30 -0
- package/templates/nova/templates/contact.json +65 -0
- package/templates/nova/templates/index.json +167 -0
- package/templates/nova/templates/list-collections.json +19 -0
- package/templates/nova/templates/page.about.json +134 -0
- package/templates/nova/templates/page.contact.json +27 -0
- package/templates/nova/templates/page.json +27 -0
- package/templates/nova/templates/policy.json +23 -0
- package/templates/nova/templates/product.bundle.json +145 -0
- package/templates/nova/templates/product.json +119 -0
- package/templates/nova/templates/search.json +17 -0
- package/templates/nova/tests/abi-ai-contract.test.ts +99 -0
- package/templates/nova/tests/abi-forms.test.tsx +269 -0
- package/templates/nova/tests/abi-inventory.test.tsx +197 -0
- package/templates/nova/tests/abi-legacy-settings.test.tsx +105 -0
- package/templates/nova/tests/abi-opt-in.test.tsx +100 -0
- package/templates/nova/tests/abi-parity.test.tsx +95 -0
- package/templates/nova/tests/abi-r5-store-settings.test.tsx +337 -0
- package/templates/nova/tests/abi-render.test.tsx +178 -0
- package/templates/nova/tests/abi-shop-links.test.tsx +141 -0
- package/templates/nova/tests/abi-storefront-basics.test.tsx +233 -0
- package/templates/nova/tests/abi-variant-url.test.tsx +73 -0
- package/templates/nova/tests/add-refused-no-success.test.tsx +193 -0
- package/templates/nova/tests/architecture.test.ts +63 -0
- package/templates/nova/tests/architecture.ts +160 -0
- package/templates/nova/tests/audit-guards.test.ts +31 -0
- package/templates/nova/tests/bundle-split.test.ts +29 -0
- package/templates/nova/tests/cart-limit-message.test.tsx +212 -0
- package/templates/nova/tests/cart-link-message.test.tsx +98 -0
- package/templates/nova/tests/cases/components/Overview.cases.tsx +8 -0
- package/templates/nova/tests/cases/components/base/Accordion.cases.tsx +40 -0
- package/templates/nova/tests/cases/components/base/Badge.cases.tsx +30 -0
- package/templates/nova/tests/cases/components/base/Button.cases.tsx +73 -0
- package/templates/nova/tests/cases/components/base/Checkbox.cases.tsx +27 -0
- package/templates/nova/tests/cases/components/base/Chip.cases.tsx +37 -0
- package/templates/nova/tests/cases/components/base/Divider.cases.tsx +26 -0
- package/templates/nova/tests/cases/components/base/IconButton.cases.tsx +28 -0
- package/templates/nova/tests/cases/components/base/Input.cases.tsx +28 -0
- package/templates/nova/tests/cases/components/base/Link.cases.tsx +27 -0
- package/templates/nova/tests/cases/components/base/Radio.cases.tsx +27 -0
- package/templates/nova/tests/cases/components/base/Select.cases.tsx +26 -0
- package/templates/nova/tests/cases/components/base/Skeleton.cases.tsx +29 -0
- package/templates/nova/tests/cases/components/base/Spinner.cases.tsx +16 -0
- package/templates/nova/tests/cases/components/base/Switch.cases.tsx +26 -0
- package/templates/nova/tests/cases/components/base/Tabs.cases.tsx +39 -0
- package/templates/nova/tests/cases/components/base/Textarea.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/commerce/AddToCart.cases.tsx +36 -0
- package/templates/nova/tests/cases/components/commerce/CartLine.cases.tsx +20 -0
- package/templates/nova/tests/cases/components/commerce/CartSummary.cases.tsx +16 -0
- package/templates/nova/tests/cases/components/commerce/CollectionCard.cases.tsx +19 -0
- package/templates/nova/tests/cases/components/commerce/ComparisonTable.cases.tsx +19 -0
- package/templates/nova/tests/cases/components/commerce/Hotspot.cases.tsx +25 -0
- package/templates/nova/tests/cases/components/commerce/LookItem.cases.tsx +19 -0
- package/templates/nova/tests/cases/components/commerce/PaymentMark.cases.tsx +16 -0
- package/templates/nova/tests/cases/components/commerce/Price.cases.tsx +27 -0
- package/templates/nova/tests/cases/components/commerce/ProductCard.cases.tsx +67 -0
- package/templates/nova/tests/cases/components/commerce/ProductGallery.cases.tsx +39 -0
- package/templates/nova/tests/cases/components/commerce/QuantitySelector.cases.tsx +31 -0
- package/templates/nova/tests/cases/components/commerce/Reviews.cases.tsx +35 -0
- package/templates/nova/tests/cases/components/commerce/Stars.cases.tsx +16 -0
- package/templates/nova/tests/cases/components/commerce/VariantPicker.cases.tsx +38 -0
- package/templates/nova/tests/cases/components/commerce/blocks/Badge.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/commerce/blocks/PaymentIcons.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/commerce/blocks/Swatches.cases.tsx +22 -0
- package/templates/nova/tests/cases/components/content/ArticleCard.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/content/BeforeAfterSlider.cases.tsx +18 -0
- package/templates/nova/tests/cases/components/content/CardRow.cases.tsx +23 -0
- package/templates/nova/tests/cases/components/content/CarouselControls.cases.tsx +48 -0
- package/templates/nova/tests/cases/components/content/ContentsNav.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/content/Countdown.cases.tsx +28 -0
- package/templates/nova/tests/cases/components/content/HeroCopy.cases.tsx +42 -0
- package/templates/nova/tests/cases/components/content/HeroFrame.cases.tsx +22 -0
- package/templates/nova/tests/cases/components/content/HeroMedia.cases.tsx +18 -0
- package/templates/nova/tests/cases/components/content/LongForm.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/content/MediaFrame.cases.tsx +32 -0
- package/templates/nova/tests/cases/components/content/RichText.cases.tsx +19 -0
- package/templates/nova/tests/cases/components/content/SectionHead.cases.tsx +19 -0
- package/templates/nova/tests/cases/components/content/ShareButtons.cases.tsx +24 -0
- package/templates/nova/tests/cases/components/content/StoreCard.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/content/TestimonialCard.cases.tsx +19 -0
- package/templates/nova/tests/cases/components/content/UgcTile.cases.tsx +18 -0
- package/templates/nova/tests/cases/components/content/blocks/Button.cases.tsx +20 -0
- package/templates/nova/tests/cases/components/content/blocks/Column.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/content/blocks/Heading.cases.tsx +18 -0
- package/templates/nova/tests/cases/components/content/blocks/Icon.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/content/blocks/Image.cases.tsx +22 -0
- package/templates/nova/tests/cases/components/content/blocks/Text.cases.tsx +18 -0
- package/templates/nova/tests/cases/components/content/blocks/Video.cases.tsx +18 -0
- package/templates/nova/tests/cases/components/forms/ContactForm.cases.tsx +29 -0
- package/templates/nova/tests/cases/components/forms/FormField.cases.tsx +61 -0
- package/templates/nova/tests/cases/components/forms/NewsletterForm.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/forms/SearchField.cases.tsx +25 -0
- package/templates/nova/tests/cases/components/forms/blocks/Newsletter.cases.tsx +19 -0
- package/templates/nova/tests/cases/components/navigation/BrandLogo.cases.tsx +29 -0
- package/templates/nova/tests/cases/components/navigation/Breadcrumb.cases.tsx +19 -0
- package/templates/nova/tests/cases/components/navigation/LocaleSelector.cases.tsx +32 -0
- package/templates/nova/tests/cases/components/navigation/Menu.cases.tsx +27 -0
- package/templates/nova/tests/cases/components/navigation/Pagination.cases.tsx +25 -0
- package/templates/nova/tests/cases/components/navigation/RecoveryLinks.cases.tsx +16 -0
- package/templates/nova/tests/cases/components/navigation/SocialLinks.cases.tsx +18 -0
- package/templates/nova/tests/cases/components/navigation/blocks/SocialLinks.cases.tsx +17 -0
- package/templates/nova/tests/cases/components/overlays/AccountMenu.cases.tsx +28 -0
- package/templates/nova/tests/cases/components/overlays/CartDrawer.cases.tsx +30 -0
- package/templates/nova/tests/cases/components/overlays/ConfirmationDialog.cases.tsx +16 -0
- package/templates/nova/tests/cases/components/overlays/CookieConsent.cases.tsx +23 -0
- package/templates/nova/tests/cases/components/overlays/CookiePreferences.cases.tsx +16 -0
- package/templates/nova/tests/cases/components/overlays/Drawer.cases.tsx +52 -0
- package/templates/nova/tests/cases/components/overlays/MarketSelector.cases.tsx +82 -0
- package/templates/nova/tests/cases/components/overlays/Menu.cases.tsx +27 -0
- package/templates/nova/tests/cases/components/overlays/MobileNavDrawer.cases.tsx +32 -0
- package/templates/nova/tests/cases/components/overlays/Modal.cases.tsx +71 -0
- package/templates/nova/tests/cases/components/overlays/Popover.cases.tsx +50 -0
- package/templates/nova/tests/cases/components/overlays/PromoPopup.cases.tsx +19 -0
- package/templates/nova/tests/cases/components/overlays/QuickView.cases.tsx +18 -0
- package/templates/nova/tests/cases/components/overlays/SearchModal.cases.tsx +60 -0
- package/templates/nova/tests/cases/components/overlays/Sheet.cases.tsx +32 -0
- package/templates/nova/tests/cases/components/overlays/SizeGuide.cases.tsx +27 -0
- package/templates/nova/tests/cases/components/overlays/Toast.cases.tsx +48 -0
- package/templates/nova/tests/cases/components/overlays/Tooltip.cases.tsx +33 -0
- package/templates/nova/tests/cases/components/states/Alert.cases.tsx +27 -0
- package/templates/nova/tests/cases/components/states/EditorFrame.cases.tsx +36 -0
- package/templates/nova/tests/cases/components/states/Empty.cases.tsx +30 -0
- package/templates/nova/tests/cases/components/states/Error.cases.tsx +38 -0
- package/templates/nova/tests/cases/components/states/Loading.cases.tsx +15 -0
- package/templates/nova/tests/cases/components/states/MediaState.cases.tsx +29 -0
- package/templates/nova/tests/cases/components/states/SkeletonLayout.cases.tsx +20 -0
- package/templates/nova/tests/cases/components/states/Unavailable.cases.tsx +16 -0
- package/templates/nova/tests/cases/components/states/media/MediaError.cases.tsx +18 -0
- package/templates/nova/tests/cases/components/states/media/MediaPlaceholder.cases.tsx +87 -0
- package/templates/nova/tests/cases/sections/Overview.cases.tsx +8 -0
- package/templates/nova/tests/cases/sections/commerce/collection-list/CollectionList.cases.tsx +46 -0
- package/templates/nova/tests/cases/sections/commerce/collection-list/blocks/CollectionItem.cases.tsx +18 -0
- package/templates/nova/tests/cases/sections/commerce/featured-collection/FeaturedCollection.cases.tsx +46 -0
- package/templates/nova/tests/cases/sections/commerce/featured-product/FeaturedProduct.cases.tsx +40 -0
- package/templates/nova/tests/cases/sections/commerce/main-collection/MainCollection.cases.tsx +81 -0
- package/templates/nova/tests/cases/sections/commerce/product-details/ProductDetails.cases.tsx +110 -0
- package/templates/nova/tests/cases/sections/commerce/product-details/blocks/AddToCartBlock.cases.tsx +21 -0
- package/templates/nova/tests/cases/sections/commerce/product-details/blocks/ProductDescription.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/commerce/product-details/blocks/ProductInventory.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/commerce/product-details/blocks/ProductPrice.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/commerce/product-details/blocks/ProductSku.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/commerce/product-details/blocks/ProductTitle.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/commerce/product-details/blocks/Quantity.cases.tsx +20 -0
- package/templates/nova/tests/cases/sections/commerce/product-details/blocks/Tab.cases.tsx +29 -0
- package/templates/nova/tests/cases/sections/commerce/product-details/blocks/VariantPickerBlock.cases.tsx +32 -0
- package/templates/nova/tests/cases/sections/commerce/product-grid/ProductGrid.cases.tsx +48 -0
- package/templates/nova/tests/cases/sections/commerce/product-recommendations/ProductRecommendations.cases.tsx +27 -0
- package/templates/nova/tests/cases/sections/commerce/recently-viewed/RecentlyViewed.cases.tsx +36 -0
- package/templates/nova/tests/cases/sections/content/article-body/ArticleBody.cases.tsx +32 -0
- package/templates/nova/tests/cases/sections/content/before-after/BeforeAfter.cases.tsx +40 -0
- package/templates/nova/tests/cases/sections/content/before-after/blocks/Comparison.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/content/blog-posts/BlogPosts.cases.tsx +47 -0
- package/templates/nova/tests/cases/sections/content/collection-links/CollectionLinks.cases.tsx +36 -0
- package/templates/nova/tests/cases/sections/content/faq/Faq.cases.tsx +38 -0
- package/templates/nova/tests/cases/sections/content/faq/blocks/FaqItem.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/content/feature-grid-blocks/FeatureGridBlocks.cases.tsx +31 -0
- package/templates/nova/tests/cases/sections/content/feature-highlights/FeatureHighlights.cases.tsx +26 -0
- package/templates/nova/tests/cases/sections/content/image-gallery/ImageGallery.cases.tsx +31 -0
- package/templates/nova/tests/cases/sections/content/image-with-text/ImageWithText.cases.tsx +35 -0
- package/templates/nova/tests/cases/sections/content/multicolumn/Multicolumn.cases.tsx +32 -0
- package/templates/nova/tests/cases/sections/content/page-body/PageBody.cases.tsx +31 -0
- package/templates/nova/tests/cases/sections/content/rich-text/RichTextSection.cases.tsx +33 -0
- package/templates/nova/tests/cases/sections/content/team-founders/TeamFounders.cases.tsx +31 -0
- package/templates/nova/tests/cases/sections/content/team-founders/blocks/Person.cases.tsx +18 -0
- package/templates/nova/tests/cases/sections/content/timeline/Timeline.cases.tsx +27 -0
- package/templates/nova/tests/cases/sections/content/timeline/blocks/Step.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/layout/announcement-bar/AnnouncementBar.cases.tsx +119 -0
- package/templates/nova/tests/cases/sections/layout/breadcrumbs/Breadcrumbs.cases.tsx +73 -0
- package/templates/nova/tests/cases/sections/layout/divider/Divider.cases.tsx +81 -0
- package/templates/nova/tests/cases/sections/layout/footer/Footer.cases.tsx +116 -0
- package/templates/nova/tests/cases/sections/layout/footer/blocks/FooterBrand.cases.tsx +27 -0
- package/templates/nova/tests/cases/sections/layout/footer/blocks/FooterMenu.cases.tsx +22 -0
- package/templates/nova/tests/cases/sections/layout/footer/blocks/FooterText.cases.tsx +20 -0
- package/templates/nova/tests/cases/sections/layout/group/Group.cases.tsx +185 -0
- package/templates/nova/tests/cases/sections/layout/group/blocks/Accordion.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/layout/group/blocks/JumboText.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/layout/group/blocks/Spacer.cases.tsx +33 -0
- package/templates/nova/tests/cases/sections/layout/header/Header.cases.tsx +277 -0
- package/templates/nova/tests/cases/sections/marketing/collection-banner/CollectionBanner.cases.tsx +62 -0
- package/templates/nova/tests/cases/sections/marketing/hero/Hero.cases.tsx +138 -0
- package/templates/nova/tests/cases/sections/marketing/marquee/Marquee.cases.tsx +63 -0
- package/templates/nova/tests/cases/sections/marketing/promo-banner/PromoBanner.cases.tsx +87 -0
- package/templates/nova/tests/cases/sections/marketing/slideshow/Slideshow.cases.tsx +113 -0
- package/templates/nova/tests/cases/sections/marketing/slideshow/blocks/Slide.cases.tsx +26 -0
- package/templates/nova/tests/cases/sections/marketing/video-hero/VideoHero.cases.tsx +72 -0
- package/templates/nova/tests/cases/sections/trust/comparison-table/ComparisonTableSection.cases.tsx +42 -0
- package/templates/nova/tests/cases/sections/trust/comparison-table/blocks/CompareItem.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/trust/logo-list/LogoList.cases.tsx +29 -0
- package/templates/nova/tests/cases/sections/trust/logo-list/blocks/Logo.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/trust/product-reviews/ProductReviews.cases.tsx +51 -0
- package/templates/nova/tests/cases/sections/trust/shop-the-look/ShopTheLook.cases.tsx +51 -0
- package/templates/nova/tests/cases/sections/trust/shop-the-look/blocks/Hotspot.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/trust/testimonials/Testimonials.cases.tsx +61 -0
- package/templates/nova/tests/cases/sections/trust/testimonials/blocks/Testimonial.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/trust/trust-badges/TrustBadges.cases.tsx +30 -0
- package/templates/nova/tests/cases/sections/trust/ugc-gallery/UgcGallery.cases.tsx +32 -0
- package/templates/nova/tests/cases/sections/trust/ugc-gallery/blocks/UgcImage.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/utility/account/Account.cases.tsx +44 -0
- package/templates/nova/tests/cases/sections/utility/cart-items/CartItems.cases.tsx +43 -0
- package/templates/nova/tests/cases/sections/utility/cart-items/blocks/CartBadge.cases.tsx +16 -0
- package/templates/nova/tests/cases/sections/utility/contact-form/ContactFormSection.cases.tsx +52 -0
- package/templates/nova/tests/cases/sections/utility/contact-form/blocks/ContactDetail.cases.tsx +17 -0
- package/templates/nova/tests/cases/sections/utility/newsletter/NewsletterSection.cases.tsx +109 -0
- package/templates/nova/tests/cases/sections/utility/not-found/NotFound.cases.tsx +28 -0
- package/templates/nova/tests/cases/sections/utility/policy-page/PolicyPage.cases.tsx +29 -0
- package/templates/nova/tests/cases/sections/utility/search-results/SearchResultsSection.cases.tsx +39 -0
- package/templates/nova/tests/cases/sections/utility/store-locator/StoreLocator.cases.tsx +40 -0
- package/templates/nova/tests/cases/styles/Borders.cases.tsx +10 -0
- package/templates/nova/tests/cases/styles/Breakpoints.cases.tsx +10 -0
- package/templates/nova/tests/cases/styles/Colors.cases.tsx +10 -0
- package/templates/nova/tests/cases/styles/Elevation.cases.tsx +10 -0
- package/templates/nova/tests/cases/styles/Icon.cases.tsx +23 -0
- package/templates/nova/tests/cases/styles/Layout.cases.tsx +8 -0
- package/templates/nova/tests/cases/styles/Motion.cases.tsx +10 -0
- package/templates/nova/tests/cases/styles/Overview.cases.tsx +8 -0
- package/templates/nova/tests/cases/styles/Radius.cases.tsx +10 -0
- package/templates/nova/tests/cases/styles/SharedThemeSettings.cases.tsx +19 -0
- package/templates/nova/tests/cases/styles/Spacing.cases.tsx +10 -0
- package/templates/nova/tests/cases/styles/Typography.cases.tsx +10 -0
- package/templates/nova/tests/cases.test.tsx +38 -0
- package/templates/nova/tests/components/PromoPopup.test.ts +21 -0
- package/templates/nova/tests/components/RichText.test.tsx +65 -0
- package/templates/nova/tests/components/formatDate.test.ts +10 -0
- package/templates/nova/tests/contract-locks.test.ts +23 -0
- package/templates/nova/tests/contracts.test.ts +153 -0
- package/templates/nova/tests/cookie-consent-privacy.test.tsx +128 -0
- package/templates/nova/tests/empty-store.test.tsx +81 -0
- package/templates/nova/tests/fixtures/commerce.ts +128 -0
- package/templates/nova/tests/fixtures/content.ts +58 -0
- package/templates/nova/tests/fixtures/index.ts +8 -0
- package/templates/nova/tests/fixtures/merch.ts +161 -0
- package/templates/nova/tests/fixtures/navigation.ts +125 -0
- package/templates/nova/tests/fixtures/promotion.ts +43 -0
- package/templates/nova/tests/fixtures/sample-store.json +1674 -0
- package/templates/nova/tests/fixtures/shop.ts +88 -0
- package/templates/nova/tests/fixtures/stress.ts +21 -0
- package/templates/nova/tests/inert.test.tsx +285 -0
- package/templates/nova/tests/line-add-friend.test.tsx +108 -0
- package/templates/nova/tests/localized-copy.test.ts +330 -0
- package/templates/nova/tests/product-template-blocks.test.ts +28 -0
- package/templates/nova/tests/rewards-launcher.test.tsx +401 -0
- package/templates/nova/tests/schema.test.ts +65 -0
- package/templates/nova/tests/schema.typetest.ts +7 -0
- package/templates/nova/tests/section-groups.test.ts +189 -0
- package/templates/nova/tests/sections/Group.test.tsx +37 -0
- package/templates/nova/tests/setup.ts +30 -0
- package/templates/nova/tests/starter.test.ts +56 -0
- package/templates/nova/tests/storefront-click-path.test.tsx +157 -0
- package/templates/nova/tests/styles/button-brand.test.ts +24 -0
- package/templates/nova/tests/styles/theme.test.ts +43 -0
- package/templates/nova/tests/styles/tokens.test.ts +35 -0
- package/templates/nova/tests/support/abi-ctx.ts +136 -0
- package/templates/nova/tests/support/block-stories.tsx +13 -0
- package/templates/nova/tests/support/case.tsx +102 -0
- package/templates/nova/tests/support/contracts.ts +30 -0
- package/templates/nova/tests/support/foundation-pages.tsx +260 -0
- package/templates/nova/tests/support/ia-pages.tsx +154 -0
- package/templates/nova/tests/support/listing-demo.tsx +29 -0
- package/templates/nova/tests/support/presets.ts +14 -0
- package/templates/nova/tests/support/sections.ts +36 -0
- package/templates/nova/tests/support/story-content.ts +321 -0
- package/templates/nova/tests/support/story-helpers.tsx +37 -0
- package/templates/nova/tests/support/with-nova.tsx +26 -0
- package/templates/nova/tests/theme-config.test.ts +82 -0
- package/templates/nova/tests/theme-integrity.test.ts +315 -0
- package/templates/nova/theme.config.ts +134 -0
- package/templates/nova/theme.manifest.json +17495 -0
- package/templates/nova/tsconfig.json +19 -0
- package/templates/nova/vite.abi-ssr.config.ts +37 -0
- package/templates/nova/vite.abi.config.ts +26 -0
- package/templates/nova/vitest.config.ts +20 -0
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
/* ── 12B · 00 shared hero system ───────────────────────────────────────────
|
|
2
|
+
One height ladder, one anchor grid, one overlay floor, one set of controls. */
|
|
3
|
+
.nv-hero,
|
|
4
|
+
.nv-slideshow,
|
|
5
|
+
.nv-video-hero,
|
|
6
|
+
.nv-collection-banner { position: relative; }
|
|
7
|
+
|
|
8
|
+
:is(.nv-hero, .nv-slideshow, .nv-video-hero)[data-size='small'] { --nv-hero-h: var(--hero-height-small); }
|
|
9
|
+
:is(.nv-hero, .nv-slideshow, .nv-video-hero) { --nv-hero-h: var(--hero-height-medium); }
|
|
10
|
+
:is(.nv-hero, .nv-slideshow, .nv-video-hero)[data-size='large'] { --nv-hero-h: var(--hero-height-large); }
|
|
11
|
+
:is(.nv-hero, .nv-slideshow, .nv-video-hero)[data-size='fullscreen'] { --nv-hero-h: var(--hero-height-fullscreen); }
|
|
12
|
+
|
|
13
|
+
.nv-promo-container {
|
|
14
|
+
width: 100%;
|
|
15
|
+
margin-inline: auto;
|
|
16
|
+
padding-inline: var(--page-gutter);
|
|
17
|
+
}
|
|
18
|
+
.nv-promo-container[data-width='standard'] { max-width: calc(var(--container-standard) + 2 * var(--page-gutter)); }
|
|
19
|
+
.nv-promo-container[data-width='wide'] { max-width: calc(var(--container-wide) + 2 * var(--page-gutter)); }
|
|
20
|
+
.nv-promo-container[data-width='full'] { max-width: none; }
|
|
21
|
+
|
|
22
|
+
/* ── 12B · 01 hero ───────────────────────────────────────────────────────── */
|
|
23
|
+
/* Full-bleed media fills the section box: spacing applies to page layouts. */
|
|
24
|
+
.nv-hero[data-layout='image-background'],
|
|
25
|
+
.nv-hero[data-layout='split'] { padding-block: 0; }
|
|
26
|
+
.nv-hero[data-layout='image-background'] .nv-promo-container,
|
|
27
|
+
.nv-hero[data-layout='split'] .nv-promo-container { padding-inline: 0; }
|
|
28
|
+
.nv-hero[data-layout='contained'] .nv-media-frame { border-radius: var(--hero-radius); }
|
|
29
|
+
|
|
30
|
+
.nv-hero .nv-editor-frame { margin-block-end: var(--gap-xl); }
|
|
31
|
+
|
|
32
|
+
/* text-first · minimal: copy on the page. */
|
|
33
|
+
.nv-hero__copy-row { display: grid; }
|
|
34
|
+
.nv-hero[data-layout='text-first'] .nv-hero__copy-row { padding-block-end: var(--gap-xl); }
|
|
35
|
+
.nv-hero[data-layout='text-first'] .nv-hero__media {
|
|
36
|
+
position: relative;
|
|
37
|
+
height: var(--nv-hero-h);
|
|
38
|
+
border-radius: var(--hero-radius);
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
--nv-media-control-block: var(--space-4);
|
|
41
|
+
--nv-media-control-inline: var(--space-4);
|
|
42
|
+
}
|
|
43
|
+
.nv-hero[data-layout='text-first']:is([data-ratio='square'], [data-ratio='portrait']) .nv-hero__media {
|
|
44
|
+
width: auto;
|
|
45
|
+
max-width: 100%;
|
|
46
|
+
margin-inline: auto;
|
|
47
|
+
aspect-ratio: 1;
|
|
48
|
+
}
|
|
49
|
+
.nv-hero[data-layout='text-first'][data-ratio='portrait'] .nv-hero__media { aspect-ratio: 4 / 5; }
|
|
50
|
+
.nv-hero[data-layout='minimal'] .nv-hero-copy__heading { max-width: 16ch; }
|
|
51
|
+
.nv-hero[data-layout='minimal'][data-align='center'] .nv-hero-copy__heading { margin-inline: auto; }
|
|
52
|
+
|
|
53
|
+
/* split: copy beside media; the media side is edge to edge. */
|
|
54
|
+
.nv-hero__split {
|
|
55
|
+
display: grid;
|
|
56
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
57
|
+
min-height: var(--nv-hero-h);
|
|
58
|
+
}
|
|
59
|
+
.nv-hero__split .nv-hero__media {
|
|
60
|
+
position: relative;
|
|
61
|
+
--nv-media-control-block: var(--space-4);
|
|
62
|
+
--nv-media-control-inline: var(--space-4);
|
|
63
|
+
}
|
|
64
|
+
.nv-hero[data-media-position='right'] .nv-hero__split .nv-hero__media { order: 2; }
|
|
65
|
+
.nv-hero[data-ratio='landscape'] .nv-hero__split .nv-hero__media { align-self: center; aspect-ratio: 3 / 2; }
|
|
66
|
+
.nv-hero[data-ratio='square'] .nv-hero__split .nv-hero__media { align-self: center; aspect-ratio: 1; }
|
|
67
|
+
.nv-hero[data-ratio='portrait'] .nv-hero__split .nv-hero__media { align-self: center; aspect-ratio: 4 / 5; }
|
|
68
|
+
.nv-hero__split .nv-hero__copy-row {
|
|
69
|
+
align-content: center;
|
|
70
|
+
padding: var(--hero-inset-block) var(--hero-inset-inline);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Mobile alignment (shared mobileContentAlignment). */
|
|
74
|
+
@media (max-width: 639.98px) {
|
|
75
|
+
[data-mobile-align='left'] .nv-hero-copy { align-items: flex-start; text-align: start; margin-inline: 0; }
|
|
76
|
+
[data-mobile-align='left'] .nv-hero-copy__actions { justify-content: flex-start; }
|
|
77
|
+
[data-mobile-align='left'] .nv-media-frame__anchor { justify-items: start; }
|
|
78
|
+
[data-mobile-align='center'] .nv-hero-copy { align-items: center; text-align: center; margin-inline: auto; }
|
|
79
|
+
[data-mobile-align='center'] .nv-hero-copy__actions { justify-content: center; }
|
|
80
|
+
[data-mobile-align='center'] .nv-media-frame__anchor { justify-items: center; }
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* < 1024: split stacks; mobileMediaPosition decides the order. */
|
|
84
|
+
@media (max-width: 1023.98px) {
|
|
85
|
+
.nv-hero__split { grid-template-columns: minmax(0, 1fr); min-height: 0; }
|
|
86
|
+
.nv-hero .nv-hero__split .nv-hero__media { order: 0; aspect-ratio: 4 / 3; align-self: stretch; }
|
|
87
|
+
.nv-hero[data-mobile-media='after'] .nv-hero__split .nv-hero__media { order: 2; }
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* 390: media is 4:5 (fullscreen = 100svh − header); copy anchors bottom unless middle. */
|
|
91
|
+
@media (max-width: 639.98px) {
|
|
92
|
+
:is(.nv-hero, .nv-slideshow, .nv-video-hero)[data-size='fullscreen'] .nv-media-frame { aspect-ratio: auto; min-height: var(--hero-height-fullscreen); }
|
|
93
|
+
.nv-hero[data-layout='text-first'] .nv-hero__media { height: auto; aspect-ratio: 4 / 5; width: 100%; }
|
|
94
|
+
.nv-hero[data-layout='text-first'][data-ratio='square'] .nv-hero__media { aspect-ratio: 1; }
|
|
95
|
+
.nv-hero .nv-hero__split .nv-hero__media { aspect-ratio: 1; }
|
|
96
|
+
.nv-hero[data-ratio='portrait'] .nv-hero__split .nv-hero__media { aspect-ratio: 4 / 5; }
|
|
97
|
+
.nv-hero__split .nv-hero__copy-row { padding-inline: var(--page-gutter); }
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* ── 12B · 02 slideshow ──────────────────────────────────────────────────── */
|
|
101
|
+
.nv-slideshow__viewport { position: relative; overflow: hidden; }
|
|
102
|
+
.nv-slideshow__track { display: grid; }
|
|
103
|
+
.nv-slideshow__slide { grid-area: 1 / 1; min-width: 0; }
|
|
104
|
+
/* fade (and always under reduced motion): slides stacked, 400ms crossfade. */
|
|
105
|
+
.nv-slideshow[data-transition='fade'] .nv-slideshow__slide {
|
|
106
|
+
opacity: 0;
|
|
107
|
+
visibility: hidden;
|
|
108
|
+
transition: opacity var(--duration-hero) var(--ease-standard), visibility 0s linear var(--duration-hero);
|
|
109
|
+
}
|
|
110
|
+
.nv-slideshow[data-transition='fade'] .nv-slideshow__slide[data-active] { opacity: 1; visibility: visible; transition-delay: 0s; }
|
|
111
|
+
/* slide: a track moved by the index (mirrors in RTL). */
|
|
112
|
+
.nv-slideshow[data-transition='slide'] .nv-slideshow__track {
|
|
113
|
+
grid-auto-flow: column;
|
|
114
|
+
grid-auto-columns: 100%;
|
|
115
|
+
transform: translateX(calc(var(--nv-slide-index) * -100%));
|
|
116
|
+
transition: transform var(--duration-hero) var(--ease-standard);
|
|
117
|
+
}
|
|
118
|
+
.nv-slideshow[data-transition='slide'] .nv-slideshow__slide { grid-area: auto; }
|
|
119
|
+
[dir='rtl'] .nv-slideshow[data-transition='slide'] .nv-slideshow__track { transform: translateX(calc(var(--nv-slide-index) * 100%)); }
|
|
120
|
+
.nv-slideshow:not([data-single]) .nv-promo-container[data-width='full'] { padding-inline: 0; }
|
|
121
|
+
.nv-slideshow[data-single] .nv-promo-container[data-width='full'] { padding-inline: 0; }
|
|
122
|
+
.nv-slideshow .nv-promo-container:not([data-width='full']) .nv-slideshow__viewport,
|
|
123
|
+
.nv-slideshow[data-single] .nv-promo-container:not([data-width='full']) .nv-media-frame { border-radius: var(--hero-radius); }
|
|
124
|
+
|
|
125
|
+
/* The control cluster: bottom inline-end / start / centre, level with the copy's last line. */
|
|
126
|
+
.nv-slideshow__controls {
|
|
127
|
+
position: absolute;
|
|
128
|
+
z-index: var(--z-raised);
|
|
129
|
+
inset-block-end: var(--hero-inset-block);
|
|
130
|
+
inset-inline-end: var(--hero-inset-inline);
|
|
131
|
+
}
|
|
132
|
+
.nv-slideshow[data-controls-position='bottom-left'] .nv-slideshow__controls { inset-inline: var(--hero-inset-inline) auto; }
|
|
133
|
+
.nv-slideshow[data-controls-position='bottom-center'] .nv-slideshow__controls { inset-inline: 0; margin-inline: auto; width: max-content; }
|
|
134
|
+
|
|
135
|
+
/* 390: arrows drop (swipe); the controls are a full-width row under the copy. */
|
|
136
|
+
@media (max-width: 639.98px) {
|
|
137
|
+
.nv-slideshow__controls,
|
|
138
|
+
.nv-slideshow[data-controls-position] .nv-slideshow__controls {
|
|
139
|
+
inset-inline: var(--hero-inset-inline);
|
|
140
|
+
inset-block-end: var(--space-3);
|
|
141
|
+
width: auto;
|
|
142
|
+
margin: 0;
|
|
143
|
+
}
|
|
144
|
+
.nv-slideshow:not([data-single]) .nv-media-frame__anchor { padding-block-end: calc(var(--touch-target) + var(--space-5)); }
|
|
145
|
+
/* The floor gradient runs on under the control row. */
|
|
146
|
+
.nv-slideshow:not([data-single]) .nv-media-frame__copy::before { inset-block-end: calc(-1 * (var(--touch-target) + var(--space-5))); }
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* ── 12B · 03 video-hero ─────────────────────────────────────────────────── */
|
|
150
|
+
.nv-video-hero .nv-promo-container[data-width='full'] { padding-inline: 0; }
|
|
151
|
+
.nv-video-hero .nv-promo-container:not([data-width='full']) .nv-media-frame { border-radius: var(--hero-radius); }
|
|
152
|
+
|
|
153
|
+
/* ── 12B · 04 promo-banner ───────────────────────────────────────────────── */
|
|
154
|
+
.nv-promo__band {
|
|
155
|
+
--nv-promo-bg: var(--color-bg-inverse);
|
|
156
|
+
--nv-promo-fg: var(--color-fg-inverse);
|
|
157
|
+
display: flex;
|
|
158
|
+
flex-wrap: wrap;
|
|
159
|
+
align-items: center;
|
|
160
|
+
gap: var(--gap-lg) var(--gap-xl);
|
|
161
|
+
padding: var(--promo-pad-block) var(--promo-pad-inline);
|
|
162
|
+
border-radius: var(--hero-radius);
|
|
163
|
+
background: var(--nv-promo-bg);
|
|
164
|
+
color: var(--nv-promo-fg);
|
|
165
|
+
}
|
|
166
|
+
.nv-promo__band[data-style='muted'] { --nv-promo-bg: var(--color-bg-muted); --nv-promo-fg: var(--color-fg); --nv-countdown-bg: var(--color-bg); }
|
|
167
|
+
.nv-promo__band[data-style='brand'] { --nv-promo-bg: var(--color-brand); --nv-promo-fg: var(--color-brand-contrast); }
|
|
168
|
+
.nv-promo__band[data-style='brand'] .nv-promo__cta.nv-btn { background: var(--nv-promo-fg); color: var(--nv-promo-bg); }
|
|
169
|
+
.nv-promo__band[data-ended] .nv-promo__heading { color: var(--color-fg-muted); }
|
|
170
|
+
.nv-promo__copy { flex: 1 1 20rem; display: grid; gap: var(--space-1); max-width: var(--nv-promo-measure, none); }
|
|
171
|
+
.nv-promo__band[data-width='narrow'] { --nv-promo-measure: var(--container-narrow); }
|
|
172
|
+
.nv-promo__band[data-width='content'] { --nv-promo-measure: var(--hero-measure-medium); }
|
|
173
|
+
.nv-promo__eyebrow { font-size: var(--type-body-sm); font-weight: var(--weight-medium); }
|
|
174
|
+
.nv-promo__heading {
|
|
175
|
+
font-size: var(--type-h2);
|
|
176
|
+
line-height: var(--leading-h2);
|
|
177
|
+
letter-spacing: var(--tracking-h2);
|
|
178
|
+
font-weight: var(--weight-heading);
|
|
179
|
+
text-wrap: balance;
|
|
180
|
+
}
|
|
181
|
+
/* headerSize → the SectionHead ladder: small h3 · medium h2 · large h1. */
|
|
182
|
+
.nv-promo__heading[data-size='small'] { font-size: var(--type-h3); line-height: var(--leading-h3); letter-spacing: var(--tracking-h3); }
|
|
183
|
+
.nv-promo__heading[data-size='large'] { font-size: var(--type-h1); line-height: var(--leading-h1); letter-spacing: var(--tracking-h1); }
|
|
184
|
+
.nv-promo__cta.nv-btn[data-size='lg'] { min-height: var(--space-7); }
|
|
185
|
+
.nv-promo__band[data-align='center'] { flex-direction: column; text-align: center; }
|
|
186
|
+
.nv-promo__band[data-align='center'] .nv-promo__copy { flex: none; justify-items: center; }
|
|
187
|
+
.nv-promo .nv-editor-frame { margin-block-end: var(--gap-md); }
|
|
188
|
+
|
|
189
|
+
@media (max-width: 639.98px) {
|
|
190
|
+
.nv-promo__band { flex-direction: column; align-items: stretch; }
|
|
191
|
+
.nv-promo__copy { flex: none; }
|
|
192
|
+
.nv-promo__cta.nv-btn { width: 100%; }
|
|
193
|
+
.nv-promo[data-mobile-align='center'] .nv-promo__band { text-align: center; }
|
|
194
|
+
.nv-promo[data-mobile-align='left'] .nv-promo__band { text-align: start; }
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/* ── 12B · 05 marquee ────────────────────────────────────────────────────── */
|
|
198
|
+
.nv-marquee {
|
|
199
|
+
--nv-marquee-h: var(--marquee-height-medium);
|
|
200
|
+
/* The track is wider than the band: never let it size the band (or the page). */
|
|
201
|
+
contain: inline-size;
|
|
202
|
+
--nv-marquee-text: var(--marquee-text-medium);
|
|
203
|
+
position: relative;
|
|
204
|
+
display: flex;
|
|
205
|
+
align-items: center;
|
|
206
|
+
min-height: var(--nv-marquee-h);
|
|
207
|
+
overflow: hidden;
|
|
208
|
+
background: var(--color-bg);
|
|
209
|
+
color: var(--color-fg);
|
|
210
|
+
font-size: var(--nv-marquee-text);
|
|
211
|
+
font-weight: var(--weight-medium);
|
|
212
|
+
line-height: var(--leading-tight);
|
|
213
|
+
}
|
|
214
|
+
.nv-marquee[data-size='small'] { --nv-marquee-h: var(--marquee-height-small); --nv-marquee-text: var(--marquee-text-small); }
|
|
215
|
+
.nv-marquee[data-size='large'] {
|
|
216
|
+
--nv-marquee-h: var(--marquee-height-large);
|
|
217
|
+
--nv-marquee-text: var(--marquee-text-large);
|
|
218
|
+
letter-spacing: var(--tracking-h1);
|
|
219
|
+
}
|
|
220
|
+
/* surface adds hairlines above and below. */
|
|
221
|
+
.nv-marquee[data-bg='surface'] { border-block: var(--border-subtle); }
|
|
222
|
+
.nv-marquee[data-bg='surface-secondary'] { background: var(--color-bg-muted); }
|
|
223
|
+
.nv-marquee[data-bg='primary'] { background: var(--color-bg-inverse); color: var(--color-fg-inverse); }
|
|
224
|
+
|
|
225
|
+
.nv-marquee__viewport {
|
|
226
|
+
flex: 1;
|
|
227
|
+
min-width: 0;
|
|
228
|
+
overflow: hidden;
|
|
229
|
+
/* The fade mask behind the pause button at the inline end. */
|
|
230
|
+
mask-image: linear-gradient(to right, #000 calc(100% - var(--space-9)), transparent calc(100% - var(--touch-target) / 2));
|
|
231
|
+
}
|
|
232
|
+
[dir='rtl'] .nv-marquee__viewport { mask-image: linear-gradient(to left, #000 calc(100% - var(--space-9)), transparent calc(100% - var(--touch-target) / 2)); }
|
|
233
|
+
.nv-marquee__track { display: flex; width: max-content; }
|
|
234
|
+
.nv-marquee__unit { display: inline-flex; align-items: center; flex: none; white-space: nowrap; }
|
|
235
|
+
.nv-marquee__text { padding-inline-start: var(--space-6); }
|
|
236
|
+
.nv-marquee__dot {
|
|
237
|
+
width: 0.3em;
|
|
238
|
+
height: 0.3em;
|
|
239
|
+
margin-inline-start: var(--space-6);
|
|
240
|
+
border-radius: var(--radius-circle);
|
|
241
|
+
background: currentColor;
|
|
242
|
+
opacity: 0.45;
|
|
243
|
+
}
|
|
244
|
+
.nv-marquee[data-state='moving'] .nv-marquee__track { animation: nv-marquee var(--nv-marquee-duration) linear infinite; }
|
|
245
|
+
.nv-marquee[data-state='moving'][data-direction='right'] .nv-marquee__track { animation-direction: reverse; }
|
|
246
|
+
.nv-marquee[data-hover-pause]:hover .nv-marquee__track { animation-play-state: paused; }
|
|
247
|
+
@keyframes nv-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
|
|
248
|
+
[dir='rtl'] .nv-marquee[data-state='moving'] .nv-marquee__track { animation-name: nv-marquee-rtl; }
|
|
249
|
+
@keyframes nv-marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
|
|
250
|
+
|
|
251
|
+
.nv-marquee__pause.nv-icon-btn { position: absolute; inset-inline-end: var(--space-2); flex: none; }
|
|
252
|
+
/* The text stops before the pause button instead of running under it: the
|
|
253
|
+
viewport ends where the button begins, and fades out over its last stretch. */
|
|
254
|
+
.nv-marquee:has(.nv-marquee__pause) .nv-marquee__viewport {
|
|
255
|
+
margin-inline-end: calc(var(--touch-target) + var(--space-2) * 2);
|
|
256
|
+
mask-image: linear-gradient(to right, #000 calc(100% - var(--space-9)), transparent 100%);
|
|
257
|
+
}
|
|
258
|
+
[dir='rtl'] .nv-marquee:has(.nv-marquee__pause) .nv-marquee__viewport { mask-image: linear-gradient(to left, #000 calc(100% - var(--space-9)), transparent 100%); }
|
|
259
|
+
.nv-marquee[data-size='small']:has(.nv-marquee__pause) .nv-marquee__viewport { margin-inline-end: calc(var(--space-6) + var(--space-2) * 2); }
|
|
260
|
+
.nv-marquee[data-size='small'] .nv-marquee__pause.nv-icon-btn { width: var(--space-6); height: var(--space-6); }
|
|
261
|
+
.nv-marquee[data-size='small'] .nv-marquee__pause.nv-icon-btn::after { content: ''; position: absolute; inset: calc((var(--space-6) - var(--touch-target)) / 2); }
|
|
262
|
+
.nv-marquee__pause.nv-icon-btn { box-shadow: inset 0 0 0 var(--border-width) currentColor; }
|
|
263
|
+
|
|
264
|
+
/* Reduced motion: static, centred, shown once, allowed to wrap. */
|
|
265
|
+
.nv-marquee__static { flex: 1; padding: var(--space-3) var(--page-gutter); text-align: center; }
|
|
266
|
+
|
|
267
|
+
/* ── 12B · 06 collection-banner ──────────────────────────────────────────── */
|
|
268
|
+
.nv-collection-banner { --nv-hero-h: var(--banner-height-md); }
|
|
269
|
+
.nv-collection-banner[data-height='compact'] { --nv-hero-h: var(--banner-height-compact); }
|
|
270
|
+
.nv-collection-banner[data-height='lg'] { --nv-hero-h: var(--banner-height-lg); }
|
|
271
|
+
.nv-collection-banner .nv-promo-container[data-width='full'] { padding-inline: 0; }
|
|
272
|
+
.nv-collection-banner[data-kind='image'] .nv-promo-container:not([data-width='full']) .nv-media-frame { border-radius: var(--hero-radius); }
|
|
273
|
+
.nv-collection-banner[data-kind='text'] .nv-promo-container[data-width='full'] { padding-inline: var(--page-gutter); }
|
|
274
|
+
|
|
275
|
+
.nv-collection-banner__copy {
|
|
276
|
+
display: grid;
|
|
277
|
+
justify-items: start;
|
|
278
|
+
gap: var(--gap-sm);
|
|
279
|
+
max-width: var(--nv-banner-measure, var(--container-content));
|
|
280
|
+
}
|
|
281
|
+
.nv-collection-banner__copy[data-width='narrow'] { --nv-banner-measure: var(--container-narrow); }
|
|
282
|
+
.nv-collection-banner__copy[data-width='standard'] { --nv-banner-measure: var(--container-standard); }
|
|
283
|
+
.nv-collection-banner__copy[data-align='center'] { justify-items: center; text-align: center; margin-inline: auto; }
|
|
284
|
+
.nv-collection-banner__copy[data-nv-surface='inverse'] { color: var(--color-fg-inverse); }
|
|
285
|
+
.nv-collection-banner__copy[data-nv-surface='inverse'] :is(.nv-breadcrumb, .nv-breadcrumb a, .nv-breadcrumb__current, .nv-collection-banner__desc) { color: var(--color-fg-inverse); }
|
|
286
|
+
.nv-collection-banner__title {
|
|
287
|
+
font-size: var(--banner-display-medium);
|
|
288
|
+
line-height: var(--leading-display);
|
|
289
|
+
letter-spacing: var(--tracking-display);
|
|
290
|
+
font-weight: var(--weight-heading);
|
|
291
|
+
text-wrap: balance;
|
|
292
|
+
display: -webkit-box;
|
|
293
|
+
-webkit-box-orient: vertical;
|
|
294
|
+
-webkit-line-clamp: 3;
|
|
295
|
+
overflow: hidden;
|
|
296
|
+
}
|
|
297
|
+
.nv-collection-banner__title[data-size='small'] { font-size: var(--hero-display-small); }
|
|
298
|
+
.nv-collection-banner__title[data-size='large'] { font-size: var(--hero-display-large); }
|
|
299
|
+
.nv-root :lang(th) .nv-collection-banner__title,
|
|
300
|
+
.nv-root:lang(th) .nv-collection-banner__title,
|
|
301
|
+
.nv-root[dir='rtl'] .nv-collection-banner__title { letter-spacing: 0; line-height: var(--leading-h4); }
|
|
302
|
+
.nv-collection-banner__desc {
|
|
303
|
+
max-width: 56ch;
|
|
304
|
+
font-size: var(--type-body-lg);
|
|
305
|
+
line-height: var(--leading-snug);
|
|
306
|
+
color: var(--color-fg-muted);
|
|
307
|
+
}
|
|
308
|
+
.nv-collection-banner__more {
|
|
309
|
+
min-height: var(--touch-target);
|
|
310
|
+
font-weight: var(--weight-medium);
|
|
311
|
+
text-decoration: underline;
|
|
312
|
+
text-underline-offset: var(--underline-offset-lg);
|
|
313
|
+
}
|
|
314
|
+
@media (min-width: 640px) {
|
|
315
|
+
.nv-collection-banner__more { display: none; }
|
|
316
|
+
}
|
|
317
|
+
/* No image: a calm text banner, height auto (56 / 40 padding). */
|
|
318
|
+
.nv-collection-banner__text { padding-block: calc(var(--space-7) + var(--space-2)) calc(var(--space-6) + var(--space-2)); }
|
|
319
|
+
|
|
320
|
+
@media (max-width: 639.98px) {
|
|
321
|
+
.nv-collection-banner { --nv-hero-h: var(--banner-height-md-mobile); }
|
|
322
|
+
.nv-collection-banner[data-height='compact'] { --nv-hero-h: var(--banner-height-compact-mobile); }
|
|
323
|
+
.nv-collection-banner[data-height='lg'] { --nv-hero-h: var(--banner-height-lg-mobile); }
|
|
324
|
+
/* Banners keep their own shorter ladder at 390 (not the hero 4:5). */
|
|
325
|
+
.nv-collection-banner .nv-media-frame { aspect-ratio: auto; min-height: var(--nv-hero-h); }
|
|
326
|
+
.nv-collection-banner__desc:not([data-expanded]) {
|
|
327
|
+
display: -webkit-box;
|
|
328
|
+
-webkit-box-orient: vertical;
|
|
329
|
+
-webkit-line-clamp: 3;
|
|
330
|
+
overflow: hidden;
|
|
331
|
+
}
|
|
332
|
+
.nv-collection-banner__text { padding-block: var(--space-7) var(--space-6); }
|
|
333
|
+
}
|
|
334
|
+
/* line-add-friend: the head over LINE's button, both on the section's alignment */
|
|
335
|
+
.nv-line-section .nv-section-container { display: flex; flex-direction: column; align-items: flex-start; }
|
|
336
|
+
.nv-line-section[data-align='center'] .nv-section-container { align-items: center; }
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/* ── 12F · Trust & Advanced Commerce ─────────────────────────────────────── */
|
|
2
|
+
|
|
3
|
+
.nv-trust__editor-note { display: inline-flex; align-items: center; min-height: 24px; margin-block-end: var(--space-4); padding-inline: var(--space-2); border-radius: var(--radius-sm); background: var(--color-warning-surface); color: var(--color-warning-ink); font-size: var(--type-caption); }
|
|
4
|
+
|
|
5
|
+
/* ── 01 testimonials: 1 card + a peek at 390; spotlight = one large quote. */
|
|
6
|
+
.nv-testimonials .nv-row { --carousel-peek: 1.12; }
|
|
7
|
+
.nv-testimonials__root { min-width: 0; contain: inline-size; }
|
|
8
|
+
.nv-testimonials[data-columns='1'] .nv-row__list { max-width: var(--container-content); }
|
|
9
|
+
.nv-testimonials[data-columns='1'] .nv-row[data-layout='carousel'] .nv-row__list { max-width: none; }
|
|
10
|
+
|
|
11
|
+
/* ── 02 logo-list: max height per logoHeight; grey at 60% ink, colour on hover / focus. */
|
|
12
|
+
.nv-logos { --nv-logo-h: 28px; }
|
|
13
|
+
.nv-logos[data-size='small'] { --nv-logo-h: 24px; }
|
|
14
|
+
.nv-logos[data-size='large'] { --nv-logo-h: 40px; }
|
|
15
|
+
.nv-logos__label { margin-block-end: var(--space-5); color: var(--color-fg-muted); }
|
|
16
|
+
.nv-logos[data-align='center'] .nv-logos__label { text-align: center; }
|
|
17
|
+
.nv-logos__list { display: grid; grid-template-columns: repeat(var(--nv-cols), minmax(0, 1fr)); gap: var(--space-5) var(--space-6); align-items: center; }
|
|
18
|
+
.nv-logos[data-few] .nv-logos__list { display: flex; flex-wrap: wrap; justify-content: center; }
|
|
19
|
+
.nv-logos__cell { display: flex; align-items: center; justify-content: center; min-height: 48px; min-width: 0; }
|
|
20
|
+
.nv-logos__cell img { display: block; width: auto; max-width: 100%; height: auto; max-height: var(--nv-logo-h); object-fit: contain; transition: filter var(--duration-fast) var(--ease-standard), opacity var(--duration-fast) var(--ease-standard); }
|
|
21
|
+
.nv-logos[data-grey] .nv-logos__cell img { filter: grayscale(1); opacity: 0.6; }
|
|
22
|
+
.nv-logos[data-grey] .nv-logos__cell:is(:hover, :focus-within) img { filter: none; opacity: 1; }
|
|
23
|
+
.nv-logos__link { display: inline-flex; align-items: center; justify-content: center; min-height: var(--touch-target); min-width: var(--touch-target); border-radius: var(--radius-sm); }
|
|
24
|
+
.nv-logos__link:focus-visible { outline: var(--focus-ring-width) solid var(--color-focus); outline-offset: 4px; }
|
|
25
|
+
.nv-logos__name { font-size: var(--type-body-sm); font-weight: var(--weight-medium); letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-fg-muted); text-align: center; }
|
|
26
|
+
@media (max-width: 639.98px) {
|
|
27
|
+
.nv-logos { --nv-logo-h: 24px; }
|
|
28
|
+
.nv-logos[data-size='small'] { --nv-logo-h: 20px; }
|
|
29
|
+
.nv-logos[data-size='large'] { --nv-logo-h: 28px; }
|
|
30
|
+
.nv-logos__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* ── 03 trust-badges: icon · title · detail; hairline dividers; 2 × 2 at 390 without. */
|
|
34
|
+
.nv-badges__list { display: grid; grid-template-columns: repeat(var(--nv-cols), minmax(0, 1fr)); gap: var(--space-5) 0; }
|
|
35
|
+
.nv-badges__item { display: flex; align-items: flex-start; gap: var(--space-3); min-width: 0; padding-inline: var(--space-6); }
|
|
36
|
+
.nv-badges__item:first-child { padding-inline-start: 0; }
|
|
37
|
+
.nv-badges[data-dividers] .nv-badges__item + .nv-badges__item { border-inline-start: 1px solid var(--color-border); }
|
|
38
|
+
.nv-badges__item .nv-icon { flex: none; margin-block-start: 1px; }
|
|
39
|
+
.nv-badges__text { display: grid; gap: 2px; min-width: 0; }
|
|
40
|
+
.nv-badges__title { font-size: 0.9375rem; font-weight: var(--weight-medium); line-height: 1.35; }
|
|
41
|
+
.nv-badges__title a { color: inherit; text-decoration: underline; text-decoration-color: var(--color-border-emphasis); text-underline-offset: var(--underline-offset); }
|
|
42
|
+
.nv-badges__detail { font-size: var(--type-body-sm); line-height: 1.4; color: var(--color-fg-muted); }
|
|
43
|
+
.nv-badges[data-badge-align='center'] .nv-badges__item { flex-direction: column; align-items: center; text-align: center; }
|
|
44
|
+
.nv-badges[data-style='compact'] .nv-badges__list { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); }
|
|
45
|
+
.nv-badges[data-style='compact'] .nv-badges__item { align-items: center; padding: 0; border: 0; }
|
|
46
|
+
.nv-badges[data-style='compact'] .nv-badges__item .nv-icon { margin: 0; }
|
|
47
|
+
.nv-badges[data-style='compact'] .nv-badges__title { font-size: var(--type-body-sm); white-space: nowrap; }
|
|
48
|
+
.nv-badges[data-style='compact'][data-badge-align='center'] .nv-badges__list { justify-content: center; }
|
|
49
|
+
.nv-badges[data-style='compact'][data-badge-align='center'] .nv-badges__item { flex-direction: row; }
|
|
50
|
+
@media (max-width: 1023.98px) {
|
|
51
|
+
.nv-badges[data-style='row'] .nv-badges__list { grid-template-columns: repeat(min(var(--nv-cols), 2), minmax(0, 1fr)); gap: var(--space-6) var(--space-5); }
|
|
52
|
+
.nv-badges[data-style='row'] .nv-badges__item { padding: 0; border: 0 !important; }
|
|
53
|
+
}
|
|
54
|
+
@media (max-width: 639.98px) {
|
|
55
|
+
.nv-badges[data-style='row'] .nv-badges__item { flex-direction: column; gap: var(--space-2); }
|
|
56
|
+
.nv-badges[data-style='row'][data-badge-align='center'] .nv-badges__item { align-items: center; }
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* ── 04 product-reviews: summary beside (≈ 1 / 3) from 1024; stacked below. */
|
|
60
|
+
.nv-reviews__grid { display: grid; gap: var(--space-7); }
|
|
61
|
+
.nv-reviews__summary { display: grid; gap: var(--space-5); align-content: start; }
|
|
62
|
+
.nv-reviews__summary .nv-section-head { margin-block-end: 0; }
|
|
63
|
+
.nv-reviews__write { max-width: 24rem; }
|
|
64
|
+
.nv-reviews__tools { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-block-end: var(--space-4); border-block-end: 1px solid var(--color-border); }
|
|
65
|
+
.nv-reviews__filters { display: flex; gap: var(--space-2); overflow-x: auto; scrollbar-width: none; }
|
|
66
|
+
.nv-reviews__sort { width: auto; }
|
|
67
|
+
.nv-reviews__list { list-style: none; margin: 0; padding: 0; }
|
|
68
|
+
.nv-reviews__more { display: flex; justify-content: center; padding-block-start: var(--space-5); }
|
|
69
|
+
.nv-reviews__none { margin-block: var(--space-2) var(--space-5); color: var(--color-fg-muted); }
|
|
70
|
+
@media (min-width: 1024px) {
|
|
71
|
+
.nv-reviews[data-layout='summary-left'] .nv-reviews__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 9fr); gap: var(--space-8); }
|
|
72
|
+
.nv-reviews[data-layout='summary-left'] .nv-reviews__summary { position: sticky; top: var(--space-6); }
|
|
73
|
+
.nv-reviews[data-layout='stacked'] .nv-reviews__summary { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-7); }
|
|
74
|
+
.nv-reviews[data-layout='stacked'] .nv-reviews__summary > .nv-section-head { grid-column: 1 / -1; }
|
|
75
|
+
.nv-reviews[data-layout='stacked'] .nv-reviews__bars { grid-column: 2; grid-row: 2 / span 2; }
|
|
76
|
+
}
|
|
77
|
+
@media (max-width: 639.98px) {
|
|
78
|
+
.nv-reviews__bars { display: none; }
|
|
79
|
+
.nv-reviews__grid { gap: var(--space-5); }
|
|
80
|
+
.nv-reviews__write { max-width: none; }
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* ── 05 ugc-gallery: square tiles; 2.2 visible at 390. */
|
|
84
|
+
.nv-ugc .nv-row { --carousel-peek: 2.2; --nv-row-gap-x: var(--space-3); --nv-row-gap-y: var(--space-3); }
|
|
85
|
+
.nv-ugc__cta { display: inline-flex; align-items: center; gap: var(--space-1); min-height: var(--touch-target); color: var(--color-fg); font-size: var(--type-body-sm); font-weight: var(--weight-medium); text-decoration: underline; text-underline-offset: var(--underline-offset-lg); white-space: nowrap; }
|
|
86
|
+
|
|
87
|
+
/* ── 06 shop-the-look: 4:5 image ≈ 56%, the list beside; image first at 390. */
|
|
88
|
+
.nv-look__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-7); align-items: start; }
|
|
89
|
+
.nv-look[data-media='end'] .nv-look__media { order: 2; }
|
|
90
|
+
.nv-look__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-media); background: var(--color-media-bg); }
|
|
91
|
+
.nv-look__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
|
|
92
|
+
.nv-look__panel { display: grid; gap: var(--space-5); align-content: start; }
|
|
93
|
+
.nv-look__panel .nv-section-head { margin-block-end: 0; }
|
|
94
|
+
.nv-look__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
|
|
95
|
+
.nv-look__all { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block-start: var(--space-5); border-block-start: 1px solid var(--color-border); }
|
|
96
|
+
.nv-look__total { font-size: var(--type-body-sm); color: var(--color-fg-muted); }
|
|
97
|
+
.nv-look__all-total { display: none; }
|
|
98
|
+
.nv-look__message { font-size: var(--type-body-sm); color: var(--color-fg-muted); }
|
|
99
|
+
.nv-look__message:empty { display: none; }
|
|
100
|
+
@media (min-width: 1024px) { .nv-look__panel { padding-block-start: var(--space-2); } }
|
|
101
|
+
@media (max-width: 1023.98px) { .nv-look__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); } .nv-look[data-media='end'] .nv-look__media { order: 0; } }
|
|
102
|
+
@media (max-width: 639.98px) {
|
|
103
|
+
.nv-look__panel .nv-section-head { order: -2; }
|
|
104
|
+
.nv-look__list { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline-end: calc(-1 * var(--page-gutter)); padding-inline-end: var(--page-gutter); }
|
|
105
|
+
.nv-look__list .nv-look-item { scroll-snap-align: start; grid-template-columns: 24px auto minmax(0, 1fr); background: var(--color-bg-muted); }
|
|
106
|
+
.nv-look__list .nv-look-item[data-variant='compact'] { padding-inline: var(--space-3); border: 0; border-radius: var(--radius-md); grid-template-columns: 24px minmax(0, 1fr); }
|
|
107
|
+
.nv-look__list .nv-look-item__media { width: 56px; height: 56px; }
|
|
108
|
+
.nv-look__list .nv-look-item__add { display: none; }
|
|
109
|
+
.nv-look__all { display: block; padding: 0; border: 0; }
|
|
110
|
+
.nv-look__all .nv-btn { width: 100%; }
|
|
111
|
+
.nv-look__total { display: none; }
|
|
112
|
+
.nv-look__all-total { display: inline; }
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/* ── 07 comparison-table */
|
|
116
|
+
.nv-compare-section .nv-section-head__link .nv-choice { flex-direction: row-reverse; gap: var(--space-3); }
|
|
117
|
+
.nv-compare-section__bare { display: flex; justify-content: flex-end; margin-block-end: var(--space-4); }
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
/* ── 12G · Utility & Customer Experience ─────────────────────────────────── */
|
|
2
|
+
|
|
3
|
+
/* Page titles: headerSize small 24 · medium 32 · large 48 (h1 scale). */
|
|
4
|
+
.nv-utility__title, .nv-cart__title, .nv-search__title { font-size: var(--type-h1); line-height: 1.1; letter-spacing: var(--tracking-h1); font-weight: var(--weight-heading); text-wrap: balance; }
|
|
5
|
+
:is(.nv-utility__title, .nv-cart__title, .nv-search__title)[data-size='medium'] { font-size: var(--type-h2); letter-spacing: var(--tracking-h2); }
|
|
6
|
+
:is(.nv-utility__title, .nv-cart__title, .nv-search__title)[data-size='small'] { font-size: var(--type-h3); letter-spacing: var(--tracking-h3); }
|
|
7
|
+
.nv-utility__editor-note { margin-block-start: var(--space-5); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--color-warning-surface); color: var(--color-warning-ink); font-size: var(--type-caption); }
|
|
8
|
+
/* contentWidth → the measure these sections read. */
|
|
9
|
+
:is(.nv-account__home, .nv-newsletter, .nv-contact__grid, .nv-not-found__inner, .nv-policy__body)[data-measure='narrow'] { --nv-measure: var(--container-narrow); }
|
|
10
|
+
:is(.nv-account__home, .nv-newsletter, .nv-contact__grid, .nv-not-found__inner, .nv-policy__body)[data-measure='content'] { --nv-measure: var(--container-content); }
|
|
11
|
+
:is(.nv-account__home, .nv-newsletter, .nv-contact__grid, .nv-not-found__inner, .nv-policy__body)[data-measure='standard'] { --nv-measure: var(--container-standard); }
|
|
12
|
+
|
|
13
|
+
/* ── 01 cart-items: lines ≈ 2 / 3, sticky summary ≈ 1 / 3 from 1024. */
|
|
14
|
+
.nv-cart__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-block-end: var(--space-6); }
|
|
15
|
+
.nv-cart__continue { display: inline-flex; align-items: center; min-height: var(--touch-target); color: var(--color-fg); font-size: var(--type-body-sm); font-weight: var(--weight-medium); text-decoration: underline; text-underline-offset: var(--underline-offset-lg); white-space: nowrap; }
|
|
16
|
+
.nv-cart__grid { display: grid; gap: var(--space-7); align-items: start; }
|
|
17
|
+
.nv-cart__cols { display: grid; grid-template-columns: minmax(0, 1fr) 7.5rem 6rem; gap: var(--space-4); padding-block-end: var(--space-3); border-block-end: 1px solid var(--color-fg); font-size: var(--type-caption); color: var(--color-fg-muted); }
|
|
18
|
+
.nv-cart__cols span:nth-child(2) { text-align: center; }
|
|
19
|
+
.nv-cart__cols span:last-child { text-align: end; }
|
|
20
|
+
.nv-cart__list { list-style: none; margin: 0; padding: 0; }
|
|
21
|
+
.nv-cart__removed { padding-block: var(--space-4); font-size: var(--type-body-sm); color: var(--color-fg-muted); }
|
|
22
|
+
.nv-cart__removed button { min-height: 24px; padding: 0; border: 0; background: none; color: var(--color-fg); font: inherit; font-weight: var(--weight-medium); text-decoration: underline; text-underline-offset: var(--underline-offset); cursor: pointer; }
|
|
23
|
+
.nv-cart__note { display: grid; gap: var(--space-2); max-width: 30rem; margin-block-start: var(--space-6); font-size: var(--type-body-sm); font-weight: var(--weight-medium); }
|
|
24
|
+
.nv-cart__note .nv-textarea { font-weight: 400; }
|
|
25
|
+
.nv-cart__empty { display: grid; gap: var(--space-4); justify-items: start; max-width: 36rem; }
|
|
26
|
+
.nv-cart__empty-hint { color: var(--color-fg-muted); }
|
|
27
|
+
.nv-cart__suggest { margin-block-start: var(--space-8); }
|
|
28
|
+
.nv-cart__suggest-title { margin-block-end: var(--space-5); font-size: 1.25rem; font-weight: var(--weight-heading); letter-spacing: 0; }
|
|
29
|
+
.nv-cart__suggest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--card-gap-y) var(--card-gap-x); list-style: none; margin: 0; padding: 0; }
|
|
30
|
+
@media (min-width: 1024px) {
|
|
31
|
+
.nv-cart[data-summary='right'] .nv-cart__grid { grid-template-columns: minmax(0, 2fr) minmax(20rem, 1fr); gap: var(--space-8); }
|
|
32
|
+
.nv-cart[data-summary='right'] .nv-cart__summary { position: sticky; top: var(--space-6); }
|
|
33
|
+
.nv-cart[data-summary='below'] .nv-cart__summary { justify-self: end; width: min(100%, 26rem); }
|
|
34
|
+
}
|
|
35
|
+
@media (max-width: 1023.98px) { .nv-cart__cols { display: none; } }
|
|
36
|
+
@media (max-width: 639.98px) {
|
|
37
|
+
.nv-cart__suggest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
38
|
+
.nv-cart__empty .nv-btn { width: 100%; }
|
|
39
|
+
.nv-cart__head { margin-block-end: var(--space-3); }
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* ── 02 search-results */
|
|
43
|
+
.nv-search .nv-search-field { margin-block-end: var(--space-6); }
|
|
44
|
+
.nv-search__message { display: grid; gap: var(--space-3); padding-block: var(--space-6); color: var(--color-fg-muted); }
|
|
45
|
+
.nv-search__message .nv-search__title { color: var(--color-fg); }
|
|
46
|
+
.nv-search__message[data-align='center'] { justify-items: center; text-align: center; }
|
|
47
|
+
.nv-search__message .nv-recovery { margin-block-start: var(--space-3); }
|
|
48
|
+
.nv-search__results { position: relative; }
|
|
49
|
+
.nv-search__sort { width: auto; }
|
|
50
|
+
.nv-search__results[data-sort] .nv-search__sort { position: absolute; inset-block-start: 0; inset-inline-end: 0; z-index: 1; }
|
|
51
|
+
.nv-search__results[data-sort] .nv-tabs__list { padding-inline-end: 12rem; }
|
|
52
|
+
.nv-search__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--card-gap-y) var(--card-gap-x); list-style: none; margin: var(--space-5) 0 0; padding: 0; }
|
|
53
|
+
.nv-search__grid[data-columns='3'] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
54
|
+
.nv-search__grid + .nv-pagination { margin-block-start: var(--space-7); }
|
|
55
|
+
.nv-search__pages { list-style: none; margin: var(--space-4) 0 0; padding: 0; }
|
|
56
|
+
.nv-search__pages li { display: grid; gap: var(--space-1); padding-block: var(--space-4); border-block-end: 1px solid var(--color-border); }
|
|
57
|
+
.nv-search__pages a { color: var(--color-fg); font-weight: var(--weight-medium); }
|
|
58
|
+
.nv-search__pages p { font-size: var(--type-body-sm); color: var(--color-fg-muted); }
|
|
59
|
+
.nv-search__group + .nv-search__group { margin-block-start: var(--space-7); }
|
|
60
|
+
.nv-search__group-title { font-size: 1.125rem; font-weight: var(--weight-medium); letter-spacing: 0; }
|
|
61
|
+
@media (max-width: 1023.98px) { .nv-search__grid, .nv-search__grid[data-columns='3'] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
|
|
62
|
+
@media (max-width: 639.98px) {
|
|
63
|
+
.nv-search__grid, .nv-search__grid[data-columns='3'] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
64
|
+
/* An article card is a row (image beside text) at 390: two per row left each title one word per line. */
|
|
65
|
+
.nv-search__grid[data-kind='articles'] { grid-template-columns: minmax(0, 1fr); }
|
|
66
|
+
.nv-search__results[data-sort] .nv-search__sort { position: relative; inset: auto; margin-block-end: var(--space-3); }
|
|
67
|
+
.nv-search__results[data-sort] .nv-tabs__list { padding-inline-end: 0; }
|
|
68
|
+
.nv-search .nv-tabs__list { overflow-x: auto; scrollbar-width: none; }
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* ── 03 account: split = image ½ · sign-in ½ (stacked < 1024 or without an image). */
|
|
72
|
+
.nv-account__signin { display: grid; gap: var(--space-7); align-items: center; }
|
|
73
|
+
.nv-account[data-layout='stacked'] .nv-account__signin { max-width: 26rem; margin-inline: auto; }
|
|
74
|
+
.nv-account__media { align-self: stretch; min-height: 26rem; border-radius: var(--radius-media); overflow: hidden; background: var(--color-media-bg); }
|
|
75
|
+
.nv-account__media img { width: 100%; height: 100%; object-fit: cover; }
|
|
76
|
+
.nv-account__panel { display: grid; gap: var(--space-4); max-width: 24rem; }
|
|
77
|
+
.nv-account__desc { color: var(--color-fg-muted); font-size: var(--type-body-sm); }
|
|
78
|
+
/* The account slot (Theme ABI v2 §4): the platform's account area, framed where the sign-in form sat. */
|
|
79
|
+
.nv-account__slot { display: block; inline-size: 100%; min-block-size: 36rem; border: 0; margin-block-start: var(--space-2); background: transparent; color-scheme: normal; }
|
|
80
|
+
.nv-account__home { max-width: var(--nv-measure, var(--container-content)); }
|
|
81
|
+
.nv-account__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); margin-block-end: var(--space-5); }
|
|
82
|
+
.nv-account__signout { color: var(--color-fg); font-size: var(--type-body-sm); text-decoration: underline; text-underline-offset: var(--underline-offset); }
|
|
83
|
+
.nv-account__orders { list-style: none; margin: 0; padding: 0; }
|
|
84
|
+
.nv-account__orders :is(a, div) { display: grid; grid-template-columns: minmax(0, 1fr) auto 6rem; align-items: center; gap: var(--space-4); min-height: 56px; padding-block: var(--space-3); border-block-end: 1px solid var(--color-border); color: var(--color-fg); text-decoration: none; }
|
|
85
|
+
.nv-account__orders a:hover .nv-account__number { text-decoration: underline; text-underline-offset: var(--underline-offset); }
|
|
86
|
+
.nv-account__order-id { display: grid; font-size: var(--type-body-sm); }
|
|
87
|
+
.nv-account__number { font-family: var(--font-mono); font-weight: var(--weight-medium); }
|
|
88
|
+
.nv-account__order-id time, .nv-account__items { color: var(--color-fg-muted); font-size: var(--type-body-sm); }
|
|
89
|
+
.nv-account__total { text-align: end; font-weight: var(--weight-medium); }
|
|
90
|
+
.nv-account__none { display: grid; gap: var(--space-3); justify-items: start; padding-block: var(--space-5); color: var(--color-fg-muted); }
|
|
91
|
+
@media (min-width: 1024px) {
|
|
92
|
+
.nv-account[data-layout='split'] .nv-account__signin { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
|
|
93
|
+
.nv-account[data-layout='split'] .nv-account__panel { justify-self: center; width: 100%; }
|
|
94
|
+
}
|
|
95
|
+
@media (max-width: 1023.98px) {
|
|
96
|
+
.nv-account__media { display: none; }
|
|
97
|
+
.nv-account__panel { max-width: 26rem; margin-inline: auto; width: 100%; }
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* ── 04 policy-page: contents 13rem · text at the measure. */
|
|
101
|
+
.nv-policy__grid { display: grid; gap: var(--space-6); }
|
|
102
|
+
.nv-policy__body { width: 100%; max-width: var(--nv-measure, var(--container-narrow)); margin-inline: auto; }
|
|
103
|
+
.nv-policy__body > .nv-utility__title { margin-block-end: var(--space-3); }
|
|
104
|
+
.nv-policy__updated { margin-block-end: var(--space-6); font-size: var(--type-caption); color: var(--color-fg-muted); }
|
|
105
|
+
.nv-policy__body > .nv-longform { margin-block-start: var(--space-6); }
|
|
106
|
+
.nv-policy__updated + .nv-longform { margin-block-start: 0; }
|
|
107
|
+
.nv-policy__unpublished { padding-block: var(--space-7); text-align: center; color: var(--color-fg-muted); }
|
|
108
|
+
.nv-policy__unpublished a { color: var(--color-fg); }
|
|
109
|
+
@media (min-width: 1024px) {
|
|
110
|
+
.nv-policy[data-contents] .nv-policy__grid { grid-template-columns: 13rem minmax(0, 1fr); gap: var(--space-8); }
|
|
111
|
+
.nv-policy__contents { position: sticky; top: var(--space-6); align-self: start; padding-block-start: var(--space-2); }
|
|
112
|
+
.nv-policy[data-contents] .nv-policy__body { margin-inline: 0; }
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/* ── 05 store-locator: cards radius 10; 2 · 3 columns; 1 at 390. */
|
|
116
|
+
.nv-stores__tools { display: flex; align-items: center; gap: var(--space-4); margin-block-end: var(--space-5); }
|
|
117
|
+
.nv-stores__tools .nv-input { flex: 0 1 31rem; }
|
|
118
|
+
.nv-stores__count { font-size: var(--type-body-sm); color: var(--color-fg-muted); white-space: nowrap; }
|
|
119
|
+
.nv-stores__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); list-style: none; margin: 0; padding: 0; }
|
|
120
|
+
.nv-stores__list[data-columns='3'] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
121
|
+
.nv-stores__list > li { display: grid; }
|
|
122
|
+
.nv-stores__none { padding-block: var(--space-6); color: var(--color-fg-muted); }
|
|
123
|
+
.nv-stores__none button { min-height: 24px; padding: 0; border: 0; background: none; color: var(--color-fg); font: inherit; text-decoration: underline; text-underline-offset: var(--underline-offset); cursor: pointer; }
|
|
124
|
+
@media (max-width: 1023.98px) { .nv-stores__list[data-columns='3'] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
125
|
+
@media (max-width: 639.98px) {
|
|
126
|
+
.nv-stores__list, .nv-stores__list[data-columns='3'] { grid-template-columns: minmax(0, 1fr); }
|
|
127
|
+
.nv-stores__tools { flex-wrap: wrap; }
|
|
128
|
+
.nv-stores__tools .nv-input { flex-basis: 100%; }
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/* ── 06 newsletter: start · centered · split; card = contained, radius 12. */
|
|
132
|
+
.nv-newsletter { display: grid; gap: var(--space-5); max-width: var(--nv-measure, var(--container-standard)); }
|
|
133
|
+
.nv-newsletter__copy { display: grid; gap: var(--space-2); max-width: 40rem; }
|
|
134
|
+
.nv-newsletter__title { font-size: var(--type-h2); line-height: 1.15; letter-spacing: var(--tracking-h2); font-weight: var(--weight-heading); }
|
|
135
|
+
.nv-newsletter__title[data-size='small'] { font-size: var(--type-h3); }
|
|
136
|
+
.nv-newsletter__title[data-size='large'] { font-size: var(--type-h1); letter-spacing: var(--tracking-h1); }
|
|
137
|
+
.nv-newsletter__body { color: var(--color-fg-muted); }
|
|
138
|
+
.nv-newsletter__action { display: grid; gap: var(--space-2); justify-items: start; }
|
|
139
|
+
.nv-newsletter__note { font-size: var(--type-caption); color: var(--color-fg-muted); }
|
|
140
|
+
.nv-newsletter .nv-newsletter-form { max-width: 32rem; width: 100%; }
|
|
141
|
+
/* Width fixed while it reads "Subscribing…" (12G). */
|
|
142
|
+
.nv-newsletter .nv-newsletter-form__submit { min-width: 7.5rem; }
|
|
143
|
+
.nv-newsletter[data-layout='centered'] { justify-items: center; margin-inline: auto; text-align: center; }
|
|
144
|
+
.nv-newsletter[data-layout='centered'] .nv-newsletter__action { justify-items: center; }
|
|
145
|
+
.nv-newsletter[data-layout='centered'] .nv-newsletter-form { justify-content: center; }
|
|
146
|
+
.nv-newsletter__card { padding: var(--space-7) var(--space-6); border-radius: var(--radius-lg); }
|
|
147
|
+
.nv-newsletter__card[data-bg='surface'] { background: var(--color-bg-muted); color: var(--color-fg); }
|
|
148
|
+
.nv-newsletter__card[data-bg='surface-secondary'] { background: var(--color-bg-muted); color: var(--color-fg); }
|
|
149
|
+
.nv-newsletter__card[data-bg='primary'] { background: var(--color-bg-inverse); color: var(--color-fg-inverse); }
|
|
150
|
+
@media (min-width: 1024px) {
|
|
151
|
+
.nv-newsletter[data-layout='split'] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--space-8); max-width: none; }
|
|
152
|
+
.nv-newsletter[data-layout='split'] .nv-newsletter__action { justify-items: end; }
|
|
153
|
+
.nv-newsletter[data-layout='split'] .nv-newsletter-form { justify-content: flex-end; }
|
|
154
|
+
}
|
|
155
|
+
@media (max-width: 639.98px) {
|
|
156
|
+
/* Scoped to the section: the footer's newsletter block keeps its own row. */
|
|
157
|
+
.nv-newsletter .nv-newsletter-form { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
|
|
158
|
+
.nv-newsletter .nv-newsletter-form > :is(*, .nv-input) { flex: 0 0 auto; }
|
|
159
|
+
.nv-newsletter .nv-newsletter-form .nv-btn { width: 100%; }
|
|
160
|
+
.nv-newsletter__card { padding: var(--space-6) var(--space-5); }
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/* ── 07 contact-form: split = details ⅖ · form ⅗ (stacked < 1024). */
|
|
164
|
+
.nv-contact__grid { display: grid; gap: var(--space-7); max-width: var(--nv-measure, var(--container-content)); }
|
|
165
|
+
.nv-contact[data-layout='stacked'] .nv-contact__grid { margin-inline: auto; }
|
|
166
|
+
.nv-contact__aside { display: grid; gap: var(--space-4); align-content: start; justify-items: start; }
|
|
167
|
+
.nv-contact__intro { color: var(--color-fg-muted); }
|
|
168
|
+
.nv-contact__details { width: 100%; margin: var(--space-2) 0 0; border-block-start: 1px solid var(--color-border); font-size: var(--type-body-sm); }
|
|
169
|
+
.nv-contact__details > div { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: var(--space-4); padding-block: var(--space-4); border-block-end: 1px solid var(--color-border); }
|
|
170
|
+
.nv-contact__details dt { color: var(--color-fg-muted); }
|
|
171
|
+
.nv-contact__details dd { margin: 0; font-weight: var(--weight-medium); }
|
|
172
|
+
.nv-contact__details a { color: inherit; text-decoration: none; }
|
|
173
|
+
.nv-contact__details a:hover { text-decoration: underline; text-underline-offset: var(--underline-offset); }
|
|
174
|
+
@media (min-width: 1024px) {
|
|
175
|
+
.nv-contact[data-layout='split'] .nv-contact__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-8); max-width: none; }
|
|
176
|
+
}
|
|
177
|
+
@media (max-width: 639.98px) {
|
|
178
|
+
.nv-contact__details > div { grid-template-columns: minmax(0, 1fr) auto; }
|
|
179
|
+
.nv-contact__details dd { text-align: end; }
|
|
180
|
+
.nv-contact__aside > .nv-btn { width: 100%; }
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/* ── 08 not-found: 404 in mono above the heading; centred by default. */
|
|
184
|
+
.nv-not-found__inner { display: grid; gap: var(--space-4); justify-items: start; max-width: var(--nv-measure, var(--container-narrow)); }
|
|
185
|
+
.nv-not-found__inner[data-align='center'] { justify-items: center; margin-inline: auto; text-align: center; }
|
|
186
|
+
.nv-not-found__code { font-family: var(--font-mono); font-size: var(--type-caption); color: var(--color-fg-muted); letter-spacing: 0.08em; }
|
|
187
|
+
.nv-not-found__body { color: var(--color-fg-muted); }
|
|
188
|
+
.nv-not-found .nv-search-field { margin-block-start: var(--space-2); }
|
|
189
|
+
.nv-not-found .nv-recovery { max-width: 100%; }
|
|
190
|
+
@media (max-width: 639.98px) { .nv-not-found__inner > .nv-btn { width: 100%; } }
|