/* ==========================================================================
   GET OUTSIDE — Standalone Storybook Trailhead Theme (theme-a.css)
   Palette: Birch #FBF6EC | Parchment #FFFDF8 | Sky #CFEBFB->#EAF7FE
            Pine #1F4D3A | Foreground Ink #1A2B22 | Border #1C3526
            Cedar #D7A876 / #5A391E | Berry #D4543A | Sun #F4B942
   Typography: Unified Plus Jakarta Sans across all headers, plaques, body & controls
   Rules: Zero grey text, zero all-caps, zero blue buttons, zero decorative pills.
   ========================================================================== */

.theme-a,
.theme-a.ta-shell {
  --ta-birch: #FBF6EC;
  --ta-parchment: #FFFDF8;
  --ta-sand: #F3E7D1;
  --ta-sky-deep: #83CCE5;
  --ta-sky-top: #CFEBFB;
  --ta-sky-bot: #EAF7FE;
  --ta-pine: #1F4D3A;
  --ta-pine-hi: #29634B;
  --ta-pine-light: #DCEFE3;
  --ta-meadow: #8CC652;
  --ta-meadow-dark: #6BA636;
  --ta-ink: #1A2B22;
  --ta-border: #1C3526;
  --ta-cedar-hi: #E6BF93;
  --ta-cedar: #D7A876;
  --ta-cedar-lo: #C5915B;
  --ta-wood-border: #5A391E;
  --ta-berry: #D4543A;
  --ta-berry-hi: #E2664C;
  --ta-sun: #F4B942;
  --ta-sun-soft: #FDE9B4;
  --ta-font-head: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ta-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--ta-birch);
  background-image:
    radial-gradient(circle at 12% 6%, rgba(207, 235, 251, 0.52) 0%, transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(244, 185, 66, 0.14) 0%, transparent 28%);
  color: var(--ta-ink);
  font-family: var(--ta-font-body);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.56;
  box-sizing: border-box;
  overflow-x: clip;
}

.theme-a *,
.theme-a *::before,
.theme-a *::after {
  box-sizing: border-box;
}

.theme-a [hidden] {
  display: none !important;
}

/* Region switch: 🇨🇦 hides U.S.-only blocks, 🇺🇸 hides CAD-only blocks */
.theme-a[data-region="ca"] [data-region-only="us"],
.theme-a[data-region="us"] [data-region-only="ca"] {
  display: none !important;
}

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

.theme-a button,
.theme-a input,
.theme-a select,
.theme-a textarea {
  font-family: inherit;
}

.theme-a img {
  display: block;
  max-width: 100%;
}

.theme-a .ta-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Typography — Rule 1, Rule 3, Rule 4, Rule 7, Rule 10
   1 foreground ink (#1A2B22), 1 subheader style (never all-caps), 1 body size (15.5px)
   ========================================================================== */
.theme-a h1,
.theme-a h2,
.theme-a h3 {
  font-family: var(--ta-font-head);
  color: var(--ta-ink);
  margin: 0;
  letter-spacing: -0.015em;
}

.theme-a h1.ta-sec-title,
.theme-a h2.ta-sec-title {
  font-size: clamp(22px, 2.15vw, 28px);
  font-weight: 700;
  line-height: 1.18;
  white-space: nowrap;
}

.theme-a .ta-subhead {
  font-family: var(--ta-font-head);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ta-ink);
  white-space: nowrap;
}

.theme-a p {
  margin: 0;
  font-family: var(--ta-font-body);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.56;
  color: var(--ta-ink);
}

.theme-a .ta-plain-meta {
  font-size: 15px;
  font-weight: 600;
  color: var(--ta-ink);
  white-space: nowrap;
}

/* ==========================================================================
   Wood Plank & Comic Card Surfaces + Consistent Trailhead Controls (Rule 27)
   ========================================================================== */
.theme-a .ta-wood-plank {
  background-color: var(--ta-cedar);
  background-image:
    repeating-linear-gradient(
      3deg,
      rgba(90, 57, 30, 0.05) 0px,
      rgba(90, 57, 30, 0.05) 2px,
      transparent 2px,
      transparent 9px
    ),
    linear-gradient(180deg, var(--ta-cedar-hi) 0%, var(--ta-cedar) 52%, var(--ta-cedar-lo) 100%);
  border: 2.5px solid var(--ta-wood-border);
  box-shadow: 0 5px 0 var(--ta-wood-border);
}

.theme-a .ta-comic-card {
  background: var(--ta-parchment);
  border: 2.5px solid var(--ta-border);
  border-radius: 20px;
  box-shadow: 0 5px 0 var(--ta-border);
}

/* Carved Trail-Sign Buttons (Zero blue buttons anywhere!) */
.theme-a .ta-trail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  border: 2.5px solid var(--ta-border);
  box-shadow: 0 3px 0 var(--ta-border);
  font-family: var(--ta-font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 150ms ease-out, background-color 150ms ease-out;
}

.theme-a .ta-trail-btn:hover {
  transform: translateY(-2px);
}

.theme-a .ta-trail-btn:active {
  transform: translateY(1px);
}

.theme-a .ta-trail-btn--berry {
  background: linear-gradient(180deg, var(--ta-berry-hi) 0%, var(--ta-berry) 100%);
  color: var(--ta-parchment);
}

.theme-a .ta-trail-btn--cedar {
  background-color: var(--ta-cedar);
  background-image: linear-gradient(180deg, var(--ta-cedar-hi) 0%, var(--ta-cedar) 60%, var(--ta-cedar-lo) 100%);
  border-color: var(--ta-wood-border);
  box-shadow: 0 3px 0 var(--ta-wood-border);
  color: var(--ta-ink);
}

.theme-a .ta-trail-btn--sun {
  background: linear-gradient(180deg, #FAD06C 0%, var(--ta-sun) 100%);
  border-color: var(--ta-wood-border);
  box-shadow: 0 3px 0 var(--ta-wood-border);
  color: var(--ta-ink);
}

.theme-a .ta-trail-btn--pine {
  background: var(--ta-pine);
  color: var(--ta-parchment);
}

.theme-a .ta-trail-btn--birch {
  background: var(--ta-parchment);
  color: var(--ta-ink);
}

.theme-a .ta-trail-btn--sm {
  height: 36px;
  padding: 0 14px;
  font-size: 14.5px;
  border-radius: 10px;
  box-shadow: 0 2.5px 0 var(--ta-border);
}

.theme-a .ta-trail-btn--cedar.ta-trail-btn--sm,
.theme-a .ta-trail-btn--sun.ta-trail-btn--sm {
  box-shadow: 0 2.5px 0 var(--ta-wood-border);
}

/* ==========================================================================
   1. Top Promo Ribbon + Clear Top Navigation Bar (Home | Shop | Pledge)
   ========================================================================== */
.theme-a .ta-pennant-bar {
  background: var(--ta-pine);
  color: var(--ta-parchment);
  border-bottom: 2px solid var(--ta-border);
  padding: 6px 0;
}

.theme-a .ta-pennant-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  white-space: nowrap;
}

.theme-a .ta-pennant-text {
  font-size: 15px;
  font-weight: 400;
  color: var(--ta-parchment);
  white-space: normal; /* the sale line fits 1 line on desktop and wraps rather than clips when narrower */
  text-align: center;
  text-wrap: balance;
}

.theme-a .ta-pennant-text strong,
.theme-a .ta-pennant-code {
  font-weight: 700;
  color: var(--ta-sun-soft);
}

/* Sale code: bold yellow text in a dashed yellow box; "Copied!" swaps in on the same grid cell so the box never changes width */
.theme-a .ta-pennant-code {
  display: inline-grid;
  vertical-align: baseline;
  padding: 1px 7px;
  border: 1.5px dashed var(--ta-sun-soft);
  border-radius: 6px;
  background: none;
  font: inherit;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}

.theme-a .ta-pennant-code > span {
  grid-area: 1 / 1;
  text-align: center;
}

.theme-a .ta-pennant-code > span + span,
.theme-a .ta-pennant-code.is-copied > span:first-child {
  visibility: hidden;
}

.theme-a .ta-pennant-code.is-copied > span + span {
  visibility: visible;
}

.theme-a .ta-pennant-code:focus-visible {
  outline: 2px solid var(--ta-sun-soft);
  outline-offset: 2px;
}

.theme-a .ta-pennant-nowrap {
  white-space: nowrap;
}

.theme-a .ta-pennant-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Sticky Clear Top Navigation Bar */
.theme-a .ta-header-wrap {
  position: sticky;
  top: 0;
  z-index: 900;
  padding: 12px 0 10px;
  background: rgba(251, 246, 236, 0.93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.theme-a .ta-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 16px;
  border-radius: 18px;
  background: var(--ta-parchment);
  border: 2.5px solid var(--ta-border);
  box-shadow: 0 4px 0 var(--ta-border);
}

/* Brand sign: the real carved "GET OUTSIDE" lettering cropped from the hero trail sign, on a cedar plank */
.theme-a .ta-brand-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px 7px;
  border-radius: 11px;
  background: linear-gradient(180deg, var(--ta-cedar-hi) 0%, var(--ta-cedar) 100%);
  border: 2px solid var(--ta-wood-border);
  box-shadow: 0 2.5px 0 var(--ta-wood-border);
  cursor: pointer;
  transition: transform 150ms ease-out;
}

.theme-a .ta-brand-logo {
  display: block;
  width: auto;
  height: 24px;
  filter: drop-shadow(0 0 0.8px var(--ta-border)) drop-shadow(0 0 0.8px var(--ta-border)) drop-shadow(0 1.5px 0 var(--ta-wood-border));
}

/* Home overview: lines would run to ~89 characters uncapped, so the dashed rule and buttons share the copy's 34em measure (34 × 15.5px) */
.theme-a .ta-top-intro-grid .ta-plaque-bottom-bar {
  max-width: 527px;
}

.theme-a .ta-brand-link:hover {
  transform: translateY(-1px);
}

/* Center View-Switching Tabs (Home | Shop | Pledge) — Rule 28 */
.theme-a .ta-nav-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 13px;
  background: var(--ta-birch);
  border: 2px solid var(--ta-border);
}

.theme-a .ta-nav-tab {
  height: 36px;
  padding: 0 20px;
  border-radius: 9px;
  border: 2px solid transparent;
  background: transparent;
  color: var(--ta-ink);
  font-family: var(--ta-font-body);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out, transform 150ms ease-out;
}

.theme-a .ta-nav-tab:hover:not(.is-active) {
  background: var(--ta-sun-soft);
}

.theme-a .ta-nav-tab.is-active {
  background: var(--ta-pine);
  color: var(--ta-parchment);
  border-color: var(--ta-border);
  box-shadow: 0 2px 0 var(--ta-border);
}

/* Nav tabs rendered as real links (crawlable) look identical to the button tabs */
.theme-a a.ta-nav-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.theme-a a.ta-nav-tab:visited {
  color: var(--ta-ink);
}

.theme-a a.ta-nav-tab.is-active,
.theme-a a.ta-nav-tab.is-active:visited {
  color: var(--ta-parchment);
}

/* Right Social Icons + Live Cart Button */
.theme-a .ta-nav-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.theme-a .ta-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 2px solid var(--ta-border);
  background: var(--ta-birch);
  box-shadow: 0 2.5px 0 var(--ta-border);
  color: var(--ta-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 150ms ease-out, background-color 150ms ease-out;
}

.theme-a .ta-social-btn:hover {
  transform: translateY(-2px);
  background: var(--ta-sun-soft);
}

.theme-a .ta-social-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.theme-a .ta-cart-trigger {
  height: 38px;
  padding: 0 15px;
  border-radius: 10px;
  border: 2px solid var(--ta-border);
  background: linear-gradient(180deg, var(--ta-berry-hi) 0%, var(--ta-berry) 100%);
  box-shadow: 0 2.5px 0 var(--ta-border);
  color: var(--ta-parchment);
  font-family: var(--ta-font-body);
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 150ms ease-out;
}

.theme-a .ta-cart-trigger:hover {
  transform: translateY(-2px);
}

.theme-a .ta-cart-trigger svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* Canada / U.S. region switch (segmented, SVG flags) */
.theme-a .ta-region-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 11px;
  border: 2px solid var(--ta-border);
  background: var(--ta-birch);
}

.theme-a .ta-region-btn {
  height: 30px;
  padding: 0 10px 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ta-ink);
  font-family: var(--ta-font-body);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}

.theme-a .ta-region-btn:hover:not(.is-active) {
  background: var(--ta-sun-soft);
}

.theme-a .ta-region-btn.is-active {
  background: var(--ta-pine);
  color: var(--ta-parchment);
  box-shadow: 0 2px 0 var(--ta-border);
}

.theme-a .ta-region-short {
  display: none;
}

.theme-a .ta-flag {
  width: 22px;
  height: 15px;
  flex-shrink: 0;
  display: block;
}

.theme-a .ta-region-btn:focus-visible,
.theme-a .ta-photo-toggle:focus-visible {
  outline: 3px solid var(--ta-sun);
  outline-offset: 2px;
}

/* ==========================================================================
   View Panels & Section Spacing
   ========================================================================== */
.theme-a .ta-views-host {
  flex: 1;
}

.theme-a .ta-view-panel {
  animation: ta-view-fade 180ms ease-out;
}

@keyframes ta-view-fade {
  from { opacity: 0.4; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.theme-a .ta-section {
  padding: 24px 0;
}

.theme-a .ta-section,
.theme-a #ta-author-intro {
  scroll-margin-top: 92px;
}

.theme-a .ta-sec-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: nowrap;
}

.theme-a .ta-sec-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

/* ==========================================================================
   HOME VIEW — 1. Top Full-Width Uncropped Jotalumi Hero Banner + 2-Col Author Intro
   ========================================================================== */
.theme-a .ta-hero-section {
  padding: 6px 0 22px;
}

.theme-a .ta-top-banner-card {
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--ta-sky-top);
}

.theme-a .ta-top-banner-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.theme-a .ta-top-intro-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 20px;
}

.theme-a .ta-editorial-photo-card {
  min-width: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

/* Click-to-cartoon author photo: cartoon layer fades over the photo (opacity only) */
.theme-a .ta-photo-toggle {
  position: relative;
  display: block;
  width: 100%;
  flex: 1 1 0;
  min-height: 360px;
  padding: 0;
  border: 2px solid var(--ta-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--ta-sky-top);
  cursor: pointer;
}

.theme-a .ta-editorial-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.theme-a .ta-editorial-photo--cartoon {
  object-position: center 42%;
  opacity: 0;
  transition: opacity 280ms ease-out;
}

.theme-a .ta-photo-toggle.is-cartoon .ta-editorial-photo--cartoon {
  opacity: 1;
}

.theme-a .ta-photo-flip-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2.5px solid var(--ta-border);
  background: var(--ta-sun);
  box-shadow: 0 3px 0 var(--ta-border);
  display: grid;
  place-items: center;
  transition: transform 150ms ease-out;
}

.theme-a .ta-photo-toggle:hover .ta-photo-flip-badge {
  transform: rotate(-10deg) scale(1.06);
}

.theme-a .ta-photo-flip-icon {
  grid-area: 1 / 1;
  display: inline-flex;
  transition: opacity 180ms ease-out;
}

.theme-a .ta-photo-flip-icon--camera,
.theme-a .ta-photo-toggle.is-cartoon .ta-photo-flip-icon--pencil {
  opacity: 0;
}

.theme-a .ta-photo-toggle.is-cartoon .ta-photo-flip-icon--camera {
  opacity: 1;
}

.theme-a .ta-photo-caption {
  font-family: var(--ta-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ta-ink);
  text-align: center;
  text-wrap: balance;
}

.theme-a .ta-story-plaque {
  min-width: 0;
  background: var(--ta-parchment);
  border: 2.5px solid var(--ta-wood-border);
  border-radius: 20px;
  box-shadow: 0 5px 0 var(--ta-wood-border);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.theme-a .ta-plaque-title {
  font-family: var(--ta-font-head);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.18;
  color: var(--ta-ink);
  white-space: nowrap;
  margin: 0;
}

.theme-a .ta-story-paras {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.theme-a .ta-story-plaque p,
.theme-a .ta-story-lead {
  font-family: var(--ta-font-body);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.56;
  color: var(--ta-ink);
}

/* Long-copy measure: keep reading lines near 68 characters */
.theme-a .ta-story-plaque p,
.theme-a .ta-faq-a,
.theme-a .ta-contact-info p {
  max-width: 34em; /* ≈68 characters; Plus Jakarta's wide "0" makes 68ch ≈ 100 chars */
}

/* Inline SVG icons that replaced text glyphs (✓ ✕ ✉ +) */
.theme-a .ta-ico {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: -2px;
}

.theme-a .ta-plaque-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1.5px dashed rgba(90, 57, 30, 0.32);
}

.theme-a .ta-rot-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  font-family: var(--ta-font-body);
  font-size: 15.5px;
  font-weight: 400;
  color: var(--ta-ink);
  white-space: nowrap;
}

.theme-a .ta-rot-plank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 152px;
  padding: 4px 12px;
  border-radius: 8px;
  border: 2px solid var(--ta-wood-border);
  background: linear-gradient(180deg, #FAD06C 0%, var(--ta-sun) 100%);
  box-shadow: 0 2px 0 var(--ta-wood-border);
  font-family: var(--ta-font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--ta-ink);
  white-space: nowrap;
  transition: opacity 150ms ease-out, transform 150ms ease-out;
}

.theme-a .ta-rot-plank.is-swapping {
  opacity: 0;
  transform: translateY(3px);
}

.theme-a .ta-signpost-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.theme-a .ta-plank-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 12px 20px 20px 12px;
  border: 2.5px solid var(--ta-wood-border);
  box-shadow: 0 3.5px 0 var(--ta-wood-border);
  font-family: var(--ta-font-body);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 150ms ease-out;
}

.theme-a .ta-plank-cta:hover {
  transform: translateY(-2px);
}

.theme-a .ta-plank-cta--primary {
  background: linear-gradient(180deg, var(--ta-berry-hi) 0%, var(--ta-berry) 100%);
  border-color: var(--ta-border);
  box-shadow: 0 3.5px 0 var(--ta-border);
  color: var(--ta-parchment);
}

.theme-a .ta-plank-cta--wood {
  background-color: var(--ta-cedar);
  background-image: linear-gradient(180deg, var(--ta-cedar-hi) 0%, var(--ta-cedar) 58%, var(--ta-cedar-lo) 100%);
  color: var(--ta-ink);
}

/* ==========================================================================
   HOME VIEW — 2. Peek Inside the Book (BounceCards + Spotlight)
   ========================================================================== */
.theme-a .ta-peek-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(0, 0.94fr);
  gap: 22px;
  align-items: stretch;
}

.theme-a .ta-bounce-stage {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 22px 18px;
  height: 436px;
  background: linear-gradient(180deg, var(--ta-sky-top) 0%, var(--ta-sky-bot) 68%, var(--ta-sand) 100%);
  overflow: hidden;
}

.theme-a .ta-bounce-host {
  position: relative;
  width: 100%;
  height: 300px;
  margin-top: 8px;
}

.theme-a .rb-bounce-card {
  position: absolute;
  left: 50%;
  top: 14px;
  width: 192px;
  padding: 8px;
  border-radius: 16px;
  border: 2.5px solid var(--ta-border);
  background: var(--ta-parchment);
  box-shadow: 0 5px 0 var(--ta-border);
  cursor: pointer;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), border-color 160ms ease-out;
}

.theme-a .rb-bounce-card.is-selected {
  border-color: var(--ta-berry);
  background: #FFF9EB;
}

.theme-a .rb-bounce-img-wrap {
  position: relative;
  width: 100%;
  height: 214px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--ta-border);
  background: var(--ta-birch);
}

.theme-a .rb-bounce-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-a .rb-bounce-letter {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 2px solid var(--ta-border);
  background: var(--ta-sun);
  color: var(--ta-ink);
  font-family: var(--ta-font-head);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-a .rb-bounce-caption {
  display: none;
}

.theme-a .ta-spread-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.theme-a .ta-spread-tab {
  height: 34px;
  padding: 0 13px;
  border-radius: 10px;
  border: 2px solid var(--ta-wood-border);
  background: var(--ta-parchment);
  color: var(--ta-ink);
  font-family: var(--ta-font-body);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 150ms ease-out, background-color 150ms ease-out;
}

.theme-a .ta-spread-tab.is-active {
  background: var(--ta-sun);
  box-shadow: 0 2px 0 var(--ta-wood-border);
}

/* Fixed-Height Spread Spotlight Details Card (Zero Duplicate Image!) */
.theme-a .ta-spotlight-card {
  min-height: 436px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.theme-a .ta-spotlight-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Spotlight facts as two carved trail-sign planks on a wooden post */
.theme-a .ta-trail-signs {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 6px 0 4px;
}

.theme-a .ta-trail-signs::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -4px;
  bottom: -6px;
  width: 14px;
  transform: translateX(-50%);
  border: 2px solid var(--ta-wood-border);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(90deg, var(--ta-cedar-lo) 0%, var(--ta-cedar-hi) 45%, var(--ta-cedar) 100%);
}

.theme-a .ta-trail-sign {
  position: relative;
  margin-right: 12px;
  transform: rotate(-0.8deg);
  filter: drop-shadow(0 3px 0 var(--ta-wood-border));
}

.theme-a .ta-trail-sign--left {
  margin: 0 0 0 12px;
  transform: rotate(0.7deg);
}

.theme-a .ta-trail-sign-board {
  padding: 2.5px;
  background: var(--ta-wood-border);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
}

.theme-a .ta-trail-sign--left .ta-trail-sign-board {
  clip-path: polygon(20px 0, 100% 0, 100% 100%, 20px 100%, 0 50%);
}

.theme-a .ta-trail-sign-face {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 52px;
  padding: 0 32px 0 14px;
  background-color: var(--ta-cedar);
  background-image:
    repeating-linear-gradient(2deg, rgba(90, 57, 30, 0.07) 0 2px, transparent 2px 8px),
    linear-gradient(180deg, var(--ta-cedar-hi) 0%, var(--ta-cedar) 55%, var(--ta-cedar-lo) 100%);
  clip-path: polygon(0 0, calc(100% - 18.5px) 0, 100% 50%, calc(100% - 18.5px) 100%, 0 100%);
}

.theme-a .ta-trail-sign--left .ta-trail-sign-face {
  padding: 0 14px 0 32px;
  clip-path: polygon(18.5px 0, 100% 0, 100% 100%, 18.5px 100%, 0 50%);
}

.theme-a .ta-trail-sign-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ta-ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.theme-a .ta-trail-sign-value {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--ta-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-a .ta-spotlight-title {
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-a .ta-spotlight-caption {
  font-family: var(--ta-font-body);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.56;
  color: var(--ta-ink);
}

.theme-a .ta-spotlight-editions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1.5px dashed rgba(28, 53, 38, 0.25);
}

/* ==========================================================================
   HOME VIEW — 3. Parent Review Speech-Bubble Cards (4 Quotes Only)
   ========================================================================== */
.theme-a .ta-reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.theme-a .ta-speech-bubble {
  position: relative;
  background: var(--ta-parchment);
  border: 2.5px solid var(--ta-border);
  border-radius: 18px;
  box-shadow: 0 5px 0 var(--ta-border);
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.theme-a .ta-speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 24px;
  width: 18px;
  height: 18px;
  background: var(--ta-parchment);
  border-right: 2.5px solid var(--ta-border);
  border-bottom: 2.5px solid var(--ta-border);
  transform: rotate(45deg);
}

.theme-a .ta-speech-quote {
  font-family: var(--ta-font-body);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.56;
  color: var(--ta-ink);
}

.theme-a .ta-speech-author {
  padding-top: 8px;
  border-top: 1.5px dashed rgba(28, 53, 38, 0.22);
  font-family: var(--ta-font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--ta-ink);
  white-space: nowrap;
}

/* ==========================================================================
   HOME VIEW — FAQ (details/summary cards)
   ========================================================================== */
.theme-a .ta-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.theme-a .ta-faq-item {
  align-self: start;
  padding: 14px 16px;
}

.theme-a .ta-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  font-family: var(--ta-font-body);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ta-ink);
  list-style: none;
  cursor: pointer;
}

.theme-a .ta-faq-q::-webkit-details-marker {
  display: none;
}

.theme-a .ta-faq-q::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 2px solid var(--ta-wood-border);
  background: var(--ta-sun-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: var(--ta-ink);
}

.theme-a .ta-faq-item[open] .ta-faq-q::after {
  content: "−";
}

.theme-a .ta-faq-q:focus-visible {
  outline: 3px solid var(--ta-sun);
  outline-offset: 2px;
  border-radius: 6px;
}

.theme-a .ta-faq-a {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ta-ink);
}

@media (max-width: 820px) {
  .theme-a .ta-faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   HOME VIEW — 5. Nearest-Store Address Locator + 36-Store Map (Items #1 & #2)
   ========================================================================== */
.theme-a .ta-locator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(390px, 1.02fr);
  gap: 18px;
  height: 540px;
}

.theme-a .ta-map-wrap {
  position: relative;
  border-radius: 20px;
  border: 2.5px solid var(--ta-border);
  box-shadow: 0 5px 0 var(--ta-border);
  overflow: hidden;
  background: #DFECE6;
  height: 100%;
}

.theme-a .ta-leaflet-map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.theme-a .ta-map-presets {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 500;
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border-radius: 13px;
  background: rgba(255, 253, 248, 0.96);
  border: 2px solid var(--ta-border);
  box-shadow: 0 3px 0 var(--ta-border);
}

.theme-a .ta-map-preset {
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ta-ink);
  font-family: var(--ta-font-body);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.theme-a .ta-map-preset:hover:not(.is-active) {
  background: var(--ta-sun-soft);
}

.theme-a .ta-map-preset.is-active {
  background: var(--ta-pine);
  color: var(--ta-parchment);
}

.theme-a .ta-leaflet-div-icon {
  background: transparent;
  border: 0;
}

.theme-a .ta-map-marker {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pin-bg, #1F4D3A);
  border: 3px solid #FFFDF8;
  box-shadow: 0 2px 0 #1C3526, 0 4px 10px rgba(0, 0, 0, 0.28);
  transition: transform 150ms cubic-bezier(0.22, 1.35, 0.36, 1);
}

.theme-a .ta-map-marker:hover {
  transform: scale(1.26);
}

/* Distinct Berry-Red "Your Location" Pin on Map */
.theme-a .ta-user-loc-pin {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ta-berry);
  color: #FFFDF8;
  border: 3px solid #FFFDF8;
  box-shadow: 0 2px 0 #1C3526, 0 0 0 6px rgba(212, 84, 58, 0.28);
  font-size: 14px;
  font-weight: 700;
}

.theme-a .leaflet-popup-content-wrapper {
  border-radius: 15px;
  border: 2px solid var(--ta-border);
  box-shadow: 0 4px 0 var(--ta-border);
  background: var(--ta-parchment);
  padding: 2px;
  font-family: var(--ta-font-body);
}

.theme-a .leaflet-popup-tip {
  background: var(--ta-parchment);
}

.theme-a .leaflet-popup-content {
  width: auto !important;
  margin: 11px 14px;
}

.theme-a .ta-map-popup {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.theme-a .ta-map-popup strong {
  font-family: var(--ta-font-head);
  font-size: 15.5px;
  color: var(--ta-ink);
  white-space: nowrap;
}

.theme-a .ta-map-popup-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.theme-a .ta-map-popup span {
  font-size: 14.5px;
  color: var(--ta-ink);
  white-space: nowrap;
}

.theme-a .ta-map-popup a {
  font-family: var(--ta-font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--ta-berry) !important;
  text-decoration: underline;
  white-space: nowrap;
}

.theme-a .ta-locator-sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.theme-a .ta-locator-controls {
  padding: 13px 14px 11px;
  border-bottom: 2px solid rgba(28, 53, 38, 0.14);
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: var(--ta-birch);
  border-radius: 18px 18px 0 0;
}

.theme-a .ta-address-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-a .ta-address-actions .ta-trail-btn {
  flex: 1;
}

.theme-a .ta-geo-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ta-ink);
  padding: 4px 2px 0;
  white-space: nowrap;
}

.theme-a .ta-geo-status-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-a .ta-geo-clear-btn {
  border: 0;
  background: transparent;
  color: var(--ta-berry);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.theme-a .ta-sidebar-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.theme-a .ta-sidebar-chips .ta-chip {
  height: 32px;
  padding: 0 10px;
  font-size: 14px;
}

.theme-a .ta-map-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.theme-a .ta-map-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 140ms ease-out;
}

.theme-a .ta-map-row:hover {
  background: var(--ta-birch);
}

.theme-a .ta-map-row.is-selected {
  background: var(--ta-sun-soft);
  border-color: var(--ta-wood-border);
}

/* Retailer logo slot (fixed size so rows never shift); pin dot shows until the logo loads */
.theme-a .ta-map-row-mark {
  width: 76px;
  height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.theme-a .ta-map-row-mark.has-logo {
  padding: 4px 6px;
  background: #FFFFFF;
  border: 1.5px solid rgba(28, 53, 38, 0.22);
}

.theme-a .ta-map-row-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.theme-a .ta-map-pin-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--ta-border);
  flex-shrink: 0;
}

.theme-a .ta-map-row-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.theme-a .ta-map-row-name {
  font-family: var(--ta-font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ta-ink);
}

.theme-a .ta-map-row-region {
  font-size: 14px;
  color: var(--ta-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-a .ta-map-row-addr {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--ta-ink);
}

.theme-a .ta-map-row-addr-link {
  font-weight: 700;
  color: var(--ta-berry);
  text-decoration: underline;
}

.theme-a .ta-shop-dist {
  font-size: 14px;
  font-weight: 700;
  color: var(--ta-pine);
  white-space: nowrap;
  flex-shrink: 0;
}

.theme-a .ta-map-row-visit {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 2px solid var(--ta-wood-border);
  background: var(--ta-cedar);
  color: var(--ta-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ==========================================================================
   SHOP VIEW — Filter Toolbar & Clean Visual Product Cards (Zero Pills!)
   ========================================================================== */
.theme-a .ta-filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.theme-a .ta-chip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.theme-a .ta-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 15px;
  border-radius: 11px;
  border: 2px solid var(--ta-border);
  background: var(--ta-parchment);
  color: var(--ta-ink);
  font-family: var(--ta-font-body);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 150ms ease-out, background-color 150ms ease-out;
}

.theme-a .ta-chip:hover:not(.is-active) {
  transform: translateY(-1px);
  background: var(--ta-sun-soft);
}

.theme-a .ta-chip.is-active {
  background: var(--ta-pine);
  color: var(--ta-parchment);
  box-shadow: 0 2.5px 0 var(--ta-border);
}

.theme-a .ta-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.theme-a .ta-search-input {
  width: 296px;
  height: 38px;
  padding: 0 34px 0 14px;
  border-radius: 11px;
  border: 2px solid var(--ta-border);
  background: var(--ta-parchment);
  color: var(--ta-ink);
  font-size: 15px;
  outline: none;
}

.theme-a .ta-search-input--full {
  width: 100%;
}

.theme-a .ta-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.theme-a .ta-search-input::placeholder {
  color: var(--ta-ink);
  opacity: 0.72;
}

.theme-a .ta-search-input:focus {
  border-color: var(--ta-pine);
  box-shadow: 0 0 0 3px rgba(31, 77, 58, 0.16);
}

.theme-a .ta-search-clear {
  position: absolute;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0;
  background: var(--ta-sand);
  color: var(--ta-ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Address autocomplete dropdown (Photon) */
.theme-a .ta-addr-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 60;
  margin: 0;
  padding: 5px;
  list-style: none;
  max-height: 262px;
  overflow-y: auto;
  background: var(--ta-parchment);
  border: 2px solid var(--ta-border);
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--ta-border);
}

.theme-a .ta-addr-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 6px 10px;
  border-radius: 9px;
  cursor: pointer;
}

.theme-a .ta-addr-opt:hover,
.theme-a .ta-addr-opt.is-active {
  background: var(--ta-sun-soft);
}

.theme-a .ta-addr-opt-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.theme-a .ta-addr-opt-primary,
.theme-a .ta-addr-opt-secondary {
  color: var(--ta-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-a .ta-addr-opt-primary {
  font-size: 15px;
  font-weight: 600;
}

.theme-a .ta-addr-opt-secondary {
  font-size: 14px;
}

.theme-a .ta-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.theme-a .ta-sku-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  transition: transform 170ms ease-out;
}

.theme-a .ta-sku-card:hover {
  transform: translateY(-3px);
}

.theme-a .ta-sku-img-box {
  position: relative;
  height: 196px;
  border-radius: 13px;
  border: 2px solid var(--ta-border);
  background: var(--ta-birch);
  overflow: hidden;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-a .ta-sku-img-box img {
  max-width: 88%;
  max-height: 88%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 200ms cubic-bezier(0.22, 1.25, 0.36, 1);
}

.theme-a .ta-sku-card.is-patch .ta-sku-img-box {
  background: radial-gradient(circle at 50% 45%, #FFFFFF 0%, var(--ta-birch) 100%);
}

.theme-a .ta-sku-card.is-patch .ta-sku-img-box img {
  max-width: 82%;
  max-height: 82%;
  filter:
    drop-shadow(0 2px 1.5px rgba(15, 25, 19, 0.5))
    drop-shadow(0 8px 12px rgba(15, 25, 19, 0.22));
}

.theme-a .ta-sku-card:hover .ta-sku-img-box img {
  transform: scale(1.05);
}

.theme-a .ta-sku-header-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 4px;
}

.theme-a .ta-sku-title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}

.theme-a .ta-sku-spec {
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ta-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 12px;
}

.theme-a .ta-price-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.theme-a .ta-price-now {
  font-family: var(--ta-font-body);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ta-ink);
}

.theme-a .ta-price-was {
  font-size: 14px;
  color: var(--ta-berry);
  text-decoration: line-through;
  font-weight: 600;
}

.theme-a .ta-sku-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1.5px dashed rgba(28, 53, 38, 0.22);
}

.theme-a .ta-sku-actions .ta-trail-btn {
  flex: 1;
  padding: 0 10px;
}

.theme-a .ta-empty-state {
  grid-column: 1 / -1;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* ==========================================================================
   SHOP VIEW — 1. Realistic Backpack Patch & Combo Builder
   ========================================================================== */
.theme-a .ta-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.98fr);
  gap: 22px;
  align-items: stretch;
}

.theme-a .ta-builder-controls {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.theme-a .ta-step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.theme-a .ta-base-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.theme-a .ta-base-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 2.5px solid var(--ta-border);
  background: var(--ta-birch);
  cursor: pointer;
  text-align: left;
  transition: transform 150ms ease-out, background-color 150ms ease-out;
}

.theme-a .ta-base-btn:hover {
  transform: translateY(-2px);
}

.theme-a .ta-base-btn.is-selected {
  background: var(--ta-sun-soft);
  border-color: var(--ta-wood-border);
  box-shadow: 0 3.5px 0 var(--ta-wood-border);
}

.theme-a .ta-base-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.theme-a .ta-base-thumb {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  border: 2px solid var(--ta-border);
  object-fit: cover;
  background: var(--ta-parchment);
  flex-shrink: 0;
}

.theme-a .ta-base-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.theme-a .ta-base-name {
  font-family: var(--ta-font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--ta-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-a .ta-base-sub {
  font-size: 14px;
  color: var(--ta-ink);
  white-space: nowrap;
}

.theme-a .ta-base-price {
  font-family: var(--ta-font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--ta-ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.theme-a .ta-qty-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 10px;
  border: 2px solid var(--ta-border);
  background: var(--ta-birch);
  white-space: nowrap;
}

.theme-a .ta-qty-btn {
  width: 25px;
  height: 25px;
  border-radius: 7px;
  border: 1.5px solid var(--ta-border);
  background: var(--ta-sun);
  color: var(--ta-ink);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-a .ta-qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.theme-a .ta-title-short {
  display: none;
}

.theme-a .ta-qty-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ta-ink);
  min-width: 58px;
  text-align: center;
}

/* Realistic Macro Die-Cut Embroidered Patches Picker */
.theme-a .ta-patches-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.theme-a .ta-patch-card {
  --peel-rx: 0deg;
  --peel-ry: 0deg;
  --peel-gx: 50%;
  --peel-gy: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px 9px;
  border-radius: 14px;
  border: 2px solid var(--ta-border);
  background:
    radial-gradient(circle at var(--peel-gx) var(--peel-gy), rgba(255, 255, 255, 0.88), transparent 60%),
    var(--ta-birch);
  cursor: grab;
  transform: perspective(550px) rotateX(var(--peel-rx)) rotateY(var(--peel-ry));
  transition: transform 150ms ease-out, border-color 150ms ease-out, box-shadow 150ms ease-out;
}

.theme-a .ta-patch-card:active {
  cursor: grabbing;
}

.theme-a .ta-patch-card.is-pinned {
  background:
    radial-gradient(circle at var(--peel-gx) var(--peel-gy), rgba(255, 255, 255, 0.72), transparent 60%),
    var(--ta-pine-light);
  border-color: var(--ta-pine);
  box-shadow: 0 3px 0 var(--ta-pine);
}

.theme-a .ta-patch-img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  transform: scale(1.14);
  filter:
    drop-shadow(0 1.5px 1px rgba(12, 20, 15, 0.55))
    drop-shadow(0 6px 9px rgba(12, 20, 15, 0.24));
  pointer-events: none;
  transition: transform 180ms cubic-bezier(0.22, 1.3, 0.36, 1);
}

.theme-a .ta-patch-card:hover .ta-patch-img {
  transform: scale(1.22) rotate(-2deg);
}

.theme-a .ta-patch-title {
  font-family: var(--ta-font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ta-ink);
  white-space: nowrap;
  margin-top: 2px;
}

.theme-a .ta-patch-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--ta-ink);
  white-space: nowrap;
}

.theme-a .ta-patch-pin-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--ta-border);
  background: var(--ta-parchment);
  color: var(--ta-ink);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-a .ta-patch-card.is-pinned .ta-patch-pin-tag {
  background: var(--ta-pine);
  color: var(--ta-parchment);
}

/* Right Rich Woven-Canvas Rucksack Stage */
.theme-a .ta-pack-preview-card {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(180deg, var(--ta-sky-bot) 0%, var(--ta-parchment) 55%, var(--ta-sand) 100%);
}

.theme-a .ta-pack-stage {
  position: relative;
  height: 384px;
  border-radius: 18px;
  border: 2px solid var(--ta-border);
  background:
    radial-gradient(circle at 50% 42%, #FFFFFF 0%, #E2F3FB 65%, #D3E8D8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.theme-a .ta-backpack-svg {
  width: 356px;
  height: 364px;
  display: block;
  filter: drop-shadow(0 14px 20px rgba(26, 43, 34, 0.22));
}

.theme-a .ta-dropzones-layer,
.theme-a .ta-pinned-layer {
  position: absolute;
  width: 356px;
  height: 364px;
  pointer-events: none;
}

.theme-a .ta-dropzone {
  position: absolute;
  width: 102px;
  height: 102px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px dashed transparent;
  pointer-events: auto;
  transition: transform 150ms ease-out, border-color 150ms ease-out, background-color 150ms ease-out;
}

.theme-a .ta-dropzone--0 { left: 50%; top: 37%; }
.theme-a .ta-dropzone--1 { left: 37.5%; top: 69.5%; }
.theme-a .ta-dropzone--2 { left: 62.5%; top: 69.5%; }

.theme-a .ta-pack-stage.is-dragging .ta-dropzone {
  border-color: var(--ta-sun);
  background: rgba(244, 185, 66, 0.22);
  transform: translate(-50%, -50%) scale(1.06);
}

.theme-a .ta-dropzone.is-drag-over {
  border-color: #FFFFFF !important;
  background: rgba(244, 185, 66, 0.42) !important;
  transform: translate(-50%, -50%) scale(1.14) !important;
}

/* Realistic Ironed-On Embroidered Patch on Canvas Bag */
.theme-a .ta-pack-slot {
  --slot-rot: -3deg;
  position: absolute;
  width: 104px;
  height: 104px;
  transform: translate(-50%, -50%) rotate(var(--slot-rot));
  pointer-events: auto;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  animation: ta-iron-press 300ms cubic-bezier(0.22, 1.35, 0.36, 1) both;
  transition: transform 160ms cubic-bezier(0.22, 1.35, 0.36, 1);
}

.theme-a .ta-pack-slot--0 { left: 50%; top: 37%; --slot-rot: -3.5deg; z-index: 4; }
.theme-a .ta-pack-slot--1 { left: 37.5%; top: 69.5%; --slot-rot: -5deg; z-index: 3; }
.theme-a .ta-pack-slot--2 { left: 62.5%; top: 69.5%; --slot-rot: 4.5deg; z-index: 3; }

.theme-a .ta-pack-slot:hover {
  transform: translate(-50%, -50%) rotate(0deg) scale(1.09);
  z-index: 6;
}

.theme-a .ta-pack-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.16);
  filter:
    drop-shadow(0 1px 1px rgba(0, 0, 0, 0.72))
    drop-shadow(0 3px 4px rgba(14, 24, 18, 0.44))
    drop-shadow(0 7px 12px rgba(14, 24, 18, 0.24));
}

.theme-a .ta-pack-slot::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, transparent 48%, rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
  mix-blend-mode: soft-light;
}

@keyframes ta-iron-press {
  0% {
    opacity: 0;
    transform: translate(-50%, -58%) rotate(calc(var(--slot-rot) - 8deg)) scale(1.28);
  }
  62% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--slot-rot)) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--slot-rot)) scale(1);
  }
}

.theme-a .ta-meter-box {
  padding: 11px 14px;
  border-radius: 13px;
  border: 2px solid var(--ta-wood-border);
  background: var(--ta-parchment);
}

.theme-a .ta-meter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ta-ink);
  white-space: nowrap;
}

.theme-a .ta-meter-track {
  height: 11px;
  border-radius: 999px;
  border: 2px solid var(--ta-border);
  background: var(--ta-birch);
  overflow: hidden;
}

.theme-a .ta-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ta-sun) 0%, var(--ta-meadow) 100%);
  transition: width 220ms ease-out;
}

.theme-a .ta-pack-summary {
  min-height: 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.theme-a .ta-pack-summary-line {
  font-size: 14.5px;
  color: var(--ta-ink);
}

.theme-a .ta-pack-cta-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 10px;
}

/* ==========================================================================
   SHOP VIEW — 2. Interactive Colouring Book Studio (Multiply Ink + Flood Fill)
   ========================================================================== */
.theme-a .ta-colour-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.96fr);
  gap: 22px;
  align-items: stretch;
}

.theme-a .ta-colour-stage-card {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(180deg, var(--ta-parchment) 0%, var(--ta-birch) 100%);
}

.theme-a .ta-colour-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.theme-a .ta-page-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.theme-a .ta-paper-frame {
  position: relative;
  width: 100%;
  max-width: 472px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 16px;
  border: 2.5px solid var(--ta-border);
  box-shadow: 0 5px 0 var(--ta-border);
  background: #FFFFFF;
  overflow: hidden;
  cursor: crosshair;
  touch-action: none;
  user-select: none;
}

.theme-a .ta-colour-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.theme-a .ta-colour-ink {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 2;
}

.theme-a .ta-colour-sidebar {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.theme-a[data-region="us"] .ta-colour-sidebar {
  justify-content: flex-start;
}

.theme-a .ta-crayons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.theme-a .ta-crayon-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 13px;
  border-radius: 12px;
  border: 2px solid var(--ta-border);
  background: var(--ta-birch);
  color: var(--ta-ink);
  font-family: var(--ta-font-body);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 150ms ease-out, background-color 150ms ease-out;
}

.theme-a .ta-crayon-btn:hover {
  transform: translateY(-2px);
}

.theme-a .ta-crayon-btn.is-active {
  background: var(--ta-sun-soft);
  border-color: var(--ta-wood-border);
  box-shadow: 0 3px 0 var(--ta-wood-border);
}

.theme-a .ta-crayon-tip {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--ta-border);
  background: var(--swatch, #7CCDF4);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}

.theme-a .ta-colour-book-promo {
  padding: 16px;
  border-radius: 16px;
  border: 2px solid var(--ta-wood-border);
  background: var(--ta-birch);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.theme-a .ta-colour-promo-top {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.theme-a .ta-colour-cover-thumb {
  width: 88px;
  height: 88px;
  border-radius: 11px;
  border: 2px solid var(--ta-border);
  object-fit: cover;
  background: var(--ta-parchment);
}

.theme-a .ta-colour-promo-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Checkout: disabled buttons, inline error, shipping row, thank-you / cancelled plaques */
.theme-a .ta-trail-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.theme-a .ta-checkout-error {
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  border: 2.5px solid var(--ta-berry);
  background: var(--ta-parchment);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ta-ink);
}

.theme-a .ta-checkout-error[hidden] {
  display: none;
}

.theme-a .ta-pack-cta-row + .ta-checkout-error {
  margin-top: 10px;
}

.theme-a .ta-status-plaque {
  align-self: stretch;
  justify-content: flex-start;
  gap: 18px;
}

/* Thank-you order number: the one line to keep, so it reads first and larger (still smaller than the title on phones) */
.theme-a .ta-story-plaque .ta-order-number {
  font-size: clamp(16px, 4.2vw, 20px);
  line-height: 1.4;
}

.theme-a .ta-order-number strong {
  white-space: nowrap;
}

.theme-a .ta-status-plaque .ta-pledge-callout {
  margin-top: 0;
}

.theme-a .ta-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   PLEDGE VIEW — 1. Clean 2-Column Project Canoe Plaque
   ========================================================================== */
.theme-a .ta-pledge-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.theme-a .ta-pledge-photo-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.theme-a .ta-pledge-photo {
  width: 100%;
  flex: 1 1 0;
  min-height: 280px;
  border-radius: 14px;
  border: 2px solid var(--ta-border);
  object-fit: cover;
}

.theme-a .ta-inline-link {
  font-weight: 700;
  color: var(--ta-pine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Pledge story plaque: drop-cap lead, ~68-character measure, Project Canoe proceeds callout */
.theme-a .ta-story-plaque--pledge {
  justify-content: flex-start;
  gap: 18px;
}

.theme-a .ta-pledge-paras {
  gap: 16px;
  max-width: 34em;
}

.theme-a .ta-story-plaque--pledge .ta-pledge-paras p {
  line-height: 1.68;
}

/* Shared drop cap (Pledge story + Home overview): spans 2 lines and sits tight against the rest of the first word */
.theme-a .ta-drop-cap::first-letter {
  float: left;
  font-family: 'Chewy', var(--ta-font-head);
  font-size: 3.1em;
  line-height: 0.85;
  padding: 4px 2px 0 0;
  color: var(--ta-pine);
}

.theme-a .ta-pledge-callout {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 34em;
  margin-top: auto;
  padding: 14px 18px;
  border-radius: 14px;
  border: 2.5px solid var(--ta-wood-border);
  box-shadow: 0 3px 0 var(--ta-wood-border);
  background: linear-gradient(180deg, #FFF6DA 0%, var(--ta-sun-soft) 100%);
}

.theme-a .ta-pledge-callout svg {
  width: 32px;
  height: 32px;
}

/* Spotlight letter badge + title row */
.theme-a .ta-az-browse-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-a .ta-az-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2.5px solid var(--ta-border);
  background: var(--ta-sun);
  font-family: var(--ta-font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--ta-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   HOME VIEW — Contact & Customer Support (restored v1 form, Home tab only)
   ========================================================================== */
.theme-a .ta-contact-section {
  padding-bottom: 44px;
}

.theme-a .ta-contact-card {
  border-radius: 24px;
  padding: 28px;
}

.theme-a .ta-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.theme-a .ta-contact-info,
.theme-a .ta-contact-form {
  background: var(--ta-parchment);
  border: 2.5px solid var(--ta-wood-border);
  border-radius: 18px;
  box-shadow: 0 4px 0 var(--ta-wood-border);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.theme-a .ta-contact-info {
  gap: 14px;
}

.theme-a .ta-contact-form {
  gap: 12px;
}

.theme-a .ta-support-facts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--ta-birch);
  border: 1.5px solid rgba(90, 57, 30, 0.28);
}

.theme-a .ta-support-fact {
  font-size: 14.5px;
  color: var(--ta-ink);
}

.theme-a .ta-contact-btn-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.theme-a .ta-form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.theme-a .ta-field-input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 2px solid var(--ta-border);
  background: var(--ta-birch);
  color: var(--ta-ink);
  font-size: 15px;
  outline: none;
}

.theme-a .ta-field-input::placeholder,
.theme-a .ta-field-textarea::placeholder {
  color: var(--ta-ink);
  opacity: 0.72;
}

.theme-a .ta-field-textarea {
  width: 100%;
  min-height: 76px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 2px solid var(--ta-border);
  background: var(--ta-birch);
  color: var(--ta-ink);
  font-size: 15px;
  resize: vertical;
  outline: none;
}

.theme-a .ta-field-input:focus,
.theme-a .ta-field-textarea:focus {
  border-color: var(--ta-pine);
  background: #FFFFFF;
}

.theme-a .ta-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.theme-a .ta-form-status {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ta-pine);
}

/* Contact honeypot: off-screen for people, still filled in by naive form bots */
.theme-a .ta-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Right-Hand Trailhead Cart Drawer (Rule 23, Rule 24)
   ========================================================================== */
.theme-a .ta-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(26, 43, 34, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease-out, visibility 0s linear 180ms;
}

.theme-a .ta-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 180ms ease-out, visibility 0s;
}

.theme-a .ta-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1600;
  width: 444px;
  max-width: 96vw;
  background: var(--ta-parchment);
  border-left: 3px solid var(--ta-border);
  box-shadow: -12px 0 32px rgba(26, 43, 34, 0.22);
  display: flex;
  flex-direction: column;
  transform: translateX(104%);
  visibility: hidden;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 200ms;
}

.theme-a .ta-cart-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.theme-a .ta-drawer-head {
  padding: 16px 20px;
  border-bottom: 2px solid rgba(28, 53, 38, 0.16);
  background: var(--ta-birch);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.theme-a .ta-drawer-title {
  font-family: var(--ta-font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--ta-ink);
  white-space: nowrap;
}

.theme-a .ta-drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 2px solid var(--ta-border);
  background: var(--ta-parchment);
  color: var(--ta-ink);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-a .ta-drawer-ship {
  padding: 12px 20px;
  border-bottom: 1.5px dashed rgba(28, 53, 38, 0.2);
  background: var(--ta-parchment);
}

.theme-a .ta-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.theme-a .ta-cart-empty {
  margin: auto 0;
  padding: 24px 16px;
  border-radius: 16px;
  border: 2px dashed rgba(28, 53, 38, 0.28);
  background: var(--ta-birch);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.theme-a .ta-cart-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 14px;
  border: 2px solid var(--ta-border);
  background: var(--ta-birch);
}

.theme-a .ta-cart-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  border: 1.5px solid var(--ta-border);
  background: var(--ta-parchment);
  object-fit: contain;
  padding: 4px;
}

.theme-a .ta-cart-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.theme-a .ta-cart-name {
  font-family: var(--ta-font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--ta-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-a .ta-cart-sub {
  font-size: 14px;
  color: var(--ta-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-a .ta-cart-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.theme-a .ta-cart-stepper {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.theme-a .ta-cart-step-btn,
.theme-a .ta-cart-remove {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1.5px solid var(--ta-border);
  background: var(--ta-parchment);
  color: var(--ta-ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.theme-a .ta-cart-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.theme-a .ta-cart-remove svg {
  width: 10px;
  height: 10px;
}

.theme-a .ta-cart-qty {
  min-width: 20px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ta-ink);
}

.theme-a .ta-drawer-foot {
  padding: 16px 20px 20px;
  border-top: 2px solid rgba(28, 53, 38, 0.16);
  background: var(--ta-birch);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.theme-a .ta-drawer-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--ta-font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--ta-ink);
}

/* After the base total row so Shipping stays at body size and weight */
.theme-a .ta-drawer-total-row--minor {
  font-size: 15px;
  font-weight: 400;
}

.theme-a .ta-drawer-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Checkout cancelled page: the drawer's rows and totals at full width */
.theme-a .ta-cancel-cart,
.theme-a .ta-cancel-list,
.theme-a .ta-cancel-totals {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.theme-a .ta-cancel-cart {
  gap: 18px;
}

.theme-a .ta-cart-item--full {
  grid-template-columns: 56px minmax(0, 1fr) 112px auto 88px 24px;
  gap: 18px;
}

/* Page rows wrap long names and patch notes instead of cutting them off */
.theme-a .ta-cart-item--full .ta-cart-name,
.theme-a .ta-cart-item--full .ta-cart-sub {
  white-space: normal;
}

.theme-a .ta-cart-unit,
.theme-a .ta-cart-line {
  font-size: 15px;
  color: var(--ta-ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.theme-a .ta-cart-line {
  text-align: right;
}

.theme-a .ta-cancel-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
  align-items: start;
}

.theme-a .ta-cancel-empty {
  align-items: center;
}

.theme-a .ta-cancel-totals .ta-status-actions > * {
  flex: 1;
}

@media (max-width: 820px) {
  .theme-a .ta-cancel-foot {
    grid-template-columns: minmax(0, 1fr);
  }
  .theme-a .ta-cart-item--full {
    grid-template-columns: 56px minmax(0, 1fr) auto auto;
    grid-template-areas:
      "thumb meta meta remove"
      "unit unit stepper line";
    column-gap: 12px;
    row-gap: 10px;
  }
  .theme-a .ta-cart-item--full .ta-cart-thumb { grid-area: thumb; }
  .theme-a .ta-cart-item--full .ta-cart-meta { grid-area: meta; }
  .theme-a .ta-cart-item--full .ta-cart-unit { grid-area: unit; }
  .theme-a .ta-cart-item--full .ta-cart-stepper { grid-area: stepper; }
  .theme-a .ta-cart-item--full .ta-cart-line { grid-area: line; }
  .theme-a .ta-cart-item--full .ta-cart-remove { grid-area: remove; justify-self: end; }
}

/* ==========================================================================
   Responsive Breakpoints & Reduced Motion
   ========================================================================== */
/* Navbar: tabs stay centred and the region switch stays put when the U.S. view hides the cart */
@media (min-width: 821px) {
  .theme-a .ta-navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .theme-a .ta-brand-link {
    justify-self: start;
  }
  .theme-a .ta-nav-right {
    justify-self: end;
  }
  .theme-a[data-region="us"] .ta-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* U.S. colouring sidebar has 1 Amazon button instead of 4, so the pencils list stretches to the canvas card's height */
@media (min-width: 1181px) {
  .theme-a[data-region="us"] .ta-colour-sidebar > div:first-child {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .theme-a[data-region="us"] .ta-crayons-grid {
    flex: 1;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: minmax(38px, 1fr);
    gap: 6px;
  }
  .theme-a[data-region="us"] .ta-crayon-btn {
    height: auto;
  }
}

@media (max-width: 1180px) {
  .theme-a .ta-top-intro-grid,
  .theme-a .ta-peek-grid,
  .theme-a .ta-pledge-top,
  .theme-a .ta-builder-grid,
  .theme-a .ta-colour-grid,
  .theme-a .ta-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .theme-a .ta-pledge-photo-card {
    min-width: 0;
  }
  .theme-a .ta-photo-toggle {
    flex: none;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .theme-a .ta-pledge-photo {
    flex: none;
    height: 320px;
    min-height: 0;
  }
  .theme-a .ta-locator-shell {
    grid-template-columns: 1fr;
    height: auto;
  }
  .theme-a .ta-map-wrap {
    height: 360px;
  }
  .theme-a .ta-locator-sidebar {
    height: 410px;
  }
  .theme-a .ta-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .theme-a .ta-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .theme-a .ta-navbar {
    flex-wrap: wrap;
    justify-content: center;
  }
  .theme-a .ta-pennant-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 12px;
    white-space: normal;
    text-align: center;
  }
  .theme-a .ta-pennant-text {
    font-size: 14px;
    white-space: normal;
  }
  .theme-a h1.ta-sec-title,
  .theme-a h2.ta-sec-title,
  .theme-a .ta-plaque-title {
    font-size: clamp(17.5px, 4.7vw, 24px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .theme-a .ta-sec-bar {
    flex-wrap: wrap;
  }
  .theme-a .ta-spread-tabs {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .theme-a .ta-container {
    padding: 0 16px;
  }
  .theme-a .ta-sec-bar {
    padding-inline: 18px;
  }
  .theme-a .ta-bounce-stage {
    height: auto;
    gap: 12px;
    padding: 14px 12px;
  }
  .theme-a .ta-bounce-host {
    height: 212px;
    margin-top: 0;
  }
  .theme-a .rb-bounce-card {
    top: 6px;
    width: 136px;
    padding: 6px;
  }
  .theme-a .rb-bounce-img-wrap {
    height: 150px;
  }
  .theme-a .ta-trail-sign-face {
    flex-wrap: wrap;
    align-content: center;
    row-gap: 2px;
    height: auto;
    min-height: 52px;
    padding-block: 8px;
  }
  .theme-a .ta-trail-sign-value {
    flex-basis: 100%;
    white-space: normal;
  }
  .theme-a .ta-sidebar-chips {
    flex-wrap: wrap;
  }
  .theme-a .ta-colour-sidebar {
    padding: 16px;
  }
  .theme-a .ta-colour-promo-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .theme-a .ta-colour-cover-thumb {
    width: 64px;
    height: 64px;
  }
  .theme-a .ta-story-plaque {
    padding: 18px 18px;
  }
  .theme-a .ta-photo-toggle {
    aspect-ratio: 4 / 5;
  }
  .theme-a .ta-pledge-photo {
    height: 240px;
  }
  .theme-a .ta-rot-line {
    flex-wrap: wrap;
    white-space: normal;
  }
  .theme-a .ta-plank-cta {
    width: 100%;
    justify-content: center;
  }
  .theme-a .ta-base-grid,
  .theme-a .ta-catalog-grid,
  .theme-a .ta-reviews-grid,
  .theme-a .ta-crayons-grid,
  .theme-a .ta-pack-cta-row,
  .theme-a .ta-form-row-2 {
    grid-template-columns: 1fr;
  }
  .theme-a .ta-patches-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* Compact 2-row sticky header: brand + region + cart, then tabs + social icons */
  .theme-a .ta-header-wrap {
    padding: 6px 0;
  }
  .theme-a .ta-navbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto 44px 44px;
    grid-template-areas:
      "brand . region cart cart"
      "tabs tabs tabs ig x";
    align-items: center;
    column-gap: 6px;
    row-gap: 6px;
    padding: 6px;
    border-radius: 14px;
    box-shadow: 0 3px 0 var(--ta-border);
  }
  .theme-a .ta-nav-right {
    display: contents;
  }
  .theme-a .ta-brand-link {
    grid-area: brand;
    padding: 5px 9px 6px;
  }
  .theme-a .ta-brand-logo {
    height: 19px;
  }
  .theme-a .ta-region-switch {
    grid-area: region;
    padding: 2px;
  }
  .theme-a .ta-region-btn {
    height: 28px;
    padding: 0 5px;
    gap: 4px;
  }
  .theme-a .ta-flag {
    width: 20px;
    height: 14px;
  }
  .theme-a .ta-region-long {
    display: none;
  }
  .theme-a .ta-region-short {
    display: inline;
  }
  .theme-a .ta-cart-trigger {
    grid-area: cart;
    height: 34px;
    padding: 0 9px;
    gap: 5px;
    font-size: 14px;
  }
  .theme-a .ta-nav-tabs {
    grid-area: tabs;
    min-width: 0;
    gap: 0;
    padding: 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .theme-a .ta-nav-tab {
    height: 30px;
    padding: 0 6px;
    font-size: 14px;
  }
  .theme-a .ta-nav-right > .ta-social-btn:nth-of-type(1) {
    grid-area: ig;
  }
  .theme-a .ta-nav-right > .ta-social-btn:nth-of-type(2) {
    grid-area: x;
  }
  .theme-a .ta-social-btn {
    width: 34px;
    height: 34px;
    justify-self: center;
  }
  .theme-a .ta-meter-top {
    flex-wrap: wrap;
    row-gap: 2px;
    white-space: normal;
  }
  .theme-a .ta-title-long {
    display: none;
  }
  .theme-a .ta-title-short {
    display: inline;
  }
  .theme-a .ta-filter-toolbar .ta-search-wrap,
  .theme-a .ta-filter-toolbar .ta-search-input {
    width: 100%;
  }
  .theme-a .ta-contact-card {
    padding: 8px;
  }
  .theme-a .ta-contact-info,
  .theme-a .ta-contact-form {
    padding: 16px 14px;
  }
  .theme-a .ta-contact-form .ta-subhead {
    font-size: 15.5px;
  }
  .theme-a .ta-builder-controls .ta-step-row {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .theme-a .ta-builder-controls .ta-subhead {
    min-width: 0;
    max-width: 100%;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 600px) {
  .theme-a[data-region="us"] .ta-region-switch {
    grid-column: 3 / 6;
    justify-self: end;
  }
}

/* Narrowest phones: region buttons keep the drawn flags (names stay in aria-label); all 4 tabs stay visible */
@media (max-width: 374px) {
  .theme-a .ta-region-short {
    display: none;
  }
  .theme-a .ta-nav-tabs {
    padding: 1px;
  }
  .theme-a .ta-nav-tab {
    padding: 0 4px;
    font-size: 13px;
  }
  .theme-a .ta-section,
  .theme-a #ta-author-intro {
    scroll-margin-top: 118px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-a .ta-pack-slot,
  .theme-a .ta-view-panel {
    animation: none !important;
  }
  .theme-a *,
  .theme-a *::before,
  .theme-a *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   ABOUT + PRIVACY (document plaques), HOME LEDE, REVIEWS & FEATURES, FOOTER
   ========================================================================== */
.theme-a .ta-plaque-title.ta-plaque-title--wrap {
  font-size: clamp(23px, 6vw, 28px);
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  text-wrap: balance;
}

.theme-a .ta-plaque-lede,
.theme-a .ta-story-plaque p.ta-plaque-lede {
  font-weight: 600;
}

.theme-a .ta-story-plaque--doc {
  gap: 14px;
}

.theme-a .ta-doc {
  gap: 12px;
}

.theme-a .ta-doc-h2 {
  font-family: var(--ta-font-head);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ta-pine);
  margin: 10px 0 0;
}

.theme-a .ta-doc-h2:first-child {
  margin-top: 0;
}

.theme-a .ta-doc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  max-width: 34em;
  font-size: 15.5px;
  line-height: 1.56;
  color: var(--ta-ink);
}

.theme-a .ta-about-card {
  align-self: start;
  position: sticky;
  top: 16px;
}

.theme-a .ta-about-photo {
  flex: none;
  min-height: 0;
  aspect-ratio: 3 / 4;
  height: auto;
  object-position: center 62%;
}

@media (max-width: 1180px) {
  .theme-a .ta-about-card {
    position: static;
  }
  .theme-a .ta-about-photo {
    aspect-ratio: 4 / 3;
    height: auto;
  }
}

.theme-a .ta-press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
}

.theme-a .ta-press-card {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.theme-a .ta-press-kind {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ta-pine);
}

.theme-a .ta-press-title {
  font-family: var(--ta-font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.theme-a .ta-press-outlet {
  font-size: 14px;
  color: var(--ta-ink);
}

.theme-a .ta-press-quote {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ta-ink);
  margin: 0;
}

/* Logo + quote card (a mention with `logo`): the outlet's logo links to the article; a white cartoon quote mark leads the quote */
.theme-a .ta-press-logo-link {
  display: flex;
  align-items: center;
  align-self: flex-start;
  height: 44px;
  max-width: 100%;
  margin-bottom: 4px;
  border-radius: 6px;
}

/* Same height for every outlet's logo, so the quote marks line up across the row */
.theme-a .ta-press-logo {
  display: block;
  width: auto;
  height: 36px;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply; /* logo files with a white background let the parchment card show through */
}

.theme-a .ta-press-blockquote {
  position: relative;
  margin: 0;
  padding: 50px 0 0;
}

.theme-a .ta-press-mark {
  position: absolute;
  top: -4px;
  left: -2px;
  font-family: 'Chewy', var(--ta-font-head);
  font-size: 100px;
  line-height: 1;
  color: #fff;
  -webkit-text-stroke: 3px var(--ta-ink);
  paint-order: stroke fill;
  text-shadow: 0 3px 0 var(--ta-wood-border);
  pointer-events: none;
}

.theme-a .ta-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.theme-a .ta-map-credit {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px 12px;
}

.theme-a .ta-map-credit-btn {
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--ta-ink);
  background: var(--ta-parchment);
  color: var(--ta-ink);
  font-family: var(--ta-font-head);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.theme-a .ta-map-credit-text {
  padding: 3px 8px;
  border-radius: 8px;
  background: var(--ta-parchment);
  color: var(--ta-ink);
  font-size: 12px;
  line-height: 1.4;
}

.theme-a .ta-map-credit-text[hidden] {
  display: none;
}

.theme-a .ta-footer {
  margin-top: 40px;
  padding: 22px 0 28px;
  border-top: 2.5px solid var(--ta-wood-border);
  background: var(--ta-sand);
}

.theme-a .ta-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}

.theme-a .ta-footer-line {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ta-ink);
  margin: 0;
}

.theme-a .ta-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.theme-a .ta-footer-nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--ta-pine);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 6px 0;
}
