:root {
  --black: #0d0d0d;
  --ink: #161616;
  --paper: #f5f5f3;
  --white: #fff;
  --red: #d7141a;
  --yellow: #ffd200;
  --grey: #6b6b6b;
  --line: #e2e2df;
  --radius: 10px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Montserrat, system-ui, sans-serif; color: var(--ink); background: var(--paper); font-weight: 500; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.top { background: var(--black); color: var(--white); display: flex; align-items: center; justify-content: space-between; padding: 12px clamp(16px, 4vw, 48px); gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; letter-spacing: .06em; font-size: 20px; }
.brand em { font-style: normal; color: var(--yellow); }
.top nav { display: flex; gap: 20px; font-size: 14px; font-weight: 700; }
.top nav a { text-decoration: none; opacity: .9; }
.top nav a:hover { opacity: 1; color: var(--yellow); }
.pill { display: inline-block; background: var(--yellow); color: var(--black); border-radius: 999px; padding: 1px 8px; font-size: 12px; font-weight: 900; }
.stripe-bar { height: 6px; background: repeating-linear-gradient(90deg, var(--yellow) 0 40px, var(--red) 40px 80px); }

main { max-width: 1180px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 32px) 64px; }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; background: var(--black); color: var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); margin-bottom: 28px; overflow: hidden; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 900; line-height: 1; margin: 8px 0 16px; text-transform: uppercase; }
.hero p { color: #d6d6d6; max-width: 46ch; line-height: 1.55; }
.hero-img img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; background: #1d1d1d; }
.eyebrow { color: var(--yellow) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; margin: 0; }

.btn { display: inline-block; background: var(--red); color: var(--white); border: 0; border-radius: 999px; padding: 14px 28px; font: inherit; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; cursor: pointer; }
.btn:hover { background: #b70f14; }
.btn:disabled { background: #9a9a9a; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: 10px 20px; }
.link { background: none; border: 0; color: var(--red); font: inherit; cursor: pointer; text-decoration: underline; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filters a { text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 14px; font-weight: 700; }
.filters a.on { background: var(--black); color: var(--yellow); border-color: var(--black); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.card-img { aspect-ratio: 1; background: #e6e6e4; }
.card-img img { width: 100%; height: 100%; object-fit: contain; } /* whole photo, never cropped */
.card-body { padding: 14px 16px 18px; }
.card-body h2 { font-size: 16px; margin: 4px 0 8px; font-weight: 700; }
.card-cat { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--grey); font-weight: 700; }
.price { font-weight: 900; }
.price.big { font-size: 26px; margin: 4px 0 12px; }

.crumbs { font-size: 13px; color: var(--grey); margin: 0 0 16px; }
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; }
.main-img { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.main-img { background: #e6e6e4; }
.main-img img { width: 100%; aspect-ratio: 1; object-fit: contain; } /* tall photos (full kit, tracksuit) show in full */
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 10px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--white); cursor: pointer; }
.thumb.on { border-color: var(--red); }
.thumb { background: #e6e6e4; }
.thumb img { aspect-ratio: 1; object-fit: contain; }
.details h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; margin: 6px 0; line-height: 1.1; }
.details p { line-height: 1.6; }
.meta { font-size: 14px; color: #3a3a3a; }

.sizes { border: 0; padding: 0; margin: 20px 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.sizes legend { font-weight: 700; margin-bottom: 8px; width: 100%; display: flex; justify-content: space-between; }
.size input { position: absolute; opacity: 0; }
.size span { display: inline-block; min-width: 54px; text-align: center; padding: 10px 12px; border: 2px solid var(--line); border-radius: 8px; background: var(--white); font-weight: 700; cursor: pointer; }
.size small { display: block; font-size: 10px; font-weight: 500; opacity: .75; }
.size input:checked + span { border-color: var(--black); background: var(--black); color: var(--yellow); }
.size input:focus-visible + span { outline: 3px solid var(--yellow); }
.size.out span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.qty { display: flex; align-items: center; gap: 10px; margin: 8px 0 20px; font-weight: 700; }
.qty input, .basket input[type=number] { width: 70px; padding: 8px; border: 2px solid var(--line); border-radius: 8px; font: inherit; }
.small { font-size: 12px; color: var(--grey); font-weight: 500; }
.bundle { margin-top: 20px; padding: 14px 18px; background: var(--white); border-left: 4px solid var(--yellow); border-radius: 8px; }
.sizeguide { margin-top: 20px; background: var(--white); border-radius: 8px; padding: 12px 16px; border: 1px solid var(--line); }
.sizeguide summary { font-weight: 700; cursor: pointer; }
.sizeguide table { border-collapse: collapse; margin-top: 10px; font-size: 13px; width: 100%; }
.sizeguide th, .sizeguide td { border: 1px solid var(--line); padding: 6px; text-align: center; }
.sizeguide h3 { font-size: 14px; margin: 16px 0 0; }
.sizeguide th { background: var(--black); color: var(--yellow); }
.sizeguide td:first-child, .sizeguide th:first-child { text-align: left; font-weight: 700; white-space: nowrap; }
.table-scroll { overflow-x: auto; }

.illus { margin: 10px 2px 0; }
.highlights { list-style: none; padding: 0; margin: 14px 0 18px; }
.highlights li { position: relative; padding: 5px 0 5px 28px; line-height: 1.45; font-size: 15px; }
.highlights li::before { content: "✓"; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--black); color: var(--yellow); font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; }

.notice { padding: 12px 16px; border-radius: 8px; background: var(--white); border-left: 4px solid var(--grey); }
.notice.ok { border-color: #1f9d55; }
.notice.err { border-color: var(--red); }

.basket table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.basket th, .basket td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.basket .r { text-align: right; }
.checkout-box { background: var(--white); border-radius: var(--radius); padding: 24px; margin-top: 24px; border: 1px solid var(--line); max-width: 560px; }
.checkout-box.narrow { margin: 40px auto; max-width: 400px; }
.opt { display: flex; gap: 10px; align-items: center; padding: 12px; border: 2px solid var(--line); border-radius: 8px; margin-bottom: 8px; cursor: pointer; }
.opt span { margin-left: auto; font-weight: 900; }
.field { display: block; margin: 16px 0; font-weight: 700; font-size: 14px; }
.field input { display: block; width: 100%; margin-top: 6px; padding: 12px; border: 2px solid var(--line); border-radius: 8px; font: inherit; }

.thanks, .prose { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); max-width: 720px; }
.prose p { line-height: 1.6; }

.admin-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.admin-stock fieldset { background: var(--white); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.admin-stock legend { font-weight: 700; padding: 0 6px; }
.admin-stock label { display: flex; flex-direction: column; font-size: 12px; font-weight: 700; }
.admin-stock input { width: 64px; padding: 6px; border: 1px solid var(--line); border-radius: 6px; }
.order { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 8px; padding: 14px 18px; margin-bottom: 12px; font-size: 14px; line-height: 1.6; }
.order.done { border-left-color: #1f9d55; opacity: .75; }

.foot { background: var(--black); color: #bdbdbd; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 28px clamp(16px, 4vw, 48px); font-size: 13px; line-height: 1.7; border-top: 6px solid var(--yellow); }
.foot strong { color: var(--white); }

@media (max-width: 780px) {
  .hero, .product { grid-template-columns: 1fr; }
  .top nav { gap: 14px; }
}

/* Admin: low stock, prices, hand-out list */
.notice.warn { border-color: #e0a100; }
.notice.warn summary { cursor: pointer; }
.admin-stock label.st-low input { border-color: #e0a100; background: #fff7e0; }
.admin-stock label.st-out input { border-color: var(--red); background: #ffe9e9; }
.admin-prices table, table.handout { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.admin-prices th, .admin-prices td, table.handout th, table.handout td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-prices input { width: 110px; padding: 8px; border: 2px solid var(--line); border-radius: 8px; font: inherit; }
table.handout .tick { font-size: 20px; text-align: center; }
@media print {
  .top, .stripe-bar, .foot, .admin-head, .noprint, .notice { display: none !important; }
  body { background: #fff; }
  main { padding: 0; }
}
.hero .highlights li { color: #e6e6e6; }
.hero .highlights li::before { background: var(--yellow); color: var(--black); }
.hero .btn { margin-top: 6px; }
