/* ============================================================
   Tokyo Chef v3 — Main styles
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #fff; color: var(--fg-1); scroll-behavior: smooth; }
body { font-family: var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--tc-red); color: #fff; }

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid var(--tc-hairline);
  transition: box-shadow 240ms var(--ease-out);
}
.site-nav.scrolled { box-shadow: 0 1px 2px rgba(17,17,17,0.05); }
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: inline-flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font: 500 14px/1 var(--font-sans);
  color: var(--tc-graphite);
  letter-spacing: -0.005em;
  transition: color 200ms var(--ease-out);
}
.nav-links a:hover { color: var(--tc-ink); }
.nav-links .nav-cta {
  background: var(--tc-ink); color: #fff;
  padding: 9px 18px; border-radius: 999px;
  font-weight: 600;
}
.nav-links .nav-cta:hover { background: #2a2a2a; color: #fff; }
.nav-bag {
  position: relative;
  background: transparent; border: 0; padding: 6px;
  color: var(--tc-graphite); display: inline-flex; align-items: center; justify-content: center;
  transition: color 200ms var(--ease-out);
}
.nav-bag:hover { color: var(--tc-ink); }
.nav-bag [data-lucide] { width: 20px; height: 20px; stroke-width: 1.6; }
.nav-bag-badge {
  position: absolute; top: -2px; right: -4px;
  background: var(--tc-red); color: #fff;
  font: 700 10px/1 var(--font-sans);
  min-width: 18px; height: 18px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 5px;
}
@media (max-width: 720px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero-full {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.78; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, #fff 0%, rgba(0,0,0,0.32) 55%, rgba(0,0,0,0) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center; max-width: 880px; padding: 0 24px; margin-top: 24px;
}
.hero-eyebrow {
  color: var(--tc-red);
  font: 600 13px/1 var(--font-sans);
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}
.hero-title {
  font: 700 clamp(48px, 8vw, 112px)/1.02 var(--font-sans);
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0 0 24px;
  text-wrap: balance;
  text-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.hero-sub {
  font: 300 clamp(18px, 1.6vw, 24px)/1.4 var(--font-sans);
  color: rgba(255,255,255,0.92);
  max-width: 36ch; margin: 0 auto 36px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.18);
}
.hero-link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 18px/1 var(--font-sans);
  color: var(--tc-red);
  transition: color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.hero-link:hover { color: #fff; }
.hero-link [data-lucide] { width: 18px; height: 18px; stroke-width: 2; transition: transform 200ms var(--ease-out); }
.hero-link:hover [data-lucide] { transform: translateX(4px); }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: var(--tc-graphite); z-index: 2;
  animation: hero-bounce 2s ease-in-out infinite;
}
.hero-scroll [data-lucide] { width: 22px; height: 22px; stroke-width: 1.8; }
@keyframes hero-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -8px); }
}

/* ============================================================
   Philosophy
   ============================================================ */
.philosophy { background: var(--tc-grey-bg); padding: 96px 0; }
.philosophy-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.philosophy-text .section-h1 {
  font: 700 clamp(32px, 4vw, 56px)/1.05 var(--font-sans);
  letter-spacing: -0.025em; text-wrap: balance; margin: 0; color: var(--tc-ink);
}
.philosophy-text .lede {
  font: 300 clamp(17px, 1.2vw, 19px)/1.55 var(--font-sans);
  color: var(--tc-graphite); margin: 0; text-wrap: pretty;
}
.philosophy-photo {
  border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-2); background: var(--tc-mist);
}
.philosophy-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-emphasized); }
.philosophy-photo:hover img { transform: scale(1.05); }
@media (max-width: 900px) {
  .philosophy-inner { grid-template-columns: 1fr; gap: 36px; }
  .philosophy { padding: 64px 0; }
}

/* ============================================================
   Collection
   ============================================================ */
.collection { padding: 96px 0; background: #fff; }
.collection-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section-header { text-align: center; margin-bottom: 96px; }
.section-display {
  font: 700 clamp(40px, 5.4vw, 72px)/1.02 var(--font-sans);
  letter-spacing: -0.03em; margin: 0; color: var(--tc-ink);
}
.lede { font: 400 19px/1.5 var(--font-sans); color: var(--fg-2); margin: 0; text-wrap: pretty; }

.feature-slot {
  border-radius: 24px; overflow: hidden; margin-bottom: 64px;
  border: 1px solid var(--tc-hairline); background: var(--tc-grey-bg);
}
.feature-slot.dark { background: var(--tc-ink); color: #fff; border-color: transparent; box-shadow: var(--shadow-3); }
.feature-slot-grid { display: grid; grid-template-columns: 1fr 1fr; }
.feature-slot-photo { position: relative; overflow: hidden; min-height: 360px; }
.feature-slot-photo img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0; transition: transform 700ms var(--ease-emphasized);
}
.feature-slot:hover .feature-slot-photo img { transform: scale(1.05); }
.feature-slot-body {
  padding: clamp(40px, 4.5vw, 72px);
  display: flex; flex-direction: column; justify-content: center;
}
.slot-eyebrow {
  font: 700 12px/1 var(--font-sans); letter-spacing: 0.18em;
  margin-bottom: 14px; text-transform: uppercase;
}
.slot-title {
  font: 700 clamp(28px, 2.8vw, 38px)/1.1 var(--font-sans);
  letter-spacing: -0.02em; margin: 0 0 18px; color: inherit;
}
.slot-copy {
  font: 400 17px/1.55 var(--font-sans); color: var(--fg-2);
  margin: 0 0 22px; text-wrap: pretty;
}
.feature-slot.dark .slot-copy { color: rgba(255,255,255,0.78); }
.slot-bullets { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-direction: column; gap: 8px; }
.slot-bullets li { display: flex; align-items: center; gap: 12px; font: 500 15px/1.4 var(--font-sans); color: var(--fg-2); }
.feature-slot.dark .slot-bullets li { color: rgba(255,255,255,0.76); }
.slot-bullets [data-lucide] { width: 16px; height: 16px; stroke-width: 2.2; flex-shrink: 0; }
.slot-buy { display: flex; align-items: center; gap: 18px; }
.slot-price { font: 700 28px/1 var(--font-sans); letter-spacing: -0.02em; color: inherit; }

.compact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compact-card {
  background: var(--tc-grey-bg); border-radius: 24px; padding: 36px;
  border: 1px solid var(--tc-hairline);
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.compact-card:hover { border-color: var(--tc-graphite); box-shadow: var(--shadow-2); }
.compact-photo { height: 200px; border-radius: 16px; overflow: hidden; margin-bottom: 28px; background: var(--tc-mist); }
.compact-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-emphasized); }
.compact-card:hover .compact-photo img { transform: scale(1.05); }
.compact-title-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.compact-title {
  font: 700 clamp(22px, 1.8vw, 28px)/1.1 var(--font-sans);
  letter-spacing: -0.018em; margin: 0; color: var(--tc-ink);
}
.compact-badge {
  background: var(--tc-ink); color: #fff;
  font: 700 10px/1 var(--font-sans); letter-spacing: 0.08em;
  padding: 4px 8px; border-radius: 4px; text-transform: uppercase;
}
.compact-copy { font: 400 15px/1.55 var(--font-sans); color: var(--fg-2); margin: 0 0 24px; text-wrap: pretty; }
.compact-buy { display: flex; align-items: center; gap: 14px; }
.compact-price { font: 700 20px/1 var(--font-sans); letter-spacing: -0.018em; color: var(--tc-ink); }

@media (max-width: 900px) {
  .feature-slot-grid { grid-template-columns: 1fr; }
  .feature-slot-photo { min-height: 280px; }
  .feature-slot-photo, .feature-slot-body { order: unset !important; }
  .compact-grid { grid-template-columns: 1fr; }
  .section-header { margin-bottom: 56px; }
  .collection { padding: 64px 0; }
}

/* ============================================================
   Contact
   ============================================================ */
.contact { background: var(--tc-ink); color: #fff; padding: 96px 0; }
.contact-inner { max-width: 720px; margin: 0 auto; padding: 0 32px; }
.contact-header { text-align: center; margin-bottom: 56px; }
.contact-h1 {
  font: 700 clamp(32px, 4vw, 48px)/1.1 var(--font-sans);
  letter-spacing: -0.025em; margin: 0 0 18px; color: #fff;
}
.contact-sub { font: 300 17px/1.55 var(--font-sans); color: rgba(255,255,255,0.6); margin: 0; text-wrap: pretty; }
.contact-form {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px; padding: 40px; display: flex; flex-direction: column; gap: 22px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font: 500 13px/1 var(--font-sans); color: rgba(255,255,255,0.65); letter-spacing: -0.005em; }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px; padding: 13px 16px;
  font: 400 15px/1.2 var(--font-sans); color: #fff; outline: none;
  transition: border-color 200ms var(--ease-out), background 200ms var(--ease-out);
  font-family: inherit;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.32); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: #fff; background: rgba(255,255,255,0.10);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px;
}
.btn-submit {
  background: var(--tc-red); color: #fff;
  font: 600 16px/1 var(--font-sans); padding: 18px;
  border-radius: 12px; border: 0; transition: background 200ms var(--ease-out);
}
.btn-submit:hover { background: var(--tc-red-deep); }
@media (max-width: 720px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .contact { padding: 64px 0; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--tc-grey-bg); color: var(--tc-graphite);
  padding: 56px 0 32px; border-top: 1px solid var(--tc-hairline);
}
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px;
  padding-bottom: 40px; margin-bottom: 24px;
}
.footer-brand .footer-blurb {
  font: 400 14px/1.6 var(--font-sans); color: var(--tc-graphite);
  margin: 18px 0 0; max-width: 36ch;
}
.footer-col h5 { font: 500 14px/1 var(--font-sans); color: var(--tc-ink); margin: 0 0 16px; }
.footer-col a {
  display: block; font: 400 14px/2.1 var(--font-sans);
  color: var(--tc-graphite); transition: color 200ms var(--ease-out);
}
.footer-col a:hover { color: var(--tc-ink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--tc-hairline);
  font: 400 12px/1.4 var(--font-sans); color: var(--tc-slate);
}
.footer-legal { display: inline-flex; gap: 18px; }
.footer-legal a:hover { color: var(--tc-ink); }
@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ============================================================
   Smart Add / Qty stepper
   ============================================================ */
.qty-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--status-success); color: #fff;
  font: 600 14px/1 var(--font-sans); padding: 14px 22px; border-radius: 999px; border: 0;
  transition: background 200ms var(--ease-out), transform 120ms var(--ease-out);
}
.qty-btn:hover { background: #15672F; }
.qty-btn:active { transform: scale(0.98); }
.qty-btn [data-lucide] { width: 14px; height: 14px; stroke-width: 2.4; }
.qty-btn.sm { padding: 10px 16px; font-size: 13px; }
.qty-btn.light { background: #fff; color: var(--tc-ink); }
.qty-btn.light:hover { background: #f0f0f0; }
.qty-stepper.inline {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--status-success); color: #fff;
  border-radius: 999px; padding: 4px;
  animation: qty-pop 220ms var(--ease-emphasized);
}
@keyframes qty-pop { 0% { transform: scale(0.94); } 100% { transform: scale(1); } }
.qty-stepper.inline button {
  width: 34px; height: 34px; border-radius: 999px;
  background: transparent; border: 0; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 180ms var(--ease-out);
}
.qty-stepper.inline button:hover { background: rgba(255,255,255,0.16); }
.qty-stepper.inline button [data-lucide] { width: 14px; height: 14px; stroke-width: 2.4; }
.qty-stepper.inline .qty-stepper-val {
  min-width: 28px; text-align: center;
  font: 600 14px/1 var(--font-sans); color: #fff;
}
.qty-stepper.inline.sm button { width: 28px; height: 28px; }
.qty-stepper.inline.sm .qty-stepper-val { font-size: 13px; min-width: 22px; }
.qty-stepper.inline.light { background: #fff; color: var(--tc-ink); box-shadow: inset 0 0 0 1px var(--tc-hairline); }
.qty-stepper.inline.light button { color: var(--tc-ink); }
.qty-stepper.inline.light button:hover { background: var(--tc-mist); }
.qty-stepper.inline.light .qty-stepper-val { color: var(--tc-ink); }

/* ============================================================
   Bundle promo
   ============================================================ */
.bundle-promo {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px;
  padding: 28px 36px;
  background: linear-gradient(135deg, #FFF8F8 0%, #FBE9E9 100%);
  border: 1px solid var(--tc-red-soft); border-radius: 24px; margin-bottom: 64px;
}
.bundle-photos { display: flex; }
.bundle-photo {
  width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
  border: 3px solid #fff; margin-left: -16px; box-shadow: var(--shadow-1); flex-shrink: 0;
}
.bundle-photo:first-child { margin-left: 0; }
.bundle-photo img { width: 100%; height: 100%; object-fit: cover; }
.bundle-body { min-width: 0; }
.bundle-eyebrow { font: 700 11px/1 var(--font-sans); letter-spacing: 0.2em; color: var(--tc-red); }
.bundle-title { font: 700 24px/1.1 var(--font-sans); letter-spacing: -0.015em; margin: 8px 0 6px; color: var(--tc-ink); }
.bundle-copy { font: 400 14px/1.5 var(--font-sans); color: var(--fg-2); margin: 0; max-width: 48ch; }
.bundle-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.bundle-price-row { display: flex; align-items: baseline; gap: 10px; }
.bundle-price { font: 700 22px/1 var(--font-sans); letter-spacing: -0.015em; color: var(--tc-ink); }
.bundle-was { font: 400 13px/1 var(--font-sans); color: var(--tc-slate); text-decoration: line-through; }
.bundle-buy .qty-btn.light { background: var(--tc-ink); color: #fff; }
.bundle-buy .qty-btn.light:hover { background: #000; }
@media (max-width: 900px) {
  .bundle-promo { grid-template-columns: 1fr; gap: 20px; padding: 24px; text-align: left; }
  .bundle-buy { align-items: flex-start; }
}

/* ============================================================
   Sticky bag pill
   ============================================================ */
.bag-pill {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 80px); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 14px 12px 18px;
  background: var(--tc-ink); color: #fff; border-radius: 999px; border: 0;
  box-shadow: 0 16px 40px rgba(17,17,17,0.22), 0 4px 12px rgba(17,17,17,0.12);
  font: 600 14px/1 var(--font-sans);
  transition: transform 320ms var(--ease-emphasized), background 200ms var(--ease-out);
  opacity: 0; pointer-events: none;
}
.bag-pill.visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.bag-pill:hover { background: #2a2a2a; }
.bag-pill [data-lucide] { width: 16px; height: 16px; stroke-width: 2; }
.bag-pill-count {
  background: var(--tc-red); color: #fff;
  font: 700 11px/1 var(--font-sans); min-width: 18px; height: 18px;
  padding: 0 6px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
}
.bag-pill-divider { width: 1px; height: 16px; background: rgba(255,255,255,0.16); margin: 0 2px; }
.bag-pill-total { font-weight: 600; }
.bag-pill-cta {
  background: var(--tc-red); color: #fff; padding: 9px 14px; border-radius: 999px;
  font: 600 13px/1 var(--font-sans); margin-left: 8px;
}

/* ============================================================
   Toast
   ============================================================ */
.toast {
  position: fixed; bottom: 24px; left: 24px; z-index: 70;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 14px 12px 18px;
  background: #fff; border: 1px solid var(--tc-hairline); border-radius: 999px;
  box-shadow: 0 12px 40px rgba(17,17,17,0.10), 0 2px 6px rgba(17,17,17,0.04);
  font: 500 14px/1 var(--font-sans); color: var(--tc-ink);
  animation: toast-in 280ms var(--ease-emphasized);
}
@keyframes toast-in { 0% { transform: translateY(20px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
.toast-tick {
  width: 24px; height: 24px; border-radius: 999px; background: #1B7F3A; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.toast-tick [data-lucide] { width: 14px; height: 14px; stroke-width: 2.6; }
.toast-msg { white-space: nowrap; }
.toast-view {
  background: var(--tc-ink); color: #fff; padding: 8px 14px; border-radius: 999px;
  font: 600 12px/1 var(--font-sans); border: 0;
}
.toast-view:hover { background: #2a2a2a; }
.toast-x { background: transparent; border: 0; color: var(--tc-slate); padding: 4px; }
.toast-x [data-lucide] { width: 14px; height: 14px; stroke-width: 1.8; }
@media (max-width: 720px) {
  .toast { left: 12px; right: 12px; bottom: 88px; }
  .toast-msg { flex: 1; }
  .bag-pill { left: 12px; right: 12px; transform: translateY(80px); }
  .bag-pill.visible { transform: translateY(0); }
}

/* ============================================================
   Checkout overlay
   ============================================================ */
.co-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: #fff; display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform 360ms var(--ease-emphasized); visibility: hidden;
}
.co-overlay.open { transform: translateY(0); visibility: visible; }
.co-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; border-bottom: 1px solid var(--tc-hairline);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px) saturate(180%); -webkit-backdrop-filter: blur(14px) saturate(180%);
  position: sticky; top: 0; z-index: 5;
}
.co-bar-brand { display: inline-flex; align-items: center; }
.co-close {
  background: transparent; border: 0; padding: 8px; color: var(--tc-slate);
  border-radius: 999px; transition: background 200ms var(--ease-out), color 200ms var(--ease-out);
}
.co-close:hover { background: var(--tc-mist); color: var(--tc-ink); }
.co-close [data-lucide] { width: 20px; height: 20px; stroke-width: 1.8; }

.step-dots { display: inline-flex; align-items: center; gap: 0; }
.step-dot { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--font-sans); }
.step-dot + .step-dot { margin-left: 10px; }
.step-dot-num {
  width: 24px; height: 24px; border-radius: 999px;
  background: var(--tc-mist); color: var(--tc-graphite);
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 12px/1 var(--font-sans); flex-shrink: 0;
}
.step-dot.current .step-dot-num { background: var(--tc-ink); color: #fff; }
.step-dot.done .step-dot-num { background: #1B7F3A; color: #fff; }
.step-dot.done .step-dot-num [data-lucide] { width: 12px; height: 12px; stroke-width: 3; }
.step-dot.todo .step-dot-label { color: var(--tc-slate); }
.step-dot.current .step-dot-label { color: var(--tc-ink); font-weight: 600; }
.step-dot.done .step-dot-label { color: var(--tc-graphite); }
.step-dot-line { width: 32px; height: 1px; background: var(--tc-hairline); margin-left: 10px; }
.step-dot.done .step-dot-line { background: #1B7F3A; }

.co-body {
  flex: 1; overflow-y: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px;
  max-width: 1180px; width: 100%; margin: 0 auto; padding: 48px 32px 96px;
}
.co-panel { min-width: 0; }
.co-step { max-width: 600px; }
.co-step-head { margin-bottom: 28px; }
.co-step h2 {
  font: 700 clamp(28px, 3vw, 36px)/1.15 var(--font-sans);
  letter-spacing: -0.02em; margin: 0; color: var(--tc-ink);
}
.co-step-sub { font: 400 16px/1.5 var(--font-sans); color: var(--fg-2); margin: 12px 0 0; }

.co-delivery-bar {
  background: var(--tc-grey-bg); border: 1px solid var(--tc-hairline);
  border-radius: 14px; padding: 16px 18px; margin-bottom: 24px;
}
.co-delivery-msg { font: 400 14px/1.4 var(--font-sans); color: var(--fg-2); margin-bottom: 10px; }
.co-delivery-msg strong { color: var(--tc-ink); font-weight: 600; }
.co-delivery-track { height: 6px; background: var(--tc-hairline); border-radius: 999px; overflow: hidden; }
.co-delivery-fill { height: 100%; background: var(--tc-red); border-radius: 999px; transition: width 360ms var(--ease-emphasized); }

.co-lines { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.co-line {
  display: grid; grid-template-columns: 72px 1fr auto;
  gap: 16px; align-items: center; padding: 16px;
  border-radius: 14px; background: #fff; border: 1px solid var(--tc-hairline);
}
.co-line-photo { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; }
.co-line-photo img { width: 100%; height: 100%; object-fit: cover; }
.co-line-name { font: 600 16px/1.2 var(--font-sans); color: var(--tc-ink); }
.co-line-price-each { font: 400 13px/1 var(--font-sans); color: var(--tc-slate); margin-top: 4px; }
.co-line-controls { display: inline-flex; align-items: center; gap: 14px; margin-top: 12px; }
.co-line-total { font: 700 16px/1 var(--font-sans); color: var(--tc-ink); }
.co-empty {
  text-align: center; padding: 48px 0; color: var(--tc-slate);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.co-empty [data-lucide] { width: 40px; height: 40px; stroke-width: 1.4; opacity: 0.32; }
.co-empty p { margin: 0; font: 500 17px/1 var(--font-sans); }
.btn-text {
  background: transparent; border: 0; padding: 0;
  font: 500 13px/1 var(--font-sans); color: var(--tc-graphite);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.btn-text:hover { color: var(--tc-ink); }

.co-totals { border-top: 1px solid var(--tc-hairline); padding-top: 16px; margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
.co-total-row { display: flex; justify-content: space-between; font: 400 14px/1 var(--font-sans); color: var(--fg-2); }
.co-total-row.co-total-grand {
  font: 700 20px/1 var(--font-sans); color: var(--tc-ink); letter-spacing: -0.015em;
  margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--tc-hairline);
}
.free-pill {
  background: #E8F4EC; color: #1B7F3A;
  font: 700 11px/1 var(--font-sans); letter-spacing: 0.04em;
  padding: 4px 8px; border-radius: 999px; text-transform: uppercase;
}

.co-express { margin-bottom: 24px; }
.co-express-label {
  font: 600 12px/1 var(--font-sans); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--tc-slate); margin-bottom: 12px;
}
.co-express-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.apple-pay, .google-pay {
  height: 52px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 var(--font-sans); border: 0; cursor: pointer;
  transition: opacity 180ms var(--ease-out);
}
.apple-pay { background: #000; color: #fff; }
.google-pay { background: #fff; color: #3c4043; border: 1px solid var(--tc-hairline); }
.google-pay .gp-mark { display: inline-flex; gap: 0; font: 700 17px/1 var(--font-sans); }
.apple-pay:hover, .google-pay:hover { opacity: 0.9; }
.co-divider {
  display: flex; align-items: center; gap: 14px;
  color: var(--tc-slate); font: 500 12px/1 var(--font-sans);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.co-divider::before, .co-divider::after { content: ''; flex: 1; height: 1px; background: var(--tc-hairline); }

.co-continue {
  width: 100%; background: var(--tc-red); color: #fff;
  font: 600 16px/1 var(--font-sans); padding: 18px; border-radius: 14px; border: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer; transition: background 200ms var(--ease-out);
}
.co-continue:hover { background: var(--tc-red-deep); }
.co-continue:disabled { background: var(--tc-hairline); color: var(--tc-slate); cursor: not-allowed; }
.co-continue [data-lucide] { width: 16px; height: 16px; stroke-width: 2.2; }
.co-microcopy {
  display: inline-flex; align-items: center; gap: 8px;
  font: 400 13px/1.4 var(--font-sans); color: var(--tc-slate); margin: 14px 0 0;
}
.co-microcopy [data-lucide] { width: 14px; height: 14px; stroke-width: 1.8; }

.co-form { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.co-form .field { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.co-form .field label { font: 500 13px/1 var(--font-sans); color: var(--fg-2); letter-spacing: -0.005em; }
.co-form .field input, .co-form .field select {
  background: #fff; border: 1px solid var(--tc-hairline); border-radius: 12px;
  padding: 14px 16px; font: 400 15px/1.2 var(--font-sans); color: var(--tc-ink);
  outline: none; transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
  font-family: inherit;
}
.co-form .field input::placeholder { color: var(--tc-slate); }
.co-form .field input:focus, .co-form .field select:focus {
  border-color: var(--tc-ink); box-shadow: 0 0 0 4px rgba(17,17,17,0.05);
}
.field-with-icon { position: relative; }
.field-with-icon input { padding-right: 84px; }
.field-icon-right {
  position: absolute; top: 50%; right: 12px; transform: translateY(-50%);
  display: inline-flex; gap: 6px;
}
.card-mini { height: 22px; padding: 0 6px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font: 800 9px/1 var(--font-sans); letter-spacing: 0.04em; }
.card-mini.visa { background: #1A1F71; color: #fff; }
.card-mini.mc { background: #fff; border: 1px solid var(--tc-hairline); position: relative; width: 30px; }
.card-mini.mc span { width: 12px; height: 12px; border-radius: 50%; display: block; }
.card-mini.mc span:nth-child(1) { background: #EB001B; margin-right: -4px; }
.card-mini.mc span:nth-child(2) { background: #F79E1B; opacity: 0.85; mix-blend-mode: multiply; }

.co-delivery-window {
  display: flex; gap: 14px; padding: 16px 18px;
  background: var(--tc-grey-bg); border: 1px solid var(--tc-hairline);
  border-radius: 14px; align-items: flex-start;
}
.co-delivery-window [data-lucide] { width: 20px; height: 20px; stroke-width: 1.6; color: var(--tc-red); margin-top: 2px; flex-shrink: 0; }
.co-delivery-window-title { font: 600 14px/1.2 var(--font-sans); color: var(--tc-ink); }
.co-delivery-window-sub { font: 400 13px/1.5 var(--font-sans); color: var(--fg-2); margin-top: 4px; }

.co-actions { display: flex; gap: 12px; align-items: center; margin-top: 20px; }
.btn-back {
  background: transparent; border: 1px solid var(--tc-hairline);
  color: var(--tc-ink); padding: 14px 22px; border-radius: 12px;
  font: 600 14px/1 var(--font-sans); display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; transition: border-color 180ms var(--ease-out), background 180ms var(--ease-out);
}
.btn-back:hover { border-color: var(--tc-ink); background: var(--tc-grey-bg); }
.btn-back [data-lucide] { width: 14px; height: 14px; stroke-width: 2.2; }
.co-actions .co-continue { flex: 1; }

/* Sold-out / waitlist step (step 4) */
.co-soldout { text-align: center; max-width: 540px; margin: 0 auto; }
.co-soldout-icon {
  width: 72px; height: 72px; border-radius: 999px;
  background: var(--tc-grey-bg); border: 2px solid var(--tc-hairline); color: var(--tc-graphite);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  animation: success-pop 480ms var(--ease-emphasized);
}
@keyframes success-pop { 0% { transform: scale(0.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.co-soldout-icon [data-lucide] { width: 34px; height: 34px; stroke-width: 1.8; }
.co-soldout h2 {
  font: 700 clamp(26px, 3vw, 36px)/1.15 var(--font-sans);
  letter-spacing: -0.02em; margin: 0 0 14px; color: var(--tc-ink);
}
.co-soldout-sub { font: 400 17px/1.55 var(--font-sans); color: var(--fg-2); margin: 0 0 32px; text-wrap: pretty; }
.co-waitlist-form {
  background: var(--tc-grey-bg); border: 1px solid var(--tc-hairline);
  border-radius: 18px; padding: 32px; text-align: left;
}
.co-waitlist-form label {
  display: block; font: 600 13px/1 var(--font-sans);
  color: var(--tc-ink); margin-bottom: 10px;
}
.co-waitlist-input-row { display: flex; gap: 10px; }
.co-waitlist-input-row input {
  flex: 1; background: #fff; border: 1px solid var(--tc-hairline);
  border-radius: 12px; padding: 14px 16px;
  font: 400 15px/1.2 var(--font-sans); color: var(--tc-ink);
  outline: none; transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
  font-family: inherit;
}
.co-waitlist-input-row input::placeholder { color: var(--tc-slate); }
.co-waitlist-input-row input:focus { border-color: var(--tc-ink); box-shadow: 0 0 0 4px rgba(17,17,17,0.05); }
.co-waitlist-btn {
  background: var(--tc-red); color: #fff;
  font: 600 14px/1 var(--font-sans); padding: 14px 20px;
  border-radius: 12px; border: 0; white-space: nowrap;
  transition: background 200ms var(--ease-out);
}
.co-waitlist-btn:hover { background: var(--tc-red-deep); }
.co-waitlist-btn:disabled { background: var(--tc-hairline); color: var(--tc-slate); cursor: not-allowed; }
.co-waitlist-voucher {
  margin-top: 14px;
  background: var(--tc-ink); border-radius: 10px; padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.co-waitlist-voucher-label { font: 400 13px/1.4 var(--font-sans); color: rgba(255,255,255,0.7); }
.co-waitlist-voucher-code { font: 700 18px/1 var(--font-mono); color: #fff; letter-spacing: 0.06em; }
.co-waitlist-note { font: 400 12px/1.5 var(--font-sans); color: var(--tc-slate); margin-top: 14px; }
.co-waitlist-success {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 24px 0 8px; text-align: center;
}
.co-waitlist-success-icon {
  width: 52px; height: 52px; border-radius: 999px; background: #1B7F3A; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.co-waitlist-success-icon [data-lucide] { width: 26px; height: 26px; stroke-width: 2.4; }
.co-waitlist-success-title { font: 700 18px/1.2 var(--font-sans); color: var(--tc-ink); }
.co-waitlist-success-sub { font: 400 14px/1.55 var(--font-sans); color: var(--fg-2); max-width: 36ch; }
.co-junk-hint { font: 400 12px/1.5 var(--font-sans); color: var(--tc-slate); margin-top: 12px; }
.co-junk-hint strong { color: var(--tc-graphite); }
.co-soldout-back {
  margin-top: 20px; background: transparent; border: 1px solid var(--tc-hairline);
  color: var(--tc-graphite); padding: 12px 24px; border-radius: 999px;
  font: 500 14px/1 var(--font-sans); cursor: pointer;
  transition: border-color 180ms, color 180ms;
}
.co-soldout-back:hover { border-color: var(--tc-ink); color: var(--tc-ink); }

/* Right rail summary */
.co-summary {
  position: sticky; top: 100px; align-self: start;
  background: var(--tc-grey-bg); border: 1px solid var(--tc-hairline);
  border-radius: 18px; padding: 24px;
}
.co-summary h4 { font: 700 16px/1 var(--font-sans); letter-spacing: -0.015em; margin: 0 0 18px; color: var(--tc-ink); }
.co-summary-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.co-summary-line { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; font: 400 13px/1.3 var(--font-sans); }
.co-summary-photo { position: relative; width: 48px; height: 48px; border-radius: 8px; overflow: hidden; }
.co-summary-photo img { width: 100%; height: 100%; object-fit: cover; }
.co-summary-qty {
  position: absolute; top: -6px; right: -6px;
  background: var(--tc-ink); color: #fff; min-width: 20px; height: 20px; border-radius: 999px;
  font: 700 11px/1 var(--font-sans); display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--tc-grey-bg); padding: 0 5px;
}
.co-summary-name { color: var(--tc-ink); font-weight: 500; }
.co-summary-price { font-weight: 600; color: var(--tc-ink); }
.co-summary-totals {
  border-top: 1px solid var(--tc-hairline); padding-top: 14px;
  display: flex; flex-direction: column; gap: 8px;
  font: 400 13px/1 var(--font-sans); color: var(--fg-2);
}
.co-summary-totals > div { display: flex; justify-content: space-between; }
.co-summary-grand { font: 700 16px/1 var(--font-sans) !important; color: var(--tc-ink) !important; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--tc-hairline); }

@media (max-width: 960px) {
  .co-body { grid-template-columns: 1fr; gap: 24px; padding: 32px 20px 96px; }
  .co-summary { position: static; }
  .co-bar { padding: 14px 16px; }
  .step-dots .step-dot-label { display: none; }
  .step-dot-line { width: 16px; margin-left: 6px; }
  .step-dot + .step-dot { margin-left: 6px; }
}
