/* ============================================================
   The store front (store.js). Applies only under html.sf, the class the router puts on the page for
   visitors at the public address; the admin app is untouched.

   Pixel Arcade (3.0): midnight ground, coin-blue actions, screen-white words, square corners and 2 px
   edges; Pixelify Sans for big titles, Silkscreen for labels and buttons, Space Grotesk for what you read.
   The products stay real renders in a midnight frame, so their colors are the only other colors on the page.
   ============================================================ */

@font-face { font-family: "Inter Var"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("/static/fonts/inter-var.woff2") format("woff2"); }

html.sf:root {
  --sf-bg: #FFFFFF; --sf-bg2: #F7F6F3; --sf-plate: #F2F0EC; --sf-plate-2: #EBE8E2;
  --sf-ink: #141414; --sf-ink-2: #3D3D3D; --sf-muted: #6B6B6B; --sf-line: #E7E4DF; --sf-line-s: #8F8A82;
  --sf-btn: #141414; --sf-on-btn: #FFFFFF; --sf-btn-hover: #2B2B2B;
  --sf-dark: #161616; --sf-on-dark: #F4F2EE; --sf-on-dark-2: #ACA9A3; --sf-dark-line: #2E2E2E;
  --sf-ok: #1B7F4B; --sf-err: #B42318; --sf-err-bg: #FDECEA; --sf-focus: #2563EB; --sf-sw-ring: rgba(0, 0, 0, .16);
  --sf-scrim: rgba(20, 20, 20, .32);
  --sf-r-s: 8px; --sf-r: 12px; --sf-r-l: 20px;
  --sf-pad: 48px; --sf-max: 1440px; --sf-note-h: 36px; --sf-head-h: 64px;
  --sf-shadow: 0 1px 2px rgba(20, 20, 20, .05), 0 12px 32px rgba(20, 20, 20, .08);
  --sf-ease: cubic-bezier(.2, .7, .2, 1);
  /* older names some rules and the app's own pieces still use */
  --sf-body2: var(--sf-ink-2); --sf-body3: var(--sf-ink); --sf-panel: var(--sf-bg2); --sf-panel-line: var(--sf-line); --sf-accent: var(--sf-btn); --sf-on-accent: var(--sf-on-btn);
  /* the app's own pieces (fields, toasts, dialogs) take the store's colors here */
  --bg: var(--sf-bg); --surface: var(--sf-bg); --subtle: var(--sf-bg2); --sunken: var(--sf-bg2); --stage-hi: var(--sf-bg);
  --line: var(--sf-line); --border: var(--sf-line); --control: var(--sf-line-s);
  --ink: var(--sf-ink); --ink2: var(--sf-ink-2); --muted: var(--sf-muted); --dim: var(--sf-muted);
  --accent: var(--sf-btn); --on-accent: var(--sf-on-btn); --accent-bg: var(--sf-bg2); --accent-fg: var(--sf-ink); --accent-line: var(--sf-line-s);
  --danger: var(--sf-err); --danger-bg: var(--sf-err-bg); --ok: var(--sf-ok);
  --ring-mid: var(--sf-line-s); --ring-deep: var(--sf-line);
  --radius: var(--sf-r-s); --r-ctl: var(--sf-r-s);
  color-scheme: light;
  background: var(--sf-bg);
}
html.sf:root {
  /* Pixel Arcade (3.0): the store wears the app's four colors, dark only. */
  --sf-bg: #1A1C2C; --sf-bg2: #232534; --sf-plate: #232534; --sf-plate-2: #2C2D3B;
  --sf-ink: #FFF1E8; --sf-ink-2: #D1C6C2; --sf-muted: #A8A0A1; --sf-line: #3A3A46; --sf-line-s: #817C81;
  --sf-btn: #29ADFF; --sf-on-btn: #1A1C2C; --sf-btn-hover: #5CC2FF;
  --sf-dark: #151724; --sf-on-dark: #FFF1E8; --sf-on-dark-2: #D1C6C2; --sf-dark-line: #31313F;
  --sf-ok: #FFF1E8; --sf-err: #FF004D; --sf-err-bg: #3F1831; --sf-focus: #29ADFF; --sf-sw-ring: rgba(255, 241, 232, .5);
  --sf-scrim: rgba(10, 11, 20, .7);
  --sf-shadow: 0 0 0 2px #3A3A46, inset 0 1px 0 rgba(255, 241, 232, .06);
  --sf-r-s: 0px; --sf-r: 0px; --sf-r-l: 0px;
  --danger: #FF004D; --ok: #FFF1E8;
  color-scheme: dark;
}
@media (max-width: 1199px) { html.sf:root { --sf-pad: 32px; } }
@media (max-width: 759px) { html.sf:root { --sf-pad: 20px; --sf-head-h: 56px; --sf-note-h: 32px; } }

/* ---------- base ---------- */
html.sf body { background: var(--sf-bg); color: var(--sf-ink); font-family: "Inter Var", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.55; letter-spacing: -0.006em; font-feature-settings: "cv05", "cv08"; font-optical-sizing: auto; font-variant-numeric: normal;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
html.sf main.wrap { max-width: none; padding: 0; margin: 0; width: 100%; }
html.sf main#view:focus, html.sf main#view:focus-visible { outline: none; }
html.sf body { display: flex; flex-direction: column; min-height: 100vh; }
html.sf #topbar { flex: none; }
html.sf main#view { flex: 1 0 auto; display: flex; flex-direction: column; }
html.sf main#view > * { width: 100%; }
html.sf .sf-foot { margin-top: auto; }
html.sf.sf-noscroll, html.sf.sf-noscroll body { overflow: hidden; }
html.sf :focus-visible { outline: 2px solid var(--sf-focus); outline-offset: 3px; border-radius: 4px; }
html.sf :is(input, textarea, select):focus-visible { outline: none; }
:where(html.sf) :where(h1, h2, h3, p, ul, ol, dl, figure) { margin: 0; }
html.sf :is(h1, h2, h3) { color: var(--sf-ink); font-weight: 600; text-wrap: balance; }
html.sf h1 { font-size: 40px; line-height: 1.08; letter-spacing: -0.032em; font-weight: 600; }
html.sf h2 { font-size: 28px; line-height: 1.15; letter-spacing: -0.026em; font-weight: 600; }
html.sf h3 { font-size: 17px; line-height: 1.35; letter-spacing: -0.014em; }
html.sf p { text-wrap: pretty; }
html.sf h2.eyebrow { font-weight: 600; margin: 0 0 10px; }
.sf-wrap { box-sizing: border-box; max-width: var(--sf-max); margin: 0 auto; padding: 0 var(--sf-pad); }
.sf-i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sf-eyebrow { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sf-muted); }
.sf-eyebrow-link { text-decoration: none; }
.sf-eyebrow-link:hover { color: var(--sf-ink); }
.sf-label { display: block; font-size: 15px; font-weight: 600; color: var(--sf-ink); }
.sf-lede { font-size: 18px; line-height: 1.5; color: var(--sf-ink-2); max-width: 38rem; }
.sf-fine { font-size: 13px; line-height: 1.5; color: var(--sf-muted); }
.sf-fine a, .sf-backlink, .sf-more { color: var(--sf-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sf-line-s); text-decoration-thickness: 1px; }
:is(.sf-fine a, .sf-backlink, .sf-more):hover { text-decoration-color: currentColor; }
.sf-backlink { display: inline-flex; font-size: 14px; }
.sf-more { font-size: 15px; font-weight: 500; }
.sf-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--sf-ink); text-decoration: none; white-space: nowrap; }
.sf-link .sf-i { width: 18px; height: 18px; transition: transform .2s var(--sf-ease); }
.sf-link:hover .sf-i { transform: translateX(3px); }
.sf-muted { color: var(--sf-muted); font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sf-dot { flex: none; vertical-align: -2px; }
.sf-dot circle { stroke: var(--sf-sw-ring); stroke-width: 1; }
.sf-dot-none circle { stroke: var(--sf-muted); stroke-dasharray: 2 2; }
.sf-plate { display: block; position: relative; background: var(--sf-plate); color: var(--sf-muted); border-radius: var(--sf-r); overflow: hidden; }
.sf-plate img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sf-plate .maw { margin: auto; }

/* ---------- buttons ---------- */
.sf-btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border: 1px solid var(--sf-btn); border-radius: var(--sf-r-s); background: var(--sf-btn); color: var(--sf-on-btn);
  font: inherit; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease; }
.sf-btn:hover { background: var(--sf-btn-hover); border-color: var(--sf-btn-hover); }
.sf-btn:active { transform: scale(.985); }
.sf-btn:disabled { opacity: .5; cursor: default; transform: none; }
.sf-btn-2 { background: transparent; color: var(--sf-ink); border-color: var(--sf-line-s); }
.sf-btn-2:hover { background: transparent; border-color: var(--sf-ink); }
.sf-btn-inv { background: var(--sf-on-dark); color: #141414; border-color: var(--sf-on-dark); }
.sf-btn-inv:hover { background: #FFFFFF; border-color: #FFFFFF; }
.sf-btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.sf-btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.sf-btn-block { display: flex; width: 100%; }
.sf-btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.sf-linkbtn { border: 0; background: none; padding: 6px 0; font: inherit; font-size: 14px; color: var(--sf-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sf-linkbtn:hover { color: var(--sf-ink); }
.sf-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: none; color: var(--sf-ink); cursor: pointer; text-decoration: none; transition: background-color .15s ease; }
.sf-icon:hover { background: color-mix(in srgb, var(--sf-ink) 6%, transparent); }
.sf-icon .sf-i { width: 22px; height: 22px; }
.sf-textbtn { border: 0; background: none; padding: 0 10px; min-height: 44px; font: inherit; font-size: 14px; font-weight: 500; color: var(--sf-ink); cursor: pointer; }
.sf-textbtn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
html.sf .topbar { position: sticky; top: calc(-1 * var(--sf-note-h)); z-index: 50; padding: 0; background: var(--sf-bg); border: 0; }
html.sf .topbar.sf-checkout-bar { top: 0; }
.sf-note { height: var(--sf-note-h); display: flex; align-items: center; background: var(--sf-dark); color: var(--sf-on-dark); font-size: 13px; letter-spacing: -0.003em; }
.sf-note .sf-wrap { width: 100%; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(244, 242, 238, .45); margin-left: 6px; }
.sf-note a:hover { text-decoration-color: currentColor; }
.sf-head { position: relative; background: color-mix(in srgb, var(--sf-bg) 88%, transparent); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--sf-line); }
.sf-head-in { display: flex; align-items: center; gap: 32px; height: var(--sf-head-h); }
.sf-logo { display: inline-flex; align-items: center; font-size: 20px; font-weight: 600; letter-spacing: -0.04em; color: var(--sf-ink); text-decoration: none; white-space: nowrap; }
.sf-logo-img { display: block; height: 30px; width: auto; max-width: 200px; }
.sf-nav { display: flex; align-items: center; gap: 4px; min-width: 0; }
.sf-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 15px; font-weight: 500; color: var(--sf-ink-2); text-decoration: none; white-space: nowrap; transition: color .15s ease; }
.sf-nav a:hover, .sf-nav a[aria-current="page"] { color: var(--sf-ink); }
.sf-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1.5px; background: currentColor; border-radius: 1px; }
.sf-nav-extra { display: none; }
.sf-tools { margin-left: auto; display: flex; align-items: center; gap: 2px; margin-right: -10px; }
.sf-menubtn { display: none; margin-left: -10px; }
.sf-bag-n { position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: var(--sf-btn); color: var(--sf-on-btn);
  font-size: 12px; font-weight: 600; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px var(--sf-bg); }
.sf-bag-n[hidden] { display: none; }
.sf-head-co { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--sf-muted); }
.sf-head-co .sf-i { width: 18px; height: 18px; }
.sf-searchbar { border-top: 1px solid var(--sf-line); background: var(--sf-bg); }
.sf-searchbar-in { display: flex; align-items: center; gap: 12px; height: 64px; }
.sf-searchbar-in > .sf-i { color: var(--sf-muted); }
html.sf .sf-search { flex: 1; min-width: 0; height: 44px; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  font: inherit; font-size: 20px; letter-spacing: -0.015em; color: var(--sf-ink); -webkit-appearance: none; appearance: none; }
html.sf .sf-search:focus { border: 0; box-shadow: none; }
.sf-search::placeholder { color: var(--sf-muted); opacity: 1; }
.sf-search::-webkit-search-cancel-button { display: none; }

/* ---------- footer ---------- */
.sf-foot { background: var(--sf-bg2); border-top: 1px solid var(--sf-line); font-size: 14px; }
.sf-foot-top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 64px 0 48px; }
.sf-foot-brand p { margin-top: 12px; max-width: 30ch; color: var(--sf-ink-2); }
.sf-foot-brand .sf-foot-mail { display: inline-block; margin-top: 12px; color: var(--sf-ink); }
.sf-foot nav { display: flex; flex-direction: column; align-items: flex-start; }
html.sf .sf-foot h2 { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sf-muted); }
.sf-foot nav a { padding: 5px 0; color: var(--sf-ink-2); text-decoration: none; }
.sf-foot a:hover { color: var(--sf-ink); text-decoration: underline; text-underline-offset: 3px; }
.sf-foot-end { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 20px 0 40px; border-top: 1px solid var(--sf-line); font-size: 13px; color: var(--sf-muted); }

/* ---------- sections ---------- */
.sf-sec { padding-top: 96px; }
.sf-sec:last-of-type { padding-bottom: 96px; }
.sf-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.sf-sec-head p { margin-top: 6px; color: var(--sf-muted); }

/* ---------- product cards ---------- */
.sf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; }
.sf-card { display: flex; flex-direction: column; color: var(--sf-ink); text-decoration: none; min-width: 0; }
.sf-card:focus-visible { outline-offset: 6px; }
.sf-card-media { aspect-ratio: 4 / 5; transition: background-color .3s ease; }
.sf-card-media img { transition: opacity .45s var(--sf-ease), transform .7s var(--sf-ease); }
.sf-card-alt { position: absolute; inset: 0; opacity: 0; }
.sf-card:hover .sf-card-media { background: var(--sf-plate-2); }
.sf-card:hover .sf-card-media img { transform: scale(1.025); }
.sf-card:hover .sf-has-alt img:first-child { opacity: 0; }
.sf-card:hover .sf-card-alt { opacity: 1; }
.sf-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: var(--sf-bg); color: var(--sf-ink); font-size: 12px; font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.sf-card-body { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 16px; }
.sf-card-title { font-size: 16px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.35; }
.sf-card-price { flex: none; font-size: 15px; color: var(--sf-ink-2); font-variant-numeric: tabular-nums; }
.sf-card-colors { display: flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 13px; color: var(--sf-muted); }
.sf-card-colors > span { margin-left: 6px; }

/* ---------- home ---------- */
.sf-hero { padding-top: 40px; }
.sf-hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.sf-hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 40px 0; }
html.sf .sf-hero h1 { font-size: clamp(42px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -0.042em; font-weight: 600; max-width: 11em; }
.sf-hero-sub { font-size: 19px; line-height: 1.5; color: var(--sf-ink-2); max-width: 30rem; }
.sf-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.sf-hero-art { display: grid; gap: 16px; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-rows: 1fr 1fr; height: clamp(520px, 46vw, 680px); }
.sf-hero-art-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.sf-hero-art-2 { grid-template-rows: 1fr; grid-template-columns: 1fr 1fr; }
.sf-hero-tile { display: block; position: relative; border-radius: var(--sf-r-l); text-decoration: none; color: var(--sf-ink); }
.sf-hero-art-3 .sf-hero-tile:first-child { grid-row: span 2; }
.sf-hero-tile img { object-fit: contain; padding: 6% 6% 16%; box-sizing: border-box; transition: transform .7s var(--sf-ease); }
.sf-hero-art-3 .sf-hero-tile:not(:first-child) img { padding: 4% 14% 22%; }
.sf-hero-tile:hover img { transform: scale(1.03); }
.sf-hero-cap { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 15px; }
.sf-hero-cap b { font-weight: 600; letter-spacing: -0.012em; }
.sf-hero-cap span { color: var(--sf-ink-2); font-variant-numeric: tabular-nums; }

.sf-cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.sf-cat { display: block; position: relative; aspect-ratio: 16 / 10; border-radius: var(--sf-r-l); text-decoration: none; color: var(--sf-ink); transition: background-color .3s ease; }
.sf-cat:hover { background: var(--sf-plate-2); }
.sf-cat-art { position: absolute; inset: 0 0 64px; display: flex; align-items: flex-end; justify-content: center; padding: 20px 20px 0; }
.sf-cat-art img { width: auto; height: 92%; max-width: 46%; object-fit: contain; margin: 0 -4%; transition: transform .7s var(--sf-ease); }
.sf-cat-art img:nth-child(2) { height: 78%; }
.sf-cat-art img:nth-child(3) { height: 66%; }
.sf-cat-art-1 img { max-width: 70%; }
.sf-cat:hover .sf-cat-art img { transform: translateY(-4px); }
.sf-cat-label { position: absolute; left: 24px; bottom: 20px; display: flex; flex-direction: column; }
.sf-cat-label b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.sf-cat-label span { font-size: 14px; color: var(--sf-muted); }
.sf-cat-go { position: absolute; right: 20px; bottom: 20px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sf-bg);
  transition: transform .2s var(--sf-ease); }
.sf-cat:hover .sf-cat-go { transform: translateX(3px); }
.sf-cat-go .sf-i { width: 18px; height: 18px; }

.sf-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; padding: 64px; border-radius: var(--sf-r-l); background: var(--sf-bg2); }
.sf-band-text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
html.sf .sf-band-text h2 { font-size: 36px; line-height: 1.08; letter-spacing: -0.032em; }
.sf-band-text p:not(.sf-eyebrow) { font-size: 17px; color: var(--sf-ink-2); max-width: 32rem; }
.sf-band-text .sf-btn { margin-top: 8px; }
.sf-band-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.sf-band-dark { background: var(--sf-dark); color: var(--sf-on-dark); }
html.sf .sf-band-dark :is(h2, h3) { color: var(--sf-on-dark); }
.sf-band-dark .sf-eyebrow, .sf-band-dark .sf-band-text p:not(.sf-eyebrow) { color: var(--sf-on-dark-2); }
.sf-steps { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: s; }
.sf-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--sf-dark-line); }
.sf-steps li:last-child { border-bottom: 1px solid var(--sf-dark-line); }
.sf-steps li > span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--sf-dark-line);
  font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
html.sf .sf-steps h3 { font-size: 18px; margin-bottom: 4px; }
.sf-steps p { color: var(--sf-on-dark-2); font-size: 15px; }

.sf-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; padding-top: 80px; padding-bottom: 96px; }
.sf-facts > div { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 1px solid var(--sf-line); }
.sf-facts .sf-i { width: 26px; height: 26px; margin-bottom: 8px; }
.sf-facts p { font-size: 15px; color: var(--sf-ink-2); }

/* Nothing listed yet: the headline, then three plain steps under a rule */
.sf-open { flex: 1 0 auto; display: grid; align-content: center; gap: 56px; padding-top: 112px; padding-bottom: 112px; }
.sf-open-text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
html.sf .sf-open h1 { font-size: 56px; line-height: 1.03; letter-spacing: -0.04em; max-width: 12em; }
.sf-open-steps { list-style: none; padding: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; border-top: 1px solid var(--sf-line); }
.sf-open-steps li > span { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--sf-muted); font-variant-numeric: tabular-nums; }
.sf-open-steps h3 { margin-bottom: 4px; }
.sf-open-steps p { font-size: 15px; color: var(--sf-ink-2); }

/* ---------- shop ---------- */
.sf-shop { padding-top: 56px; padding-bottom: 96px; }
.sf-shop-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 28px; }
html.sf .sf-shop-head h1 { font-size: 48px; letter-spacing: -0.04em; }
.sf-shop-count { font-size: 15px; color: var(--sf-muted); }
.sf-filterbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; padding-bottom: 16px; border-bottom: 1px solid var(--sf-line); }
.sf-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.sf-tabs::-webkit-scrollbar { display: none; }
.sf-tabs a { flex: none; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid var(--sf-line); border-radius: 999px; font-size: 14px; font-weight: 500;
  color: var(--sf-ink-2); text-decoration: none; transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.sf-tabs a:hover { border-color: var(--sf-ink); color: var(--sf-ink); }
.sf-tabs a[aria-current="page"] { background: var(--sf-btn); border-color: var(--sf-btn); color: var(--sf-on-btn); }
.sf-sort { display: flex; align-items: center; gap: 10px; flex: none; font-size: 14px; color: var(--sf-muted); }
html.sf .sf-sort select { min-height: 38px; width: auto; padding: 6px 40px 6px 14px; font-size: 14px; font-weight: 500; border-color: var(--sf-line); border-radius: 999px; }
.sf-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 72px 24px; border-radius: var(--sf-r-l); background: var(--sf-bg2); }
.sf-empty > .sf-i { width: 32px; height: 32px; color: var(--sf-muted); margin-bottom: 4px; }
html.sf .sf-empty h2 { font-size: 24px; }
.sf-empty p { color: var(--sf-ink-2); max-width: 32rem; }
.sf-empty .sf-btn-row { justify-content: center; margin-top: 8px; }

/* ---------- product ---------- */
.sf-product { padding-top: 24px; padding-bottom: 32px; }
.sf-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 24px; font-size: 13px; color: var(--sf-muted); }
.sf-crumbs .sf-i { width: 14px; height: 14px; }
.sf-crumbs a { color: var(--sf-muted); text-decoration: none; }
.sf-crumbs a:hover { color: var(--sf-ink); text-decoration: underline; text-underline-offset: 3px; }
.sf-crumbs [aria-current] { color: var(--sf-ink); }
.sf-prod { display: grid; grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr); gap: 72px; align-items: start; }
.sf-gallery { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 760px) { .sf-gallery { position: sticky; top: calc(var(--sf-head-h) + 24px); } }
.sf-stage { aspect-ratio: 4 / 5; display: flex; border-radius: var(--sf-r-l); }
.sf-stage > img { object-fit: contain; min-width: 0; animation: sf-fade .35s var(--sf-ease); }
.sf-3d { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
.sf-thumbs { display: flex; flex-wrap: wrap; gap: 12px; }
.sf-thumb { box-sizing: border-box; width: 80px; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: var(--sf-r-s); cursor: pointer; transition: box-shadow .15s ease; }
.sf-thumb img { object-fit: contain; }
.sf-thumb:hover { box-shadow: inset 0 0 0 1px var(--sf-line-s); }
.sf-thumb[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--sf-ink); }
.sf-thumb-3d { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--sf-plate); color: var(--sf-ink); font: inherit; font-size: 12px; font-weight: 600; }
.sf-buy { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.sf-buy-head { display: flex; flex-direction: column; gap: 10px; }
html.sf .sf-buy h1 { font-size: 40px; line-height: 1.06; letter-spacing: -0.036em; }
.sf-unit { display: flex; align-items: baseline; gap: 8px; }
.sf-unit strong { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.sf-unit span { font-size: 14px; color: var(--sf-muted); }
.sf-ready { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--sf-ok); }
.sf-ready::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.sf-ready[hidden] { display: none; }
.sf-desc { display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--sf-ink-2); }
.sf-desc p:last-child:not(:first-child) { font-size: 15px; color: var(--sf-muted); }
.sf-group { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.sf-group-head { display: flex; align-items: baseline; gap: 10px; padding: 0; font-size: 15px; }
.sf-group-label { font-weight: 600; color: var(--sf-ink); }
.sf-group-value { color: var(--sf-ink-2); }
.sf-opt-row { display: flex; align-items: center; gap: 16px; }
.sf-opt-mat { flex: none; width: 56px; font-size: 13px; font-weight: 500; color: var(--sf-muted); }
.sf-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-opt { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--sf-ink); cursor: pointer;
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .15s ease; }
.sf-opt:hover { box-shadow: inset 0 0 0 1px var(--sf-line-s); }
.sf-opt[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--sf-ink); }
.sf-opt .sf-dot { width: 32px; height: 32px; }
.sf-opt .sf-dot circle { stroke-width: .6; }
.sf-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.sf-choice { position: relative; cursor: pointer; }
.sf-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sf-choice > span { box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 10px 16px; border: 1px solid var(--sf-line-s); border-radius: var(--sf-r);
  transition: border-color .15s ease, box-shadow .15s ease; }
.sf-choice b { font-size: 15px; font-weight: 600; }
.sf-choice small { font-size: 13px; color: var(--sf-muted); font-variant-numeric: tabular-nums; }
.sf-choice:hover > span { border-color: var(--sf-ink); }
.sf-choice input:checked + span { border-color: var(--sf-ink); box-shadow: inset 0 0 0 1px var(--sf-ink); }
.sf-choice input:focus-visible + span { outline: 2px solid var(--sf-focus); outline-offset: 2px; }
.sf-buy-row { display: flex; gap: 12px; }
.sf-grow { flex: 1; }
.sf-stepper { display: inline-flex; align-items: center; flex: none; border: 1px solid var(--sf-line-s); border-radius: var(--sf-r-s); }
.sf-stepper button { width: 44px; height: 50px; border: 0; background: none; color: var(--sf-ink); font: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.sf-stepper button:disabled { color: var(--sf-line-s); cursor: default; }
.sf-stepper output { min-width: 28px; text-align: center; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sf-actions { display: flex; flex-direction: column; gap: 12px; }
.sf-sum { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 8px 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.sf-sum dt { color: var(--sf-ink-2); min-width: 0; }
.sf-sum dd { margin: 0; padding-left: 16px; text-align: right; }
.sf-sum .sf-sub { color: var(--sf-muted); }
.sf-sum .sf-total { padding-top: 12px; border-top: 1px solid var(--sf-line); font-size: 17px; font-weight: 600; color: var(--sf-ink); }
.sf-buy .sf-sum { padding: 16px 0 0; border-top: 1px solid var(--sf-line); }
.sf-buy .sf-sum .sf-total { padding-top: 0; border-top: 0; }
.sf-assure { list-style: none; padding: 20px; display: grid; gap: 14px; border-radius: var(--sf-r); background: var(--sf-bg2); font-size: 14px; color: var(--sf-ink-2); }
.sf-assure li { display: flex; gap: 12px; align-items: flex-start; }
.sf-assure b { display: block; font-weight: 600; color: var(--sf-ink); }
.sf-assure .sf-i { margin-top: 1px; }
.sf-acc { border-top: 1px solid var(--sf-line); }
.sf-acc details { border-bottom: 1px solid var(--sf-line); }
.sf-acc summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; font-size: 16px; font-weight: 600; list-style: none; }
.sf-acc summary::-webkit-details-marker { display: none; }
.sf-acc summary::after { content: ""; width: 9px; height: 9px; margin-right: 4px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s var(--sf-ease); }
.sf-acc details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.sf-acc details > :not(summary) { margin-bottom: 20px; }
.sf-acc p { font-size: 15px; color: var(--sf-ink-2); }
.sf-specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.sf-specs th { width: 40%; padding: 8px 16px 8px 0; text-align: left; font-weight: 400; color: var(--sf-muted); vertical-align: top; }
.sf-specs td { padding: 8px 0; color: var(--sf-ink); }
.sf-parts { display: flex; flex-direction: column; gap: 12px; }
.sf-part { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 12px; }
.sf-part .sf-opt-mat { width: auto; }
.sf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-chip { position: relative; cursor: pointer; }
.sf-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sf-chip > span { box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--sf-line-s); border-radius: 999px; font-size: 14px; color: var(--sf-ink);
  transition: border-color .15s ease, box-shadow .15s ease; }
.sf-chip small { color: var(--sf-muted); }
.sf-chip:hover > span { border-color: var(--sf-ink); }
.sf-chip input:checked + span { border-color: var(--sf-ink); box-shadow: inset 0 0 0 1px var(--sf-ink); }
.sf-chip input:focus-visible + span { outline: 2px solid var(--sf-focus); outline-offset: 2px; }
.sf-credit { margin-top: -8px; }
/* Phones: the price and Add to cart stay in reach once the page scrolls past them */
.sf-mbar { display: none; }

/* ---------- the cart drawer ---------- */
.sf-drawer-wrap { position: fixed; inset: 0; z-index: 80; }
.sf-scrim { position: absolute; inset: 0; background: var(--sf-scrim); opacity: 0; transition: opacity .3s ease; }
.sf-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); box-sizing: border-box; display: flex; flex-direction: column; background: var(--sf-bg);
  box-shadow: var(--sf-shadow); transform: translateX(100%); transition: transform .38s var(--sf-ease); }
.sf-open .sf-scrim { opacity: 1; }
.sf-open .sf-drawer { transform: none; }
.sf-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--sf-line); }
html.sf .sf-drawer-head h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; letter-spacing: -0.015em; }
.sf-drawer-head h2 .sf-i { color: var(--sf-ok); }
.sf-drawer-lines { list-style: none; padding: 8px 24px; margin: 0; flex: 1; overflow-y: auto; }
.sf-drawer-foot { display: flex; flex-direction: column; gap: 12px; padding: 20px 24px 24px; border-top: 1px solid var(--sf-line); }
.sf-drawer-foot .sf-sum dt, .sf-drawer-foot .sf-sum dd { font-size: 16px; font-weight: 600; color: var(--sf-ink); }
.sf-line { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--sf-line); }
.sf-line:last-child { border-bottom: 0; }
.sf-line-img { width: 80px; aspect-ratio: 4 / 5; border-radius: var(--sf-r-s); }
.sf-line-img img { object-fit: contain; }
.sf-line-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sf-line-name { font-size: 15px; font-weight: 600; color: var(--sf-ink); text-decoration: none; }
.sf-line-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.sf-line-price { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sf-line-new .sf-line-img { box-shadow: inset 0 0 0 2px var(--sf-ink); }
.sf-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--sf-muted); }

/* ---------- the cart page ---------- */
.sf-cart-page { padding-top: 56px; padding-bottom: 96px; }
.sf-page-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 32px; }
html.sf .sf-page-head h1 { font-size: 48px; letter-spacing: -0.04em; }
.sf-page-count { font-size: 15px; color: var(--sf-muted); }
.sf-cart { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: start; }
.sf-cart-lines { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--sf-line); }
.sf-cart-line { display: grid; grid-template-columns: 136px minmax(0, 1fr) auto; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--sf-line); }
.sf-cart-img { width: 136px; aspect-ratio: 4 / 5; border-radius: var(--sf-r); }
.sf-cart-img img { object-fit: contain; }
.sf-cart-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sf-cart-name { margin-bottom: 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: var(--sf-ink); text-decoration: none; }
.sf-cart-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.sf-cart-ctl { display: flex; align-items: center; gap: 20px; margin-top: auto; padding-top: 16px; }
.sf-stepper-sm button { width: 38px; height: 38px; font-size: 18px; }
.sf-stepper-sm output { min-width: 24px; font-size: 15px; }
.sf-cart-price { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-variant-numeric: tabular-nums; }
.sf-cart-price strong { font-size: 17px; font-weight: 600; }
.sf-cart-price span { font-size: 13px; color: var(--sf-muted); }
.sf-summary { position: sticky; top: calc(var(--sf-head-h) + 24px); display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: var(--sf-r-l); background: var(--sf-bg2); }
html.sf .sf-summary h2 { font-size: 20px; letter-spacing: -0.018em; }
.sf-code summary { display: inline-flex; cursor: pointer; font-size: 14px; color: var(--sf-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sf-line-s); list-style: none; }
.sf-code summary::-webkit-details-marker { display: none; }
.sf-code-form { display: flex; gap: 8px; margin-top: 12px; }
html.sf .sf-code-form input { flex: 1; min-width: 0; min-height: 40px; padding: 8px 12px; text-transform: uppercase; }
.sf-code-msg:empty { display: none; }
.sf-code-msg { margin-top: 8px; }
.sf-checks { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--sf-line); display: grid; gap: 10px; font-size: 13px; color: var(--sf-ink-2); }
.sf-checks li { display: flex; gap: 10px; align-items: flex-start; }
.sf-checks .sf-i { width: 16px; height: 16px; margin-top: 1px; color: var(--sf-ok); }
.sf-cart-empty { padding: 96px 24px; }
.sf-cart-empty .sf-i { width: 40px; height: 40px; }
.sf-suggest { margin-top: 72px; }

/* ---------- forms (checkout, custom request, account) ---------- */
html.sf .field { margin: 0 0 20px; }
html.sf .label { font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--sf-ink); }
html.sf .label .opt, html.sf .opt { font-weight: 400; color: var(--sf-muted); }
html.sf .hint { font-size: 13px; margin-top: 6px; color: var(--sf-muted); }
html.sf input:not([type]), html.sf input[type="text"], html.sf input[type="email"], html.sf input[type="tel"], html.sf input[type="password"],
html.sf input[type="date"], html.sf input[type="search"]:not(.sf-search), html.sf textarea, html.sf select {
  min-height: 50px; padding: 12px 14px; background-color: var(--sf-bg); color: var(--sf-ink); border: 1px solid var(--sf-line-s); border-radius: var(--sf-r-s); font: inherit; font-size: 16px;
  transition: border-color .15s ease, box-shadow .15s ease; }
html.sf input[type="date"] { height: 50px; }
html.sf input[type="date"]::-webkit-datetime-edit { padding: 0; }
html.sf select { padding-right: 44px; }
html.sf .pw input { padding-right: 76px; }
html.sf textarea { min-height: 120px; line-height: 1.5; }
html.sf :is(input, textarea, select):hover { border-color: var(--sf-muted); }
html.sf input:focus, html.sf textarea:focus, html.sf select:focus { border-color: var(--sf-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sf-ink) 12%, transparent); }
html.sf .form-error { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--sf-err); border-radius: var(--sf-r-s); background: var(--sf-err-bg); color: var(--sf-err); font-size: 14px; }
.sf-form { min-width: 0; }
.sf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.sf-check { display: flex; align-items: flex-start; gap: 12px; margin: 4px 0 20px; font-size: 15px; cursor: pointer; }
.sf-check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--sf-btn); }
.sf-fieldset { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.sf-fieldset legend { padding: 0; }
.sf-fieldset .sf-chips { margin-top: 12px; }
.sf-drop { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 10px; padding: 20px; border: 1px dashed var(--sf-line-s); border-radius: var(--sf-r); }
.sf-drop .hint { margin: 0; flex: 1 1 220px; }
.sf-files { list-style: none; margin: 10px 0 0; padding: 0; }
.sf-files li { display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--sf-line); font-size: 14px; }
.sf-files img, .sf-file-x { width: 44px; height: 44px; object-fit: cover; border-radius: var(--sf-r-s); background: var(--sf-plate); }
.sf-file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-file-name small { color: var(--sf-muted); }
.sf-file-state { font-size: 13px; color: var(--sf-ok); }
.sf-file-bad .sf-file-state { color: var(--sf-err); }
.sf-file-err { grid-column: 2 / -1; font-size: 13px; color: var(--sf-err); }
.sf-progress { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--sf-ink-2); }
.sf-bar { display: block; height: 4px; background: var(--sf-line); border-radius: 2px; overflow: hidden; }
.sf-bar span { display: block; height: 100%; width: 0; background: var(--sf-btn); }
.sf-form > .sf-fine { margin-top: 12px; text-align: center; }
html.sf .sf-co-h { display: flex; align-items: center; gap: 12px; font-size: 20px; letter-spacing: -0.018em; margin: 0 0 20px; }
.sf-co-h:not(:first-child) { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--sf-line); }
.sf-co-h span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sf-btn); color: var(--sf-on-btn); font-size: 13px; font-weight: 600; }

.sf-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 80px; align-items: start; padding-top: 40px; padding-bottom: 96px; }
html.sf .sf-checkout h1 { margin-top: 12px; font-size: 40px; }
.sf-co-main { max-width: 620px; }
.sf-co-main .sf-form { margin-top: 32px; }
.sf-co-main > .sf-lede { margin-top: 8px; font-size: 16px; }
.sf-panel { background: var(--sf-bg2); border-radius: var(--sf-r-l); }
.sf-co-sum { position: sticky; top: calc(var(--sf-head-h) + 24px); display: flex; flex-direction: column; gap: 18px; padding: 28px; }
.sf-co-sum > .sf-label, .sf-co-sum-head .sf-label { font-size: 20px; letter-spacing: -0.018em; }
.sf-co-sum-head { display: flex; align-items: baseline; justify-content: space-between; }
.sf-co-sum-head a { font-size: 14px; color: var(--sf-ink); }
.sf-co-sum .sf-sum { padding-top: 16px; border-top: 1px solid var(--sf-line); }
.sf-line-item { display: flex; gap: 16px; align-items: flex-start; }
.sf-line-item > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sf-line-item strong { display: block; font-size: 15px; font-weight: 600; }
.sf-mini { width: 64px; height: 80px; flex: none; display: flex; border-radius: var(--sf-r-s); background: var(--sf-bg); }
.sf-mini img { object-fit: contain; }
.sf-mini-wrap { position: relative; flex: none; display: flex; }
.sf-mini-n { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; box-sizing: border-box; border-radius: 11px; background: var(--sf-ink); color: var(--sf-bg);
  font-size: 12px; font-weight: 600; line-height: 22px; text-align: center; }
.sf-cart-sum .sf-sum dt, .sf-co-sum .sf-sum dt { white-space: nowrap; }

/* ---------- custom request ---------- */
.sf-custom-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--sf-line); background: var(--sf-bg2); }
.sf-custom-hero .sf-wrap { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
html.sf .sf-custom-hero h1 { font-size: 56px; line-height: 1.03; letter-spacing: -0.042em; max-width: 13em; }
.sf-custom { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 80px; align-items: start; padding-top: 56px; padding-bottom: 96px; }
.sf-custom-side { position: sticky; top: calc(var(--sf-head-h) + 24px); display: flex; flex-direction: column; gap: 32px; }
html.sf .sf-custom-side h2 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px; }
.sf-numbered { list-style: none; padding: 0; display: grid; gap: 16px; }
.sf-numbered li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; font-size: 15px; color: var(--sf-ink-2); }
.sf-numbered li > span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--sf-line-s); font-size: 13px; font-weight: 600; color: var(--sf-ink); }
.sf-numbered b { display: block; color: var(--sf-ink); font-weight: 600; }
.sf-bullets { margin: 0; padding-left: 18px; color: var(--sf-ink-2); font-size: 15px; }
.sf-bullets li { margin: 6px 0; }
.sf-bullets li::marker { color: var(--sf-muted); }
.sf-formcard { padding: 40px; border: 1px solid var(--sf-line); border-radius: var(--sf-r-l); background: var(--sf-bg); }
.sf-as { margin: 0 0 24px; font-size: 15px; color: var(--sf-ink-2); }

/* ---------- the order page ---------- */
.sf-track { padding-top: 56px; padding-bottom: 96px; }
html.sf .sf-track > h1 { font-size: 48px; letter-spacing: -0.04em; }
.sf-track > .sf-lede { margin-top: 12px; }
.sf-order { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 56px; align-items: start; margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--sf-line); }
html.sf .sf-order-main h2 { font-size: 28px; }
.sf-when { margin-top: 4px; font-size: 14px; color: var(--sf-muted); }
.sf-order-main .sf-lede { margin-top: 12px; font-size: 16px; }
.sf-order .sf-co-sum { position: static; }
.sf-track-steps { list-style: none; margin: 28px 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.sf-track-steps li { display: flex; align-items: center; gap: 6px; padding-top: 12px; border-top: 3px solid var(--sf-line); font-size: 14px; color: var(--sf-muted); }
.sf-track-steps .sf-step-done { color: var(--sf-ink); border-top-color: var(--sf-ink); }
.sf-track-steps .sf-step-current { color: var(--sf-ink); font-weight: 600; border-top-color: var(--sf-line-s); }
.sf-step-check { flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sf-paybox { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.sf-paybox h3 { font-size: 20px; }
.sf-paynote { color: var(--sf-ink); white-space: pre-line; }
.sf-track-more { margin-top: 48px; }
.sf-account { margin-top: 64px; padding: 40px 0 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 56px; align-items: start;
  background: none; border-radius: 0; border-top: 1px solid var(--sf-line); }
html.sf .sf-account h2 { font-size: 22px; }
.sf-account p { margin-top: 6px; color: var(--sf-ink-2); }
.sf-account > .sf-btn { justify-self: start; }
.sf-narrow-page { padding-top: 72px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 16px; }

/* ---------- tablets ---------- */
@media (max-width: 1199px) {
  .sf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sf-head-in { gap: 20px; }
  .sf-nav a { padding: 0 9px; font-size: 14px; }
  .sf-prod { grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr); gap: 40px; }
  .sf-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .sf-band { grid-template-columns: 1fr; gap: 40px; padding: 48px; }
  .sf-band-split { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; }
  .sf-band-split .sf-btn { flex: none; margin-top: 0; }
  .sf-checkout, .sf-custom { gap: 40px; }
  .sf-checkout { grid-template-columns: minmax(0, 1fr) 360px; }
  .sf-cart { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
  .sf-foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sf-foot-brand { grid-column: 1 / -1; }
}
@media (min-width: 760px) and (max-width: 959px) {
  .sf-nav a:nth-child(n+4):not(:last-of-type) { display: none; }
}
@media (max-width: 959px) {
  .sf-hero-in { grid-template-columns: 1fr; }
  .sf-hero-text { padding: 16px 0 0; }
  .sf-hero-art { height: auto; aspect-ratio: 5 / 4; }
  .sf-custom { grid-template-columns: 1fr; }
  .sf-custom-side { position: static; }
}

/* ---------- phones ---------- */
@media (max-width: 759px) {
  html.sf h1 { font-size: 32px; }
  html.sf h2 { font-size: 24px; }
  .sf-head-in { gap: 4px; justify-content: space-between; }
  .sf-menubtn { display: inline-flex; }
  .sf-head .sf-logo { position: absolute; left: 50%; transform: translateX(-50%); font-size: 19px; }
  .sf-tools { margin-left: 0; }
  .sf-tools > a.sf-icon:not(.sf-bag) { display: none; }
  .sf-nav { display: none; }
  .sf-menu-open .sf-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: fixed; left: 0; right: 0; top: var(--sf-head-h); bottom: 0; z-index: 70;
    padding: 12px var(--sf-pad) 32px; background: var(--sf-bg); overflow-y: auto; animation: sf-fade .2s ease; }
  .sf-menu-open .sf-nav a { display: flex; min-height: 56px; padding: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.03em; color: var(--sf-ink); border-bottom: 1px solid var(--sf-line); }
  .sf-menu-open .sf-nav a[aria-current="page"]::after { display: none; }
  .sf-menu-open .sf-nav-extra { display: flex; flex-direction: column; margin-top: 24px; }
  .sf-menu-open .sf-nav-extra a { min-height: 44px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: var(--sf-ink-2); border: 0; }
  .sf-menu-open .sf-note { display: none; }
  html.sf .topbar.sf-menu-open { top: 0; }
  /* a blurred header would hold the open menu inside itself: plain while it's open */
  .sf-menu-open .sf-head { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--sf-bg); }
  .sf-head-co { font-size: 13px; }
  .sf-searchbar-in { height: 56px; }
  html.sf .sf-search { font-size: 17px; }

  .sf-sec { padding-top: 64px; }
  .sf-sec:last-of-type { padding-bottom: 64px; }
  .sf-sec-head { margin-bottom: 20px; }
  .sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
  .sf-card-body { flex-direction: column; gap: 2px; padding-top: 12px; }
  .sf-card-title { font-size: 15px; }
  .sf-card-price { font-size: 14px; }
  .sf-card-colors .sf-dot { display: none; }
  .sf-card-colors > span { margin-left: 0; }
  .sf-badge { top: 8px; left: 8px; font-size: 12px; padding: 3px 8px; }

  .sf-hero { padding-top: 20px; }
  html.sf .sf-hero h1 { font-size: 40px; }
  .sf-hero-sub { font-size: 17px; }
  .sf-hero-btns { width: 100%; flex-direction: column; }
  .sf-hero-btns .sf-btn { width: 100%; }
  .sf-hero-art { gap: 10px; aspect-ratio: 1; }
  .sf-hero-cap { left: 12px; right: 12px; bottom: 10px; flex-direction: column; gap: 0; font-size: 13px; }
  .sf-hero-art-3 .sf-hero-tile:not(:first-child) .sf-hero-cap span { display: none; }
  .sf-cat-grid { grid-template-columns: 1fr; gap: 12px; }
  .sf-band { padding: 32px 24px; gap: 32px; border-radius: var(--sf-r); }
  html.sf .sf-band-text h2 { font-size: 28px; }
  .sf-band-split { flex-direction: column; align-items: stretch; gap: 20px; }
  .sf-band-text .sf-btn { width: 100%; }
  .sf-facts { grid-template-columns: 1fr; gap: 24px; padding-top: 56px; padding-bottom: 64px; }
  .sf-open { padding-top: 48px; padding-bottom: 56px; gap: 40px; }
  html.sf .sf-open h1 { font-size: 38px; }
  .sf-open-steps { grid-template-columns: 1fr; gap: 20px; }
  .sf-foot-top { grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 0 32px; }

  .sf-shop { padding-top: 32px; padding-bottom: 64px; }
  html.sf .sf-shop-head h1, html.sf .sf-page-head h1, html.sf .sf-track > h1 { font-size: 34px; }
  .sf-shop-head { flex-direction: column; gap: 4px; margin-bottom: 20px; }
  .sf-filterbar { flex-direction: column; align-items: stretch; margin-bottom: 28px; margin-left: calc(-1 * var(--sf-pad)); margin-right: calc(-1 * var(--sf-pad)); padding: 0 0 16px; }
  .sf-tabs { padding: 0 var(--sf-pad); }
  .sf-sort { padding: 0 var(--sf-pad); justify-content: space-between; }
  .sf-empty { padding: 48px 20px; }

  .sf-product { padding-top: 12px; padding-bottom: 96px; }
  .sf-crumbs { margin-bottom: 16px; }
  .sf-prod { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sf-gallery { margin: 0 calc(-1 * var(--sf-pad)); }
  .sf-stage { border-radius: 0; aspect-ratio: 1; }
  .sf-thumbs { padding: 0 var(--sf-pad); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sf-thumb { flex: none; width: 64px; }
  .sf-gallery > .sf-fine { padding: 0 var(--sf-pad); }
  html.sf .sf-buy h1 { font-size: 30px; }
  .sf-buy { gap: 24px; padding-top: 0; }
  .sf-choices { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .sf-mbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--sf-bg) 92%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--sf-line);
    transform: translateY(110%); visibility: hidden; transition: transform .3s var(--sf-ease), visibility 0s linear .3s; }
  .sf-mbar.sf-on { transform: none; visibility: visible; transition: transform .3s var(--sf-ease); }
  .sf-mbar-in { display: flex; align-items: center; gap: 12px; }
  .sf-mbar-in > div { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; color: var(--sf-muted); }
  .sf-mbar-in > div span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sf-mbar-in strong { font-size: 17px; font-weight: 600; color: var(--sf-ink); font-variant-numeric: tabular-nums; }

  .sf-drawer { width: 100vw; }
  .sf-drawer-lines { padding: 4px 20px; }
  .sf-drawer-foot { padding: 16px 20px calc(20px + env(safe-area-inset-bottom)); }
  .sf-line { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; }
  .sf-line-img { width: 64px; }

  .sf-cart-page { padding-top: 32px; padding-bottom: 64px; }
  .sf-page-head { margin-bottom: 20px; }
  .sf-cart { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sf-cart-line { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 20px 0; }
  .sf-cart-img { width: 96px; }
  .sf-cart-name { font-size: 16px; }
  .sf-cart-price { grid-column: 2; align-items: flex-start; flex-direction: row; gap: 8px; }
  .sf-summary { position: static; padding: 24px 20px; border-radius: var(--sf-r); }

  .sf-checkout, .sf-order, .sf-account { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sf-checkout { padding-top: 24px; padding-bottom: 64px; }
  html.sf .sf-checkout h1 { font-size: 32px; }
  .sf-co-sum { position: static; padding: 20px; order: -1; border-radius: var(--sf-r); }
  .sf-order .sf-co-sum { order: 0; }
  .sf-two { grid-template-columns: 1fr; }
  .sf-custom-hero { padding: 40px 0 32px; }
  html.sf .sf-custom-hero h1 { font-size: 38px; }
  .sf-custom { padding-top: 32px; padding-bottom: 64px; gap: 32px; }
  .sf-formcard { padding: 24px 20px; margin: 0 calc(-1 * var(--sf-pad) + 8px); border-radius: var(--sf-r); }
  .sf-paybox, .sf-order .sf-co-sum { padding: 20px; }
  html.sf .sf-order-main h2 { font-size: 24px; }
  .sf-track-steps { gap: 4px; }
  .sf-track-steps li { font-size: 12px; align-items: flex-start; }
}

@keyframes sf-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html.sf *, html.sf *::before, html.sf *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- a customer's own pages at the store's address ----------
   Their orders, a request, quotes, invoices, statement and account are the app's pages, shown inside the
   store's header and footer (html.sf-acct). The color tokens above already give them the store's
   palette; these rules give them its width, type and shapes. Nothing here reaches the back end. */
html.sf-acct:root {
  --printing: #29ADFF; --printing-bg: #1C334E; --printing-fg: #29ADFF;
  --processing: #29ADFF; --processing-bg: #1C334E;
  --ok-bg: #2C2D3B; --late: #29ADFF; --neutral-bg: #2C2D3B;
}
html.sf-acct main#view { display: block; width: 100%; box-sizing: border-box; max-width: var(--sf-max); margin: 0 auto; padding: 16px var(--sf-pad) 96px; }
html.sf-acct #sf-page-foot { flex: none; }
html.sf-acct .picture { max-width: 560px; }
html.sf-acct main#view > * { width: auto; max-width: 1040px; }
html.sf-read main#view > * { max-width: 760px; }
html.sf-acct:root { --ring-deep: var(--sf-line-s); }
html.sf .dlg-body .field { margin: 0; }
html.sf .dlg .form-error { margin: 0 20px; }
html.sf-acct :is(.dtable, .row-meta, .stock-qty) { font-variant-numeric: tabular-nums; }
html.sf-acct h1 { font-size: 40px; font-weight: 600; letter-spacing: 0; }
html.sf-acct h2 { font-weight: 600; letter-spacing: 0; }
html.sf-acct .doc-head h1 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
html.sf-acct .page-head { margin: 40px 0 24px; }
html.sf-acct .back { font-size: 14px; min-height: 36px; margin-top: 24px; color: var(--sf-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sf-line-s); }
html.sf-acct .back:hover { text-decoration-color: currentColor; }
html.sf-acct .crumb a { text-decoration: none; }
html.sf-acct .btn { font-weight: 600; border-radius: var(--sf-r-s); }
html.sf-acct .row-title { font-weight: 600; }
html.sf-acct .row-meta { font-size: 14px; }
html.sf-acct :is(.st, .pill, .tag-unpaid, .tag-paid, .tag-late) { border-radius: 999px; font-size: 12px; font-weight: 600; }
html.sf-acct .card { border-radius: var(--sf-r); }
html.sf-acct .eyebrow { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sf-muted); }
html.sf-acct .mine-docs a { font-size: 14px; color: var(--sf-ink-2); }
html.sf-acct .mine-docs a:hover { color: var(--sf-ink); }
html.sf-acct .row .progress, html.sf-acct .flow { display: none; }
@media (min-width: 760px) {
  html.sf-acct .desk-only { display: inline-flex; }
  html.sf-acct .phone-only { display: none; }
}
@media (max-width: 759px) {
  html.sf-acct main#view { padding-bottom: 64px; }
  html.sf-acct h1 { font-size: 30px; }
}

/* ======================================================================================================
   Pixel Arcade (3.0) for the store: same roles as the app (app.css). Titles in Pixelify Sans (28 px and up),
   labels and buttons in Silkscreen uppercase 16 px, everything read (names, prices, notes) in Space Grotesk.
   ====================================================================================================== */
html.sf body { font-family: var(--f-text); letter-spacing: 0; font-feature-settings: normal; }
html.sf h1, html.sf h2:not(.eyebrow) { font-family: var(--f-display); font-weight: 600; letter-spacing: 0; line-height: 1.1; }
html.sf h1 { font-size: 56px; }
html.sf h2:not(.eyebrow) { font-size: 32px; }
@media (max-width: 759px) { html.sf h1 { font-size: 40px; } html.sf h2:not(.eyebrow) { font-size: 28px; } }
/* A product's own name is read, not a title */
html.sf h1.sf-pdp-title { font-family: var(--f-text); font-size: 36px; line-height: 1.1; }
@media (max-width: 759px) { html.sf h1.sf-pdp-title { font-size: 30px; } }
html.sf h3 { font-family: var(--f-text); letter-spacing: 0; }
.sf-eyebrow, html.sf h2.eyebrow, html.sf .sf-foot h2, html.sf .sf-foot h3, html.sf .label, .sf-fieldset legend {
  font-family: var(--f-label); font-weight: 400; font-size: 16px; letter-spacing: .5px; text-transform: uppercase; color: var(--sf-muted); }
.sf-eyebrow { color: var(--blue); }
/* Buttons: square, 2 px, one pixel off each corner, the bottom edge is the pressed step */
.sf-btn { font-family: var(--f-label); font-weight: 400; font-size: 16px; letter-spacing: .5px; text-transform: uppercase; border-width: 2px; min-height: 52px;
  box-shadow: inset 0 -4px 0 rgba(26, 28, 44, .35);
  clip-path: polygon(0 2px, 2px 2px, 2px 0, calc(100% - 2px) 0, calc(100% - 2px) 2px, 100% 2px, 100% calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) 100%, 2px 100%, 2px calc(100% - 2px), 0 calc(100% - 2px)); }
.sf-btn:active { transform: translateY(2px); box-shadow: inset 0 -2px 0 rgba(26, 28, 44, .35); }
.sf-btn-2, .sf-btn-2:hover { background: transparent; color: var(--sf-ink); border-color: var(--sf-ink); box-shadow: none; clip-path: none; }
.sf-btn-2:hover { background: var(--sf-ink); color: var(--midnight); }
.sf-btn-inv { background: var(--sf-ink); color: var(--midnight); border-color: var(--sf-ink); }
.sf-btn-sm { min-height: 44px; font-size: 16px; }
/* The bar on top, the header, the menu */
.sf-note { background: var(--sf-dark); border-bottom: 2px solid var(--sf-dark-line); }
.sf-note a { text-decoration-color: var(--blue); }
.sf-head { background: var(--midnight); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 2px solid var(--sf-line); }
.sf-nav a { font-family: var(--f-label); font-weight: 400; font-size: 16px; letter-spacing: .5px; text-transform: uppercase; color: var(--sf-ink-2); }
.sf-nav a[aria-current="page"]::after { height: 4px; left: 12px; right: 12px; bottom: 4px; background: var(--blue); }
html.sf .brand, .sf-brand { font-family: var(--f-text); font-weight: 600; letter-spacing: 0; }
/* Products: real renders on a midnight-framed plate; price in coin blue */
.sf-plate { border: 2px solid var(--sf-line); background: var(--sf-plate); }
.sf-card:hover .sf-card-media { background: var(--sf-plate-2); border-color: var(--sf-line-s); }
.sf-card-title { font-weight: 600; letter-spacing: 0; }
.sf-card-price, .sf-price, .sf-hero-cap span { color: var(--blue); font-weight: 600; font-family: var(--f-text); }
.sf-hero-tile { border: 2px solid var(--sf-line); }
.sf-hero-cap b { letter-spacing: 0; }
/* Options: square picks, a 2 px edge on the chosen one */
.sf-opt:hover { box-shadow: inset 0 0 0 2px var(--sf-line-s); }
.sf-opt[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--blue); }
.sf-choice > span { border-width: 2px; }
.sf-chip > span { border-width: 2px; }
html.sf :is(input, textarea, select) { border-width: 2px; background-color: var(--sf-dark); }
html.sf input:focus, html.sf textarea:focus, html.sf select:focus { border-color: var(--blue); box-shadow: none; }
.sf-foot { background: var(--sf-dark); border-top: 2px solid var(--sf-line); }
.sf-foot-end { border-top: 2px solid var(--sf-line); }
html.sf :focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
/* The home page's scene: crisp pixels, no plate behind it */
.sf-hero-art-scene { display: flex; align-items: center; justify-content: center; height: auto; }
.sf-hero-scene { display: block; width: 100%; max-width: 680px; height: auto; image-rendering: pixelated; }
html.sf .sf-foot h2, html.sf .sf-foot h3 { line-height: 20px; margin-bottom: 8px; }
/* A material's name beside its colors is read: Space Grotesk */
.sf-opt-mat { font-family: var(--f-text); font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--sf-muted); }
/* Warning words: the lighter arcade red that passes 4.5:1; pure red stays an edge */
html.sf .form-error { color: var(--sf-ink); border-width: 2px; }
.sf-file-bad .sf-file-state, .sf-file-err { color: #FF658E; }
/* ---- Audit fixes (ux-audit, 3.0.1) ---- */
/* Small links (breadcrumbs, the bar on top, footer) keep their look and get a 44-pixel tap area */
.sf-crumbs a, .sf-note a, .sf-foot nav a, .sf-link, .sf-eyebrow-link { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; }
.sf-foot nav a { margin-block: 0; min-height: 44px; padding: 0; }
.sf-logo { display: inline-flex; align-items: center; min-height: 44px; }
html.sf .sf-hero h1, html.sf .sf-hero-text h1 { line-height: 1.1; }
html.sf :is(.sf-chip > span, .sf-sort select, select, .sf-backlink, .sf-fine a, .sf-pills a, .sf-cat-pills a) { min-height: 44px; }
html.sf :is(.sf-backlink, .sf-fine a) { display: inline-flex; align-items: center; margin-block: -12px; }
html.sf :is(input[type=checkbox], input[type=radio]) { box-sizing: content-box; padding: 12px; margin: -12px; background-clip: content-box; }
html.sf .sf-hero h1 { letter-spacing: 0; }
html.sf .sf-tabs a { display: inline-flex; align-items: center; min-height: 44px; }
/* The tick's whole line is its label, so the line is the tap area: at least 44 tall */
.sf-check { min-height: 44px; align-items: center; }
.sf-check input { margin: 0; }
.sf-co-sum-head .sf-fine { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: flex-end; margin-block: -12px; }

/* ---- Width, touch and slow-network test fixes (3.0.3) ---- */
/* Narrow phones (320–374 px): the home page's words and buttons fit the screen */
@media (max-width: 374px) {
  html.sf .sf-hero h1 { font-size: 32px; }
  html.sf .sf-hero-text { width: 100%; min-width: 0; }
  html.sf .sf-hero-sub { font-size: 16px; }
  html.sf .sf-hero-btns { width: 100%; }
  html.sf .sf-hero-btns .sf-btn { width: 100%; }
  html.sf .sf-btn { white-space: normal; text-align: center; letter-spacing: 0; line-height: 1.2; padding-inline: 16px; }
  html.sf .sf-buy-row { flex-wrap: wrap; }
  html.sf .sf-buy-row .sf-grow { min-width: 0; }
}
/* Touch screens: no hover look that stays on after a tap, and no product picture left zoomed */
@media (hover: none) {
  .sf-btn:hover { background: var(--sf-btn); border-color: var(--sf-btn); }
  .sf-btn-2:hover { background: transparent; color: var(--sf-ink); border-color: var(--sf-ink); }
  .sf-card:hover .sf-card-media { background: var(--sf-plate); border-color: var(--sf-line); }
  .sf-card:hover .sf-card-media img, .sf-hero-tile:hover img { transform: none; }
  .sf-card:hover .sf-has-alt img:first-child { opacity: 1; }
  .sf-card:hover .sf-card-alt { opacity: 0; }
}
/* The cart: the product's name and Remove are 44 px tall to tap */
.sf-cart-name { display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; }
.sf-linkbtn { min-height: 44px; }
/* Phones: the bar on top takes two lines instead of cutting its sentence (and its "Custom requests welcome" link) off */
@media (max-width: 759px) {
  html.sf:root { --sf-note-h: 52px; }
  .sf-note .sf-wrap { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.35; padding-block: 4px; }
}
