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

:root {
  --bg:       #111111;
  --surface:  #181818;
  --surface2: #1e1e1e;
  --border:   rgba(255,255,255,0.1);
  --orange:   #ff652f;
  --orange-d: #e5551f;
  --text:     #ffffff;
  --muted:    rgba(255,255,255,0.5);
  --dim:      rgba(255,255,255,0.2);
  --font:     'Courier New', Courier, monospace;
}

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
}

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Nav ──────────────────────────────────────────────────────────────────── */
.s-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem 1.5rem;
  background: rgba(17,17,17,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.s-nav__brand {
  flex: 1;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}
.s-nav__brand span { color: var(--orange); }

.s-nav__links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.s-nav__link {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.s-nav__link:hover, .s-nav__link--active { color: var(--text); text-decoration: none; }

.s-nav__cart {
  position: relative;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.2s;
}
.s-nav__cart:hover { border-color: var(--orange); text-decoration: none; }

#cart-badge {
  display: none;
  position: absolute;
  top: -6px; right: -6px;
  background: var(--orange);
  color: #fff;
  font-size: 0.6rem;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  text-align: center;
  line-height: 16px;
  padding: 0 3px;
}

@media (max-width: 580px) {
  .s-nav {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
  }
  .s-nav__brand {
    flex: none;
    width: 100%;
  }
  .s-nav__links {
    width: 100%;
    justify-content: center;
    gap: 1.25rem;
  }
}

/* ─── Hero ─────────────────────────────────────────────────────────────────── */
.s-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  background-color: #0e0e0e;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='60'%3E%3Crect width='128' height='60' fill='%230c0c0c'/%3E%3Crect x='2' y='2' width='60' height='24' fill='%23161616' rx='1'/%3E%3Crect x='66' y='2' width='60' height='24' fill='%23161616' rx='1'/%3E%3Crect x='-28' y='32' width='58' height='24' fill='%23141414' rx='1'/%3E%3Crect x='34' y='32' width='58' height='24' fill='%23141414' rx='1'/%3E%3Crect x='98' y='32' width='58' height='24' fill='%23141414' rx='1'/%3E%3C/svg%3E");
  background-size: 128px 60px;
  background-repeat: repeat;
  position: relative;
}

.s-hero__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.s-hero__title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.05;
}

.s-hero__title span {
  display: block;
  font-size: 0.48em;
  letter-spacing: 0.35em;
  color: var(--orange);
  border-top: 2px solid var(--orange);
  padding-top: 0.4rem;
  margin-top: 0.4rem;
}

.s-hero__tagline {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
}

.s-hero__actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─── Section ──────────────────────────────────────────────────────────────── */
.s-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.s-section__title {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

/* ─── Product Grid ─────────────────────────────────────────────────────────── */
.s-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* ─── Product Card ─────────────────────────────────────────────────────────── */
.s-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.s-card:hover { border-color: rgba(255,101,47,0.4); }

.s-card__img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
  position: relative;
}

/* Placeholder art per type */
.s-card__img--tshirt   { background: linear-gradient(135deg, #1a1a1a 0%, #222 100%); }
.s-card__img--baseball { background: linear-gradient(135deg, #1a1a20 0%, #20202a 100%); }
.s-card__img--hat      { background: linear-gradient(135deg, #1a1a14 0%, #22221a 100%); }
.s-card__img--gloves   { background: linear-gradient(135deg, #1a1214 0%, #221618 100%); }
.s-card__img--stickers { background: linear-gradient(135deg, #141a1a 0%, #182222 100%); }

.s-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.s-card__type {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

.s-card__body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.s-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.s-card__name {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.s-card__price {
  font-size: 0.95rem;
  color: var(--orange);
  white-space: nowrap;
}

.s-card__desc {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}

.s-card__selects {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.s-card__add {
  margin-top: auto;
  width: 100%;
}

/* ─── Badges ───────────────────────────────────────────────────────────────── */
.s-badge {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.s-badge--pod   { background: rgba(74,144,217,0.15); color: #6ab3f5; border: 1px solid rgba(74,144,217,0.3); }
.s-badge--local { background: rgba(39,174,96,0.15);  color: #5dbb80; border: 1px solid rgba(39,174,96,0.3); }

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
.s-btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
}
.s-btn:hover { background: rgba(255,255,255,0.12); text-decoration: none; color: var(--text); }

.s-btn--primary { background: var(--orange); border-color: var(--orange); }
.s-btn--primary:hover { background: var(--orange-d); border-color: var(--orange-d); }

.s-btn--outline { background: transparent; border-color: rgba(255,255,255,0.3); }
.s-btn--outline:hover { border-color: var(--orange); color: var(--orange); }

/* ─── Forms ────────────────────────────────────────────────────────────────── */
.s-select {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.8rem;
  padding: 0.4rem 0.6rem;
  -webkit-appearance: none;
  cursor: pointer;
}
.s-select:focus { outline: none; border-color: var(--orange); }
.s-select option { background: #1a1a1a; }

.s-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── Cart Page ────────────────────────────────────────────────────────────── */
.s-cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 720px) {
  .s-cart-layout { grid-template-columns: 1fr; }
}

.s-cart-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.s-cart-row__name  { font-size: 0.88rem; }
.s-cart-row__meta  { font-size: 0.7rem; color: var(--muted); margin-top: 0.15rem; }
.s-cart-row__price { font-size: 0.9rem; color: var(--orange); white-space: nowrap; }

.s-cart-row__controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.s-qty-btn {
  width: 26px; height: 26px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s;
}
.s-qty-btn:hover { border-color: var(--orange); }

.s-qty { font-size: 0.88rem; min-width: 20px; text-align: center; }

.s-remove-btn {
  background: transparent;
  border: none;
  color: var(--dim);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  padding: 0.2rem;
}
.s-remove-btn:hover { color: #ff5555; }

.s-cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 72px;
}

.s-cart-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.s-cart-summary__total span:last-child { font-size: 1.1rem; color: var(--orange); }

.s-shipping-note {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.55;
  padding: 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.s-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
}
.s-divider::before, .s-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─── Payment placeholders ─────────────────────────────────────────────────── */
.s-payment-placeholder {
  background: var(--surface2);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.s-payment-placeholder__msg {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
}
.s-payment-placeholder__msg code {
  background: rgba(255,255,255,0.08);
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  font-family: var(--font);
  color: var(--orange);
  font-size: 0.7rem;
}

/* ─── Success page ─────────────────────────────────────────────────────────── */
.s-success {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  gap: 1.25rem;
}

.s-success__icon {
  font-size: 3rem;
  line-height: 1;
}

.s-success__title {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.s-success__sub {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 380px;
  line-height: 1.6;
}

/* ─── Empty state ──────────────────────────────────────────────────────────── */
.s-empty {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 2rem 0;
}

/* ─── Footer ───────────────────────────────────────────────────────────────── */
.s-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
}

/* ─── Page header ──────────────────────────────────────────────────────────── */
.s-page-header {
  padding: 2.5rem 1.5rem 0;
  max-width: 1100px;
  margin: 0 auto;
}

.s-page-header h1 {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Contact form ──────────────────────────────────────────────────────────── */
.s-contact-wrap { max-width: 560px; margin: 0 auto; }
.s-contact-form { display: flex; flex-direction: column; gap: .75rem; }
.s-contact-label { font-size: .7rem; color: rgba(255,255,255,.4); letter-spacing: .1em; text-transform: uppercase; }
.s-contact-input,
.s-contact-textarea { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 4px; color: #eee; font-family: 'Courier New', monospace; font-size: .9rem; padding: .6rem .75rem; width: 100%; box-sizing: border-box; }
.s-contact-input:focus,
.s-contact-textarea:focus { outline: none; border-color: rgba(255,101,47,.5); }
.s-contact-textarea { resize: vertical; min-height: 120px; }
.s-contact-actions { display: flex; gap: .75rem; margin-top: .5rem; }
