:root {
  --bg: #f4f1ea;
  --ink: #141310;
  --muted: #6d675e;
  --line: #d5cec0;
  --card: #fffcf7;
  --accent: #8a2e18;
  --accent-ink: #fff8f4;
  --shadow: 0 14px 36px rgba(40, 32, 20, 0.11);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

a { color: inherit; }
button, input, select, textarea { font: inherit; }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  background: var(--ink);
  color: #f6f1e8;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 9px 16px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 640;
  letter-spacing: -0.03em;
  text-decoration: none;
}
nav { display: flex; gap: 18px; align-items: center; }
nav a, .icon-btn {
  text-decoration: none;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 6px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 520;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 42px 0 18px;
  align-items: end;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 640;
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
}
.hero p { margin: 0; color: var(--muted); max-width: 460px; }
.hero-note {
  border-left: 1px solid var(--line);
  padding: 8px 0 8px 20px;
  color: var(--muted);
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 22px 0 64px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.shot {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,0.45), transparent 42%),
    linear-gradient(180deg, #efeae1, #e4ddd0);
  display: grid;
  place-items: center;
  position: relative;
}
a.shot { text-decoration: none; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 99px;
  padding: 2px 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tee {
  width: 58%;
  filter: drop-shadow(0 16px 16px rgba(0,0,0,0.12));
}
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.card-body h3 { margin: 0; font-size: 18px; font-weight: 560; }
.card-body h3 a { text-decoration: none; }
.card-body h3 a:hover { text-decoration: underline; }
.row .btn.secondary { text-decoration: none; text-align: center; flex: 1; }
.meta { color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; }
.price { font-variant-numeric: tabular-nums; }
.row { display: flex; gap: 8px; }
select, input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 10px 12px;
}
textarea { min-height: 90px; resize: vertical; }
.btn {
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  background: var(--ink);
  color: white;
  cursor: pointer;
}
.btn.secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.accent { background: var(--accent); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.panel {
  position: fixed;
  inset: 0;
  background: rgba(22, 18, 12, 0.35);
  display: none;
  justify-content: flex-end;
  z-index: 20;
}
.panel.open { display: flex; }
.drawer {
  width: min(420px, 100%);
  height: 100%;
  background: #fffdf9;
  padding: 22px;
  overflow: auto;
  box-shadow: -20px 0 50px rgba(0,0,0,0.12);
}
.drawer h2 { font-family: var(--serif); margin: 0 0 12px; }
.line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.line img, .line .mini {
  width: 64px; height: 72px; object-fit: cover; border-radius: 8px; background: #eee;
}
.totals { margin-top: 16px; display: flex; justify-content: space-between; font-size: 18px; }
.fine { color: var(--muted); font-size: 13px; }

.admin {
  display: none;
  padding-bottom: 70px;
}
.admin.open { display: block; }
.shop.hidden { display: none; }

/* Product page */
.product-view { display: none; padding: 14px 0 64px; }
.product-view.open { display: block; }
.back-link {
  display: inline-block;
  padding: 6px 0 10px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.back-link:hover { color: var(--ink); text-decoration: underline; }
.pdp { display: grid; gap: 16px; }
.pdp-media {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-height: 44vh;
  max-height: 44svh;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.pdp-media .tee { width: auto; height: 78%; max-width: 72%; }
.pdp-info { display: flex; flex-direction: column; gap: 12px; }
.pdp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pdp-head h1 {
  font-family: var(--serif);
  font-weight: 640;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.pdp-head h1:focus { outline: none; }
.pdp-price { font-size: 20px; white-space: nowrap; }
.opt { display: flex; flex-direction: column; gap: 6px; }
.opt-label { font-size: 14px; font-weight: 520; }
.opt-label .fine { font-weight: 380; margin-left: 6px; }
.swatches, .sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.designs { display: flex; flex-wrap: wrap; gap: 8px; }
.design-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: white; color: var(--ink);
  border-radius: 12px; cursor: pointer; padding: 6px 12px 6px 6px;
  min-height: 40px; font-size: 14px;
}
.design-btn .design-thumb {
  width: 36px; height: 45px; object-fit: contain; border-radius: 6px;
  background: #ece8e0; display: block;
}
.design-btn[aria-pressed="true"] {
  border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink);
}
.design-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.swatch-btn, .size-btn {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  min-height: 40px;
}
.swatch-btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; font-size: 14px; }
.swatch-btn .dot { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15); }
.size-btn { min-width: 48px; padding: 6px 10px; font-size: 14px; }
.swatch-btn[aria-pressed="true"], .size-btn[aria-pressed="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.size-btn[aria-pressed="true"] { background: var(--ink); color: white; }
.swatch-btn:focus-visible, .size-btn:focus-visible, .qty button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.placeholder-note { margin: -4px 0 0; font-size: 12px; }
.buy-row { display: flex; gap: 10px; align-items: stretch; }
.qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  overflow: hidden;
}
.qty button {
  border: 0;
  background: none;
  width: 38px;
  height: 100%;
  min-height: 44px;
  cursor: pointer;
  font-size: 18px;
}
.qty input {
  width: 40px;
  border: 0;
  padding: 0;
  text-align: center;
  border-radius: 0;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.add-btn { flex: 1; min-height: 46px; font-size: 16px; }
.pdp-msg { margin: 0; min-height: 0; color: var(--accent); }
.pdp-msg:empty { display: none; }
.pdp-desc { margin: 4px 0 0; color: var(--muted); max-width: 52ch; }
.pdp-missing h1 { font-family: var(--serif); font-weight: 560; }
.summary { padding-left: 18px; margin: 0 0 8px; }

@media (min-width: 801px) {
  .product-view { padding-top: 20px; }
  .pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: start; }
  .pdp-media {
    aspect-ratio: 4 / 5;
    max-height: calc(100vh - 200px);
  }
  .pdp-head { flex-direction: column; gap: 6px; }
  .pdp-info { padding-top: 12px; gap: 18px; }
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.preview-box {
  margin-top: 12px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  min-height: 160px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: white;
}
.preview-box img { max-width: 100%; max-height: 280px; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

@media (max-width: 800px) {
  .hero, .grid, .form-grid { grid-template-columns: 1fr; }
  .hero-note { border-left: 0; padding-left: 0; }
  header.site { padding: 14px 0 12px; }
  .brand { font-size: 24px; }
  nav { gap: 14px; }
}

/* Photoreal tee mockup; body color changes live via .tee-body fill. */
.tee-mock { width: 86%; height: auto; overflow: visible; }
.tee-mock .tee-body { transition: fill 0.22s ease; }
.tee-mock .tee-fabric { isolation: isolate; }
/* Rev18: flatter product look — dial back fold drama; inline opacities match. */
.tee-mock .tee-shade { opacity: 0.35; }
.tee-mock .tee-highlight { opacity: 0.15; }
.pdp-media .tee-mock { width: auto; height: 90%; max-width: 92%; }
.card-dots { display: flex; flex-wrap: wrap; gap: 6px; }
.card-dot {
  width: 20px; height: 20px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.18);
}
.card-dot[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--card), 0 0 0 3px var(--ink); }
.card-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.line .mini-tee { display: grid; place-items: center; background: #efeae1; }
.line .mini-tee .tee-mock { width: 88%; filter: none; }
@media (prefers-reduced-motion: reduce) { .tee-mock .tee-body { transition: none; } }
/* Phones: colors become compact dots so Add to bag stays on the first screen. */
@media (max-width: 800px) {
  .swatches { gap: 6px; }
  .swatch-btn { padding: 4px; min-height: 0; border-color: transparent; background: none; }
  .swatch-btn .dot { width: 30px; height: 30px; }
  .swatch-btn[aria-pressed="true"] { border-color: var(--ink); box-shadow: none; }
  .swatch-name {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
}


/* Category filters — soft editorial pills */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 0 4px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(to bottom, var(--bg) 70%, transparent);
}
.filter-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 520;
  letter-spacing: 0.01em;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.filter-chip:hover {
  color: var(--ink);
  border-color: #c9c0b0;
}
.filter-chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 6px 16px rgba(138, 46, 24, 0.22);
}
.filter-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.filter-empty {
  padding: 8px 0 48px;
}

/* Rev21: cart subtotals, size limits, product details, checkout flag, info page */
.subtotals { margin-top: 10px; display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); }
.subtotals + .totals { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.size-btn:disabled {
  cursor: not-allowed; color: #b3ab9e; background: #f3efe8; border-style: dashed;
  text-decoration: line-through; box-shadow: none;
}
.size-note { margin: 2px 0 0; font-size: 12px; }
.size-note[hidden] { display: none; }
.pdp-details { border-top: 1px solid var(--line); padding-top: 10px; max-width: 52ch; }
.pdp-details summary { cursor: pointer; font-size: 14px; font-weight: 520; }
.pdp-details ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.pdp-details p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.sum-rows { margin: 8px 0; max-width: 360px; }
.sum-rows div { display: flex; justify-content: space-between; padding: 2px 0; }
.sum-rows dt, .sum-rows dd { margin: 0; }
.sum-rows .sum-total { font-weight: 520; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 6px; }
.checkout-flag {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 10px 14px; font-size: 14px; max-width: 64ch;
}
.info-page { max-width: 64ch; }
.info-page h3 { font-family: var(--serif); font-weight: 560; margin: 18px 0 4px; }
.info-page p { margin: 0; color: var(--muted); }
.foot-info { display: flex; flex-direction: column; gap: 4px; max-width: 70ch; }
@media (max-width: 800px) { footer { flex-direction: column; } }

/* Rev22: info pages (About, Size Guide, FAQ, Shipping, Returns, Contact) + footer nav */
.info-page { max-width: 760px; }
.page-kicker {
  margin: 4px 0 0; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); font-weight: 520;
}
.page-title {
  font-family: var(--serif); font-weight: 640; font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.05; letter-spacing: -0.02em; margin: 4px 0 14px;
}
.page-lede { font-size: 17px; color: var(--ink); max-width: 60ch; margin: 0 0 18px; }
.page-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px; margin: 0 0 12px;
}
.info-page .page-card h3 { margin: 0 0 6px; font-size: 20px; }
.info-page .page-card p + p { margin-top: 8px; }
.page-card ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); }
.page-card li + li { margin-top: 2px; }
.page-placeholder { border-style: dashed; }
.page-contact { margin-top: 16px; }
.info-page a { color: var(--accent); }
.info-page .back-link { color: var(--muted); }
.size-table-wrap { overflow-x: auto; }
.size-table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14px; margin-bottom: 14px; }
.size-table caption { text-align: left; font-weight: 520; padding-bottom: 6px; }
.size-table th, .size-table td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.size-table thead th { font-weight: 520; color: var(--muted); }
.size-table tbody th { text-align: left; font-weight: 520; white-space: nowrap; }
.size-table tbody th .fine { display: block; font-weight: 380; font-size: 12px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 18px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 520; }
.faq details[open] summary { color: var(--accent); }
.faq details p, .faq details ul { margin: 8px 0 2px; color: var(--muted); }
.faq details ul { padding-left: 18px; }
.opt-label-row { display: flex; justify-content: space-between; align-items: baseline; }
.size-guide-link { font-size: 13px; font-weight: 380; color: var(--accent); }
footer { flex-direction: column; gap: 14px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.foot-nav a { color: var(--ink); text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.foot-nav a[aria-current="page"] { color: var(--accent); }

/* Rev23: search, sort, shelves, breadcrumbs, share, newsletter, social, notice, back-to-top, a11y */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff8f4;
  padding: 8px 14px; border-radius: 10px; text-decoration: none; font-size: 14px;
}
.skip-link:focus { top: 10px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex="-1"]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus, .grid[tabindex="-1"]:focus { outline: none; }
header.site { gap: 18px; }
.site-search { flex: 1; display: flex; justify-content: center; max-width: 360px; margin-left: auto; }
.site-search input {
  width: 100%; border: 1px solid var(--line); background: var(--card); border-radius: 999px;
  padding: 8px 16px; font-size: 14px; color: var(--ink);
}
.site-search input::placeholder { color: var(--muted); }
.site-search input:focus-visible { border-color: var(--accent); outline-offset: 1px; }
.shop-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  position: sticky; top: 0; z-index: 20; padding: 6px 0 4px;
  background: linear-gradient(to bottom, var(--bg) 75%, rgba(244, 241, 234, 0));
}
.shop-bar .filters { position: static; background: none; padding: 0; }
.sort-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sort-label select {
  border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px;
  padding: 7px 12px; font-size: 13px;
}
.search-status { margin: 6px 0 10px; }
.search-status[hidden] { display: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; font-size: inherit; }
.shelf { margin: 40px 0 48px; }
.shelf[hidden] { display: none; }
.shelf-title { font-family: var(--serif); font-weight: 560; font-size: 24px; letter-spacing: -0.01em; margin: 0 0 12px; }
.shelf-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mini-card {
  display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px 8px 12px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.mini-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.mini-card .mini-shot { border-radius: 10px; aspect-ratio: 4 / 5; }
.mini-card .mini-name { font-size: 14px; font-weight: 520; padding: 0 4px; }
.mini-card .price { font-size: 13px; color: var(--muted); padding: 0 4px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 18px 0 14px; padding: 0; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink); }
.fit-note { margin: 6px 0 0; font-size: 13px; }
.fit-note a { color: var(--accent); }
.share-row { display: flex; align-items: center; gap: 12px; margin: 4px 0 0; }
.share-btn { padding: 8px 16px; font-size: 14px; }
.foot-extra { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.newsletter { display: flex; flex-direction: column; gap: 6px; max-width: 420px; flex: 1 1 300px; }
.newsletter-label { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.newsletter-row { display: flex; gap: 8px; }
.newsletter-row input {
  flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--card); border-radius: 999px;
  padding: 9px 16px; font-size: 14px; color: var(--ink);
}
.newsletter-row input[aria-invalid="true"] { border-color: var(--accent); }
.newsletter .fine { margin: 0; min-height: 1.2em; }
.social { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; font-size: 14px; }
.social[hidden] { display: none; }
.social a { color: var(--ink); }
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 30; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); border-radius: 999px; padding: 9px 14px; font-size: 13px;
  cursor: pointer; box-shadow: var(--shadow);
}
.to-top[hidden] { display: none; }
.storage-notice {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 40;
  width: min(640px, calc(100% - 24px)); display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  padding: 12px 14px 12px 18px; font-size: 13px; color: var(--muted);
}
.storage-notice[hidden] { display: none; }
.storage-notice p { margin: 0; flex: 1; }
.storage-notice a { color: var(--accent); }
.storage-notice .btn { padding: 7px 16px; }
.storage-notice:not([hidden]) ~ .to-top { bottom: 92px; }
.pdp-missing { padding: 24px 0 48px; }
@media (max-width: 800px) {
  header.site { flex-wrap: wrap; }
  .site-search { order: 3; flex-basis: 100%; max-width: none; margin: 0; }
  .shelf-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-bar .filters { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 2px; }
  .shop-bar .filter-chip { flex: 0 0 auto; white-space: nowrap; }
}

/* Rev23 colors: 40–53 colors per shirt. PDP = wrapping grid of round swatches, name in the label;
   grid cards = 6 dots + "+N". Same on desktop and phones. */
.swatches {
  display: grid; grid-template-columns: repeat(auto-fill, 36px); gap: 6px; max-width: 420px;
}
.swatch-btn, .swatch-btn[aria-pressed="true"] {
  width: 36px; height: 36px; min-height: 0; padding: 0; border-radius: 50%;
  display: grid; place-items: center; background: none; border: 1.5px solid transparent; box-shadow: none;
}
.swatch-btn .dot { width: 28px; height: 28px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.16); }
.swatch-btn:hover { border-color: var(--line); }
.swatch-btn[aria-pressed="true"] { border-color: var(--ink); }
.swatch-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.swatch-name {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.pdp-color-name { font-weight: 380; color: var(--muted); margin-left: 4px; }
#pdp-color-count { font-size: 12px; }
.card-dots { align-items: center; flex-wrap: nowrap; }
.card-more {
  font-size: 12px; color: var(--muted); text-decoration: none; padding: 0 4px; line-height: 20px;
  border-radius: 99px; white-space: nowrap;
}
.card-more:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 800px) {
  .swatches { grid-template-columns: repeat(auto-fill, 38px); max-width: none; gap: 6px; }
  .swatch-btn, .swatch-btn[aria-pressed="true"] { width: 38px; height: 38px; padding: 0; }
  .swatch-btn .dot { width: 30px; height: 30px; }
}
.info-page a.btn, .pdp-missing a.btn { text-decoration: none; display: inline-block; margin-top: 6px; }
.info-page a.btn.accent, .pdp-missing a.btn.accent { color: var(--accent-ink); }

/* Rev26: real Printify mockup photos (800x1000, white background) replace the drawn tee where available. */
.shot:has(> .tee-photo) { background: #fff; }
.shot .tee.tee-photo,
.pdp-media .tee.tee-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: contain; filter: none;
}
.line .mini-tee:has(.tee-photo) { background: #fff; overflow: hidden; }
.line .mini-tee .tee-photo { width: 100%; height: 100%; object-fit: cover; filter: none; border-radius: 8px; }

/* rev34: footer category links (built by app.js) flow inline with the other footer links */
.foot-cats { display: contents; }
.foot-cats a { color: var(--ink); text-decoration: none; font-weight: 600; }
.foot-cats a:hover { text-decoration: underline; }
/* rev34: sub-filter pill (Retro · States) */
.filter-chip.filter-sub { font-size: 0.92em; opacity: 0.92; }

/* rev40: front/back view thumbnails on the product page */
.pdp-gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.view-toggle { display: flex; gap: 10px; }
.view-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px; background: #fff; border: 1.5px solid var(--line, #ddd); border-radius: 10px; cursor: pointer; font: inherit; font-size: 13px; color: var(--ink); }
.view-btn img { width: 64px; height: 80px; object-fit: cover; border-radius: 6px; display: block; }
.view-btn[aria-pressed="true"] { border-color: var(--ink); }
.view-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* rev45 FAQ groups */
.faq-group { margin: 22px 0 6px; font-size: 1rem; letter-spacing: .02em; }
.faq-group:first-of-type { margin-top: 0; }

/* rev47: Tee / Hoodie style toggle */
.styles-toggle { display: flex; gap: 8px; }
.style-btn { appearance: none; border: 1.5px solid var(--line, #ddd); background: var(--card, #fff); color: var(--ink); border-radius: 999px; padding: 8px 18px; font: inherit; font-weight: 600; cursor: pointer; }
.style-btn[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg, #fff); }
/* rev47: main product photo never moves with page scroll; no scroll-snap/overscroll on the gallery */
.pdp-gallery, .pdp-media { position: relative; scroll-snap-type: none; overscroll-behavior: contain; }
.pdp-media { touch-action: pan-y; }

/* rev47: modals, discount code, signup */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-card { position: relative; background: var(--bg, #fff); color: var(--ink); border-radius: 16px; padding: 22px 20px; width: min(640px, 100%); max-height: 90vh; overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal-close, .signup-close.icon-btn { position: absolute; top: 10px; right: 12px; font-size: 18px; background: none; border: 0; cursor: pointer; }
.seg { display: flex; gap: 8px; margin: 6px 0 10px; }
.seg button { border: 1.5px solid var(--line, #ddd); background: none; border-radius: 999px; padding: 6px 14px; font: inherit; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg, #fff); border-color: var(--ink); }
.code-form { margin-top: 12px; }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line, #ccc); border-radius: 10px; font: inherit; text-transform: uppercase; }
.signup-card { width: min(420px, 100%); text-align: center; }
.signup-card h3 { font-size: 1.6rem; margin: 4px 0 8px; }
.signup-card .code-row input { text-transform: none; }
.linkish { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; margin-top: 10px; font: inherit; font-size: 13px; }
.size-table-wrap { overflow-x: auto; }

/* ===== No Tee Left Behind redesign (preview) ===== */
:root {
  --bg: #f6efe1; --card: #fffaf0; --ink: #111; --muted: #4f4a42; --line: #1112;
  --accent: #e8590c; --accent-ink: #fff; --accent-dark: #c2470a; --teal: #2f7d7a; --teal-soft: #d6e7e3;
  --shadow: none; --display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --serif: var(--display); --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
body { font-family: var(--sans); color: var(--ink); background: var(--bg); }
h1, h2, .page-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
.wrap { width: min(1240px, calc(100% - 32px)); }
.topbar { background: var(--teal); color: #fff; font-weight: 600; letter-spacing: .03em; }
header.site { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; align-items: center; padding: 16px 0 14px; border-bottom: 3px solid var(--ink); }
.brand { font-family: var(--display); font-weight: 400; text-transform: uppercase; display: inline-flex; flex-direction: column; line-height: .86; letter-spacing: .01em; text-decoration: none; }
.brand .wm-top { font-size: 34px; }
.brand .wm-bot { font-size: 21px; letter-spacing: .085em; }
.brand .wm-tee { background: var(--accent); color: #fff; padding: 0 6px; margin-left: 2px; display: inline-block; transform: rotate(-3deg); }
header.site nav { justify-self: end; gap: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 15px; }
header.site nav a, header.site .icon-btn { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 15px; }
header.site nav a:hover, header.site .icon-btn:hover { color: var(--accent-dark); }
.bag-btn { background: var(--ink) !important; color: #fff !important; padding: 8px 14px !important; border-radius: 4px !important; }
.bag-btn .cart-count { background: var(--accent); color: #fff; }
.site-search { grid-column: 1 / -1; display: none; }
.site-search.show { display: block; }
.site-search input { width: 100%; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 4px; background: #fff; font-size: 16px; }
.btn { border-radius: 4px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; box-shadow: none; text-decoration: none; display: inline-block; text-align: center; padding: 13px 22px; border: 2px solid var(--ink); }
.btn.accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.outline, .btn.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.outline:hover, .btn.secondary:hover { background: var(--ink); color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* home vs shop */
.shop .home-only { display: none; }
.shop.is-home .home-only { display: block; }
.shop.is-home .hero.home-only { display: grid; }
.shop.is-home .home-only[hidden] { display: none; }
.shop.is-home .shop-only, .shop.is-home #recent-shop { display: none !important; }
.hero { grid-template-columns: 1fr 1.35fr; gap: 28px; align-items: center; padding: 34px 0 30px; border-bottom: 3px solid var(--ink); }
.hero h1 { font-size: clamp(54px, 7.4vw, 104px); margin: 0 0 14px; }
.hero h1 .hl { color: var(--accent); }
.hero-sub { font-size: 20px; color: var(--ink) !important; max-width: 30ch; margin: 0 0 22px !important; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-shirts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero-shirt { position: relative; display: block; aspect-ratio: 4/5; background: #fff; border: 2px solid var(--ink); overflow: hidden; text-decoration: none; }
.hero-shirt:nth-child(2) { background: var(--teal-soft); transform: translateY(18px); }
.hero-shirt img, .hero-shirt svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero-shirt .tee-mock, .tile-art .tee-mock { position: absolute; inset: 0; }
.hero-cap { position: absolute; left: 0; right: 0; bottom: 0; background: var(--ink); color: #fff; font-size: 13px; padding: 6px 10px; display: flex; justify-content: space-between; gap: 6px; }
.home-sec { padding: 34px 0 6px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(34px, 4vw, 52px); margin: 0; }
.sec-head a { font-weight: 700; color: var(--teal); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.rail > * { scroll-snap-align: start; }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tile { position: relative; display: flex; flex-direction: column; text-decoration: none; border: 2px solid var(--ink); overflow: hidden; background: #fff; }
.tile-art { position: relative; aspect-ratio: 1; display: block; background: #fff; }
.tile-art img, .tile-art svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-label { font-family: var(--display); text-transform: uppercase; font-size: 24px; line-height: 1; padding: 12px; color: #fff; display: flex; flex-direction: column; gap: 4px; }
.tile-label small { font-family: var(--sans); font-size: 13px; text-transform: none; opacity: .9; }
.tile-orange .tile-label { background: var(--accent); }
.tile-teal .tile-label { background: var(--teal); }
.tile-ink .tile-label { background: var(--ink); }
.tile:hover .tile-label { text-decoration: underline; }
.intro { margin: 40px 0 10px; padding: 30px; background: var(--ink); color: #fff; display: grid !important; grid-template-columns: 1fr 1.6fr; gap: 24px; align-items: center; }
.shop:not(.is-home) .intro { display: none !important; }
.intro h2 { font-size: clamp(36px, 4.4vw, 60px); margin: 0; color: var(--accent); }
.intro p { margin: 0; font-size: 18px; line-height: 1.6; }
.shop-head h1 { font-size: clamp(42px, 6vw, 72px); margin: 26px 0 6px; }

/* cards */
.grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { border: 2px solid var(--ink); border-radius: 0; background: var(--card); box-shadow: none; }
.shot { background: #fff; aspect-ratio: 1 / 1.08; border-bottom: 2px solid var(--ink); }
.card-body { padding: 12px 12px 14px; gap: 8px; flex: 1; }
.card-body h3 { font-size: 17px; font-weight: 800; line-height: 1.2; }
.card-body .fine { display: none; }
.card .meta { font-size: 14px; color: var(--muted); }
.card .price { font-weight: 800; color: var(--ink); font-size: 17px; }
.card-cta { margin-top: auto; width: 100%; padding: 11px 10px; font-size: 14px; }
.card .row { margin-top: auto; }
.tag { border-radius: 0; background: var(--teal); color: #fff; border: 0; font-weight: 700; }
.mini-dots { display: flex; gap: 5px; align-items: center; }
.mini-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid #0004; display: inline-block; }
.mini-more { font-size: 12px; color: var(--muted); font-weight: 700; }
.filter-chip { border-radius: 4px !important; border: 2px solid var(--ink) !important; font-weight: 700; background: transparent; }
.filter-chip[aria-pressed="true"] { background: var(--ink) !important; color: #fff !important; }
.page-card { border-radius: 0; border: 2px solid var(--ink); box-shadow: none; background: var(--card); }
.page-lede strong { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 30px; display: block; color: var(--accent); margin-bottom: 6px; line-height: 1; }
footer { border-top: 3px solid var(--ink); }
.panel .drawer { border-radius: 0; }
.preview-flag, .checkout-flag { color: var(--teal); font-weight: 600; }
.storage-notice { display: none !important; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 20px 0 22px; }
  .hero h1 { font-size: 52px; }
  .hero-sub { font-size: 17px; }
  .hero-shirts { grid-template-columns: 1fr; }
  .hero-shirt:not(:first-child) { display: none; }
  .hero-shirt { aspect-ratio: 1; }
  .hero-ctas .btn { flex: 1; padding: 13px 8px; }
  .rail { grid-auto-columns: 46%; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles .tile:first-child { grid-column: 1 / -1; }
  .tiles .tile:first-child .tile-art { aspect-ratio: 2; }
  .tile-label { font-size: 20px; }
  .grid, .home-grid { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .card-body h3 { font-size: 15px; }
  .card-cta { font-size: 12px; padding: 10px 4px; }
  .intro { grid-template-columns: 1fr; padding: 22px; }
}
@media (max-width: 560px) {
  header.site { grid-template-columns: 1fr auto; }
  .brand .wm-top { font-size: 26px; } .brand .wm-bot { font-size: 16px; }
  header.site nav { gap: 12px; font-size: 13px; }
  header.site nav a, header.site .icon-btn { font-size: 13px; }
  header.site nav #to-new { display: none; }
}
header.site .brand { display: inline-flex !important; flex-direction: column !important; font-family: var(--display) !important; font-size: inherit !important; }
header.site .brand .wm-top { font-size: 40px; } header.site .brand .wm-bot { font-size: 24px; }
@media (max-width: 560px) { header.site .brand .wm-top { font-size: 28px; } header.site .brand .wm-bot { font-size: 17px; } }
/* v2: match Allen's reference */
.topbar { background: #111; color: #fff; text-transform: uppercase; font-weight: 700; letter-spacing: .06em; }
header.site { border-bottom: 0; }
header.site .brand { flex-direction: row !important; gap: .25em; align-items: baseline; }
header.site .brand .wm-top, header.site .brand .wm-bot { font-size: 34px; letter-spacing: .005em; }
header.site nav a, header.site .icon-btn { text-transform: none; letter-spacing: 0; font-weight: 600; }
.bag-btn { background: none !important; color: var(--ink) !important; padding: 0 !important; }
.wrap { width: min(1320px, calc(100% - 40px)); }
.hero { grid-template-columns: .9fr 1.25fr; border-bottom: 0; padding: 0; gap: 0; min-height: 420px; }
.hero-copy { padding: 34px 28px 34px 0; }
.hero h1 { font-size: clamp(56px, 6.6vw, 96px); line-height: .9; }
.hero-shirts { position: relative; height: 100%; min-height: 420px; display: block;
  background: linear-gradient(105deg, transparent 0 8%, var(--accent) 8% 55%, var(--teal) 55% 100%); }
.hero-shirt { position: absolute; border: 0; background: transparent !important; width: 40%; aspect-ratio: 1; top: 8%; transform: none !important; }
.hero-shirt.hs-0 { left: 6%; transform: rotate(-6deg) !important; }
.hero-shirt.hs-1 { left: 31%; top: 12%; z-index: 2; }
.hero-shirt.hs-2 { left: 58%; transform: rotate(5deg) !important; }
.hero-shirt .shot, .hero-shirt img { background: transparent !important; }
.hero-cap { display: none; }
.home-sec { padding: 30px 0 4px; }
.sec-head a { color: var(--ink); text-transform: uppercase; font-size: 13px; letter-spacing: .06em; text-decoration: none; }
.home-sec .card { border: 0; background: transparent; }
.home-sec .shot { background: #ece5d6 !important; border: 0; border-radius: 4px; overflow: hidden; }
.home-sec .shot img { mix-blend-mode: multiply; }
.home-sec .card-body { padding: 10px 2px; gap: 4px; }
.home-sec .card-body h3 { font-weight: 500; font-size: 15px; }
.home-sec .card .price { font-size: 15px; }
.mini-dot { width: 16px; height: 16px; }
.tiles { grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tile { border: 0; border-radius: 6px; background: #1d1d1d; aspect-ratio: 1.15; }
.tile-teal { background: #18403f; } .tile-orange { background: #4a2312; } .tile-ink { background: #222; }
.tile-art { position: absolute; inset: 0; aspect-ratio: auto; background: transparent; opacity: .55; }
.tile-art img { object-fit: cover; mix-blend-mode: luminosity; }
.tile-label { position: absolute; left: 0; bottom: 0; background: transparent !important; font-size: 34px; line-height: .92; padding: 16px; max-width: 75%; }
.tile-arrow { position: absolute; right: 14px; bottom: 16px; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-weight: 800; }
@media (max-width: 900px) {
  header.site .brand { flex-direction: column !important; gap: 0; line-height: .88; }
  header.site .brand .wm-top, header.site .brand .wm-bot { font-size: 22px; }
  header.site nav #to-shop, header.site nav #to-new { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 16px 0 18px; }
  .hero h1 { font-size: 62px; }
  .hero-ctas .btn.outline { display: none; }
  .hero-ctas .btn.accent { width: 100%; }
  .hero-shirts { min-height: 230px; margin: 0 -20px; background: linear-gradient(105deg, var(--accent) 0 50%, var(--teal) 50% 100%); }
  .hero-shirt { display: block !important; width: 56%; aspect-ratio: 1; top: 4%; }
  .hero-shirt.hs-0 { left: -2%; } .hero-shirt.hs-1 { left: 44%; top: 4%; } .hero-shirt.hs-2 { display: none !important; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles .tile:first-child { grid-column: auto; } .tiles .tile:first-child .tile-art { aspect-ratio: auto; }
  .tile-label { font-size: 24px; }
}
.hero-shirt img { mix-blend-mode: multiply; }
.hero-shirt { width: 46%; } .hero-shirt.hs-1 { left: 28%; } .hero-shirt.hs-2 { left: 54%; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #000c 0 35%, #0004 70%); }
.tile-art { opacity: .9; } .tile-art img { mix-blend-mode: multiply; }
.tile-label, .tile-arrow { z-index: 2; }
@media (max-width: 900px) { .hero-shirt { width: 58%; } .hero-shirt.hs-1 { left: 44%; } .hero h1 { font-size: 64px; } }
.hero-shirt *, .tile-art * { background-color: transparent !important; box-shadow: none !important; } .hero-shirt, .hero-shirt * { mix-blend-mode: multiply; }
.hero-shirt, .hero-shirt * { mix-blend-mode: normal !important; }
.hero-shirt { background: #fff !important; border-radius: 6px; overflow: hidden; width: 30% !important; aspect-ratio: 4/5; top: 14% !important; transform: none !important; border: 3px solid #111; }
.hero-shirt.hs-0 { left: 6% !important; } .hero-shirt.hs-1 { left: 36% !important; top: 22% !important; } .hero-shirt.hs-2 { left: 66% !important; }
@media (max-width: 900px) { .hero-shirts { min-height: 260px; } .hero-shirt { width: 42% !important; top: 8% !important; } .hero-shirt.hs-0 { left: 6% !important; } .hero-shirt.hs-1 { left: 52% !important; top: 8% !important; } }

/* ===== Hero models (cut-out photos on the orange/teal panel, no white cards) ===== */
.hero-shirts.models { position: relative; display: block; min-height: 460px; overflow: hidden;
  background: linear-gradient(105deg, var(--accent) 0 46%, var(--teal) 46% 100%); }
.hero-shirts.models .hero-model { position: absolute; bottom: 0; display: block; width: 44%; text-decoration: none; }
.hero-shirts.models .hero-model img { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
.hero-shirts.models .hm-0 { left: -3%; z-index: 1; }
.hero-shirts.models .hm-1 { left: 28%; z-index: 3; width: 48%; }
.hero-shirts.models .hm-2 { right: -3%; z-index: 2; }
.hero-shirts.models .hero-model .hero-cap { display: none; }
@media (max-width: 760px) {
  .hero-shirts.models { min-height: 0; aspect-ratio: 5 / 4; margin: 0 -20px; }
  .hero-shirts.models .hero-model { width: 58%; }
  .hero-shirts.models .hm-0 { left: -4%; } .hero-shirts.models .hm-1 { left: 42%; width: 60%; } .hero-shirts.models .hm-2 { display: none; }
}

/* ===== Shop by Interest: full-bleed scene photos (moodboard style) ===== */
.tile.tile-photo .tile-art { opacity: 1; }
.tile.tile-photo .tile-art img { mix-blend-mode: normal; object-fit: cover; transition: transform .35s ease; }
.tile.tile-photo:hover .tile-art img { transform: scale(1.04); }
.tile.tile-photo::after { background: linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 75%); }
.tile.tile-photo .tile-label { text-shadow: 0 2px 10px rgba(0,0,0,.45); }
@media (prefers-reduced-motion: reduce) { .tile.tile-photo .tile-art img { transition: none; } .tile.tile-photo:hover .tile-art img { transform: none; } }
@media (max-width: 900px) { .tiles .tile:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 2.3; } }

/* Hero headline spacing: real Anton weight (no faux bold), open letter + line spacing */
.hero h1 { font-weight: 400; letter-spacing: .025em; word-spacing: .06em; line-height: 1; margin-bottom: 18px; }
/* Wordmark spacing: real Anton weight, a little air between letters and between "No Tee" and "Left Behind" */
header.site .brand { font-weight: 400; }
header.site .brand .wm-top, header.site .brand .wm-bot { letter-spacing: .03em; }
@media (min-width: 901px) { header.site .brand { gap: 12px; } }
@media (max-width: 900px) { header.site .brand { line-height: .95; } }
/* Tiles: no underline on hover (photo zoom is the hover cue); lighter card prices */
.tile:hover .tile-label { text-decoration: none; }
.card .price { font-weight: 600; }

/* ===== All Tees / category pages: match the home page cards and type ===== */
.shop-head h1 { font-weight: 400; letter-spacing: .025em; word-spacing: .06em; line-height: 1; margin: 26px 0 14px; font-size: clamp(48px, 6vw, 80px); }
#grid { gap: 28px 18px; }
#grid .card { border: 0; background: transparent; box-shadow: none; }
#grid .shot, #grid .shot:has(> .tee-photo) { background: #ece5d6 !important; border: 0; border-radius: 4px; overflow: hidden; }
#grid .shot img { mix-blend-mode: multiply; }
#grid .card-body { padding: 10px 2px 0; gap: 6px; }
#grid .card-body h3 { order: 0; font-weight: 500; font-size: 15px; line-height: 1.3; }
#grid .card .meta { order: 1; }
#grid .card .meta > span:first-child { display: none; }            /* "20 colors" — the dots + "+N" already say it */
#grid .card .price { font-size: 15px; font-weight: 600; }
#grid .card-dots { order: 2; gap: 5px; }
#grid .card-dot { width: 14px; height: 14px; }
#grid .card-more { font-size: 12px; }
#grid .card .row { order: 3; margin-top: 6px; }
#grid .card-cta { background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: 8px 10px; font-size: 13px; }
#grid .card-cta:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Filter chips + sort: flat, same uppercase nav style as the header */
.filter-chip { border-width: 1.5px !important; box-shadow: none !important; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 13px; padding: 7px 12px; }
.filter-chip:hover { background: var(--ink); color: #fff; }
#sort-select { border: 1.5px solid var(--ink); border-radius: 4px; background: transparent; font-weight: 600; padding: 6px 8px; }
@media (max-width: 900px) { #grid .card-dot { width: 20px; height: 20px; } }
#grid .card { display: flex; flex-direction: column; }
#grid .card-body { flex: 1; }
#grid .card-dots { min-height: 22px; }
#grid .card .row { margin-top: auto; padding-top: 6px; }
.filter-chip.filter-sub { font-size: 13px !important; opacity: 1; }

/* ===== Site-wide: every page matches the home page ===== */
/* Anton has one weight. Old rules asked for 560–640, which made the browser fake-bold it (squished letters). */
body { font-synthesis: none; }
h1, h2, h3.page-title, .page-title, .pdp-head h1, .pdp-missing h1, .shelf-title, .info-page h3, .faq-group,
.drawer h2, .newsletter-label, .signup-card h3, .shop-head h1 { font-weight: 400; letter-spacing: .025em; word-spacing: .05em; }
.pdp-head h1 { line-height: 1; }
.info-page h3, .faq-group { font-family: var(--display); text-transform: uppercase; }

/* Boxes: one quiet style everywhere (cream card, thin line, small corner) instead of heavy black frames / round cards */
.page-card, .faq details { background: var(--card); border: 1.5px solid rgba(17,17,17,.14); border-radius: 4px; box-shadow: none; }
.checkout-flag { border-radius: 4px; }

/* Form fields: square-ish corners like the buttons */
select, input, textarea, .newsletter-row input { border: 1.5px solid rgba(17,17,17,.22); border-radius: 4px; background: #fffaf0; }
select:focus, input:focus, textarea:focus { border-color: var(--ink); }
.newsletter-label { font-size: 20px; }

/* Product page: beige photo box like the cards, no white frame or black under-line */
.pdp-media, .pdp-media.shot, .pdp-media:has(> .tee-photo) { background: #ece5d6 !important; border: 0 !important; border-radius: 4px; }
.pdp-media img { mix-blend-mode: multiply; }
.view-btn { background: #ece5d6; border: 1.5px solid transparent; border-radius: 4px; }
.view-btn img { border-radius: 2px; mix-blend-mode: multiply; }
.view-btn[aria-pressed="true"] { border-color: var(--ink); }
/* Size / style / quantity: flat, not pills */
.size-btn, .style-btn, .qty { border: 1.5px solid rgba(17,17,17,.22); border-radius: 4px; background: transparent; }
.size-btn:hover:not(:disabled), .style-btn:hover { border-color: var(--ink); }
.size-btn[aria-pressed="true"], .style-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.qty input { background: transparent; border: 0; }

/* "You might also like": same as home cards */
.mini-card { border: 0 !important; background: transparent !important; box-shadow: none !important; transform: none !important; }
.mini-card .mini-shot, .mini-card .shot { background: #ece5d6 !important; border: 0 !important; border-radius: 4px; }
.mini-card .mini-shot img { mix-blend-mode: multiply; }
.mini-card .mini-name { font-weight: 500; font-size: 15px; padding: 0 2px; }
.mini-card .price { font-weight: 600; font-size: 15px; color: var(--ink); padding: 0 2px; }

/* Footer menu: one weight for every link */
.foot-cats a, .foot-nav a { font-weight: 500; }
.mini-card { padding: 0 !important; gap: 6px; }
/* Checkout: same big title + reading column as the info pages */
#checkout > h2 { font-size: clamp(36px, 5vw, 56px); margin: 18px 0 14px; }
#checkout > .checkout-flag, #checkout > #order-summary, #checkout > #order-form { max-width: 820px; }
/* Footer sign-up label: uppercase like every other heading */
.newsletter-label { text-transform: uppercase; }
#grid .card { overflow: visible; }   /* let the selected color ring show fully */
#grid .card-dots { padding-left: 3px; }

/* ===== Final polish: a little more "sheen", closer to the moodboards ===== */
:root { --photo-bg: radial-gradient(120% 90% at 50% 36%, #f8f3ea 0%, #ede5d5 58%, #e1d6c2 100%); }
/* Studio-lit photo boxes (the shirt photos multiply onto this, so the light falls around each shirt) */
.home-sec .shot, #grid .shot, #grid .shot:has(> .tee-photo), .pdp-media, .pdp-media.shot, .pdp-media:has(> .tee-photo),
.mini-card .mini-shot, .mini-card .shot, .view-btn { background: var(--photo-bg) !important; }
.home-sec .shot, #grid .shot, .pdp-media, .mini-card .mini-shot { border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(17,17,17,.04); }
/* Gentle zoom on hover, like the tiles */
.home-sec .card .shot img, #grid .card .shot img, .mini-card .mini-shot img { transition: transform .35s ease; }
.home-sec .card:hover .shot img, #grid .card:hover .shot img, .mini-card:hover .mini-shot img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) { .home-sec .card .shot img, #grid .card .shot img, .mini-card .mini-shot img { transition: none; transform: none !important; } }

/* Price and color dots share one line (moodboard card) */
.home-sec .card-body, #grid .card-body { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; }
.home-sec .card-body h3, #grid .card-body h3, #grid .card .row { flex-basis: 100%; }
#grid .card .meta { margin: 0; }
#grid .card-dots { min-height: 0; }

/* Header: icons like the moodboard, thin rule underneath */
header.site { border-bottom: 1px solid rgba(17,17,17,.12); }
header.site .icon-btn { display: inline-flex; align-items: center; gap: 7px; }
.nav-ico { flex: none; }
@media (max-width: 560px) {
  header.site .nav-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-ico { width: 24px; height: 24px; }
}

/* Section links in teal, like "SHOP ALL →" in the moodboard */
.sec-head a { color: var(--teal); }
.sec-head a:hover { color: var(--ink); }

/* Buttons: a touch of depth on the orange call-to-action */
.btn { transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn.accent { box-shadow: inset 0 -3px 0 rgba(0,0,0,.14); }
.btn.accent:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn.accent:hover { transform: none; } }
.sec-head a { white-space: nowrap; }
.about-copy .about-cta { margin-top: 18px; }
