/* Studio: sand paper, clay and teal (B Oasis), Q Quick's compact spine, M Specimen's plate, U Utility's spec sheets.
   Logical properties throughout, so Arabic mirrors by itself. */
:root {
  --bg: #efe4d2; --bg-2: #e6d8c1; --surface: #f6eee0; --card: #fbf6ec; --field: #fdfaf4;
  --ink: #1e2a2a; --ink-2: #33403f; --muted: #556160; --line: rgb(30 42 42 / .14); --line-2: rgb(30 42 42 / .28);
  --clay: #b4512c; --clay-ink: #953f1f; --clay-deep: #7e3418; --clay-soft: #f1d9cb;
  --teal: #1f5e5b; --teal-deep: #143f3e; --teal-soft: #d7e3df; --teal-ink: #174b49;
  --ok: #2f6b4f; --bad: #9a3a22; --bad-bg: #f5ddd3; --on-dark: #f3e9d8; --on-dark-muted: #c9d6d2;
  --f-display: "Newsreader", Georgia, "Times New Roman", serif;
  --f-body: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --r-s: 8px; --r: 14px; --r-l: 22px;
  --sh-1: 0 1px 2px rgb(60 40 20 / .06), 0 10px 24px -16px rgb(60 40 20 / .3);
  --sh-2: 0 4px 10px rgb(40 30 20 / .08), 0 28px 60px -24px rgb(40 30 20 / .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --hdr-h: 56px; --tab-h: 58px; --gutter: 16px; --maxw: 1180px;
  /* room view */
  --rv-bg: var(--bg); --rv-surface: var(--card); --rv-text: var(--ink); --rv-muted: var(--muted); --rv-line: var(--line-2);
  --rv-accent: var(--clay-ink); --rv-accent-text: #fff; --rv-radius: var(--r); --rv-font: var(--f-body); --rv-font-display: var(--f-display);
  /* drawn art (art.js), retinted to the paper */
  --logo-house: var(--teal); --logo-egg: #f6eee0; --logo-shine: #c9a24a;
  --art-shade-dark: #1e1a16; --art-shade-light: #ffffff; --art-paper: #fbf6ec; --art-white: #fff; --art-black: #000; --art-wood: #c9a27a;
  --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: #ecdfca; --art-linen-light: #f7eedd; --art-linen-deep: #dfcfb4;
  --art-mist-wall: #d8e1de; --art-mist-light: #ebf0ee; --art-mist-deep: #c6d2ce; --art-blush-wall: #efd9cb; --art-blush-light: #f8ebe2; --art-blush-deep: #e3c6b5;
  --art-oat-wall: #e8dcc6; --art-oat-light: #f5ecdc; --art-oat-deep: #d8c9ac; --art-oak: #d6b18a; --art-oak-edge: #bf946a; --art-oak-dark: #a77d55;
  --art-ink: #2a3030; --art-blue: #6f8f8c; --art-clay: #d19a7f; --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: #dcbb72; --art-rug: #c4d2cf;
  --art-cushion: #e6dac6; --art-blue-soft: #9db6b2; --art-graphite: #55535a; --art-tile-line: #d4c3ab; --art-globe: #dfe9e6; --art-button: #1f5e5b;
  --art-knob: #e9d29a; --art-nameplate-edge: #ddd2c0; --art-soil: #7a5c43; --art-water: #b3c9c5;
  --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: #1f5e5b; --art-picture-hill: #8aa6a2; --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: #cf8a6c; --art-stand: #e3d2b8; --art-phone-screen: #2e4443; --art-phone-sun: #f3d9b0; --art-honey-1: #f1ebe1; --art-honey-2: #e4dacb; --art-honey-3: #ebe3d6;
  --art-flame: #f2b061; --art-pale-blue: #cfd9d6; --art-window-sky: #d3e2df; --art-window-hill: #a9c2bd; --art-sky-top: #c2d4d0; --art-sky-bottom: #f6e3cb; --art-skyline: #b7c8c4;
  --art-board: #ead9c2; --art-lamp-beam: #fff3d6; --art-balcony-wall: #f3e2cc; --art-balcony-light: #c4d6d2; --art-skyline-2: #c3d0cc; --art-skyline-3: #b3c4c0; --art-terrace: #e4d6c2;
  --art-glow-soft: #ffe2b6; --art-terracotta: #c0673f; --art-nozzle: #ffb36b; --art-door: #1f5e5b;
}
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--f-body); font-variant-numeric: tabular-nums lining-nums;
  -webkit-font-smoothing: antialiased; padding-block-end: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
}
html[lang="ar"] body { font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif; line-height: 1.75; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 500; line-height: 1.12; letter-spacing: -.012em; color: var(--ink); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-family: "IBM Plex Sans Arabic", sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
h1 { font-size: clamp(32px, 2.2rem + 1.4vw, 52px); }
h2 { font-size: clamp(26px, 1.4rem + 1vw, 36px); }
h3 { font-size: 20px; }
p { margin: 0; }
a { color: var(--clay-ink); text-decoration-thickness: 1px; text-underline-offset: .14em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
svg.ico { width: 20px; height: 20px; flex: none; }
html[dir="rtl"] .ico--dir { transform: scaleX(-1); }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.lede { font-size: 18px; color: var(--ink-2); max-inline-size: 58ch; }
.rm *, .rm *::before, .rm *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }

.skip { position: absolute; inset-inline-start: 12px; inset-block-start: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--on-dark); border-radius: var(--r-s); }
.skip:focus { inset-block-start: 12px; }

/* ---------- header (56px) ---------- */
.hdr { position: sticky; inset-block-start: 0; z-index: 40; background: rgb(239 228 210 / .92); backdrop-filter: blur(10px); border-block-end: 1px solid var(--line); }
.hdr__in { max-inline-size: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); height: var(--hdr-h); display: flex; align-items: center; gap: 8px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; min-height: 44px; }
.logo__mark { width: 28px; height: 28px; }
.logo__word { font-family: var(--f-display); font-size: 21px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.hnav { display: none; margin-inline-start: 18px; }
.hnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.hnav a { display: inline-flex; align-items: center; min-height: 40px; padding-inline: 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.hnav a:hover { background: var(--bg-2); color: var(--ink); }
.hnav a[aria-current="page"] { color: var(--teal-ink); background: var(--teal-soft); }
.hdr__search { margin-inline-start: auto; }
.iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; color: var(--ink); text-decoration: none; }
.iconbtn:hover { background: var(--bg-2); }
.hdr__cart[aria-current="page"] { background: var(--teal-soft); color: var(--teal-ink); }
.badge { position: absolute; inset-block-start: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding-inline: 5px; border-radius: 999px; background: var(--clay); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.badge.is-zero { display: none; }
.badge.is-bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); } }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--bg-2); }
.seg button { min-height: 38px; min-width: 48px; padding-inline: 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--sh-1); }
.seg.lang { display: none; }
.hdr .seg.lang { display: inline-flex; }
.hdr .seg.lang button { min-height: 38px; }
@media (min-width: 900px) { .hnav { display: block; } .hdr__cart { display: none; } }
@media (max-width: 899.98px) { .hdr__search { display: none; } .hdr .seg.lang { margin-inline-start: auto; } }

/* ---------- phone tab bar ---------- */
.tabbar { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-block-start: 1px solid var(--line); padding-block-end: env(safe-area-inset-bottom, 0px); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: var(--tab-h); color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 600; }
.tab__ico { position: relative; display: inline-flex; padding: 3px 10px; border-radius: 999px; }
.tab[aria-current="page"] { color: var(--teal-ink); }
.tab[aria-current="page"] .tab__ico { background: var(--teal-soft); }
.tab .badge { inset-block-start: -4px; inset-inline-end: -2px; }
@media (min-width: 900px) { .tabbar { display: none; } body { padding-block-end: 0; } }

/* ---------- layout ---------- */
main { max-inline-size: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: 40px 8px; }
.sec__head { margin-block-end: 18px; }
.sec__head p { color: var(--muted); margin-block-start: 4px; }
.nos .ico { width: 16px; height: 16px; }
@media (min-width: 900px) { .sec { padding-block: 56px 12px; } }

/* ---------- buttons, chips, prices ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding-inline: 20px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; transition: background-color .15s, transform .15s var(--ease), box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--clay); color: #fff; box-shadow: 0 8px 20px -12px rgb(180 81 44 / .8); }
.btn--primary:hover { background: var(--clay-ink); }
.btn--ghost { color: var(--teal-ink); box-shadow: inset 0 0 0 1.5px var(--teal); }
.btn--ghost:hover { background: var(--teal-soft); }
.btn--light { background: var(--on-dark); color: var(--teal-deep); }
.btn--light:hover { background: #fff; }
.btn--wide { inline-size: 100%; }
.btn.is-loading { opacity: .7; }
.btn.is-done { background: var(--teal); }
.linkbtn { color: var(--clay-ink); text-decoration: underline; text-underline-offset: .14em; min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }
.mat { display: inline-flex; align-items: center; height: 22px; padding-inline: 8px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .02em; background: #e3cfb0; color: #6a4a24; }
html[lang="ar"] .mat { letter-spacing: 0; }
.mat--petg { background: var(--teal-soft); color: var(--teal-ink); }
.dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(30 42 42 / .18); vertical-align: -1px; margin-inline-end: 6px; }
.rates { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #ead9b6; color: #6a4a12; font-size: 12px; font-weight: 600; }
.pr { font-weight: 600; white-space: nowrap; }
.pr__was { color: var(--muted); font-weight: 400; }
.pr__off { display: inline-block; padding: 1px 6px; border-radius: 6px; background: var(--clay-soft); color: var(--clay-ink); font-size: 12px; font-weight: 700; vertical-align: 1px; }
.pr--hero { font-size: 28px; font-family: var(--f-display); }
.pr--hero .pr__was { font-size: 18px; }

/* cards */
.pc { position: relative; container-type: inline-size; background: var(--card); border-radius: var(--r); box-shadow: var(--sh-1); }
.pc__link { display: block; color: inherit; text-decoration: none; border-radius: var(--r); }
.pc__media { display: block; aspect-ratio: 4 / 3; border-radius: var(--r) var(--r) 0 0; overflow: hidden; background: var(--bg-2); }
.pc__media svg { display: block; width: 100%; height: 100%; }
.pc__body { display: grid; gap: 4px; padding: 12px 14px 14px; }
.pc__name { font-family: var(--f-display); font-size: 19px; font-weight: 500; line-height: 1.2; padding-inline-end: 40px; }
html[lang="ar"] .pc__name { font-family: inherit; font-size: 17px; font-weight: 600; }
.pc__by { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.pc__by .ico { width: 16px; height: 16px; }
.pc__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; margin-block-start: 8px; padding-block-start: 8px; border-block-start: 1px dashed var(--line-2); }
.pc__spec { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.pc__add { position: absolute; inset-block-start: calc(75cqw - 22px); inset-inline-end: 10px; width: 44px; height: 44px; border-radius: 50%; background: var(--card); color: var(--clay-ink); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); display: inline-flex; align-items: center; justify-content: center; }
.pc__add:hover { background: var(--clay); color: #fff; }
.pc--pv .pc__add { display: none; }
.hrow { display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 260px); gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 0 18px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: thin; }
.hrow > * { scroll-snap-align: start; }
@media (min-width: 900px) { .hrow { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }

/* ---------- hero: copy + the plate ---------- */
.hero { display: grid; gap: 22px; padding-block: 22px 12px; }
.hero__copy { display: grid; gap: 14px; align-content: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__facts { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-2); font-size: 14px; }
.hero__facts li { display: inline-flex; align-items: center; gap: 6px; }
.hero__facts .ico { width: 17px; height: 17px; color: var(--teal); }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; padding-block: 40px 20px; min-height: calc(100vh - var(--hdr-h) - 40px); align-items: center; } }

/* ---------- the plate ---------- */
.plate {
  position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 1 / 1.08; max-height: 620px;
  background:
    linear-gradient(rgb(31 94 91 / .07) 1px, transparent 1px) 0 0 / 100% 36px,
    linear-gradient(90deg, rgb(31 94 91 / .07) 1px, transparent 1px) 0 0 / 36px 100%,
    radial-gradient(ellipse at 50% 42%, #f8f1e4 0%, #efe3cf 48%, #e5d5bb 100%);
  box-shadow: var(--sh-2), inset 0 0 0 1px var(--line);
}
@media (min-width: 900px) { .plate { aspect-ratio: 1 / 1; } }
.plate__poster, .plate__canvas { position: absolute; inset: 0; }
.plate__poster svg { display: block; width: 100%; height: 100%; }
.plate__poster { transition: opacity .5s var(--ease); }
.plate.is-live .plate__poster { opacity: 0; pointer-events: none; }
.plate.is-drawn .plate__poster { position: static; aspect-ratio: inherit; }
.plate__canvas { border-radius: var(--r-l); }
.plate__canvas canvas { display: block; width: 100%; height: 100%; }
.plate.is-failed .plate__canvas { display: none; }
.plate__fail { position: absolute; inset-block-end: 56px; inset-inline: 16px; text-align: center; font-size: 14px; color: var(--muted); }
.co { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease) .2s; }
.plate.is-live .co { opacity: 1; }
.plate.is-exploded .co__pins { opacity: 0; pointer-events: none; }
.co__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.co__lines path { fill: none; stroke: var(--teal); stroke-width: 1.5; }
.co__lines circle { fill: var(--teal); }
.co__pin { position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 44px; height: 44px; margin: -22px; display: inline-flex; align-items: center; justify-content: center; pointer-events: auto; will-change: transform; }
html[dir="rtl"] .co__pin { inset-inline-start: auto; inset-inline-end: 0; margin: -22px; }
.co__pin span { width: 26px; height: 26px; border-radius: 50%; background: var(--clay); color: #fff; font: 700 13px/26px var(--f-body); text-align: center; box-shadow: 0 0 0 3px rgb(239 228 210 / .9), 0 4px 10px -4px rgb(0 0 0 / .4); transition: transform .15s var(--ease), background-color .15s; }
.co__pin:hover span, .co__pin[aria-expanded="true"] span { transform: scale(1.12); background: var(--teal); }
.co__card { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; max-inline-size: min(280px, calc(100% - 28px)); padding: 12px 44px 12px 14px; border-radius: var(--r); background: var(--card); box-shadow: var(--sh-2); pointer-events: auto; }
.co__card.is-in { animation: cardIn .25s var(--ease); }
@keyframes cardIn { from { opacity: 0; transform: translateY(-6px); } }
.co__card h3 { font-size: 17px; }
.co__card p { font-size: 15px; color: var(--ink-2); margin-block-start: 4px; line-height: 1.45; }
.co__card .iconbtn { position: absolute; inset-block-start: 2px; inset-inline-end: 2px; width: 40px; height: 40px; }
.parts { position: absolute; inset: 0; pointer-events: none; }
.part { position: absolute; inset-block-start: 0; inset-inline-start: 0; padding: 3px 9px; border-radius: 6px; background: var(--teal-deep); color: var(--on-dark); font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity .3s var(--ease); will-change: transform; }
html[dir="rtl"] .part { inset-inline-start: 0; }
.plate.is-exploded.is-live .part { opacity: 1; }
.plate__hint { position: absolute; inset-block-end: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 999px; background: rgb(251 246 236 / .85); color: var(--ink-2); font-size: 15px; opacity: 0; transition: opacity .4s var(--ease) .6s; }
.plate.is-live:not(.has-callout):not(.is-exploded) .plate__hint { opacity: 1; }
.plate__hint .ico { width: 16px; height: 16px; }
.plate__tools { position: absolute; inset-block-end: 12px; inset-inline-end: 12px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.plate__xv { background: rgb(230 216 193 / .9); }
.plate__xv button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-inline: 12px; }
.plate__xv .ico { width: 18px; height: 18px; }
.plate__ctrls { display: flex; gap: 6px; }
.plate__ctrls button { width: 44px; height: 44px; border-radius: 50%; background: rgb(251 246 236 / .9); color: var(--ink); box-shadow: var(--sh-1); display: inline-flex; align-items: center; justify-content: center; }
.plate__ctrls button:hover { background: var(--card); }
.plate__ctrls [data-lamp][aria-pressed="true"] { background: #2b2116; color: #ffcf7a; }
.plate__toast { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: 13px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.plate__toast.is-on { opacity: 1; }
.plate.is-drawn { aspect-ratio: auto; background: var(--bg-2); }
.plate.is-drawn .plate__poster svg { aspect-ratio: 4 / 3; }
@media (max-width: 420px) { .plate__xv button span { display: none; } .plate__xv button { min-width: 44px; } }

/* ---------- how it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line-2); border-radius: var(--r); overflow: hidden; counter-reset: s; }
.steps li { background: var(--card); padding: 18px 18px 20px; display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; }
.steps__n { grid-row: 1 / span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--teal-deep); color: var(--on-dark); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
.steps h3 { font-size: 19px; }
.steps p { color: var(--ink-2); font-size: 15px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps li { grid-template-columns: 1fr; } .steps__n { grid-row: auto; margin-block-end: 10px; } }

/* ---------- find a design ---------- */
.search label { display: block; font-weight: 600; font-size: 14px; margin-block-end: 6px; }
.search__box { position: relative; max-inline-size: 520px; }
.search__box .ico { position: absolute; inset-block-start: 50%; inset-inline-start: 14px; transform: translateY(-50%); color: var(--muted); }
.search__box input { inline-size: 100%; min-height: 50px; padding-inline: 44px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--field); font-size: 16px; }
.search__box input:focus { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 16px 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 14px 10px; border-radius: 999px; background: var(--card); color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line-2); font-weight: 600; font-size: 14px; }
.chip::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.chip small { font-size: 12px; color: var(--muted); font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--bg-2); }
.chip[aria-pressed="true"] { background: var(--teal-deep); color: var(--on-dark); box-shadow: none; }
.chip[aria-pressed="true"] small { background: rgb(255 255 255 / .15); color: var(--on-dark); }
.grid__count { color: var(--muted); font-size: 15px; margin-block-end: 10px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.grid__empty { padding: 24px; text-align: center; color: var(--muted); background: var(--card); border-radius: var(--r); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 420px) { .grid .pc__name { font-size: 16px; } .grid .pc__body { padding: 10px 12px 12px; } .grid .pc__foot { flex-wrap: wrap; } }

/* ---------- seller band, trust ---------- */
.band { display: grid; gap: 22px; padding: 26px; border-radius: var(--r-l); background: linear-gradient(135deg, var(--teal-deep), #0f3130); color: var(--on-dark); }
.band h2 { color: var(--on-dark); }
.band__copy { display: grid; gap: 12px; justify-items: start; }
.band__copy p { color: var(--on-dark-muted); max-inline-size: 48ch; }
.band__ex { margin: 0; display: grid; gap: 0; align-self: center; background: rgb(255 255 255 / .06); border-radius: var(--r); padding: 6px 16px; }
.band__ex div { display: flex; justify-content: space-between; gap: 12px; padding-block: 9px; border-block-start: 1px solid rgb(255 255 255 / .12); }
.band__ex div:first-child { border: 0; }
.band__ex dt, .band__ex dd { margin: 0; }
.band__ex dd { font-weight: 600; }
.band__exHead dd { font-weight: 500; color: var(--on-dark-muted); }
.band__ex .is-earn dd { color: #f2c9a8; font-size: 20px; }
.band__rates .rates { background: rgb(255 255 255 / .12); color: var(--on-dark-muted); }
@media (min-width: 760px) { .band { grid-template-columns: 1.3fr 1fr; padding: 36px; } }
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trust li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 16px; background: var(--card); border-radius: var(--r); }
.trust .ico { color: var(--clay-ink); width: 24px; height: 24px; }
.trust h3 { font-size: 18px; }
.trust p { color: var(--muted); font-size: 15px; margin-block-start: 2px; }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust { grid-template-columns: repeat(4, 1fr); } }

/* ---------- footer ---------- */
.foot { margin-block-start: 56px; background: var(--teal-deep); color: var(--on-dark); }
.foot__in { max-inline-size: var(--maxw); margin-inline: auto; padding: 36px var(--gutter) 28px; display: grid; gap: 28px; }
.foot .logo { color: var(--on-dark); --logo-house: #f3e9d8; --logo-egg: #143f3e; --logo-shine: #c9a24a; }
.foot__brand p { color: var(--on-dark-muted); margin-block-start: 6px; }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.foot h2 { font-family: var(--f-body); font-size: 14px; font-weight: 700; color: var(--on-dark-muted); margin-block-end: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot ul a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); text-decoration: none; }
.foot ul a:hover { text-decoration: underline; }
.foot__base { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-block-start: 18px; border-block-start: 1px solid rgb(255 255 255 / .14); font-size: 14px; color: var(--on-dark-muted); }
.foot__lang { display: inline-flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.foot .seg { background: rgb(255 255 255 / .1); display: inline-flex; }
.foot .seg button { color: var(--on-dark-muted); }
.foot .seg button[aria-pressed="true"] { background: var(--on-dark); color: var(--teal-deep); }

/* ---------- toasts ---------- */
.toasts { position: fixed; inset-inline: 0; inset-block-end: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 10px); z-index: 60; display: grid; justify-items: center; gap: 8px; pointer-events: none; padding-inline: var(--gutter); }
.has-buybar .toasts { inset-block-end: calc(var(--tab-h) + 72px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { .toasts { inset-block-end: 20px; justify-items: end; } }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; max-inline-size: 440px; inline-size: 100%; padding: 8px 10px 8px 8px; border-radius: var(--r); background: var(--ink); color: var(--on-dark); box-shadow: var(--sh-2); opacity: 0; transform: translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.toast.is-on { opacity: 1; transform: none; }
.toast__art { width: 44px; height: 36px; border-radius: 8px; overflow: hidden; flex: none; }
.toast__art svg { width: 100%; height: 100%; display: block; }
.toast__msg { flex: 1; display: grid; font-size: 14px; min-width: 0; }
.toast__msg b { font-weight: 600; }
.toast__msg span { color: var(--on-dark-muted); font-size: 13px; }
.toast__btn { min-height: 40px; padding-inline: 12px; border-radius: 999px; color: #f2c9a8; font-weight: 700; text-decoration: none; font-size: 14px; }

/* ---------- product ---------- */
.crumb { padding-block: 10px 4px; font-size: 14px; }
.crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; color: var(--muted); }
.crumb li + li::before { content: "/"; margin-inline-end: 8px; color: var(--line-2); }
.crumb a { color: var(--ink-2); display: inline-flex; align-items: center; min-height: 44px; }
.pdp { display: grid; gap: 22px; padding-block: 8px 12px; }
.pdp__buy { display: grid; gap: 28px; }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; } .pdp__media { position: sticky; inset-block-start: calc(var(--hdr-h) + 16px); } }
.buy { display: grid; gap: 12px; }
.buy__maker { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-ink); font-size: 14px; font-weight: 600; }
.buy__maker .ico { width: 18px; height: 18px; }
.buy h1 { font-size: clamp(30px, 2rem + 1vw, 42px); }
.buy__price { margin-block-start: -4px; }
.buy__row { display: grid; gap: 8px; }
.buy__label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.buy__label b { color: var(--ink); }
.matrow { grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; }
.matrow .mat { height: 26px; font-size: 13px; }
.buy__note { font-size: 15px; color: var(--muted); }
.explain { border-radius: var(--r-s); margin-block-start: -6px; }
.explain summary { display: flex; align-items: center; gap: 6px; min-height: 44px; color: var(--clay-ink); font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; }
.explain summary::-webkit-details-marker { display: none; }
.explain__chev { width: 18px; height: 18px; margin-inline-start: -2px; transition: transform .2s var(--ease); }
.explain[open] .explain__chev { transform: rotate(180deg); }
.explain p { font-size: 15px; color: var(--ink-2); padding: 2px 0 8px; }
.explain a { font-size: 15px; font-weight: 600; display: inline-block; padding-block: 6px; }
.swatches { display: flex; gap: 10px; }
.swatch { position: relative; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.swatch__c { width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(30 42 42 / .2); transition: transform .15s var(--ease), box-shadow .15s; }
.swatch:has(input:checked) .swatch__c { transform: scale(1.1); box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--teal); }
.swatch:has(input:focus-visible) .swatch__c { outline: 3px solid var(--teal); outline-offset: 4px; }
.buy__pod { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-s); background: var(--teal-soft); color: var(--teal-ink); font-size: 14px; font-weight: 500; }
.qtyrow { grid-template-columns: 1fr auto; align-items: center; }
.stepper { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-2); background: var(--card); }
.stepper button { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.stepper button:disabled { color: var(--line-2); cursor: default; }
.stepper output, .stepper .num { min-width: 28px; text-align: center; font-weight: 600; }
.buy__acts { display: grid; gap: 10px; }
@media (min-width: 480px) { .buy__acts { grid-template-columns: 1fr 1fr; } }
.spec h2, .about h2 { font-size: 24px; margin-block-end: 10px; }
.spec__t { inline-size: 100%; border-collapse: collapse; font-size: 15px; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.spec__t th, .spec__t td { padding: 10px 14px; border-block-start: 1px solid var(--line); text-align: start; vertical-align: top; }
.spec__t tr:first-child th, .spec__t tr:first-child td { border: 0; }
.spec__t th { font-weight: 600; color: var(--ink-2); inline-size: 38%; background: rgb(31 94 91 / .05); }
.spec__t .sep { color: var(--line-2); }
.spec__note { margin-block-start: 8px; font-size: 15px; color: var(--muted); }
.about div { display: grid; gap: 10px; color: var(--ink-2); max-inline-size: 60ch; }
.buybar { position: fixed; inset-inline: 0; inset-block-end: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); z-index: 39; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; padding: 8px var(--gutter); background: var(--surface); border-block-start: 1px solid var(--line); }
.has-buybar { padding-block-end: calc(var(--tab-h) + 72px + env(safe-area-inset-bottom, 0px)); }
.bb-color { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-align: start; border-radius: var(--r-s); padding-inline-end: 6px; }
.bb-sw { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(30 42 42 / .2); flex: none; }
.bb-txt { display: grid; line-height: 1.2; }
.bb-price { font-weight: 700; }
.bb-col { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: .12em; }
.bb-ar { box-shadow: inset 0 0 0 1.5px var(--teal); color: var(--teal-ink); width: 48px; height: 48px; }
.bb-add { padding-inline: 18px; }
@media (min-width: 900px) { .buybar { display: none; } .has-buybar { padding-block-end: 0; } }

/* ---------- sell ---------- */
.shero { padding-block: 26px 10px; display: grid; gap: 14px; max-inline-size: 760px; }
.nos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nos li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-ink); font-size: 14px; font-weight: 600; }
.psteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pstep { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 14px 16px; background: var(--card); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.pstep__n { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-2); color: var(--ink-2); font-weight: 700; font-size: 14px; }
.pstep.is-done .pstep__n { background: var(--teal); color: #fff; }
.pstep__n .ico { width: 18px; height: 18px; }
.pstep h3 { font-size: 18px; }
.pstep p { color: var(--muted); font-size: 15px; margin-block-start: 2px; }
.pstep__live { display: inline-block; margin-block-start: 8px; padding: 3px 10px; border-radius: 6px; background: var(--teal-soft); color: var(--teal-ink); font-size: 13px; font-weight: 600; }
.pstep__live:empty { display: none; }
.pstep__live.is-wait { background: var(--bg-2); color: var(--muted); }
.pstep__live.is-err { background: var(--bad-bg); color: var(--bad); }
@media (min-width: 760px) { .psteps { grid-template-columns: repeat(3, 1fr); } .pstep { grid-template-columns: 1fr; } .pstep__n { margin-block-end: 8px; } }
.bench { display: grid; gap: 24px; }
@media (min-width: 900px) { .bench { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; } .bench__side { position: sticky; inset-block-start: calc(var(--hdr-h) + 16px); } }
.calc { display: grid; gap: 22px; padding: 20px; background: var(--card); border-radius: var(--r-l); box-shadow: var(--sh-1); }
.calc__f { border: 0; padding: 0; margin: 0; min-inline-size: 0; display: grid; gap: 10px; }
.calc__f legend, .field label { font-weight: 600; font-size: 15px; padding: 0; margin-block-end: 8px; min-height: 24px; justify-self: start; }
.drop { display: grid; justify-items: center; gap: 2px; padding: 14px; border: 1.5px dashed var(--line-2); border-radius: var(--r); text-align: center; color: var(--muted); font-size: 15px; }
.drop b { color: var(--ink); font-weight: 600; }
.drop .ico { color: var(--teal); }
.files { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.file { position: relative; display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 8px 10px; border-radius: var(--r); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; min-height: 60px; }
.file input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.file__art { grid-row: 1 / span 2; width: 48px; height: 40px; border-radius: 6px; overflow: hidden; }
.file__art svg { display: block; width: 100%; height: 100%; }
.file__name { font-weight: 600; font-size: 14px; line-height: 1.3; padding-inline-end: 22px; }
.file__fn { font-size: 12px; color: var(--muted); line-height: 1.3; overflow-wrap: anywhere; }
.file__tick { position: absolute; inset-block-start: 8px; inset-inline-end: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal); color: #fff; display: none; align-items: center; justify-content: center; }
.file__tick .ico { width: 14px; height: 14px; }
.file:has(input:checked) { box-shadow: inset 0 0 0 2px var(--teal); background: var(--teal-soft); }
.file:has(input:checked) .file__tick { display: inline-flex; }
.file:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.est { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; color: var(--teal-ink); font-weight: 500; }
.est .ico { width: 18px; height: 18px; margin-block-start: 2px; }
.est.is-reading { color: var(--muted); }
.est.is-reading .ico { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.matopt { position: relative; display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; min-height: 64px; }
.matopt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.matopt b { font-size: 17px; }
.matopt span { font-size: 14px; color: var(--muted); line-height: 1.35; }
.matopt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--teal); background: var(--teal-soft); }
.matopt:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.calc__help { font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.field__box { display: flex; align-items: center; border-radius: var(--r); background: var(--field); box-shadow: inset 0 0 0 1.5px var(--line-2); max-inline-size: 260px; }
.field__cur { padding-inline: 14px 4px; color: var(--muted); font-weight: 600; }
.field__box input { inline-size: 100%; min-height: 52px; border: 0; background: none; font-size: 22px; font-weight: 600; padding-inline: 4px 14px; }
.field__box input:focus { outline: none; }
.field__box:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.field.is-err .field__box { box-shadow: inset 0 0 0 2px var(--bad); }
.field__hint { font-size: 15px; color: var(--muted); }
.field__err { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--bad); font-size: 14px; font-weight: 500; }
.field__err .ico { width: 18px; height: 18px; }
.bench__side { display: grid; gap: 16px; }
.pv h3, .receipt h3, .howest h3 { font-size: 18px; }
.pv__note { font-size: 15px; color: var(--muted); margin-block: 2px 10px; }
.pc--pv { max-inline-size: 320px; }
.pr__now.is-wait { color: var(--muted); font-weight: 500; font-size: 14px; }
.receipt { padding: 16px 18px; background: var(--card); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); background-image: repeating-linear-gradient(transparent 0 28px, rgb(30 42 42 / .035) 28px 29px); }
.receipt__rows { margin: 10px 0 0; display: grid; }
.receipt__rows div { display: flex; justify-content: space-between; gap: 12px; padding-block: 5px; font-size: 14px; }
.receipt__rows dt, .receipt__rows dd { margin: 0; }
.receipt__rows dt small { display: block; color: var(--muted); font-size: 12px; }
.receipt__rows dd { font-weight: 600; white-space: nowrap; }
.receipt__rows .is-total { border-block-start: 1px solid var(--ink); border-block-end: 1px dashed var(--line-2); padding-block: 8px; font-weight: 700; }
.receipt__rows .is-gap { margin-block-start: 6px; }
.receipt__rows .is-dim { color: var(--muted); }
.receipt__rows .is-earn { color: var(--teal-ink); font-weight: 700; }
.receipt__sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-block-start: 10px; padding-block-start: 10px; border-block-start: 2px solid var(--teal); font-weight: 600; }
.receipt__sum b { font-family: var(--f-display); font-size: 30px; color: var(--teal-ink); }
.receipt__sum.is-err b { font-family: var(--f-body); font-size: 16px; color: var(--bad); }
.receipt__rates { margin-block-start: 10px; }
.howest p { font-size: 15px; color: var(--ink-2); margin-block-start: 6px; }
.mg__wrap { overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.mg { inline-size: 100%; min-inline-size: 560px; border-collapse: collapse; font-size: 15px; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.mg th, .mg td { padding: 12px 14px; text-align: start; vertical-align: top; border-block-start: 1px solid var(--line); }
.mg thead th { background: var(--teal-deep); color: var(--on-dark); font-family: var(--f-display); font-size: 20px; font-weight: 500; border: 0; }
.mg thead th:first-child { background: var(--teal-deep); }
.mg tbody th { font-weight: 600; color: var(--ink-2); background: rgb(31 94 91 / .05); inline-size: 24%; }
.mg__notes { display: grid; gap: 8px; margin-block-start: 14px; color: var(--ink-2); font-size: 15px; }
.rules { display: grid; gap: 18px; padding: 24px; border-radius: var(--r-l); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.rules p { color: var(--ink-2); margin-block-start: 8px; max-inline-size: 56ch; }
.rules__ban { padding: 16px 18px; border-radius: var(--r); background: var(--clay-soft); }
.rules__ban h3 { font-family: var(--f-body); font-size: 14px; font-weight: 700; color: var(--clay-deep); }
.rules__ban ul { margin: 8px 0 0; padding-inline-start: 18px; color: var(--ink-2); display: grid; gap: 4px; }
@media (min-width: 760px) { .rules { grid-template-columns: 1.4fr 1fr; align-items: start; } }

/* ---------- cart and checkout ---------- */
.order { display: grid; gap: 26px; padding-block: 22px 12px; }
@media (min-width: 900px) { .order { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; } .osum { position: sticky; inset-block-start: calc(var(--hdr-h) + 16px); } }
.order__main { display: grid; gap: 16px; min-inline-size: 0; }
.olist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.oline { display: grid; grid-template-columns: 84px 1fr; grid-template-areas: "art info" "art price" "ctrl ctrl"; gap: 6px 14px; padding: 14px; background: var(--card); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.oline.is-new { animation: flash 1.2s var(--ease); }
@keyframes flash { from { background: var(--teal-soft); } }
.oline__art { grid-area: art; width: 84px; height: 66px; border-radius: var(--r-s); overflow: hidden; }
.oline__art svg { width: 100%; height: 100%; display: block; }
.oline__info { grid-area: info; min-inline-size: 0; }
.oline__name { font-size: 19px; }
.oline__name a { color: inherit; text-decoration: none; display: inline-block; padding-block: 4px; }
.oline__by { font-size: 15px; color: var(--muted); margin-block-start: 2px; }
.oline__spec { display: flex; align-items: center; gap: 10px; margin-block-start: 6px; font-size: 15px; color: var(--ink-2); }
.oline__price { grid-area: price; display: flex; align-items: baseline; gap: 8px; font-size: 17px; }
.oline__each { font-size: 13px; color: var(--muted); font-weight: 400; }
.oline__ctrl { grid-area: ctrl; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-block-start: 4px; }
.oline__rm { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-inline: 10px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.oline__rm:hover { background: var(--bg-2); }
@media (min-width: 640px) { .oline { grid-template-columns: 96px 1fr auto; grid-template-areas: "art info price" "art ctrl ctrl"; } .oline__art { width: 96px; height: 76px; } .oline__ctrl { justify-content: flex-start; gap: 16px; } }
.empty { display: grid; justify-items: start; gap: 12px; padding: 24px; background: var(--card); border-radius: var(--r); color: var(--ink-2); }
.empty .ico { width: 32px; height: 32px; color: var(--teal); }
.osum { display: grid; gap: 12px; padding: 20px; background: var(--card); border-radius: var(--r-l); box-shadow: var(--sh-1); }
.osum h2 { font-size: 22px; }
.rows { margin: 0; display: grid; }
.rows div { display: flex; justify-content: space-between; gap: 12px; padding-block: 8px; border-block-start: 1px solid var(--line); font-size: 15px; }
.rows div:first-child { border: 0; }
.rows dt, .rows dd { margin: 0; }
.rows dt small { display: block; font-size: 12px; color: var(--muted); }
.rows dd { font-weight: 600; text-align: end; }
.rows .is-save dd { color: var(--teal-ink); }
.rows .is-deliv dd { font-weight: 500; color: var(--muted); font-size: 14px; }
.rows .is-total { border-block-start: 2px solid var(--ink); font-size: 17px; font-weight: 700; }
.rows .is-total dd { font-family: var(--f-display); font-size: 24px; }
.osum__note, .osum__sub { font-size: 15px; color: var(--muted); }
.onext h2 { font-size: 20px; margin-block-end: 10px; }
.onext ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line-2); border-radius: var(--r); overflow: hidden; }
.onext li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--card); }
.onext__ico { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--teal-soft); color: var(--teal-ink); flex: none; }
.onext__txt { display: grid; }
.onext__txt b { font-weight: 600; }
.onext__txt span { font-size: 14px; color: var(--muted); }
.back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14px; justify-self: start; }
.ck__f { border: 0; padding: 0; margin: 0; min-inline-size: 0; display: grid; gap: 14px; padding: 18px; background: var(--card); border-radius: var(--r-l); box-shadow: inset 0 0 0 1px var(--line); }
.ck__f legend { float: inline-start; inline-size: 100%; font-family: var(--f-display); font-size: 22px; font-weight: 500; margin-block-end: 2px; }
html[lang="ar"] .ck__f legend { font-family: inherit; font-weight: 600; }
.fld { display: grid; gap: 6px; }
.fld label { font-weight: 600; font-size: 15px; }
.fld label small { color: var(--muted); font-weight: 400; font-size: 13px; }
.fld input:not([type="checkbox"]), .fld select, .fld textarea { inline-size: 100%; min-height: 48px; padding-inline: 14px; border-radius: var(--r-s); border: 1.5px solid var(--line-2); background: var(--field); font-size: 16px; }
.fld textarea { padding-block: 10px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.fld.is-err input, .fld.is-err select { border-color: var(--bad); }
.fld__box { display: flex; align-items: center; border-radius: var(--r-s); border: 1.5px solid var(--line-2); background: var(--field); }
.fld__box .fld__pre { padding-inline: 14px 4px; color: var(--muted); font-weight: 600; }
.fld__box input { border: 0 !important; background: none; padding-inline-start: 4px; }
.fld__box:has(input:focus) { outline: 3px solid var(--teal); outline-offset: 1px; }
.fld.is-err .fld__box { border-color: var(--bad); }
.fld--2 { grid-template-columns: 1fr 1fr; gap: 12px; }
.fld--2 > div { display: grid; gap: 6px; }
.fld__help { font-size: 15px; color: var(--muted); }
.fld__err, .err { display: flex; align-items: center; gap: 8px; color: var(--bad); font-size: 14px; font-weight: 500; }
.err { padding: 12px 14px; border-radius: var(--r-s); background: var(--bad-bg); }
.fld--check label { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; font-weight: 400; cursor: pointer; }
.fld--check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--teal); flex: none; }
.ck-go.is-busy { opacity: .7; }
.ckl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ckl { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; }
.ckl__art { width: 56px; height: 44px; border-radius: 6px; overflow: hidden; }
.ckl__art svg { width: 100%; height: 100%; display: block; }
.ckl__txt { display: grid; gap: 2px; min-inline-size: 0; }
.ckl__name { color: inherit; text-decoration: none; font-weight: 600; font-size: 15px; display: inline-block; padding-block: 3px; }
.ckl__meta { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ckl__price { font-size: 15px; }
#ckDoneT:focus { outline: none; }   /* focused by script after the order, not by a key press */
.done__num { font-size: 18px; }
.done__num b { font-family: var(--f-display); font-size: 30px; color: var(--teal-ink); margin-inline-start: 6px; }
.done__to h2 { font-size: 20px; margin-block-end: 8px; }
.done__to p { padding: 14px 16px; background: var(--card); border-radius: var(--r); line-height: 1.6; }
.done .btn { justify-self: start; }
