/* ─────────────────────────────────────────────────────────────
   $CHARITYDROP Merch - styles
   Matching charitydrop.fun: dark bg, green accent, mono type.
   ───────────────────────────────────────────────────────────── */

:root {
  --bg:           #0a0a0a;
  --bg-card:      #111111;
  --bg-card-hover:#161616;
  --bg-elevated:  #131313;
  --border:       rgba(255,255,255,0.06);
  --border-bright:rgba(255,255,255,0.12);
  --border-dim:   rgba(255,255,255,0.04);

  --green:        #3ecf71;
  --green-bright: #3ecf71;
  --green-dim:    rgba(62,207,113,0.08);
  --green-glow:   rgba(62,207,113,0.05);

  --text:         #b0b0b0;
  --text-bright:  #ededed;
  --text-dim:     rgba(176,176,176,0.55);
  --text-muted:   rgba(176,176,176,0.35);

  --red:          #d94444;

  --mono: 'Space Mono','JetBrains Mono',ui-monospace,Menlo,Consolas,monospace;
  --sans: 'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;
  --serif: 'Instrument Serif',ui-serif,Georgia,serif;

  --wrap:    1100px;
  --gutter:  clamp(16px,4vw,40px);
  --radius:  12px;
  --radius-sm: 8px;
  --nav-h:   60px;
  --ease:    cubic-bezier(0.22,0.61,0.36,1);
}

*,*::before,*::after { box-sizing: border-box; }

html,body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
}

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

::selection { background: var(--green); color: #0a0a0a; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); }

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ── FILM GRAIN OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

img { display: block; max-width: 100%; height: auto; }

a {
  color: var(--green);
  text-decoration: none;
  transition: color 200ms var(--ease);
}
a:hover { color: var(--green-bright); }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

body.no-scroll { overflow: hidden; }


/* ── BUTTONS ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 250ms var(--ease);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--green);
  color: #0a0a0a;
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-bright);
  border-color: var(--green-bright);
  color: #0a0a0a;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--green);
  border-color: var(--border-bright);
}
.btn-ghost:hover {
  background: var(--green-dim);
  color: var(--green-bright);
  border-color: var(--green);
}

.btn-full { width: 100%; }


/* ── NAV ── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: all 300ms var(--ease);
}
.nav.scrolled {
  background: rgba(10, 16, 12, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 0;
  text-decoration: none;
}
.nav-brand:hover { color: var(--green); }
.nav-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  mix-blend-mode: lighten;
}

.nav-center {
  display: flex;
  gap: 4px;
}

.nav-link {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-dim);
  padding: 6px 12px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  transition: all 200ms var(--ease);
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-link.active { color: var(--green); background: var(--green-dim); }

.nav-right { display: flex; align-items: center; gap: 10px; }

.nav-cart-btn {
  position: relative;
  color: var(--text-dim);
  padding: 8px;
  border-radius: 8px;
  transition: all 200ms var(--ease);
}
.nav-cart-btn:hover { color: var(--green); background: var(--green-dim); }

.cart-badge {
  position: absolute;
  top: 2px; right: 0;
  min-width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  color: #0a0a0a;
  background: var(--green);
  border-radius: 8px;
  padding: 0 4px;
  opacity: 0;
  transform: scale(0.5);
  transition: all 250ms cubic-bezier(0.34,1.56,0.64,1);
}
.cart-badge.visible { opacity: 1; transform: scale(1); }

/* ── MOBILE NAV ── */
.nav-burger {
  display: none;
  width: 38px;
  height: 38px;
  position: relative;
  background: transparent;
  border: 1px solid var(--border-bright);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-burger span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 1.5px;
  background: var(--text);
  transition: transform 280ms var(--ease), opacity 200ms var(--ease), top 280ms var(--ease);
}
.nav-burger span:nth-child(1) { top: 12px; }
.nav-burger span:nth-child(2) { top: 18px; }
.nav-burger span:nth-child(3) { top: 24px; }
body.menu-open .nav-burger span:nth-child(1) { top: 18px; transform: rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { top: 18px; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 16, 12, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 24px) 24px 32px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
  overflow-y: auto;
}
body.menu-open .nav-mobile {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
body.menu-open { overflow: hidden; }

.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.nav-mobile-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: color 200ms var(--ease), padding-left 240ms var(--ease);
}
.nav-mobile-link:hover,
.nav-mobile-link:active { color: var(--green); padding-left: 10px; }
.nav-mobile-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--green);
}
.nav-mobile-label {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav-mobile-link .arrow-big {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--text-dim);
  transition: transform 240ms var(--ease), color 200ms var(--ease);
}
.nav-mobile-link:hover .arrow-big { color: var(--green); transform: translate(2px, -2px); }

@media (max-width: 768px) {
  .nav-center { display: none; }
  .nav-burger { display: inline-block; }
}


/* ── HERO ── */

.hero {
  position: relative;
  padding: calc(var(--nav-h) + 60px) 0 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  min-height: 88vh;
  display: flex;
  flex-direction: column;
}

.hero-meta {
  position: absolute;
  top: calc(var(--nav-h) + 24px);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 0 var(--gutter);
}
.hero-meta-tl { left: 0; }
.hero-meta-tr { right: 0; }

.meta-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

.meta-sep { color: var(--border-bright); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  color: var(--green);
  font-size: 9px;
  letter-spacing: 0.18em;
}
.status-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.4s ease-in-out infinite;
}

/* Vertical side stamps */
.hero-side {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--text-muted);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 0 24px;
  pointer-events: none;
}
.hero-side-l { left: 0; }
.hero-side-r { right: 0; }
.hero-side-l .hero-side-line {
  width: 1px;
  height: 60px;
  background: var(--border-bright);
}
.hero-side-r .hero-side-line {
  width: 1px;
  height: 60px;
  background: var(--border-bright);
}

@media (max-width: 1100px) {
  .hero-side { display: none; }
}

.hero-inner {
  max-width: var(--wrap);
  width: 100%;
  margin: 0 auto;
  padding: 40px var(--gutter) 60px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 700ms var(--ease) 50ms forwards;
}
.hero-eyebrow span:first-child { color: var(--green); }
.eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--border-bright);
}

.hero-title {
  font-family: var(--mono);
  font-size: clamp(40px, 8vw, 96px);
  font-weight: 700;
  line-height: 0.96;
  color: var(--text-bright);
  margin: 0 0 32px;
  letter-spacing: -0.04em;
  opacity: 0;
  animation: fadeUp 800ms var(--ease) 150ms forwards;
}

.hero-accent {
  color: var(--text-bright);
  display: inline-block;
  position: relative;
}

.hero-accent em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--green);
  letter-spacing: -0.02em;
  font-size: 1.12em;
  line-height: 0.8;
  padding: 0 0.04em;
}

.hero-desc {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 460px;
  margin: 0 auto 40px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 700ms var(--ease) 350ms forwards;
}
.hero-desc strong { color: var(--text); font-weight: 500; }
.hero-desc em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--green);
  font-size: 1.1em;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 0;
  opacity: 0;
  animation: fadeUp 700ms var(--ease) 500ms forwards;
}

.btn-arrow {
  display: inline-block;
  transition: transform 250ms var(--ease);
}
.btn:hover .btn-arrow { transform: translate(2px,-2px); }
.btn-primary:hover .btn-arrow { transform: translateY(2px); }

/* Stats bar - full-width editorial */
.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: auto;
  opacity: 0;
  animation: fadeUp 700ms var(--ease) 700ms forwards;
}

.hero-stat {
  padding: 24px var(--gutter);
  text-align: left;
  border-right: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-stat:last-child { border-right: none; }

.hero-stat-num {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.hero-stat-value {
  font-family: var(--mono);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stat-value i {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--green);
  font-size: 0.78em;
  letter-spacing: 0;
}

.hero-stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .hero-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .hero-meta-tl, .hero-meta-tr { font-size: 9px; }
}
@media (max-width: 600px) {
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .hero-meta-tr .meta-sep, .hero-meta-tr span:not(.status-pill):not(.meta-sep):not(.status-dot) { display: none; }
}


/* ── TICKER ── */

.ticker {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
  padding-left: 28px;
  will-change: transform;
}
.ticker-item {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-bright);
  text-transform: uppercase;
}
.ticker-item:nth-child(odd) { color: var(--text-bright); }
.ticker-item:nth-child(4n+3) {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 18px;
  color: var(--green);
  text-transform: none;
}
.ticker-sep {
  color: var(--text-muted);
  font-size: 10px;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ── SECTION ── */

.section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-dim);
}

.section-impact {
  background: var(--bg-card);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

/* Editorial header */
.section-header-editorial {
  display: block;
  text-align: left;
  padding-bottom: 28px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.section-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--green);
  padding-bottom: 6px;
}

.section-meta { min-width: 0; }

.section-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--mono);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 700;
  color: var(--text-bright);
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.section-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--green);
  letter-spacing: -0.02em;
  font-size: 1.15em;
  line-height: 0.85;
}

.section-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  padding-bottom: 6px;
}
.section-count {
  color: var(--text-bright);
  font-weight: 700;
}
.section-stamp { color: var(--text-muted); }

@media (max-width: 768px) {
  .section-header-editorial {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }
  .section-aside { align-items: flex-start; }
}


/* ── FILTER BAR ── */

.filter-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  transition: all 220ms var(--ease);
  background: transparent;
}
.chip-num {
  font-size: 14px;
  line-height: 0;
  color: var(--text-muted);
  transition: color 220ms var(--ease);
}
.filter-chip:hover {
  color: var(--text);
  border-color: var(--border-bright);
}
.filter-chip:hover .chip-num { color: var(--green); }
.filter-chip.active {
  color: var(--text-bright);
  background: transparent;
  border-color: var(--green);
}
.filter-chip.active .chip-num { color: var(--green); }


/* ── PRODUCT GRID ── */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.product-card {
  position: relative;
  background: var(--bg);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: background 250ms var(--ease);
  opacity: 0;
  transform: translateY(16px);
}
.product-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease), background 250ms var(--ease);
}
.product-card:hover {
  background: var(--bg-card);
}
.product-card.hiding {
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
}

/* Card meta strip (top) */
.card-meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}
.card-idx { color: var(--green); }
.card-meta-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.product-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: transparent;
}

.product-img-inner {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 600ms var(--ease);
  overflow: hidden;
}
.product-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card:hover .product-img-inner { transform: scale(1.04); }

/* Decorative corner brackets (visible on hover) */
.card-corners {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms var(--ease);
}
.product-card:hover .card-corners { opacity: 1; }

.corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--green);
  border-style: solid;
  border-width: 0;
}
.corner-tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.corner-tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.corner-bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.corner-br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.product-badge {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 100px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.product-badge.new {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
}
.product-badge.limited {
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
}
.product-badge.sold-out {
  background: transparent;
  border: 1px solid var(--border-bright);
  color: var(--text-dim);
}

.product-quick-add {
  position: absolute;
  bottom: 14px; left: 14px; right: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 280ms var(--ease);
  z-index: 3;
}
.product-card:hover .product-quick-add {
  opacity: 1;
  transform: translateY(0);
}
.product-quick-add .btn {
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 11px 16px;
  border-radius: 100px;
  width: 100%;
}

.product-info {
  padding: 16px 18px 22px;
  border-top: 1px solid var(--border);
}

.product-name {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-bright);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.product-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.product-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.product-price {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1;
  letter-spacing: -0.01em;
}
.product-price i {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.7em;
  font-weight: 400;
}

.product-sol {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.product-arrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--text-muted);
  transition: all 300ms var(--ease);
  line-height: 1;
}
.product-card:hover .product-arrow {
  color: var(--green);
  transform: translateX(4px);
}


/* ── IMPACT GRID ── */

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin-bottom: 32px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.impact-card {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: transparent;
  text-align: left;
  transition: background 250ms var(--ease);
  position: relative;
}
.impact-card:hover {
  background: rgba(255,255,255,0.015);
}

.impact-icon {
  font-size: 18px;
  margin-bottom: 22px;
  filter: grayscale(0.3);
}

.impact-value {
  font-family: var(--mono);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.impact-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--green);
  margin-bottom: 10px;
}

.impact-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}


/* ── PARTNERS ── */

.partners-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.partner-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  transition: background 250ms var(--ease);
}
.partner-link:hover {
  background: rgba(255,255,255,0.02);
  color: var(--text-bright);
}

.partner-icon { font-size: 20px; flex-shrink: 0; }

.partner-link div { flex: 1; min-width: 0; }
.partner-link strong {
  display: block;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 2px;
}
.partner-link span {
  font-size: 12px;
  color: var(--text-dim);
}

.partner-arrow {
  font-size: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 200ms var(--ease);
}
.partner-link:hover .partner-arrow { color: var(--green); }

@media (max-width: 600px) {
  .partners-row { grid-template-columns: 1fr; }
}


/* ── FEATURES ROW ── */

.features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: transparent;
  transition: background 250ms var(--ease);
  position: relative;
}
.feature-item:hover {
  background: rgba(255,255,255,0.015);
}
.feature-item::before {
  content: counter(feat-counter,decimal-leading-zero);
  position: absolute;
  top: 16px; right: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}
.features-row { counter-reset: feat-counter; }
.feature-item { counter-increment: feat-counter; }

.feature-icon {
  font-size: 20px;
  width: auto; height: auto;
  background: transparent;
  margin-bottom: 6px;
}

.feature-item strong {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-bright);
  margin-bottom: 6px;
}
.feature-item span {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}


/* ── DRAWER (Cart) ── */

.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease);
}
.overlay.open { opacity: 1; pointer-events: all; }

.drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(400px, 90vw);
  height: 100vh;
  z-index: 201;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 350ms var(--ease);
}
.drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.drawer-head h3 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0;
  color: var(--text-bright);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.drawer-head h3::before {
  content: '◉';
  color: var(--green);
  font-size: 8px;
}

.drawer-close {
  font-size: 16px;
  color: var(--text-dim);
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 200ms var(--ease);
}
.drawer-close:hover { color: var(--text-bright); background: rgba(255,255,255,0.06); }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 48px 0;
  text-align: center;
}
.cart-empty-icon { font-size: 36px; opacity: 0.3; }
.cart-empty p { font-family: var(--mono); font-size: 14px; color: var(--text-dim); margin: 0; }
.cart-empty span { font-size: 13px; color: var(--text-muted); }

.cart-items { display: flex; flex-direction: column; gap: 12px; }

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  animation: fadeUp 250ms var(--ease) forwards;
}

.cart-item-img {
  width: 60px; height: 60px;
  border-radius: 6px;
  background: var(--bg-elevated);
  flex-shrink: 0;
  border: 1px solid var(--border);
  overflow: hidden;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-bright);
  margin: 0 0 4px;
}

.cart-item-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0 0 8px;
  font-family: var(--mono);
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item-price {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
}

.cart-item-remove {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--red);
  padding: 3px 6px;
  border-radius: 4px;
  transition: all 200ms var(--ease);
}
.cart-item-remove:hover { background: rgba(239,68,68,0.1); }

.drawer-foot {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cart-total-row span:first-child {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.cart-total-value {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--green);
}

.cart-note {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  margin: 12px 0 0;
}


/* ── MODAL ── */

.modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  z-index: 301;
  width: min(880px, 92vw);
  max-height: 92vh;
  max-height: 92dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border-bright);
  border-radius: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 350ms var(--ease);
}
.modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 10;
  font-size: 14px;
  color: var(--text-dim);
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all 200ms var(--ease);
}
.modal-close:hover {
  color: var(--text-bright);
  border-color: var(--border-bright);
  transform: rotate(90deg);
}

.modal-body {
  display: grid;
  grid-template-columns: minmax(320px, 44%) 1fr;
  align-items: stretch;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  min-height: 0;
}
.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }
.modal-body::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 0; }

.modal-left {
  background: var(--bg);
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  padding: 0;
}
.modal-left::before {
  content: attr(data-num);
  position: absolute;
  top: 18px; left: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--green);
  z-index: 2;
  background: rgba(10,10,10,0.55);
  padding: 4px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.modal-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.modal-right {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.modal-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-bright);
  width: fit-content;
}
.modal-cat::before {
  content: '◉';
  font-size: 7px;
  color: var(--green);
}

.modal-title {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-bright);
  margin: 0 0 10px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.modal-price {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.modal-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0 0 18px;
}

.modal-option { margin-bottom: 14px; }

.modal-option label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.modal-option label::before {
  content: '-';
  color: var(--green);
}

.size-options, .color-options { display: flex; gap: 5px; flex-wrap: wrap; }

.size-btn {
  min-width: 36px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0 10px;
  transition: all 200ms var(--ease);
}
.size-btn:hover { color: var(--text); border-color: var(--border-bright); }
.size-btn.selected { color: #0a0a0a; background: var(--green); border-color: var(--green); }

.color-swatch {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border);
  transition: all 200ms var(--ease);
}
.color-swatch:hover { transform: scale(1.1); }
.color-swatch.selected {
  border-color: var(--green);
  box-shadow: 0 0 0 2px var(--bg-elevated), 0 0 0 3px var(--green);
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}

.modal-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.qty-btn {
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-family: var(--mono);
  color: var(--text-dim);
  transition: all 200ms var(--ease);
}
.qty-btn:hover { color: var(--green); background: var(--green-dim); }

.qty-val {
  width: 36px;
  text-align: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-bright);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  line-height: 34px;
}

.modal-note {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  margin: 8px 0 0;
}

@media (max-width: 768px) {
  .modal {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border: none;
    border-radius: 0;
  }
  .modal-body {
    grid-template-columns: 1fr;
    grid-auto-rows: max-content;
  }
  .modal-left {
    aspect-ratio: 4 / 3;
    min-height: 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .modal-right {
    padding: 22px 20px 28px;
    padding-bottom: max(28px, env(safe-area-inset-bottom, 28px));
  }
  .modal-actions { flex-direction: column; align-items: stretch; }
  .modal-actions .btn-primary { width: 100%; }
  .modal-close {
    top: 14px;
    right: 14px;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}


/* ── FOOTER ── */

.footer {
  position: relative;
  padding: 80px 0 28px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; }

.footer-logo {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-bright);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--text-dim);
  letter-spacing: -0.01em;
  line-height: 1.4;
  max-width: 280px;
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }

.footer-col h5 {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin: 0 0 6px;
}

.footer-col a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 200ms var(--ease);
}
.footer-col a::before {
  content: '→';
  color: var(--text-muted);
  transition: transform 250ms var(--ease);
  font-size: 11px;
}
.footer-col a:hover { color: var(--green); }
.footer-col a:hover::before { transform: translateX(3px); color: var(--green); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom::before {
  content: '◉ FY26 / VOL.001';
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}
.footer-bottom::after {
  content: 'BUILT WITH ♥ ON SOLANA';
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}
.footer-bottom p {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}


/* ── ANIMATIONS ── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}


/* -- COMING SOON WATERMARK -- */
.coming-soon {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  mix-blend-mode: screen;
}
.coming-soon-track {
  display: flex;
  flex-direction: column;
  gap: 8vw;
  transform: rotate(-22deg);
  white-space: nowrap;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(56px, 12vw, 180px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: rgba(143, 209, 173, 0.06);
  text-shadow: 0 0 1px rgba(143, 209, 173, 0.05);
  user-select: none;
}
.coming-soon-track span {
  display: block;
  white-space: nowrap;
  text-align: center;
}
.coming-soon-track span:nth-child(odd)  { transform: translateX(-4vw); }
.coming-soon-track span:nth-child(even) { transform: translateX(4vw); color: rgba(143, 209, 173, 0.04); }

@media (max-width: 768px) {
  .coming-soon-track { gap: 12vw; font-size: clamp(48px, 16vw, 120px); }
}
