/* tokens.css */
:root {
  --tp-navy-950: #06162c;
  --tp-navy-900: #08203d;
  --tp-navy-800: #0b2b52;
  --tp-blue-700: #155bd5;
  --tp-yellow-500: #ffc400;
  --tp-yellow-600: #e6a900;
  --tp-green-600: #17803a;
  --tp-red-600: #c0392b;
  --tp-text: #071426;
  --tp-muted: #607086;
  --tp-soft: #f5f7fb;
  --tp-soft-2: #eef3f9;
  --tp-card: #ffffff;
  --tp-border: #dce3ed;
  --tp-border-strong: #c8d2de;
  --tp-shadow: 0 16px 38px rgba(7, 20, 38, .08);
  --tp-shadow-soft: 0 8px 22px rgba(7, 20, 38, .06);
  --tp-radius-sm: 10px;
  --tp-radius-md: 16px;
  --tp-radius-lg: 22px;
  --tp-header-height: 88px;
  --tp-sidebar-width: 292px;
  --tp-offers-width: 500px;
  --tp-gap: 18px;
  --tp-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* base.css */
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--tp-soft); }
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--tp-font);
  color: var(--tp-text);
  background: linear-gradient(180deg, #ffffff 0, #f7f9fc 260px, #f4f7fb 100%);
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.panel-heading {
  padding: 22px 24px 14px;
  border-bottom: 1px solid var(--tp-border);
}
.panel-heading h2,
.tp-section-title,
.tp-panel-title {
  margin: 0;
  letter-spacing: -0.035em;
}
.tp-section-title { font-size: clamp(28px, 3vw, 42px); }
.tp-panel-title { font-size: 22px; }
.tp-subtitle {
  margin: 7px 0 0;
  color: var(--tp-muted);
  font-size: 17px;
  line-height: 1.45;
}
.tp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tp-muted);
  font-size: 14px;
  margin-bottom: 14px;
}
.tp-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--tp-border);
  border-radius: 999px;
  background: #fff;
  color: #213148;
  font-size: 14px;
  font-weight: 700;
}
.tp-pill.is-active {
  background: var(--tp-navy-950);
  color: #fff;
  border-color: var(--tp-navy-950);
}
.tp-footer {
  max-width: 1700px;
  margin: 0 auto;
  padding: 14px 22px 30px;
  color: var(--tp-muted);
  font-size: 13px;
}

/* header.css */
.tp-header {
  height: var(--tp-header-height);
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(320px, 1fr) minmax(160px, 230px);
  align-items: center;
  gap: 24px;
  padding: 0 28px;
  background: linear-gradient(135deg, var(--tp-navy-950), var(--tp-navy-900));
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 10px 26px rgba(6, 22, 44, .18);
}
.tp-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 900;
}
.tp-brand-mark {
  width: 52px;
  height: 52px;
  border: 4px solid var(--tp-yellow-500);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--tp-yellow-500);
  font-size: 29px;
  line-height: 1;
  font-weight: 950;
}
.tp-brand-text {
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.06em;
}
.tp-brand-text span { color: var(--tp-yellow-500); }
.tp-search {
  position: relative;
  width: min(920px, 100%);
  margin: 0 auto;
}
.tp-search input {
  width: 100%;
  height: 58px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: #fff;
  color: var(--tp-text);
  padding: 0 20px 0 58px;
  font-size: 18px;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(8,32,61,.08), 0 12px 28px rgba(0,0,0,.12);
}
.tp-search input:focus { box-shadow: 0 0 0 3px rgba(255,196,0,.28), 0 12px 28px rgba(0,0,0,.12); }
.tp-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #12233b;
  font-size: 30px;
  font-weight: 700;
}
.tp-compare {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}
.tp-compare strong {
  display: grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  border-radius: 999px;
  background: var(--tp-yellow-500);
  color: var(--tp-navy-950);
  font-size: 14px;
}

/* layout.css */
.tp-shell {
  display: grid;
  grid-template-columns: var(--tp-sidebar-width) minmax(480px, 1fr) var(--tp-offers-width);
  gap: var(--tp-gap);
  max-width: 1780px;
  margin: 0 auto;
  padding: 28px 24px 16px;
  align-items: start;
}
.tp-sidebar,
.tp-main-panel,
.tp-offers-panel {
  background: var(--tp-card);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  box-shadow: var(--tp-shadow-soft);
  overflow: hidden;
}
.tp-sidebar,
.tp-offers-panel {
  position: sticky;
  top: calc(var(--tp-header-height) + 20px);
  max-height: calc(100vh - var(--tp-header-height) - 44px);
}
.tp-sidebar { overflow-y: auto; }
.tp-main-panel { min-height: calc(100vh - var(--tp-header-height) - 90px); }
#mainContent { padding: 28px 32px; }
#offersContent { padding: 24px; }
.tp-empty-state {
  min-height: 620px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 26px;
  color: var(--tp-muted);
}
.tp-empty-icon {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #eef5ff, #e7eef9);
  color: var(--tp-blue-700);
  font-size: 54px;
  margin-bottom: 22px;
}
.tp-empty-state h3 {
  color: var(--tp-text);
  font-size: 28px;
  letter-spacing: -0.035em;
  margin: 0 0 10px;
}
.tp-empty-state p {
  max-width: 360px;
  margin: 0;
  line-height: 1.55;
  font-size: 17px;
}
.tp-start-steps {
  display: grid;
  gap: 22px;
  margin-top: 34px;
  max-width: 760px;
}
.tp-step-card {
  display: grid;
  grid-template-columns: 64px 84px 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  padding: 22px;
  background: #fff;
}
.tp-step-number {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf4ff;
  color: var(--tp-navy-950);
  font-weight: 900;
  font-size: 22px;
}
.tp-step-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tp-soft-2);
  font-size: 34px;
}
.tp-step-card h3 { margin: 0 0 4px; font-size: 21px; }
.tp-step-card p { margin: 0; color: var(--tp-muted); line-height: 1.45; }

/* v0.2.2 — Offers Bottom Spacing Fix
   Keeps the sticky offers panel usable when multiple dealer cards are shown.
   The panel may scroll internally instead of clipping the last card. */
.tp-offers-panel {
  overflow-y: auto;
  overscroll-behavior: contain;
}

#offersContent {
  padding-bottom: 36px;
}

/* sidebar.css */
.category-list { padding: 0 0 12px; }
.category-button {
  width: 100%;
  display: grid;
  grid-template-columns: 38px 1fr 22px;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 16px 0 18px;
  border: 0;
  border-bottom: 1px solid var(--tp-border);
  background: #fff;
  color: var(--tp-text);
  text-align: left;
  font-weight: 850;
  font-size: 15px;
  position: relative;
}
.category-button:hover { background: #fafcff; }
.category-button.is-active {
  background: linear-gradient(90deg, rgba(255,196,0,.24), rgba(255,196,0,.055));
}
.category-button.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--tp-yellow-500);
}
.category-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--tp-navy-950);
  font-size: 20px;
}
.category-arrow { justify-self: end; color: var(--tp-muted); font-size: 21px; }
.category-button[disabled] { opacity: .5; cursor: not-allowed; }
.tp-sidebar::-webkit-scrollbar { width: 8px; }
.tp-sidebar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }

/* v0.2.5 — Mobile Category Menu trigger. Hidden on desktop. */
.mobile-category-toggle {
  display: none;
}

/* brand-filter.css */
.brand-filter-wrap {
  position: relative;
  margin: 20px -2px 22px;
}
.brand-filter-label {
  display: block;
  margin: 0 0 9px 2px;
  color: var(--tp-muted);
  font-size: 13px;
  font-weight: 850;
}
.brand-filter {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding: 2px 2px 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.brand-filter::-webkit-scrollbar { height: 6px; }
.brand-filter::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }
.brand-filter button {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border: 1px solid var(--tp-border);
  background: #fff;
  color: var(--tp-text);
  min-height: 42px;
  border-radius: 999px;
  padding: 0 17px;
  font-weight: 850;
  box-shadow: 0 4px 12px rgba(7, 20, 38, .035);
}
.brand-filter button:hover,
.brand-filter button:focus-visible {
  border-color: var(--tp-yellow-500);
  outline: none;
}
.brand-filter button.is-active {
  background: var(--tp-navy-950);
  color: #fff;
  border-color: var(--tp-navy-950);
  box-shadow: 0 8px 18px rgba(6,22,44,.14);
}

/* model-cards.css */
.model-list { display: grid; gap: 12px; }
.model-card {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr) 132px 26px;
  gap: 18px;
  align-items: center;
  padding: 17px 18px;
  background: #fff;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.model-card:hover,
.model-card:focus-visible {
  transform: translateY(-1px);
  border-color: var(--tp-yellow-500);
  box-shadow: var(--tp-shadow-soft);
  outline: none;
  background: #fffef7;
}

.model-body { min-width: 0; padding-right: 100px; }
.model-title { display:block; font-size: 23px; font-weight: 950; letter-spacing: -.035em; margin: 0 0 5px; }
.model-copy { display:block; color: #33435a; margin: 0 0 11px; font-size: 15px; line-height: 1.35; }
.model-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 9px; }
.model-meta { color: var(--tp-muted); font-size: 14px; }
.model-price { text-align: left; }
.model-price span { display: block; color: var(--tp-muted); font-size: 13px; margin-bottom: 4px; }
.model-price strong { font-size: 25px; letter-spacing: -.045em; }
.model-arrow { color: var(--tp-text); font-size: 31px; line-height: 1; }
.no-results {
  padding: 34px;
  border: 1px dashed var(--tp-border-strong);
  border-radius: var(--tp-radius-md);
  color: var(--tp-muted);
  background: #fff;
}

/* compare-actions.css */
/* v0.4.2 — Compare CTA is always visible and occupies one fixed position
   on every model and execution card. Component-specific spacing lives
   in the respective card modules. */
.compare-card-action {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--tp-border-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--tp-blue-900);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(6, 22, 44, .08);
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.compare-card-action:hover,
.compare-card-action:focus-visible {
  border-color: var(--tp-yellow-500);
  background: #fff8d8;
  outline: none;
  transform: translateY(-1px);
}

.compare-card-action[aria-pressed="true"] {
  border-color: var(--tp-yellow-500);
  background: var(--tp-yellow-500);
  color: #06162c;
}

.model-card.is-compared,
.variant-card.is-compared {
  border-color: rgba(255, 196, 0, .9);
}

@media (max-width: 760px) {
  .compare-card-action {
    top: 10px;
    right: 10px;
    min-height: 31px;
    padding: 7px 10px;
    font-size: 12px;
  }
}


/* v0.4.3 — permanent, card-anchored compare CTA.
   Explicit visibility guards prevent stale hover-era CSS from hiding the action. */
.model-card .compare-card-action,
.variant-card .compare-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.model-card,
.variant-card {
  position: relative;
}

/* v0.4.10 — Calm compare CTA states.
   The action stays visible but does not turn the entire card into a highlighted selection. */
.compare-card-action[aria-pressed="true"] {
  border-color: #b9c9df;
  background: #eef4fb;
  color: var(--tp-blue-900);
  box-shadow: none;
}
.model-card.is-compared,
.variant-card.is-compared {
  border-color: var(--tp-border);
}

@media (max-width: 760px) {
  /* Keep the title and description completely free. The same compact CTA
     sits at the bottom-right on every mobile card, next to the price zone. */
  .model-card .compare-card-action,
  .variant-card .compare-card-action {
    top: auto;
    bottom: 12px;
    right: 12px;
    min-height: 30px;
    padding: 6px 10px;
    font-size: 12px;
    box-shadow: none;
  }

  .model-body,
  .variant-body {
    padding-right: 0;
  }

  .model-price {
    padding-right: 122px;
  }

  .variant-price {
    min-height: 32px;
    padding-right: 122px;
    align-self: end;
  }
}

/* compare-workspace.css */
/* Full compare workspace — a real application state, never a floating modal. */
.tp-compare-screen[hidden] { display: none; }
.tp-compare-screen {
  position: fixed;
  inset: 0;
  z-index: 45;
  overflow-y: auto;
  background: #f4f7fb;
  padding: calc(var(--tp-header-height) + 42px) clamp(22px, 4vw, 72px) 52px;
}
body.tp-compare-open { overflow: hidden; }

.tp-compare-workspace {
  width: min(1480px, 100%);
  margin: 0 auto;
}
.tp-compare-workspace__bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--tp-border);
}
.tp-compare-workspace__back,
.tp-compare-workspace__clear,
.tp-compare-card__remove {
  border: 1px solid var(--tp-border);
  background: #fff;
  color: var(--tp-navy-950);
  font: inherit;
  font-weight: 800;
}
.tp-compare-workspace__back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border-radius: 12px;
}
.tp-compare-workspace__back:hover,
.tp-compare-workspace__back:focus-visible,
.tp-compare-workspace__clear:hover,
.tp-compare-workspace__clear:focus-visible,
.tp-compare-card__remove:hover,
.tp-compare-card__remove:focus-visible {
  border-color: var(--tp-yellow-500);
  background: #fff9df;
  outline: none;
}
.tp-compare-workspace__eyebrow {
  margin: 18px 0 7px;
  color: #4163a0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .065em;
  text-transform: uppercase;
}
.tp-compare-workspace h1 {
  margin: 0;
  color: var(--tp-navy-950);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -.055em;
}
.tp-compare-workspace__intro {
  max-width: 680px;
  margin: 13px 0 0;
  color: var(--tp-muted);
  line-height: 1.55;
}
.tp-compare-workspace__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
}
.tp-compare-workspace__count {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--tp-border);
  border-radius: 999px;
  background: #fff;
  color: var(--tp-navy-950);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.tp-compare-workspace__clear {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 10px;
}
.tp-compare-grid {
  display: grid;
  grid-template-columns: repeat(var(--tp-compare-columns, 2), minmax(0, 1fr));
  align-items: start;
  gap: 20px;
  padding-top: 26px;
}
.tp-compare-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--tp-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(5, 18, 35, .06);
}
.tp-compare-card__head {
  position: relative;
  padding: 22px 22px 18px;
  border-bottom: 1px solid var(--tp-border);
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.tp-compare-card__type {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: #243f69;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tp-compare-card__remove {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--tp-muted);
  font-size: 21px;
  line-height: 1;
}
.tp-compare-card__head img {
  display: block;
  width: 100%;
  height: 210px;
  margin: 0 0 14px;
  object-fit: contain;
}
.tp-compare-card__head h2 {
  margin: 0;
  padding-right: 38px;
  color: var(--tp-navy-950);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.tp-compare-card__head p { margin: 8px 0 0; color: var(--tp-muted); line-height: 1.45; }
.tp-compare-card__details { display: grid; }
.tp-compare-card__details section { padding: 15px 22px; border-bottom: 1px solid var(--tp-border); }
.tp-compare-card__details section:last-child { border-bottom: 0; }
.tp-compare-card__details h3 { margin: 0 0 6px; color: var(--tp-muted); font-size: 11px; letter-spacing: .055em; text-transform: uppercase; }
.tp-compare-card__details p { margin: 0; color: var(--tp-text); line-height: 1.5; }
.tp-compare-card__details ul { margin: 0; padding-left: 19px; color: var(--tp-text); line-height: 1.52; }
.tp-compare-card__details li + li { margin-top: 4px; }
.tp-compare-card__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tp-compare-card__tags span { display: inline-flex; padding: 5px 8px; border: 1px solid var(--tp-border); border-radius: 999px; color: #31425c; font-size: 12px; font-weight: 750; }
.tp-compare-card__price { background: #fff9df; }
.tp-compare-card__price strong { color: var(--tp-navy-950); font-size: 26px; letter-spacing: -.025em; }
.tp-compare-empty { min-height: 350px; display: grid; place-content: center; justify-items: center; text-align: center; color: var(--tp-muted); }
.tp-compare-empty strong { color: var(--tp-navy-950); font-size: 23px; }
.tp-compare-empty p { max-width: 430px; margin: 10px 0 0; line-height: 1.55; }

@media (max-width: 980px) {
  .tp-compare-screen { padding-left: 22px; padding-right: 22px; }
  .tp-compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .tp-compare-screen { padding: 116px 16px 28px; }
  .tp-compare-workspace__bar { display: block; padding-bottom: 20px; }
  .tp-compare-workspace__actions { width: 100%; justify-content: space-between; margin-top: 18px; }
  .tp-compare-workspace__clear { margin-left: auto; }
  .tp-compare-workspace h1 { font-size: 34px; }
  .tp-compare-grid { display: flex; gap: 14px; overflow-x: auto; margin: 0 -16px; padding: 22px 16px 12px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
  .tp-compare-card { flex: 0 0 calc(100vw - 48px); scroll-snap-align: start; }
  .tp-compare-card__head img { height: 180px; }
}

/* v0.4.7 — Keep comparison columns equal in both width and height. */
.tp-compare-grid {
  align-items: stretch;
}

.tp-compare-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.tp-compare-card__details {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.tp-compare-card__price {
  margin-top: auto;
}

@media (min-width: 761px) {
  .tp-compare-grid {
    grid-auto-rows: 1fr;
  }
}

@media (max-width: 760px) {
  .tp-compare-grid {
    align-items: stretch;
  }

  .tp-compare-card {
    width: auto;
    min-height: 100%;
  }
}


/* v0.4.8 — Professional column alignment.
   Every compare card receives the same semantic row structure.
   Fixed row tracks keep dividers and price surfaces aligned across columns. */
@media (min-width: 761px) {
  .tp-compare-card__head {
    min-height: 390px;
    display: flex;
    flex-direction: column;
  }

  .tp-compare-card__head img {
    flex: 0 0 auto;
  }

  .tp-compare-card__head h2 {
    min-height: 66px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .tp-compare-card__head p {
    min-height: 52px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .tp-compare-card__details {
    display: grid;
    grid-template-rows: 76px 76px 76px 170px 124px 84px 92px;
    flex: 0 0 auto;
  }

  .tp-compare-card__details section {
    min-height: 0;
    overflow: hidden;
  }

  .tp-compare-card__details section:nth-child(4) ul,
  .tp-compare-card__details section:nth-child(5) ul {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .tp-compare-card__details section:nth-child(4) ul {
    -webkit-line-clamp: 3;
  }

  .tp-compare-card__details section:nth-child(5) ul {
    -webkit-line-clamp: 2;
  }

  .tp-compare-card__price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  /* Keep mobile cards natural-height and swipeable; fixed desktop row contracts would hurt readability. */
  .tp-compare-card__details {
    display: grid;
  }
}


/* v0.4.11 — Mobile comparison is difference-first instead of tall swipable columns. */
.tp-compare-mobile-view { display: none; }
@media (max-width: 760px) {
  .tp-compare-desktop-view { display: none; }
  .tp-compare-mobile-view { display: block; }
  .tp-mobile-compare { padding: 20px 0 6px; }
  .tp-mobile-compare__intro { display: grid; gap: 5px; padding: 0 2px 14px; color: var(--tp-muted); font-size: 14px; line-height: 1.45; }
  .tp-mobile-compare__intro strong { color: var(--tp-navy-950); font-size: 18px; }
  .tp-mobile-compare__products,
  .tp-mobile-compare__values { display: flex; gap: 10px; overflow-x: auto; padding: 0 1px 4px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
  .tp-mobile-compare__products::-webkit-scrollbar,
  .tp-mobile-compare__values::-webkit-scrollbar { height: 0; }
  .tp-mobile-compare__product { flex: 0 0 calc(50% - 5px); min-width: 176px; display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; padding: 11px; border: 1px solid var(--tp-border); border-radius: 14px; background: #fff; scroll-snap-align: start; }
  .tp-mobile-compare__product img { width: 56px; height: 56px; object-fit: contain; }
  .tp-mobile-compare__product strong { display: block; color: var(--tp-navy-950); font-size: 14px; line-height: 1.2; }
  .tp-mobile-compare__product span { display: block; margin-top: 4px; color: var(--tp-muted); font-size: 12px; line-height: 1.35; }
  .tp-mobile-compare__row { margin-top: 14px; padding: 14px; border: 1px solid var(--tp-border); border-radius: 16px; background: #fff; }
  .tp-mobile-compare__row h2 { margin: 0 0 10px; color: var(--tp-navy-950); font-size: 16px; letter-spacing: -.015em; }
  .tp-mobile-compare__values article { flex: 0 0 calc(50% - 5px); min-width: 176px; padding: 12px; border: 1px solid #e8edf4; border-radius: 12px; background: #f8fbff; scroll-snap-align: start; }
  .tp-mobile-compare__values span { display: block; color: var(--tp-muted); font-size: 11px; font-weight: 800; line-height: 1.25; }
  .tp-mobile-compare__values strong { display: block; margin-top: 6px; color: var(--tp-navy-950); font-size: 14px; line-height: 1.35; }
  .tp-mobile-compare__row--price { border-color: #f1d25e; background: #fffdf4; }
  .tp-mobile-compare__row--price .tp-mobile-compare__values article { background: #fff; }
  .tp-mobile-compare__row--price .tp-mobile-compare__values strong { font-size: 20px; }
}
@media (min-width: 761px) {
  .tp-compare-desktop-view { display: block; }
}


/* v0.4.13 — One mobile comparison canvas for every selected item.
   Never switch to a single active item: 1–4 columns remain side-by-side in the same rails. */
@media (max-width: 760px) {
  .tp-mobile-compare--canvas .tp-mobile-compare__canvas {
    display: grid;
    gap: 14px;
  }

  .tp-mobile-compare--canvas .tp-mobile-compare__products,
  .tp-mobile-compare--canvas .tp-mobile-compare__values {
    padding-right: 12px;
    scroll-padding-inline: 1px;
  }

  .tp-mobile-compare--canvas .tp-mobile-compare__product,
  .tp-mobile-compare--canvas .tp-mobile-compare__values article {
    flex: 0 0 min(190px, 56vw);
    min-width: min(190px, 56vw);
  }

  .tp-mobile-compare--canvas .tp-mobile-compare__product {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .tp-mobile-compare--canvas .tp-mobile-compare__values article {
    min-height: 86px;
  }

  .tp-mobile-compare--canvas .tp-mobile-compare__row h2 {
    position: sticky;
    left: 0;
  }
}


/* v0.4.14 — One continuous mobile comparison container.
   No loose cards and no independent horizontal rails: the whole table swipes together. */
@media (max-width: 760px) {
  .tp-mobile-compare { padding: 20px 0 6px; }
  .tp-mobile-compare__intro { display: grid; gap: 5px; padding: 0 2px 14px; color: var(--tp-muted); font-size: 14px; line-height: 1.45; }
  .tp-mobile-compare__intro strong { color: var(--tp-navy-950); font-size: 18px; }
  .tp-mobile-compare__scroll {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    border: 1px solid var(--tp-border);
    border-radius: 18px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    scroll-snap-type: x proximity;
  }
  .tp-mobile-compare-table {
    display: grid;
    grid-template-columns: repeat(var(--tp-mobile-columns), minmax(190px, 1fr));
    grid-template-rows: auto repeat(7, minmax(86px, auto));
    min-width: calc(var(--tp-mobile-columns) * 190px);
  }
  .tp-mobile-compare-table__head,
  .tp-mobile-compare-table__cell {
    min-width: 0;
    padding: 14px;
    border-right: 1px solid var(--tp-border);
    border-bottom: 1px solid var(--tp-border);
    scroll-snap-align: start;
  }
  .tp-mobile-compare-table__head:nth-child(${''}n) { }
  .tp-mobile-compare-table__head {
    display: grid;
    align-content: start;
    gap: 7px;
    min-height: 220px;
    background: linear-gradient(180deg, #fff, #f8fbff);
  }
  .tp-mobile-compare-table__head img { width: 100%; height: 112px; object-fit: contain; }
  .tp-mobile-compare-table__head strong { color: var(--tp-navy-950); font-size: 17px; line-height: 1.18; }
  .tp-mobile-compare-table__head span { color: var(--tp-muted); font-size: 13px; line-height: 1.35; }
  .tp-mobile-compare-table__cell { display: grid; align-content: start; gap: 7px; background: #fff; }
  .tp-mobile-compare-table__cell > span { color: var(--tp-muted); font-size: 10px; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; }
  .tp-mobile-compare-table__cell > strong { color: var(--tp-navy-950); font-size: 14px; line-height: 1.45; font-weight: 750; }
  .tp-mobile-compare-table__cell--price { align-content: center; background: #fff9df; border-bottom: 0; }
  .tp-mobile-compare-table__cell--price > strong { font-size: 22px; letter-spacing: -.02em; }
  .tp-mobile-compare-table > :nth-child(${''}n) { }
}


/* v0.4.15 — Remove items directly from each mobile comparison column.
   Each selected tool gets a small, consistent × action in its header. */
@media (max-width: 760px) {
  .tp-mobile-compare-table__head {
    position: relative;
    padding-right: 48px;
  }

  .tp-mobile-compare-table__remove {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid var(--tp-border);
    border-radius: 50%;
    background: #fff;
    color: var(--tp-muted);
    font: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
  }

  .tp-mobile-compare-table__remove:hover,
  .tp-mobile-compare-table__remove:focus-visible {
    border-color: var(--tp-yellow-500);
    background: #fff9df;
    color: var(--tp-navy-950);
    outline: none;
  }
}


/* v0.4.18 — Only differences toggle. All comparison columns receive the same filtered rows. */
.tp-compare-workspace__differences {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--tp-border);
  border-radius: 10px;
  background: #fff;
  color: var(--tp-navy-950);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}
.tp-compare-workspace__differences[aria-pressed="true"] {
  border-color: #e8c74d;
  background: #fff9df;
}
.tp-compare-workspace__differences:hover,
.tp-compare-workspace__differences:focus-visible {
  border-color: var(--tp-yellow-500);
  background: #fff9df;
  outline: none;
}
@media (min-width: 761px) {
  .tp-compare-card__details {
    grid-template-rows: var(--tp-compare-detail-template) !important;
  }
  .tp-compare-field--difference ul {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3;
  }
  /* Set-inhoud is purchase-critical: never cut off accu, lader or koffer text. */
  .tp-compare-field--set ul {
    display: block;
    overflow: visible;
  }
}
@media (max-width: 760px) {
  .tp-compare-workspace__differences {
    flex: 1 1 auto;
    min-width: 0;
    padding-inline: 10px;
    font-size: 12px;
  }
  .tp-mobile-compare-table {
    grid-template-rows: auto repeat(var(--tp-mobile-field-count, 7), minmax(86px, auto));
  }
}

/* v0.5.5 — Difference mode must remain useful with 2, 3 and 4 compared items.
   Equal rows are still removed. When every row differs, the remaining cells visibly
   communicate the mode instead of looking unchanged. */
.tp-compare-workspace__difference-summary {
  margin: 16px 0 -4px;
  padding: 10px 13px;
  border: 1px solid #ead67b;
  border-radius: 12px;
  background: #fff9df;
  color: #62520c;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}

.tp-compare-card__details--only-differences .tp-compare-field--difference-visible {
  background: linear-gradient(90deg, #fffdf4 0%, #ffffff 78%);
  box-shadow: inset 3px 0 0 #e7c849;
}

.tp-compare-card__details--only-differences .tp-compare-field--outlier {
  background: linear-gradient(90deg, #fff4cd 0%, #ffffff 82%);
  box-shadow: inset 4px 0 0 #d7a800;
}

.tp-compare-card__details--only-differences .tp-compare-field--shared p,
.tp-compare-card__details--only-differences .tp-compare-field--shared li,
.tp-compare-card__details--only-differences .tp-compare-field--shared .tp-compare-card__tags {
  opacity: .78;
}

.tp-compare-card__details--only-differences .tp-compare-field--outlier h3::after {
  content: ' Afwijkend';
  margin-left: 5px;
  color: #9b7200;
  font-size: 9px;
  letter-spacing: .04em;
}

@media (max-width: 760px) {
  .tp-compare-workspace__difference-summary {
    margin: 14px 0 -2px;
    font-size: 12px;
  }

  .tp-mobile-compare-table__cell--difference-visible {
    background: linear-gradient(90deg, #fffdf4 0%, #ffffff 78%);
    box-shadow: inset 3px 0 0 #e7c849;
  }

  .tp-mobile-compare-table__cell--outlier {
    background: linear-gradient(90deg, #fff4cd 0%, #ffffff 82%);
    box-shadow: inset 4px 0 0 #d7a800;
  }

  .tp-mobile-compare-table__cell--shared > strong {
    opacity: .78;
  }
}


/* v0.5.8.3 — Full-content comparison contract.
   The comparison view is an explanation tool: no title, subtitle, bullet, set item,
   tag or price may be clipped. JS supplies one shared row template per selection so
   every column stays aligned even when one execution contains more package contents. */
@media (min-width: 761px) {
  .tp-compare-card__head {
    min-height: var(--tp-compare-head-height, 390px);
    height: var(--tp-compare-head-height, auto);
  }

  .tp-compare-card__head h2,
  .tp-compare-card__head p {
    display: block;
    min-height: 0;
    overflow: visible;
    -webkit-line-clamp: unset;
    overflow-wrap: anywhere;
  }

  .tp-compare-card__details section {
    overflow: visible;
  }

  .tp-compare-field--difference ul,
  .tp-compare-field--set ul {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  .tp-compare-card__details li,
  .tp-compare-card__details p,
  .tp-compare-card__tags span {
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

@media (max-width: 760px) {
  .tp-mobile-compare-table__cell,
  .tp-mobile-compare-table__cell > strong,
  .tp-mobile-compare-table__head strong,
  .tp-mobile-compare-table__head span {
    overflow: visible;
    overflow-wrap: anywhere;
  }
}


/* v0.5.8.4 — Layout audit fix.
   Remove legacy fixed-track and clamp rules completely for desktop comparison cards.
   Alignment is measured from the actual rendered content by compare-drawer.js. */
@media (min-width: 761px) {
  .tp-compare-card__head {
    min-height: 0 !important;
    height: var(--tp-compare-head-height, auto) !important;
  }

  .tp-compare-card__head h2,
  .tp-compare-card__head p,
  .tp-compare-card__details section,
  .tp-compare-card__details section ul,
  .tp-compare-card__details section li,
  .tp-compare-card__details section p,
  .tp-compare-card__tags,
  .tp-compare-card__tags span {
    display: revert;
    min-height: 0;
    max-height: none;
    overflow: visible !important;
    text-overflow: clip;
    -webkit-line-clamp: unset !important;
    overflow-wrap: anywhere;
  }

  .tp-compare-card__tags { display: flex; }
  .tp-compare-card__tags span { display: inline-flex; }

  .tp-compare-card__details {
    grid-template-rows: var(--tp-compare-detail-template, none) !important;
  }

  .tp-compare-card__details section:nth-child(4) ul,
  .tp-compare-card__details section:nth-child(5) ul,
  .tp-compare-field--difference ul,
  .tp-compare-field--set ul {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
  }
}

/* back-actions.css */
/* v0.2.9 — simple professional back action */
.tp-backbar {
  margin: 0 0 14px;
}

.tp-back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #25344a;
  font-weight: 850;
  font-size: 14px;
  box-shadow: none;
  cursor: pointer;
  transition: color .18s ease, transform .18s ease;
}

.tp-back-button:hover,
.tp-back-button:focus-visible {
  color: var(--tp-navy-900);
  transform: translateX(-1px);
  outline: none;
  background: transparent;
}

.tp-back-button span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid rgba(203, 213, 225, .9);
  position: relative;
}

.tp-back-button span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-left: 2px solid var(--tp-navy-900);
  border-bottom: 2px solid var(--tp-navy-900);
  transform: rotate(45deg);
  margin-left: 3px;
}

.tp-offer-backbar {
  display: none;
  margin: 0 0 12px;
}

/* product-detail-head.css */
.product-detail-head {
  display: grid;
  grid-template-columns: minmax(170px, 250px) 1fr;
  gap: 28px;
  align-items: center;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--tp-border);
}

.product-detail-head h1,
.group-title h1 { margin: 0; font-size: clamp(32px, 3vw, 46px); letter-spacing: -.05em; }
.product-detail-head p,
.group-title p { margin: 8px 0 18px; color: #23344d; font-size: 18px; }
.product-detail-head ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: #213148;
  line-height: 1.45;
}
.info-strip {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 13px 15px;
  border-radius: 12px;
  background: #f0f6ff;
  color: #1d3458;
  margin: 20px 0 24px;
  font-weight: 760;
  line-height: 1.45;
}
.info-strip span:first-child { color: var(--tp-blue-700); font-size: 22px; }

/* product-images.css */
/* Product Image Foundation: consistent image frames for base machines and package variants.
   Current assets are internal SVG placeholders; approved feed/manufacturer images can replace them without changing layout. */
.product-image-frame {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff 0%, #f7f9fc 100%);
  border: 1px solid rgba(21, 42, 72, .07);
}
.product-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-image-frame--model {
  width: 116px;
  height: 92px;
  padding: 7px;
}
.product-image-frame--variant {
  width: 100%;
  height: 112px;
  padding: 8px;
}
.product-image-frame--detail {
  width: 100%;
  height: 205px;
  padding: 14px;
}
.product-image-frame--body-only::after,
.product-image-frame--body-only-case::after,
.product-image-frame--complete-set::after {
  align-self: end;
  justify-self: start;
  margin: 0 0 7px 7px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(7, 20, 38, .80);
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .02em;
}
.product-image-frame--body-only::after { content: 'ALLEEN MACHINE'; }
.product-image-frame--body-only-case::after { content: 'MET KOFFER'; }
.product-image-frame--complete-set::after { content: 'COMPLETE SET'; }
@media (max-width: 760px) {
  .product-image-frame--model { width: 74px; height: 58px; padding: 4px; border-radius: 10px; }
  .product-image-frame--variant { width: 86px; height: 66px; padding: 4px; border-radius: 10px; }
  .product-image-frame--detail { height: 150px; padding: 8px; }
  .product-image-frame--body-only::after,
  .product-image-frame--body-only-case::after,
  .product-image-frame--complete-set::after { display: none; }
}

/* variant-cards.css */
.variants-title { margin: 26px 0 14px; font-size: 24px; letter-spacing: -.035em; }
.variant-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.variant-card {
  position: relative;
  display: grid;
  grid-template-rows: 112px auto 1fr auto;
  min-height: 328px;
  gap: 11px;
  padding: 16px;
  border-radius: var(--tp-radius-md);
  border: 1px solid var(--tp-border);
  background: #fff;
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.variant-card:hover,
.variant-card:focus-visible {
  transform: translateY(-1px);
  border-color: var(--tp-yellow-500);
  box-shadow: var(--tp-shadow-soft);
  outline: none;
  background: #fffef7;
}
.variant-card.is-selected {
  border: 2px solid var(--tp-yellow-500);
  box-shadow: 0 0 0 4px rgba(255,196,0,.14);
}
.variant-selected-dot {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tp-yellow-500);
  display: grid;
  place-items: center;
  font-weight: 950;
}

.variant-body { min-width: 0; padding-right: 100px; }
.variant-card h3 { margin: 0; font-size: 21px; letter-spacing: -.025em; }
.variant-label { margin: 4px 0 0; color: var(--tp-blue-700); font-weight: 900; }
.variant-desc { margin: 0; color: #33435a; line-height: 1.42; }
.variant-price span { display: block; color: var(--tp-muted); font-size: 13px; margin-bottom: 3px; }
.variant-price strong { font-size: 24px; letter-spacing: -.04em; }

/* more-info.css */
.more-info {
  margin-top: 18px;
  border: 1px solid var(--tp-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.more-info summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 900;
  display: flex;
  justify-content: space-between;
}
.more-info summary::-webkit-details-marker { display: none; }
.more-info summary::after { content: "›"; font-size: 25px; transform: rotate(90deg); }
.more-info[open] summary::after { transform: rotate(-90deg); }
.more-info-body { padding: 0 18px 18px; color: #33435a; line-height: 1.55; }
.more-info-body ul { margin: 10px 0 0; padding-left: 20px; }

/* variant-flow.css */
/* v0.2.1 Variant flow correction: no model comparison inside an already selected model group */
.group-title--variant-only {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.variants-subtitle {
  margin: -0.35rem 0 1rem;
  color: var(--muted);
  max-width: 720px;
}

.product-kicker {
  margin: 0 0 0.35rem;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

/* offer-empty.css */
.offer-empty-small {
  min-height: 300px;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  background: linear-gradient(180deg, #f8fbff, #fff);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 26px;
  color: var(--tp-muted);
}
.offer-empty-small .tp-empty-icon { width: 96px; height: 96px; font-size: 42px; }
.offer-empty-small h3 { margin: 0 0 9px; color: var(--tp-text); font-size: 24px; letter-spacing: -.03em; }
.offer-empty-small p { margin: 0; line-height: 1.55; }

/* dealer-list.css */
.dealer-list { margin-top: 24px; }
.dealer-list h3 { margin: 0 0 12px; font-size: 20px; letter-spacing: -.025em; }
.dealer-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border: 1px solid var(--tp-border);
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 9px;
  background: #fff;
}
.dealer-logo-box {
  min-height: 36px;
  border: 1px solid var(--tp-border);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 950;
  font-size: 11px;
  background: #fff;
  color: var(--tp-navy-950);
}
.dealer-network {
  display: none;
  color: var(--tp-muted);
  font-size: 12px;
}

/* offer-cards.css */
.offer-context {
  display: grid;
  gap: 3px;
  margin-bottom: 16px;
}
.offer-context-label,
.offer-context span:last-child {
  color: var(--tp-muted);
  font-size: 13px;
}
.offer-context strong {
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.offer-card-list {
  display: grid;
  gap: 13px;
}
.offer-card {
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  background: #fff;
  padding: 15px;
  display: grid;
  gap: 14px;
  box-shadow: 0 8px 22px rgba(7, 20, 38, .045);
}
.offer-card.is-best {
  border-color: rgba(255,196,0,.9);
  box-shadow: 0 0 0 4px rgba(255,196,0,.11), 0 12px 26px rgba(7, 20, 38, .06);
}
.offer-card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}
.offer-merchant {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
}
.offer-merchant strong {
  display: block;
  overflow-wrap: anywhere;
}
.offer-logo {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tp-soft-2);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 950;
  color: var(--tp-navy-950);
  border: 1px solid var(--tp-border);
  overflow: hidden;
}
.offer-badge {
  display: inline-flex;
  margin-top: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,196,0,.18);
  color: #684900;
  font-size: 11px;
  font-weight: 950;
}
.offer-price-block {
  text-align: right;
  white-space: nowrap;
}
.offer-price-block span {
  display: block;
  color: var(--tp-muted);
  font-size: 12px;
  margin-bottom: 2px;
}
.offer-price-block strong {
  font-size: 24px;
  letter-spacing: -.045em;
}
.offer-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.offer-facts div {
  border: 1px solid var(--tp-border);
  border-radius: 11px;
  padding: 9px;
  background: #fbfdff;
  min-width: 0;
}
.offer-facts dt {
  color: var(--tp-muted);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 4px;
}
.offer-facts dd {
  margin: 0;
  color: var(--tp-text);
  font-weight: 850;
  font-size: 13px;
  line-height: 1.25;
}
.offer-free,
.offer-stock { color: var(--tp-green-600) !important; }
.offer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  border: 0;
  background: var(--tp-yellow-500);
  color: var(--tp-text);
  font-weight: 950;
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.08);
}
.offer-button:hover { background: var(--tp-yellow-600); }
.offer-note { color: var(--tp-muted); font-size: 13px; display: flex; gap: 8px; align-items: center; padding: 15px 0 0; line-height: 1.45; }

/* offer-data-status.css */
/* Offers data quality and publication states */
.offer-data-status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px 12px;
  margin: 0 0 14px;
  border: 1px solid #d9e3ed;
  border-radius: 12px;
  background: #f7fafc;
  color: var(--tp-text);
}
.offer-data-status.is-live { border-color: rgba(22, 136, 76, .25); background: #f3fbf6; }
.offer-data-status-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 5px; background: #8b9bab; }
.offer-data-status.is-live .offer-data-status-dot { background: var(--tp-green-600); }
.offer-data-status strong { display: block; font-size: 13px; line-height: 1.2; margin-bottom: 3px; }
.offer-data-status span:last-child { display: block; font-size: 12px; color: var(--tp-muted); line-height: 1.35; }
.offer-data-badge { display: inline-flex; margin-top: 5px; padding: 4px 8px; border-radius: 999px; background: #eef3f7; color: #52667a; font-size: 11px; font-weight: 900; }
.offer-data-badge.is-live { background: rgba(22, 136, 76, .12); color: #087a3e; }
.offer-card.is-sample { box-shadow: 0 8px 22px rgba(7, 20, 38, .03); }
.offer-card.is-sample .offer-price-block strong { color: #2e3d4d; }
.offer-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offer-fact-wide { grid-column: 1 / -1; }
.offer-button.is-disabled { background: #e8eef3; color: #7a8997; cursor: not-allowed; box-shadow: none; }
.offer-button.is-disabled:hover { background: #e8eef3; }
@media (max-width: 760px) {
  .offer-data-status { padding: 10px; margin-bottom: 12px; }
}

/* offer-spacing.css */
/* v0.2.2 — prevent the last offer card from touching/cutting into the panel edge. */
.offer-card-list {
  padding-bottom: 18px;
}

.offer-card:last-child {
  margin-bottom: 8px;
}

.offer-note {
  padding-bottom: 8px;
}

/* responsive-core.css */
@media (max-width: 1500px) {
  :root { --tp-sidebar-width: 270px; --tp-offers-width: 460px; --tp-gap: 16px; }
  .model-card { grid-template-columns: 110px minmax(0, 1fr) 122px 24px; }
  .model-card img { width: 100px; }
  .variant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-facts { grid-template-columns: 1fr; }
}
@media (max-width: 1200px) {
  .tp-header { grid-template-columns: minmax(200px, 260px) minmax(280px, 1fr) 160px; gap: 16px; padding: 0 18px; }
  .tp-brand-text { font-size: 32px; }
  .tp-brand-mark { width: 46px; height: 46px; font-size: 24px; }
  .tp-shell { grid-template-columns: 1fr; padding: 16px; }
  .tp-sidebar, .tp-offers-panel { position: static; max-height: none; }
  .category-list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); overflow-x: auto; padding-bottom: 0; }
  .category-button { border-right: 1px solid var(--tp-border); border-bottom: 0; }
  .tp-sidebar .panel-heading { display: none; }
  .tp-offers-panel { order: 3; }
  .tp-main-panel { order: 2; }
  .offer-card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-card.is-best { grid-column: 1 / -1; }
  .offer-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .tp-header { grid-template-columns: 1fr; height: auto; padding: 16px; gap: 12px; position: relative; }
  .tp-brand, .tp-compare { justify-self: center; }
  .tp-search { order: 2; }
  .tp-compare { order: 3; font-size: 16px; }
  .tp-brand-text { font-size: 32px; }
  .tp-brand-mark { width: 44px; height: 44px; font-size: 24px; border-radius: 12px; }
  .tp-search input { height: 54px; font-size: 15px; }
  #mainContent, #offersContent { padding: 22px 16px; }
  .model-card { grid-template-columns: 88px 1fr; }
  .model-price, .model-arrow { grid-column: 2; }
  .product-detail-head { grid-template-columns: 1fr; }
  .variant-grid, .offer-card-list { grid-template-columns: 1fr; }
  .offer-card.is-best { grid-column: auto; }
  .offer-facts { grid-template-columns: 1fr; }
  .tp-step-card { grid-template-columns: 48px 1fr; }
  .tp-step-icon { display: none; }
}
@media (max-width: 520px) {
  .tp-shell { padding: 10px; }
  .tp-sidebar, .tp-main-panel, .tp-offers-panel { border-radius: 14px; }
  .panel-heading { padding: 18px 16px 12px; }
  .tp-section-title { font-size: 30px; }
  .tp-subtitle { font-size: 15px; }
  .model-card { padding: 14px; gap: 13px; }
  .model-title { font-size: 20px; }
  .model-price strong { font-size: 22px; }
  .variant-card { min-height: auto; }
  .offer-card-top { grid-template-columns: 1fr; }
  .offer-price-block { text-align: left; }
}

/* responsive-tablet-mobile-base.css */
/* v0.2.3 — Noindex & Mobile UX Polish
   Mobile stays product-first: category chips → model list → variants → offers. */
@media (max-width: 1200px) {
  .tp-shell {
    gap: 14px;
  }

  .tp-sidebar {
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  .category-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .category-button {
    flex: 0 0 auto;
    min-width: 178px;
    min-height: 54px;
    border: 1px solid var(--tp-border);
    border-radius: 14px;
    background: #fff;
    scroll-snap-align: start;
    box-shadow: 0 6px 18px rgba(7, 20, 38, .045);
  }

  .category-button.is-active {
    border-color: rgba(255,196,0,.75);
    box-shadow: 0 0 0 3px rgba(255,196,0,.16), 0 8px 20px rgba(7, 20, 38, .055);
  }

  .tp-main-panel,
  .tp-offers-panel {
    border-radius: 18px;
  }
}

@media (max-width: 820px) {
  body {
    background: #f5f7fb;
  }

  .tp-header {
    grid-template-columns: auto auto;
    align-items: center;
    padding: 12px 14px 14px;
    gap: 12px;
    position: sticky;
  }

  .tp-brand {
    justify-self: start;
  }

  .tp-compare {
    justify-self: end;
    order: 1;
    min-height: 38px;
    font-size: 0;
    gap: 6px;
  }

  .tp-compare span:first-child {
    font-size: 22px;
  }

  .tp-compare strong {
    min-width: 23px;
    height: 23px;
    font-size: 12px;
  }

  .tp-search {
    grid-column: 1 / -1;
    order: 2;
    width: 100%;
  }

  .tp-search input {
    height: 50px;
    border-radius: 12px;
    padding-left: 48px;
  }

  .tp-search-icon {
    left: 16px;
    font-size: 24px;
  }

  .tp-shell {
    padding: 12px;
    gap: 12px;
  }

  #mainContent,
  #offersContent {
    padding: 18px 14px;
  }

  .tp-section-title {
    font-size: 28px;
    line-height: 1.05;
  }

  .brand-filter-wrap {
    margin: 16px -2px 18px;
  }

  .brand-filter button {
    min-height: 39px;
    padding: 0 14px;
    font-size: 14px;
  }

  .model-card {
    grid-template-columns: 74px minmax(0, 1fr);
    align-items: start;
    padding: 14px;
    gap: 12px;
  }

  .model-card img {
    width: 70px;
    height: 70px;
  }

  .model-title {
    font-size: 20px;
    line-height: 1.1;
  }

  .model-copy {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .model-tags .tp-pill {
    min-height: 28px;
    padding: 5px 9px;
    font-size: 12px;
  }

  .model-price {
    grid-column: 2;
    margin-top: -2px;
    display: flex;
    align-items: baseline;
    gap: 7px;
  }

  .model-price span {
    margin: 0;
  }

  .model-price strong {
    font-size: 21px;
  }

  .model-arrow {
    display: none;
  }

  .group-title--variant-only {
    padding-bottom: 4px;
  }

  .group-title--variant-only h1,
  .product-detail-head h1 {
    font-size: 30px;
    line-height: 1.04;
  }

  .info-strip {
    align-items: start;
    padding: 13px 14px;
    font-size: 14px;
  }

  .variant-grid {
    gap: 12px;
  }

  .variant-card {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    text-align: left;
    min-height: 0;
    padding: 14px;
  }

  .variant-card img {
    width: 78px;
    height: 78px;
    grid-row: span 3;
  }

  .variant-card h3 {
    font-size: 20px;
  }

  .variant-label {
    font-size: 14px;
  }

  .variant-desc {
    font-size: 14px;
  }

  .variant-price strong {
    font-size: 21px;
  }

  .product-detail-head {
    gap: 14px;
  }

  .product-detail-head img {
    max-height: 220px;
  }

  .offer-empty-small {
    min-height: 220px;
  }

  .dealer-row {
    grid-template-columns: 76px minmax(0, 1fr) 16px;
  }

  .dealer-network {
    display: none;
  }
}

@media (max-width: 520px) {
  .tp-brand-mark {
    width: 38px;
    height: 38px;
    font-size: 20px;
    border-width: 3px;
  }

  .tp-brand-text {
    font-size: 27px;
  }

  .category-button {
    min-width: 156px;
    min-height: 50px;
    padding: 0 12px;
    gap: 9px;
    font-size: 14px;
  }

  .category-icon {
    width: 26px;
  }

  .tp-main-panel,
  .tp-offers-panel {
    border-radius: 16px;
  }

  .model-card {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
  }

  .model-card img {
    width: 58px;
    height: 58px;
  }

  .variant-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .variant-card img {
    width: 66px;
    height: 66px;
  }

  .offer-card {
    padding: 13px;
  }

  .offer-button {
    width: 100%;
  }
}

/* mobile-base.css */
/* Mobile base layout, shell, panels and shared text sizing */
@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    background: #f6f8fc;
    font-size: 15px;
  }

  .tp-shell {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    padding: 8px;
    gap: 10px;
  }

  .tp-sidebar,
  .tp-main-panel,
  .tp-offers-panel {
    position: static;
    width: 100%;
    max-width: 100%;
    max-height: none;
    overflow: visible;
  }

  .tp-sidebar {
    order: 1;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .tp-main-panel {
    order: 2;
    min-height: 0;
    border-radius: 16px;
  }

  .tp-offers-panel {
    order: 3;
    border-radius: 16px;
  }

  .tp-sidebar .panel-heading {
    display: none;
  }

  .panel-heading {
    padding: 15px 14px 11px;
  }

  .panel-heading h2 {
    font-size: 21px;
  }

  #mainContent,
  #offersContent {
    padding: 14px 12px 18px;
  }

  .tp-section-title,
  .group-title h1,
  .product-detail-head h1 {
    font-size: 25px;
    line-height: 1.05;
    letter-spacing: -.045em;
  }

  .tp-subtitle,
  .group-title p,
  .product-detail-head p {
    font-size: 14px;
    line-height: 1.45;
    margin: 7px 0 12px;
  }

  .tp-footer {
    display: none;
  }

}

/* mobile-header.css */
/* Mobile header, brand, search and compare controls */
@media (max-width: 760px) {
  .tp-header {
    grid-template-columns: minmax(0, 1fr) auto;
    height: auto;
    min-height: 0;
    padding: 10px 12px 12px;
    gap: 9px 10px;
    position: sticky;
    top: 0;
  }

  .tp-brand {
    justify-self: start;
    gap: 8px;
    min-width: 0;
  }

  .tp-brand-mark {
    width: 34px;
    height: 34px;
    border-width: 3px;
    border-radius: 10px;
    font-size: 18px;
  }

  .tp-brand-text {
    font-size: 24px;
    letter-spacing: -.055em;
    white-space: nowrap;
  }

  .tp-compare {
    justify-self: end;
    order: 1;
    min-height: 34px;
    gap: 6px;
    font-size: 0;
    padding: 0;
  }

  .tp-compare span:first-child {
    font-size: 20px;
  }

  .tp-compare strong {
    min-width: 22px;
    height: 22px;
    font-size: 12px;
  }

  .tp-search {
    grid-column: 1 / -1;
    order: 2;
    width: 100%;
    margin: 0;
  }

  .tp-search input {
    height: 44px;
    border-radius: 11px;
    padding: 0 12px 0 42px;
    font-size: 14px;
    box-shadow: inset 0 0 0 1px rgba(8,32,61,.08), 0 8px 18px rgba(0,0,0,.1);
  }

  .tp-search-icon {
    left: 14px;
    font-size: 21px;
  }

}

/* mobile-brand-filter.css */
/* Mobile horizontal brand filter */
@media (max-width: 760px) {
  .brand-filter-wrap {
    margin: 12px -2px 14px;
  }

  .brand-filter-label {
    display: none;
  }

  .brand-filter {
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .brand-filter::-webkit-scrollbar {
    display: none;
  }

  .brand-filter button {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
  }

}

/* mobile-model-cards.css */
/* Mobile model cards */
@media (max-width: 760px) {
  .model-list {
    gap: 10px;
  }

  .model-card {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    padding: 12px;
    gap: 10px;
    border-radius: 14px;
  }

  .model-card img {
    width: 56px;
    height: 56px;
  }

  .model-body {
    min-width: 0;
    padding-right: 92px;
  }

  .model-title {
    font-size: 18px;
    line-height: 1.12;
  }

  .model-copy,
  .model-meta {
    font-size: 13px;
  }

  .model-tags {
    margin-top: 5px;
  }

  .tp-pill,
  .model-tags .tp-pill {
    min-height: 26px;
    padding: 4px 8px;
    font-size: 12px;
  }

  .model-price {
    grid-column: 2 / 4;
    margin: 2px 0 0 68px;
    display: flex;
    align-items: baseline;
    gap: 6px;
  }

  .model-price span {
    margin: 0;
    font-size: 12px;
  }

  .model-price strong {
    font-size: 20px;
  }

  .model-arrow {
    display: block;
    grid-column: 3;
    grid-row: 1;
    font-size: 28px;
    align-self: center;
  }

}

/* v0.4.10 — mobile card polish: preserve natural reading width. */
@media (max-width: 760px) {
  .model-card {
    grid-template-columns: 58px minmax(0, 1fr) 24px;
    min-height: 154px;
  }

  .model-body {
    display: block;
    padding-right: 0;
  }

  .model-title {
    font-size: 18px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .model-copy {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .model-price {
    grid-column: 2 / 4;
    margin: 4px 0 0 0;
    min-height: 30px;
  }
}

/* mobile-product-detail.css */
/* Mobile product detail header and more-info block */
@media (max-width: 760px) {
  .group-title--variant-only {
    padding-bottom: 10px;
  }

  .info-strip {
    padding: 11px 12px;
    margin: 13px 0 16px;
    border-radius: 12px;
    font-size: 13px;
    align-items: flex-start;
  }

  .info-strip span:first-child {
    font-size: 18px;
  }

  .product-detail-head {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding-bottom: 14px;
  }

  .product-detail-head img {
    width: 82px;
    height: 82px;
    max-height: 82px;
    object-fit: contain;
    align-self: start;
  }

  .product-kicker {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .product-detail-head ul {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.4;
  }

  .more-info {
    margin-top: 12px;
    border-radius: 12px;
  }

  .more-info summary {
    padding: 14px;
    font-size: 14px;
  }

  .more-info-body {
    padding: 0 14px 14px;
    font-size: 13px;
  }

}

/* mobile-variant-cards.css */
/* Mobile variant cards */
@media (max-width: 760px) {
  .variants-title {
    margin: 16px 0 5px;
    font-size: 21px;
  }

  .variants-subtitle {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.45;
  }

  .variant-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .variant-card {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 7px 10px;
    align-items: center;
    min-height: 0;
    padding: 12px;
    border-radius: 14px;
  }

  .variant-card img {
    grid-row: 1 / 4;
    width: 62px;
    height: 62px;
    object-fit: contain;
  }

  .variant-card h3 {
    font-size: 19px;
    line-height: 1.08;
  }

  .variant-body {
    min-width: 0;
    padding-right: 92px;
  }

  .variant-label,
  .variant-desc {
    font-size: 13px;
    line-height: 1.35;
  }

  .variant-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
  }

  .variant-price span {
    margin: 0;
    font-size: 12px;
  }

  .variant-price strong {
    font-size: 20px;
  }

  .variant-selected-dot {
    width: 24px;
    height: 24px;
    top: 10px;
    right: 10px;
    font-size: 13px;
  }

}

/* v0.4.10 — mobile variant card polish: CTA never touches the model name. */
@media (max-width: 760px) {
  .variant-card {
    min-height: 152px;
    padding-bottom: 14px;
  }

  .variant-body {
    padding-right: 0;
  }

  .variant-card h3 {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .variant-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}

/* mobile-offers.css */
/* Mobile offer and dealer cards */
@media (max-width: 760px) {
  .offer-empty-small {
    min-height: 180px;
    padding: 18px 14px;
    border-radius: 14px;
  }

  .offer-empty-small .tp-empty-icon {
    width: 68px;
    height: 68px;
    font-size: 30px;
    margin-bottom: 12px;
  }

  .offer-empty-small h3 {
    font-size: 21px;
  }

  .offer-empty-small p {
    font-size: 14px;
    max-width: 280px;
  }

  .dealer-list {
    margin-top: 14px;
  }

  .dealer-row {
    grid-template-columns: 54px minmax(0, 1fr) 16px;
    min-height: 50px;
    padding: 7px 8px;
    border-radius: 11px;
  }

  .dealer-logo-box {
    min-height: 32px;
    font-size: 10px;
  }

  .offer-context {
    margin-bottom: 12px;
  }

  .offer-context strong {
    font-size: 22px;
  }

  .offer-card-list {
    gap: 11px;
    padding-bottom: 22px;
  }

  .offer-card {
    padding: 13px;
    border-radius: 15px;
    gap: 12px;
  }

  .offer-card-top {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .offer-logo {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 10px;
  }

  .offer-price-block strong {
    font-size: 23px;
  }

  .offer-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .offer-facts div {
    padding: 8px 7px;
  }

  .offer-facts dt {
    font-size: 10px;
  }

  .offer-facts dd {
    font-size: 12px;
  }

  .offer-button {
    width: 100%;
    min-height: 42px;
    border-radius: 10px;
    font-size: 15px;
  }

  .offer-note {
    padding-bottom: 10px;
    font-size: 12px;
  }

}

/* mobile-narrow.css */
@media (max-width: 390px) {
  .tp-shell {
    padding: 6px;
  }

  #mainContent,
  #offersContent {
    padding: 12px 10px 16px;
  }

  .tp-brand-text {
    font-size: 22px;
  }

  .category-button {
    min-width: 122px;
    font-size: 11px;
  }

  .product-detail-head {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .product-detail-head img {
    width: 70px;
    height: 70px;
  }

  .tp-section-title,
  .group-title h1,
  .product-detail-head h1 {
    font-size: 23px;
  }

  .offer-facts {
    grid-template-columns: 1fr;
  }
}

/* mobile-category-base.css */
/* v0.2.5 — Mobile Category Menu
   Replaces the broken horizontal category strip with one clear Gereedschap button. */
@media (max-width: 820px) {
  .tp-sidebar {
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    border-radius: 0;
  }

  .mobile-category-toggle {
    width: 100%;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 196, 0, .7);
    border-radius: 18px;
    background: linear-gradient(180deg, #fffaf0, #fff);
    box-shadow: 0 10px 26px rgba(7, 20, 38, .08), 0 0 0 3px rgba(255, 196, 0, .10);
    color: var(--tp-text);
    text-align: left;
    cursor: pointer;
  }

  .mobile-category-toggle__icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--tp-navy-950);
    color: var(--tp-yellow-500);
    font-weight: 900;
  }

  .mobile-category-toggle__text {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  .mobile-category-toggle__text strong {
    font-size: 16px;
    line-height: 1.1;
  }

  .mobile-category-toggle__text small {
    color: var(--tp-muted);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-category-toggle__chevron {
    justify-self: end;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(7,20,38,.06);
    font-size: 18px;
    transition: transform .18s ease;
  }

  .tp-sidebar.is-category-open .mobile-category-toggle__chevron {
    transform: rotate(180deg);
  }

  .tp-sidebar .category-list {
    display: none;
    margin-top: 10px;
    padding: 8px;
    max-height: min(62vh, 520px);
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--tp-border);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(7, 20, 38, .14);
    scroll-snap-type: none;
  }

  .tp-sidebar.is-category-open .category-list {
    display: grid;
    gap: 4px;
  }

  .tp-sidebar .category-button {
    min-width: 0;
    width: 100%;
    min-height: 48px;
    grid-template-columns: 34px 1fr 22px;
    padding: 0 12px;
    border: 0;
    border-radius: 13px;
    box-shadow: none;
    background: #fff;
    font-size: 14px;
  }

  .tp-sidebar .category-button + .category-button {
    border-top: 1px solid rgba(226,232,240,.8);
  }

  .tp-sidebar .category-button.is-active {
    background: linear-gradient(90deg, rgba(255,196,0,.24), rgba(255,196,0,.08));
    border-color: transparent;
    box-shadow: inset 4px 0 0 var(--tp-yellow-500);
  }

  .tp-sidebar .category-button.is-active::before {
    display: none;
  }

  .tp-sidebar .category-icon {
    width: 26px;
    height: 26px;
    font-size: 18px;
  }
}

/* mobile-category-professional.css */
/* v0.2.6 — Professional Mobile Category Drawer
   Mobile categories are no longer a horizontal scroller. The Gereedschap button opens
   a clean vertical drawer that mirrors the desktop category list. */
@media (max-width: 820px) {
  .mobile-category-toggle {
    min-height: 56px;
    grid-template-columns: 42px minmax(0, 1fr) 34px;
    border-radius: 16px;
    border: 1px solid rgba(226,232,240,.95);
    background: linear-gradient(180deg, #ffffff, #fbfcff);
    box-shadow: 0 10px 30px rgba(7,20,38,.075);
  }

  .mobile-category-toggle:focus-visible {
    outline: 3px solid rgba(255,196,0,.38);
    outline-offset: 3px;
  }

  .mobile-category-toggle__icon {
    background: linear-gradient(180deg, var(--tp-navy-900), var(--tp-navy-950));
    color: var(--tp-yellow-500);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
    font-size: 19px;
  }

  .mobile-category-toggle__text strong::before {
    content: "Gereedschap";
  }

  .mobile-category-toggle__text strong {
    font-size: 16px;
  }

  .mobile-category-toggle__text strong {
    color: transparent;
    position: relative;
  }

  .mobile-category-toggle__text strong::before {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--tp-text);
  }

  .mobile-category-toggle__chevron {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #f3f6fb;
    border: 1px solid rgba(226,232,240,.95);
    position: relative;
    transition: background .18s ease, transform .18s ease;
  }

  .mobile-category-toggle__chevron::before {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--tp-navy-900);
    border-bottom: 2px solid var(--tp-navy-900);
    transform: rotate(45deg) translate(-1px, -2px);
    display: block;
  }

  .tp-sidebar.is-category-open .mobile-category-toggle__chevron {
    transform: none;
    background: #fff8db;
  }

  .tp-sidebar.is-category-open .mobile-category-toggle__chevron::before {
    transform: rotate(225deg) translate(-1px, -2px);
  }

  .tp-sidebar .category-list,
  .tp-sidebar.is-category-open .category-list {
    overflow-x: hidden !important;
    scroll-snap-type: none !important;
  }

  .tp-sidebar.is-category-open .category-list {
    display: block;
    max-height: min(70vh, 620px);
    padding: 8px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(226,232,240,.95);
    box-shadow: 0 18px 44px rgba(7,20,38,.16);
  }

  .tp-sidebar.is-category-open .category-button {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 28px;
    width: 100%;
    height: auto;
    min-height: 52px;
    padding: 0 12px 0 10px;
    margin: 0;
    border-radius: 13px;
    border: 0;
    border-bottom: 0;
    background: #fff;
    box-shadow: none;
    font-size: 14px;
    font-weight: 850;
  }

  .tp-sidebar.is-category-open .category-button:not(:last-child) {
    margin-bottom: 2px;
  }

  .tp-sidebar.is-category-open .category-button:hover,
  .tp-sidebar.is-category-open .category-button:focus-visible {
    background: #f7f9fd;
  }

  .tp-sidebar.is-category-open .category-button.is-active {
    background: linear-gradient(90deg, rgba(255,196,0,.22), rgba(255,196,0,.065));
    box-shadow: inset 4px 0 0 var(--tp-yellow-500);
  }

  .category-arrow {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    justify-self: end;
    border-radius: 10px;
    background: #f4f7fb;
    position: relative;
    font-size: 0 !important;
  }

  .category-arrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #526174;
    border-bottom: 2px solid #526174;
    transform: rotate(-45deg);
    margin-left: -2px;
  }

  .tp-sidebar.is-category-open .category-button.is-active .category-arrow {
    background: rgba(255,196,0,.24);
  }

  .tp-sidebar.is-category-open .category-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: #f3f6fb;
    font-size: 17px;
  }
}

/* mobile-flow.css */
/* v0.2.7 — after choosing an exact uitvoering on mobile, scroll to the offers panel cleanly below the sticky header. */
@media (max-width: 980px) {
  .tp-offers-panel {
    scroll-margin-top: 112px;
  }
}

@media (max-width: 560px) {
  .tp-offers-panel {
    scroll-margin-top: 104px;
  }
}


/* v0.2.8 — mobile/tablet back flow polish */
@media (max-width: 980px) {
  .tp-main-panel {
    scroll-margin-top: 112px;
  }

  .tp-offer-backbar {
    display: block;
  }
}

@media (max-width: 760px) {
  .tp-backbar {
    margin-bottom: 10px;
  }

  .tp-back-button {
    min-height: 32px;
    padding: 0;
    font-size: 13px;
  }

  .tp-back-button span {
    width: 26px;
    height: 26px;
    border-radius: 9px;
  }
}

/* footer.css */
/* v0.4 — Professional footer */
.tp-footer {
  max-width: 1780px;
  margin: 0 auto;
  padding: 10px 24px 38px;
  color: var(--tp-muted);
}
.tp-footer__surface {
  border: 1px solid var(--tp-border);
  background: #fff;
  border-radius: var(--tp-radius-md);
  box-shadow: var(--tp-shadow-soft);
  padding: 24px;
  display: grid;
  gap: 20px;
}
.tp-footer__top {
  display: grid;
  grid-template-columns: minmax(230px, 1.2fr) repeat(3, minmax(130px, .7fr));
  gap: 24px;
}
.tp-footer__brand { max-width: 380px; }
.tp-footer__brand strong {
  display: block;
  color: var(--tp-navy-950);
  font-size: 18px;
  letter-spacing: -.03em;
  margin-bottom: 7px;
}
.tp-footer__brand p { margin: 0; font-size: 14px; line-height: 1.55; }
.tp-footer__column { display: grid; align-content: start; gap: 8px; }
.tp-footer__column h2 {
  margin: 0 0 2px;
  color: var(--tp-text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.tp-footer__column a {
  width: max-content;
  max-width: 100%;
  font-size: 14px;
  color: #45556a;
}
.tp-footer__column a:hover { color: var(--tp-navy-950); text-decoration: underline; text-underline-offset: 3px; }
.tp-footer__bottom {
  border-top: 1px solid var(--tp-border);
  padding-top: 16px;
  display: flex;
  gap: 12px 20px;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  line-height: 1.5;
}
.tp-footer__bottom p { margin: 0; }
.tp-footer__status { color: #627089; }
.tp-footer__email { margin-left: auto; }
.tp-footer__email a { color: inherit; text-decoration: none; font-weight: 700; }
.tp-footer__email a:hover,
.tp-footer__email a:focus-visible { color: #0c6cff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 820px) {
  .tp-footer { padding: 8px 16px 28px; }
  .tp-footer__surface { padding: 22px 18px; }
  .tp-footer__top { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .tp-footer__brand { grid-column: 1 / -1; }
  .tp-footer__bottom { align-items: flex-start; flex-direction: column; }
  .tp-footer__email { margin-left: 0; }
}

/* trust-notice.css */
/* v0.4 — Trust notices in the comparison flow */
.offer-trust {
  margin-top: 16px;
  padding: 13px 14px;
  border: 1px solid var(--tp-border);
  background: #f8fbff;
  border-radius: 12px;
  color: #506078;
  font-size: 12px;
  line-height: 1.5;
}
.offer-trust a { color: var(--tp-blue-700); font-weight: 850; text-decoration: underline; text-underline-offset: 2px; }

/* v0.4.16 — Content/Data Foundation */
.tp-data-status {
  margin: -2px 0 18px;
  color: var(--tp-muted);
  font-size: 13px;
  line-height: 1.5;
}
.category-button[data-seed-status="coming-soon"]::after {
  content: "Binnenkort";
  color: var(--tp-muted);
  font-size: 11px;
  font-weight: 750;
  margin-right: 10px;
}
