/* gokartjapantokyo.com — affiliate guide for Tokyo go-kart tours
   Theme: warm cream bg, signal-orange accent (#d6571e), kart-yellow secondary.
   Aesthetic: editorial / data-journalism (NYT, Wirecutter). Never SaaS. */

:root {
  --bg:               #fafaf8;
  --bg-alt:           #f2f0eb;
  --border:           #dedad4;
  --text:             #1c1b18;
  --muted:            #5a5751;
  --accent:           #d6571e;     /* signal orange — kart racing red + Tokyo street-warning */
  --accent-lt:        #fbe6d8;
  --accent-dark:      #a8431a;
  --secondary:        #f2cc63;     /* kart yellow */
  --warn:             #9a6809;
  --highlight:        #fde68a;
  --highlight-strong: #fbd35a;
  --serif:            'Fraunces', Georgia, serif;
  --sans:             'Source Sans 3', system-ui, sans-serif;
  --max:              820px;
  --wide:             1120px;
  --shadow-sm:        0 2px 6px rgba(28,27,24,.05);
  --shadow-md:        0 6px 20px rgba(28,27,24,.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;                /* mobile overflow guard */
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;        /* header (52) + anchor-nav (32) + breathing */
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: 2.6rem; margin: .2em 0 .35em; }
h2 { font-size: 1.85rem; margin: 2.2em 0 .6em; }
h3 { font-size: 1.25rem; margin: 1.5em 0 .4em; }
h4 { font-size: 1.05rem; margin: 1.2em 0 .3em; }

p { margin: 0 0 1.1em; }
strong { font-weight: 700; }
em { font-style: italic; }

a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; height: auto; }

/* ─── Highlighter u-link (em-based gradient, blueprint E.1) ───────────────── */
.u-link {
  position: relative;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  padding: 0 .12em;
  background-image: linear-gradient(to top,
    transparent .15em,
    var(--highlight) .15em,
    var(--highlight) 1.05em,
    transparent 1.05em);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transition: color .15s, background-image .15s;
}
.u-link:hover {
  color: var(--accent-dark);
  background-image: linear-gradient(to top,
    transparent .15em,
    var(--highlight-strong) .15em,
    var(--highlight-strong) 1.05em,
    transparent 1.05em);
}

/* ─── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: .55rem 0;
}
.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.brand-mark {
  width: 26px; height: 26px;
  border-radius: 5px;
  background: var(--accent);
  display: inline-block;
  position: relative;
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 6px 4px 6px 12px;
  background: var(--secondary);
  border-radius: 1px;
  transform: skewX(-18deg);
}
.brand small {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: .15rem;
}
.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.nav-links a {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .15s, color .15s;
}
.nav-links a:hover { border-bottom-color: var(--accent); color: var(--accent-dark); }
.nav-links a.cta {
  background: var(--accent);
  color: #fff;
  padding: .35rem .9rem;
  border-radius: 30px;
  border: none;
}
.nav-links a.cta:hover { background: var(--accent-dark); color: #fff; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 5px;
  width: 36px; height: 32px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: var(--text);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after  { top:  6px; }

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    gap: .75rem;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-flex; }
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 3.2rem 1.5rem 2.2rem;
  text-align: center;
}
.hero-inner { max-width: var(--max); margin: 0 auto; }
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: .9rem;
}
.deck {
  font-size: 1.18rem;
  color: var(--muted);
  font-family: var(--sans);
  margin: .6rem 0 1.2rem;
}
.byline {
  font-size: .82rem;
  color: var(--muted);
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  letter-spacing: .03em;
}

/* ─── Facts bar (dark band) ──────────────────────────────────────────────── */
.facts-bar {
  background: var(--text);
  color: var(--bg);
  padding: 1.6rem 1.5rem;
}
.facts-grid {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.4rem;
}
.fact { min-width: 0; }
.fact-value {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: .25rem;
}
.fact-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(250,250,248,.7);
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}

/* ─── Anchor nav (sticky TOC strip) ──────────────────────────────────────── */
.anchor-nav {
  position: sticky;
  top: 52px;
  z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.anchor-nav::-webkit-scrollbar { display: none; }
.anchor-nav-list {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: inline-flex;
  gap: .15rem;
  list-style: none;
  min-width: 100%;
}
.anchor-nav-list li { flex-shrink: 0; padding: 0; margin: 0; }
.anchor-nav-list li::before { content: none; }
.anchor-link {
  display: inline-block;
  padding: .55rem .8rem;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  opacity: .55;
  transition: color .15s, border-color .15s, opacity .15s;
}
.anchor-link:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
  opacity: 1;
}

/* ─── Sections ───────────────────────────────────────────────────────────── */
section {
  padding: 3rem 1.5rem;
}
section.tight { padding: 2rem 1.5rem; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-inner.wide { max-width: var(--wide); }
.section-eyebrow {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: .6rem;
}

/* ─── Callouts and TL;DR ─────────────────────────────────────────────────── */
.callout {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 1.2rem 1.4rem;
  margin: 1.6rem 0;
  border-radius: 0 6px 6px 0;
}
.callout h3 { margin-top: 0; font-size: 1.05rem; }
.callout.warn {
  background: #fbf3e1;
  border-left-color: var(--warn);
}
.callout.amber {
  background: #fbf3e1;
  border-left-color: var(--warn);
}
.tldr-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tldr-list li {
  padding: .55rem 0 .55rem 1.8rem;
  position: relative;
  line-height: 1.55;
}
.tldr-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ─── Top 10 list (numbered ranked items) ────────────────────────────────── */
.top10-list {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0;
  counter-reset: top10;
}
.top10-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
  counter-increment: top10;
}
.top10-item:last-child { border-bottom: none; }
.top10-rank {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.top10-rank::before { content: counter(top10, decimal-leading-zero); }
.top10-body h3 { margin: 0 0 .35rem; }
.top10-meta { color: var(--muted); font-size: .9rem; margin-bottom: .5rem; }
.top10-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .5rem 0 .3rem;
}

/* ─── Chips (reusable) ───────────────────────────────────────────────────── */
.chip {
  display: inline-block;
  font-size: .78rem;
  padding: .25rem .65rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 30px;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.chip.accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.chip.accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}
.chip.outline {
  background: transparent;
  color: var(--accent-dark);
  border-color: var(--accent);
}
.chip.outline:hover {
  background: var(--accent-lt);
  color: var(--accent-dark);
}

/* ─── Gem / persona / season grids ───────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0;
}
.gem-card, .persona-card, .season-card, .flag-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.gem-card h3, .persona-card h3, .season-card h3, .flag-card h3 {
  margin: 0;
  font-size: 1.05rem;
}
.persona-card ul {
  margin: .4rem 0 .6rem;
  padding-left: 1.1rem;
  font-size: .92rem;
}
.persona-card li { padding: .15rem 0; }
.gem-card p, .persona-card p, .season-card p, .flag-card p {
  font-size: .92rem;
  margin: 0 0 .5rem;
}
.gem-card .chip, .persona-card .chip, .season-card .chip, .flag-card .chip {
  align-self: flex-start;
  margin-top: auto;
}

.flag-card {
  background: #fbf3e1;
  border-color: #ead9a1;
}
.flag-card h3::before {
  content: '⚠ ';
  color: var(--warn);
}

/* ─── Data tables ────────────────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0;
  font-size: .94rem;
}
.data-table th, .data-table td {
  padding: .65rem .75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.data-table th {
  background: var(--bg-alt);
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.data-table tr:hover td { background: var(--accent-lt); }

/* ─── FAQ accordion ──────────────────────────────────────────────────────── */
.faq-list { margin: 1.5rem 0; }
.faq-item {
  border-top: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  background: none;
  border: 0;
  width: 100%;
  text-align: left;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  position: relative;
  line-height: 1.4;
}
.faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform .2s;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 0 1.3rem;
  color: var(--text);
}
.faq-item.open .faq-a { display: block; }
.faq-a p:last-child { margin-bottom: 0; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--text);
  color: var(--bg);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-col h4 {
  color: var(--secondary);
  font-size: .82rem;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 .9rem;
}
.footer-col a {
  color: var(--bg);
  text-decoration: none;
  display: block;
  padding: .25rem 0;
  font-size: .92rem;
  opacity: .85;
}
.footer-col a:hover { color: var(--secondary); opacity: 1; }
.footer-col p {
  font-size: .9rem;
  opacity: .8;
  margin: 0 0 .8rem;
}
.footer-disclosure {
  max-width: var(--wide);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250,250,248,.15);
  font-size: .82rem;
  opacity: .65;
  text-align: center;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ─── Plan pill (floating CTA, blueprint E.4) ────────────────────────────── */
.plan-pill {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: .75rem 1.4rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  box-shadow: 0 8px 24px rgba(214,87,30,.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s, background .15s;
  transform: translateY(10px);
}
.plan-pill.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.plan-pill:hover { background: var(--accent-dark); color: #fff; }
@media (max-width: 520px) {
  .plan-pill {
    bottom: 1rem; right: 1rem;
    padding: .65rem 1rem;
    font-size: .85rem;
  }
}

/* ────────────────────────────────────────────────────────────────────────── */
/* ─── /karts page ────────────────────────────────────────────────────────── */
/* ────────────────────────────────────────────────────────────────────────── */

/* Hero pick cards (top of /karts) */
.top-picks {
  background: var(--bg);
  padding: 2rem 1.5rem 1rem;
}
.top-picks-grid {
  max-width: var(--wide);
  margin: 1.4rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.pick-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .15s, box-shadow .15s;
}
.pick-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.pick-img-link { display: block; line-height: 0; }
.pick-img-link img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.pick-role {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-lt);
  padding: .35rem .8rem;
  align-self: flex-start;
  border-radius: 0 0 6px 0;
}
.pick-body {
  padding: .8rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}
.pick-body h3 { font-size: 1.05rem; margin: .2rem 0 .15rem; }
.pick-body h3 a {
  color: var(--text);
  text-decoration: none;
}
.pick-body h3 a:hover { color: var(--accent-dark); }
.pick-note {
  font-size: .88rem;
  color: var(--muted);
  margin: 0 0 .35rem;
  line-height: 1.45;
}
.pick-meta {
  font-size: .82rem;
  color: var(--muted);
  margin: .15rem 0 .55rem;
}
.pick-meta .star { color: var(--accent); font-weight: 700; }
.pick-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin: 0 0 .6rem;
}
.book-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: .5rem 1rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: .88rem;
  margin-top: auto;
  align-self: flex-start;
  transition: background .15s;
}
.book-cta:hover { background: var(--accent-dark); color: #fff; }

/* Filter bar (NON-sticky per blueprint J) */
.filter-bar {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.4rem 1.5rem;
}
.filter-bar-inner {
  max-width: var(--wide);
  margin: 0 auto;
}
.filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem .8rem;
  margin-bottom: .8rem;
}
.filter-row:last-child { margin-bottom: 0; }
.filter-label {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: .35rem;
}
.filter-chip {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: .35rem .9rem;
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.filter-chip:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}
.filter-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Topic banner (zero-match / niche-context) */
.topic-banner {
  display: none;
  max-width: var(--wide);
  margin: 1.2rem auto;
  padding: 1rem 1.4rem;
  background: var(--accent-lt);
  border-left: 4px solid var(--accent);
  border-radius: 0 6px 6px 0;
  font-size: .92rem;
}
.topic-banner.visible { display: block; }

/* Count bar */
.count-bar {
  max-width: var(--wide);
  margin: 1.2rem auto 0;
  padding: 0 1.5rem;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: .85rem;
  color: var(--muted);
  scroll-margin-top: 64px;
}
.count-bar strong { color: var(--accent-dark); font-weight: 700; }

/* Main tour-card grid */
.tours-grid-wrap {
  padding: 1rem 1.5rem 3rem;
}
.tours-grid {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
}
.tour-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .15s, box-shadow .15s;
}
.tour-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.tour-card.tour-row-hidden { display: none; }
.tour-img {
  display: block;
  position: relative;
  line-height: 0;
}
.tour-img img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.tour-badge {
  position: absolute;
  top: .65rem;
  left: .65rem;
  background: rgba(28,27,24,.85);
  color: var(--bg);
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .65rem;
  border-radius: 4px;
}
.tour-badge.area-shibuya     { background: #d6571e; }     /* accent */
.tour-badge.area-akihabara   { background: #b03296; }     /* electric purple */
.tour-badge.area-asakusa     { background: #6b3818; }     /* old-town brown */
.tour-badge.area-bay         { background: #1a6991; }     /* bay blue */
.tour-badge.area-multiroute  { background: #2d2d2a; }     /* dark */

.tour-body {
  padding: .9rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}
.tour-body h3 { margin: .15rem 0 .25rem; font-size: 1.06rem; line-height: 1.3; }
.tour-body h3 a {
  color: var(--text);
  text-decoration: none;
}
.tour-body h3 a:hover { color: var(--accent-dark); }
.tour-note {
  font-size: .9rem;
  color: var(--muted);
  margin: 0 0 .35rem;
  line-height: 1.5;
}
.tour-meta {
  font-size: .82rem;
  color: var(--muted);
  margin: .15rem 0 .55rem;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
.tour-meta .star { color: var(--accent); font-weight: 700; }
.tour-meta .strikethrough { text-decoration: line-through; color: var(--muted); opacity: .65; margin-right: .35rem; }
.tour-flags {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin: 0 0 .6rem;
}
.tour-flag {
  font-size: .7rem;
  font-weight: 700;
  padding: .15rem .55rem;
  border-radius: 12px;
  letter-spacing: .04em;
}
.tour-flag.sell-out      { background: #fee2e2; color: #b3261e; }
.tour-flag.free-cancel   { background: #ecfdf5; color: #197a55; }
.tour-flag.instant       { background: var(--bg-alt); color: var(--muted); }
.tour-flag.special-offer { background: #fef3c7; color: #92400e; }
.tour-flag.skip-line     { background: #ecfdf5; color: #197a55; }
.tour-flag.private       { background: #ede9fe; color: #5b21b6; }
.tour-flag.new           { background: var(--accent-lt); color: var(--accent-dark); }

/* Sister-experience section */
.sister-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.5rem;
}
.sister-grid {
  max-width: var(--wide);
  margin: 1.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.2rem;
}
.sister-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sister-card .tour-badge {
  background: #2d2d2a;
}

/* Methodology box */
.methodology {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding: 1.4rem 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.methodology h3 { margin-top: 0; font-size: 1.05rem; }
.methodology p { font-size: .9rem; color: var(--muted); margin: 0 0 .6rem; }
.methodology strong { color: var(--text); }

/* ─── Misc utility ───────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.spacer { height: 2rem; }

/* Section title for /karts catalogue blocks */
.tours-section-title {
  font-size: 1.5rem;
  margin: 2.5rem 0 .6rem;
}

/* ── Map & Book (#map) ── */
.gk-map { height: 460px; margin: 1.25rem 0 .5rem; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-alt); z-index: 1; }
.gk-maphint { font-size: .82rem; color: var(--muted); margin: 0 0 1.25rem; }
.tm-mapfail { padding: 1.5rem; color: var(--muted); font-size: .95rem; }
.gk-tours { list-style: none; margin: 1rem 0 .5rem; padding: 0; display: grid; gap: .6rem; }
.gk-tour-item { margin: 0; padding: 0; }
.gk-tour { display: flex; align-items: stretch; gap: .9rem; padding: .7rem; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; text-decoration: none; color: var(--text); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.gk-tour:hover { border-color: var(--accent); box-shadow: 0 4px 14px rgba(214,87,30,.16); transform: translateY(-1px); }
.gk-thumb { width: 92px; height: 92px; flex: 0 0 92px; object-fit: cover; border-radius: 6px; background: var(--bg-alt); }
.gk-body { display: flex; flex-direction: column; justify-content: center; gap: .3rem; flex: 1; min-width: 0; }
.gk-title { font-family: var(--serif, Georgia), serif; font-weight: 700; font-size: 1rem; line-height: 1.25; }
.gk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .55rem; font-size: .82rem; color: var(--muted); }
.gk-rating { font-weight: 700; color: var(--accent); }
.gk-price { font-weight: 700; color: var(--text); }
.gk-tag { font-size: .68rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); background: var(--bg-alt); padding: .15em .55em; border-radius: 3px; }
.gk-tag-alt { color: var(--accent); background: var(--accent-lt); }
.gk-cta { align-self: center; flex: 0 0 auto; white-space: nowrap; font-size: .85rem; font-weight: 700; color: var(--accent); }
.gk-credit { font-size: .8rem; color: var(--muted); margin-top: 1rem; }
@media (max-width: 560px) { .gk-map { height: 360px; } .gk-tour { flex-wrap: wrap; } .gk-thumb { width: 64px; height: 64px; flex-basis: 64px; } .gk-cta { width: 100%; padding-top: .3rem; } }
.gk-pin { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; font-size: 15px; line-height: 1; color: #fff; border: 2px solid #fff; box-shadow: 0 1px 5px rgba(0,0,0,.4); background: var(--accent); }
.gk-pin-book { background: var(--accent); }
.gk-pin-view { background: #33302c; }
.gk-pop { font-family: var(--sans, sans-serif); }
.gk-pop-title { display: block; font-family: var(--serif, Georgia), serif; font-weight: 700; font-size: 1rem; margin-bottom: .15rem; color: var(--text); }
.gk-pop-sub { display: block; font-size: .85rem; line-height: 1.4; color: var(--muted); }
.leaflet-popup.gk-cardpop .leaflet-popup-content-wrapper { padding: 0; overflow: hidden; border-radius: 10px; }
.leaflet-popup.gk-cardpop .leaflet-popup-content { margin: 0; width: 220px !important; }
.gk-pop-card { display: block; text-decoration: none; color: var(--text); cursor: pointer; }
.gk-pop-img { display: block; width: 100%; height: 120px; object-fit: cover; }
.gk-pop-body { display: block; padding: .65rem .8rem .8rem; }
.gk-pop-eyebrow { display: block; font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: .25rem; }
.gk-pop-cardtitle { display: block; font-family: var(--serif, Georgia), serif; font-weight: 700; font-size: .95rem; line-height: 1.25; margin-bottom: .3rem; }
.gk-pop-cardmeta { display: block; font-size: .82rem; font-weight: 700; color: var(--muted); margin-bottom: .5rem; }
.gk-pop-cardcta { display: inline-block; font-size: .82rem; font-weight: 700; color: #fff; background: var(--accent); padding: .35em .8em; border-radius: 5px; }
