:root {
  --ink: #16161a;
  --ink-2: #3a3a42;
  --muted: #6c6c75;
  --line: #e7e6e2;
  --bg: #ffffff;
  --surface: #f6f5f2;
  --tiger: #f26b1d;
  --panther: #4f2683;
  --good: #1f7a4d;
  --good-bg: #e7f4ec;
  --warn-bg: #fff4e5;
  --err: #b42318;
  --err-bg: #fdecea;
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Archivo Black", "Inter", system-ui, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
}
h2 {
  font-size: 1.15rem;
  margin-top: 1.5em;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.narrow {
  max-width: 520px;
}
.narrow-left {
  max-width: 560px;
}
.center {
  text-align: center;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.85rem;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 0.6rem;
}
.lede {
  font-size: 1.1rem;
  color: var(--ink-2);
}
.inline {
  display: inline;
}

/* ---------- Header ---------- */
.banner {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 0.82rem;
  padding: 8px 12px;
  font-weight: 500;
}
.site-header,
.admin-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.02rem;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-family: var(--display);
  font-size: 1.05rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a,
.nav .link-btn {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--ink-2);
}
.nav a:hover,
.nav a.on {
  background: var(--surface);
  color: var(--ink);
}
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--line);
  font-size: 0.75rem;
  font-weight: 700;
}
.cart-count.has {
  background: var(--ink);
  color: #fff;
}

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: 600 0.95rem var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.05s;
}
.btn:hover {
  border-color: #cfcec9;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: #2b2b33;
  border-color: #2b2b33;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-ghost {
  background: transparent;
}
.btn-block {
  width: 100%;
  padding: 15px 18px;
  font-size: 1rem;
}
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-2);
}
input,
select,
textarea {
  font: 400 1rem var(--font);
  padding: 11px 12px;
  border: 1px solid #d9d8d3;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
input:focus,
select:focus,
textarea:focus,
.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.grid-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.grid-form .span2 {
  grid-column: 1 / -1;
}
.flash {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--good-bg);
  color: var(--good);
  font-size: 0.93rem;
  margin: 0 0 16px;
}
.flash-error {
  background: var(--err-bg);
  color: var(--err);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  grid-column: 1;
}
.hero-inner > p,
.hero-inner > h1 {
  grid-column: 1;
}
.hero .lede {
  max-width: 34ch;
}
.hero-teams {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.team-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.team-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.team-card span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.team-card.tigers span {
  background: var(--tiger);
}
.team-card.panthers span {
  background: var(--panther);
}

/* ---------- Shop grid ---------- */
.shop {
  padding-top: 36px;
  padding-bottom: 64px;
  scroll-margin-top: 70px;
}
.filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  background: #fff;
}
.chip:hover {
  border-color: #cfcec9;
}
.chip.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.divider {
  width: 1px;
  height: 22px;
  background: var(--line);
  margin: 0 6px;
}
.count {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 18px 0 14px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 18px;
}
.card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.card-img {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.35s ease;
  mix-blend-mode: multiply;
}
.card:hover .card-img img {
  transform: scale(1.03);
}
.card-body {
  padding: 12px 2px 0;
}
.card-body h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin: 0 0 2px;
}
.price {
  margin: 0 0 8px;
  color: var(--ink-2);
  font-size: 0.93rem;
}
.swatches {
  display: flex;
  gap: 6px;
}
.swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}
.empty {
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
}

/* ---------- Product ---------- */
.product {
  padding-top: 18px;
  padding-bottom: 64px;
}
.crumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 6px 0 18px;
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--ink);
}
.product-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
}
.gallery {
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  position: sticky;
  top: 84px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.buybox h1 {
  margin-bottom: 6px;
}
.price-lg {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 6px;
}
.give {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--good);
  background: var(--good-bg);
  padding: 6px 10px;
  border-radius: 8px;
  margin: 4px 0 6px;
}
.option {
  margin-top: 22px;
}
.option-head {
  font-size: 0.9rem;
  margin-bottom: 10px;
  font-weight: 500;
}
.swatch-row,
.size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.swatch-lg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--sw);
  box-shadow: 0 0 0 1px #cfcec9;
  cursor: pointer;
}
.swatch-lg.on {
  box-shadow: 0 0 0 2px var(--ink);
}
.size {
  min-width: 56px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid #d9d8d3;
  background: #fff;
  font: 600 0.92rem var(--font);
  cursor: pointer;
}
.size:hover {
  border-color: var(--ink);
}
.size.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.size:disabled {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
}
.qty-row {
  margin-bottom: 22px;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d9d8d3;
  border-radius: 10px;
  overflow: hidden;
}
.qty button {
  width: 42px;
  height: 44px;
  border: 0;
  background: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}
.qty button:hover {
  background: var(--surface);
}
.qty input {
  width: 52px;
  border: 0;
  text-align: center;
  border-radius: 0;
  padding: 0;
  height: 44px;
  -moz-appearance: textfield;
}
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.qty-sm button {
  width: 32px;
  height: 32px;
  font-size: 1rem;
}
.qty-sm span {
  min-width: 28px;
  text-align: center;
  font-weight: 600;
  font-size: 0.92rem;
}
.added {
  font-size: 0.92rem;
  color: var(--good);
  margin: 10px 0 0;
}
.styles {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.style-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.style-links a {
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 0.86rem;
}
.style-links a.on {
  border-color: var(--ink);
  font-weight: 600;
}
.details {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.details summary {
  font-weight: 600;
  cursor: pointer;
}
.details ul {
  color: var(--ink-2);
  padding-left: 18px;
  font-size: 0.93rem;
}

/* ---------- Cart ---------- */
.cart-page {
  padding-top: 32px;
  padding-bottom: 64px;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.cart-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cart-line {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-thumb {
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
}
.cart-thumb img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.cart-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-info a {
  text-decoration: none;
}
.cart-info .qty {
  margin-top: 6px;
  align-self: flex-start;
}
.cart-price {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  font-size: 0.95rem;
}
.summary {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 84px;
}
.summary h2 {
  margin-top: 0;
}
.totals {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  margin: 14px 0;
  font-size: 0.95rem;
}
.totals dt,
.totals dd {
  margin: 0;
}
.totals dd {
  text-align: right;
}
.totals .strong {
  font-weight: 700;
  font-size: 1.05rem;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.summary .give {
  margin-bottom: 14px;
}
.empty-cart {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: var(--muted);
}

/* ---------- Auth / thanks / prose ---------- */
.auth,
.thanks {
  padding-top: 56px;
  padding-bottom: 80px;
}
.thanks .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--good-bg);
  color: var(--good);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  margin: 0 auto 18px;
}
.prose {
  padding-top: 40px;
  padding-bottom: 64px;
  max-width: 680px;
}
.prose h3 {
  margin-top: 1.6em;
}
.prose p {
  color: var(--ink-2);
}

/* ---------- Account ---------- */
.account {
  padding-top: 28px;
  padding-bottom: 64px;
  max-width: 1000px;
}
.account-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.account-head h1 {
  margin: 0;
}
.order-list {
  display: grid;
  gap: 12px;
}
.order-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-decoration: none;
  transition: border-color 0.15s;
}
.order-card:hover {
  border-color: #cfcec9;
}
.order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.order-card p {
  margin: 4px 0 12px;
  font-size: 0.9rem;
}
.card-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.progress {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 8px 0 4px;
  gap: 0;
}
.progress li {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  position: relative;
}
.progress li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
}
.progress li:first-child::before {
  left: 7px;
}
.progress li.done::before {
  background: var(--good);
}
.progress .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  position: relative;
}
.progress li.done {
  color: var(--ink);
  font-weight: 600;
}
.progress li.done .dot {
  background: var(--good);
  border-color: var(--good);
}
.tracking {
  background: var(--surface);
  padding: 12px 14px;
  border-radius: 10px;
}
.two-col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 16px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
}
.panel h2:first-child {
  margin-top: 0;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.panel-head a {
  font-size: 0.88rem;
}
.line-items {
  list-style: none;
  padding: 0;
  margin: 0;
}
.line-items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.line-items li div {
  display: flex;
  flex-direction: column;
}
address {
  font-style: normal;
  line-height: 1.6;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--line);
}
.timeline li {
  padding: 0 0 14px 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  font-size: 0.92rem;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
}

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  vertical-align: middle;
  background: var(--surface);
  color: var(--ink-2);
}
.badge-paid {
  background: #e8f0fe;
  color: #1a4fb5;
}
.badge-in_production {
  background: var(--warn-bg);
  color: #a15c00;
}
.badge-shipped {
  background: var(--good-bg);
  color: var(--good);
}
.badge-delivered {
  background: #1f7a4d;
  color: #fff;
}
.badge-cancelled {
  background: var(--err-bg);
  color: var(--err);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.footer-inner p {
  margin: 0;
}

/* ---------- Admin ---------- */
body.admin {
  background: var(--surface);
}
.admin-main {
  padding-top: 28px;
  padding-bottom: 64px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.page-head h1 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 18px 0;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}
.stat span {
  color: var(--muted);
  font-size: 0.85rem;
}
.stat b {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}
.stat.accent {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.stat.accent span {
  color: #c9c9cf;
}
.stat.link:hover {
  border-color: #cfcec9;
}
.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
}
.status-strip a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.toolbar input {
  flex: 1;
  min-width: 220px;
}
.toolbar select {
  width: auto;
}
.table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: 10px;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.table th {
  text-align: left;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 10px;
  border-bottom: 1px solid var(--line);
}
.table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.table tr:last-child td {
  border-bottom: 0;
}
.table .num {
  text-align: right;
  white-space: nowrap;
}
.table a {
  text-decoration: none;
  white-space: nowrap;
}
.nav .link-btn {
  text-decoration: none;
}
.nav form {
  margin: 0;
}
.table a:hover {
  text-decoration: underline;
}
.admin .panel {
  margin-bottom: 0;
}
.admin .two-col > .stack {
  gap: 24px;
}
textarea {
  resize: vertical;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 36px;
    padding-bottom: 36px;
    gap: 20px;
  }
  .hero-teams {
    grid-column: 1;
    grid-row: auto;
  }
  .product-grid,
  .cart-layout,
  .two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .gallery,
  .summary {
    position: static;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
  }
}
@media (max-width: 560px) {
  .wrap {
    padding: 0 16px;
  }
  .brand span:last-child {
    display: none;
  }
  .nav a,
  .nav .link-btn {
    padding: 8px 9px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-form {
    grid-template-columns: 1fr;
  }
  .cart-line {
    grid-template-columns: 72px 1fr;
  }
  .cart-price {
    grid-column: 2;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .progress li {
    font-size: 0.7rem;
  }
  .divider {
    display: none;
  }
  .admin-header .header-inner {
    height: auto;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .admin-header .nav {
    flex-wrap: wrap;
  }
}
