:root {
  --bg: #0d0d0f;
  --panel: #17171b;
  --panel-2: #1f1f24;
  --gold: #c9a227;
  --gold-bright: #e8c85a;
  --text: #f2efe6;
  --muted: #a49f8f;
  --line: #2c2c33;
  --error: #ff7a6b;
  --ok: #8fd18b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.5;
}
.hero {
  text-align: center;
  padding: 3rem 1.25rem 2rem;
  background: radial-gradient(ellipse at top, #23230f 0%, var(--bg) 65%);
  border-bottom: 2px solid var(--gold);
}
.eyebrow {
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.75rem;
  margin: 0 0 0.75rem;
}
.hero h1 {
  font-size: 3rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
}
.verse { font-style: italic; font-size: 1.15rem; max-width: 34rem; margin: 1rem auto 0.25rem; }
.verse-ref { color: var(--gold); margin: 0; letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.8rem; }
.fund-line { color: var(--text); font-weight: bold; margin-top: 1.25rem; }
.wrap { max-width: 56rem; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
.product { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 720px) { .product { grid-template-columns: 1fr 1fr; align-items: center; } }
.shirt { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #000; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumb { flex: 1; padding: 9px 4px; background: transparent; border: 1px solid var(--line); border-radius: 6px; color: inherit; font: inherit; font-size: 0.85rem; cursor: pointer; }
.thumb.is-active { border-color: #c9a227; color: #c9a227; }
.product-info h2 { margin-top: 0; color: var(--gold-bright); }
.price-line { font-size: 1.35rem; }
.price-line #base-price { color: var(--gold-bright); font-weight: bold; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.order-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem;
}
.order-card h2 { margin-top: 0; color: var(--gold-bright); }
fieldset { border: 1px solid var(--line); border-radius: 8px; margin: 0 0 1.25rem; padding: 1rem; }
legend { color: var(--gold); padding: 0 0.5rem; letter-spacing: 0.05em; }
label { display: block; margin-bottom: 0.9rem; font-size: 0.95rem; }
input, select, textarea {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.6rem;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); }
.item-row { display: grid; grid-template-columns: 1fr 6rem auto; gap: 0.6rem; align-items: end; margin-bottom: 0.6rem; }
.item-row label { margin-bottom: 0; }
.btn-gold {
  background: var(--gold);
  color: #141005;
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1.5rem;
  font: inherit;
  font-size: 1.05rem;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
}
.btn-gold:hover { background: var(--gold-bright); }
.btn-gold:disabled { opacity: 0.6; cursor: wait; }
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  cursor: pointer;
}
.btn-danger-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.6rem 0.7rem;
  font: inherit;
  cursor: pointer;
}
.summary {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  font-size: 0.98rem;
}
.summary .row { display: flex; justify-content: space-between; margin: 0.2rem 0; }
.summary .total { border-top: 1px solid var(--gold); padding-top: 0.5rem; margin-top: 0.5rem; font-weight: bold; color: var(--gold-bright); font-size: 1.1rem; }
.error { color: var(--error); }
.success { text-align: center; padding: 1rem 0; }
.success h3 { color: var(--ok); }
.foot { text-align: center; margin-top: 2.5rem; }
a { color: var(--gold); }

/* Login + dashboard */
.center-card { max-width: 26rem; margin: 4rem auto; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 2rem; }
.center-card h1 { color: var(--gold-bright); font-size: 1.6rem; margin-top: 0; }
.dash-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1.25rem 0; border-bottom: 2px solid var(--gold); }
.dash-head h1 { color: var(--gold-bright); margin: 0; font-size: 1.8rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; }
.stat .num { font-size: 1.5rem; color: var(--gold-bright); font-weight: bold; }
.stat .lbl { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { border-bottom: 1px solid var(--line); padding: 0.5rem 0.4rem; text-align: left; vertical-align: top; }
th { color: var(--gold); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.08em; }
section.block { margin: 2rem 0; }
section.block h2 { color: var(--gold-bright); }
.inline-form { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: end; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; }
.inline-form label { margin: 0; flex: 1 1 8rem; }
.badge { display: inline-block; padding: 0.1rem 0.55rem; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-bright); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
select.status-select { width: auto; margin: 0; padding: 0.35rem; }
input.tracking-input { width: 10rem; margin: 0; padding: 0.35rem; }
.small-btn { background: var(--gold); color: #141005; border: none; border-radius: 6px; padding: 0.4rem 0.8rem; font: inherit; font-size: 0.85rem; font-weight: bold; cursor: pointer; }

/* --- Image zoom lightbox --- */
.gallery .shirt { cursor: zoom-in; }
.zoom-hint { margin-top: 8px; font-size: 0.82rem; color: var(--gold, #c9a227); text-align: center; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 8, 14, 0.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; cursor: zoom-in; touch-action: none; user-select: none; -webkit-user-drag: none; border-radius: 6px; }
.lb-close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #c9a227; background: rgba(10, 16, 28, 0.85); color: #f1d27a; font-size: 1.6rem; line-height: 1; cursor: pointer; z-index: 2; }
.lb-hint { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #cfd6e4; font-size: 0.85rem; margin: 0; pointer-events: none; }
