/* ============================================================
   CURVA — kits from the loud end
   Palette: chalk paper / pitch green ink / matchday red
   Type: Anton (display) · Barlow (body) · IBM Plex Mono (meta)
   ============================================================ */

:root {
  --paper: #F1F2ED;
  --white: #FFFFFF;
  --ink: #14261B;
  --pitch: #0E3D28;
  --pitch-deep: #092A1C;
  --red: #E8362B;
  --line: rgba(20, 38, 27, 0.15);
  --line-soft: rgba(20, 38, 27, 0.08);
  --display: 'Anton', 'Arial Black', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --pad: clamp(16px, 4vw, 48px);
  --radius: 4px;
}

* { box-sizing: border-box; }

/* the hidden attribute always wins, whatever display a class sets */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3 { line-height: 1.05; margin: 0; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--white);
  padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- utility type ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.display {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 400;
}

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 20px;
  padding: 0 var(--pad);
  height: 62px;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.wordmark {
  font-family: var(--display);
  font-size: 28px;
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1;
}
.wordmark-dot { color: var(--red); }

.main-nav { display: flex; gap: 4px; margin-left: 12px; }
.main-nav a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: var(--radius);
}
.main-nav a:hover { background: var(--ink); color: var(--paper); }
.main-nav .nav-wc { color: var(--red); }
.main-nav .nav-wc:hover { background: var(--red); color: var(--white); }
.nav-mobile-extra { display: contents; }
/* mid widths: keep the six core links, tuck the rest behind the burger pages */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-mobile-extra { display: none; }
}

.header-actions { margin-left: auto; display: flex; gap: 4px; align-items: center; }

.cur-sel {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 6px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.cur-sel:hover { background: var(--white); }

.icon-btn {
  background: none; border: none; color: var(--ink);
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  font-size: 16px;
}
.icon-btn:hover { background: var(--ink); color: var(--paper); }
.icon-btn svg { width: 21px; height: 21px; }

.cart-btn { position: relative; }
.cart-count[hidden] { display: none; }
.cart-count {
  position: absolute; top: 2px; right: 0;
  background: var(--red); color: var(--white);
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px;
  display: grid; place-items: center;
  line-height: 1;
}

.nav-burger { display: none; background: none; border: none; padding: 8px; }
.nav-burger span {
  display: block; width: 22px; height: 2.5px;
  background: var(--ink); margin: 4.5px 0;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- LED ticker (signature) ---------- */

.ticker {
  background: var(--pitch-deep);
  color: #9FE870;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  padding: 7px 0;
}
.ticker-track {
  display: flex; gap: 48px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: ticker 40s linear infinite;
  width: max-content;
}
.ticker-track em { font-style: normal; color: var(--paper); }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- search bar ---------- */

.search-bar {
  border-bottom: 2px solid var(--ink);
  background: var(--white);
  padding: 10px var(--pad);
}
.search-bar form { display: flex; align-items: center; gap: 12px; max-width: 720px; margin: 0 auto; }
.search-bar svg { width: 20px; height: 20px; flex: none; }
.search-bar input {
  flex: 1; border: none; background: none;
  font-family: var(--body); font-size: 17px;
  padding: 8px 0; color: var(--ink);
}
.search-bar input:focus { outline: none; }
.search-close { background: none; border: none; font-size: 15px; padding: 8px; }

/* ---------- hero ---------- */

.hero {
  background: var(--pitch);
  color: var(--paper);
  padding: clamp(40px, 7vw, 90px) var(--pad) clamp(36px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* halfway line + centre circle, chalked onto the pitch */
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 100% 50%, transparent 118px, rgba(242,243,237,0.13) 119px, rgba(242,243,237,0.13) 121px, transparent 122px),
    linear-gradient(rgba(242,243,237,0.13), rgba(242,243,237,0.13)) right 160px top 0 / 2px 100% no-repeat;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  display: grid; gap: 40px;
  align-items: center;
}
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.05fr 0.95fr; } }
.hero .eyebrow { color: #9FE870; display: block; margin-bottom: 18px; }
.hero h1 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(52px, 11vw, 138px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  margin: 0 0 24px;
}
.hero h1 .accent { color: var(--red); -webkit-text-stroke: 0; }
.hero-sub {
  max-width: 520px;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 500;
  margin: 0 0 32px;
  color: rgba(242, 243, 237, 0.85);
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* the kit wall — our own product shots, tilted like a shop display */
.hero-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  transform: rotate(-4deg) scale(1.08);
}
.hero-wall img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(242, 243, 237, 0.18);
  background: var(--white);
}
.hero-wall img:nth-child(3n) { transform: translateY(10px); }
.hero-wall img:nth-child(3n+1) { transform: translateY(-6px); }
@media (max-width: 899px) {
  .hero-wall {
    grid-template-columns: repeat(5, minmax(72px, 1fr));
    transform: rotate(-3deg) scale(1.06);
    margin-top: 4px;
  }
  .hero-wall img:nth-child(n+11) { display: none; }
}

/* ---------- stats bar ---------- */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 2px solid var(--ink);
  background: var(--white);
}
@media (min-width: 720px) { .stats-bar { grid-template-columns: repeat(4, 1fr); } }
.stats-bar span {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-align: center;
  padding: 14px 10px;
  border-top: 2px solid var(--ink);
  color: rgba(20,38,27,0.65);
}
.stats-bar span + span { border-left: 1px solid var(--line); }
.stats-bar em { font-style: normal; color: var(--red); font-weight: 600; margin-right: 6px; }

/* ---------- World Cup panel ---------- */

.wc-panel {
  background: var(--pitch-deep);
  color: var(--paper);
}
.wc-panel .section-head h2 { color: var(--paper); }
.wc-eyebrow { color: #9FE870; display: block; margin-bottom: 8px; }
.wc-all { color: var(--paper); }
.nation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (min-width: 680px)  { .nation-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1080px) { .nation-grid { grid-template-columns: repeat(6, 1fr); gap: 16px; } }
.nation-tile {
  text-decoration: none;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease;
}
.nation-tile:hover { transform: translateY(-4px); }
.nation-tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.nation-tile span {
  display: block;
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-align: center;
  padding: 9px 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nation-tile:hover span { background: var(--red); color: var(--white); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 14px 26px;
  background: var(--ink);
  color: var(--paper);
  transition: transform 0.12s ease, background 0.15s;
}
.btn:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.btn.red { background: var(--red); border-color: var(--red); color: var(--white); }
.btn.red:hover { background: var(--ink); border-color: var(--ink); }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- sections ---------- */

.section { padding: clamp(40px, 6vw, 80px) var(--pad); max-width: 1400px; margin: 0 auto; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: clamp(20px, 3vw, 36px);
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(30px, 5vw, 54px);
}
.section-head .all-link {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}
.section-head .all-link:hover { color: var(--red); }

/* ---------- teamsheet (collections) ---------- */

.teamsheet { border-top: 2px solid var(--ink); }
.teamsheet-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 2px solid var(--ink);
  text-decoration: none;
  position: relative;
}
.teamsheet-row .ts-thumb {
  width: 72px; height: 72px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid; place-items: center;
}
.teamsheet-row .ts-thumb img { width: 100%; height: 100%; object-fit: cover; }
.teamsheet-row .ts-name {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(24px, 4.5vw, 44px);
  line-height: 1;
  transition: transform 0.15s ease;
}
.teamsheet-row .ts-blurb {
  font-size: 14px; color: rgba(20,38,27,0.65);
  margin-top: 4px; max-width: 560px;
  display: none;
}
.teamsheet-row .ts-count {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  white-space: nowrap;
}
.teamsheet-row:hover { background: var(--white); }
.teamsheet-row:hover .ts-name { transform: translateX(8px); color: var(--red); }
@media (min-width: 720px) {
  .teamsheet-row .ts-blurb { display: block; }
}

/* ---------- product grid & cards ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 680px)  { .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1080px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.card {
  text-decoration: none;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(20, 38, 27, 0.12);
}
.card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #EDEEE8;
  overflow: hidden;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.25s ease;
}
.card-media img.alt {
  position: absolute; inset: 0; opacity: 0;
}
.card:hover .card-media img.alt { opacity: 1; }
.card-badges {
  position: absolute; top: 10px; left: 10px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
}
.card-badge {
  background: var(--red); color: var(--white);
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
}
.card-badge.bs { background: var(--ink); color: var(--paper); }
.card-badge.wc { background: #9FE870; color: var(--pitch-deep); }
.card-body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card-team {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(20,38,27,0.55);
}
.card-title {
  font-size: 14px; font-weight: 600; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-price {
  margin-top: auto; padding-top: 6px;
  font-family: var(--mono); font-size: 14px; font-weight: 600;
  display: flex; gap: 10px; align-items: baseline;
}
.card-price .was {
  color: rgba(20,38,27,0.45);
  text-decoration: line-through;
  font-size: 12px; font-weight: 400;
}

/* ---------- collection page ---------- */

.collection-hero {
  background: var(--pitch);
  color: var(--paper);
  padding: clamp(32px, 5vw, 64px) var(--pad);
}
.collection-hero .eyebrow { color: #9FE870; }
.collection-hero h1 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(40px, 8vw, 96px);
  margin: 10px 0 8px;
}
.collection-hero p { max-width: 560px; margin: 0; color: rgba(242,243,237,0.85); }

.toolbar {
  display: flex; gap: 12px; align-items: center;
  flex-wrap: wrap;
  padding: 16px var(--pad);
  border-bottom: 1px solid var(--line);
  max-width: 1400px; margin: 0 auto;
}
.toolbar .result-count { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }
.toolbar select {
  margin-left: auto;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.05em;
  padding: 9px 12px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.chip-row {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 14px var(--pad) 2px;
  max-width: 1400px; margin: 0 auto;
  scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  background: transparent;
  color: var(--ink);
}
.chip:hover { background: var(--white); }
.chip.active { background: var(--ink); color: var(--paper); }

/* ---------- product page ---------- */

.pdp {
  display: grid; gap: clamp(24px, 4vw, 56px);
  padding: clamp(24px, 4vw, 56px) var(--pad);
  max-width: 1240px; margin: 0 auto;
}
@media (min-width: 900px) { .pdp { grid-template-columns: 1.15fr 1fr; align-items: start; } }

.pdp-gallery { display: flex; flex-direction: column; gap: 10px; }
.pdp-main {
  aspect-ratio: 1 / 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.pdp-thumbs::-webkit-scrollbar { display: none; }
.pdp-thumbs button {
  flex: none; width: 68px; height: 68px;
  border: 2px solid transparent; border-radius: var(--radius);
  padding: 0; overflow: hidden; background: var(--white);
}
.pdp-thumbs button.active { border-color: var(--ink); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info .card-team { font-size: 11px; }
.pdp-info h1 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.05;
  margin: 8px 0 14px;
}
.pdp-price {
  font-family: var(--mono); font-size: 22px; font-weight: 600;
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 6px;
}
.pdp-price .was { font-size: 15px; font-weight: 400; color: rgba(20,38,27,0.45); text-decoration: line-through; }
.pdp-price .save {
  font-size: 11px; background: var(--red); color: var(--white);
  padding: 3px 8px; border-radius: 2px; letter-spacing: 0.06em;
}
.pdp-ship-note { font-size: 13px; color: rgba(20,38,27,0.6); margin: 0 0 22px; }

.size-label {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 10px;
}
.size-error { color: var(--red); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; display: none; }
.size-error.show { display: inline; }
.size-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.size-btn {
  min-width: 58px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  padding: 11px 14px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: transparent; color: var(--ink);
}
.size-btn:hover { background: var(--white); }
.size-btn.active { background: var(--ink); color: var(--paper); }

.qty-row { display: flex; gap: 12px; margin-bottom: 12px; }
.qty {
  display: inline-flex; align-items: center;
  border: 2px solid var(--ink); border-radius: var(--radius);
}
.qty button {
  width: 44px; height: 50px; background: none; border: none;
  font-size: 18px; font-weight: 600; color: var(--ink);
}
.qty button:hover { background: var(--white); }
.qty span {
  min-width: 36px; text-align: center;
  font-family: var(--mono); font-weight: 600;
}
.qty-row .btn { flex: 1; }

.pdp-details { margin-top: 26px; border-top: 1px solid var(--line); }
.pdp-details details { border-bottom: 1px solid var(--line); }
.pdp-details summary {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 15px 0; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.pdp-details summary::after { content: '+'; font-size: 16px; }
.pdp-details details[open] summary::after { content: '–'; }
.pdp-details p, .pdp-details ul { font-size: 14px; margin: 0 0 16px; color: rgba(20,38,27,0.8); }
.pdp-details ul { padding-left: 18px; }

/* ---------- cart drawer ---------- */

.drawer-overlay {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(9, 42, 28, 0.55);
}
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 160;
  width: min(430px, 100vw);
  background: var(--paper);
  border-left: 2px solid var(--ink);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  visibility: hidden;
}
.cart-drawer.open { transform: translateX(0); visibility: visible; }
@media (prefers-reduced-motion: reduce) { .cart-drawer { transition: none; } }

.cart-drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
  border-bottom: 2px solid var(--ink);
}
.cart-drawer-head h2 { font-family: var(--display); text-transform: uppercase; font-size: 24px; }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-empty { text-align: center; padding: 48px 12px; }
.cart-empty .display { font-size: 26px; margin-bottom: 10px; }
.cart-empty p { color: rgba(20,38,27,0.6); margin: 0 0 20px; }

.cart-line {
  display: grid; grid-template-columns: 76px 1fr;
  gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line img {
  width: 76px; height: 76px; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white);
}
.cart-line-title { font-size: 13px; font-weight: 600; line-height: 1.3; margin: 0 0 2px; }
.cart-line-meta { font-family: var(--mono); font-size: 11px; color: rgba(20,38,27,0.55); }
.cart-line-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px;
}
.cart-line-row .qty { border-width: 1.5px; }
.cart-line-row .qty button { width: 30px; height: 30px; font-size: 14px; }
.cart-line-row .qty span { min-width: 26px; font-size: 12px; }
.cart-line-price { font-family: var(--mono); font-size: 13px; font-weight: 600; }
.cart-line-remove {
  background: none; border: none; padding: 2px 0;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: underline;
  color: rgba(20,38,27,0.55);
}
.cart-line-remove:hover { color: var(--red); }

.cart-foot { border-top: 2px solid var(--ink); padding: 16px 20px; background: var(--white); }
.cart-subtotal {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-weight: 600; font-size: 15px;
  margin-bottom: 6px;
}
.cart-ship-hint { font-size: 12px; color: rgba(20,38,27,0.6); margin: 0 0 14px; }
.cart-ship-hint strong { color: var(--red); }

/* ---------- checkout ---------- */

.checkout { max-width: 1100px; margin: 0 auto; padding: clamp(24px, 4vw, 56px) var(--pad); }
.checkout h1 { font-family: var(--display); text-transform: uppercase; font-size: clamp(32px, 6vw, 60px); margin-bottom: 8px; }
.checkout-note {
  font-size: 14px; color: rgba(20,38,27,0.7);
  margin: 0 0 28px; max-width: 640px;
}
.checkout-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .checkout-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 6px;
}
.field input, .field select {
  width: 100%;
  font-family: var(--body); font-size: 16px;
  padding: 13px 14px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field select:focus { outline: 3px solid var(--red); outline-offset: 1px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field .err { color: var(--red); font-size: 12px; margin-top: 4px; display: none; }
.field.invalid input { border-color: var(--red); }
.field.invalid .err { display: block; }

.order-summary {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 20px;
}
.order-summary h2 { font-family: var(--display); text-transform: uppercase; font-size: 22px; margin-bottom: 14px; }
.summary-line {
  display: grid; grid-template-columns: 52px 1fr auto;
  gap: 12px; align-items: center;
  padding: 8px 0;
  font-size: 13px;
}
.summary-line img { width: 52px; height: 52px; object-fit: cover; border: 1px solid var(--line); border-radius: 2px; }
.summary-line .meta { font-family: var(--mono); font-size: 11px; color: rgba(20,38,27,0.55); }
.summary-line .amt { font-family: var(--mono); font-weight: 600; }
.summary-totals { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.summary-totals div {
  display: flex; justify-content: space-between;
  font-size: 14px; padding: 3px 0;
}
.summary-totals .grand {
  font-family: var(--mono); font-weight: 600; font-size: 17px;
  border-top: 2px solid var(--ink);
  margin-top: 8px; padding-top: 10px;
}
.summary-totals .gbp-note {
  font-family: var(--mono); font-size: 12px;
  color: rgba(20,38,27,0.55);
}
.pay-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(20,38,27,0.65);
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
}

/* ---------- success page ---------- */

.success {
  max-width: 720px; margin: 0 auto;
  padding: clamp(48px, 8vw, 110px) var(--pad);
  text-align: center;
}
.success .fulltime {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red);
}
.success h1 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(44px, 9vw, 90px);
  margin: 12px 0 16px;
}
.success .ref {
  font-family: var(--mono); font-size: 14px;
  background: var(--white); border: 2px solid var(--ink);
  border-radius: var(--radius);
  display: inline-block; padding: 10px 18px;
  margin-bottom: 18px;
}
.success p { color: rgba(20,38,27,0.7); max-width: 460px; margin: 0 auto 28px; }

/* ---------- static pages ---------- */

.page { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--pad); }
.page h1 { font-family: var(--display); text-transform: uppercase; font-size: clamp(36px, 7vw, 64px); margin-bottom: 20px; }
.page h2 { font-size: 20px; margin: 28px 0 8px; }
.page table { width: 100%; border-collapse: collapse; font-size: 14px; font-family: var(--mono); }
.page th, .page td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.page th { background: var(--white); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--pitch-deep);
  color: var(--paper);
  margin-top: clamp(40px, 6vw, 80px);
}
.footer-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  padding: clamp(36px, 6vw, 64px) var(--pad);
  max-width: 1400px; margin: 0 auto;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-wordmark { font-family: var(--display); font-size: 34px; }
.footer-wordmark span { color: var(--red); }
.footer-brand p { color: rgba(242,243,237,0.6); font-size: 14px; max-width: 300px; }
.footer-col h4 {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #9FE870; margin: 0 0 14px;
}
.footer-col a {
  display: block; text-decoration: none;
  font-size: 14px; padding: 4px 0;
  color: rgba(242,243,237,0.8);
}
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 18px var(--pad);
  border-top: 1px solid rgba(242,243,237,0.15);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: rgba(242,243,237,0.5);
  max-width: 1400px; margin: 0 auto;
}
.footer-score { color: #9FE870; }

/* ---------- toast ---------- */

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300;
  transform: translateX(-50%);
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.05em;
  padding: 12px 20px;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(9,42,28,0.35);
  max-width: calc(100vw - 32px);
  text-align: center;
}

/* ---------- admin / kit room ---------- */

.admin-tag {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--pitch-deep); color: #9FE870;
  padding: 5px 10px; border-radius: 20px;
}
.admin-main { max-width: 1200px; margin: 0 auto; padding: clamp(20px, 4vw, 48px) var(--pad); }
.admin-main h1 { font-family: var(--display); text-transform: uppercase; font-size: clamp(30px, 5vw, 52px); margin-bottom: 6px; }
.admin-sub { color: rgba(20,38,27,0.6); font-size: 14px; margin: 0 0 26px; }

.admin-setup { max-width: 560px; }
.admin-setup ol { font-size: 14px; padding-left: 20px; color: rgba(20,38,27,0.8); }
.admin-setup ol li { margin-bottom: 6px; }
.key-warn {
  font-size: 13px; background: #FDF3E7; border: 1px solid #E8B96A;
  border-radius: var(--radius); padding: 10px 14px; margin: 16px 0;
}

.stat-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin-bottom: 24px;
}
@media (min-width: 760px) { .stat-cards { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 14px 16px;
}
.stat-card .stat-label {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(20,38,27,0.55); display: block; margin-bottom: 4px;
}
.stat-card .stat-value { font-family: var(--display); font-size: 28px; line-height: 1; }

.admin-toolbar {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  margin-bottom: 16px;
}
.admin-toolbar input[type="search"] {
  flex: 1; min-width: 180px;
  font-family: var(--body); font-size: 14px;
  padding: 10px 12px;
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  background: var(--white); color: var(--ink);
}
.admin-toolbar select {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  padding: 10px 12px;
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  background: var(--white); color: var(--ink);
}

.orders-table { display: flex; flex-direction: column; gap: 10px; }
.order-row {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.order-head {
  display: grid;
  grid-template-columns: 110px 1.4fr 1fr 90px 150px 30px;
  gap: 12px; align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 13px;
}
@media (max-width: 820px) {
  .order-head { grid-template-columns: 1fr auto; }
  .order-head .oh-date, .order-head .oh-items, .order-head .oh-status { display: none; }
}
.oh-date { font-family: var(--mono); font-size: 11px; color: rgba(20,38,27,0.6); }
.oh-ref { font-family: var(--mono); font-size: 11px; }
.oh-customer strong { display: block; font-size: 13px; }
.oh-customer span { font-size: 12px; color: rgba(20,38,27,0.6); }
.oh-items { font-family: var(--mono); font-size: 11px; color: rgba(20,38,27,0.6); }
.oh-total { font-family: var(--mono); font-weight: 600; font-size: 14px; }
.oh-caret { text-align: center; color: rgba(20,38,27,0.4); }

.status-pill {
  display: inline-block;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px;
}
.status-pending_payment { background: #FDF3E7; color: #9A6A1B; border: 1px solid #E8B96A; }
.status-paid       { background: #E8F5E4; color: #1E6B34; border: 1px solid #7CC98F; }
.status-shipped    { background: #E7F0FD; color: #1B4F9A; border: 1px solid #6AA3E8; }
.status-delivered  { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.status-cancelled  { background: #FBE9E7; color: #A82B1D; border: 1px solid #E88A6A; }
.status-refunded   { background: #EEEEEA; color: #666; border: 1px solid #CCC; }
.status-test       { background: #F3E7FD; color: #6A1B9A; border: 1px solid #C06AE8; }

.order-detail {
  border-top: 1px solid var(--line);
  padding: 14px 16px;
  display: grid; gap: 18px;
  font-size: 13px;
}
@media (min-width: 760px) { .order-detail { grid-template-columns: 1.3fr 1fr 1fr; } }
.order-detail h4 {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(20,38,27,0.55); margin: 0 0 8px;
}
.od-item { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.od-item .mono { font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.order-detail address { font-style: normal; line-height: 1.6; }
.od-status select {
  width: 100%;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  padding: 9px 10px;
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  background: var(--white); color: var(--ink);
}
.admin-empty {
  text-align: center; padding: 60px 20px;
  color: rgba(20,38,27,0.6);
}
.admin-empty .display { font-size: 26px; color: var(--ink); margin-bottom: 8px; }
.admin-note { font-size: 12px; color: rgba(20,38,27,0.5); margin-top: 20px; }

/* ---------- mobile nav ---------- */

@media (max-width: 1023px) {
  .nav-burger { display: block; }
  .main-nav {
    display: none;
    position: fixed; top: 62px; left: 0; right: 0; bottom: 0;
    z-index: 90;
    background: var(--paper);
    flex-direction: column;
    padding: 20px var(--pad);
    gap: 0;
    margin: 0;
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    font-family: var(--display);
    font-size: 34px;
    letter-spacing: 0.01em;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .main-nav a:hover { background: none; color: var(--red); }
  .wordmark { font-size: 24px; }
}
