:root {
  --paper: #f7f3ec;
  --ink: #14120f;
  --hot: #ff2f7e;
  --lime: #c8ff4d;
  --lav: #b6a6ff;
  --yellow: #ffe14d;
  --blue: #3aa8ff;
  --line: rgba(20,18,15,0.12);
  --font-display: 'Archivo Black', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

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

/* ---------- SKIP LINK (accessibility) ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 10000;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 18px;
  border: 2px solid var(--paper);
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100%;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- TOP UTILITY BAR ---------- */
.utility-bar {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.utility-bar span.dot { color: var(--lime); }
.utility-bar a { color: inherit; text-decoration: none; }
.utility-bar a:hover { text-decoration: underline; }

/* ---------- NAV ---------- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 5vw;
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 100;
  border-bottom: 3px solid var(--ink);
}
.logo {
  transform: rotate(-2deg);
  display: inline-block;
}
.logo img {
  height: 34px;
  width: auto;
  display: block;
}
@media (max-width: 480px) {
  .logo img { height: 28px; }
}
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a.nav-item {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a.nav-item::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0%; height: 2px;
  background: var(--hot);
  transition: width 0.2s ease;
}
.nav-links a.nav-item:hover::after { width: 100%; }

.nav-icons { display: flex; align-items: center; gap: 20px; }
.icon-btn {
  background: none; border: none; color: var(--ink);
  display: flex; align-items: center; gap: 6px;
}
.cart-btn {
  border: 2px solid var(--ink);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.cart-btn:hover { background: var(--ink); color: var(--paper); }
.search-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  padding: 4px;
}
.search-icon-link:hover { color: var(--hot); }
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
#cartCount {
  background: var(--hot);
  color: var(--paper);
  border-radius: 50%;
  width: 18px; height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}
#cartCount.pulse { animation: cartPulse 0.4s ease; }
@keyframes cartPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); background: var(--lime); color: var(--ink); }
  100% { transform: scale(1); }
}
@media (max-width: 640px) {
  nav { padding: 16px 4vw; }
  .menu-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 3px solid var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 90;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links a.nav-item {
    padding: 16px 6vw;
    border-bottom: 1px solid var(--line);
    font-size: 0.85rem;
  }
  .nav-links a.nav-item::after { display: none; }
  .cart-btn { padding: 6px 10px; font-size: 0.7rem; gap: 5px; }
}
@media (max-width: 380px) {
  #cartTotal { display: none; }
}

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--hot);
  color: var(--paper);
  overflow: hidden;
  padding: 10px 0;
  border-bottom: 3px solid var(--ink);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollLeft 22s linear infinite;
}
.marquee-group {
  display: flex;
  flex-shrink: 0;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0 26px;
  white-space: nowrap;
}
@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- HERO ---------- */
.hero {
  padding: 70px 5vw 90px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; padding: 50px 6vw; } }

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: var(--lime);
  display: inline-block;
  padding: 5px 12px;
  border: 2px solid var(--ink);
  margin-bottom: 22px;
  transform: rotate(-1deg);
}
h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}
h1.hero-title .accent { color: var(--hot); }
.hero-copy {
  margin-top: 22px;
  max-width: 46ch;
  font-size: 1.08rem;
  color: rgba(20,18,15,0.72);
}
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn-solid, .btn-outline {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.88rem;
  padding: 15px 28px;
  display: inline-block;
  border: 2px solid var(--ink);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-solid { background: var(--ink); color: var(--paper); font-weight: 700; }
.btn-solid:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--hot); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--lav); }
.btn-solid:disabled, .btn-outline:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

/* Trading card — signature element */
.trading-card {
  background: var(--ink);
  border: 3px solid var(--ink);
  padding: 18px;
  position: relative;
  transform: rotate(2deg);
  max-width: 380px;
  margin: 0 auto;
}
.trading-card::before {
  content: 'FEATURED';
  position: absolute;
  top: -14px;
  left: 20px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border: 2px solid var(--ink);
}
.card-art {
  background: linear-gradient(135deg, var(--lav), var(--hot));
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.card-art svg { width: 62%; height: 62%; }
.card-art img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.card-foot {
  background: var(--paper);
  margin-top: 14px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
}
.card-foot .name { font-size: 0.95rem; font-weight: 700; }
.card-foot .price { color: var(--hot); font-weight: 700; }

/* ---------- SECTIONS ---------- */
section { padding: 80px 5vw; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 18px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hot);
}

/* Categories */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
@media (max-width: 780px) {
  .cat-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 6px;
    margin: 0 -6vw;
    padding-left: 6vw;
    padding-right: 6vw;
    scrollbar-width: none; /* Firefox */
  }
  .cat-grid::-webkit-scrollbar { display: none; } /* Chrome/Safari */
  .cat-grid .cat-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
}
.cat-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 3px solid var(--ink);
  background: var(--paper);
  padding: 30px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.cat-card:hover { transform: translate(-3px,-3px); box-shadow: 6px 6px 0 var(--ink); }
.cat-swatch {
  width: 100%; aspect-ratio: 16/10;
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--ink);
  overflow: hidden;
}
.cat-swatch svg { width: 40%; }
.cat-swatch img { width: 40%; height: auto; object-fit: contain; }
.cat-card h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 6px; }
.cat-card p { font-family: var(--font-mono); font-size: 0.8rem; color: rgba(20,18,15,0.6); margin-bottom: 16px; }
.cat-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--hot);
}

/* Product grid */
.search-bar { margin-bottom: 16px; }
.search-bar input[type="search"] {
  width: 100%;
  max-width: 420px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  border: 2px solid var(--ink);
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
}
.search-bar input[type="search"]:focus { outline: 2px solid var(--hot); outline-offset: 2px; }
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.filter-chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid var(--ink);
  padding: 8px 16px;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.filter-chip.active, .filter-chip:hover { background: var(--ink); color: var(--paper); }

.sort-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sort-bar label { color: rgba(20,18,15,0.6); }
.sort-bar select {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
  cursor: pointer;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  min-width: 0;
}
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  border: 2px solid var(--ink);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-width: 0;
}
.product-card:hover { transform: translate(-3px,-3px); box-shadow: 5px 5px 0 var(--ink); }

.product-art-link { display: block; min-width: 0; }
.product-art {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.product-art svg { width: 46%; height: 46%; }
.product-art img { width: 78%; height: 78%; max-width: 78%; max-height: 78%; object-fit: contain; }
.product-tag {
  position: absolute;
  top: 10px; left: 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--ink);
  color: var(--paper);
  padding: 3px 8px;
}
.product-tag.new { background: var(--lime); color: var(--ink); }
.product-tag.low { background: var(--hot); color: var(--paper); }

.product-info { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-info h4 { font-size: 0.98rem; font-weight: 500; }
.product-info h4 a:hover { text-decoration: underline; text-decoration-color: var(--hot); }
.product-info .cat { font-family: var(--font-mono); font-size: 0.7rem; color: rgba(20,18,15,0.5); text-transform: uppercase; }
.product-bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.price { font-family: var(--font-mono); font-weight: 700; }
.add-btn {
  background: var(--ink);
  color: var(--paper);
  border: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 9px 14px;
  transition: background 0.15s ease;
}
.add-btn:hover { background: var(--hot); }
.add-btn.added { background: var(--lime); color: var(--ink); }
.add-btn-disabled {
  background: transparent;
  color: rgba(20,18,15,0.4);
  border: 2px solid rgba(20,18,15,0.25);
  cursor: default;
  display: inline-block;
}

/* ---------- EMPTY STATE (no search/filter results) ---------- */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  border: 2px dashed rgba(20,18,15,0.25);
}
.empty-state p {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: rgba(20,18,15,0.6);
  margin-bottom: 18px;
}
.empty-state-reset {
  background: var(--ink);
  color: var(--paper);
  border: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.empty-state-reset:hover { background: var(--hot); }

/* ---------- TRUST STRIP ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
@media (max-width: 700px) { .trust-strip { grid-template-columns: 1fr; } }
.trust-item {
  padding: 30px 5vw;
  border-right: 2px solid var(--ink);
  text-align: center;
}
.trust-item:last-child { border-right: none; }
.trust-item h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 6px; }
.trust-item p { font-family: var(--font-mono); font-size: 0.78rem; color: rgba(20,18,15,0.55); }

/* ---------- NEWSLETTER ---------- */
.newsletter {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.newsletter h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  max-width: 16ch;
  margin: 0 auto 16px;
}
.newsletter p { color: rgba(247,243,236,0.65); margin-bottom: 30px; font-family: var(--font-mono); font-size: 0.85rem; }
.newsletter-form { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  background: transparent;
  border: 2px solid var(--paper);
  color: var(--paper);
  padding: 14px 16px;
  font-family: var(--font-mono);
  min-width: 260px;
}
.newsletter-form input::placeholder { color: rgba(247,243,236,0.5); }
.newsletter-form button {
  background: var(--hot);
  color: var(--paper);
  border: 2px solid var(--hot);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 14px 26px;
}
.newsletter-note { margin-top: 16px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--lime); min-height: 1.2em; }

/* ---------- FOOTER ---------- */
footer {
  padding: 34px 5vw;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(20,18,15,0.5);
}

/* ---------- CART DRAWER ---------- */
.overlay {
  position: fixed; inset: 0;
  background: rgba(20,18,15,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 200;
}
.overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(400px, 92vw);
  height: 100%;
  background: var(--paper);
  border-left: 3px solid var(--ink);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  padding: 22px 24px;
  border-bottom: 3px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-head h3 { font-family: var(--font-display); font-size: 1.3rem; }
.cart-close { background: none; border: none; font-size: 1.4rem; color: var(--ink); }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart-line {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.cart-line-art {
  width: 56px; height: 56px;
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cart-line-art svg { width: 60%; }
.cart-line-art img { width: 90%; height: 90%; object-fit: contain; }
.cart-line-info { flex: 1; }
.cart-line-info h5 { font-size: 0.9rem; font-weight: 500; margin-bottom: 8px; }
.cart-line-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cart-line-price { font-family: var(--font-mono); font-size: 0.78rem; color: rgba(20,18,15,0.7); }
.cart-qty-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--ink);
  padding: 2px 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
.cart-qty-stepper button {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1;
  padding: 2px 4px;
  cursor: pointer;
  color: var(--ink);
}
.cart-qty-stepper button:hover { color: var(--hot); }
.cart-remove { background: none; border: none; font-family: var(--font-mono); font-size: 0.72rem; text-decoration: underline; color: var(--hot); align-self: flex-start; }
.cart-empty { font-family: var(--font-mono); font-size: 0.85rem; color: rgba(20,18,15,0.5); padding: 40px 0; text-align: center; }
.cart-foot { border-top: 3px solid var(--ink); padding: 20px 24px; }
.cart-total-row { display: flex; justify-content: space-between; font-family: var(--font-mono); font-weight: 700; margin-bottom: 16px; font-size: 1.05rem; }
.cart-subtotal-row { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.85rem; color: rgba(20,18,15,0.65); margin-bottom: 8px; }
.cart-tax-note { font-family: var(--font-mono); font-size: 0.72rem; color: rgba(20,18,15,0.5); text-align: right; margin-top: -10px; margin-bottom: 16px; }
.checkout-btn {
  width: 100%;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 16px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  transition: background 0.15s ease;
}
.checkout-btn:hover { background: var(--hot); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--hot);
  outline-offset: 2px;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  padding: 20px 5vw 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(20,18,15,0.55);
}
.breadcrumb a:hover { color: var(--hot); }

/* ---------- LEGAL / POLICY PAGES ---------- */
.legal-content {
  max-width: 68ch;
  margin: 0 auto;
  padding: 40px 5vw 90px;
}
.legal-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin-bottom: 8px;
}
.legal-content .legal-updated {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(20,18,15,0.5);
  margin-bottom: 40px;
  display: block;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 40px 0 14px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p {
  line-height: 1.65;
  margin-bottom: 16px;
  color: rgba(20,18,15,0.82);
}
.legal-content ul {
  margin: 0 0 16px 22px;
  line-height: 1.65;
  color: rgba(20,18,15,0.82);
}
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--ink); text-decoration: underline; }
.legal-content a:hover { color: var(--hot); }
.legal-content strong { font-weight: 700; }

/* ---------- 404 PAGE ---------- */
.not-found {
  max-width: 560px;
  margin: 0 auto;
  padding: 80px 6vw 100px;
  text-align: center;
}
.not-found-emblem {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 18px;
  opacity: 0.85;
}
.not-found-code {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--hot);
  margin-bottom: 10px;
}
.not-found h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  margin-bottom: 14px;
}
.not-found p {
  color: rgba(20,18,15,0.7);
  margin-bottom: 32px;
  line-height: 1.6;
}
.not-found-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- PRODUCT DETAIL ---------- */
.pdp {
  padding: 40px 5vw 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  min-width: 0;
}
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 36px; padding: 30px 6vw 70px; } }

.pdp-art {
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  touch-action: pan-y;
  overflow: hidden;
  min-width: 0;
}
.pdp-art-media { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; }
.pdp-art svg { width: 55%; height: 55%; }

/* ---------- PREV/NEXT ARROWS ---------- */
.pdp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.15s ease, color 0.15s ease;
}
.pdp-arrow:hover { background: var(--ink); color: var(--paper); }
.pdp-arrow-prev { left: 14px; }
.pdp-arrow-next { right: 14px; }
@media (max-width: 640px) {
  .pdp-arrow { width: 36px; height: 36px; font-size: 1.2rem; }
}

/* ---------- ZOOM ---------- */
.pdp-art-media { cursor: zoom-in; }
.pdp-zoom-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.15s ease, color 0.15s ease;
}
.pdp-zoom-btn:hover { background: var(--ink); color: var(--paper); }

.zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,18,15,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}
.zoom-overlay.open { display: flex; }
.zoom-img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.zoom-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  background: transparent;
  color: var(--paper);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.zoom-close:hover { background: var(--paper); color: var(--ink); }
.zoom-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  background: transparent;
  color: var(--paper);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zoom-arrow:hover { background: var(--paper); color: var(--ink); }
.zoom-arrow-prev { left: 20px; }
.zoom-arrow-next { right: 20px; }
@media (max-width: 640px) {
  .zoom-overlay { padding: 16px; }
  .zoom-close { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 1.4rem; }
  .zoom-arrow { width: 40px; height: 40px; font-size: 1.4rem; }
  .zoom-arrow-prev { left: 8px; }
  .zoom-arrow-next { right: 8px; }
}

/* ---------- IMAGE GALLERY ---------- */
.pdp-media { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pdp-gallery { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-thumb {
  width: 68px;
  height: 68px;
  padding: 0;
  border: 2px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumb:hover { border-color: var(--ink); }
.pdp-thumb.active { border-color: var(--ink); border-width: 3px; }
.pdp-art img { width: 85%; height: 85%; max-width: 85%; max-height: 85%; object-fit: contain; }

.pdp-info .cat {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hot);
  margin-bottom: 10px;
  display: block;
}
.pdp-info h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.05;
  margin-bottom: 16px;
}
.pdp-price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 22px;
}
.pdp-desc {
  color: rgba(20,18,15,0.72);
  max-width: 50ch;
  margin-bottom: 28px;
}
.pdp-tag-row { margin-bottom: 22px; }

.pdp-qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.qty-stepper {
  display: flex;
  align-items: center;
  border: 2px solid var(--ink);
}
.qty-stepper button {
  background: none;
  border: none;
  width: 40px;
  height: 44px;
  font-family: var(--font-mono);
  font-size: 1.1rem;
}
.qty-stepper button:hover { background: var(--ink); color: var(--paper); }
.qty-stepper span {
  font-family: var(--font-mono);
  font-weight: 700;
  width: 36px;
  text-align: center;
  display: inline-block;
}

.pdp-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

.pdp-meta {
  border-top: 2px solid var(--line);
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: rgba(20,18,15,0.6);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-heading {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 24px;
}

/* ---------- SIZE SELECTOR ---------- */
.pdp-size-row { margin-bottom: 24px; }
.pdp-size-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(20,18,15,0.6);
  display: block;
  margin-bottom: 10px;
}
.size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.size-chip {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  border: 2px solid var(--ink);
  background: transparent;
  padding: 8px 14px;
  min-width: 44px;
  transition: background 0.15s ease, color 0.15s ease;
}
.size-chip:hover { background: rgba(20,18,15,0.08); }
.size-chip.active { background: var(--ink); color: var(--paper); }

/* ---------- COLOR SELECTOR ---------- */
.pdp-color-row { margin-bottom: 24px; }
#selectedColorName {
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  font-weight: 700;
}
.color-options { display: flex; flex-wrap: wrap; gap: 10px; }
.color-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--line);
  padding: 0;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.color-swatch:hover { transform: scale(1.08); }
.color-swatch.active {
  border-color: var(--paper);
  box-shadow: 0 0 0 2px var(--ink);
}

/* Small color dot shown next to a cart line item's name */
.cart-color-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  border: 1px solid var(--line);
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
/* Staggered children — add .reveal-stagger to a parent, each direct child fades in slightly later */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }

/* ---------- HERO ENTRANCE ---------- */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.hero-eyebrow, h1.hero-title, .hero-copy, .hero-actions {
  opacity: 0;
  animation: heroRise 0.7s ease forwards;
}
.hero-eyebrow { animation-delay: 0.05s; }
h1.hero-title { animation-delay: 0.15s; }
.hero-copy { animation-delay: 0.3s; }
.hero-actions { animation-delay: 0.42s; }
.trading-card {
  opacity: 0;
  animation: cardDropIn 0.6s cubic-bezier(0.2,0.8,0.3,1.2) forwards;
  animation-delay: 0.3s;
}
@keyframes cardDropIn {
  from { opacity: 0; transform: rotate(2deg) translateY(-30px) scale(0.96); }
  to { opacity: 1; transform: rotate(2deg) translateY(0) scale(1); }
}
/* Gentle idle float once it's landed, so the featured card feels alive */
.trading-card { animation: cardDropIn 0.6s cubic-bezier(0.2,0.8,0.3,1.2) forwards, cardFloat 4.5s ease-in-out 0.9s infinite; }
@keyframes cardFloat {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-8px); }
}
.trading-card:hover { animation-play-state: paused; transform: rotate(0deg) translateY(-4px); box-shadow: 8px 8px 0 var(--hot); transition: transform 0.2s ease, box-shadow 0.2s ease; }

/* Logo gets a little extra life on hover */
.logo { transition: transform 0.25s ease; }
.logo:hover { transform: rotate(3deg) scale(1.05); }

/* ---------- CATEGORY CARD IMAGE ZOOM ---------- */
.cat-swatch img { transition: transform 0.35s ease; }
.cat-card:hover .cat-swatch img { transform: scale(1.08); }
.cat-link { transition: letter-spacing 0.2s ease, border-color 0.2s ease; }
.cat-card:hover .cat-link { letter-spacing: 0.09em; border-color: var(--ink); }

/* ---------- PRODUCT CARD IMAGE ZOOM ---------- */
.product-art img { transition: transform 0.35s ease; }
.product-card:hover .product-art img { transform: scale(1.06); }

/* ---------- TRUST STRIP HOVER ---------- */
.trust-item { transition: background 0.2s ease; position: relative; }
.trust-item:hover { background: rgba(20,18,15,0.04); }
.trust-item h4 { position: relative; display: inline-block; }
.trust-item h4::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--hot);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.trust-item:hover h4::after { transform: scaleX(1); }

/* ---------- NEWSLETTER POLISH ---------- */
.newsletter-form button { transition: transform 0.15s ease, box-shadow 0.15s ease; }
.newsletter-form button:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--lime); }
.newsletter-form input { transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.newsletter-form input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 2px rgba(200,255,77,0.3); }

/* ---------- MARQUEE: pause on hover so it's readable ---------- */
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- ADD-TO-CART SUCCESS POP ---------- */
@keyframes addPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.add-btn.added { animation: addPop 0.3s ease; }

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, h1.hero-title, .hero-copy, .hero-actions, .trading-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}
