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

:root {
  --black: #0f0f0f;
  --white: #f5f5f5;
  --accent: #e8ff00;
  --gray: #1e1e1e;
  --mid: #555;
  --font: 'Inter', system-ui, sans-serif;
}

html { font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  min-height: 100vh;
}

/* ── Header ── */
header {
  padding: 2rem 1.5rem 1.5rem;
  border-bottom: 1px solid #222;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-name {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.site-name span {
  color: var(--accent);
}

.tagline {
  font-size: 0.85rem;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Hero ── */
.hero {
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.hero h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1rem;
}

.hero h2 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  color: var(--mid);
  max-width: 36ch;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
}

/* ── Products ── */
.products-section {
  padding: 2rem 1.5rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mid);
  margin-bottom: 1.5rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--gray);
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #2a2a2a;
}

.product-image-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-name {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-description {
  font-size: 0.8rem;
  color: var(--mid);
  line-height: 1.5;
  flex: 1;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 0.25rem;
}

.product-buy {
  padding: 1.25rem;
  padding-top: 0;
}

/* Stripe Buy Button overrides */
stripe-buy-button {
  width: 100%;
}

/* ── Footer ── */
footer {
  border-top: 1px solid #222;
  padding: 2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--mid);
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--white);
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
