/* ============================================================
   ZELO — DESIGN SYSTEM (v2)
   Editorial, monochrome, high-fashion-resale aesthetic.
   Sharp edges, thin rules, dense grids, uppercase micro-labels,
   black as the primary action color, red reserved for LIVE/sale.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --black: #0A0A0A;
  --ink: #111111;
  --ink-soft: #5C5C5C;
  --ink-faint: #9A9A9A;
  --line: #E3E3E3;
  --line-strong: #C9C9C9;
  --paper: #FFFFFF;
  --stone: #F5F5F4;
  --red: #D2232A;      /* reserved: LIVE indicator + sale price only */
  --success: #1F7A4D;

  --font-display: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --radius: 2px;
  --container: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--black);
}
p { line-height: 1.65; margin: 0 0 1em; color: var(--ink-soft); }
.mono { font-family: var(--font-mono); }

/* --- Layout --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 64px 0; }
.section-tight { padding: 36px 0; }
.grid { display: grid; gap: 1px; background: var(--line); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-nolines { background: transparent; gap: 20px; }
.flex { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-sm { gap: 8px; } .gap-md { gap: 16px; } .gap-lg { gap: 24px; }
.text-center { text-align: center; }
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }

@media (max-width: 900px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 40px 0; }
}

/* --- Eyebrow / micro-label --- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before { content: ''; width: 14px; height: 1px; background: var(--black); }

/* Section rule */
.rule { border: none; border-top: 1px solid var(--line); margin: 0; }
.rule-thick { border: none; border-top: 2px solid var(--black); margin: 0; }

/* ============================================================
   BUTTONS — square-cornered, high contrast, uppercase micro-type
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 15px 24px; border-radius: var(--radius);
  border: 1px solid var(--black); cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color .15s ease;
  white-space: nowrap; background: var(--paper); color: var(--black);
}
.btn-primary { background: var(--black); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: #a91b21; }
.btn-ghost { border-color: transparent; color: var(--ink-soft); }
.btn-ghost:hover { color: var(--black); }
.btn-sm { padding: 10px 16px; font-size: 10.5px; }
.btn-lg { padding: 18px 32px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }

/* ============================================================
   CARDS — flush, thin border, zero shadow
   ============================================================ */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card-tight { padding: 16px; }
.card-flush { padding: 0; overflow: hidden; }
.card-interactive { transition: border-color 0.15s ease; cursor: pointer; }
.card-interactive:hover { border-color: var(--black); }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 1px;
}
.badge-black { background: var(--black); color: #fff; }
.badge-outline { background: transparent; color: var(--black); border: 1px solid var(--black); }
.badge-red { background: var(--red); color: #fff; }
.badge-success { background: #EAF4EE; color: var(--success); }
.badge-stone { background: var(--stone); color: var(--ink-soft); }

/* Price / data — mono */
.price { font-family: var(--font-mono); font-weight: 600; color: var(--black); }
.price-strike { font-family: var(--font-mono); color: var(--ink-faint); text-decoration: line-through; }
.price-sale { color: var(--red); }
.order-ref { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); letter-spacing: 0.02em; }

/* Product grid card (SSENSE-style: image, then tiny caps text block) */
.pcard { background: #fff; cursor: pointer; display: flex; flex-direction: column; height: 100%; }
.pcard .pimg-wrap { position: relative; aspect-ratio: 3/4; background: var(--stone); overflow: hidden; }
.pcard .pimg-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.pcard:hover .pimg-wrap img { transform: scale(1.03); }
.pcard .pinfo { padding: 12px 2px; display: flex; flex-direction: column; flex: 1; }
.pcard .pbrand { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--black); margin-bottom: 2px; }
.pcard .pname {
  font-size: 12.5px; color: var(--ink-soft); margin-bottom: 6px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(1.4em * 2);
}
.pcard .pprice { display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; flex-wrap: wrap; margin-top: auto; }

/* ============================================================
   FORMS
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.input, select.input, textarea.input {
  font-family: var(--font-body); font-size: 14px; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 13px 14px; width: 100%;
  transition: border-color .15s ease;
}
.input:focus { outline: none; border-color: var(--black); }

/* ============================================================
   SITE HEADER / FOOTER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 26px; width: auto; }
.brand-word { font-family: var(--font-display); font-size: 18px; font-weight: 900; letter-spacing: -0.02em; color: var(--black); text-transform: uppercase; }
.brand-word em { font-style: normal; color: var(--black); }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft);
  padding: 9px 14px; transition: color .15s;
}
.main-nav a:hover, .main-nav a.active { color: var(--black); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; width: 38px; height: 38px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid transparent; background: transparent; cursor: pointer; color: var(--black);
}
.icon-btn:hover { border-color: var(--line-strong); }
.cart-count {
  position: absolute; top: 2px; right: 2px; background: var(--black); color: #fff;
  font-family: var(--font-mono); font-size: 9px; font-weight: 600; width: 15px; height: 15px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
}

.site-footer { background: var(--black); color: rgba(255,255,255,0.65); padding: 56px 0 24px; margin-top: 40px; }
.site-footer h2 { color: #fff; }
.site-footer .brand-word { color: #fff; }
.site-footer a { color: rgba(255,255,255,0.6); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-grid h5 { color: #fff; font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 10.5px; color: rgba(255,255,255,0.4); margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* Newsletter (footer) */
.newsletter-row { display: flex; gap: 0; border: 1px solid rgba(255,255,255,0.3); max-width: 340px; }
.newsletter-row input { flex: 1; background: transparent; border: none; padding: 12px 14px; color: #fff; font-size: 13px; }
.newsletter-row input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-row input:focus { outline: none; }
.newsletter-row button { border: none; background: #fff; color: var(--black); font-weight: 700; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 0 18px; cursor: pointer; }

/* --- Mobile nav drawer --- */
.mobile-nav { position: fixed; inset: 0; z-index: 200; display: none; }
.mobile-nav.open { display: block; }
.mobile-nav-scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.mobile-nav-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: 280px; background: #fff;
  padding: 24px; display: flex; flex-direction: column; gap: 2px;
}
.mobile-nav-panel a { padding: 14px 10px; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--line); }

/* --- Cookie consent --- */
.consent-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 300;
  max-width: 640px; margin: 0 auto;
  background: #fff; border: 1px solid var(--black); border-radius: var(--radius);
  padding: 18px 20px; display: none; align-items: center; gap: 16px;
}
.consent-banner.show { display: flex; }
.consent-banner p { margin: 0; font-size: 12.5px; }
@media (max-width: 640px) { .consent-banner { flex-direction: column; align-items: stretch; } }

/* --- Toast --- */
.toast {
  position: fixed; top: 84px; right: 18px; z-index: 250;
  background: var(--black); color: #fff; padding: 14px 18px; border-radius: var(--radius);
  display: flex; align-items: center; gap: 10px; transform: translateX(140%);
  transition: transform .3s ease; max-width: 320px;
}
.toast.show { transform: translateX(0); }
.toast .t-title { font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.toast .t-msg { font-size: 12px; color: rgba(255,255,255,0.7); }

/* --- Page hero --- */
.page-hero { padding: 56px 0 40px; }
.page-hero h1 { font-size: clamp(28px, 4.4vw, 44px); text-transform: uppercase; letter-spacing: -0.01em; }
.page-hero p.lead { max-width: 560px; font-size: 15px; }

.pill-tab { display: inline-flex; gap: 2px; }
.pill-tab button {
  border: 1px solid var(--line-strong); background: transparent; padding: 9px 18px; border-radius: var(--radius);
  font-weight: 700; font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); cursor: pointer;
}
.pill-tab button.active { background: var(--black); color: #fff; border-color: var(--black); }

.stat-block { text-align: center; }
.stat-block .num { font-family: var(--font-mono); font-size: 26px; font-weight: 600; color: var(--black); }
.stat-block .lbl { font-size: 10.5px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }

/* --- Modal --- */
.modal-scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 400; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-scrim.open { display: flex; }
.modal-box { background: #fff; border-radius: var(--radius); padding: 28px; width: 100%; max-width: 420px; }

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

/* ============================================================
   PROMO BAR — site-wide free shipping announcement
   ============================================================ */
.promo-bar { background: var(--black); color: #fff; text-align: center; padding: 9px 0; }
.promo-bar span { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.promo-bar strong { color: #fff; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--red); }

/* ============================================================
   FREE SHIPPING PROGRESS — cart drawer / cart / checkout
   ============================================================ */
.ship-progress { margin-bottom: 16px; }
.ship-progress-msg { font-size: 12px; margin: 0 0 8px; color: var(--ink-soft); }
.ship-progress-msg strong { color: var(--black); font-weight: 700; }
.ship-progress-track { height: 4px; background: var(--stone); overflow: hidden; }
.ship-progress-fill { height: 100%; background: var(--black); transition: width 0.4s ease; }
.ship-progress.met .ship-progress-msg { color: var(--success); font-weight: 600; }
.ship-progress.met .ship-progress-fill { background: var(--success); }

/* ============================================================
   COMPAT ALIASES — older pages referenced the pre-SSENSE tokens
   (seam divider, colored badges/buttons). Mapped onto the new
   monochrome system so nothing on those pages breaks.
   ============================================================ */
.seam, .seam-rule { border: none; border-top: 1px solid var(--line); margin: 32px 0; }
.seam-tight { margin: 18px 0; }
.seam-navy { border-top-color: rgba(255,255,255,0.2); }
.seam::before, .seam::after { display: none; }
.btn-navy { background: var(--black); color: #fff; border-color: var(--black); }
.btn-navy:hover { background: var(--ink); }
.btn-blush { background: var(--stone); color: var(--black); border-color: var(--line-strong); }
.badge-blue { background: var(--stone); color: var(--black); }
.badge-blush { background: var(--red); color: #fff; }
.badge-navy { background: var(--black); color: #fff; }
.badge-danger { background: var(--red); color: #fff; }
.pillar-card .icon { background: var(--stone) !important; color: var(--black) !important; border-radius: var(--radius) !important; }
.live-strip { background: var(--black); border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; color: #fff; }
@media (max-width: 700px) { .live-strip { grid-template-columns: 1fr; text-align: center; } }
