/* Studio Store, public pages (docs/store.md).
   Wears the site's theme: --pb-* comes from website_theme_head(). Every value
   has a fallback so a workspace with no website theme still looks finished.
   No focus rings and no focus tints (owner, 2026-11-06: "remove tints and rings"). */

.st-body {
    --st-bg: var(--pb-bg, #fbfaf7);
    --st-ink: var(--pb-text, #1c1b19);
    --st-muted: var(--pb-muted, #6e6a63);
    --st-line: var(--pb-border, #e7e3db);
    --st-card: var(--pb-surface, #ffffff);
    --st-accent: var(--pb-primary, #1c1b19);
    --st-on-accent: var(--pb-on-primary, #ffffff); /* the site's readable text on its brand color */
    --st-soft: color-mix(in srgb, var(--st-accent) 8%, var(--st-card));
    /* Boxes follow the site corner, capped: a pill-button site sets --pb-radius to 9999px, which turned checkout into a circle (owner, 2026-11-04). */
    --st-r: min(var(--pb-radius, 14px), 24px);
    --st-btn-r: var(--pb-btn-r, 999px);
    --st-head: var(--pb-heading-font, inherit);
    --st-body: var(--pb-body-font, system-ui, -apple-system, "Segoe UI", sans-serif);
    background: var(--st-bg);
    color: var(--st-ink);
    font-family: var(--st-body);
    margin: 0;
}
.st-body *, .st-body *::before, .st-body *::after { box-sizing: border-box; }
.st-body :focus { outline: none !important; box-shadow: none; }
.st-embedded { background: transparent; }
.st-main { max-width: 1240px; margin: 0 auto; padding: 32px 24px 64px; }
.st-embedded .st-main { padding: 8px 4px 16px; }
.st-body img { max-width: 100%; display: block; }
.st-body a { color: inherit; }
.st-body h1, .st-body h2, .st-body h3 { font-family: var(--st-head); letter-spacing: -0.02em; text-wrap: balance; margin: 0; }

/* Buttons */
.st-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--st-btn-r); border: 1px solid var(--st-accent); background: var(--st-accent); color: var(--st-on-accent); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; }
.st-btn[disabled] { opacity: .55; cursor: not-allowed; }
.st-btn--ghost { background: var(--st-card); color: var(--st-ink); border-color: var(--st-line); }
.st-body a.st-btn { color: var(--st-on-accent); text-decoration: none; }
.st-body a.st-btn--ghost { color: var(--st-ink); }
.st-btn--block { width: 100%; }
.st-link { background: none; border: 0; padding: 0; color: var(--st-muted); font: inherit; text-decoration: underline; cursor: pointer; }

/* Storefront */
.st-hero { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; }
.st-hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.02; font-weight: 600; }
.st-hero p { margin: 8px 0 0; color: var(--st-muted); max-width: 56ch; line-height: 1.55; }
.st-search { display: flex; align-items: center; gap: 8px; background: var(--st-card); border: 1px solid var(--st-line); border-radius: 999px; padding: 0 14px; min-height: 44px; min-width: min(280px, 100%); }
.st-search input { border: 0; background: transparent; font: inherit; color: var(--st-ink); width: 100%; min-height: 42px; }
.st-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.st-chips a { display: inline-block; border: 1px solid var(--st-line); background: var(--st-card); color: var(--st-muted); border-radius: 999px; padding: 8px 15px; font-size: 14px; text-decoration: none; }
.st-chips a[aria-current="true"] { color: var(--st-ink); font-weight: 700; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 20px; }
.st-card { display: grid; align-content: start; gap: 10px; text-decoration: none; color: inherit; }
.st-card__img { aspect-ratio: 4 / 5; border-radius: var(--st-r); background: var(--st-soft); overflow: hidden; position: relative; display: grid; place-items: center; }
.st-card__img img { width: 100%; height: 100%; object-fit: cover; }
.st-card__initial { font-family: var(--st-head); font-size: 44px; color: var(--st-muted); }
.st-badge { position: absolute; top: 10px; left: 10px; background: var(--st-card); color: var(--st-ink); font-size: 12px; font-weight: 600; border-radius: 999px; padding: 4px 10px; }
.st-card h2 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.st-card__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; color: var(--st-muted); font-size: 14px; }
.st-card__meta b { order: -1; font-size: 15px; }
.st-card__meta b { color: var(--st-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.st-empty { padding: 48px 0; color: var(--st-muted); }
.st-notice { background: var(--st-soft); border-radius: var(--st-r); padding: 14px 16px; margin-bottom: 20px; line-height: 1.5; }

/* Product page */
.st-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.st-thumbs button { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 0; padding: 0; background: var(--st-soft); cursor: pointer; }
.st-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.st-info { display: grid; gap: 18px; align-content: start; }
.st-info h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.04; font-weight: 600; }
.st-price { font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; display: flex; gap: 10px; align-items: baseline; }
.st-price s { color: var(--st-muted); font-size: 17px; font-weight: 500; }
.st-left { justify-self: start; font-size: 14px; font-weight: 500; color: #8a4b00; background: #fff4e0; border-radius: 999px; padding: 6px 12px; }
.st-qty { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--st-line); border-radius: 999px; background: var(--st-card); min-height: 46px; padding: 0 6px; }
.st-qty button { width: 34px; height: 34px; border: 0; background: transparent; font-size: 18px; color: var(--st-ink); cursor: pointer; border-radius: 50%; }
.st-qty output, .st-qty span { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.st-desc { font-size: 15px; line-height: 1.65; }
.st-desc p { margin: 0 0 12px; }

/* Cart drawer */
.st-drawer[hidden] { display: none; }
.st-drawer { position: fixed; inset: 0; z-index: 2147483000; display: flex; justify-content: flex-end; }
.st-drawer__scrim { position: absolute; inset: 0; background: rgba(17, 17, 20, .38); border: 0; cursor: pointer; }
.st-drawer__panel { position: relative; width: min(420px, 100%); height: 100%; background: var(--st-card); color: var(--st-ink); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; box-shadow: -12px 0 40px rgba(0, 0, 0, .12); font-family: var(--st-body); }
.st-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--st-line); }
.st-drawer__head h2 { font-size: 18px; font-weight: 600; }
.st-drawer__close { border: 0; background: transparent; width: 40px; height: 40px; border-radius: 50%; font-size: 22px; cursor: pointer; color: var(--st-ink); }
.st-drawer__body { overflow-y: auto; padding: 8px 20px; }
.st-drawer__foot { border-top: 1px solid var(--st-line); padding: 16px 20px 20px; display: grid; gap: 12px; }
.st-line { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--st-line); }
.st-line:last-child { border-bottom: 0; }
.st-line__img { width: 60px; height: 60px; border-radius: 10px; background: var(--st-soft); overflow: hidden; display: grid; place-items: center; color: var(--st-muted); font-family: var(--st-head); }
.st-line__img img { width: 100%; height: 100%; object-fit: cover; }
.st-line__name { font-weight: 600; font-size: 15px; }
.st-line__sub { color: var(--st-muted); font-size: 13px; margin-top: 2px; }
.st-line__issue { color: #b42318; font-size: 13px; margin-top: 4px; }
.st-line__ctrl { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.st-line__ctrl .st-qty { min-height: 36px; }
.st-line__ctrl .st-qty button { width: 28px; height: 28px; font-size: 16px; }
.st-line__total { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-promo { display: flex; gap: 8px; }
.st-promo input { flex: 1; min-width: 0; }
.st-promo__msg { font-size: 13px; color: var(--st-muted); }
.st-promo__msg.is-ok { color: #1a7f37; }
.st-promo__msg.is-bad { color: #b42318; }
.st-sum { display: grid; gap: 6px; font-size: 15px; }
.st-sum div { display: flex; justify-content: space-between; gap: 12px; }
.st-sum span:last-child { font-variant-numeric: tabular-nums; }
.st-sum .st-sum__total { font-size: 18px; font-weight: 700; border-top: 1px solid var(--st-line); padding-top: 10px; margin-top: 4px; }
.st-cart-btn { position: fixed; right: 18px; bottom: 18px; z-index: 2147482000; display: inline-flex; align-items: center; gap: 8px; background: var(--st-accent); color: var(--st-on-accent); border: 0; border-radius: 999px; padding: 12px 18px; font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .16); }
.st-cart-btn[hidden] { display: none; }
.st-cart-btn em { font-style: normal; background: var(--st-on-accent); color: var(--st-accent); border-radius: 99px; padding: 0 7px; font-size: 12.5px; min-width: 20px; text-align: center; }
.st-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--st-ink); color: var(--st-bg); padding: 12px 18px; border-radius: 12px; font-size: 14px; z-index: 2147483001; max-width: calc(100% - 32px); }

/* Inputs */
.st-input, .st-body .st-field input, .st-body .st-field select { width: 100%; min-width: 0; min-height: 46px; padding: 12px 14px; border: 1px solid var(--st-line); border-radius: 10px; background: #fff; color: #1c1b19; font: inherit; font-size: 15px; }
.st-input:focus, .st-field input:focus, .st-field select:focus { border-color: var(--st-line) !important; }
.st-field { display: grid; gap: 6px; }
.st-field label { font-size: 14px; font-weight: 600; }
.st-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.st-row3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }

/* Checkout */
.st-co { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--st-line); border-radius: calc(var(--st-r) + 4px); overflow: hidden; background: var(--st-card); }
.st-co h2 { font-size: 18px; font-weight: 600; }
.st-co section { display: grid; gap: 12px; }
.st-choices { display: grid; gap: 8px; }
.st-choice { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--st-line); border-radius: 10px; background: #fff; color: #1c1b19; padding: 13px 14px; cursor: pointer; }
.st-choice input { accent-color: #1c1b19; width: 18px; height: 18px; margin: 0 10px 0 0; }
.st-choice small { display: block; color: #6e6a63; font-size: 13px; }
.st-card-el { padding: 14px; border: 1px solid var(--st-line); border-radius: 10px; background: #fff; }
.st-error { color: #b42318; font-size: 14px; }
.st-test { background: #fff4e0; color: #8a4b00; padding: 10px 14px; border-radius: 10px; font-size: 13.5px; }
.st-fine { color: var(--st-muted); font-size: 13px; line-height: 1.5; }

/* Order page */
.st-order { max-width: 1080px; margin: 0 auto; display: grid; gap: 28px; }
.st-order__ok { display: flex; gap: 18px; align-items: flex-start; }
.st-order__check { width: 52px; height: 52px; border-radius: 50%; background: var(--st-accent); color: var(--st-on-accent); display: grid; place-items: center; flex: none; margin-top: 4px; }
.st-order h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1; font-weight: 600; }
.st-order__eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--st-muted); }
.st-order__lede { margin: 10px 0 0; color: var(--st-muted); font-size: 15px; overflow-wrap: anywhere; }
/* Order page (2026-11-07): the order's story on the left, the money and where it goes on the right; phones stack. */
.st-order__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.st-order__main, .st-order__side { display: grid; gap: 20px; min-width: 0; }
.st-order__side { position: sticky; top: 24px; }
.st-order .st-box { padding: 24px; gap: 16px; }
.st-status { gap: 22px; }
.st-status__head { display: flex; gap: 20px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.st-status__head .st-fine { margin: 6px 0 0; font-size: 14px; }
.st-order .st-status__title { font-size: clamp(24px, 3vw, 30px); line-height: 1.1; }
.st-status__track { flex: none; }
.st-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); }
.st-steps li { position: relative; display: grid; gap: 2px; padding-top: 22px; font-size: 14px; color: var(--st-muted); }
/* Each step owns the line that leads INTO it, so the line fills only once that step has happened. */
.st-steps li + li::before { content: ''; position: absolute; top: 6px; left: calc(-100% + 14px); right: calc(100% - 0px); height: 2px; background: var(--st-line); }
.st-steps li.is-on::before { background: var(--st-accent); }
.st-steps i { position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--st-card); border: 2px solid var(--st-line); }
.st-steps .is-on i { background: var(--st-accent); border-color: var(--st-accent); }
.st-steps b { font-weight: 600; }
.st-steps .is-on b { color: var(--st-ink); }
.st-steps small { font-size: 12px; }
.st-status__number { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 12px 12px 16px; border-radius: var(--st-r); background: var(--st-soft); }
.st-status__number span { display: grid; gap: 2px; min-width: 0; }
.st-status__number small { font-size: 12px; color: var(--st-muted); }
.st-status__number code { font-size: 14px; letter-spacing: .02em; overflow-wrap: anywhere; }
.st-status__number .st-btn { min-height: 38px; padding: 0 16px; font-size: 14px; }
.st-items { list-style: none; margin: 0; padding: 0; display: grid; }
.st-items li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--st-line); }
.st-items li:first-child { border-top: 0; padding-top: 0; }
.st-items__img { width: 64px; height: 64px; border-radius: calc(var(--st-r) * .7); background: var(--st-soft); overflow: hidden; display: grid; place-items: center; font-family: var(--st-head); font-size: 24px; color: var(--st-muted); }
.st-items__img img { width: 100%; height: 100%; object-fit: cover; }
.st-items__name { display: grid; gap: 2px; min-width: 0; }
.st-items__name b { font-weight: 600; overflow-wrap: anywhere; }
.st-items__name small { color: var(--st-muted); font-size: 13px; }
.st-items__price { font-variant-numeric: tabular-nums; font-weight: 600; }
.st-order__side .st-sum { gap: 10px; }
.st-order__side .st-sum span:first-child { color: var(--st-muted); }
.st-order__side .st-sum .st-sum__total { font-size: 20px; border-top: 1px solid var(--st-line); padding-top: 14px; }
.st-order__side .st-sum .st-sum__total span:first-child { color: var(--st-ink); }
.st-order__addr { border-top: 1px solid var(--st-line); padding-top: 14px; display: grid; gap: 4px; }
.st-order__addr small { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--st-muted); }
.st-order__addr address { font-style: normal; line-height: 1.55; white-space: pre-line; font-size: 14px; }
.st-order__keep { gap: 10px; }
.st-order__keep .st-fine { margin: 0 0 6px; overflow-wrap: anywhere; }
/* On a tinted card the ghost button's card-colored fill and hairline vanished (Base, Salon): an outline in the ink color reads on any card. */
.st-order__keep .st-btn--ghost { background: transparent; border-color: color-mix(in srgb, var(--st-ink) 28%, transparent); }
.st-order__more { text-align: center; font-size: 14px; font-weight: 600; padding: 6px 0 0; text-decoration: none; }
@media (max-width: 860px) {
    .st-order__grid { grid-template-columns: minmax(0, 1fr); }
    .st-order__side { position: static; }
}
@media (max-width: 520px) {
    .st-order { gap: 22px; }
    .st-order__ok { gap: 14px; }
    .st-order__check { width: 40px; height: 40px; }
    .st-order .st-box { padding: 18px; }
    .st-status__track { width: 100%; }
    .st-items li { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; }
    .st-items__img { width: 52px; height: 52px; }
}
.st-box { background: var(--st-card); border: 1px solid var(--st-line); border-radius: calc(var(--st-r) + 2px); padding: 20px; display: grid; gap: 14px; }
.st-box h2 { font-size: 16px; font-weight: 600; }
.st-dl { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.st-dl__icon { width: 52px; height: 52px; border-radius: 10px; background: var(--st-accent); color: var(--st-on-accent); display: grid; place-items: center; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.st-dl small { display: block; color: var(--st-muted); font-size: 13px; overflow-wrap: anywhere; }
/* License keys: monospace, copyable, never clipped */
.st-key { display: grid; gap: 8px; }
.st-key small { color: var(--st-muted); font-size: 13px; }
.st-key__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.st-key__row code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; padding: 10px 12px; border-radius: 10px; background: var(--st-soft); color: var(--st-ink); overflow-wrap: anywhere; }
.st-key__copy { min-height: 40px; padding: 0 16px; font-size: 14px; }
.st-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.st-track div { display: grid; gap: 6px; font-size: 13px; color: var(--st-muted); }
.st-track i { height: 5px; border-radius: 99px; background: var(--st-line); display: block; }
.st-track .is-on { color: var(--st-ink); font-weight: 600; }
.st-track .is-on i { background: var(--st-accent); }

/* Download check */
.st-verify { max-width: 460px; margin: 24px auto; display: grid; gap: 16px; }
.st-verify h1 { font-size: 32px; line-height: 1.05; font-weight: 600; }
.st-verify p { margin: 0; color: var(--st-muted); line-height: 1.55; }
.st-code { font-size: 26px; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.st-stats { display: grid; gap: 8px; }
.st-stats div { display: flex; justify-content: space-between; font-size: 15px; }

@media (max-width: 860px) {
    .st-co { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .st-main { padding: 20px 16px 48px; }
    .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
    .st-row3 { grid-template-columns: 1fr 1fr; }
    .st-row3 > :first-child { grid-column: 1 / -1; }
}

/* ── Statement: product, cart and checkout (owner, 2026-11-04) ──
   Every store's product, cart and checkout pages sit on the same calm
   neutrals; the site adds only its fonts, corners, button shape and ONE pop
   color (--pb-primary): the big bar buttons, step numbers and checked marks.
   A dark or colored site background never reaches these pages. */
.stx, .st-drawer {
    --st-bg: #ffffff;
    --st-ink: #141414;
    --st-muted: #6b6b6b;
    --st-line: #e6e6e3;
    --st-card: #ffffff;
    --st-soft: #f5f5f4;
    --st-on-accent: var(--pb-on-primary, var(--pbd-fallback-on-brand, #ffffff));
    --st-pop-text: color-mix(in srgb, var(--st-accent) 78%, #000);
    color: var(--st-ink);
}
.st-main:has(> .stx) { background: #ffffff; box-shadow: 0 0 0 100vmax #ffffff; clip-path: inset(0 -100vmax); padding-top: clamp(24px, 4vw, 56px); }
.st-body:has(.stx) .st-notice { background: #f5f5f4; color: #141414; }
.st-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(22px, 4vw, 44px); }
.stx-title { font-family: var(--st-head); font-weight: var(--pb-heading-weight, 700); font-size: clamp(44px, 8.4vw, 104px); line-height: .92; letter-spacing: -0.035em; margin: 0; overflow-wrap: anywhere; }
.st-body .stx-title--product { font-size: clamp(42px, 8vw, 116px); margin-bottom: clamp(22px, 3.4vw, 44px); }
.stx-title__count { font-family: var(--st-body); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--st-muted); margin-left: 8px; vertical-align: super; }
.stx-back { min-height: 44px; }
.stx-crumb { display: inline-flex; gap: 6px; font-size: 13.5px; color: var(--st-muted); text-decoration: none; margin-bottom: 14px; }
.st-body .stx .stx-h2 { font-family: var(--st-head); font-size: 21px; font-weight: var(--pb-heading-weight, 700); margin: 0 0 14px; letter-spacing: -0.015em; }
.stx-sub { display: block; color: var(--st-muted); font-size: 13.5px; margin-top: 3px; }
.stx-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--st-muted); }

/* The one bold button: label left, amount right, in the store's pop color. */
.stx-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; min-height: 62px; padding: 0 26px; border: 0; border-radius: var(--st-btn-r); background: var(--st-accent); color: var(--st-on-accent); font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; text-decoration: none; transition: filter .15s, transform .15s; }
.st-body a.stx-bar { color: var(--st-on-accent); }
.stx-bar:hover { filter: brightness(1.07); }
.stx-bar:active { transform: translateY(1px); }
.stx-bar[disabled], .stx-bar[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.stx-bar span:last-child:not(:first-child) { font-variant-numeric: tabular-nums; }
.stx-bar.ccpay-busy { justify-content: center; }
.stx-bar--auto { width: auto; display: inline-flex; }

/* Product */
.stx-pdp { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.stx-gal__main { display: block; position: relative; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: var(--st-r); overflow: hidden; background: var(--st-soft); cursor: zoom-in; }
.stx-gal__main--empty { display: grid; place-items: center; cursor: default; }
.stx-gal__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.stx-gal__main.is-zoomed img { transform: scale(2.1); transition: transform .06s linear; }
.stx-gal__hint { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; align-items: center; background: rgba(255, 255, 255, .92); color: #111; font-size: 12px; font-weight: 600; padding: 8px 11px; border-radius: 99px; pointer-events: none; transition: opacity .2s; }
.stx-gal__main.is-zoomed .stx-gal__hint { opacity: 0; }
.stx-thumbs { margin-top: 12px; }
.stx-thumbs button { opacity: .55; transition: opacity .15s; }
.stx-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--st-ink); }
.stx-swipe { display: none; position: relative; margin: 0 -16px; }
.stx-swipe__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.stx-swipe__track::-webkit-scrollbar { display: none; }
.stx-swipe__track button { flex: 0 0 100%; aspect-ratio: 4 / 5; scroll-snap-align: center; padding: 0; border: 0; background: var(--st-soft); }
.stx-swipe__track img { width: 100%; height: 100%; object-fit: cover; }
.stx-swipe__count { position: absolute; top: 12px; right: 12px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; font-weight: 600; padding: 7px 10px; border-radius: 99px; }
.stx-swipe__dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 0; }
.stx-swipe__dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--st-line); transition: width .2s, background .2s; }
.stx-swipe__dots i.is-on { width: 18px; background: var(--st-ink); }
.stx-info { display: grid; gap: 28px; align-content: start; position: sticky; top: 24px; }
.stx-price { font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; display: flex; gap: 12px; align-items: baseline; }
.stx-price s { font-size: 18px; color: var(--st-muted); font-weight: 500; }
.stx-opts { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.stx-opts legend { padding: 0; margin-bottom: 10px; }
.stx-opts__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
/* Every pill is the same size; "Sold out" sits under its pill, outside it (owner, 2026-11-05). */
.stx-opt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.stx-opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.stx-opt span { display: grid; min-width: 64px; text-align: center; padding: 11px 18px; border: 1.5px solid var(--st-line); border-radius: var(--st-btn-r); font-weight: 600; font-size: 14.5px; transition: background .15s, border-color .15s; }
.stx-opt small { font-size: 11.5px; font-weight: 600; line-height: 1; color: #c4302b; white-space: nowrap; }
.stx-opt input:checked + span { background: var(--st-ink); border-color: var(--st-ink); color: #fff; }
.stx-opt input:disabled + span { background: #f1f1ef; border-color: #f1f1ef; color: #9a9a96; text-decoration: line-through; cursor: not-allowed; }
.stx-buy { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: stretch; }
.stx-buy[hidden], .stx-bar[hidden], .stx-opt small[hidden] { display: none; }
/* A section's own display (grid) must not beat the hidden attribute (checkout hides what a cart does not need). */
.st-body [hidden], .stx [hidden] { display: none !important; }
/* A value with no combination left to buy, given the other picks: still pickable, shown as sold out. */
.stx-opt:has(input:not(:checked)):has([data-opt-out]:not([hidden])) span { background: #f1f1ef; border-color: #f1f1ef; color: #9a9a96; text-decoration: line-through; }
.stx-qty { min-height: 62px; padding: 0 8px; gap: 4px; }
.stx-spec { display: grid; margin: 0; border-top: 2px solid var(--st-ink); }
.stx-spec div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--st-line); font-size: 14.5px; }
.stx-spec dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--st-muted); }
.stx-spec dd { margin: 0; text-align: right; }
.stx-desc { color: #3a3a3a; }
.stx-share { justify-self: start; display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 22px; border: 1.5px solid var(--st-line); border-radius: var(--st-btn-r); background: var(--st-card); color: var(--st-ink); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; transition: border-color .15s, background .15s; }
.stx-share:hover { border-color: var(--st-ink); }

/* Below the buy box: the product's own Details (specs + sections) and "You may also like" (StoreProductDetails). */
.stx-more, .stx-related { margin-top: clamp(48px, 7vw, 96px); }
/* .st-body h2 sets margin 0, so the space under these titles is set at the same weight (.st-body ...). */
.st-body .stx-more__title { font-family: var(--st-head); font-weight: var(--pb-heading-weight, 700); font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 clamp(20px, 2.4vw, 32px); }
.stx-more__cols { display: grid; gap: clamp(24px, 4vw, 56px); max-width: 860px; }
.stx-more--two .stx-more__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); max-width: none; align-items: start; }
.stx-more__specs { margin: 0; border-top: 2px solid var(--st-ink); }
.stx-more__specs div { display: grid; grid-template-columns: minmax(110px, 40%) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--st-line); font-size: 15px; line-height: 1.45; }
.stx-more__specs dt { color: var(--st-muted); font-weight: 600; }
.stx-more__specs dd { margin: 0; overflow-wrap: anywhere; }
.stx-more__acc { border-top: 2px solid var(--st-ink); }
.stx-more__acc details { border-bottom: 1px solid var(--st-line); }
.stx-more__acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 16px; cursor: pointer; }
.stx-more__acc summary::-webkit-details-marker { display: none; }
.stx-more__acc summary svg { flex: none; transition: transform .2s ease; color: var(--st-muted); }
.stx-more__acc details[open] summary svg { transform: rotate(180deg); }
.stx-more__body { padding: 0 0 20px; color: var(--st-muted); line-height: 1.65; font-size: 15px; max-width: 68ch; overflow-wrap: anywhere; }
.stx-related__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: clamp(20px, 2.4vw, 32px); }
.st-body .stx-related__head .stx-more__title { margin: 0; }
.stx-related__all { font-weight: 600; font-size: 15px; color: var(--st-ink); text-underline-offset: 4px; }
.stx-related__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
@media (max-width: 860px) {
    .stx-more--two .stx-more__cols { grid-template-columns: 1fr; }
    .stx-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
}

/* Full-screen photos */
.stx-lb[hidden] { display: none; }
.stx-lb { position: fixed; inset: 0; z-index: 2147483002; background: rgba(12, 12, 14, .95); color: #fff; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; font-family: var(--st-body); }
.stx-lb__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 14px; }
.stx-lb__btn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.stx-lb__btn:hover { background: rgba(255, 255, 255, .22); }
.stx-lb__main { position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; }
.stx-lb__pic { display: grid; place-items: center; max-width: min(94vw, 1100px); height: 100%; overflow: hidden; cursor: zoom-in; touch-action: pinch-zoom; }
.stx-lb__pic img { max-width: 100%; max-height: calc(100vh - 190px); object-fit: contain; transition: transform .2s; }
.stx-lb__pic.is-zoomed { cursor: zoom-out; }
.stx-lb__pic.is-zoomed img { transform: scale(2.4); transition: transform .06s linear; }
.stx-lb__prev, .stx-lb__next { position: absolute; top: 50%; transform: translateY(-50%); }
.stx-lb__prev { left: 18px; } .stx-lb__next { right: 18px; }
.stx-lb__strip { display: flex; justify-content: center; gap: 10px; padding: 14px; overflow-x: auto; }
.stx-lb__strip button { flex: none; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; opacity: .45; cursor: pointer; background: none; }
.stx-lb__strip button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px #fff; }
.stx-lb__strip img { width: 100%; height: 100%; object-fit: cover; }

/* Cart */
.stx-t { width: 100%; border-collapse: collapse; }
.stx-t th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--st-muted); font-weight: 600; text-align: left; padding: 0 12px 14px 0; border-bottom: 2px solid var(--st-ink); }
.stx-t td { padding: 20px 12px 20px 0; border-bottom: 1px solid var(--st-line); vertical-align: middle; }
.stx-t__item { display: flex; gap: 18px; align-items: center; }
.stx-t__item b { font-size: 17px; font-weight: 600; }
.stx-thumb { width: 88px; height: 88px; flex: none; border-radius: min(var(--st-r), 10px); overflow: hidden; background: var(--st-soft); display: grid; place-items: center; color: var(--st-muted); font-family: var(--st-head); font-size: 22px; }
.stx-thumb img { width: 100%; height: 100%; object-fit: cover; }
.stx-t__unit { font-variant-numeric: tabular-nums; color: var(--st-muted); }
.stx-t__total { text-align: right; font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stx-t th.stx-t__total { text-align: right; font-size: 12px; }
.stx-t__x { width: 40px; text-align: right; }
.stx-step { display: inline-flex; align-items: center; gap: 4px; }
.stx-step button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--st-line); background: #fff; color: var(--st-ink); cursor: pointer; font-size: 16px; line-height: 1; }
.stx-step output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.stx-x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--st-muted); cursor: pointer; display: grid; place-items: center; margin-left: auto; }
.stx-x:hover { background: var(--st-soft); color: var(--st-ink); }
.stx-dock { margin-top: 28px; background: var(--st-soft); border-radius: max(var(--st-r), 16px); padding: clamp(20px, 3vw, 34px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.stx-modes { display: grid; gap: 14px; }
.stx-mode { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; position: relative; }
.stx-mode input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.stx-mode__box { width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 999px; border: 1.5px solid #b9b9b5; display: grid; place-items: center; background: #fff; }
.stx-mode.is-on .stx-mode__box { background: var(--st-accent); border-color: var(--st-accent); color: var(--st-on-accent); }
.stx-mode small { display: block; color: var(--st-muted); font-size: 13px; margin-top: 2px; }
.stx-pay { display: grid; gap: 14px; }
.stx-promo { display: flex; gap: 8px; }
.stx-promo .st-input { flex: 1; min-width: 0; background: #fff; }
.stx-rows { display: grid; gap: 8px; margin: 0; }
.stx-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.stx-rows dt { color: var(--st-muted); }
.stx-rows dd { margin: 0; font-variant-numeric: tabular-nums; }
.stx-rows__note dd { color: var(--st-muted); }
.stx-empty { padding: 32px 0 8px; display: grid; gap: 18px; justify-items: start; }
.stx-empty p { margin: 0; font-size: 18px; color: var(--st-muted); }

/* Checkout */
.stx-co { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.stx-co__form { display: grid; gap: 38px; }
.stx-sec { display: grid; gap: 14px; }
.stx-sec__h { display: flex; gap: 14px; align-items: baseline; border-bottom: 2px solid var(--st-ink); padding-bottom: 12px; margin-bottom: 6px; }
.stx-sec__h h2 { font-size: clamp(24px, 3vw, 34px); font-weight: var(--pb-heading-weight, 700); letter-spacing: -0.025em; }
.stx-sec__n { font-size: 14px; font-weight: 700; color: var(--st-pop-text); font-variant-numeric: tabular-nums; }
.stx-gap { display: grid; gap: 14px; }
.stx .st-field label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--st-muted); }
.stx .st-field input, .stx .st-field select, .stx .st-input { border: 1.5px solid #dcdcd8; border-radius: min(var(--st-r), 10px); min-height: 52px; font-size: 16px; background: #fff; color: #141414; }
.stx .st-field input:focus, .stx .st-field select:focus, .stx .st-input:focus { border-color: #dcdcd8 !important; }
.stx-choices { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.stx .st-choice { position: relative; display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid #dcdcd8; border-radius: min(var(--st-r), 12px); padding: 16px; background: #fff; }
.stx .st-choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.stx .st-choice span { flex: 1; font-weight: 600; }
.stx .st-choice span small { font-weight: 400; margin-top: 2px; color: var(--st-muted); }
.stx .st-choice b { font-variant-numeric: tabular-nums; }
.stx .st-choice:has(input:checked) { border-color: var(--st-ink); box-shadow: inset 0 0 0 1px var(--st-ink); }
.stx .st-choice:has(input:checked)::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--st-accent); margin-top: 6px; flex: none; }
.stx .st-test { background: #fff6e5; color: #5c3b00; }
.stx .st-card-el { border: 0; padding: 0; background: transparent; }
.stx-co__side { position: sticky; top: 24px; background: var(--st-soft); border-radius: max(var(--st-r), 16px); padding: clamp(20px, 3vw, 30px); display: grid; gap: 16px; }
.stx-lines { display: grid; gap: 14px; }
.stx-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.stx-line .stx-thumb { width: 64px; height: 64px; }
.stx-line b { font-weight: 600; }
.stx-line__total { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stx-co__side .st-sum { gap: 8px; }
.stx-co__side .st-sum span:first-child { color: var(--st-muted); }
.stx-co__side .st-sum .st-sum__total { font-size: 20px; border-top: 2px solid var(--st-ink); padding-top: 12px; }
.stx-co__side .st-sum .st-sum__total span:first-child { color: var(--st-ink); }
.stx-lock { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 0; font-size: 13px; color: var(--st-muted); }

/* The cart drawer that opens after Add to cart: same neutrals and pop. */
.st-drawer .st-btn:not(.st-btn--ghost) { background: var(--st-accent); border-color: var(--st-accent); color: var(--st-on-accent); }

@media (max-width: 860px) {
    .stx-pdp, .stx-co, .stx-dock { grid-template-columns: 1fr; }
    .stx-info, .stx-co__side { position: static; }
    .stx-swipe { display: block; }
    .stx-gal__desk { display: none; }
    .stx-t thead { display: none; }
    .stx-t, .stx-t tbody { display: block; }
    .stx-t tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--st-line); }
    .stx-t td { padding: 0; border: 0; }
    .stx-t td.stx-t__prod { grid-column: 1 / -1; }
    .stx-t td.stx-t__unit { display: none; }
    .stx-t__total { text-align: left; }
    .stx-thumb { width: 72px; height: 72px; }
}
@media (max-width: 480px) {
    .stx-bar { min-height: 56px; padding: 0 20px; font-size: 16px; }
    .stx-buy { grid-template-columns: auto minmax(0, 1fr); }
    .stx-qty { min-height: 56px; }
    .stx .st-row2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .st-body * { transition: none !important; animation: none !important; } }

/* ── Store blocks in the website builder (Product grid layouts, Product spotlight) ── */
.stb .mx-auto { max-width: var(--st-page-width, 1240px); }
.stb-head .st-lead { max-width: 56ch; }
.stb-tabs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 24px; }
.stb-tabs a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--st-soft); color: var(--st-muted); font-size: 14px; text-decoration: none; }
.stb-tabs a[aria-current="true"] { color: var(--st-ink); font-weight: 700; }
.stb-grid { display: grid; grid-template-columns: repeat(var(--stb-cols, 4), minmax(0, 1fr)); gap: 28px 20px; }
.stb-card { position: relative; display: grid; gap: 10px; align-content: start; }
.stb-card a { color: inherit; text-decoration: none; }
.stb-card__img { position: relative; display: grid; place-items: center; aspect-ratio: var(--stb-ratio, 4 / 5); border-radius: var(--st-r); background: var(--st-soft); overflow: hidden; }
.stb-card__img img { width: 100%; height: 100%; object-fit: cover; }
.stb-card__name { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
/* The whole name line opens the product, not just the inked words of a wrapped name. */
.stb-card__name a { display: block; }
/* Card text lines up on ONE edge: name, then price, then category, all left (owner, 2026-11-04).
   A section set to Center alignment centers the whole card instead. */
.stb-card__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; color: var(--st-muted); font-size: 14px; }
.stb-card__meta b { order: -1; font-size: 15px; }
.st-align--center .stb-card { text-align: center; }
.st-align--center .stb-card__meta { align-items: center; }
.stb-card__meta b { color: var(--st-ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stb-card__meta s { color: var(--st-muted); font-weight: 400; margin-left: 4px; }
.stb-badge { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--st-ink); color: var(--st-bg); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; border-radius: 999px; padding: 4px 10px; text-transform: uppercase; }
.stb-badge.is-out { background: var(--st-card); color: var(--st-ink); }
.stb-quick { position: absolute; top: 10px; right: 10px; }
.stb-add { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--st-line); background: var(--st-card); color: var(--st-ink); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; }
.stb-add.is-off { opacity: .5; cursor: default; }
/* staggered (kept for saved sites): now an even, centered grid. In a grid every
   photo is the same size and rows line up (owner, 2026-11-04: "this goes for
   all themes, if it's in a grid"). */
.stb--staggered .stb-grid { align-items: start; }
/* tilted: taped, rotated cards with a hard shadow */
.stb--tilted .stb-card { background: var(--st-card); border: 2px solid var(--st-ink); padding: 10px; box-shadow: 5px 5px 0 var(--st-ink); }
.stb--tilted .stb-card:nth-child(odd) { transform: rotate(-1.5deg); }
.stb--tilted .stb-card:nth-child(even) { transform: rotate(1.2deg) translateY(10px); }
.stb--tilted .stb-card__img { border-radius: 0; }
/* framed: gallery frames with a mat */
.stb--framed .stb-card__img { border-radius: 0; background: var(--st-card); padding: 18px; box-shadow: 0 0 0 10px var(--st-ink), 0 24px 34px -18px rgba(0,0,0,.55); margin: 10px; }
.stb--framed .stb-card { gap: 18px; }

/* split: copy on one side, products on the other */
.stb-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 48px; align-items: center; }
/* Flipped (owner, 2026-11-06): copy on the right of the products, the spotlight's photo on the left. Desktop only. */
@media (min-width: 861px) {
    .stb-split--copy-right { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
    .stb-split--copy-right > .stb-split__copy { order: 2; }
    .stb-spot--photo-left .stb-spot__media { order: -1; }
}
.stb--split .stb-grid { grid-template-columns: repeat(min(var(--stb-cols, 3), 3), minmax(0, 1fr)); }
/* rail: a sliding row */
.stb--rail .stb-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 8px; }
.stb--rail .stb-card { flex: 0 0 min(300px, 72%); scroll-snap-align: start; }
/* numbered list: a catalog index; the photo follows the row on hover */
.stb-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--st-ink); }
.stb-list__row { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, .8fr) 110px 90px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid color-mix(in srgb, var(--st-ink) 25%, transparent); }
.stb-list__no, .stb-list__meta, .stb-list__badge { font-family: ui-monospace, "IBM Plex Mono", Menlo, monospace; font-size: 12.5px; color: var(--st-muted); text-transform: uppercase; }
.stb-list__name { font-weight: 700; font-size: clamp(18px, 2.2vw, 26px); letter-spacing: -0.02em; color: inherit; text-decoration: none; }
.stb-list__price { font-family: ui-monospace, "IBM Plex Mono", Menlo, monospace; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.stb-list__act { text-align: right; }
.stb-list__peek { position: absolute; right: 230px; top: 50%; width: 200px; aspect-ratio: 4 / 5; object-fit: cover; transform: translateY(-50%) scale(.96); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; z-index: 2; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.stb-list__row:hover .stb-list__peek { opacity: 1; transform: translateY(-50%) scale(1); }
.stb-list__row:hover { background: color-mix(in srgb, var(--st-ink) 4%, transparent); }
/* spotlight */
.stb-spot { padding: 64px 24px; }
.stb-spot--dark { background: var(--st-ink); color: var(--st-bg); }
/* In a builder section the frame clears this background and a dark section has already swapped --st-bg/--st-ink, so the text follows the section (Northline's price read black on black). */
.pb-block.st-section .stb-spot--dark { color: inherit; }
.stb-spot--soft { background: var(--st-soft); }
.stb-spot__in { max-width: var(--st-page-width, 1240px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
/* Text beside a photo: shorter copy centers on the photo, taller copy and the photo both start at the top (owner, 2026-11-07). */
.stb-spot__media { align-self: start; }
.stb-spot__copy { align-self: center; }
.stb-spot__eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.stb-spot__name { margin: 0 0 16px; font-family: var(--st-head); font-size: clamp(36px, 5vw, 64px); line-height: .98; letter-spacing: -0.02em; }
.stb-spot__text { margin: 0 0 18px; line-height: 1.6; opacity: .8; max-width: 52ch; }
.stb-spot__price { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.stb-spot__price s { opacity: .55; font-weight: 400; font-size: 17px; margin-left: 6px; }
.stb-spot__buy { display: flex; gap: 10px; flex-wrap: wrap; }
.stb-spot__buy select { max-width: 240px; }
/* A dark section remaps --st-bg to its own dark, so the button went dark on dark: it is always light here. */
.stb-spot--dark .st-btn { background: #ffffff; color: #111111; border-color: #ffffff; }
.stb-spot__main { aspect-ratio: 1 / 1; border-radius: var(--st-r); overflow: hidden; background: var(--st-soft); }
.stb-spot__main img { width: 100%; height: 100%; object-fit: cover; }
.stb-spot__main:has(> .stb-spot__initial) { display: grid; place-items: center; }
.stb-spot__initial { font-size: clamp(56px, 8vw, 96px); }
@media (max-width: 860px) {
    .stb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stb-split, .stb-spot__in { grid-template-columns: 1fr; }
    .stb-list__row { grid-template-columns: 44px minmax(0, 1fr) auto; }
    .stb-list__meta, .stb-list__badge, .stb-list__peek { display: none; }
    .stb-list__act { grid-column: 2 / -1; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .stb--tilted .stb-card { transform: none !important; } }

/* A store template's demo stops at the payment step (owner, 2026-11-05): the card form is a note, the Pay button a closing line. */
.st-demo-pay { padding: 16px 18px; border-radius: 12px; background: color-mix(in srgb, currentColor 7%, transparent); color: inherit; font-size: 14.5px; line-height: 1.55; }
.st-demo-pay b { display: block; margin-bottom: 2px; }
.st-demo-end { margin: 6px 0 0; padding: 14px 16px; border-radius: 12px; border: 1px dashed color-mix(in srgb, currentColor 30%, transparent); text-align: center; font-size: 14px; line-height: 1.45; opacity: .85; }

/* The cart drawer's two ways on (owner, 2026-11-05): the full cart, and checkout. */
.st-drawer__actions { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; margin-top: 4px; }
.st-drawer__actions .st-btn { width: 100%; justify-content: center; text-align: center; }
.st-drawer__actions .st-btn:only-child { grid-column: 1 / -1; }
/* With the cart drawer open its buttons sit at the bottom, so the "Added" message moves to the top. */
.st-drawer:not([hidden]) ~ .st-toast { top: 20px; bottom: auto; }

/* Quick view (owner, 2026-11-05): a product's details in a modal, from an event page or a grid set to open one.
   Two columns on a wide screen, a sheet from the bottom on a phone. Theme colors from the store's own tokens. */
.st-qv { --st-bg: var(--pb-bg, #fbfaf7); --st-ink: var(--pb-text, #1c1b19); --st-muted: var(--pb-muted, #6e6a63); --st-line: var(--pb-border, #e7e3db); --st-card: var(--pb-surface, #ffffff); --st-accent: var(--pb-primary, #1c1b19); --st-on-accent: var(--pb-on-primary, #ffffff); --st-btn-r: var(--pb-btn-r, 999px); --st-head: var(--pb-heading-font, inherit); font-family: var(--pb-body-font, system-ui, -apple-system, "Segoe UI", sans-serif); }
.st-qv *, .st-qv *::before, .st-qv *::after { box-sizing: border-box; }
.st-qv :focus { outline: none !important; box-shadow: none; }
.st-qv h2 { font-family: var(--st-head); letter-spacing: -0.02em; }
.st-qv { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.st-qv[hidden] { display: none; }
.st-qv__scrim { position: absolute; inset: 0; border: 0; background: rgba(10,10,15,.5); cursor: pointer; }
.st-qv__panel { position: relative; width: min(920px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: var(--st-bg, var(--pb-bg, #fff)); color: var(--st-ink, var(--pb-text, #141414)); border-radius: 18px; box-shadow: 0 24px 64px rgba(10,10,15,.28); }
.st-qv__close { position: absolute; top: 12px; right: 12px; z-index: 1; width: 40px; height: 40px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--st-bg, var(--pb-bg, #fff)) 85%, transparent); color: inherit; font-size: 22px; line-height: 1; cursor: pointer; outline: none; }
.st-qv__close:hover { background: color-mix(in srgb, currentColor 10%, var(--st-bg, var(--pb-bg, #fff))); }
.st-qv__body { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; padding: 28px; }
.st-qv__main { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: color-mix(in srgb, currentColor 5%, transparent); display: flex; align-items: center; justify-content: center; }
.st-qv__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-qv__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.st-qv__thumbs button { flex: none; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; outline: none; }
.st-qv__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-qv__info { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding-top: 8px; }
.st-qv__info h2 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; }
.st-qv__price { margin: 0; font-size: 18px; font-weight: 600; }
.st-qv__price s { opacity: .55; font-weight: 400; margin-left: 6px; }
.st-qv__opt { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.st-qv__buy { display: flex; gap: 10px; align-items: stretch; }
.st-qv__add { flex: 1; justify-content: center; }
.st-qv__add:disabled { opacity: .5; cursor: not-allowed; }
.st-qv__desc { font-size: 14.5px; line-height: 1.6; opacity: .85; }
.st-qv__desc p { margin: 0 0 8px; }
.st-qv__more { align-self: flex-start; font-size: 14px; }
.st-qv .st-fine:empty { display: none; }
@media (max-width: 720px) {
    .st-qv { align-items: flex-end; padding: 0; }
    .st-qv__panel { width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; }
    .st-qv__body { grid-template-columns: 1fr; gap: 18px; padding: 20px 20px 28px; }
    .st-qv__main { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: no-preference) { .st-qv:not([hidden]) .st-qv__panel { animation: st-qv-in .18s ease-out; } @keyframes st-qv-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } }

/* Category list block (owner, 2026-11-06). Tiles reuse the product grid's photo frame. */
.stb-cat { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; }
.stb-cat__name { font-weight: 600; font-size: 1.05rem; color: var(--pb-text, #111); }
.stb-cat__meta { font-size: .875rem; color: var(--pb-muted, #6b7280); margin-top: -6px; }
.stb-cat__img img { transition: transform .4s ease; }
a.stb-cat:hover .stb-cat__img img { transform: scale(1.03); }
.stb-cat__over { position: absolute; inset: auto 0 0 0; padding: 18px; display: flex; flex-direction: column; gap: 2px; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0)); text-align: left; }
.stb-cat__over b { font-size: 1.15rem; font-weight: 600; }
.stb-cat__over small { font-size: .8rem; opacity: .85; }
.stb-cats__pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.stb-cats__pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--st-line, #e5e5e0); color: var(--pb-text, #111); text-decoration: none; font-weight: 500; }
a.stb-cats__pill:hover { border-color: var(--pb-text, #111); }
.stb-cats__pill span { font-size: .8rem; color: var(--pb-muted, #6b7280); }
.stb-cats__list { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; border-top: 1px solid var(--st-line, #e5e5e0); }
.stb-cats__row { display: flex; align-items: center; gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--st-line, #e5e5e0); color: var(--pb-text, #111); text-decoration: none; }
.stb-cats__name { flex: 1; font-size: 1.25rem; font-weight: 600; }
.stb-cats__count { font-size: .875rem; color: var(--pb-muted, #6b7280); }
.stb-cats__row svg { transition: transform .2s ease; }
a.stb-cats__row:hover svg { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .stb-cat__img img, .stb-cats__row svg { transition: none; } }

/* Cart icon block: opens the cart drawer; the count follows the cart (store.js data-store-cart-count). */
.stb-cart { display: flex; padding: 12px 24px; }
.stb-cart__btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; border: 0; background: none; color: var(--pb-text, #111); font: inherit; font-weight: 600; cursor: pointer; }
.stb-cart__btn--pill { padding: 10px 18px; border-radius: 999px; background: var(--pb-text, #111); color: var(--pb-bg, #fff); }
.stb-cart__btn:focus { outline: none; }
.stb-cart__count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--pb-primary, #1264ff); color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.stb-cart__btn--icon .stb-cart__count { position: absolute; top: -2px; right: -10px; }
.stb-cart__count[hidden] { display: none; }
