:root {
  --bg: #f7f5f0;
  --paper: #ffffff;
  --ink: #0e0e0e;
  --accent: #c75a3a;
  --copper: #c75a3a; /* legacy alias — older inline styles reference --copper */
  --muted: #6b6660;
  --border: #e3ddd0;
  --footer-bg: #f0ebe1;
  --shadow-sm: 0 1px 2px rgba(14,14,14,.04);
  --shadow-md: 0 6px 24px rgba(14,14,14,.10);
  --radius: 4px;
  --maxw: 1240px;
  --topbar-h: 64px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: 'Archivo Black', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== Layout: drawer-nav chassis (NO sidebar) ===== */
.layout {
  display: block;
  min-height: 100vh;
}
/* Legacy .sidebar markup is intentionally hidden — chassis uses drawer overlay nav instead. */
.sidebar { display: none !important; }

.main { min-width: 0; padding-top: var(--topbar-h); }

/* ===== Sticky topbar with brand + hamburger ===== */
.topbar {
  display: flex;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(247,245,240,0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--topbar-h);
  padding: 0 28px;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
}
.topbar .brand,
.brand {
  font-family: var(--font);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-word { display: inline-block; line-height: 1; }
/* Inverse the chevron tile inside the dark drawer */
.drawer-top .brand-mark rect { fill: var(--paper); }
.drawer-top .brand-mark path:first-of-type { stroke: #101418; }
.topbar .menu-btn,
.menu-btn {
  background: none;
  border: 1px solid var(--ink);
  padding: 9px 16px;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}
.menu-btn:hover { background: var(--ink); color: var(--paper); }

/* ===== Topbar right cluster: account + cart + menu ===== */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--ink);
  transition: background 140ms ease;
  cursor: pointer;
}
.icon-btn:hover { background: rgba(14,14,14,0.06); }
.icon-btn svg { width: 16px; height: 16px; display: block; stroke-width: 1.6; }
.cart-link .cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 1.5px solid var(--bg);
}
.cart-link .cart-count[data-empty="1"] { display: none; }
.topbar-right .menu-btn { margin-left: 6px; }

/* ===== Drawer overlay nav (fullscreen) ===== */
.drawer {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  display: flex;
  flex-direction: column;
}
body.drawer-open .drawer { opacity: 1; pointer-events: auto; }
body.drawer-open { overflow: hidden; }

.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
  height: var(--topbar-h);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex: 0 0 auto;
}
.drawer-top .brand { color: var(--paper); }
.drawer-close {
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--paper);
  padding: 9px 16px;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.drawer-close:hover { background: var(--paper); color: var(--ink); }

.drawer-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 64px 56px;
  align-content: start;
  overflow-y: auto;
}
.drawer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 22px;
}
.drawer-col a {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--paper);
  padding: 6px 0;
  transition: color 140ms ease, transform 140ms ease;
}
.drawer-col a:hover { color: var(--accent); transform: translateX(6px); }
.drawer-col.cats a {
  font-family: var(--font);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.drawer-foot {
  padding: 24px 56px 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}
.drawer-foot a { color: rgba(255,255,255,0.85); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 720px) {
  .drawer-body {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 28px;
  }
  .drawer-foot { padding: 20px 28px 28px; }
}

/* ===== Containers / utilities ===== */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.text-center { text-align: center; }
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-head { margin-bottom: 28px; }
.section-head h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 36px;
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* Buttons */
.cta, button.cta {
  display: inline-block;
  padding: 14px 30px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.cta:hover { background: var(--accent); color: var(--paper); }
.cta.outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.cta.outline:hover { background: var(--ink); color: var(--paper); }

/* ===== Full-bleed hero ===== */
.hero-fullbleed {
  position: relative;
  min-height: 84vh;
  background: #1a1a1a;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  overflow: hidden;
}
.hero-fullbleed::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 35%, rgba(0,0,0,0.85) 100%);
}
.hero-fullbleed .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 72px 56px;
}
.hero-fullbleed .eyebrow { color: rgba(255,255,255,0.78); }
.hero-fullbleed h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: 1.0;
  margin: 0 0 22px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.hero-fullbleed p {
  font-size: 18px;
  max-width: 560px;
  margin: 0 0 30px;
  color: rgba(255,255,255,0.92);
}
.hero-fullbleed .cta { background: var(--accent); }
.hero-fullbleed .cta:hover { background: var(--paper); color: var(--ink); }

@media (max-width: 720px) {
  .hero-fullbleed { min-height: 70vh; }
  .hero-fullbleed .hero-inner { padding: 40px 24px; }
}

/* ===== Featured: magazine mosaic (1+4 grid) ===== */
.mosaic-wrap {
  padding: 96px 0 24px;
}
.mosaic-head {
  max-width: var(--maxw);
  margin: 0 auto 36px;
  padding: 0 32px;
  text-align: center;
}
.mosaic-head h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  margin: 8px 0 0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.mosaic {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.mosaic-card {
  position: relative;
  background: #efe9dc;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 220ms ease;
}
.mosaic-card:hover { transform: translateY(-3px); }
.mosaic-card .img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #efe9dc;
  transition: transform 600ms ease;
}
.mosaic-card:hover .img { transform: scale(1.04); }
.mosaic-card .body {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.78) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px;
  color: var(--paper);
}
.mosaic-card .cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 4px;
}
.mosaic-card .name {
  font-family: var(--display);
  font-weight: 900;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.mosaic-card .price {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.mosaic-card.large {
  grid-column: span 2;
  grid-row: span 2;
}
.mosaic-card.large .name { font-size: 28px; line-height: 1.05; margin-bottom: 6px; }
.mosaic-card.large .price { font-size: 18px; }
.mosaic-card.large .body { padding: 28px 32px; }

@media (max-width: 880px) {
  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
    gap: 12px;
  }
  .mosaic-card.large { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 560px) {
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .mosaic-card.large { grid-column: span 1; grid-row: span 1; }
  .mosaic-card.large .name { font-size: 22px; }
}

/* ===== Editorial section ===== */
.editorial {
  padding: 96px 0;
  margin-top: 32px;
}
.editorial .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.editorial .img {
  background-size: cover;
  background-position: center;
  background-color: #efe9dc;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
}
.editorial .copy h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  margin: 8px 0 24px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.editorial .copy p {
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.7;
}
@media (max-width: 880px) {
  .editorial .inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== Light-strip footer (single horizontal line) ===== */
.lite-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding: 28px 32px;
  margin-top: 64px;
}
.lite-footer .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 32px;
}
.lite-footer .wordmark {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}
.lite-footer nav.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.lite-footer nav.footer-meta a { color: var(--ink); }
.lite-footer nav.footer-meta a:hover { color: var(--accent); }
.lite-footer .copyright {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-align: right;
}
@media (max-width: 720px) {
  .lite-footer .inner { flex-direction: column; align-items: flex-start; }
  .lite-footer .copyright { text-align: left; }
}

/* ===== Shop page filters + grid ===== */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 44px;
}
.shop-filters button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 8px 18px;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 140ms ease;
}
.shop-filters button:hover { border-color: var(--ink); }
.shop-filters button.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px 22px;
}
.product-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 200ms, transform 200ms;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-card .img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: #efe9dc;
}
.product-card .body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.product-card .cat {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.product-card h3 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 10px;
  flex: 1;
}
.product-card .price { color: var(--accent); font-weight: 600; font-size: 15px; margin-top: 4px; }

/* ===== Product detail ===== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 56px 0;
}
.product-detail .img-wrap {
  background: #efe9dc;
  border-radius: var(--radius);
  overflow: hidden;
}
.product-detail .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.product-detail .copy h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 8px 0 14px;
}
.product-detail .copy .price {
  font-size: 22px;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 24px;
}
.product-detail .copy p { color: var(--ink); white-space: pre-line; }
.product-detail .features { list-style: none; padding: 0; margin: 24px 0; }
.product-detail .features li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--ink);
}
.product-detail .features li::before { content: '·'; color: var(--accent); padding-right: 10px; font-weight: 700; }

@media (max-width: 880px) {
  .product-detail { grid-template-columns: 1fr; gap: 32px; padding: 32px 0; }
}

/* ===== Cart / checkout / forms ===== */
.cart-list { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); }
.cart-row { display: grid; grid-template-columns: 80px 1fr auto auto; gap: 18px; align-items: center; padding: 16px; border-bottom: 1px solid var(--border); }
.cart-row:last-child { border-bottom: 0; }
.cart-row .img { width: 80px; height: 80px; background-size: cover; background-position: center; border-radius: var(--radius); background-color: #efe9dc; }
.cart-row .name { font-weight: 600; }
.cart-row .price { color: var(--accent); font-weight: 600; }
.cart-row .qty { display: flex; align-items: center; gap: 6px; }
.cart-row .qty button { width: 28px; height: 28px; border: 1px solid var(--border); background: var(--paper); border-radius: 4px; cursor: pointer; font: inherit; }
.cart-totals { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-top: 22px; }
.cart-totals .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14.5px; }
.cart-totals .row.total { font-size: 18px; font-weight: 600; padding-top: 14px; border-top: 1px solid var(--border); margin-top: 8px; }

.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }

/* About / contact / legal pages */
.page-body {
  max-width: 760px;
  margin: 56px auto;
  padding: 0 32px;
}
.page-body h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 40px;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 24px;
}
.page-body h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 36px 0 12px;
}
.page-body p { color: var(--ink); margin: 0 0 14px; line-height: 1.7; }
.page-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.page-body ul { padding-left: 20px; }
.page-body li { margin-bottom: 6px; }

/* ===== Empty states ===== */
.empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--muted);
}
.empty h2 {
  color: var(--ink);
  margin-bottom: 12px;
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ===== Payment method selector (checkout) ===== */
.payment-methods { display: flex; flex-direction: column; gap: 10px; margin: 0 0 18px; }
.paymethod {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--paper);
  transition: border-color 140ms ease, background 140ms ease;
}
.paymethod:hover { border-color: var(--ink); }
.paymethod input[type="radio"] {
  margin: 4px 0 0;
  accent-color: var(--ink);
  flex: 0 0 auto;
}
.paymethod:has(input[type="radio"]:checked) {
  border-color: var(--ink);
  background: rgba(199,90,58,0.05);
}
.paymethod-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.paymethod-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.paymethod-title { font-weight: 600; color: var(--ink); font-size: 15px; }
.paymethod-desc { font-size: 13px; color: var(--muted); line-height: 1.45; }
.paymethod-marks { display: flex; gap: 6px; flex-wrap: wrap; }
.cardmark {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  line-height: 1;
}
.cardmark.visa   { color: #1A1F71; border-color: #1A1F71; }
.cardmark.mc     { color: #EB001B; border-color: #EB001B; }
.cardmark.amex   { color: #2E77BB; border-color: #2E77BB; }
.cardmark.disc   { color: #FF6000; border-color: #FF6000; }
.cardmark.paypal { color: #003087; border-color: #003087; background: #ffc439; }

/* ===== Real card-brand badges (checkout) ===== */
.cardmark-real {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 26px;
  flex: 0 0 auto;
}
.cardmark-real svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 3px;
  box-shadow: 0 1px 1.5px rgba(14,14,14,0.06);
}
.paymethod-marks { gap: 8px; align-items: center; }

/* ===== SMC Checkout — single-column "stations" chassis ===== */
.smc-co-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 160px;
}
.smc-co-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.smc-co-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.smc-co-rail {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 32px;
  background: var(--paper);
}
.smc-co-rail .step {
  padding: 14px 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid var(--ink);
  color: var(--ink);
}
.smc-co-rail .step:last-child { border-right: 0; }
.smc-co-rail .step .num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 14px;
  color: var(--accent);
}
.smc-co-rail .step.is-active { background: var(--ink); color: var(--paper); }
.smc-co-rail .step.is-active .num { color: var(--paper); }

.smc-co-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--paper);
  margin: 0 0 10px;
}
.smc-co-summary-bar .left { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.smc-co-summary-bar .count {
  font-family: var(--display);
  font-weight: 900;
  font-size: 18px;
  color: var(--ink);
}
.smc-co-summary-bar .total {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.smc-co-summary-toggle {
  background: none;
  border: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
}
.smc-co-summary-toggle:hover { color: var(--ink); }
.smc-co-summary-detail {
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 14px 18px;
  background: var(--paper);
  margin: -10px 0 36px;
  display: none;
}
.smc-co-summary-detail.is-open { display: block; }
.smc-co-summary-detail .li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px dashed var(--border);
}
.smc-co-summary-detail .li:last-of-type { border-bottom: 0; }
.smc-co-summary-detail .sub {
  display: flex; justify-content: space-between;
  padding: 8px 0; font-size: 13px; color: var(--muted);
}

.smc-co-station {
  margin: 32px 0 0;
  padding: 0;
}
.smc-co-station-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 18px;
}
.smc-co-station-head .marker {
  font-family: var(--display);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0.01em;
  background: linear-gradient(transparent 60%, rgba(199,90,58,0.18) 60%);
  padding: 0 4px;
}
.smc-co-station-head .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 2px;
}
.smc-co-station-head .ask {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin: 0;
}

.smc-co-place-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 40;
  border-top: 4px solid var(--accent);
}
.smc-co-place-bar .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
}
.smc-co-place-bar .amount {
  font-family: var(--display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.01em;
}
.smc-co-place-bar #place-order {
  background: var(--paper);
  color: var(--ink);
  border: 0;
  padding: 14px 28px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 140ms ease;
}
.smc-co-place-bar #place-order:hover { background: var(--accent); color: var(--paper); }
.smc-co-place-bar #place-order:disabled { opacity: 0.6; cursor: not-allowed; }

.smc-co-pay-status {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
  min-height: 16px;
}

@media (max-width: 720px) {
  .smc-co-title { font-size: 34px; }
  .smc-co-rail { grid-template-columns: 1fr; }
  .smc-co-rail .step { border-right: 0; border-bottom: 1px solid var(--ink); }
  .smc-co-rail .step:last-child { border-bottom: 0; }
  .smc-co-station-head .marker { font-size: 32px; }
  .smc-co-station-head .ask { font-size: 18px; }
  .smc-co-place-bar { padding: 12px 16px; }
  .smc-co-place-bar #place-order { padding: 12px 18px; font-size: 12px; }
  .smc-co-place-bar .amount { font-size: 16px; }
}
