/* ============================================================
   MESHUGA HEALTHCARE APPAREL — SHARED STYLESHEET
   meshuga.com · Pre-Order Launch Oct 1, 2026
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --bone:        #E4D9C8;
  --bone-deep:   #D8CEB8;
  --bone-light:  #EEE7DA;
  --ink:         #14181A;
  --ink-soft:    #1E2428;
  --copper:      #AD753D;
  --copper-lt:   #D9A874;
  --copper-deep: #8A5B2E;
  --slate:       #69747A;
  --fog:         #A9B0B4;
  --white:       #FAFAF8;
  --success:     #2D7A4A;
  --error:       #B03030;

  --font-head:   'Inter Tight', sans-serif;
  --font-body:   'Inter', sans-serif;
  --font-mono:   'JetBrains Mono', monospace;

  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --shadow-sm:   0 1px 3px rgba(20,24,26,0.10);
  --shadow-md:   0 4px 16px rgba(20,24,26,0.12);
  --shadow-lg:   0 8px 32px rgba(20,24,26,0.16);

  --transition:  0.2s ease;
  --nav-h:       64px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bone);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }
p { color: var(--slate); }
.mono { font-family: var(--font-mono); }
.label-sm {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.text-center { text-align: center; }

/* ── Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--bone);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fog);
  transition: color var(--transition);
  letter-spacing: 0.03em;
}
.nav-links a:hover { color: var(--bone); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--fog);
  transition: color var(--transition);
  padding: 4px;
}
.nav-cart:hover { color: var(--bone); }
.nav-cart svg { width: 22px; height: 22px; }
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--copper);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  font-family: var(--font-mono);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.nav-mobile-toggle {
  display: none;
  color: var(--fog);
  padding: 4px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--copper);
  color: var(--white);
  border-color: var(--copper);
}
.btn-primary:hover {
  background: var(--copper-deep);
  border-color: var(--copper-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(173,117,61,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--bone);
  border-color: rgba(228,217,200,0.4);
}
.btn-secondary:hover {
  background: rgba(228,217,200,0.1);
  border-color: var(--bone);
}
.btn-outline {
  background: transparent;
  color: var(--copper);
  border-color: var(--copper);
}
.btn-outline:hover {
  background: var(--copper);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline-bone {
  background: transparent;
  color: var(--bone);
  border-color: rgba(228,217,200,0.5);
}
.btn-outline-bone:hover {
  background: rgba(228,217,200,0.12);
  border-color: var(--bone);
}
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; }
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

/* ── Hero ── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  background: var(--bone);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  overflow: hidden;
}
.hero-content {
  padding: 80px 64px 80px 48px;
  max-width: 600px;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--copper);
  flex-shrink: 0;
}
.hero h1 {
  margin-bottom: 20px;
  color: var(--ink);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate);
  letter-spacing: 0.05em;
}
.hero-image {
  height: calc(100vh - var(--nav-h));
  overflow: hidden;
  position: relative;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% top;
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(228,217,200,0.75) 0%, rgba(228,217,200,0.2) 6%, transparent 14%);
  pointer-events: none;
}
@media (max-width: 768px) {
  .hero-image-overlay { background: none; }
}

/* ── Countdown ── */
.countdown-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 28px;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
}
.countdown-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 500;
  color: var(--copper);
  line-height: 1;
  letter-spacing: -0.02em;
}
.countdown-lbl {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fog);
  margin-top: 4px;
}
.countdown-sep {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  color: var(--copper);
  opacity: 0.5;
  line-height: 1;
  padding-bottom: 12px;
  align-self: flex-start;
  margin-top: 6px;
}

/* ── Stats / Trust Bar ── */
.trust-bar {
  background: var(--ink);
  padding: 32px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.trust-item:last-child { border-right: none; }
.trust-value {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--copper-lt);
  display: block;
  margin-bottom: 4px;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fog);
}

/* ── Product Cards ── */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bone-deep);
  position: relative;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-image img {
  transform: scale(1.04);
}
.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--copper);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.product-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-card-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.product-card-desc {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.6;
}
.product-card-price {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}
.product-card-price .price-main {
  font-size: 1.2rem;
  color: var(--copper);
}
.product-card-footer {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Color Swatches ── */
.swatch-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.swatch-group-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 6px;
}
.swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, outline-color 0.15s ease;
  flex-shrink: 0;
}
.swatch:hover { transform: scale(1.12); outline-color: var(--copper); }
.swatch.active {
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 3px var(--bone), 0 0 0 5px var(--ink);
  transform: scale(1.1);
}
.swatch-sm {
  width: 18px;
  height: 18px;
}
.prod-img {
  transition: filter 0.25s ease;
}
.selected-color {
  min-height: 16px;
}

/* ── Size Selector ── */
.size-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 6px;
}
.size-select {
  width: 100%;
  padding: 10px 16px;
  background: var(--bone);
  border: 1.5px solid var(--bone-deep);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2369747A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
  transition: border-color var(--transition);
}
.size-select:focus {
  outline: none;
  border-color: var(--copper);
}
.qty-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--bone-deep);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bone);
  color: var(--ink);
  font-size: 1.1rem;
  transition: background var(--transition);
  border: none;
  cursor: pointer;
}
.qty-btn:hover { background: var(--bone-deep); }
.qty-input {
  width: 48px;
  height: 36px;
  text-align: center;
  border: none;
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--ink);
  border-left: 1px solid var(--bone-deep);
  border-right: 1px solid var(--bone-deep);
}
.qty-input:focus { outline: none; }

/* ── Section Headers ── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .label-sm {
  display: block;
  margin-bottom: 12px;
}
.section-header h2 {
  margin-bottom: 16px;
}
.section-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ── Story Section ── */
.story-section {
  background: var(--ink);
  color: var(--bone);
}
.story-section h2 { color: var(--bone); }
.story-section h3 { color: var(--copper-lt); }
.story-section p { color: rgba(228,217,200,0.75); }
.story-section .label-sm { color: var(--copper); }
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(173,117,61,0.2);
  border: 1px solid rgba(173,117,61,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--copper-lt);
  font-size: 1rem;
}
.feature-text strong {
  display: block;
  font-weight: 600;
  color: var(--bone);
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.feature-text span {
  font-size: 0.8rem;
  color: rgba(228,217,200,0.6);
}

/* ── Member Section ── */
.member-section {
  background: var(--bone-deep);
}
.token-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.token-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  border: 1.5px solid var(--bone-deep);
}
.token-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.token-card h4 {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
}
.token-card p {
  font-size: 0.85rem;
}

/* ── Price Table ── */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 32px;
}
.price-table th {
  background: var(--ink);
  color: var(--copper-lt);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 20px;
  text-align: left;
}
.price-table th:first-child { border-radius: 8px 0 0 0; }
.price-table th:last-child { border-radius: 0 8px 0 0; text-align: right; }
.price-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--bone-deep);
}
.price-table td:last-child { text-align: right; font-family: var(--font-mono); font-weight: 500; color: var(--copper); }
.price-table tr:hover td { background: var(--bone-deep); }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:last-child td:first-child { border-radius: 0 0 0 8px; }
.price-table tr:last-child td:last-child { border-radius: 0 0 8px 0; }

/* ── Forms ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}
.form-input {
  padding: 12px 16px;
  background: var(--white);
  border: 1.5px solid var(--bone-deep);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-input:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(173,117,61,0.12);
}
.form-input::placeholder { color: var(--fog); }
.form-input.error { border-color: var(--error); }
.form-error {
  font-size: 0.75rem;
  color: var(--error);
  font-family: var(--font-mono);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-section-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bone-deep);
  margin-bottom: 20px;
  margin-top: 8px;
}
textarea.form-input {
  resize: vertical;
  min-height: 80px;
}

/* ── Cart ── */
.cart-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.cart-table th {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fog);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--bone-deep);
}
.cart-table td {
  padding: 16px;
  border-bottom: 1px solid var(--bone-deep);
  vertical-align: middle;
}
.cart-item-image {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bone-deep);
}
.cart-item-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.cart-item-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--fog);
}
.cart-remove {
  color: var(--fog);
  font-size: 1.2rem;
  line-height: 1;
  transition: color var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
}
.cart-remove:hover { color: var(--error); }
.cart-summary {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1.5px solid var(--bone-deep);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--bone-deep);
  font-size: 0.9rem;
}
.cart-summary-row:last-child { border-bottom: none; }
.cart-total {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--copper);
}
.cart-note {
  font-size: 0.8rem;
  color: var(--fog);
  font-family: var(--font-mono);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* ── Toast Notifications ── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  max-width: 320px;
  transform: translateY(16px);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-success { background: var(--ink); color: var(--bone); border-left: 4px solid var(--copper); }
.toast-error { background: #2A1010; color: #FFB3B3; border-left: 4px solid var(--error); }
.toast-info { background: var(--ink); color: var(--bone); border-left: 4px solid var(--fog); }

/* ── Spinner / Loading ── */
.spinner {
  width: 20px; height: 20px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
.spinner-copper {
  border-color: rgba(173,117,61,0.25);
  border-top-color: var(--copper);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Admin ── */
.admin-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
}
.admin-gate-card {
  background: var(--ink-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}
.admin-gate-card h2 { color: var(--bone); margin-bottom: 8px; }
.admin-gate-card p { color: var(--fog); font-size: 0.875rem; margin-bottom: 28px; }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--ink);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.admin-sidebar-logo {
  padding: 16px 24px 32px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--bone);
}
.admin-sidebar-logo span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--copper);
  text-transform: uppercase;
  margin-top: 2px;
}
.admin-nav { flex: 1; }
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  font-size: 0.875rem;
  color: var(--fog);
  cursor: pointer;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav-item:hover { color: var(--bone); background: rgba(255,255,255,0.04); }
.admin-nav-item.active { color: var(--copper-lt); border-left-color: var(--copper); background: rgba(173,117,61,0.08); }
.admin-nav-item .nav-icon { font-size: 1rem; width: 20px; text-align: center; }
.admin-main {
  flex: 1;
  background: var(--bone);
  overflow: auto;
}
.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--bone-deep);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}
.admin-topbar h1 {
  font-size: 1.1rem;
  font-weight: 700;
}
.admin-content { padding: 32px; }
.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--bone-deep);
}
.stat-card-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 8px;
}
.stat-card-value {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--copper);
  line-height: 1;
}
.admin-table-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--bone-deep);
  overflow: hidden;
}
.admin-table-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bone-deep);
}
.admin-table-header h3 { font-size: 1rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  background: var(--bone);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 10px 16px;
  text-align: left;
  white-space: nowrap;
}
.admin-table td {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--ink);
  border-bottom: 1px solid var(--bone-deep);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bone-light); }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-pending { background: rgba(169,176,180,0.2); color: var(--slate); }
.status-confirmed { background: rgba(45,122,74,0.15); color: #1A6B3A; }
.status-fulfilled { background: rgba(173,117,61,0.15); color: var(--copper-deep); }
.status-cancelled { background: rgba(176,48,48,0.12); color: var(--error); }
.status-active { background: rgba(45,122,74,0.15); color: #1A6B3A; }
.status-select {
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border: 1px solid var(--bone-deep);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
}

/* ── Confirm Page ── */
.confirm-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(173,117,61,0.12);
  border: 2px solid var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  color: var(--copper);
}
.confirm-icon svg { width: 40px; height: 40px; }
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  max-width: 420px;
  margin: 0 auto;
}
.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--copper);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-text strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.step-text span { font-size: 0.825rem; color: var(--slate); }

/* ── Member Portal ── */
.member-gate {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bone);
}
.member-gate-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  width: 100%;
  max-width: 440px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--bone-deep);
}
.member-gate-card h2 { margin-bottom: 8px; }
.member-gate-card .subtitle { color: var(--slate); font-size: 0.95rem; margin-bottom: 36px; }
.token-input {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}
.member-dashboard { padding: 32px 0; }
.member-header {
  background: var(--ink);
  color: var(--bone);
  padding: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.member-header h3 { color: var(--bone); font-size: 1.1rem; }
.member-header .token-display {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--copper-lt);
  letter-spacing: 0.08em;
}
.member-section-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.member-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--bone-deep);
}
.order-card {
  background: var(--white);
  border: 1.5px solid var(--bone-deep);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.order-card-info { flex: 1; }
.order-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--copper);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.order-details { font-size: 0.85rem; color: var(--slate); }
.token-wallet-card {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--bone);
  border: 1px solid rgba(173,117,61,0.2);
  position: relative;
  overflow: hidden;
}
.token-wallet-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(173,117,61,0.06);
}
.token-code-display {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  color: var(--copper-lt);
  margin: 12px 0;
}
.token-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(173,117,61,0.2);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper-lt);
  border: 1px solid rgba(173,117,61,0.3);
}

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  color: var(--fog);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--bone);
  margin-bottom: 12px;
}
.footer-tagline {
  font-style: italic;
  color: var(--fog);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer-charity {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--copper);
  letter-spacing: 0.05em;
  padding: 10px 14px;
  background: rgba(173,117,61,0.12);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(173,117,61,0.2);
  display: inline-block;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--fog);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--bone); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copyright {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: rgba(169,176,180,0.5);
}
.footer-launch {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--copper);
  letter-spacing: 0.06em;
}

/* ── Checkout Layout ── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}
.checkout-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1.5px solid var(--bone-deep);
}
.order-summary-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--bone-deep);
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.order-summary-header {
  background: var(--ink);
  padding: 20px 24px;
}
.order-summary-header h3 { color: var(--bone); font-size: 0.95rem; }
.order-summary-header p {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--copper-lt);
  text-transform: uppercase;
  margin-top: 2px;
}
.order-summary-items {
  padding: 20px 24px;
  border-bottom: 1px solid var(--bone-deep);
  max-height: 340px;
  overflow-y: auto;
}
.order-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--bone-deep);
}
.order-item:last-child { border-bottom: none; }
.order-item-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bone-deep);
  flex-shrink: 0;
}
.order-item-info { flex: 1; }
.order-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.order-item-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--fog);
  margin-top: 2px;
}
.order-item-price {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--copper);
  white-space: nowrap;
}
.order-totals {
  padding: 20px 24px;
}
.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.875rem;
}
.order-total-row.final {
  border-top: 2px solid var(--bone-deep);
  margin-top: 8px;
  padding-top: 14px;
  font-weight: 700;
  font-size: 1rem;
}
.order-total-row.final .amount { color: var(--copper); font-family: var(--font-mono); font-size: 1.1rem; }
.founding-badge {
  margin-top: 16px;
  background: rgba(173,117,61,0.1);
  border: 1px dashed var(--copper);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
}

/* ── Page Header ── */
.page-header {
  background: var(--bone-deep);
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--bone-deep);
}
.page-header h1 { margin-bottom: 8px; }
.page-header p { font-size: 1rem; color: var(--slate); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--copper); }
.breadcrumb-sep { color: var(--fog); }

/* ── Bundle Cards ── */
.bundle-card {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(173,117,61,0.15);
}
.bundle-name {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--bone);
  margin-bottom: 4px;
}
.bundle-desc {
  font-size: 0.8rem;
  color: var(--fog);
}
.bundle-price {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--copper-lt);
  white-space: nowrap;
}
.bundle-save {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--copper);
  background: rgba(173,117,61,0.15);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ── Animations ── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInScale { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
.fade-in { animation: fadeIn 0.5s ease forwards; }
.slide-up { animation: slideUp 0.5s ease forwards; }
.fade-in-scale { animation: fadeInScale 0.4s ease forwards; }

/* ── Utilities ── */
.text-copper { color: var(--copper); }
.text-fog { color: var(--fog); }
.text-bone { color: var(--bone); }
.bg-ink { background: var(--ink); }
.bg-bone { background: var(--bone); }
.hidden { display: none !important; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 60px 32px 40px; max-width: none; }
  .hero-image { height: 400px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .trust-item:nth-child(2), .trust-item:nth-child(4) { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .token-types { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary-widget { position: static; }
}

@media (max-width: 768px) {
  :root { --nav-h: 56px; }
  .container, .container-wide { padding: 0 16px; }
  .section { padding: 56px 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; }
  .checkout-form-wrap { padding: 24px; }
  .member-gate-card { padding: 36px 24px; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  .countdown-num { font-size: 1.5rem; }
  .countdown-unit { min-width: 42px; }
  .bundle-card { flex-direction: column; align-items: flex-start; }
  .cart-table thead { display: none; }
  .cart-table tr { display: block; margin-bottom: 16px; border: 1.5px solid var(--bone-deep); border-radius: var(--radius-md); }
  .cart-table td { display: flex; justify-content: space-between; border-bottom: 1px solid var(--bone-deep); padding: 10px 14px; }
  .cart-table td:last-child { border-bottom: none; }
}
