/* Generated by tools/build-theme-fonts.mjs: theme typefaces of the shop frames, glyph subsets. */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/theme/bodoni-moda-500.22dcc0a392.woff2') format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/theme/hanken-grotesk-400.7bd3bf8677.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/theme/barlow-condensed-600.27263c90e4.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/theme/barlow-500.09481dfb4d.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/theme/barlow-600.e8269c2299.woff2') format('woff2');
}
@font-face {
  font-family: 'Tenor Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/theme/tenor-sans-400.21b64b6998.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/theme/jost-400.869da48529.woff2') format('woff2');
}

/* Comptwar, coming-soon site. Tokens: design/tokens (kaolin neutrals, indigo accent, brass coin).
   One family (Plus Jakarta Sans), self-hosted. Same visual language as the platform home on
   preprod: quiet hero with the sign-up form, then the demo shops on their counter
   (showcase.css), the merchant space, the indigo closing band. */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --sunken: #f4f2ef;
  --text: #1c1914;
  --text-2: #5c574f;
  --text-3: #746f67;
  --border: #e6e3df;
  --border-strong: #908b84;
  --primary: #36499f;
  --primary-hover: #2a3a84;
  --on-primary: #ffffff;
  --link: #36499f;
  --ink: #2a3a84;
  --coin: #d2a249;
  --info: #056180;
  --danger: #a51e24;
  --danger-bg: #fee4e1;
  --success: #1b6c3a;
  --indigo-deep: #1f2c67;
  --slab: #ebe7e0;
  --slab-hi: #f6f4f0;
  --slab-lo: #e0dbd2;
  --frame-border: #ddd9d3;
  --shadow: 0 1px 1px rgba(29, 27, 24, 0.04), 0 30px 60px -36px rgba(29, 27, 24, 0.4);

  --font: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --gutter: 16px;
  --max: 1200px;
  --radius: 6px;
  --radius-md: 10px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #110f0d;
    --surface: #1b1916;
    --sunken: #151411;
    --text: #f1f0ed;
    --text-2: #bdbab5;
    --text-3: #9b9891;
    --border: #2d2a24;
    --border-strong: #6f6b65;
    --primary: #aabffc;
    --primary-hover: #cddaff;
    --on-primary: #0a112e;
    --link: #aabffc;
    --ink: #f1f0ed;
    --info: #5dbee9;
    --danger: #f87e77;
    --danger-bg: #3c1715;
    --success: #6ad18a;
    --indigo-deep: #1a2558;
    --slab: #2b2823;
    --slab-hi: #36322c;
    --slab-lo: #201e1a;
    --frame-border: #3a3631;
    --shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 30px 60px -36px rgba(0, 0, 0, 0.8);
  }
}

@media (min-width: 640px) {
  :root { --gutter: 32px; }
}
@media (min-width: 1100px) {
  :root { --gutter: 48px; }
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}
main { flex: 1; }

h1, h2, h3, p, dl, dd, ul { margin: 0; }

a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 2px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  background: var(--surface);
  color: var(--text);
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 10;
}
.skip:focus { top: 8px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header ------------------------------------------------------------------------------------- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; min-height: 48px; }
.brand img { display: block; height: 24px; width: auto; }
.langs { display: flex; align-items: center; gap: 4px; font-size: 0.8125rem; font-weight: 600; }
.lang-on, .lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 44px;
}
.lang-on { color: var(--text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.lang { color: var(--text-2); text-decoration: none; }
.lang:hover { color: var(--text); text-decoration: underline; }

/* Hero: the message, the status and the sign-up form ------------------------------------------- */
.hero {
  display: grid;
  gap: 32px;
  padding-top: 24px;
  padding-bottom: 64px;
}
@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: 64px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 88px;
  }
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 20px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--info);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--info) 18%, transparent);
}

.hero-title {
  max-width: 11ch;
  font-size: clamp(2.5rem, 5.4vw, 4.375rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.lead {
  margin-top: 20px;
  max-width: 40ch;
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.6;
  color: var(--text-2);
}

/* Sign-up --------------------------------------------------------------------------------------- */
.signup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 24px 20px;
  scroll-margin-top: 24px;
}
@media (min-width: 640px) {
  .signup { padding: 32px; }
}
.signup-title { font-size: 1.25rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.signup-intro { color: var(--text-2); margin-top: 8px; max-width: 52ch; }

.form { margin-top: 24px; display: grid; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.9375rem; margin-bottom: 8px; }
.field-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 560px) {
  .field-row { flex-direction: row; }
}
input[type='email'] {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  font: 500 1rem var(--font);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}
input[type='email']:focus-visible { outline-offset: 0; border-color: var(--primary); }
input[aria-invalid='true'] { border-color: var(--danger); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font: 600 1rem var(--font);
  color: var(--on-primary);
  background: var(--primary);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 120ms ease;
}
.button:hover { background: var(--primary-hover); text-decoration: none; }
.button[aria-busy='true'] { cursor: progress; opacity: 0.8; }

.hint { color: var(--text-3); font-size: 0.875rem; margin: -4px 0 8px; }

.check { display: flex; gap: 12px; align-items: flex-start; }
.check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--primary);
}
.check label { color: var(--text-2); font-size: 0.9375rem; line-height: 1.5; }

.field-error, .form-error { color: var(--danger); font-size: 0.9375rem; font-weight: 600; }
.field-error { margin-top: 8px; }
#consent-error { margin-top: -8px; }
.form-error { background: var(--danger-bg); padding: 12px 14px; border-radius: var(--radius); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.done { margin-top: 24px; outline: none; }
.done-title { font-size: 1.125rem; font-weight: 700; color: var(--success); }
.done-body { margin-top: 6px; color: var(--text-2); }

/* Section headings (shops, merchant space) ------------------------------------------------------- */
.section-title {
  max-width: 20ch;
  font-size: clamp(1.75rem, 3.4vw, 2.625rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.section-intro { margin-top: 12px; max-width: 56ch; font-size: 1.0625rem; color: var(--text-2); }

/* Footer ------------------------------------------------------------------------------------------- */
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  justify-content: space-between;
  align-items: center;
  padding-block: 16px 32px;
  /* A rule as wide as the content, not the padded box. */
  background: linear-gradient(var(--border), var(--border)) no-repeat top center / calc(100% - 2 * var(--gutter)) 1px;
  color: var(--text-3);
  font-size: 0.875rem;
}
.foot a { color: var(--text-2); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); }

/* Message pages (check inbox, confirmed, link expired, error, 404) --------------------------------- */
.message { padding-block: 64px 112px; max-width: calc(640px + 2 * var(--gutter)); margin-inline: 0; }
@media (min-width: 900px) {
  .message { margin-inline: auto; max-width: calc(var(--max) + 2 * var(--gutter)); padding-right: 40%; }
}
.message-mark { width: 56px; height: auto; fill: var(--ink); margin-bottom: 28px; display: block; }
.message-mark .coin { fill: var(--coin); }
.message h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; margin-bottom: 20px; }
.message p { color: var(--text-2); font-size: 1.0625rem; max-width: 52ch; }
.message p + p { margin-top: 12px; }
.message .message-action { margin-top: 32px; }
.message .message-alt { margin-top: 32px; font-size: 0.9375rem; color: var(--text-3); }
.text-link { font-weight: 600; }

/* Legal pages ---------------------------------------------------------------------------------------- */
.legal { display: grid; gap: 48px; padding-block: 48px 96px; }
@media (min-width: 960px) {
  .legal { grid-template-columns: minmax(0, 68ch) 1fr; gap: 96px; padding-top: 64px; }
}
.eyebrow { color: var(--text-2); font-weight: 600; font-size: 0.9375rem; }
.legal-body h1 { font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; margin-top: 8px; }
.updated { color: var(--text-3); font-size: 0.875rem; margin-top: 12px; }
.legal-section { margin-top: 40px; }
.legal-section h2 { font-size: 1.25rem; line-height: 1.3; font-weight: 700; margin-bottom: 12px; }
.legal-section p { color: var(--text-2); }
.legal-section p + p { margin-top: 10px; }
.legal-nav { align-self: start; }
@media (min-width: 960px) {
  .legal-nav { position: sticky; top: 32px; padding-top: 8px; }
}
.legal-nav-title { font-weight: 700; font-size: 0.9375rem; }
.legal-nav ul { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 4px; }
.legal-nav a { display: inline-block; padding: 6px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Home below the hero: the three demo shops standing on one counter, the merchant space and the
   closing band. Ported from the preprod platform home (comptwar_storefront platform-street and
   platform-home styles). Each frame is drawn in em from its own width (container queries), in
   the shop theme's colours and typefaces; frames stay light in dark mode, as the shops are. */

/* ---------- The street: three shops standing on the counter ---------- */
.shops { padding-bottom: clamp(64px, 9vw, 112px); }
.shops .section-head { margin-bottom: clamp(28px, 4vw, 44px); }

.cw-street {
  --gap: clamp(16px, 2.4vw, 32px);
  margin: 0 calc(-1 * var(--gutter));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.cw-street::-webkit-scrollbar { display: none; }
.cw-street__track {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: auto auto;
  column-gap: var(--gap);
  width: max-content;
  margin: 0;
  padding: 0 var(--gutter) 4px;
  list-style: none;
}
.cw-stall { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; scroll-snap-align: center; }
.cw-stall[data-theme='atelier'] { width: min(78vw, 440px); }
.cw-stall[data-theme='marche'] { width: min(70vw, 360px); }
.cw-stall[data-theme='velours'] { width: min(40vw, 200px); }
.cw-stall__stage { position: relative; display: flex; align-items: flex-end; padding-bottom: 14px; }
/* The counter top: one slab under the three shops (the comptoir of the logo). */
.cw-stall__stage::after {
  content: '';
  position: absolute;
  left: 0;
  right: calc(-1 * var(--gap));
  bottom: 0;
  height: 14px;
  background: var(--slab);
  box-shadow: inset 0 1px 0 var(--slab-hi), inset 0 -3px 0 var(--slab-lo);
}
.cw-stall:first-child .cw-stall__stage::after { border-radius: 3px 0 0 3px; }
.cw-stall:last-child .cw-stall__stage::after { right: 0; border-radius: 0 3px 3px 0; }
.cw-stall__caption { padding-top: 18px; }
.cw-stall__caption h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.cw-stall__caption p { margin-top: 4px; max-width: 36ch; font-size: 0.875rem; line-height: 1.5; color: var(--text-2); }
.demo-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.9375rem;
}
@media (min-width: 900px) {
  .cw-street { margin: 0; overflow: visible; }
  .cw-street__track {
    width: auto;
    padding: 0;
    grid-auto-flow: row;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.5fr);
  }
  .cw-stall[data-theme] { width: auto; }
}

/* ---------- Device frames ---------- */
.cw-device {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--frame-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(29, 27, 24, 0.04), 0 22px 40px -28px rgba(29, 27, 24, 0.45);
  container-type: inline-size;
}
/* The one orchestrated moment: the shops rise onto the counter, one after the other. */
@media (prefers-reduced-motion: no-preference) {
  .cw-device { animation: cw-rise 760ms cubic-bezier(0.23, 1, 0.32, 1) 120ms backwards; }
  .cw-stall:nth-child(2) .cw-device { animation-delay: 200ms; }
  .cw-stall:nth-child(3) .cw-device { animation-delay: 280ms; }
}
@keyframes cw-rise {
  from { transform: translateY(20px); }
}
.cw-device--phone {
  border: 6px solid #17120f;
  border-radius: 26px;
  background: #1a1216;
  box-shadow: 0 0 0 1px var(--frame-border), 0 24px 40px -26px rgba(29, 27, 24, 0.6);
}
.cw-device__bar { display: flex; justify-content: center; padding: 7px 10px; background: #f3f1ee; border-bottom: 1px solid #e6e3df; }
.cw-device__url {
  min-width: 55%;
  padding: 3px 12px;
  border-radius: 999px;
  background: #fff;
  text-align: center;
  font: 500 11px/1.4 var(--font);
  color: #5c5852;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cw-device--phone .cw-device__bar { background: #1a1216; border-bottom: 0; padding: 8px 8px 4px; }
.cw-device--phone .cw-device__url { min-width: 0; width: 100%; background: #2a2025; color: #cdbfb8; font-size: 10px; }

.cw-shop { display: block; overflow: hidden; font-variant-numeric: normal; }
.cw-shop span { display: block; }
.cw-shop img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cw-shop svg { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Atelier (Atelier Awa): editorial, Bodoni Moda + Hanken Grotesk, square corners */
.cw-shop[data-theme='atelier'] {
  aspect-ratio: 16 / 13.9;
  font: 400 calc(100cqw / 52) / 1.4 'Hanken Grotesk', system-ui, sans-serif;
  background: #fbfbf9;
  color: #1e2233;
}
.cw-at__selvedge {
  height: 0.4em;
  background: repeating-linear-gradient(90deg, #1e2233 0 0.7em, #8a2340 0.7em 1.4em, #c99a3e 1.4em 2.1em, #eef0f5 2.1em 2.8em);
}
.cw-shop .cw-at__head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 1.1em 2.2em 0.7em; }
.cw-at__head svg:last-child { justify-self: end; }
.cw-at__name, .cw-at__title, .cw-at__pname { font-family: 'Bodoni Moda', Didot, serif; font-weight: 500; letter-spacing: -0.015em; }
.cw-at__name { font-size: 1.75em; }
.cw-shop .cw-at__nav {
  display: flex;
  justify-content: center;
  gap: 2em;
  padding-bottom: 0.9em;
  border-bottom: 1px solid #dcdfe7;
  font-size: 0.8em;
  white-space: nowrap;
}
.cw-shop .cw-at__hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4em; align-items: center; padding: 1.8em 2.2em 1.6em; }
.cw-at__title { font-size: 2.6em; line-height: 1.06; }
.cw-at__sub { margin: 0.9em 0 1.4em; font-size: 0.86em; color: #5d6070; }
.cw-shop .cw-at__btn { display: inline-block; padding: 0.85em 1.5em; background: #1e2233; color: #fff; font-size: 0.8em; font-weight: 600; border-radius: 2px; }
.cw-at__hero img { aspect-ratio: 4 / 3; height: auto; object-position: 50% 30%; }
.cw-shop .cw-at__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1em; padding: 0 2.2em; }
.cw-at__card img { aspect-ratio: 1; height: auto; margin-bottom: 0.6em; object-position: 50% 22%; }
.cw-at__pname, .cw-at__price { font-size: 0.78em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-at__pname { font-size: 0.86em; }
.cw-at__price { margin-top: 0.2em; font-weight: 600; font-variant-numeric: tabular-nums; }
.cw-at__price--sale { color: #8a2340; }
.cw-at__price s { margin-left: 0.4em; font-weight: 400; color: #5d6070; }

/* Marché (Marché Kpota): dense and warm, Barlow (Condensed), yellow buttons, rounded cards */
.cw-shop[data-theme='marche'] {
  aspect-ratio: 16 / 14.6;
  font: 500 calc(100cqw / 40) / 1.35 Barlow, system-ui, sans-serif;
  background: #fff;
  color: #1d2320;
}
.cw-shop .cw-mk__head { display: flex; align-items: center; gap: 1em; padding: 1em 1.2em 0.8em; }
.cw-mk__name, .cw-mk__ptitle, .cw-mk__h { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 600; }
.cw-mk__name { font-size: 1.45em; white-space: nowrap; }
.cw-shop .cw-mk__search {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4em;
  padding: 0.25em 0.25em 0.25em 0.8em;
  border: 2px solid #1d2320;
  border-radius: 0.8em;
  font-size: 0.78em;
  color: #5c625e;
}
.cw-mk__search span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-mk__search b { padding: 0.45em 0.8em; border-radius: 0.55em; background: #ffc20e; color: #1d2320; font-weight: 600; }
.cw-shop .cw-mk__chips { display: flex; gap: 0.5em; padding: 0 1.2em; }
.cw-mk__chips span { padding: 0.45em 1em; border-radius: 999px; background: #f1f1ee; font-size: 0.78em; font-weight: 600; }
.cw-mk__chips .is-on { background: #1d2320; color: #fff; }
.cw-shop .cw-mk__promo { margin: 1em 1.2em; padding: 1.1em 1.3em; border-radius: 1.2em; background: #1d2320; color: #fff; }
.cw-mk__ptitle { font-size: 1.7em; line-height: 1.05; }
.cw-mk__psub { margin-top: 0.3em; font-size: 0.78em; color: #c9ccca; }
.cw-mk__h { padding: 0 1.2em 0.6em; font-size: 1.35em; }
.cw-shop .cw-mk__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8em; padding: 0 1.2em; }
.cw-shop .cw-mk__card { padding-bottom: 0.7em; border: 1px solid #e3e4e1; border-radius: 1em; overflow: hidden; background: #fff; }
.cw-shop .cw-mk__img { position: relative; aspect-ratio: 1; }
.cw-mk__badge {
  position: absolute;
  top: 0.5em;
  left: 0.5em;
  padding: 0.2em 0.5em;
  border-radius: 0.4em;
  background: #c8211a;
  color: #fff;
  font-size: 0.72em;
  font-weight: 600;
}
.cw-mk__pname { margin: 0.6em 0.7em 0; font-size: 0.74em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-mk__price { margin: 0.3em 0.7em 0.6em; font-weight: 600; font-variant-numeric: tabular-nums; }
.cw-mk__price--sale { color: #c8211a; }
.cw-shop .cw-mk__add { margin: 0 0.7em; padding: 0.5em 0; border-radius: 0.6em; background: #ffc20e; text-align: center; font-size: 0.78em; font-weight: 600; }

/* Velours (Velours, Bucharest): night plum, Tenor Sans + Jost, soft round corners */
.cw-shop[data-theme='velours'] {
  aspect-ratio: 20 / 39;
  font: 400 calc(100cqw / 20) / 1.35 Jost, system-ui, sans-serif;
  background: #1a1216;
  color: #f2e9e4;
}
.cw-shop .cw-vl__head { display: flex; align-items: center; justify-content: space-between; padding: 0.9em 1.1em; }
.cw-vl__name, .cw-vl__title { font-family: 'Tenor Sans', Optima, sans-serif; }
.cw-vl__name { font-size: 1.2em; letter-spacing: 0.22em; text-transform: uppercase; color: #e8c9a0; }
.cw-shop .cw-vl__hero { position: relative; margin: 0 0.8em; aspect-ratio: 4 / 5; border-radius: 1.4em; overflow: hidden; }
.cw-shop .cw-vl__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3em 1em 1em;
  background: linear-gradient(rgba(26, 18, 22, 0), rgba(26, 18, 22, 0.88));
}
.cw-vl__title { font-size: 1.5em; line-height: 1.1; }
.cw-vl__sub { margin-top: 0.3em; font-size: 0.7em; color: #cdbfb8; }
.cw-shop .cw-vl__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7em; padding: 1em 0.8em; }
.cw-vl__card img { aspect-ratio: 4 / 5; height: auto; border-radius: 1em; }
.cw-vl__pname { margin-top: 0.5em; font-size: 0.7em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-vl__price { margin-top: 0.1em; font-size: 0.76em; color: #e8c9a0; font-variant-numeric: tabular-nums; }

/* ---------- What's coming: the merchant space ---------- */
.office { padding: clamp(64px, 9vw, 112px) 0; background: var(--surface); border-top: 1px solid var(--border); }
.office-inner { display: grid; gap: 40px; }
.office-figure { margin: 0; min-width: 0; }
.office-features { display: grid; gap: 0 32px; }
.office-features div { padding: 16px 0; border-top: 1px solid var(--border); }
.office-features dt { font-weight: 700; line-height: 1.4; }
.office-features dd { margin: 4px 0 0; font-size: 0.9375rem; line-height: 1.55; color: var(--text-2); }
@media (min-width: 640px) {
  .office-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .office-inner { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px 64px; align-items: center; }
  .office-features { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .office-features { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* The orders preview: a picture of the merchant space, light in both modes. */
.cw-panel {
  overflow: hidden;
  border: 1px solid #ddd9d3;
  border-radius: 12px;
  background: #f6f5f2;
  color: #1d1b18;
  container-type: inline-size;
  box-shadow: var(--shadow);
}
.cw-panel__body { padding: 20px; }
.cw-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cw-panel__title { font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.cw-panel__shop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid #ddd9d3;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}
.cw-panel__tabs {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  border-bottom: 1px solid #e3dfd9;
  font-size: 14px;
  color: #5c5852;
  white-space: nowrap;
  overflow: hidden;
}
.cw-panel__tabs span { padding: 10px 0; }
.cw-panel__tabs .is-on { color: #1d1b18; font-weight: 600; box-shadow: inset 0 -2px 0 #36499f; }
.cw-panel__tabs b { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: #ebe8e3; font-size: 12px; font-weight: 600; }
.cw-panel__table { margin-top: 16px; overflow: hidden; border: 1px solid #e3dfd9; border-radius: 10px; background: #fff; }
.cw-panel__row {
  display: grid;
  grid-template-columns: 6.6em minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1fr) 7.4em;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid #efece8;
  font-size: 13.5px;
}
.cw-panel__row > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-panel__row--head { border-top: 0; background: #faf9f7; font-size: 12.5px; font-weight: 600; color: #5c5852; }
.cw-panel__no { color: #5c5852; }
.cw-panel__who { font-weight: 600; }
.cw-panel__num { text-align: right; font-weight: 600; }
.cw-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.cw-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cw-pill[data-status='pending'] { background: #fcf1d8; color: #7a5200; }
.cw-pill[data-status='paid'], .cw-pill[data-status='delivered'] { background: #e2f2e7; color: #1b6c3a; }
.cw-pill[data-status='inPrep'] { background: #ddf0f2; color: #0f5e68; }
.cw-pill[data-status='sent'] { background: #e6ecff; color: #2a3a84; }
@container (max-width: 780px) {
  .cw-panel__opt--place { display: none; }
  .cw-panel__row { grid-template-columns: 6.6em minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 1fr) 7.4em; }
}
@container (max-width: 560px) {
  .cw-panel__opt { display: none; }
  .cw-panel__row { grid-template-columns: minmax(0, 1fr) auto auto; padding: 12px; }
  .cw-panel__no { display: none; }
  .cw-panel__row--head > span:first-child { display: none; }
}

/* ---------- Closing band: the sign-up again ---------- */
.close { padding: clamp(64px, 9vw, 112px) 0; background: var(--indigo-deep); color: #fff; }
.close :focus-visible { outline-color: #fff; }
.close-mark { display: block; width: 52px; height: auto; fill: #fff; }
.close-mark circle { fill: var(--coin); }
.close-title {
  margin: 28px 0 12px;
  max-width: 18ch;
  font-weight: 700;
  font-size: clamp(1.875rem, 4.2vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.close-body { max-width: 50ch; font-size: 1.125rem; line-height: 1.6; color: rgba(255, 255, 255, 0.84); }
.close-action { margin-top: 32px; }
.button--light { background: #fff; color: #1f2c67; min-height: 52px; padding: 0 26px; }
.button--light:hover { background: #e6ecff; }
