/* 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 anywhere: keyboard focus is a quiet background. */

.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: #ffffff;
    --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-body :focus-visible { background-color: color-mix(in srgb, var(--st-accent) 8%, transparent); }
.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; 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; justify-content: space-between; gap: 10px; color: var(--st-muted); font-size: 14px; }
.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-pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.st-gallery { display: grid; gap: 12px; }
.st-gallery__main { aspect-ratio: 4 / 5; border-radius: calc(var(--st-r) + 4px); background: var(--st-soft); overflow: hidden; display: grid; place-items: center; }
.st-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.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__cat { color: var(--st-muted); font-size: 14px; }
.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-opts { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.st-opts legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.st-opt { position: relative; }
.st-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.st-opt span { display: grid; gap: 2px; min-width: 56px; border: 1px solid var(--st-line); background: var(--st-card); border-radius: 10px; padding: 10px 14px 10px 36px; font-size: 15px; font-weight: 500; position: relative; }
.st-opt span::before { content: ""; position: absolute; left: 13px; top: 13px; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--st-muted); background: var(--st-card); }
.st-opt small { font-size: 12.5px; color: var(--st-muted); font-weight: 400; }
.st-opt input:checked + span::before { border: 4.5px solid var(--st-ink); }
.st-opt input:disabled + span { color: color-mix(in srgb, var(--st-muted) 60%, transparent); text-decoration: line-through; }
.st-left { justify-self: start; font-size: 14px; font-weight: 500; color: #8a4b00; background: #fff4e0; border-radius: 999px; padding: 6px 12px; }
.st-buy { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 10px; }
.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-perks { display: grid; gap: 10px; border-top: 1px solid var(--st-line); padding-top: 16px; font-size: 14px; color: var(--st-muted); }
.st-perks div { display: flex; gap: 10px; align-items: center; }
.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__form { padding: 32px 40px; display: grid; gap: 26px; align-content: start; }
.st-co__side { background: var(--st-soft); padding: 32px 36px; display: grid; gap: 14px; align-content: start; border-left: 1px solid var(--st-line); }
.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; }
.st-express { display: grid; gap: 10px; }
.st-or { display: flex; align-items: center; gap: 12px; color: var(--st-muted); font-size: 13px; }
.st-or::before, .st-or::after { content: ""; flex: 1; height: 1px; background: var(--st-line); }

/* Order page */
.st-order { max-width: 760px; margin: 0 auto; display: grid; gap: 20px; }
.st-order__ok { display: flex; gap: 14px; align-items: center; }
.st-order__check { width: 48px; height: 48px; border-radius: 50%; background: var(--st-soft); color: var(--st-accent); display: grid; place-items: center; flex: none; font-size: 22px; }
.st-order h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.05; font-weight: 600; }
.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; }
.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-pdp { grid-template-columns: 1fr; gap: 28px; }
    .st-co { grid-template-columns: 1fr; }
    .st-co__side { border-left: 0; border-top: 1px solid var(--st-line); order: -1; padding: 24px 20px; }
    .st-co__form { padding: 24px 20px; }
}
@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; }
    .st-buy { grid-template-columns: 1fr; }
}

/* ── 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(--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: 22px; 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; }
.stx-opt { position: relative; }
.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: 500; color: var(--st-muted); }
.stx-opt input:checked + span { background: var(--st-ink); border-color: var(--st-ink); color: #fff; }
.stx-opt input:disabled + span { opacity: .5; text-decoration: line-through; cursor: not-allowed; }
.stx-buy { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: stretch; }
.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; }

/* 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: min(var(--st-btn-r), 6px); 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-input:focus { border-color: #141414 !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: 1.5px solid #dcdcd8; border-radius: min(var(--st-r), 12px); }
.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(--pb-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 { 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; }
.stb-card__meta { display: flex; justify-content: space-between; gap: 10px; color: var(--st-muted); font-size: 14px; }
.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; text-align: center; }
.stb--staggered .stb-card__meta { justify-content: center; }
/* 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 { text-align: center; gap: 18px; }
.stb--framed .stb-card__meta { justify-content: center; gap: 14px; }
/* 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; }
.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); }
.stb-spot--soft { background: var(--st-soft); }
.stb-spot__in { max-width: var(--pb-page-width, 1240px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: 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; }
.stb-spot--dark .st-btn { background: var(--st-bg); color: var(--st-ink); border-color: var(--st-bg); }
.stb-spot__main { aspect-ratio: 1 / 1; border-radius: var(--st-r); overflow: hidden; background: var(--st-soft); }
.stb-spot__main img, .stb-spot__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.stb-spot__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.stb-spot__thumbs img { aspect-ratio: 1; border-radius: 10px; }
@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; } }
