/* Shop storefront pages (layouts/storefront). Deliberately separate from the
   FabWorks design system: these are the shop's pages, themed by --brand and
   --on-brand, which the layout sets from the shop's brand color. */
.storefront { --brand: #3b82f6; --on-brand: #000000; margin: 0; background: #fff; color: #1a1a1a; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.storefront *, .storefront *::before, .storefront *::after { box-sizing: border-box; }
.storefront h1 { margin: 0; font-size: clamp(28px, 7vw, 44px); line-height: 1.15; overflow-wrap: anywhere; }
.storefront p { margin: 0; }
:where(.storefront) a { color: inherit; }
.storefront img { max-width: 100%; }
.storefront .skip-link { position: fixed; left: 15px; top: -100px; z-index: 100; background: #fff; color: #000; padding: 12px 20px; }
.storefront .skip-link:focus { top: 12px; }
.storefront a:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.storefront-preview-banner { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: center; padding: 10px 16px; background: #fff3bf; color: #1a1a1a; border-bottom: 1px solid #e0c85a; font-size: 14px; text-align: center; }
/* The header pads its content into the same 720px column as .storefront-main. */
.storefront-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 14px max(16px, calc((100% - 720px) / 2 + 16px)); border-top: 6px solid var(--brand); border-bottom: 1px solid #e5e5e5; }
.storefront-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.storefront-back { font-size: 14px; }
.storefront-logo { display: block; width: 128px; height: 128px; object-fit: contain; }
.storefront-logo-small { width: 40px; height: 40px; flex: none; }
.storefront-main { width: min(720px, 100%); margin-inline: auto; padding: 40px 16px 64px; }
.storefront-hero { display: grid; justify-items: start; gap: 20px; }
.storefront-description { max-width: 60ch; white-space: pre-line; overflow-wrap: anywhere; color: #444; }
.storefront-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; background: var(--brand); color: var(--on-brand); border-radius: 6px; font-weight: 700; text-decoration: none; text-align: center; max-width: 100%; overflow-wrap: anywhere; }
.storefront-button:hover { filter: brightness(.92); }
.storefront-contact { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-wrap: anywhere; }
