/* Dev Crow Egg · Duo. One grammar, two worlds: Buy (sea) and Make (clay). Every component reads the world
   from --w / --w-2 / --w-soft / --w-wash / --w-ink, set on <html data-world> for whole pages and on
   .world-buy / .world-make for the two sides of the home page. */
:root {
  --paper: #ebe6dc; --paper-2: #e1dbcd; --card: #f7f4ee; --field: #fbf9f5;
  --ink: #221f1b; --ink-2: #48433c; --muted: #655e55; --line: #d5cebf; --line-2: #c1b9a8;
  --sea: #1d4b57; --sea-2: #2f6b79; --sea-soft: #d2e1e1; --sea-wash: #dfe8e6; --sea-ink: #143540;
  --clay: #8f4423; --clay-2: #b4622d; --clay-soft: #f0dccb; --clay-wash: #e9dccd; --clay-ink: #5a2a12;
  --amber: #c8912a; --amber-soft: #f1e3c2;
  --ok: #3a6f55; --bad: #9c3a2a; --bad-bg: #f5e1dc;
  --w: var(--sea); --w-2: var(--sea-2); --w-soft: var(--sea-soft); --w-wash: var(--sea-wash); --w-ink: var(--sea-ink); --on-w: #fff;
  --r-s: 6px; --r: 12px; --r-l: 20px;
  --sh: 0 1px 2px rgba(40, 32, 20, .06), 0 10px 28px -16px rgba(40, 32, 20, .3);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --f-body: "Albert Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-display: "Fraunces", Georgia, serif;
  --w-display: 500;
  --hdr: 64px; --gutter: 16px; --max: 1240px;
  --focus: var(--w);
  /* drawn art (art.js): the shared tokens, retinted toward Duo's sea and clay */
  --art-shade-dark: #1e1a16; --art-shade-light: #ffffff; --art-paper: #fbf8f3; --art-white: #fff; --art-black: #000;
  --art-wood: #c3a079; --art-leaf: #6f8c69; --art-leaf-light: #86a37c; --art-leaf-dark: #5d7a59;
  --art-glow: #ffd6a0; --art-glow-2: #ffc98a; --art-sand: #d8bf94; --art-cream: #fbf6ee; --art-putty: #e9dfcf;
  --art-linen-wall: #ece3d2; --art-linen-light: #f7efe3; --art-linen-deep: #dfd0ba;
  --art-mist-wall: #d9e2e6; --art-mist-light: #edf2f3; --art-mist-deep: #c6d3d8;
  --art-blush-wall: #eedcd0; --art-blush-light: #f8ede5; --art-blush-deep: #e2c9bb;
  --art-oat-wall: #e8dfcc; --art-oat-light: #f5eee1; --art-oat-deep: #d8ccb3;
  --art-oak: #d3ae86; --art-oak-edge: #bb9167; --art-oak-dark: #a27a52;
  --art-ink: #2e2b27; --art-blue: #6f93a1; --art-clay: #cf9a80; --art-pearl: #f3eee6; --art-charcoal: #3b3a3c; --art-shadow: #3a2a1a;
  --art-lantern-light: #ffe3b0; --art-paper-edge: #e3d8c8; --art-box-edge: #b48a60; --art-box: #d8b48c; --art-mustard: #dcbc74;
  --art-rug: #c9d6dd; --art-cushion: #e6dac6; --art-blue-soft: #9bb4bf; --art-graphite: #55535a; --art-tile-line: #d4c3ab;
  --art-globe: #dde8ec; --art-button: #1d4b57; --art-knob: #e9d29a; --art-nameplate-edge: #ddd2c0; --art-soil: #7a5c43; --art-water: #b6cbd6;
  --art-falcon-1: #d7bb93; --art-falcon-2: #c3a37a; --art-falcon-3: #ad8d64; --art-falcon-4: #e6d1b0; --art-falcon-5: #9a7b55; --art-falcon-beak: #5b4a36;
  --art-vase: #d9b48f; --art-stem: #bfa47a; --art-pod: #e9dcc3; --art-picture: #2f6b79; --art-picture-hill: #8fb0ba;
  --art-dhow-post: #ddd3c3; --art-dhow-hull: #efe9df; --art-dhow-mast: #c7bba8; --art-book-pale: #e2d6c2;
  --art-crow-tail: #2a292b; --art-crow-outline: #262528; --art-crow-wing: #5a585e; --art-crow-beak: #4a4846;
  --art-pencup: #c9825f; --art-stand: #e3d2b8; --art-phone-screen: #2f4650; --art-phone-sun: #f3d9b0;
  --art-honey-1: #f1ebe1; --art-honey-2: #e4dacb; --art-honey-3: #ebe3d6; --art-flame: #f2b061; --art-pale-blue: #cdd8dd;
  --art-window-sky: #cfe0e6; --art-window-hill: #a7bfc8; --art-sky-top: #bccfd8; --art-sky-bottom: #f6e3cb; --art-skyline: #b4c3cb;
  --art-board: #ead9c2; --art-lamp-beam: #fff3d6; --art-balcony-wall: #f3e2cc; --art-balcony-light: #bfd2da;
  --art-skyline-2: #c3cfd4; --art-skyline-3: #b3c2c8; --art-terrace: #e4d6c2; --art-glow-soft: #ffe2b6; --art-terracotta: #b4622d;
  --art-nozzle: #ffb36b; --art-door: #4f7f8c;
  --logo-house: var(--w); --logo-egg: var(--paper); --logo-shine: var(--amber);
  --mat-pla: #9f5420; --mat-petg: #2f6b79; --mat-ring: #fff;
  /* "See it in your room" */
  --rv-bg: var(--paper); --rv-surface: var(--card); --rv-text: var(--ink); --rv-muted: var(--muted); --rv-line: var(--line);
  --rv-accent: var(--sea); --rv-accent-text: #fff; --rv-radius: 14px; --rv-font: var(--f-body); --rv-font-display: var(--f-display);
}
html[data-world="make"], .world-make { --w: var(--clay); --w-2: var(--clay-2); --w-soft: var(--clay-soft); --w-wash: var(--clay-wash); --w-ink: var(--clay-ink); }
.world-buy { --w: var(--sea); --w-2: var(--sea-2); --w-soft: var(--sea-soft); --w-wash: var(--sea-wash); --w-ink: var(--sea-ink); }
html[lang="ar"] { --f-body: "IBM Plex Sans Arabic", "Albert Sans", system-ui, sans-serif; --f-display: "IBM Plex Sans Arabic", system-ui, sans-serif; --w-display: 700; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body { margin: 0; font: 400 16px/1.5 var(--f-body); color: var(--ink); background: var(--paper); min-height: 100vh; overflow-wrap: anywhere; }
html.tx body, html.jump body { visibility: hidden; }
html.pswap .pdp { visibility: hidden; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: var(--w-display); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4, html[lang="ar"] .num, html[lang="ar"] * { letter-spacing: 0; }
h1 { font-size: clamp(30px, 4vw, 48px); }
h2 { font-size: clamp(24px, 2.6vw, 32px); }
h3 { font-size: 19px; }
p { margin: 0; }
a { color: var(--w-ink); text-underline-offset: .15em; }
button { font: inherit; color: inherit; cursor: pointer; }
svg.ico { width: 20px; height: 20px; flex: none; }
html[dir="rtl"] .ico--dir { transform: scaleX(-1); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1[tabindex="-1"]:focus { outline: none; }   /* focus moved there for screen readers, not a target */
.sr-only { position: absolute !important; inset-inline-start: 0; top: 0; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 100; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; background: var(--ink); color: #fff; border-radius: 999px; font-weight: 600; transform: translateY(-160%); transition: transform .2s var(--ease); }
.skip:focus { transform: none; }
.muted { color: var(--muted); }
.lede { font-size: 18px; color: var(--ink-2); max-width: 36em; }
html.rm *, html.rm *::before, html.rm *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }

[id] { scroll-margin-top: calc(var(--hdr) + 8px); }
i[data-ico], i[data-logo] { display: inline-flex; font-style: normal; flex: none; }
.pinfo h2, .specs h2 { font: 600 18px/1.3 var(--f-body); }

/* ---------- buttons, chips, segmented controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; font-weight: 600; text-decoration: none; background: var(--w); color: var(--on-w); transition: background .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: var(--w-2); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--w-ink); box-shadow: inset 0 0 0 1.5px var(--w); }
.btn--ghost:hover { background: var(--w-soft); }
.btn--soft { background: var(--w-soft); color: var(--w-ink); }
.btn--soft:hover { background: color-mix(in srgb, var(--w-soft), var(--w) 12%); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .55; cursor: default; }
.iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); text-decoration: none; position: relative; }
.iconbtn:hover { background: var(--paper-2); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--w-ink); font-weight: 600; text-decoration: underline; text-underline-offset: .15em; min-height: 44px; display: inline-flex; align-items: center; }
.seg { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 0; }
.seg > * { min-height: 44px; min-width: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: background .2s var(--ease), color .2s var(--ease); }
.seg > [aria-pressed="true"], .seg > [aria-current] { background: var(--card); color: var(--ink); box-shadow: var(--sh); }
.switch > [data-side="buy"][aria-pressed="true"], .switch > [data-side="buy"][aria-current] { color: var(--sea-ink); box-shadow: inset 0 0 0 1.5px var(--sea), var(--sh); }
.switch > [data-side="make"][aria-pressed="true"], .switch > [data-side="make"][aria-current] { color: var(--clay-ink); box-shadow: inset 0 0 0 1.5px var(--clay), var(--sh); }
.switch .dot { width: 9px; height: 9px; border-radius: 50%; }
.switch [data-side="buy"] .dot { background: var(--sea); }
.switch [data-side="make"] .dot { background: var(--clay); }
.mat { display: inline-block; padding: 2px 8px; border-radius: var(--r-s); font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #fff; line-height: 1.4; }
.mat--pla { background: var(--mat-pla); }
.mat--petg { background: var(--mat-petg); }
.rates { display: inline-block; padding: 2px 8px; border-radius: var(--r-s); background: var(--amber-soft); color: #6a4a10; font-size: 12px; font-weight: 600; }
.badge { position: absolute; top: 2px; inset-inline-end: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--clay); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.badge.is-zero { display: none; }
.badge.is-bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.3); } }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--field); }
.stepper button { width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; display: inline-flex; align-items: center; justify-content: center; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper .num, .stepper output { min-width: 28px; text-align: center; font-weight: 700; }
.pr { display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-weight: 700; }
.pr__was { color: var(--muted); font-weight: 400; }
.pr__off { font-size: 12px; font-weight: 700; color: #fff; background: var(--clay); padding: 1px 6px; border-radius: var(--r-s); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; }
.note { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); color: var(--ink-2); }
.note .ico { color: var(--w); margin-top: 2px; }
.note--warn .ico { color: #8a5a12; }
.err { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--bad-bg); color: var(--bad); font-weight: 600; }
.err .ico { flex: none; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(235, 230, 220, .92); backdrop-filter: blur(10px); border-bottom: 2px solid var(--w); }
.hdr__in { display: flex; align-items: center; gap: 8px; min-height: var(--hdr); }
.logo { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--f-display); font-weight: 600; font-size: 20px; min-height: 44px; }
.logo__mark { width: 36px; height: 36px; flex: none; }
.hdr__nav { margin-inline: auto; display: flex; align-items: center; gap: 16px; }
.hdr__links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.hdr__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.hdr__links a:hover { background: var(--paper-2); color: var(--ink); }
.hdr__end { display: flex; align-items: center; gap: 4px; }
.find { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--field); border: 1.5px solid var(--line-2); }
.find input { border: 0; background: transparent; font: inherit; min-width: 0; width: 180px; min-height: 44px; color: var(--ink); }
.find input:focus-visible { outline: none; }
.find:focus-within { border-color: var(--w); box-shadow: 0 0 0 2px var(--w-soft); }
.find .ico { color: var(--muted); }
@media (max-width: 1099px) { .hdr__links, .hdr .find { display: none; } }
@media (max-width: 559px) { .logo__word { display: none; } .hdr__in { gap: 4px; } .seg > * { padding: 0 12px; } }

/* ---------- footer ---------- */
.foot { background: var(--paper-2); margin-top: 64px; padding: 40px 0 calc(28px + env(safe-area-inset-bottom)); color: var(--ink-2); }
.foot__in { display: grid; gap: 28px; grid-template-columns: 1.4fr repeat(3, 1fr); }
.foot h2 { font: 600 14px/1.4 var(--f-body); color: var(--ink); margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--ink-2); text-decoration: none; }
.foot li a:hover { color: var(--w-ink); text-decoration: underline; }
.foot__brand p { margin-top: 10px; max-width: 28em; }
.foot__side { color: var(--w-ink); font-weight: 600; margin-top: 8px; display: inline-flex; gap: 8px; align-items: center; }
.foot__side .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--w); }
.foot__base { grid-column: 1 / -1; border-top: 1px solid var(--line-2); padding-top: 18px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; font-size: 14px; }
.foot__base .seg { margin-inline-start: auto; }
@media (max-width: 899px) { .foot__in { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* ---------- toasts ---------- */
.toasts { position: fixed; inset-inline: 0; bottom: calc(16px + env(safe-area-inset-bottom)); display: grid; justify-items: center; z-index: 90; pointer-events: none; padding-inline: var(--gutter); }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; max-width: 520px; width: 100%; padding: 10px 14px; border-radius: var(--r); background: var(--ink); color: #f1ebe0; box-shadow: var(--sh); opacity: 0; transform: translateY(12px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.toast.is-on { opacity: 1; transform: none; }
.toast__art { width: 48px; height: 36px; border-radius: var(--r-s); overflow: hidden; flex: none; }
.toast__art svg { width: 100%; height: 100%; display: block; }
.toast__ico { color: #c9e2d8; }
.toast__msg { display: grid; min-width: 0; flex: 1; }
.toast__msg b { font-weight: 600; }
.toast__msg span { font-size: 14px; color: #d7cfc2; }
.toast__acts { display: flex; gap: 4px; }
.toast__undo, .toast__go { min-height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: #f6d9b8; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; }
.toast__undo:hover, .toast__go:hover { background: rgba(255, 255, 255, .1); }

/* ---------- product cards ---------- */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.pc { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.pc:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.pc__link { display: block; color: inherit; text-decoration: none; }
.pc__media { display: block; aspect-ratio: 4 / 3; background: var(--paper-2); }
.pc__media svg { width: 100%; height: 100%; display: block; }
.pc__body { display: grid; gap: 2px; padding: 10px 12px 12px; }
.pc__name { font-weight: 600; line-height: 1.3; padding-inline-end: 40px; }
.pc__by { font-size: 13px; color: var(--muted); }
.pc__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.pc__add { position: absolute; top: calc(75% - 22px); inset-inline-end: 10px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--w); color: var(--on-w); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--sh); transition: background .2s var(--ease); }
.pc__add:hover { background: var(--w-2); }

/* ---------- sections ---------- */
.sec { padding-block: 36px; }
.sec__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec__sub { color: var(--muted); margin-top: 4px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--w-ink); font-weight: 600; font-size: 14px; }
.kicker .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--w); }

/* ---------- home: the two doors and the spine ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; position: relative; min-height: calc(100svh - var(--hdr)); }
.door { position: relative; display: grid; grid-template-rows: 1fr auto; padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(24px, 3vw, 40px); cursor: pointer; overflow: hidden; background: var(--w-wash); color: var(--ink); transition: background .4s var(--ease); isolation: isolate; }
.door__art { position: absolute; inset: 0; z-index: -1; display: grid; place-items: end center; pointer-events: none; }
.door__art svg { width: min(100%, 720px); height: 68%; display: block; }
.door__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--w-wash) 18%, transparent 70%); }
.door__copy { align-self: start; max-width: 32em; display: grid; gap: 14px; justify-items: start; position: relative; z-index: 1; }
.door h2 { font-size: clamp(36px, 4.5vw, 60px); line-height: 1.02; color: var(--w-ink); }
.door p { color: var(--ink-2); font-size: 17px; max-width: 28em; }
.door .btn { margin-top: 6px; }
.door__foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-2); }
.door__foot span { display: inline-flex; align-items: center; gap: 6px; }
.door__foot .ico { width: 16px; height: 16px; color: var(--w); }
.door:hover, .door:focus-within { background: color-mix(in srgb, var(--w-wash), var(--w-soft) 60%); }
.spine { display: grid; align-content: center; justify-items: center; text-align: center; gap: 14px; padding: 24px; background: var(--paper); position: relative; }
.spine::before, .spine::after { content: ""; width: 1px; flex: 1; background: var(--line-2); display: block; justify-self: center; }
.spine__word { font-family: var(--f-display); font-weight: 600; font-size: 22px; display: grid; justify-items: center; gap: 8px; }
.spine__word .logo__mark { width: 44px; height: 44px; --logo-house: var(--ink); }
.spine__say { font-family: var(--f-display); font-weight: 500; font-size: 20px; line-height: 1.3; color: var(--ink-2); max-width: 14em; }
.spine__say b { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) {
  .doors { grid-template-columns: 1fr 232px 1fr; transition: grid-template-columns .6s var(--ease); }
  .doors:has(.door--buy:hover), .doors:has(.door--buy:focus-within), html[data-side="buy"] .doors:not(:has(.door:hover)) { grid-template-columns: 3fr 232px 2fr; }
  .doors:has(.door--make:hover), .doors:has(.door--make:focus-within), html[data-side="make"] .doors:not(:has(.door:hover)) { grid-template-columns: 2fr 232px 3fr; }
  .spine::before, .spine::after { height: 100%; }
  .spine { grid-template-rows: 1fr auto auto 1fr; padding-block: 28px; }
  .door { padding-inline: clamp(24px, 4vw, 64px); }
}
@media (max-width: 899px) {
  .doors { grid-template-columns: 1fr; min-height: 0; }
  .door { min-height: 72svh; }
  .door__art svg { height: 56%; }
  /* phones: the statement first, then the two doors in turn */
  .spine { order: 0; padding: 24px var(--gutter); border-bottom: 1px solid var(--line-2); }
  .spine::before, .spine::after { display: none; }
  .door--buy { order: 1; }
  .door--make { order: 2; }
}

/* a side of the home page */
.side { padding-top: 8px; }
.side__bar { background: var(--w-wash); border-bottom: 1px solid var(--line); }
.side__bar .wrap { min-height: 52px; display: flex; align-items: center; gap: 12px; }
.opener { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: center; padding-block: 28px; }
.stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-l); overflow: hidden; background: radial-gradient(ellipse at 50% 60%, #f8f4ec 0%, var(--w-wash) 55%, color-mix(in srgb, var(--w-wash), var(--w) 14%) 100%); }
.stage__poster, .stage__canvas { position: absolute; inset: 0; }
.stage__poster svg { width: 100%; height: 100%; display: block; }
.stage__poster .vig { opacity: 1; transition: opacity .6s var(--ease); }
.stage.is-live .stage__poster { opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.stage__canvas { outline-offset: -3px; }
.stage__canvas canvas { width: 100% !important; height: 100% !important; display: block; }
.stage__hint { position: absolute; inset-inline-start: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(34, 31, 27, .72); color: #f3ede3; font-size: 13px; }
.stage__ctrls { position: absolute; inset-inline-end: 10px; bottom: 10px; display: flex; gap: 4px; }
.stage__ctrls button { width: 44px; height: 44px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--card) 86%, transparent); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--sh); }
.stage__ctrls button[aria-pressed="true"] { background: #2b2116; color: #ffcf7a; }
.stage__toast { position: absolute; top: 12px; inset-inline-start: 50%; transform: translate(-50%, -8px); padding: 6px 12px; border-radius: 999px; background: rgba(34, 31, 27, .82); color: #f3ede3; font-size: 13px; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; }
html[dir="rtl"] .stage__toast { transform: translate(50%, -8px); }
.stage__toast.is-on { opacity: 1; transform: translate(-50%, 0); }
html[dir="rtl"] .stage__toast.is-on { transform: translate(50%, 0); }
.stage__fail { position: absolute; inset-inline: 12px; bottom: 12px; margin: 0; font-size: 13px; color: var(--ink-2); }
.opener__copy { display: grid; gap: 12px; justify-items: start; }
.opener__copy h2 { font-size: clamp(28px, 3vw, 40px); }
.opener__price { font-size: 22px; font-weight: 700; }
.find-box { display: grid; gap: 10px; padding-block: 8px 28px; }
.find-box .find { max-width: 520px; }
.find-box .find input { width: 100%; }
.find-box__res { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.find-box__res .linkbtn { min-height: 44px; display: inline-flex; align-items: center; }
.cats { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .cats { grid-template-columns: repeat(6, 1fr); } }
.cat { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); min-height: 44px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.cat:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.cat__art { aspect-ratio: 5 / 3; border-bottom: 4px solid var(--c); }
.cat__art svg { width: 100%; height: 100%; display: block; }
.cat__body { padding: 10px 12px 12px; display: grid; gap: 2px; }
.cat__body b { font-weight: 600; line-height: 1.3; }
.cat__body span { font-size: 13px; color: var(--muted); }
.how { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); counter-reset: step; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .how { grid-template-columns: repeat(4, 1fr); } }
.how li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 8px; align-content: start; }
.how li .ico { color: var(--w); width: 24px; height: 24px; }
.how li h3 { font-size: 17px; }
.how li p { color: var(--ink-2); font-size: 15px; }
.how__n { font-family: var(--f-display); font-weight: 600; color: var(--w); font-size: 14px; }
.why { color: var(--ink-2); max-width: 44em; margin-block: 8px 20px; font-size: 17px; }
.trust { display: grid; gap: 14px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust li { display: grid; grid-template-columns: 28px 1fr; gap: 4px 12px; padding: 16px; border-radius: var(--r); background: var(--w-wash); }
.trust li > i { grid-row: span 2; margin-top: 2px; }
.trust li .ico { color: var(--w); width: 24px; height: 24px; }
.trust li h3 { font-size: 16px; font-family: var(--f-body); font-weight: 600; }
.trust li p { color: var(--ink-2); font-size: 15px; }
.cross { display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: center; padding: 24px; border-radius: var(--r-l); background: var(--w-wash); border: 1px solid color-mix(in srgb, var(--w) 20%, transparent); }
.cross h2 { font-size: 24px; color: var(--w-ink); }
.cross p { color: var(--ink-2); margin-top: 6px; max-width: 40em; }
.cross__links { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 639px) { .cross { grid-template-columns: 1fr; } }

/* make side on the home page */
.pitch { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; padding-block: 28px; }
.pitch__art { aspect-ratio: 4 / 3; border-radius: var(--r-l); overflow: hidden; background: var(--w-wash); display: grid; place-items: center; padding: 16px; }
.pitch__art svg { width: 100%; height: 100%; display: block; }
.nos { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; margin: 0; padding: 0; color: var(--ink-2); }
.nos li { display: inline-flex; align-items: center; gap: 6px; }
.nos .ico { color: var(--clay); width: 18px; height: 18px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.pstep { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; padding: 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.pstep__n { width: 36px; height: 36px; border-radius: 50%; background: var(--w-soft); color: var(--w-ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; grid-row: span 3; }
.pstep__n .ico { width: 18px; height: 18px; }
.pstep.is-done .pstep__n { background: var(--w); color: var(--on-w); }
.pstep h3 { font-size: 16px; font-family: var(--f-body); font-weight: 600; }
.pstep p { color: var(--ink-2); font-size: 15px; }
.pstep__live { font-weight: 600; color: var(--w-ink); font-size: 14px; margin-top: 4px; min-height: 1.2em; }
.pstep__live.is-wait { color: var(--muted); font-weight: 500; }
.pstep__live.is-err { color: var(--bad); }
.ex { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: 24px; border-radius: var(--r-l); background: var(--clay-ink); color: #f3e9dc; }
.ex h2 { color: #fff; }
.ex p { color: #e6d6c5; margin-top: 8px; }
.ex .btn { background: #f6d9b8; color: var(--clay-ink); margin-top: 16px; }
.ex .btn:hover { background: #fbe6ce; }
.ex__card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r); padding: 18px; }
.ex__top { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 14px; color: #e6d6c5; margin-bottom: 12px; flex-wrap: wrap; }
.ex__rows { margin: 0; display: grid; gap: 6px; }
.ex__rows div { display: flex; justify-content: space-between; gap: 12px; }
.ex__rows dt { color: #e6d6c5; }
.ex__rows dd { margin: 0; font-weight: 700; }
.ex__rows .is-earn { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 8px; margin-top: 4px; font-size: 20px; }
.ex__rows .is-earn dd { color: #f6d9b8; font-family: var(--f-display); font-size: 28px; }
@media (max-width: 639px) { .ex, .opener, .pitch { grid-template-columns: 1fr; } }
.mg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mg2 > div { padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--m); display: grid; gap: 6px; align-content: start; }
.mg2 b { font-size: 18px; }
.mg2 p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 479px) { .mg2 { grid-template-columns: 1fr; } }

/* ---------- product ---------- */
.crumb { font-size: 14px; color: var(--muted); padding-block: 4px; }
.crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 4px; align-items: center; }
.crumb li { display: inline-flex; align-items: center; gap: 4px; }
.crumb a { color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.crumb .ico { width: 16px; height: 16px; }
.pdp { display: grid; grid-template-columns: 1fr; }
.pdp__media { position: relative; }
.pdp__media .stage { aspect-ratio: auto; height: 56svh; min-height: 320px; border-radius: var(--r-l); }
.pdp__buy { padding-block: 20px 8px; display: grid; gap: 20px; align-content: start; }
.buy { display: grid; gap: 14px; }
.buy__maker { display: inline-flex; align-items: center; gap: 8px; color: var(--w-ink); font-weight: 600; font-size: 14px; }
.buy__maker .ico { width: 18px; height: 18px; }
.buy h1 { font-size: clamp(28px, 2.8vw, 40px); }
.buy__price { font-size: 26px; font-weight: 700; }
.buy__price .pr__was { font-size: 18px; }
.buy__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 6px 18px; }
.buy__row { padding-block: 14px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.buy__row:last-child { border-bottom: 0; }
.buy__label { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.matrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.matrow__note { color: var(--muted); font-size: 14px; }
details.mg summary { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; color: var(--w-ink); font-weight: 600; list-style: none; }
details.mg summary::-webkit-details-marker { display: none; }
details.mg[open] summary .chev { transform: rotate(180deg); }
details.mg p { color: var(--ink-2); font-size: 15px; margin-bottom: 8px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { position: relative; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.swatch__c { width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(34, 31, 27, .25); transition: transform .2s var(--ease); }
.swatch input:checked + .swatch__c { box-shadow: inset 0 0 0 1px rgba(34, 31, 27, .25), 0 0 0 3px var(--card), 0 0 0 5px var(--w); }
.swatch input:focus-visible + .swatch__c { outline: 3px solid var(--w); outline-offset: 3px; }
.pod { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 15px; }
.pod .ico { color: var(--w); }
.qtyrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.buy__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.buy__add.is-done { background: var(--ok); }
.rv-note { font-size: 14px; color: var(--muted); }
.pinfo, .specs { display: grid; gap: 10px; }
.pinfo p { color: var(--ink-2); max-width: 40em; }
.specs dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.specs dl > div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: start; }
  .pdp__media { position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); padding-block: 16px; }
  .pdp__media .stage { height: 100%; min-height: 0; }
  .pdp__buy { padding-block: 32px 24px; }
}

/* ---------- sell ---------- */
.sell-hero { background: var(--w-wash); padding-block: 32px 40px; }
.sell-hero .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px 48px; align-items: start; }
.sell-hero__copy { display: grid; gap: 16px; justify-items: start; padding-top: 8px; }
.sell-hero__copy h1 { font-size: clamp(30px, 3.4vw, 46px); }
.sell-hero__copy .lede { font-size: 17px; }
.sell-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
@media (max-width: 899px) { .sell-hero .wrap { grid-template-columns: 1fr; } }
.calc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px; display: grid; gap: 18px; box-shadow: var(--sh); }
.earn { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--r); background: var(--clay-ink); color: #f3e9dc; }
.earn__k { font-size: 14px; color: #e6d6c5; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.earn__v { font-family: var(--f-display); font-weight: 600; font-size: clamp(38px, 5vw, 56px); line-height: 1; color: #fff; }
.earn.is-err .earn__v { font-size: clamp(24px, 3vw, 32px); color: #f6c9b8; }
.earn__rows { margin: 8px 0 0; display: grid; gap: 4px; font-size: 14px; }
.earn__rows div { display: flex; justify-content: space-between; gap: 12px; }
.earn__rows dt { color: #e6d6c5; }
.earn__rows dd { margin: 0; font-weight: 600; }
.fstep { display: grid; gap: 10px; }
.fstep__h { display: flex; align-items: center; gap: 10px; font: 600 15px/1.3 var(--f-body); color: var(--ink); }
.fstep__n { width: 24px; height: 24px; border-radius: 50%; background: var(--w-soft); color: var(--w-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.drop { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px dashed var(--line-2); border-radius: var(--r); color: var(--ink-2); font-size: 14px; }
.drop .ico { color: var(--w); }
.drop b { display: block; color: var(--ink); }
.files { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.file { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 0 10px; align-items: center; padding: 8px 10px; border-radius: var(--r); background: var(--field); border: 1.5px solid var(--line); cursor: pointer; min-height: 56px; }
.file input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.file:has(input:checked) { border-color: var(--w); background: var(--w-wash); }
.file:has(input:focus-visible) { outline: 3px solid var(--w); outline-offset: 2px; }
.file__art { width: 48px; height: 36px; border-radius: var(--r-s); overflow: hidden; grid-row: span 2; }
.file__art svg { width: 100%; height: 100%; display: block; }
.file__name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.file__fn { font-size: 12px; color: var(--muted); direction: ltr; }
.est { display: flex; gap: 8px; align-items: start; color: var(--ink-2); font-size: 14px; }
.est .ico { color: var(--ok); flex: none; margin-top: 2px; }
.est.is-reading .ico { color: var(--muted); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.matopt { position: relative; display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--r); background: var(--field); border: 1.5px solid var(--line); cursor: pointer; min-height: 56px; }
.matopt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.matopt:has(input:checked) { border-color: var(--w); background: var(--w-wash); }
.matopt:has(input:focus-visible) { outline: 3px solid var(--w); outline-offset: 2px; }
.matopt b { font-size: 15px; }
.matopt span { font-size: 13px; color: var(--muted); }
.mat-help { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; text-decoration: none; }
.price-field { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: var(--r); background: var(--field); border: 1.5px solid var(--line-2); min-height: 52px; }
.price-field span { color: var(--muted); font-weight: 600; white-space: nowrap; }
.price-field input { border: 0; background: transparent; font: 600 22px/1 var(--f-body); color: var(--ink); min-width: 0; width: 100%; min-height: 48px; }
.price-field input:focus-visible { outline: none; }
.price-field:focus-within { border-color: var(--w); box-shadow: 0 0 0 2px var(--w-soft); }
.price-field.is-err { border-color: var(--bad); }
.field-hint { font-size: 13px; color: var(--muted); }
.calc .err { flex-wrap: wrap; font-weight: 500; }
.calc .err .btn { min-height: 36px; padding: 0 14px; background: var(--bad); color: #fff; margin-inline-start: auto; }
.res { display: grid; gap: 8px; }
.res__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.res__head h3 { font: 600 15px/1.3 var(--f-body); }
.res dl { margin: 0; display: grid; gap: 4px; font-size: 15px; }
.res dl div { display: flex; justify-content: space-between; gap: 12px; }
.res dd { margin: 0; font-weight: 600; }
.res .is-dim { color: var(--muted); }
.bd summary { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; color: var(--w-ink); font-weight: 600; list-style: none; font-size: 15px; }
.bd summary::-webkit-details-marker { display: none; }
.bd[open] summary .chev { transform: rotate(180deg); }
.bd dl { margin: 8px 0 0; display: grid; gap: 4px; font-size: 14px; }
.bd dl div { display: flex; justify-content: space-between; gap: 12px; }
.bd dt small { display: block; color: var(--muted); font-size: 12px; }
.bd dd { margin: 0; font-weight: 600; }
.bd .is-total { border-top: 1px solid var(--line); padding-top: 6px; font-weight: 700; }
.how-est { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); margin-top: 8px; }
.how-est .ico { color: var(--w); flex: none; margin-top: 2px; }
.how-est h3 { font: 600 16px/1.3 var(--f-body); margin-bottom: 4px; }
.how-est p { color: var(--ink-2); font-size: 15px; }
.mg__table { display: grid; }
.mg__row { display: grid; grid-template-columns: 1fr 1.6fr 1.6fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.mg__heads { padding-top: 0; align-items: end; }
.mg__rh { font-weight: 600; color: var(--ink-2); }
.mg__c { color: var(--ink-2); }
.mg__h { display: grid; gap: 4px; justify-items: start; }
.mg__h b { font-size: 20px; }
.mg__h span { font-size: 14px; color: var(--ink-2); }
.mg__spool { width: 30px; height: 30px; }
@media (max-width: 639px) {
  .mg__row { grid-template-columns: 1fr 1fr; }
  .mg__rh { grid-column: 1 / -1; padding-bottom: 2px; }
  .mg__heads .mg__corner { display: none; }
}
.mg__notes { display: grid; gap: 10px; margin-top: 14px; }
@media (min-width: 640px) { .mg__notes { grid-template-columns: 1fr 1fr; } }
.rules ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.rules li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.rules li .ico { color: var(--bad); }
.rules h3 { font: 600 16px/1.3 var(--f-body); margin-top: 14px; }
.rules p { color: var(--ink-2); margin-top: 8px; }
.sell-lower { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .sell-lower { grid-template-columns: 1.4fr 1fr; } }
.scta { background: var(--clay-ink); color: #f3e9dc; border-color: transparent; display: grid; gap: 10px; align-content: center; justify-items: start; }
.scta h2 { color: #fff; }
.scta p { color: #e6d6c5; }
.scta .btn { background: #f6d9b8; color: var(--clay-ink); }
.scta .btn:hover { background: #fbe6ce; }

/* ---------- cart ---------- */
.page-head { padding-block: 8px 20px; display: grid; gap: 6px; }
.page-head h1 { font-size: clamp(28px, 3vw, 38px); }
.back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--w-ink); text-decoration: none; font-weight: 600; }
.cartgrid { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .cartgrid { grid-template-columns: 1fr 360px; } .cartgrid__side { position: sticky; top: calc(var(--hdr) + 16px); } }
.olist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.oline { display: grid; grid-template-columns: 96px 1fr; gap: 6px 14px; padding: 14px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); position: relative; }
.oline.is-new { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { background: var(--w-soft); } }
.oline__art { width: 96px; aspect-ratio: 4 / 3; border-radius: var(--r-s); overflow: hidden; grid-row: span 3; }
.oline__art svg { width: 100%; height: 100%; display: block; }
.oline__name { font: 600 17px/1.3 var(--f-body); }
.oline__name a { color: var(--ink); text-decoration: none; display: inline-block; padding-block: 2px; }
.oline__name a:hover { text-decoration: underline; }
.oline__by { font-size: 15px; color: var(--muted); }
.oline__spec { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); flex-wrap: wrap; }
.oline__sw { display: inline-block; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(34, 31, 27, .25); vertical-align: -2px; margin-inline-end: 4px; }
.oline__ctrl { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.oline__price { grid-column: 2; display: grid; justify-items: start; font-size: 17px; }
.oline__each { font-size: 13px; color: var(--muted); font-weight: 400; }
.oline__rm { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-weight: 600; }
.oline__rm:hover { background: var(--paper-2); }
@media (min-width: 640px) { .oline { grid-template-columns: 96px 1fr auto; } .oline__price { grid-column: 3; grid-row: 1; justify-items: end; } }
.oempty { text-align: center; padding: 48px 16px; display: grid; gap: 12px; justify-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); }
.oempty .ico { width: 36px; height: 36px; color: var(--w); }
.osum { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px; display: grid; gap: 14px; }
.osum h2 { font: 600 18px/1.3 var(--f-body); }
.osum__rows { margin: 0; display: grid; gap: 8px; }
.osum__rows div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.osum__rows dd { margin: 0; font-weight: 600; text-align: end; }
.osum__rows dt small { display: block; font-size: 12px; color: var(--muted); }
.osum__rows .is-save dd { color: var(--clay); }
.osum__rows .is-deliv dd { font-weight: 500; color: var(--ink-2); font-size: 14px; }
.osum__rows .is-total { border-top: 1px solid var(--line); padding-top: 10px; font-size: 18px; font-weight: 700; }
.osum__note { font-size: 15px; color: var(--muted); }
.osum__trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.osum__trust li { display: flex; gap: 8px; align-items: start; }
.osum__trust .ico { color: var(--w); flex: none; width: 18px; height: 18px; margin-top: 2px; }
.onext { margin-top: 24px; }
.onext__steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .onext__steps { grid-template-columns: repeat(3, 1fr); } }
.onext__steps li { display: flex; gap: 12px; padding: 14px; border-radius: var(--r); background: var(--w-wash); }
.onext__ico { width: 36px; height: 36px; border-radius: 50%; background: var(--card); display: inline-flex; align-items: center; justify-content: center; color: var(--w); flex: none; }
.onext__txt { display: grid; }
.onext__txt b { font-weight: 600; }
.onext__txt span { font-size: 14px; color: var(--ink-2); }

/* ---------- checkout ---------- */
.ck-sec { display: grid; gap: 14px; padding: 20px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); margin-bottom: 16px; }
.ck-sec__t { display: flex; align-items: center; gap: 10px; font: 600 18px/1.3 var(--f-body); }
.ck-sec__n { width: 28px; height: 28px; border-radius: 50%; background: var(--w); color: var(--on-w); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.ck-sec__help { color: var(--muted); font-size: 15px; margin-top: -8px; }
.fld { display: grid; gap: 6px; }
.fld__label { font-weight: 600; font-size: 15px; }
.fld__opt { color: var(--muted); font-weight: 400; }
.fld__in { font: 400 16px/1.4 var(--f-body); color: var(--ink); background: var(--field); border: 1.5px solid var(--line-2); border-radius: var(--r); min-height: 48px; padding: 10px 14px; width: 100%; }
.fld__in:focus-visible { outline: none; border-color: var(--w); box-shadow: 0 0 0 2px var(--w-soft); }
.fld.is-err .fld__in { border-color: var(--bad); }
.fld__box { display: flex; align-items: center; gap: 0; }
.fld__box .fld__pre { flex: none; white-space: nowrap; min-height: 48px; display: inline-flex; align-items: center; padding: 0 12px; background: var(--paper-2); border: 1.5px solid var(--line-2); border-inline-end: 0; border-radius: var(--r) 0 0 var(--r); color: var(--ink-2); font-weight: 600; }
.fld__box .fld__in { border-radius: 0 var(--r) var(--r) 0; }
.fld__sel { position: relative; }
.fld__sel select { appearance: none; padding-inline-end: 40px; }
.fld__sel .ico { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.fld__ta { resize: vertical; min-height: 72px; }
.fld__help { font-size: 13px; color: var(--muted); }
.fld__err { display: flex; align-items: center; gap: 6px; color: var(--bad); font-size: 14px; font-weight: 600; }
.fld__err .ico { width: 18px; height: 18px; }
.fld-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.ck-pay { display: flex; gap: 10px; color: var(--ink-2); font-size: 15px; }
.ck-pay .ico { color: var(--w); flex: none; }
.ck-check { display: flex; gap: 12px; align-items: center; min-height: 44px; cursor: pointer; }
.ck-check input { width: 24px; height: 24px; margin: 0; accent-color: var(--w); flex: none; }
.ck-check span { padding-top: 1px; }
.ck-privacy { display: flex; gap: 8px; font-size: 14px; color: var(--muted); }
.ck-privacy .ico { width: 18px; height: 18px; flex: none; }
.ck-errs { margin-bottom: 14px; }
.ck-sum__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ck-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ckl { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 2px 10px; align-items: center; }
.ckl__art { width: 56px; aspect-ratio: 4 / 3; border-radius: var(--r-s); overflow: hidden; grid-row: span 2; }
.ckl__art svg { width: 100%; height: 100%; display: block; }
.ckl__txt { display: grid; min-width: 0; }
.ckl__name { font-weight: 600; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.3; display: inline-block; padding-block: 3px; }
.ckl__name:hover { text-decoration: underline; }
.ckl__meta { font-size: 13px; color: var(--muted); }
.ckl__price { font-weight: 600; font-size: 15px; grid-column: 2; }
.ck-go.is-busy { opacity: .7; }
.ck-done { display: grid; gap: 24px; padding-block: 16px; }
.ck-done__hero { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 32px 16px; border-radius: var(--r-l); background: var(--w-wash); }
.ck-done__ico { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.ck-done__ico .ico { width: 28px; height: 28px; }
.ck-done__num { display: inline-flex; gap: 10px; align-items: baseline; font-size: 18px; }
.ck-done__num b { font-family: var(--f-display); font-size: 28px; }
.ck-done__sub { color: var(--muted); }
.ck-done__grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ck-done__grid { grid-template-columns: 1.2fr 1fr; } }
.ck-done__box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; display: grid; gap: 10px; margin-bottom: 14px; }
.ck-done__box h2 { font: 600 17px/1.3 var(--f-body); }
.ck-done__box address { font-style: normal; color: var(--ink-2); line-height: 1.6; }
.ck-done__note { color: var(--muted); font-style: italic; }
.ck-done__promise { display: flex; gap: 10px; color: var(--ink-2); font-size: 15px; }
.ck-done__promise .ico { color: var(--w); flex: none; }
.ck-done__end { display: grid; gap: 12px; justify-items: start; }
.ck-done .onext { margin-top: 0; }
.ck-done .onext__steps { grid-template-columns: 1fr; }
