:root {
  --paper: #f3f5f7;
  --paper-deep: #e2e8ee;
  --card: #ffffff;
  --ink: #0f2a3d;
  --muted: #4d5f6d;
  --line: rgba(15, 42, 61, 0.13);
  --oxblood: #c4410c;
  --oxblood-dark: #9c3409;
  --brass: #1f6f9a;
  --brass-bright: #ff8a3d;
  --pine: #0f2a3d;
  --shadow: 0 18px 44px rgba(10, 30, 45, 0.11);
  --serif: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--oxblood-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brass-bright); outline-offset: 2px; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }
.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;
}

.topbar {
  background: var(--ink);
  color: #f6efe4;
  font-size: 13px;
}
.topbar-inner, .header-inner, .wrap, .footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.topbar-inner {
  display: flex;
  gap: 10px 18px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 8px 0;
}
.topbar a { color: var(--brass-bright); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  padding: 12px 0;
}
.header-inner .nav { flex: 1; }
.header-inner .tools { margin-left: auto; }
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.brand img { width: auto; height: 42px; object-fit: contain; }
.brand strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 560; letter-spacing: -0.03em; line-height: 1; }
.brand span { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.header-inner { position: relative; }
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}
.nav-button {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 8px 12px;
  border-radius: 999px;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}
.nav a, .nav-shop-btn { color: var(--ink); text-decoration: none; font-size: 14.5px; }
.nav a:hover, .nav-shop-btn:hover, .nav-shop-btn[aria-expanded="true"] { color: var(--oxblood); }
.nav-shop { position: relative; }
.nav-shop-btn {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-shop-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.15s ease;
}
.nav-shop-btn[aria-expanded="true"] .nav-shop-caret { transform: rotate(180deg); }
/* display:none is the default so the menu stays closed even if JS
   has not loaded. Do not set display:grid on this rule — it would
   override the hidden attribute and leave the menu permanently open. */
.nav-shop-list {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  grid-template-columns: 1fr 1fr;
  min-width: 420px;
  max-height: min(70vh, 640px);
  overflow-y: auto;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.nav-shop-list:not([hidden]) { display: grid; }
.nav-shop-list[hidden] { display: none !important; }
.nav-shop-list a {
  display: block;
  padding: 8px 16px;
  font-size: 14.5px;
  color: var(--ink);
  text-decoration: none;
}
.nav-shop-list a:hover,
.nav-shop-list a:focus-visible { background: var(--paper-deep); color: var(--oxblood); }
.nav-shop-list > li:first-child a { font-weight: 600; }
.nav-shop-list > li:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); margin-bottom: 4px; padding-bottom: 4px; }
.tools { display: flex; gap: 8px; align-items: center; }
.search { display: flex; border: 1px solid var(--line); background: var(--card); border-radius: 999px; overflow: hidden; }
.search input { border: 0; background: transparent; padding: 8px 12px; width: 140px; }
.search button, .icon-link {
  border: 0;
  background: transparent;
  padding: 8px 12px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.cart-link { font-weight: 600; white-space: nowrap; }

.banner {
  background: #2c3530;
  color: #f1f3ee;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
}
.banner a { color: var(--brass-bright); }

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.hero.hero-photo {
  position: relative;
  display: block !important;
  grid-template-columns: none;
  padding: 0;
  margin: 0 0 8px;
  overflow: hidden;
  color: #f6f7f2;
  background: #1d2321;
}
.hero-bg,
.hero-bg-figure,
.hero-bg-figure picture,
.hero-bg-figure img {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  display: block;
  background: #1b140f;
}
.hero-bg-figure img {
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 72%;
  background: transparent;
}
.hero-bg-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 18, 16, 0.86) 0%, rgba(14, 18, 16, 0.66) 42%, rgba(14, 18, 16, 0.42) 70%, rgba(14, 18, 16, 0.5) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 48px 0 40px;
  min-height: 540px;
}
.hero-photo .kicker { color: var(--brass-bright); }
.hero-photo h1,
.hero-photo .heritage-line { color: #f6efe4; }
.hero-photo .lede { color: rgba(246, 239, 228, 0.9); }
.hero-photo .btn-ghost { border-color: #f6efe4; color: #f6efe4; }
.hero-photo .btn-ghost:hover { background: #f6efe4; color: var(--ink); }
.hero-photo .hero-stage img { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); }
.hero-photo .hero-stage img.secondary { border-color: rgba(246, 239, 228, 0.92); }
.hero-bg-figure .photo-credit { z-index: 3; }

.kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--brass);
  margin: 0 0 10px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.hero h1 { font-size: clamp(32px, 4.6vw, 56px); margin: 0 0 14px; max-width: 18ch; }
.lede { font-size: 18px; color: var(--muted); max-width: 46ch; }
.heritage-line { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 28px); line-height: 1.3; max-width: 38ch; margin: 0 0 12px; }
.heritage { margin: 8px 0 28px; }
.heritage h2 { margin: 0 0 8px; font-size: clamp(32px, 4vw, 44px); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
}
.btn-primary { background: var(--oxblood); color: #fffaf3; }
.btn-primary:hover { background: var(--oxblood-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-small { padding: 8px 12px; font-size: 14px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.hero-stage { position: relative; min-width: 0; min-height: 360px; }
.hero-stage img {
  width: 72%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--paper-deep);
  border-radius: 18px 18px 80px 18px;
  box-shadow: var(--shadow);
}
.hero-stage img.secondary {
  position: absolute;
  width: 46%;
  right: 0;
  bottom: 10px;
  border-radius: 16px;
  border: 6px solid var(--paper);
}

.section { padding: 28px 0; }
.section-head { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); }
.section-head a { color: var(--muted); }

.cat-grid, .product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.cat-card, .product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset;
}
.cat-card img, .product-card img, .ph {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  background: var(--paper-deep);
}
.ph { display: grid; place-items: center; font-family: var(--serif); font-size: 42px; color: var(--brass); }
.cat-card > div, .product-card > div { padding: 12px 12px 14px; }
.cat-card strong, .product-card strong { display: block; font-size: 16px; line-height: 1.25; }
.cat-card { transition: box-shadow 0.18s ease, border-color 0.18s ease; }
.cat-card img, .cat-card .ph { aspect-ratio: 1 / 1; object-fit: cover; object-position: center; }
.cat-card .cat-card-copy { padding: 10px 12px 12px; min-height: 4.6em; }
.cat-card .cat-card-copy strong { font-size: 15px; line-height: 1.3; }
.cat-card:hover { border-color: rgba(27, 20, 15, 0.22); box-shadow: var(--shadow); }
.meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.price { margin: 8px 0 0; }
.price s { color: var(--muted); margin-right: 6px; }
.badge {
  display: inline-block;
  background: var(--oxblood);
  color: white;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
}
.badge-low { background: #8a5a12; }
.badge-out { background: #3d342c; }
.search button { display: grid; place-items: center; }
.card-box {
  border: 1px solid #d8dde6;
  border-radius: 8px;
  background: white;
  overflow: hidden;
}
.card-box input {
  width: 100%;
  border: 0;
  padding: 12px 14px;
  outline: none;
}
.card-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #d8dde6; }
.card-row input + input { border-left: 1px solid #d8dde6; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 12px 0 20px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.stat strong { display: block; font-family: var(--serif); font-size: 32px; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.quotes { display: grid; gap: 12px; }
blockquote { margin: 0; }
blockquote p { margin: 0 0 8px; font-family: var(--serif); font-size: 22px; line-height: 1.25; }
blockquote footer { color: var(--muted); font-size: 14px; font-family: var(--sans); }

.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.map { border: 0; width: 100%; height: 280px; border-radius: 16px; background: var(--paper-deep); }

.crumbs { font-size: 14px; color: var(--muted); margin: 18px 0; }
.crumbs a { color: inherit; }

.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.toolbar select, .field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 10px 12px;
}
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.gallery-main { background: var(--paper-deep); border-radius: 18px; overflow: hidden; }
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumbs button { padding: 0; border: 2px solid transparent; background: none; border-radius: 10px; overflow: hidden; cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--oxblood); }
.thumbs img { width: 72px; height: 72px; object-fit: cover; }
.product-buy h1 { font-size: clamp(34px, 4vw, 52px); margin: 6px 0 8px; }
.choices { display: grid; gap: 10px; margin: 14px 0; }
.stock { font-size: 14px; color: var(--pine); }
.prose { max-width: 72ch; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose h2, .prose h3, .prose h4 { margin: 1.2rem 0 0.4rem; }

.cart-line, .stack { display: grid; gap: 12px; }
.cart-line {
  grid-template-columns: 92px 1fr auto;
  gap: 12px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
}
.cart-line img, .cart-line .ph { width: 92px; height: 92px; border-radius: 10px; }
.qty { width: 72px; }
.totals { display: flex; justify-content: space-between; font-size: 20px; font-family: var(--serif); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field span { font-size: 13px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; }
.notice {
  background: #f1f7e8;
  border: 1px solid #c3dca0;
  padding: 10px 12px;
  border-radius: 12px;
}
.notice.error { background: #fdeceb; border-color: #e4b2ae; }
.empty { padding: 28px 0 40px; }

.pager { display: flex; gap: 8px; align-items: center; margin-top: 16px; }
.site-footer { background: var(--ink); color: #eef0ea; margin-top: 40px; padding: 36px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 18px; }
.site-footer a { color: var(--brass-bright); text-decoration: none; }
.site-footer h3 { margin: 0 0 8px; font-size: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 22px; padding-top: 12px; color: #b9c0b9; font-size: 13px; }

.admin-bar { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.status { text-transform: capitalize; }


@media (prefers-reduced-motion: no-preference) {
  .can-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .can-reveal [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}
/* From 768px up, keep a one-line header so laptop and scaled-Windows widths
   do not wrap into a stacked, mobile-looking bar. Categories live in the Shop
   dropdown, and in the phone Menu below 768px. */
@media (min-width: 768px) {
  .header-inner { flex-wrap: nowrap; }
  .nav { flex-wrap: nowrap; }
}

/* Tablet: two-column content, compact type. No hamburger. */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-inner { gap: 20px; padding: 36px 0 28px; }
  .hero h1 { font-size: clamp(32px, 5vw, 46px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Phone only */
@media (max-width: 767px) {
  .nav-button { display: inline-flex; margin-left: auto; }
  .header-inner .tools { margin-left: 0; width: 100%; }
  .nav {
    display: none;
    order: 5;
    width: 100%;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
  }
  .nav-toggle:checked ~ .nav {
    display: grid;
    max-height: min(70vh, calc(100dvh - 220px));
    overflow-y: auto;
  }
  .nav-shop-list {
    position: static;
    grid-template-columns: 1fr;
    min-width: 0;
    max-height: none;
    overflow: visible;
    margin: 4px 0 2px;
    padding: 4px 0 4px 12px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .nav-shop-list:not([hidden]) { display: grid; }
  .nav-shop-list > li:first-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
  .nav-shop-list a { padding: 8px 4px; }
  .search { flex: 1; }
  .search input { width: 100%; }
  .hero-inner, .split, .product-layout, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 28px 0 24px; gap: 20px; min-height: 0; }
  .hero-stage { min-height: 0; }
  .hero-stage img.secondary { position: static; width: 48%; margin-top: -80px; margin-left: auto; }
  .hero-bg-figure::after {
    background: linear-gradient(180deg, rgba(15, 10, 8, 0.78) 0%, rgba(15, 10, 8, 0.5) 48%, rgba(15, 10, 8, 0.3) 100%);
  }
  .product-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

@media (min-width: 1100px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}


/* About hero: store sign photo, text over the sky, sign and horse left clear. */
.about-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #1d2321;
  margin: 4px 0 28px;
  aspect-ratio: var(--hero-aspect, 2624 / 1616);
  display: flex;
  align-items: flex-start;
}
.about-hero-bg, .about-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.about-hero-bg img {
  object-fit: cover;
  object-position: center center;
}
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 18, 16, 0.78) 0%, rgba(14, 18, 16, 0.5) 45%, rgba(14, 18, 16, 0.08) 75%);
}
.about-hero-text {
  position: relative;
  z-index: 2;
  padding: 0 36px;
  max-width: min(30rem, 52%);
  align-self: center;
}
.about-hero h1 {
  color: #f6efe4;
  margin: 0 0 8px;
  font-size: clamp(30px, 3.8vw, 50px);
  text-shadow: 0 2px 18px rgba(15, 10, 8, 0.35);
}
.about-hero .lede {
  color: rgba(246, 239, 228, 0.96);
  margin: 0;
  font-size: clamp(17px, 2vw, 22px);
  max-width: 16em;
  text-shadow: 0 1px 12px rgba(15, 10, 8, 0.35);
}
@media (max-width: 767px) {
  .about-hero { border-radius: 14px; }
  .about-hero { aspect-ratio: 4 / 3; }
  .about-hero-text { padding: 0 16px; max-width: 92%; }
  .about-hero h1 { font-size: clamp(24px, 7vw, 30px); }
  .about-hero .lede { font-size: 15px; max-width: 14em; }
}

.page-header, .category-header {
  position: relative;
  margin: 0 0 20px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper-deep);
}
.page-header img, .category-header img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--header-aspect, 2.4 / 1);
  object-fit: cover;
  object-position: center 40%;
}
.photo-credit {
  position: absolute;
  left: 10px;
  bottom: 10px;
  margin: 0;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(20, 26, 22, 0.7);
  color: #f1f3ee;
  font-size: 12px;
  line-height: 1.3;
}
.photo-credit a {
  color: var(--brass-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 767px) {
  .page-header img, .category-header img { aspect-ratio: var(--header-aspect-mobile, 1.8 / 1); }
  .photo-credit { font-size: 11px; left: 8px; bottom: 8px; }
}

/* Seating Connection additions */
.brand { flex-shrink: 0; }
.hero-phone { margin: 14px 0 0; color: rgba(246, 247, 242, 0.9); }
.hero-phone a { color: var(--brass-bright); font-weight: 600; }
.hero-photo .kicker { color: var(--brass-bright); }
.btn-light { border-color: #f6f7f2; color: #f6f7f2; }
.btn-light:hover { background: #f6f7f2; color: var(--ink); }
.space-panel {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}
.space-panel .kicker { color: var(--brass); }
.space-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.space-chip {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.space-chip:hover, .space-chip:focus-visible { border-color: var(--oxblood); background: #f1f7e8; }
.space-chip strong { display: block; font-family: var(--serif); font-size: 16px; }
.space-chip span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.trust-strip { background: var(--ink); color: #eef0ea; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 18px 0; }
.trust-grid strong { display: block; font-family: var(--serif); color: var(--brass-bright); font-size: 16px; }
.trust-grid span { display: block; font-size: 14px; color: #cfd5cf; margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chip {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-card[hidden] { display: none; }
.cat-card img { object-fit: contain; background: #fff; padding: 8px; }
.product-card img { object-fit: contain; background: #fff; padding: 6px; }
.gallery-main { background: #fff; border: 1px solid var(--line); }
.gallery-main img { object-fit: contain; }
.thumbs img { object-fit: contain; background: #fff; }
.badge-quote { background: #6a5a1e; }
.panel-dark { background: var(--ink); color: #eef0ea; border-color: var(--ink); }
.panel-dark h1, .panel-dark h2 { color: #fff; }
.panel-dark .kicker { color: var(--brass-bright); }
.panel-dark .lede { color: #cfd5cf; }
.panel-dark a:not(.btn) { color: var(--brass-bright); }
.feature-band { align-items: stretch; }
.feature-band .panel-dark { padding: 26px; }
.feature-band h2 { font-size: clamp(28px, 3.2vw, 40px); margin: 0 0 12px; }
.made-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.made-card {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.made-card:first-child { grid-row: span 2; }
.made-card img { width: 100%; height: 100%; min-height: 160px; object-fit: contain; padding: 10px; }
.made-card span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  font-weight: 600;
  font-size: 14px;
}
.height-table td:first-child { font-weight: 600; }
.visit-band h2, .split h2 { font-size: clamp(26px, 3vw, 38px); margin: 0 0 10px; }
.map { height: 340px; }
.help-panel { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; }
.help-panel p { margin: 4px 0 0; color: var(--muted); }
.help-panel strong { font-family: var(--serif); font-size: 20px; }
.buy-form { display: grid; gap: 12px; max-width: 420px; margin: 14px 0; }
.qty-field input { max-width: 120px; }
.options-note { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.options-note h2 { font-size: 20px; margin: 0 0 6px; }
.options-note ul { margin: 0 0 8px; padding-left: 1.1rem; }
.product-details { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; margin-top: 32px; }
.product-details h2 { font-size: 24px; }
.product-details th { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink); width: 40%; }
.product-buy h1 { font-size: clamp(28px, 3.2vw, 42px); }
.totals-note { font-size: 15px; font-family: var(--sans); color: var(--muted); }
.narrow { max-width: 560px; }
.custom-hero { padding: 32px; margin-bottom: 20px; }
.custom-hero h1 { font-size: clamp(30px, 4vw, 50px); margin: 0 0 10px; max-width: 20ch; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.three-col h2 { font-size: 22px; margin: 0 0 8px; }
.about-split { align-items: start; }
.facts { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.facts li { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.facts strong { display: block; font-family: var(--serif); font-size: 26px; color: var(--oxblood); }
.facts span { color: var(--muted); font-size: 14px; }
.about-hero { align-items: center; }
.about-hero .kicker { color: var(--brass-bright); }
.about-hero .photo-credit { z-index: 3; }
.nav-shop-list { min-width: 560px; grid-template-columns: repeat(3, 1fr); }
.nav-group { padding: 6px 0; }
.nav-group ul { list-style: none; padding: 0; margin: 0; }
.nav-group-name { display: block; padding: 4px 16px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.nav-group a { padding: 6px 16px; }
.nav-shop-list > li:first-child a { font-weight: 600; }
.imported h2 { font-size: 24px; }

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .space-panel { max-width: 640px; }
  .space-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .three-col { grid-template-columns: 1fr; }
  .nav a, .nav-shop-btn { font-size: 14px; }
  .nav { gap: 6px 12px; }
  .search input { width: 144px; }
  .brand img { height: 34px; }
  .nav-shop-list { min-width: 480px; grid-template-columns: repeat(2, 1fr); }
  .product-details { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .brand img { height: 34px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .space-grid { grid-template-columns: 1fr 1fr; }
  .made-grid { grid-template-columns: 1fr 1fr; }
  .three-col, .product-details { grid-template-columns: 1fr; }
  .help-panel { flex-direction: column; align-items: flex-start; }
  .nav-shop-list { min-width: 0; grid-template-columns: 1fr; }
  .custom-hero { padding: 22px; }
  .hero-bg-figure::after { background: linear-gradient(180deg, rgba(14, 18, 16, 0.82) 0%, rgba(14, 18, 16, 0.66) 55%, rgba(14, 18, 16, 0.55) 100%); }
  .topbar-inner span:first-child { display: none; }
}
@media (min-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(6, 1fr); gap: 14px; }
}

/* Planet Outboard additions */
.mono, .part-tile-pn { font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; }
.part-tile {
  aspect-ratio: 1 / 1; width: 100%; display: grid; grid-template-rows: auto 1fr auto auto; justify-items: center; align-items: center;
  padding: 14px 10px 12px; color: #fff; text-align: center; gap: 4px; border-radius: 12px 12px 0 0;
  background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.14), transparent 55%), var(--tone, #34495e);
}
.part-tile-lg { border-radius: 18px; padding: 28px; gap: 10px; }
.part-tile .type-icon { opacity: .9; }
.part-tile-brand { font-family: var(--serif); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; opacity: .92; }
.part-tile-lg .part-tile-brand { font-size: 20px; }
.part-tile-pn { font-size: 13px; background: rgba(0,0,0,.25); padding: 3px 8px; border-radius: 6px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.part-tile-lg .part-tile-pn { font-size: 22px; padding: 6px 14px; }
.part-tile-type { font-size: 12px; opacity: .85; }
.part-tile-lg .part-tile-type { font-size: 15px; }
.tone-blue { --tone: #1b4f8c; }
.tone-red { --tone: #a3281e; }
.tone-black { --tone: #20262c; }
.tone-teal { --tone: #13646b; }
.tone-gray { --tone: #4a5a66; }
.product-card .part-tile { border-radius: 0; aspect-ratio: 4 / 3; }
.gallery-main .part-tile { border-radius: 0; aspect-ratio: 4 / 3; }
.photo-note { margin-top: 10px; }
.badge-used { background: #4a5a66; }
.badge-new { background: #1f7a3f; }
.badge-rebuilt { background: #9c3409; }
.badge-brand { background: var(--ink); color: #fff; text-decoration: none; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.badges .badge { margin: 0; }
.fit-box { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 16px; margin: 12px 0; }
.fit-box ul { margin: 6px 0; padding-left: 20px; }
.fit-box .meta { margin: 6px 0 0; }
.also-ebay { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 14px 0; }
.hero-search { display: flex; gap: 8px; margin: 18px 0 10px; max-width: 560px; }
.hero-search input { flex: 1; min-width: 0; padding: 14px 16px; border-radius: 10px; border: 0; font-size: 17px; color: var(--ink); background: #fff; }
.hp-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.hp-card, .type-card {
  display: flex; gap: 12px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s;
}
.hp-card { flex-direction: column; align-items: flex-start; gap: 2px; }
.hp-card strong { font-family: var(--serif); font-size: 19px; }
.hp-card span { color: var(--muted); font-size: 14px; }
.hp-card:hover, .type-card:hover { border-color: var(--oxblood); transform: translateY(-2px); }
.type-card .type-icon { color: var(--oxblood); flex: none; }
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.type-card[hidden] { display: none; }
.why-panel .facts li { align-items: flex-start; }
.toolbar { flex-wrap: wrap; align-items: center; }
.toolbar-count { margin-left: auto; }
.nav-shop-list.nav-shop-wide { min-width: 720px; grid-template-columns: repeat(5, 1fr); }
@media (min-width: 768px) and (max-width: 1023px) {
  .hp-grid { grid-template-columns: repeat(3, 1fr); }
  .type-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-shop-list.nav-shop-wide { min-width: 560px; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .hp-grid { grid-template-columns: repeat(2, 1fr); }
  .type-grid { grid-template-columns: 1fr 1fr; }
  .type-card { padding: 12px; gap: 8px; font-size: 14px; }
  .hero-search { flex-direction: column; }
  .nav-shop-list.nav-shop-wide { min-width: 0; grid-template-columns: 1fr; }
  .part-tile-pn { font-size: 11px; }
  .toolbar-count { margin-left: 0; }
}

.nav a, .nav-shop-btn { white-space: nowrap; }
.product-buy .price strong { font-size: 30px; font-family: var(--serif); }
@media (max-width: 767px) {
  .hero-photo .hero-inner { padding-bottom: 48px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .nav { gap: 12px; font-size: 14px; }
}

.about-split .prose h2 { margin-top: 1.8rem; }
.about-split .prose h2:first-child { margin-top: 0; }
