/* Bay Shore Relics LLC — modern e-commerce theme
   Design tokens drive light/dark mode; html.a11y-* classes drive the
   accessibility toolbar. Every class name used by the Jekyll templates
   and cart.js is preserved. */

:root {
  --bg: #f3f1e9;
  --surface: #fffdf8;
  --surface-2: #e9e3d3;
  --ink: #14232e;
  --ink-soft: #33454f;
  --muted: #64707a;
  --line: #ddd5c2;
  --accent: #0e3a5c;
  --accent-deep: #082a44;
  --accent-soft: #e2ebf2;
  --on-accent: #ffffff;
  --brass: #b08a2e;
  --signal: #b23a2a;
  --footer-bg: #0a2c44;
  --header-bg: rgba(255, 253, 248, 0.94);
  --shadow-sm: 0 1px 2px rgba(24, 20, 16, 0.07);
  --shadow-md: 0 2px 6px rgba(24, 20, 16, 0.07), 0 14px 34px rgba(24, 20, 16, 0.10);
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: "Oswald", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --focus: var(--accent);
}

/* ---------- Dark mode ---------- */
html[data-theme="dark"] {
  --bg: #071523;
  --surface: #0c2233;
  --surface-2: #122c40;
  --ink: #eef3f0;
  --ink-soft: #c3d4db;
  --muted: #8ba3ad;
  --line: #1d3348;
  --accent: #6fb3d8;
  --accent-deep: #4f97c4;
  --accent-soft: #10293d;
  --on-accent: #ffffff;
  --brass: #d9b45f;
  --signal: #e0604f;
  --footer-bg: #040e18;
  --header-bg: rgba(7, 21, 35, 0.94);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.4), 0 14px 34px rgba(0, 0, 0, 0.45);
  --focus: #9fd4e8;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
  transition: background-color 0.25s ease, color 0.25s ease;
}

img { max-width: 100%; }

/* ---------- Accessibility foundations ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -70px;
  z-index: 400;
  background: var(--accent);
  color: var(--on-accent);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; color: var(--on-accent); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 560px) {
  .wrap { padding: 0 24px; }
}

/* ---------- Accessibility preference classes (toolbar toggles) ---------- */
html.a11y-text-large body { font-size: 19.5px; line-height: 1.7; }
html.a11y-text-large .card-body h3,
html.a11y-text-large .cart-desc h3 { font-size: 18.5px; }
html.a11y-text-large .promo-bar { font-size: 15px; }

html.a11y-dyslexia body {
  font-family: "OpenDyslexic", "Atkinson Hyperlegible", Verdana, var(--font-body);
  letter-spacing: 0.4px;
  word-spacing: 2.5px;
  line-height: 1.85;
}
html.a11y-dyslexia .section-head h2,
html.a11y-dyslexia .listing-info h2,
html.a11y-dyslexia .hero-text h2,
html.a11y-dyslexia .tile-name,
html.a11y-dyslexia .email-band h2,
html.a11y-dyslexia .prose h2,
html.a11y-dyslexia .prose h3,
html.a11y-dyslexia .section-title,
html.a11y-dyslexia .buy-panel .price,
html.a11y-dyslexia .footer h3 { letter-spacing: 0.4px; }

html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-links .card > a,
html.a11y-links .nav-strip a,
html.a11y-links .cart-btn { text-decoration: none !important; }

html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
html.a11y-motion .card:hover { transform: none; }

/* High contrast — tuned per theme */
html.a11y-contrast[data-theme="light"] {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f2f2f2;
  --ink: #000000;
  --ink-soft: #111111;
  --muted: #2b2b2b;
  --line: #000000;
  --accent: #9c1f10;
  --accent-deep: #7a160b;
  --accent-soft: #ffe9e4;
  --focus: #000000;
}
html.a11y-contrast[data-theme="dark"] {
  --bg: #000000;
  --surface: #0a0a0a;
  --surface-2: #161616;
  --ink: #ffffff;
  --ink-soft: #f2f2f2;
  --muted: #d8d8d8;
  --line: #ffffff;
  --accent: #ff7a5c;
  --accent-deep: #ff8a6e;
  --accent-soft: #2a0f0a;
  --focus: #ffffff;
}
html.a11y-contrast :focus-visible { outline-width: 4px; }
html.a11y-contrast .card,
html.a11y-contrast .listing,
html.a11y-contrast .prose,
html.a11y-contrast .shop-tools,
html.a11y-contrast .cart-line,
html.a11y-contrast .cart-summary,
html.a11y-contrast .buy-panel { border-width: 2px; }

/* ---------- Promo bar ---------- */
.promo-bar {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  font-size: 13.5px;
  letter-spacing: 0.3px;
  padding: 10px 16px;
}
html[data-theme="dark"] .promo-bar { background: #000; }
.promo-bar p { margin: 0; }
.promo-bar strong { color: #fff; }
html[data-theme="dark"] .promo-bar strong { color: var(--ink); }
.promo-bar .dot { margin: 0 10px; color: var(--accent); }

/* ---------- Masthead ---------- */
.masthead {
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--brass);
  position: sticky;
  top: 0;
  z-index: 150;
}
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}
.brand-block { min-width: 0; }
.brand-lockup { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-lockup { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark { flex-shrink: 0; line-height: 0; border-radius: 50%; }
.brand-mark img { display: block; filter: drop-shadow(0 4px 10px rgba(8, 42, 68, 0.35)); transition: transform 0.2s ease; }
.brand-mark:hover img { transform: scale(1.04); }
.mark-main { width: clamp(88px, 23vw, 96px); height: auto; }
@media (max-width: 560px) {
  .brand-lockup { gap: 10px; }
}
.masthead-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Icon buttons (theme toggle, a11y) */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.icon-btn .icon-btn-label { white-space: nowrap; }
html[data-theme="dark"] .icon-btn .moon { display: none; }
html[data-theme="light"] .icon-btn .sun, html:not([data-theme]) .icon-btn .sun { display: none; }

/* Accessibility toolbar */
.a11y-wrap { position: relative; }
.a11y-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(320px, calc(100vw - 32px));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  z-index: 300;
}
.a11y-panel[hidden] { display: none; }
.a11y-panel h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin: 10px 12px 6px;
  font-weight: 700;
}
.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}
.a11y-row:hover { background: var(--surface-2); }
.a11y-row .a11y-desc { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; }
/* Toggle switch */
.switch {
  position: relative;
  flex-shrink: 0;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 0.2s ease, background 0.2s ease;
}
.a11y-row[aria-checked="true"] .switch { background: var(--accent); border-color: var(--accent); }
.a11y-row[aria-checked="true"] .switch::after { transform: translateX(20px); background: #fff; }

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  min-height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
}
html[data-theme="dark"] .cart-btn { color: #141210; }
.cart-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cart-badge {
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  min-width: 24px;
  height: 24px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
}
.cart-btn:hover .cart-badge { background: #fff; color: var(--accent); }

/* ---------- Nav strip ---------- */
.nav-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.nav-strip .wrap {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  align-items: center;
}
.nav-strip .wrap::-webkit-scrollbar { display: none; }
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 4px;
  min-height: 48px;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 4px; }
.nav-strip a.nav-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  padding: 14px 18px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.nav-strip a.nav-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.nav-strip a.nav-link[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- Content ---------- */
.content { padding-block: 8px 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin: 24px 0 8px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
  min-height: 380px;
  display: flex;
  align-items: stretch;
  box-shadow: var(--shadow-md);
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-text {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 600px;
  margin: 48px 0 48px 48px;
  background: var(--surface);
  color: var(--ink);
  padding: 36px 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.hero-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12.5px;
  font-weight: 700;
}
.hero-text h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 700;
}
.hero-text p.lead { margin: 0 0 24px; font-size: 16.5px; color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.2px;
  padding: 14px 30px;
  min-height: 50px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); border-color: var(--ink-soft); transform: none; }
/* Legacy class used by listing/cart/thank-you templates */
.btn-brass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 13px 28px;
  min-height: 50px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-brass:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); }
.btn-brass.in-cart { background: var(--ink-soft); }

/* ---------- Section titles ---------- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 48px 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: clamp(22px, 3vw, 30px);
  margin: 0;
  font-weight: 600;
}
.section-head h2 .accent { color: var(--accent); }
.section-head a.more {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.section-head a.more:hover { text-decoration: underline; }
/* Legacy centered title (cart page) */
.section-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  font-size: clamp(24px, 3.4vw, 32px);
  margin: 36px 0 22px;
  font-weight: 600;
}

/* ---------- Category tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 6px 0 4px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 180px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
  width: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.tile-kicker {
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
  font-weight: 700;
}
.tile-name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0;
  color: var(--ink);
  min-height: 2.5em;
}
.tile-sub { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.tile::after {
  content: "\2192";
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 20px;
  color: var(--muted);
  transition: transform 0.15s ease, color 0.15s ease;
}
.tile:hover::after { transform: translateX(4px); color: var(--accent); }

/* ---------- Product cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.card > a { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex: 1; }
.card-img { aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--signal);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 {
  font-size: 16.5px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  color: var(--ink);
}
.card-meta { margin: 0; color: var(--muted); font-size: 13.5px; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 6px; }
.card-price { font-size: 22px; font-weight: 800; color: var(--ink); margin: 0; letter-spacing: -0.3px; }
.card-cta {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.card:hover .card-cta { background: var(--accent); }
.empty { text-align: center; color: var(--ink-soft); font-size: 18px; padding: 30px 0; }

/* ---------- Shop search + filters ---------- */
.shop-tools {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin: 0 0 24px;
  box-shadow: var(--shadow-sm);
}
#slide-search {
  width: 100%;
  padding: 14px 18px 14px 46px;
  font-size: 16px;
  font-family: var(--font-body);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236a645c' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 16px center;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  min-height: 52px;
}
#slide-search::placeholder { color: var(--muted); }
#slide-search:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--accent); }
.shop-filters { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.shop-filters select {
  flex: 1 1 180px;
  padding: 11px 14px;
  font-size: 15px;
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  min-height: 48px;
}
.result-count { color: var(--muted); font-size: 14px; margin: 14px 0 0; }

/* Photo placeholder */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 2px dashed var(--line);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  text-align: center;
  line-height: 1.8;
}
.img-placeholder.large { aspect-ratio: 4 / 3; font-size: 16px; }

/* ---------- Listing page ---------- */
.crumb { margin: 24px 0 4px; }
.crumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.crumb a:hover { text-decoration: underline; }

.listing {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px clamp(20px, 4vw, 44px);
  margin-top: 14px;
  box-shadow: var(--shadow-sm);
}
.listing-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 44px;
  align-items: start;
}
.listing-photo img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: block;
  background: var(--surface-2);
}
.photo-note { color: var(--muted); font-size: 13.5px; margin: 10px 0 0; }

.listing-info h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 600;
}
.details { margin: 0 0 24px; border-top: 1px solid var(--line); }
.details > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.details dt {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  color: var(--muted);
  padding-top: 4px;
}
.details dd { margin: 0; }

/* Buy panel */
.buy-panel,
.ticket {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.buy-panel .ticket-label,
.ticket .ticket-label {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.buy-panel .ticket-label::before,
.ticket .ticket-label::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.buy-panel .price,
.ticket .price {
  margin: 0 0 16px;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ink);
  line-height: 1;
}
.buy-panel .ticket-actions,
.ticket .ticket-actions { margin: 0 0 6px; }
.buy-panel .ticket-actions .btn-brass,
.ticket .ticket-actions .btn-brass { width: 100%; }
.ship-note { margin: 8px 0 14px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.paypal-msg { margin: 10px 0 0; font-size: 14.5px; min-height: 22px; color: var(--ink); }
#paypal-buttons, #paypal-button-container { max-width: 420px; }
.secure-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; }
.notice {
  margin: 0 0 12px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 15px;
}
.sold-note {
  margin: 0 0 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 16.5px;
}

.listing-desc { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 24px; }
.listing-desc h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 20px;
  margin: 0 0 10px;
  font-weight: 600;
}
.listing-desc p { line-height: 1.7; color: var(--ink-soft); }

/* ---------- Static pages ---------- */
.prose {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px clamp(22px, 4vw, 52px);
  margin-top: 26px;
  box-shadow: var(--shadow-sm);
}
.prose h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: clamp(26px, 3.4vw, 34px);
  margin: 0 0 14px;
  font-weight: 600;
}
.prose h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 20px;
  margin: 28px 0 8px;
  font-weight: 600;
}
.prose h4 { font-size: 17px; margin: 22px 0 6px; }
.prose p, .prose li { line-height: 1.75; color: var(--ink-soft); }
.prose a { color: var(--accent); font-weight: 600; }
.prose a:hover { color: var(--accent-deep); }

/* ---------- Email band ---------- */
.email-band {
  background: linear-gradient(135deg, #0e3a5c 0%, #082a44 60%, #0d3f66 100%);
  border-radius: 20px;
  margin: 60px 0 8px;
  padding: 48px clamp(24px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.email-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 15%, rgba(217, 180, 95, 0.28), transparent 55%);
  pointer-events: none;
}
.email-band > * { position: relative; }
.email-band h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  font-size: clamp(24px, 3.4vw, 34px);
  margin: 0 0 10px;
  font-weight: 600;
}
html[data-theme="dark"] .email-band h2 { color: #fff; }
.email-band h2 .accent { color: var(--accent); }
html[data-theme="light"] .email-band h2 .accent { color: var(--brass); }
.email-band p { color: #c3d4db; margin: 0; font-size: 16px; }
.email-form { display: flex; gap: 10px; }
.email-form label {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.email-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  font-size: 16px;
  font-family: var(--font-body);
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: #fff;
  color: #1b1a18;
  min-height: 52px;
}
.email-form input[type="email"]:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
.email-form .btn { flex-shrink: 0; }
.email-note { display: block; margin-top: 10px; font-size: 13px; color: #8ba3ad; }
html[data-theme="dark"] .email-note { color: var(--muted); }
.email-done {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--radius);
}
html[data-theme="dark"] .email-done { color: var(--ink); }

/* ---------- Footer ---------- */
.wave-divider { line-height: 0; margin-top: 72px; }
.wave-divider svg { display: block; width: 100%; height: 64px; }
.wave-divider path { fill: var(--footer-bg); }
.footer { background: var(--footer-bg); color: #c3d4db; margin-top: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr 1.3fr;
  gap: 40px;
  padding-block: 56px 40px;
}
.footer h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  margin: 0 0 16px;
  font-weight: 700;
}
html[data-theme="dark"] .footer h3 { color: var(--ink); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin: 0 0 10px; }
.footer ul a { color: #c3d4db; text-decoration: none; font-size: 15px; }
.footer ul a:hover { color: #fff; text-decoration: underline; }
.footer .trust p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.65; }
.footer .trust strong { color: #fff; }
.footer .contact-col address { font-style: normal; font-size: 15px; line-height: 1.7; margin: 0 0 14px; color: #c3d4db; }
.footer .contact-col p { margin: 0 0 10px; }
.footer .contact-col a { color: #c3d4db; text-decoration: none; font-size: 15px; }
.footer .contact-col a:hover { color: #fff; text-decoration: underline; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0 28px;
  font-size: 13px;
  color: #8ba3ad;
}
.footer-legal .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.footer-legal a { color: #cdbf9f; text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }
.footer-legal .credit-row { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: center; }
.footer-legal img { width: 14px; height: 14px; vertical-align: -2px; border-radius: 3px; }

/* ---------- Cart page ---------- */
.cart-page { max-width: 880px; margin: 0 auto; }
.cart-lines { margin: 0 0 8px; }
.cart-line {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 18px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.cart-thumb { width: 120px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface-2); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-desc h3 { font-size: 17px; margin: 0 0 6px; line-height: 1.35; font-weight: 600; }
.cart-desc h3 a { color: var(--ink); text-decoration: none; }
.cart-desc h3 a:hover { color: var(--accent); text-decoration: underline; }
.line-price { font-size: 19px; font-weight: 800; color: var(--ink); margin: 0; }
.link-remove {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 6px;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: var(--font-body);
}
.link-remove:hover { color: var(--accent); }
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 6px;
  box-shadow: var(--shadow-sm);
}
.cart-summary .subtotal { font-size: 20px; margin: 0 0 4px; }
.cart-summary .ship-note { margin: 8px 0 18px; }
.cart-summary #paypal-buttons { margin-left: 0; }
.cart-summary .paypal-msg { margin-left: 0; }
.cart-summary .secure-note { margin-left: 0; }
.cart-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ---------- Shipping rate tables + lookups ---------- */
.bsr-rates { border-collapse: collapse; margin: 12px 0 20px; max-width: 460px; width: 100%; }
.bsr-rates th, .bsr-rates td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--ink-soft);
}
.bsr-rates thead th {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13.5px;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
}
.bsr-rates td:last-child, .bsr-rates th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.bsr-rate-check { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 10px 0; }
.bsr-rate-check label { font-weight: 600; font-size: 15px; }
.bsr-rate-check input, .bsr-rate-check select {
  font-size: 16px;
  font-family: var(--font-body);
  padding: 10px 14px;
  min-height: 48px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  max-width: 100%;
}
.bsr-rate-check button {
  font-size: 15.5px;
  font-family: var(--font-body);
  font-weight: 700;
  padding: 10px 22px;
  min-height: 48px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}
.bsr-rate-check button:hover { background: var(--accent-deep); }
#bsr-zip-result, #bsr-country-result { font-weight: 700; color: var(--accent); }

/* ---------- Contact form ---------- */
.contact-form { max-width: 580px; }
.contact-form label { display: block; font-weight: 600; margin: 16px 0 6px; font-size: 15px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-size: 16px;
  font-family: var(--font-body);
  padding: 12px 14px;
  min-height: 48px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form button {
  font-size: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  padding: 13px 32px;
  min-height: 52px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  margin-top: 20px;
}
.contact-form button:hover { background: var(--accent-deep); }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-sent {
  border: 1.5px solid var(--accent);
  background: var(--accent-soft);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  color: var(--ink);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .email-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .listing-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-strip .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-bottom: 8px;
  }
  .nav-strip.open .nav-links { display: flex; }
  .nav-strip a.nav-link { border-bottom: 0; border-left: 3px solid transparent; width: 100%; }
  .nav-strip a.nav-link:hover,
  .nav-strip a.nav-link[aria-current="page"] { border-left-color: var(--accent); }
  .icon-btn .icon-btn-label { display: none; }
  .icon-btn { padding: 0; }
  .masthead-inner { padding-block: 12px; }
  .hero { min-height: 0; border-radius: 16px; }
  .hero-text { margin: 24px 16px; padding: 28px 24px; }
  .tiles { gap: 12px; }
  .tile { min-height: 150px; padding: 18px; }
  .tile-name { font-size: 19px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cart-line { grid-template-columns: 84px 1fr; }
  .cart-thumb { width: 84px; }
  .link-remove { grid-column: 2; justify-self: start; padding-left: 0; }
  .email-form { flex-direction: column; }
  .email-form .btn { width: 100%; }
  .details > div { grid-template-columns: 110px 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .card-body { padding: 14px 14px 16px; }
  .card-price { font-size: 19px; }
  .card-cta { padding: 8px 12px; font-size: 11.5px; }
  .promo-bar { font-size: 12px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .card:hover { transform: none; }
  .card:hover .card-img img { transform: none; }
  .btn:hover, .btn-brass:hover { transform: none; }
}

/* Sold archive + testimonials */
.badge-sold { background: var(--muted-2, #6b6259); }
.t-card .card-body { gap: 12px; }
.t-quote { margin: 0; font-size: 17px; line-height: 1.55; font-style: italic; }
.t-quote::before { content: "\201C"; color: var(--accent); font-size: 1.6em; line-height: 0; margin-right: 2px; }
.t-byline { font-style: normal; }

/* ---------- Announcement bar (portal-controlled) ---------- */
.promo-bar.announce { background: var(--accent, #b08a2e); }
.promo-bar.announce a { color: inherit; text-decoration: underline; }

/* ---------- Cookie notice ---------- */
.cookie-note {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  background: var(--ink); color: var(--bg);
  border-radius: 12px; padding: 12px 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
  font-size: 13.5px;
}
.cookie-note p { margin: 0; }
.cookie-note a { color: #fff; text-decoration: underline; }
.cookie-note .btn-brass { flex: none; }

/* ---------- Return-visitor cart banner ---------- */
.cart-banner {
  display: flex; gap: 10px; align-items: center; justify-content: center;
  background: #fdf6e3; color: #5c4a1f;
  border-bottom: 1px solid #e8d9a8;
  padding: 8px 40px 8px 16px; font-size: 13.5px;
  position: relative;
}
.cart-banner p { margin: 0; }
.cart-banner a { font-weight: 700; text-decoration: underline; color: inherit; }
.cart-banner button {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: none; font-size: 20px; line-height: 1;
  color: inherit; cursor: pointer; padding: 6px;
}
html[data-theme="dark"] .cart-banner { background: #2a2415; color: #e8d9a8; border-color: #4a3f22; }

/* ---------- Promo code row (cart) ---------- */
.promo-row { margin: 14px 0 4px; }
.promo-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.promo-input { display: flex; gap: 8px; }
.promo-input input {
  flex: 1; padding: 10px 12px; font-size: 15px;
  border: 1px solid var(--line, #ddd); border-radius: 8px;
  text-transform: uppercase;
}
.promo-input .btn-brass { flex: none; }
.promo-msg { font-size: 13.5px; margin: 6px 0 0; min-height: 1.2em; }
.btn-brass.btn-sm { padding: 8px 14px; font-size: 14px; }
