/* ═══════════════════════════════════════════════════
   PYPEZ — Urban Streetwear × Cannabis Culture
   Aesthetic: Supreme × Graffiti Gallery × Nightlife
═══════════════════════════════════════════════════ */

/* ─── Custom Properties ─── */
:root {
  --bg: #0a0a0f;
  --bg-alt: #111118;
  --surface: #1a1a24;
  --surface-2: #22222e;
  --neon-purple: #9b5de5;
  --neon-green: #00ff87;
  --electric-lime: #c8ff00;
  --hot-pink: #ff2d95;
  --orange-neon: #ff6b35;
  --chrome: #e8e8f0;
  --text: #f0ede8;
  --text-muted: #7a7a8c;
  --text-dim: #4a4a5c;
  --border: rgba(255,255,255,0.06);
  --border-glow: rgba(155,93,229,0.3);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 8px;
  --shadow-glow: 0 0 20px rgba(155,93,229,0.2), 0 0 60px rgba(155,93,229,0.08);
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── Graffiti Texture Overlay ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(155,93,229,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(0,255,135,0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--neon-purple); border-radius: 3px; }

/* ─── Selection ─── */
::selection { background: var(--neon-purple); color: var(--bg); }

/* ─── Utility ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 3px; }
.tag--neon { background: var(--neon-purple); color: #fff; }
.tag--green { background: rgba(0,255,135,0.15); color: var(--neon-green); border: 1px solid rgba(0,255,135,0.3); }
.tag--pink { background: rgba(255,45,149,0.15); color: var(--hot-pink); border: 1px solid rgba(255,45,149,0.3); }
.section-eyebrow { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--neon-purple); margin-bottom: 0.75rem; }
.section-title { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: 0.03em; color: var(--text); line-height: 0.95; }
.section-title span { color: var(--neon-purple); }

/* ─── Buttons ─── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; padding: 0.75rem 1.75rem; border-radius: var(--radius); border: none; cursor: pointer; transition: all 0.2s; text-transform: uppercase; }
.btn--primary { background: var(--neon-purple); color: #fff; }
.btn--primary:hover { background: #7c3dcc; box-shadow: 0 0 20px rgba(155,93,229,0.4); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.15); }
.btn--ghost:hover { border-color: var(--neon-purple); color: var(--neon-purple); }
.btn--neon { background: var(--neon-green); color: #0a0a0f; font-weight: 700; }
.btn--neon:hover { box-shadow: 0 0 30px rgba(0,255,135,0.4); transform: translateY(-1px); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.75rem; }

/* ─── Nav ─── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: none;
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 0.82rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--neon-purple); }
.nav-cart { position: relative; }
.nav-cart-icon { width: 22px; height: 22px; color: var(--text); transition: color 0.2s; }
.nav-cart:hover .nav-cart-icon { color: var(--neon-purple); }
.nav-cart-count { position: absolute; top: -6px; right: -8px; background: var(--hot-pink); color: #fff; font-size: 0.6rem; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* ─── Hero (Homepage) ─── */
.hero {
  padding: 5rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.hero-text { position: relative; z-index: 2; }
.hero-eyebrow { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--neon-green); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.hero-eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--neon-green); }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.hero-headline .accent { color: var(--neon-purple); }
.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  z-index: 2;
}
.hero-image-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-glow);
  aspect-ratio: 16/10;
  position: relative;
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.6) 0%, transparent 50%);
}
.hero-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(155,93,229,0.4);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero-badge-label { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.hero-badge-value { font-family: var(--font-display); font-size: 1.2rem; color: var(--neon-purple); letter-spacing: 0.04em; }

/* ─── Category Cards ─── */
.categories { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cat-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--border);
  transition: all 0.3s;
  cursor: pointer;
}
.cat-card:hover { border-color: rgba(155,93,229,0.4); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.cat-card-bg { position: absolute; inset: 0; }
.cat-card--bongs .cat-card-bg { background: linear-gradient(160deg, #1a0f2e 0%, #0d0820 60%, #080515 100%); }
.cat-card--pipes .cat-card-bg { background: linear-gradient(160deg, #2e1a0f 0%, #1f0d08 60%, #150805 100%); }
.cat-card--vapes .cat-card-bg { background: linear-gradient(160deg, #0f2e1a 0%, #08200d 60%, #051508 100%); }
.cat-card--acc .cat-card-bg { background: linear-gradient(160deg, #1a1a2e 0%, #0d0d1f 60%, #080815 100%); }
.cat-card--apparel .cat-card-bg { background: linear-gradient(160deg, #2e1a2a 0%, #1f0d1f 60%, #150815 100%); }
.cat-card--collectibles .cat-card-bg { background: linear-gradient(160deg, #1a2e1a 0%, #0d1f0d 60%, #081508 100%); }
.cat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 65%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  z-index: 1;
}
.cat-card-content { position: relative; z-index: 2; padding: 1.75rem; }
.cat-icon { width: 40px; height: 40px; border: 1px solid rgba(155,93,229,0.4); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem; color: var(--neon-purple); font-size: 1.2rem; }
.cat-name { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0.03em; color: var(--text); margin-bottom: 0.4rem; }
.cat-desc { font-size: 0.8rem; color: rgba(240,237,232,0.5); margin-bottom: 0.75rem; max-width: 220px; }
.cat-cta { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; color: var(--neon-purple); text-transform: uppercase; display: flex; align-items: center; gap: 0.4rem; }
.cat-cta::after { content: '→'; }

/* ─── Why / Features ─── */
.why {
  background: var(--bg-alt);
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-inner { max-width: 1200px; margin: 0 auto; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.why-item { display: flex; flex-direction: column; gap: 0.75rem; }
.why-icon {
  width: 44px; height: 44px;
  background: rgba(155,93,229,0.12);
  border: 1px solid rgba(155,93,229,0.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--neon-purple);
}
.why-item h3 { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.why-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* ─── Product Grid ─── */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.product-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}
.product-card:hover { border-color: rgba(155,93,229,0.35); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.product-image { aspect-ratio: 1; position: relative; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-image-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.product-image-placeholder--purple { background: linear-gradient(135deg, #1a0f2e, #2d1a50); color: rgba(155,93,229,0.3); }
.product-image-placeholder--green { background: linear-gradient(135deg, #0f2e1a, #1a5028); color: rgba(0,255,135,0.2); }
.product-image-placeholder--pink { background: linear-gradient(135deg, #2e1a1a, #502020); color: rgba(255,45,149,0.2); }
.product-image-placeholder--lime { background: linear-gradient(135deg, #1a2e0f, #285010); color: rgba(200,255,0,0.15); }
.product-labels { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; flex-direction: column; gap: 0.35rem; }
.product-tag { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25rem 0.5rem; border-radius: 3px; }
.product-tag--purple { background: var(--neon-purple); color: #fff; }
.product-tag--green { background: rgba(0,255,135,0.9); color: #0a0a0f; }
.product-tag--pink { background: var(--hot-pink); color: #fff; }
.product-tag--orange { background: var(--orange-neon); color: #fff; }
.product-info { padding: 1rem; }
.product-name { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.02em; color: var(--text); margin-bottom: 0.25rem; }
.product-tagline { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.product-price { display: flex; align-items: baseline; gap: 0.5rem; }
.product-price-main { font-weight: 700; font-size: 1rem; color: var(--neon-green); }
.product-price-compare { font-size: 0.8rem; color: var(--text-dim); text-decoration: line-through; }
.product-add-btn {
  width: 100%;
  padding: 0.65rem;
  background: rgba(155,93,229,0.15);
  border: 1px solid rgba(155,93,229,0.35);
  color: var(--neon-purple);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.75rem;
}
.product-add-btn:hover { background: var(--neon-purple); color: #fff; }

/* ─── Drops / Limited Section ─── */
.limited-section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
.limited-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; }
.limited-meta { display: flex; align-items: center; gap: 1rem; }
.countdown { font-family: var(--font-mono); font-size: 0.75rem; color: var(--electric-lime); }
.countdown-label { color: var(--text-muted); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ─── Newsletter ─── */
.newsletter {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-form { display: flex; gap: 0.75rem; max-width: 440px; margin: 1.5rem auto 0; justify-content: center; }
.newsletter-input { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem 1rem; color: var(--text); font-family: var(--font-body); font-size: 0.85rem; outline: none; transition: border-color 0.2s; }
.newsletter-input:focus { border-color: var(--neon-purple); }
.newsletter-input::placeholder { color: var(--text-dim); }

/* ─── Closing ─── */
.closing { padding: 6rem 2rem; text-align: center; }
.closing-inner { max-width: 600px; margin: 0 auto; }

/* ─── Footer ─── */
.site-footer { border-top: 1px solid var(--border); padding: 3rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
.footer-logo { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.15em; background: linear-gradient(135deg, var(--neon-purple), var(--neon-green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-note { font-size: 0.82rem; color: var(--text-muted); }
.footer-legal { font-size: 0.7rem; color: rgba(122,122,140,0.5); max-width: 400px; line-height: 1.6; }
.footer-links { display: flex; gap: 1.5rem; margin-top: 0.5rem; }
.footer-links a { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.04em; transition: color 0.2s; }
.footer-links a:hover { color: var(--neon-purple); }

/* ─── Age Gate ─── */
.age-gate { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.age-gate-box {
  background: var(--bg-alt);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 3rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 80px rgba(155,93,229,0.15);
}
.age-gate-logo { font-family: var(--font-display); font-size: 2.5rem; letter-spacing: 0.15em; background: linear-gradient(135deg, var(--neon-purple), var(--neon-green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.5rem; }
.age-gate-headline { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: 0.04em; margin-bottom: 0.75rem; }
.age-gate-sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2rem; }
.age-gate-form { display: flex; flex-direction: column; gap: 1rem; }
.age-inputs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; }
.age-input { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem; color: var(--text); font-family: var(--font-body); font-size: 1rem; text-align: center; outline: none; transition: border-color 0.2s; }
.age-input:focus { border-color: var(--neon-purple); }
.age-error { color: var(--hot-pink); font-size: 0.82rem; margin-bottom: 0.5rem; }
.age-gate-label { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.35rem; }

/* ─── Cart Page ─── */
.cart-page { padding: 4rem 2rem; max-width: 1100px; margin: 0 auto; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 1rem; }
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
}
.cart-item-image { width: 80px; height: 80px; border-radius: 8px; overflow: hidden; object-fit: cover; }
.cart-item-image-placeholder { width: 80px; height: 80px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.cart-item-name { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.2rem; }
.cart-item-tagline { font-size: 0.8rem; color: var(--text-muted); }
.cart-item-price { font-weight: 600; color: var(--neon-green); margin-top: 0.35rem; }
.cart-item-controls { display: flex; align-items: center; gap: 0.75rem; }
.qty-btn { width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg-alt); color: var(--text); font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.qty-btn:hover { border-color: var(--neon-purple); color: var(--neon-purple); }
.qty-value { font-weight: 600; min-width: 24px; text-align: center; }
.cart-remove { background: none; border: none; color: var(--text-dim); font-size: 0.7rem; cursor: pointer; transition: color 0.2s; padding: 0.25rem; }
.cart-remove:hover { color: var(--hot-pink); }
.cart-summary { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; position: sticky; top: 90px; }
.summary-title { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.04em; margin-bottom: 1.25rem; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; font-size: 0.85rem; }
.summary-row--total { border-top: 1px solid var(--border); margin-top: 0.75rem; padding-top: 1rem; font-weight: 700; font-size: 1rem; }
.summary-value { color: var(--neon-green); }
.summary-value--total { font-size: 1.2rem; }

/* ─── Checkout Confirm ─── */
.checkout-page { padding: 4rem 2rem; max-width: 680px; margin: 0 auto; text-align: center; }
.checkout-icon { font-size: 3rem; margin-bottom: 1rem; }
.checkout-title { font-family: var(--font-display); font-size: 2.5rem; letter-spacing: 0.04em; margin-bottom: 0.75rem; }
.checkout-order-num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.checkout-message { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }

/* ─── Legal Pages ─── */
.legal-page { padding: 4rem 2rem; max-width: 800px; margin: 0 auto; }
.legal-title { font-family: var(--font-display); font-size: 3rem; letter-spacing: 0.04em; margin-bottom: 2rem; }
.legal-content { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; }
.legal-content h2 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.03em; color: var(--text); margin: 2rem 0 0.75rem; }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { margin: 0.75rem 0 1rem 1.5rem; }
.legal-content li { margin-bottom: 0.5rem; }

/* ─── 404 ─── */
.not-found { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.not-found-code { font-family: var(--font-display); font-size: 8rem; color: var(--surface-2); line-height: 1; margin-bottom: 1rem; }
.not-found-title { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.04em; margin-bottom: 0.5rem; }
.not-found-sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2rem; }

/* ─── Mobile ─── */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3rem; }
  .hero-visual { display: none; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .why-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .nav-links { display: none; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .age-inputs { grid-template-columns: 1fr 1fr 1fr; }
  .newsletter-form { flex-direction: column; }
}