/* ============================================================
   Clarion Peptides — Site styles (marketing catalog)
   Builds on colors_and_type.css tokens.
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg1); }
body { font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ───── Layout ───── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ───── Nav ───── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-left { display: flex; align-items: center; gap: 32px; }
.nav-brand { display: flex; align-items: baseline; gap: 10px; }
.nav-brand .cl { font-weight: 900; font-size: 17px; letter-spacing: .06em; color: var(--fg-brand); }
.nav-brand .pp { font-weight: 300; font-size: 11px; letter-spacing: .24em; color: var(--fg-accent); }
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--fg1);
  padding: 6px 2px; position: relative;
}
.nav-links a.active { color: var(--fg-brand); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -21px;
  height: 2px; background: var(--clarion-teal);
}
.nav-links a:hover { color: var(--fg-brand); }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* ───── Buttons ───── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600;
  letter-spacing: .06em;
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
  font-family: var(--font-mono);
}
.btn-primary { background: var(--clarion-forest); color: #fff; }
.btn-primary:hover { background: #0a6a55; }
.btn-ghost { background: transparent; color: var(--fg-brand); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--clarion-frost); }
.btn-on-forest { background: var(--clarion-mint); color: var(--clarion-forest); }
.btn-on-forest:hover { background: #b6edd9; }
.btn-link {
  background: none; border: 0; padding: 6px 0;
  color: var(--fg-brand);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; font-weight: 600;
  border-bottom: 1px solid var(--fg-brand);
}
.btn-link:hover { color: var(--clarion-teal); border-bottom-color: var(--clarion-teal); }

/* ───── Eyebrow ───── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: .18em;
  color: var(--fg-accent);
  text-transform: uppercase;
}
.eyebrow-mint { color: var(--clarion-mint); }

/* ───── Hero ───── */
.hero-forest {
  background: var(--clarion-forest);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-frost {
  background: linear-gradient(180deg, var(--clarion-frost) 0%, #fff 100%);
  color: var(--fg-brand);
}

/* ───── Section ───── */
section { padding: 80px 0; }
.section-compact { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; gap: 32px; }
.section-title { font-size: 32px; font-weight: 800; color: var(--fg-brand); letter-spacing: -0.01em; line-height: 1.1; max-width: 560px; }

/* ───── Cards (products) ───── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  cursor: pointer;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.product-photo {
  background: linear-gradient(180deg, var(--clarion-frost) 0%, #fff 100%);
  height: 220px; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.product-photo img { height: 180px; width: auto; filter: drop-shadow(0 10px 16px rgba(8,80,65,.18)); }
.product-meta { padding: 18px 20px 20px; border-top: 1px solid var(--border); }
.product-cat {
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  letter-spacing: .14em; color: var(--fg-accent); text-transform: uppercase;
}
.product-name { font-size: 22px; font-weight: 800; color: var(--fg-brand); margin-top: 6px; }
.product-specs {
  display: flex; gap: 8px; margin-top: 12px;
  font-family: var(--font-mono); font-size: 10px;
}
.product-spec {
  background: var(--clarion-frost); color: var(--clarion-forest);
  padding: 3px 8px; border-radius: 3px; border: 1px solid var(--border-strong);
  letter-spacing: .06em;
}

/* ───── Data callout rows ───── */
.data-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.data-cell .k {
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  letter-spacing: .14em; color: var(--fg-accent);
}
.data-cell .v {
  font-family: var(--font-mono); font-size: 26px; font-weight: 600;
  color: var(--fg-brand); margin-top: 6px; letter-spacing: -0.01em;
}
.data-cell .n { font-size: 11px; color: var(--fg2); margin-top: 6px; line-height: 1.5; }

/* ───── Forest panel (inverted) ───── */
.on-forest {
  background: var(--clarion-forest); color: #fff;
  border-radius: var(--radius-xl);
  padding: 56px;
}
.on-forest .eyebrow { color: var(--clarion-mint); }
.on-forest .section-title { color: #fff; }

/* ───── Editorial long-form ───── */
.editorial-block {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.7;
  color: var(--fg1);
}
.editorial-block p { margin: 0 0 1em; }
.pull-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 30px;
  line-height: 1.35;
  color: var(--fg-brand);
  border-left: 2px solid var(--clarion-teal);
  padding-left: 24px;
  margin: 32px 0;
}

/* ───── Footer ───── */
.footer {
  background: var(--clarion-forest);
  color: rgba(255,255,255,.8);
  padding: 56px 0 32px;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(157,225,203,.18); }
.footer h4 { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .16em; color: var(--clarion-mint); margin: 0 0 16px; text-transform: uppercase; }
.footer a { display: block; font-size: 13px; line-height: 2; color: rgba(255,255,255,.75); }
.footer a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: rgba(157,225,203,.4);
}

/* ───── Research gate modal ───── */
.gate-overlay {
  position: fixed; inset: 0; background: rgba(8,80,65,.94);
  z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 40px;
}
.gate-modal {
  max-width: 540px; width: 100%;
  background: #fff; border-radius: var(--radius-2xl);
  padding: 40px 44px;
}
.gate-modal h2 { font-size: 24px; font-weight: 800; color: var(--fg-brand); margin: 16px 0 8px; letter-spacing: -.01em; }
.gate-modal p { font-size: 13px; line-height: 1.6; color: var(--fg1); margin: 0 0 20px; }
.gate-check { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: var(--clarion-frost); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); margin-bottom: 20px; }
.gate-check input { margin-top: 3px; }
.gate-check label { font-size: 12px; line-height: 1.6; color: var(--fg1); }

/* ============================================================
   RETAIL — product card buy, PDP buy panel, cart, checkout, account
   ============================================================ */

/* ----- Product card retail additions ----- */
.product-photo { position: relative; }
.product-stock-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--clarion-forest); color: #fff;
  font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: .1em;
  padding: 4px 8px; border-radius: 3px; text-transform: uppercase;
}
.product-card-buy {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
}
.product-card-price {
  font-family: var(--font-mono); font-size: 22px; font-weight: 600;
  color: var(--fg-brand); letter-spacing: -0.01em;
}
.product-card-add { padding: 8px 14px; font-size: 11px; }
.product-card-add.is-added { background: var(--clarion-teal); }

/* ----- Catalog toolbar ----- */
.catalog-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px; gap: 16px; flex-wrap: wrap;
}

/* ----- Nav cart + account ----- */
.nav-cart-btn { position: relative; padding: 9px 16px; }
.nav-cart-badge {
  background: var(--clarion-mint); color: var(--clarion-forest);
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  padding: 1px 6px; border-radius: 10px; margin-left: 4px; min-width: 18px; text-align: center;
}
.nav-account-btn { padding: 7px 14px; }
.nav-account-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--clarion-mint); color: var(--clarion-forest);
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
}

/* ----- Quantity stepper ----- */
.qty-stepper {
  display: inline-flex; align-items: stretch;
  border: 1px solid var(--border-strong); border-radius: 6px; overflow: hidden;
}
.qty-stepper button {
  background: #fff; border: 0; width: 30px; height: 30px;
  color: var(--fg-brand); font-size: 16px; line-height: 1; cursor: pointer;
}
.qty-stepper button:hover { background: var(--clarion-frost); }
.qty-stepper span {
  min-width: 36px; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--fg-brand);
  border-left: 1px solid var(--border); border-right: 1px solid var(--border); background: #fff;
}
.qty-stepper-lg button { width: 44px; height: 44px; font-size: 20px; }
.qty-stepper-lg span { min-width: 56px; font-size: 16px; }

/* ----- PDP buy panel ----- */
.pdp-price-row {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 8px;
}
.pdp-price { font-family: var(--font-mono); font-size: 36px; font-weight: 600; color: var(--fg-brand); letter-spacing: -0.02em; }
.pdp-price-meta { font-size: 12px; color: var(--fg2); }
.pdp-urgency {
  display: flex; align-items: center; gap: 8px;
  background: #FEF4E8; border: 1px solid #F5D9B3; color: #8B4F0E;
  padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 20px;
}
.pdp-urgency-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #D98C2D;
  animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.pdp-buy {
  display: flex; gap: 16px; align-items: flex-end;
  padding: 20px; background: var(--clarion-frost); border: 1px solid var(--border-strong); border-radius: 12px;
  margin-bottom: 16px;
}
.pdp-add { flex: 1; padding: 14px 20px; font-size: 13px; }
.pdp-add.is-added { background: var(--clarion-teal); }
.pdp-reassurance {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  font-size: 12px; color: var(--fg1);
}
.pdp-reassurance > div { display: flex; align-items: center; gap: 8px; }
.pdp-reassurance span { color: var(--clarion-teal); font-size: 14px; }

/* ============================================================
   CART — drawer / overlay / page
   ============================================================ */
.cart-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(8,80,65,.35);
  display: flex; justify-content: flex-end;
  animation: cart-fade .2s ease;
}
@keyframes cart-fade { from { opacity: 0; } to { opacity: 1; } }
.cart-drawer {
  width: 440px; max-width: 100vw;
  background: #fff; height: 100vh;
  display: flex; flex-direction: column;
  animation: cart-slide .28s cubic-bezier(.2,.8,.2,1);
  box-shadow: -20px 0 50px rgba(0,0,0,.18);
}
@keyframes cart-slide { from { transform: translateX(40px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.cart-drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.cart-drawer-title { font-size: 22px; font-weight: 800; color: var(--fg-brand); margin: 0; letter-spacing: -0.01em; }
.cart-drawer-close {
  background: none; border: 0; font-size: 24px; color: var(--fg2);
  width: 32px; height: 32px; border-radius: 50%;
}
.cart-drawer-close:hover { background: var(--clarion-frost); color: var(--fg-brand); }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 0 24px; }
.cart-drawer-ship-bar { padding: 14px 24px; background: var(--clarion-frost); border-bottom: 1px solid var(--border); }
.cart-ship-msg { font-size: 12px; color: var(--fg1); margin-bottom: 8px; }
.cart-ship-msg-won { color: var(--clarion-teal); font-weight: 600; }
.cart-ship-progress { height: 4px; background: rgba(8,80,65,.1); border-radius: 2px; overflow: hidden; }
.cart-ship-progress-bar { height: 100%; background: var(--clarion-teal); transition: width .4s ease; }
.cart-drawer-foot {
  padding: 20px 24px; border-top: 1px solid var(--border); background: var(--clarion-frost);
}
.cart-checkout-btn { width: 100%; justify-content: center; padding: 14px; font-size: 13px; margin-top: 12px; }
.cart-view-cart { display: block; text-align: center; margin: 12px auto 0; border-bottom: 0; }
.cart-totals-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--fg1); padding: 6px 0;
}
.cart-totals-v { font-family: var(--font-mono); font-weight: 600; color: var(--fg-brand); }
.cart-totals-row-muted { color: var(--fg2); font-size: 12px; }
.cart-totals-row-muted span:last-child { color: var(--fg2); font-family: var(--font-sans); }
.cart-totals-note { font-size: 11px; color: var(--fg2); margin-top: 6px; }
.cart-totals-grand {
  font-size: 18px; font-weight: 700; color: var(--fg-brand);
  border-top: 1px solid var(--border); padding-top: 14px; margin-top: 8px;
}
.cart-totals-grand span:last-child { font-family: var(--font-mono); font-size: 22px; }
.cart-ship-badge {
  background: var(--clarion-frost); border: 1px dashed var(--clarion-teal);
  padding: 10px 12px; border-radius: 8px; font-size: 12px; color: var(--fg1);
  margin: 12px 0;
}
.cart-ship-badge-won { border-style: solid; color: var(--clarion-teal); }

/* ----- Cart line (shared by drawer / page / overlay) ----- */
.cart-line {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--border); align-items: flex-start;
}
.cart-line-compact { padding: 14px 0; }
.cart-line:last-child { border-bottom: 0; }
.cart-line-photo {
  width: 80px; height: 80px; background: var(--clarion-frost);
  border: 1px solid var(--border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.cart-line-photo img { height: 60px; width: auto; }
.cart-line-cat { font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: .14em; color: var(--fg-accent); text-transform: uppercase; }
.cart-line-name { font-size: 15px; font-weight: 800; color: var(--fg-brand); margin-top: 2px; }
.cart-line-specs { font-family: var(--font-mono); font-size: 11px; color: var(--fg2); margin-top: 2px; }
.cart-line-bottom { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.cart-line-remove { background: none; border: 0; font-size: 11px; color: var(--fg2); text-decoration: underline; padding: 0; }
.cart-line-remove:hover { color: var(--danger, #B04A2E); }
.cart-line-price { text-align: right; }
.cart-line-linetotal { font-family: var(--font-mono); font-size: 16px; font-weight: 600; color: var(--fg-brand); }
.cart-line-each { font-family: var(--font-mono); font-size: 10px; color: var(--fg2); margin-top: 2px; }

.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty-icon { color: var(--fg2); margin-bottom: 16px; display: flex; justify-content: center; }
.cart-empty-title { font-size: 18px; font-weight: 800; color: var(--fg-brand); margin-bottom: 8px; }
.cart-empty-body { font-size: 13px; color: var(--fg2); margin-bottom: 20px; }

/* ----- Cart overlay popover ----- */
.cart-pop-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.15); }
.cart-pop {
  position: absolute; top: 72px; right: 40px;
  width: 380px; max-width: calc(100vw - 40px);
  background: #fff; border: 1px solid var(--border-strong); border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.2); overflow: hidden;
  animation: cart-pop-in .2s ease;
}
@keyframes cart-pop-in { from { transform: translateY(-8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cart-pop-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.cart-pop-title { font-size: 14px; font-weight: 800; color: var(--fg-brand); }
.cart-pop-body { max-height: 380px; overflow-y: auto; padding: 0 20px; }
.cart-pop-foot { padding: 14px 20px; border-top: 1px solid var(--border); background: var(--clarion-frost); }

/* ----- Cart page ----- */
.cart-page-list {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 0 24px;
}
.cart-summary {
  background: #fff; border: 1px solid var(--border-strong); border-radius: 12px;
  padding: 24px;
}
.cart-summary-sticky { position: sticky; top: 100px; }
.cart-summary-title { font-size: 18px; font-weight: 800; color: var(--fg-brand); margin-bottom: 16px; }
.cart-summary-reassurance { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.cart-rea-item { display: flex; gap: 12px; font-size: 12px; color: var(--fg1); line-height: 1.5; }
.cart-rea-item span { color: var(--clarion-teal); font-size: 16px; flex-shrink: 0; }

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-steps {
  display: flex; gap: 16px; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.checkout-step { display: flex; align-items: center; gap: 10px; }
.checkout-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  background: var(--clarion-frost); color: var(--fg2);
  border: 1px solid var(--border-strong);
}
.checkout-step-label { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--fg2); }
.checkout-step-active .checkout-step-num { background: var(--clarion-forest); color: #fff; border-color: var(--clarion-forest); }
.checkout-step-active .checkout-step-label { color: var(--fg-brand); }
.checkout-step-done .checkout-step-num { background: var(--clarion-teal); color: #fff; border-color: var(--clarion-teal); }
.checkout-step-done .checkout-step-label { color: var(--fg-brand); }
.checkout-step + .checkout-step::before { content: ''; display: block; width: 24px; height: 1px; background: var(--border-strong); margin-right: 4px; }

.checkout-section-title {
  font-size: 18px; font-weight: 800; color: var(--fg-brand);
  margin: 24px 0 16px; padding-top: 24px; border-top: 1px solid var(--border);
  letter-spacing: -0.01em;
}
.checkout-section-title:first-child, .checkout-steps + .checkout-section-title { border-top: 0; padding-top: 0; margin-top: 0; }
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-field-label {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: .14em; color: var(--fg-accent); margin-bottom: 6px;
}

.checkout-ship-options { display: flex; flex-direction: column; gap: 10px; }
.checkout-ship-opt {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; background: #fff; border: 1px solid var(--border-strong); border-radius: 10px; cursor: pointer;
}
.checkout-ship-opt.is-selected { border-color: var(--clarion-forest); background: var(--clarion-frost); box-shadow: 0 0 0 2px rgba(8,80,65,.08); }
.checkout-ship-opt input { margin-top: 3px; }
.checkout-ship-opt-body { flex: 1; }
.checkout-ship-opt-top { display: flex; justify-content: space-between; align-items: baseline; }
.checkout-ship-opt-label { font-size: 15px; font-weight: 700; color: var(--fg-brand); }
.checkout-ship-opt-eta { font-family: var(--font-mono); font-size: 11px; color: var(--fg2); margin-top: 2px; }
.checkout-ship-opt-price { font-family: var(--font-mono); font-size: 15px; font-weight: 600; color: var(--fg-brand); }
.checkout-ship-opt-note { font-size: 12px; color: var(--fg2); margin-top: 6px; line-height: 1.5; }

.checkout-mini-lines { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.checkout-mini-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.checkout-mini-photo { position: relative; width: 56px; height: 56px; background: var(--clarion-frost); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.checkout-mini-photo img { height: 40px; }
.checkout-mini-qty { position: absolute; top: -6px; right: -6px; background: var(--clarion-forest); color: #fff; font-family: var(--font-mono); font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 10px; min-width: 20px; text-align: center; }
.checkout-mini-name { font-size: 13px; font-weight: 700; color: var(--fg-brand); }
.checkout-mini-specs { font-family: var(--font-mono); font-size: 10px; color: var(--fg2); margin-top: 2px; }
.checkout-mini-price { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--fg-brand); }

.checkout-review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 24px; }
.checkout-review-card { background: #fff; border: 1px solid var(--border-strong); border-radius: 10px; padding: 16px 18px; }
.checkout-review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.checkout-review-body { font-size: 13px; color: var(--fg1); line-height: 1.6; }

.checkout-attest {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px; background: var(--clarion-frost); border: 1px solid var(--border-strong); border-radius: 8px;
  margin-top: 24px; cursor: pointer;
}
.checkout-attest input { margin-top: 3px; }
.checkout-attest span { font-size: 12px; line-height: 1.6; color: var(--fg1); }

/* ============================================================
   CONFIRMATION
   ============================================================ */
.confirm-check {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--clarion-teal); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.eyebrow-teal { color: var(--clarion-teal); }
.confirm-track {
  background: #fff; border: 1px solid var(--border-strong); border-radius: 12px;
  padding: 24px 28px; margin: -12px 0 40px;
}
.confirm-track-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }
.confirm-track-label { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--fg-accent); margin-bottom: 4px; }
.confirm-track-value { font-family: var(--font-mono); font-size: 16px; font-weight: 600; color: var(--fg-brand); }
.confirm-track-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; position: relative; }
.confirm-track-bar::before {
  content: ''; position: absolute; top: 6px; left: 10%; right: 10%; height: 2px;
  background: var(--border-strong); z-index: 0;
}
.confirm-track-step { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.confirm-track-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--border-strong); border: 2px solid #fff; margin-bottom: 8px; }
.confirm-track-step.is-active .confirm-track-dot { background: var(--clarion-teal); box-shadow: 0 0 0 4px rgba(30,125,105,.18); }
.confirm-track-step.is-done .confirm-track-dot { background: var(--clarion-teal); }
.confirm-track-step-label { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .06em; color: var(--fg2); text-align: center; }
.confirm-track-step.is-active .confirm-track-step-label { color: var(--fg-brand); }

.confirm-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: flex-start; }
.confirm-lines { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 0 20px; }
.confirm-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: center; }
.confirm-line:last-child { border-bottom: 0; }
.confirm-line-photo { width: 64px; height: 64px; background: var(--clarion-frost); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.confirm-line-photo img { height: 48px; }
.confirm-line-name { font-size: 15px; font-weight: 800; color: var(--fg-brand); margin-top: 2px; }

.confirm-summary { background: #fff; border: 1px solid var(--border-strong); border-radius: 12px; padding: 24px; position: sticky; top: 100px; }
.confirm-next {
  margin-top: 48px; padding: 28px; background: var(--clarion-frost);
  border: 1px solid var(--border-strong); border-radius: 12px;
}
.confirm-next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 12px; }
.confirm-next-steps > div { }
.confirm-next-steps strong { display: block; font-size: 14px; color: var(--fg-brand); margin-bottom: 6px; }
.confirm-next-steps p { font-size: 13px; color: var(--fg1); line-height: 1.55; margin: 0; }
.confirm-next-num { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--clarion-teal); margin-bottom: 8px; }

/* ============================================================
   AUTH + ACCOUNT
   ============================================================ */
.auth-side { display: flex; justify-content: center; }
.auth-side-card {
  background: var(--clarion-forest); color: #fff;
  padding: 40px; border-radius: 16px;
  max-width: 440px;
}
.auth-side-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.auth-side-list li { display: flex; gap: 16px; }
.auth-side-list li > span { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--clarion-mint); padding-top: 2px; }
.auth-side-list li > div { font-size: 13px; color: rgba(255,255,255,.85); line-height: 1.55; }
.auth-side-list li strong { color: #fff; }
.auth-err {
  padding: 10px 14px; background: #FEEBE5; border: 1px solid #F4B9A5; color: #8B2E10;
  border-radius: 8px; font-size: 13px; margin-bottom: 16px;
}

.account-grid { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: flex-start; }
.account-side { background: #fff; border: 1px solid var(--border-strong); border-radius: 12px; padding: 24px; position: sticky; top: 100px; }
.account-profile { display: flex; gap: 14px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.account-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--clarion-forest); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 16px; font-weight: 700;
}
.account-nav { display: flex; flex-direction: column; gap: 2px; }
.account-nav a {
  font-size: 13px; font-weight: 500; color: var(--fg1);
  padding: 8px 10px; border-radius: 6px; cursor: pointer;
}
.account-nav a:hover { background: var(--clarion-frost); color: var(--fg-brand); }
.account-nav a.is-active { background: var(--clarion-frost); color: var(--fg-brand); font-weight: 600; }

.account-section-title { font-size: 22px; font-weight: 800; color: var(--fg-brand); margin: 0 0 20px; letter-spacing: -0.01em; }
.account-empty { background: var(--clarion-frost); border: 1px dashed var(--border-strong); border-radius: 12px; padding: 40px; text-align: center; }

.account-orders { display: flex; flex-direction: column; gap: 16px; }
.account-order { background: #fff; border: 1px solid var(--border-strong); border-radius: 12px; overflow: hidden; }
.account-order-head {
  display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center;
  padding: 16px 20px; background: var(--clarion-frost); border-bottom: 1px solid var(--border);
}
.account-order-num { font-family: var(--font-mono); font-size: 16px; font-weight: 600; color: var(--fg-brand); margin-top: 2px; }
.account-order-status {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .12em;
  background: var(--clarion-mint); color: var(--clarion-forest);
  padding: 4px 10px; border-radius: 10px;
}
.account-order-total { font-family: var(--font-mono); font-size: 20px; font-weight: 600; color: var(--fg-brand); }
.account-order-items { display: flex; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.account-order-item { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.account-order-item img { width: 40px; height: 40px; background: var(--clarion-frost); border: 1px solid var(--border); border-radius: 6px; padding: 4px; }
.account-order-actions { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; }

/* Responsive tweaks */
@media (max-width: 900px) {
  .container, .container-narrow { padding: 0 24px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .data-row { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

