@charset "utf-8";
/* HPM Shop — full redesign. See shop/_private/hpm-shop-design-spec.md for the brief. */

:root {
  --ink: #17213A;
  --on-ink: #F4F5F7;
  --on-ink-muted: #AEB4C2;
  --body: #3A4150;
  --muted: #6B7280;
  --border: #E2E4E8;
  --surface-alt: #F8F8F7;
  --page-bg: #FFFFFF;
  --success-bg: #1E7A4C;
  --success-fg: #FFFFFF;
  --coming-bg: #EEF0F3;
  --coming-fg: #6B7280;
  --chip-border-inactive: #D7DAE0;
  --accent: #2D4C86;
  --gold: #D4AF37;
  --red: #C0392B; /* brand accent — header, leaf mark, trust bar, links */
  --cta: #FF9900; /* buy/cart action buttons — Amazon-style orange */
  --cta-ink: #17213A; /* dark text on the orange buttons for contrast */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { min-height: 100%; }
body {
  font-family: 'Public Sans', system-ui, -apple-system, sans-serif;
  background: var(--page-bg);
  color: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Keeps the footer pinned to the bottom of the viewport on short pages
   instead of floating right under the content. */
.shop-page { flex: 1 0 auto; }
.shop-footer { flex-shrink: 0; }

a { color: inherit; text-decoration: none; }

h1, h2 { font-family: 'Archivo', system-ui, sans-serif; }

.shop-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

/* Announcement bar */
.shop-announce {
  background: var(--ink);
  color: var(--on-ink);
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Header */
.shop-header {
  background: var(--ink);
  border-bottom: 1px solid #0F1626;
  position: sticky;
  top: 0;
  z-index: 20;
}
.shop-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px clamp(20px, 5vw, 48px);
  display: flex;
  align-items: center;
  gap: 24px;
}
.shop-logo-lockup { display: flex; flex-direction: column; line-height: 1.1; margin-right: auto; }
.shop-logo-lockup--compact { margin-right: 0; }
.shop-logo-word {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .01em;
  color: var(--on-ink);
}
.shop-logo-accent { color: var(--red); }
.shop-back {
  color: var(--on-ink);
  font-size: 18px;
  margin-right: 4px;
}
.shop-nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--on-ink-muted);
  margin-left: auto;
  margin-right: 24px;
}
.shop-nav a:hover { color: var(--red); }
.shop-cart-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--on-ink);
  white-space: nowrap;
}
.shop-cartbadge .dot { color: var(--red); font-weight: 800; }

/* Hero */
.hero { padding: 48px 0 40px; }
.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero-h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.12;
}
.hero-sub {
  font-size: 15px;
  color: var(--muted);
  margin-top: 16px;
  max-width: 480px;
  line-height: 1.6;
}
.hero-cta {
  display: inline-block;
  margin-top: 24px;
  background: var(--cta);
  color: var(--cta-ink);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 999px;
}
.hero-cta:hover { opacity: .9; }
.hero-stat {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

/* Trust bar */
.trust-bar {
  background: linear-gradient(180deg, #FBFBFA 0%, #EFF0F2 50%, #E4E6E9 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 -8px 16px -10px rgba(23,33,58,0.08);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.trust-icon { font-size: 16px; }

/* Shop section */
.shop-section { padding: 56px 0 72px; }
.shop-section-inner { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.shop-h2 { font-size: 28px; font-weight: 900; color: var(--ink); }
.shop-h2-sub { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ===== Meme wear — featured at the top of the shop, kept visually apart
   from the hometown rows below (dark card, not a rail). ===== */
.meme-feature { margin-bottom: 8px; }
.meme-feature-head { margin-bottom: 20px; }
.meme-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
}
.meme-feature-h2 { font-size: 26px; font-weight: 900; color: var(--ink); margin-top: 6px; font-family: 'Archivo', sans-serif; }
.meme-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.meme-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-ink);
}
.meme-card-media {
  aspect-ratio: 1.15;
  background: var(--on-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.meme-card-media img { width: 62%; height: 62%; object-fit: contain; }
.meme-card-body { padding: 18px 20px 22px; }
.meme-card-name { font-size: 17px; font-weight: 800; letter-spacing: .01em; }
.meme-card-meta { font-size: 12.5px; color: var(--on-ink-muted); margin-top: 6px; }
.meme-card-cta { display: inline-block; font-size: 13px; font-weight: 700; color: var(--cta); margin-top: 12px; }
.meme-card:hover .meme-card-cta { text-decoration: underline; }

.shop-section-divider { height: 1px; background: var(--border); margin: 40px 0 36px; }

@media (max-width: 560px) {
  .meme-feature-grid { grid-template-columns: 1fr; }
}

/* ===== New Products — the 3 most-recently-added items, just above the
   meme wear feature. Same light product-card as the rails below, plus a
   "New" badge on the thumbnail. ===== */
.new-feature-head { margin-bottom: 20px; }
.new-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.new-feature-h2 { font-size: 26px; font-weight: 900; color: var(--ink); margin-top: 6px; font-family: 'Archivo', sans-serif; }
.new-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.new-product-card .product-card-media { position: relative; }
.new-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 4px 9px;
  border-radius: 999px;
}

@media (max-width: 760px) {
  .new-feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .new-feature-grid { grid-template-columns: 1fr; }
}

.city-pillrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.city-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--page-bg);
  color: var(--muted);
  border: 1px solid var(--chip-border-inactive);
  text-decoration: none;
}
.city-pill:hover { border-color: var(--accent); color: var(--ink); }

/* Homepage product rows — one horizontally-scrolling rail per type, instead
   of every style dumped into one grid. */
.shop-row { margin-top: 44px; }
.shop-row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.shop-row-title { font-size: 19px; font-weight: 900; color: var(--ink); font-family: 'Archivo', sans-serif; }
.shop-row-all { font-size: 13px; font-weight: 700; color: var(--accent); text-decoration: none; white-space: nowrap; }
.shop-row-all:hover { text-decoration: underline; }
.shop-rail {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.shop-rail .product-card {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: start;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.shop-section--tight { padding: 0 0 56px; }
.shop-section--tight .shop-row-title { text-align: center; }
.product-grid--compact { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.product-grid--compact .product-card { flex: 0 0 220px; }
.product-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--page-bg);
}
.product-card:hover { border-color: var(--accent); }
.product-card-media {
  position: relative;
  aspect-ratio: 1;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-media img { width: 70%; height: 70%; object-fit: contain; }
.product-card-body { padding: 14px 16px 18px; }
.product-card-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.product-card-meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.product-card-cta { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--accent); margin-top: 10px; }

.shop-placeholder {
  text-align: center;
  padding: 64px 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface-alt);
}
.shop-placeholder-icon { font-size: 40px; margin-bottom: 14px; }
.shop-placeholder-heading { font-family: 'Archivo', sans-serif; font-size: 18px; font-weight: 800; color: var(--ink); }
.shop-placeholder-desc { font-size: 13.5px; color: var(--muted); margin-top: 8px; max-width: 420px; margin-left: auto; margin-right: auto; }
.shop-placeholder-note { font-size: 12.5px; color: var(--accent); font-weight: 700; margin-top: 14px; }

/* Town page */
.town-page { padding: 32px 0 72px; }
.town-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 320px;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.town-hero-overlay {
  width: 100%;
  height: 100%;
  padding: 32px clamp(20px, 5vw, 48px);
  background: rgba(13,18,33,0.4);
  color: var(--on-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}
.town-hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #F4C95D;
  background: rgba(23,33,58,.78);
  border: 1px solid rgba(255,255,255,.18);
  padding: 7px 16px;
  border-radius: 999px;
}
.town-hero-name { font-family: 'Archivo', sans-serif; font-size: clamp(26px, 5vw, 42px); font-weight: 900; margin-top: 6px; }
.town-hero-sub { font-size: 13.5px; color: var(--on-ink-muted); max-width: 480px; text-shadow: 0 2px 10px rgba(0,0,0,.45); }

/* Ontario-style "entering town" road sign, superimposed on a real hero photo */
.town-sign-wrap { display: flex; flex-direction: column; align-items: center; }
.town-sign {
  background: #1E4D8C;
  border: 3px solid #F4F5F7;
  border-radius: 6px;
  padding: 12px 36px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.45);
}
.town-sign-text {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 5.5vw, 48px);
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1;
}
.town-sign-posts { display: flex; gap: 36px; margin-top: -1px; }
.town-sign-post { width: 7px; height: 20px; background: #AEB4C2; border: 1px solid rgba(0,0,0,.3); border-radius: 1px; }
.town-commercial {
  position: relative;
  margin-top: 20px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16 / 9;
}
.town-commercial-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.town-commercial-sound {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: rgba(13,18,33,0.55);
  color: var(--on-ink);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}
.town-commercial-sound:hover { background: rgba(13,18,33,0.75); }

/* Product Spotlight — animated colour-cycling panel, replaces the old
   per-town video. Light card so it doesn't compete with the hero above it. */
.town-spotlight {
  position: relative;
  margin-top: 20px;
  background: #FDFCFA;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  min-height: 380px;
  box-shadow: 0 24px 48px -28px rgba(23,33,58,.18);
}
.town-spotlight-copy { padding: 0 20px 0 clamp(24px,4vw,48px); color: var(--ink); }
.town-spotlight-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: #B8902E; margin-bottom: 12px; }
.town-spotlight-h2 { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: clamp(22px, 3vw, 30px); line-height: 1.15; margin: 0 0 12px; color: var(--ink); }
.town-spotlight-sub { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0 0 18px; max-width: 360px; }
.town-spotlight-swatches { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.town-spotlight-swatch { width: 20px; height: 20px; border-radius: 999px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--border); transition: box-shadow .3s ease, transform .3s ease; }
.town-spotlight-swatch.is-active { box-shadow: 0 0 0 2px var(--gold); transform: scale(1.18); }
.town-spotlight-swatch-label { font-size: 12px; font-weight: 700; color: var(--ink); margin-left: 4px; }
.town-spotlight-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.town-spotlight-cta { display: inline-block; background: var(--ink); color: #fff; font-weight: 700; font-size: 13.5px; padding: 13px 24px; border-radius: 999px; }
.town-spotlight-price { font-size: 14px; font-weight: 700; color: var(--ink); }
.town-spotlight-stage { position: relative; height: 380px; background: linear-gradient(180deg, #F6F4EF, #EFEDE6); }
@keyframes townSpotlightFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(.7deg); } }
@keyframes townSpotlightSheen { 0% { background-position: -40% 0; } 55% { background-position: 140% 0; } 100% { background-position: 140% 0; } }
.town-spotlight-frame {
  position: absolute; inset: 24px 24px 24px 0;
  border-radius: 16px; overflow: hidden; background: #fff;
  animation: townSpotlightFloat 7s ease-in-out infinite;
  box-shadow: 0 18px 36px -16px rgba(23,33,58,.25);
}
.town-spotlight-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.town-spotlight-photo.is-active { opacity: 1; }
.town-spotlight-sheen {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 48%, transparent 62%);
  background-size: 260% 100%;
  mix-blend-mode: overlay;
  animation: townSpotlightSheen 5.5s ease-in-out infinite;
  pointer-events: none;
}

@media (max-width: 760px) {
  .town-spotlight { grid-template-columns: 1fr; }
  .town-spotlight-copy { padding: 24px 20px 0; }
  .town-spotlight-stage { height: 260px; }
  .town-spotlight-frame { inset: 0 20px 20px; }
}

.town-hero--placeholder {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 40px 24px;
}
.town-hero--placeholder .hero-tile--patch { margin-bottom: 0; }
.town-hero-placeholder-note { font-size: 12px; color: var(--muted); text-align: center; max-width: 360px; }
.town-hero-placeholder-note code { background: var(--border); padding: 1px 5px; border-radius: 4px; font-size: 11px; }
.town-header { margin: 28px 0 20px; }
.town-h1 { font-size: 26px; font-weight: 900; color: var(--ink); }
.town-stat { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Shop-with-sidebar layout + "Shop by City" sidebar */
.shop-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 40px; align-items: start; }
.city-sidebar { position: sticky; top: 24px; border: 1px solid var(--border); border-radius: 16px; padding: 18px; background: var(--surface-alt); }
.city-sidebar-head { font-family: 'Archivo', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.city-sidebar-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.city-sidebar-link { display: block; font-size: 13.5px; color: var(--body); padding: 7px 8px; border-radius: 8px; }
.city-sidebar-link:hover { background: var(--border); color: var(--ink); }
.city-sidebar-link.is-active { background: var(--accent); color: var(--on-ink); font-weight: 700; }

/* Footer */
.shop-footer { background: var(--ink); color: var(--on-ink); padding: 40px 0; margin-top: 0; }
.shop-footer-inner { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); text-align: center; }
.shop-footer-word { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 15px; }
.shop-footer-tag { font-size: 12px; color: var(--on-ink-muted); margin-top: 10px; }
.shop-footer-copy { font-size: 11px; color: var(--on-ink-muted); margin-top: 6px; }
.shop-footer-credit { font-size: 10px; color: #5B6376; margin-top: 10px; }
.shop-footer-credit a { color: #5B6376; text-decoration: underline; text-underline-offset: 2px; }
.shop-footer-credit a:hover { color: var(--on-ink-muted); }

/* ---------------------------------------------------------------- */
/* Product / cart pages — narrower reading column, same token set   */
/* ---------------------------------------------------------------- */

.shop-narrow { max-width: 560px; margin: 0 auto; }

.shop-pimg {
  background: var(--page-bg); margin: 20px auto; border-radius: 16px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  min-height: 300px;
}
.shop-pimg img { width: 80%; max-width: 320px; object-fit: contain; transition: opacity .15s ease; }
.shop-gallery { display: flex; gap: 7px; padding: 0 0 10px; overflow-x: auto; }
.shop-gallery-thumb {
  width: 52px; height: 52px; border-radius: 8px; overflow: hidden;
  border: 2px solid var(--border); flex-shrink: 0; cursor: pointer;
  opacity: 0.7; transition: all .12s ease; background: var(--page-bg);
}
.shop-gallery-thumb:hover { opacity: 1; }
.shop-gallery-thumb.selected { border-color: var(--accent); opacity: 1; box-shadow: 0 0 0 2px rgba(45,76,134,0.2); }
.shop-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.shop-chooser-label {
  font-family: 'Archivo', sans-serif; font-size: 13px; font-weight: 900;
  color: var(--accent); text-transform: uppercase; letter-spacing: .04em;
  margin: 14px 0 8px;
}
.shop-gallery + .shop-chooser-label,
.shop-pimg + .shop-chooser-label { margin-top: 10px; }

.shop-thumbrow { display: flex; gap: 10px; padding: 0 0 4px; overflow-x: auto; }
.shop-thumb {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  width: 52px; flex-shrink: 0; cursor: pointer;
  opacity: 0.75; transition: opacity .12s ease;
}
.shop-thumb:hover { opacity: 1; }
.shop-thumb.selected { opacity: 1; }
.shop-thumb-imgwrap {
  display: block; width: 38px; height: 38px; border-radius: 8px; overflow: hidden;
  border: 2px solid var(--border); background: var(--page-bg); transition: all .12s ease;
}
.shop-thumb.selected .shop-thumb-imgwrap { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(45,76,134,0.2); }
.shop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.shop-thumb-label {
  font-size: 9.5px; font-weight: 600; color: var(--muted); text-align: center;
  line-height: 1.15; max-width: 52px; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}
.shop-thumb.selected .shop-thumb-label { color: var(--accent); font-weight: 700; }

.shop-sizerow { display: flex; gap: 7px; padding: 14px 0 0; flex-wrap: wrap; }
.shop-size-pill {
  padding: 6px 13px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  background: var(--surface-alt); color: var(--accent); cursor: pointer; border: 2px solid transparent;
}
.shop-size-pill.selected { background: var(--ink); color: var(--on-ink); }

.shop-shotrow { display: flex; gap: 10px; padding: 10px 0 0; }

.shop-pinfo { padding: 22px 0 40px; }
.shop-pname { font-family: 'Archivo', sans-serif; font-size: 22px; font-weight: 900; color: var(--ink); }
.shop-pbrand { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-top: 3px; }
.shop-pcolor { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; margin-top: 4px; }
.shop-pprice { font-size: 18px; color: var(--ink); font-weight: 700; margin-top: 10px; }
.shop-shipnote { font-size: 11px; color: var(--success-bg); font-weight: 600; margin-left: 4px; }
.shop-ptags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.shop-ptag { background: var(--surface-alt); color: var(--accent); font-size: 10.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.shop-ptag-ship { background: #E5F6EC; color: var(--success-bg); }
.shop-pdesc { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 14px; }
.shop-addbtn {
  margin-top: 20px; width: 100%; background: var(--cta); color: var(--cta-ink);
  border: none; padding: 15px; border-radius: 999px; font-size: 14px;
  font-weight: 700; cursor: pointer;
}
.shop-addbtn:active { opacity: .9; }
.shop-added-msg {
  margin-top: 10px; font-size: 12px; color: var(--success-bg); font-weight: 600;
  display: none; text-align: center;
}
.shop-citylink {
  display: block; margin-top: 16px; text-align: center;
  font-size: 12.5px; font-weight: 700; color: var(--accent);
}
.shop-citylink:hover { text-decoration: underline; }

/* Cart */
.shop-cartlist { padding: 20px 0; display: flex; flex-direction: column; gap: 12px; }
.shop-cartitem {
  display: flex; gap: 10px; background: var(--page-bg); border-radius: 12px;
  border: 1px solid var(--border); padding: 10px; align-items: center;
}
.shop-cartitem img { width: 48px; height: 48px; object-fit: contain; background: var(--page-bg); flex-shrink: 0; }
.shop-ci-main { flex: 1; min-width: 0; }
.shop-ci-title { font-size: 13px; font-weight: 700; color: var(--ink); }
.shop-ci-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.shop-ci-price { font-size: 12px; color: var(--ink); font-weight: 700; margin-top: 4px; }
.shop-qty { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.shop-qtybtn {
  width: 22px; height: 22px; border-radius: 6px; background: var(--surface-alt);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--accent); border: none; cursor: pointer;
}
.shop-remove { background: none; border: none; color: #C0282D; font-size: 11px; cursor: pointer; margin-left: 4px; }

.shop-cartempty { padding: 70px 24px; text-align: center; color: var(--muted); font-size: 13px; }
.shop-cartempty a { color: var(--accent); font-weight: 700; }

.shop-subtotalbar {
  padding: 18px 0 40px; border-top: 1px solid var(--border);
  background: var(--page-bg);
}
.shop-subrow { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.shop-subrow-discount { color: var(--success-bg); }
.shop-shipnote-row { font-size: 11px; color: var(--success-bg); font-weight: 600; margin-bottom: 10px; }

.shop-promorow { display: flex; gap: 8px; margin-bottom: 14px; }
.shop-promo-input {
  flex: 1 1 auto; min-width: 0; border: 1px solid var(--chip-border-inactive); border-radius: 999px;
  padding: 10px 16px; font-size: 13px; font-weight: 600; letter-spacing: .03em;
  text-transform: uppercase; color: var(--ink); background: var(--page-bg);
}
.shop-promo-input::placeholder { text-transform: none; font-weight: 400; color: var(--muted); letter-spacing: normal; }
.shop-promo-input:focus { outline: none; border-color: var(--accent); }
.shop-promo-apply {
  flex: none; background: var(--surface-alt); color: var(--ink); border: 1px solid var(--chip-border-inactive);
  border-radius: 999px; padding: 10px 18px; font-size: 13px; font-weight: 700; cursor: pointer;
}
.shop-promo-apply:hover { border-color: var(--accent); color: var(--accent); }
.shop-promo-apply:disabled { opacity: .5; cursor: default; }
.shop-promo-msg { font-size: 11.5px; font-weight: 600; margin: -6px 0 14px; }
.shop-promo-msg.is-success { color: var(--success-bg); }
.shop-promo-msg.is-error { color: #C0282D; }
.shop-checkoutbtn {
  width: 100%; background: var(--cta); color: var(--cta-ink); border: none;
  padding: 15px; border-radius: 999px; font-size: 14px; font-weight: 700;
  cursor: pointer;
}
.shop-checkoutbtn:disabled { opacity: 0.5; cursor: default; }

/* ---------------------------------------------------------------- */
/* Responsive                                                       */
/* ---------------------------------------------------------------- */

@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .shop-header-inner { padding: 14px 20px; }
  .shop-nav { display: none; }
  .hero { padding: 32px 0 32px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-h1 { font-size: 26px; }
  .trust-bar-inner { justify-content: flex-start; gap: 18px 28px; }
  .shop-section { padding: 40px 0 56px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
  .shop-rail .product-card { width: 188px; }
  .shop-narrow { padding: 0 20px; }
  .shop-with-sidebar { grid-template-columns: minmax(0, 1fr); }
  .city-sidebar { position: static; }
}

/* ===== Hero — 2026 refresh (word + photo rotation, synced) ===== */

.hero-tagline {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
}
.hero-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.hero-cta-row .hero-cta { margin-top: 0; }
.hero-cta-row .hero-stat { margin-top: 0; }

/* Spotlight — one town in focus at a time, pure CSS (keyframes are written
   per-page in index.php since the slot timing depends on the live town
   count). Each .hero-spotlight-item shares the animation and is staggered
   by its own negative animation-delay set inline. */
.hero-spotlight {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.hero-spotlight-leaf { flex: none; width: 46px; height: 48px; }
.hero-spotlight-stage {
  position: relative;
  height: clamp(48px, 8.5vw, 68px);
  flex: 1 1 auto;
  min-width: 0;
}
.hero-spotlight-item {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  height: 100%;
  font-family: 'Archivo', sans-serif;
  font-size: clamp(34px, 7vw, 58px);
  font-weight: 900;
  line-height: 1;
  color: var(--red);
  white-space: nowrap;
  opacity: 0;
  animation-name: hpmSpotlight;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
/* Respect reduced-motion by dropping the slide, not the movement itself —
   this element's whole job is to catch the eye, so freezing it outright
   defeats the point. A plain crossfade is the low-vestibular-impact version. */
@media (prefers-reduced-motion: reduce) {
  .hero-spotlight-item { animation-name: hpmSpotlightReduced; }
}

/* Photo panel v3 — just the real Mattawa hoodie on two models, static,
   no card/shadow/badge/animation. */
.hero-visual { display: flex; justify-content: center; }
.hero-pair {
  display: flex;
  gap: 4px;
  width: 100%;
  max-width: 460px;
}
.hero-pair-photo {
  flex: 1 1 0;
  width: 50%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 720px) {
  .hero-pair { max-width: 360px; }
}

/* ===== Black Friday hoodie ad units — the actual approved 300x250 / 728x90
   standard ad sizes, NOT a hero section. Exactly two sizes, one breakpoint,
   everywhere this banner appears: 300x250 under 900px, 728x90 at 900px+.
   Centered as a fixed-size block wherever it's dropped in; nothing
   stretches to fill its container. ===== */
.bf-adslot { display: flex; justify-content: center; margin: 20px 0; }
.bf-ad {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  font-family: 'Public Sans', system-ui, sans-serif;
  color: var(--on-ink);
  border-radius: 10px;
}
.bf-ad .photo-clip { position: absolute; inset: 0; overflow: hidden; }
.bf-ad .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 15%; animation: bfAdZoom 9s ease-in-out infinite; }
.bf-ad .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,33,58,0) 32%, rgba(23,33,58,.78) 56%, rgba(23,33,58,.97) 100%); }
.bf-ad .eyebrow { color: var(--red); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.bf-ad .headline { font-family: 'Archivo', sans-serif; font-weight: 900; color: var(--on-ink); line-height: 1.08; }
.bf-ad .code { font-family: 'Archivo', sans-serif; font-weight: 800; letter-spacing: .03em; color: var(--on-ink); border: 1.5px dashed var(--on-ink-muted); display: inline-block; border-radius: 6px; }
.bf-ad .cta { display: inline-block; background: var(--cta); color: var(--cta-ink); font-weight: 800; text-align: center; text-decoration: none; animation: bfAdPulse 2.4s ease-in-out 1.5s infinite; }
.bf-ad .cta:hover { opacity: .9; }
.bf-ad .expiry { color: var(--on-ink-muted); font-weight: 600; }

@keyframes bfAdZoom { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.09); } }
@keyframes bfAdPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* 300x250 — shown under 900px (all mobile + tablet) */
.bf-ad.ad-300x250 { width: 300px; height: 250px; }
.ad-300x250 .content { position: absolute; left: 16px; right: 16px; bottom: 14px; }
.ad-300x250 .eyebrow { font-size: 10px; }
.ad-300x250 .headline { font-size: 21px; margin-top: 4px; }
.ad-300x250 .row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.ad-300x250 .code { font-size: 11px; padding: 3px 8px; }
.ad-300x250 .cta { font-size: 12px; padding: 7px 14px; border-radius: 999px; }
.ad-300x250 .expiry { display: block; font-size: 9.5px; margin-top: 8px; }

/* 728x90 — shown at 900px and up (desktop) */
.bf-ad.ad-728x90 { width: 728px; max-width: 100%; height: 90px; display: flex; align-items: stretch; }
.ad-728x90 .photo-clip { position: relative; width: 90px; height: 90px; flex: none; overflow: hidden; }
.ad-728x90 .body { flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; min-width: 0; gap: 18px; }
.ad-728x90 .copy { min-width: 0; }
.ad-728x90 .eyebrow { font-size: 10px; }
.ad-728x90 .headline { font-size: 22px; margin-top: 2px; white-space: nowrap; }
.ad-728x90 .expiry { display: block; font-size: 10px; margin-top: 2px; }
.ad-728x90 .right { display: flex; align-items: center; gap: 14px; flex: none; }
.ad-728x90 .code { font-size: 12px; padding: 5px 10px; }
.ad-728x90 .cta { font-size: 13px; padding: 10px 22px; border-radius: 999px; }

.ad-300x250.bf-ad--mid { display: block; }
.ad-728x90.bf-ad--wide { display: none; }
@media (min-width: 900px) {
  .ad-300x250.bf-ad--mid { display: none; }
  .ad-728x90.bf-ad--wide { display: flex; }
}

/* Product pages always show the 300x250, at every screen width. */
.shop-hoodie-promo .ad-300x250.bf-ad--mid { display: block; }
.shop-hoodie-promo .ad-728x90.bf-ad--wide { display: none; }

.shop-hoodiecat-promo { margin-bottom: 8px; }

/* ===== "Suggest a hometown" link — sits right under every town list ===== */
.hometown-suggest-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.hometown-suggest-link:hover { color: var(--accent); text-decoration: underline; }
.hometown-suggest-link--sidebar {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
}

/* ===== Request-a-hometown form page ===== */
.hometown-page { padding: 48px 0 96px; }
.hometown-form-wrap { max-width: 480px; margin: 0 auto; }
.hometown-form-title { font-size: 28px; font-weight: 900; color: var(--ink); line-height: 1.2; }
.hometown-form-intro { color: var(--muted); font-size: 15px; margin-top: 12px; line-height: 1.6; }
.hometown-form { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.hometown-field { display: flex; flex-direction: column; gap: 8px; }
.hometown-field label { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.hometown-field input {
  font: inherit;
  font-size: 15px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--page-bg);
  color: var(--ink);
}
.hometown-field input:focus { outline: none; border-color: var(--accent); }
.hometown-submit {
  margin-top: 8px;
  padding: 14px 18px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-ink);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.hometown-submit:disabled { opacity: .6; cursor: default; }
.hometown-submit:hover:not(:disabled) { opacity: .92; }
.hometown-form-error {
  display: none;
  font-size: 13px;
  color: #B4232C;
}
.hometown-form-success {
  display: none;
  margin-top: 24px;
  padding: 18px;
  border-radius: 14px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  text-align: center;
}
.hometown-form-success-title { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 17px; color: var(--ink); }
.hometown-form-success-sub { margin-top: 6px; font-size: 13.5px; color: var(--muted); }

/* ===== Legal pages (Privacy / Terms / Refund / Shipping) ===== */
.legal-page { padding: 48px 0 96px; max-width: 640px; margin: 0 auto; }
.legal-page h1 { font-size: 28px; font-weight: 900; color: var(--ink); }
.legal-updated { font-size: 13px; color: var(--muted); margin-top: 8px; }
.legal-page h2 { font-size: 17px; font-weight: 800; color: var(--ink); margin-top: 32px; }
.legal-page p { margin-top: 12px; line-height: 1.7; color: var(--body); font-size: 14.5px; }
.legal-page ul, .legal-page ol { margin-top: 12px; padding-left: 22px; line-height: 1.7; color: var(--body); font-size: 14.5px; }
.legal-page li { margin-top: 4px; }
.legal-page a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-page strong { color: var(--ink); }
.legal-page-nav { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; }
.legal-page-nav a { color: var(--muted); text-decoration: none; margin-right: 16px; }
.legal-page-nav a:hover { color: var(--accent); text-decoration: underline; }

/* ===== Discreet footer legal links ===== */
.shop-footer-legal { margin-top: 10px; font-size: 11px; }
.shop-footer-legal a { color: var(--on-ink-muted); text-decoration: none; margin: 0 6px; }
.shop-footer-legal a:hover { color: var(--on-ink); text-decoration: underline; }
