/* ===== Shared look: black + red streetwear ===== */
:root {
  --bg: #0B0B0C;
  --panel: #111113;
  --panel-2: #17171A;
  --line: #26262B;
  --line-2: #3F3F46;
  --text: #F4F4F5;
  --muted: #A1A1AA;
  --soft: #D4D4D8;
  --accent: #D90A0A;      /* owner can change this in /admin */
  --accent-text: #FF4538; /* brighter red for red text on black (readable) */
  --display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.5; }
a { color: var(--accent-text); }
a:hover { color: #FF7A70; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1; letter-spacing: 0.01em; margin: 0; }
.caps { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; font-weight: 800; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-red { background: var(--accent); color: #FFF; }
.btn-red:hover { color: #FFF; filter: brightness(1.1); }
.btn-white { background: #FFF; color: var(--bg); }
.btn-white:hover { color: var(--bg); background: #E4E4E7; }
.btn-ghost { background: transparent; color: #FFF; border-color: #FFF; }
.btn-ghost:hover { color: var(--bg); background: #FFF; }
.btn-black { background: var(--bg); color: #FFF; }
.btn-black:hover { color: #FFF; background: #222; }

.photo { background-color: var(--panel-2); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.045) 0 2px, transparent 2px 14px); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #71717A; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #FFF; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; padding: 5px 10px; text-transform: uppercase; z-index: 1; }
.tag-dark { background: var(--bg); border: 1px solid #52525B; color: #E4E4E7; font-size: 11px; }

/* ===== Storefront ===== */
/* Mobile alert: big red strip that scrolls slowly to the right, forever */
.alert-bar { background: var(--accent); color: #FFF; overflow: hidden; padding: 18px 0; border-bottom: 3px solid #0B0B0C; }
.alert-track { display: flex; width: max-content; animation: alert-right 140s linear infinite; }
.alert-group { display: flex; flex-shrink: 0; }
.alert-seg { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font-family: var(--display); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; text-transform: uppercase; letter-spacing: 0.03em; }
.alert-seg b { font-weight: 400; }
.alert-dash { font-family: var(--body); font-weight: 800; letter-spacing: 0.08em; opacity: 0.85; }
.alert-car { display: inline-block; transform: scaleX(-1); font-family: var(--body); text-transform: none; letter-spacing: 0.05em; }
@keyframes alert-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .alert-track { animation-duration: 400s; } }
.site-head { border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 16px; padding-bottom: 16px; }
.logo { font-family: var(--display); font-size: 30px; letter-spacing: 0.04em; color: #FFF; text-decoration: none; text-transform: uppercase; }
.logo:hover { color: #FFF; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.nav-links a { color: var(--soft); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 10px 0; }
.nav-links a:hover { color: #FFF; }

.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 80px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); padding: 6px 12px; color: var(--soft); }
.pill::before { content: ''; width: 8px; height: 8px; background: var(--accent); }
.hero h1 { font-size: clamp(56px, 8vw, 112px); line-height: 0.92; color: #FFF; }
.hero h1 span { color: var(--accent-text); display: block; }
.hero p { margin: 0; max-width: 460px; font-size: 18px; color: var(--muted); }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { flex: 1 1 400px; min-width: 0; height: 460px; border: 1px solid var(--line); }
.hero-photo .tag { top: 0; left: 0; font-family: var(--display); font-weight: 400; font-size: 22px; padding: 8px 16px; }

.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 36px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-head h2 { font-size: clamp(44px, 6vw, 72px); color: #FFF; }
.section-head p { margin: 0; max-width: 420px; color: var(--muted); }
.week { display: inline-block; background: #FFF; color: var(--bg); padding: 6px 12px; margin-bottom: 12px; }

.countdown { display: flex; flex-direction: column; gap: 8px; }
.clock { display: flex; gap: 8px; }
.clock div { width: 76px; background: var(--bg); border: 1px solid var(--line-2); display: flex; flex-direction: column; align-items: center; padding: 10px 0 8px; }
.clock b { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1.1; color: var(--accent-text); }
.clock span { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card .photo { height: 220px; }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.card h3 { margin: 0; font-size: 19px; font-weight: 800; color: #FFF; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.price { font-family: var(--display); font-size: 30px; color: #FFF; }
.price.red { color: var(--accent-text); }
.was { text-decoration: line-through; color: var(--muted); }
.card .btn { margin-top: 6px; min-height: 44px; }
.sold { opacity: 0.55; }
.sold .tag-dark { background: #FFF; color: var(--bg); border-color: #FFF; }

.bundles { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.bundle { border: 2px solid var(--line); background: var(--panel); padding: 28px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.bundle.featured { background: var(--accent); border-color: var(--accent); }
.bundle .num { font-family: var(--display); font-size: 56px; line-height: 1; color: var(--accent-text); }
.bundle.featured .num, .bundle.featured li, .bundle.featured .save { color: #FFF; }
.bundle h3 { margin: 0; font-size: 22px; font-weight: 800; text-transform: uppercase; }
.bundle ul { margin: 0; padding-left: 18px; color: var(--soft); display: flex; flex-direction: column; gap: 6px; }
.bundle .price-row { border-top: 1px solid var(--line); padding-top: 16px; }
.bundle.featured .price-row { border-color: rgba(255,255,255,0.4); }
.bundle .save { font-weight: 700; color: var(--soft); font-size: 14px; }
.best { position: absolute; top: -14px; right: 20px; background: #FFF; color: var(--bg); padding: 5px 10px; font-size: 12px; }

.toolbar { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; background: transparent; color: var(--soft); border: 1px solid var(--line-2); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #FFF; }
.seg { display: flex; border: 1px solid var(--line-2); }
.seg .chip { border: 0; }
.seg .chip[aria-pressed="true"] { background: #FFF; color: var(--bg); }
.table-box { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; min-width: 640px; border-collapse: collapse; }
th { text-align: left; padding: 14px 16px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
td { padding: 14px 16px; border-top: 1px solid var(--line); color: var(--soft); }
td.name { color: #FFF; font-weight: 700; }
td.money { text-align: right; font-family: var(--display); font-size: 20px; color: #FFF; }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); }

.steps { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.step { border-top: 4px solid var(--accent); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.step b { font-family: var(--display); font-weight: 400; font-size: 40px; color: var(--accent-text); }
.step h3 { margin: 0; font-size: 20px; font-weight: 800; text-transform: uppercase; }
.step p { margin: 0; color: var(--muted); }
.cta { background: var(--accent); padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta .display { font-size: 40px; color: #FFF; }
.cta p { margin: 6px 0 0; color: #FFF; font-weight: 500; }

/* ===== Locations we ship to ===== */
.ship { display: grid; gap: 24px 32px; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); grid-template-areas: "search map" "list map"; align-items: start; }
.ship-search { grid-area: search; display: flex; flex-direction: column; gap: 10px; }
.ship-search label { color: var(--soft); }
.ship-row { display: flex; border: 1px solid var(--line-2); background: var(--bg); }
.ship-row input { flex-grow: 1; min-width: 0; min-height: 52px; padding: 0 14px; background: transparent; border: 0; color: #FFF; font-size: 16px; }
.ship-row input::placeholder { color: #71717A; }
.ship-row .btn { min-height: 52px; border: 0; }
.ship-result { margin: 4px 0 0; min-height: 1.5em; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.ship-result svg { width: 22px; height: 22px; flex-shrink: 0; background: var(--accent); fill: none; stroke: #FFF; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; padding: 2px; }
.ship-result.yes { color: #FFF; font-size: 18px; }
.ship-result.no, .ship-result.miss { color: var(--soft); }
.ship-list { grid-area: list; display: flex; flex-direction: column; gap: 12px; }
.ship-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ship-chip { min-height: 36px; padding: 0 12px; background: transparent; border: 1px solid var(--line-2); color: var(--soft); font-size: 13px; font-weight: 600; cursor: pointer; }
.ship-chip:hover { border-color: var(--accent); color: #FFF; background: color-mix(in srgb, var(--accent) 18%, transparent); }

.ship-map { grid-area: map; position: relative; height: min(78vh, 780px); min-height: 420px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.ship-map > svg { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-x pan-y; user-select: none; -webkit-user-select: none; }
.ship-map.dragging > svg { cursor: grabbing; }
.ship-map path { vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: fill 0.15s; }
.ship-map path.off { fill: #19191D; stroke: #34343B; stroke-width: 0.8; }
.ship-map path.on { fill: var(--accent); stroke: #0B0B0C; stroke-width: 1; }
.ship-map path.off:hover { fill: #24242A; }
.ship-map path.on:hover { filter: brightness(1.18); }
.ship-map path.off.sel { fill: #2E2E35; }
.ship-map .ship-sel path { fill: none; stroke: #FFF; stroke-width: 2.5; pointer-events: none; }
.ship-map .ship-county { fill: none; stroke: #5A5A63; stroke-width: 1.4; stroke-dasharray: 5 4; pointer-events: none; }
.ship-labels text { pointer-events: none; text-anchor: middle; dominant-baseline: central; font-family: var(--body); paint-order: stroke; stroke-linejoin: round; }
.ship-labels text.on { fill: #FFF; font-weight: 800; stroke: rgba(11, 11, 12, 0.55); stroke-width: 0.25em; }
.ship-labels text.off { fill: #8A8A93; font-weight: 600; stroke: #0B0B0C; stroke-width: 0.3em; }

.ship-zoom { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; border: 1px solid var(--line-2); background: var(--bg); }
.ship-zoom button { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: transparent; border: 0; color: #FFF; cursor: pointer; }
.ship-zoom button + button { border-top: 1px solid var(--line-2); }
.ship-zoom button:hover { background: var(--accent); }
.ship-zoom svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: square; }
.ship-tip { position: absolute; top: 0; left: 0; pointer-events: none; background: #FFF; color: var(--bg); padding: 8px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; box-shadow: 0 6px 20px rgba(0,0,0,0.5); white-space: nowrap; z-index: 2; }
.ship-tip span { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.ship-tip span.on { color: var(--accent); }
.ship-tip span.off { color: #52525B; }
.ship-legend { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 14px; background: rgba(11, 11, 12, 0.85); border: 1px solid var(--line); padding: 8px 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.ship-legend span { display: flex; align-items: center; gap: 8px; }
.sw { width: 14px; height: 14px; display: inline-block; }
.sw-red { background: var(--accent); }
.sw-dark { background: #19191D; border: 1px solid #44444C; }
.ship-hint { position: absolute; right: 12px; bottom: 12px; margin: 0; font-size: 12px; color: var(--muted); background: rgba(11, 11, 12, 0.85); padding: 6px 10px; }
@media (max-width: 860px) {
  .ship { grid-template-columns: minmax(0, 1fr); grid-template-areas: "search" "map" "list"; }
  .ship-map { height: 72vh; min-height: 380px; }
  .ship-hint { display: none; }
}

.site-foot { border-top: 1px solid var(--line); }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
.site-foot a { color: #8A8A93; font-size: 13px; }

/* ===== Owner editor ===== */
.admin-head { border-bottom: 1px solid var(--line); padding: 12px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: 0; background: var(--bg); z-index: 5; }
.admin-head .left { display: flex; align-items: center; gap: 12px; }
.owner-badge { background: var(--accent); color: #FFF; padding: 4px 8px; font-size: 11px; }
.admin-head .right { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.status { font-size: 14px; color: var(--muted); }
.status.dirty { color: #FFB020; }
.status.err { color: #FF6B60; }
.admin-body { display: flex; flex-wrap: wrap; align-items: flex-start; }
.admin-nav { flex: 1 1 210px; max-width: 100%; padding: 20px 12px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); }
.admin-nav button { text-align: left; min-height: 44px; padding: 0 14px; background: transparent; border: 0; border-left: 3px solid transparent; color: var(--muted); font-weight: 700; font-size: 14px; cursor: pointer; }
.admin-nav button[aria-current="page"] { background: #1C1C20; color: #FFF; border-left-color: var(--accent); }
.admin-main { flex: 999 1 560px; min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 22px; max-width: 980px; }
.admin-main h1 { font-size: 44px; color: #FFF; }
.box { background: var(--panel); border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.box-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.box-head h2 { margin: 0; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.fields { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field label, .label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); }
.field input, .field select, .field textarea { min-height: 44px; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line-2); color: #FFF; font-size: 15px; color-scheme: dark; width: 100%; }
.field textarea { min-height: 80px; resize: vertical; }
.field input[type="color"] { padding: 4px; height: 44px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; color: #E4E4E7; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.item { display: flex; flex-wrap: wrap; gap: 18px; }
.item .fields { flex: 1 1 320px; }
.uploader { flex: 0 0 140px; display: flex; flex-direction: column; gap: 8px; }
.uploader .photo { height: 140px; border: 1px dashed #52525B; font-size: 13px; font-weight: 700; }
.uploader label { min-height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); color: var(--soft); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.uploader label:hover { border-color: #FFF; color: #FFF; }
.uploader button { min-height: 36px; background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; }
.small-btn { min-height: 44px; padding: 0 14px; background: transparent; border: 1px solid var(--line-2); color: var(--soft); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.small-btn:hover { border-color: #FFF; color: #FFF; }
.small-btn:disabled { opacity: 0.35; cursor: default; }
.add-btn { min-height: 56px; background: transparent; border: 2px dashed #52525B; color: #FFF; font-size: 14px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.add-btn:hover { border-color: #FFF; }
.hint { margin: 0; font-size: 14px; color: var(--muted); }

.login { min-height: 100vh; display: flex; flex-direction: column; }
.login::before { content: ''; height: 6px; background: var(--accent); }
.login-main { flex-grow: 1; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.login form { width: 100%; max-width: 420px; background: var(--panel); border: 1px solid var(--line); padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.login .logo { font-size: 28px; }
.login h1 { margin: 0; font-size: 22px; }
.pw { display: flex; border: 1px solid var(--line-2); background: var(--bg); }
.pw input { flex-grow: 1; min-width: 0; border: 0; min-height: 48px; padding: 0 14px; background: transparent; color: #FFF; font-size: 16px; }
.pw button { min-width: 72px; background: transparent; border: 0; border-left: 1px solid var(--line-2); color: var(--soft); font-size: 13px; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.error { margin: 0; color: #FF6B60; font-weight: 600; min-height: 1.5em; }

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .hero { padding-top: 40px; padding-bottom: 56px; gap: 32px; }
  .hero-photo { height: 320px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .clock div { width: 64px; }
  .cta { padding: 28px; }
  .admin-nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px; }
  .admin-nav button { border-left: 0; border-bottom: 3px solid transparent; white-space: nowrap; }
  .admin-nav button[aria-current="page"] { border-bottom-color: var(--accent); }
  .admin-main { padding: 18px; }
}

/* admin: shipping town picker */
.ship-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 16px; }
.ship-pick { min-height: 40px; font-size: 14px; }
