/* ============================================================
   BANDENTEST   bandenkopen.nl
   ============================================================ */

.tr-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 28px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    align-items: start;
}
.tr-page {
    min-width: 0;
    font-family: 'Open Sans', -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #1a2740;
}

/* HEADER */
.tr-header {
    background: #fff;
    border: 1px solid #dce4ed;
    border-radius: 16px;
    padding: 2rem 2.4rem 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26,39,64,0.07);
}
.tr-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #e8552a, #f5a623);
}
.tr-header-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.1rem;
    flex-wrap: wrap;
}
.tr-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(232,85,42,0.10);
    color: #e8552a;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1.5px solid rgba(232,85,42,0.25);
}
.tr-source-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(26,39,64,0.06);
    color: #1a2740;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1.5px solid #dce4ed;
}
.tr-header h1 {
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    font-weight: 800;
    color: #1a2740;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}
.tr-header h1 span { color: #e8552a; }
.tr-accent-line {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #e8552a, #f5a623);
    border-radius: 2px;
    margin-bottom: 0.9rem;
}
.tr-header-desc {
    color: #4a5568;
    font-size: 0.9rem;
    max-width: 560px;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}
.tr-header-desc strong { color: #1a2740; }
.tr-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.tr-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f4f6f9;
    border: 1.5px solid #dce4ed;
    color: #1a2740;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
}
.tr-meta-pill i { color: #e8552a; font-size: 11px; }

/* LEGEND */
.tr-legend {
    background: #fff;
    border: 1px solid #dce4ed;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.tr-legend-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #9aa5b4;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tr-legend-title i { color: #e8552a; font-size: 0.72rem; }
.tr-legend-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dce4ed;
}
.tr-legend-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    margin-bottom: 16px;
}
.tr-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #1a2740;
}
.tr-legend-sym {
    font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    min-width: 34px;
}
.sym-pp  { color: #d4900a; }  /* ++ zeer goed */
.sym-ppp { color: #b8860b; }  /* +/++ goed tot zeer goed */
.sym-p   { color: #2e9e6b; }  /* + goed */
.sym-op  { color: #2a5ce8; }  /* Ø/+ ruim voldoende */
.sym-o   { color: #9aa5b4; }  /* Ø voldoende */
.sym-om  { color: #c87941; }  /* -/Ø net onvoldoende */
.sym-m   { color: #e8552a; }  /* - onvoldoende */
.sym-mm2 { color: #b03020; }  /* --/- slecht */
.sym-mm  { color: #c0392b; }  /* -- zeer slecht */
.tr-criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 6px 24px;
    padding-top: 14px;
    border-top: 1px solid #dce4ed;
}
.tr-crit-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    color: #9aa5b4;
}
.tr-crit-item strong { color: #1a2740; }
.tr-crit-item i { font-size: 0.65rem; width: 12px; text-align: center; }

/* RESULTS */
.tr-results {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.tr-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 8px 0 4px;
}
.tr-divider-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #9aa5b4;
    white-space: nowrap;
}
.tr-divider-line {
    flex: 1;
    height: 1px;
    background: #dce4ed;
}

/* CARD */
.tr-card {
    background: #fff;
    border: 1px solid #dce4ed;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(26,39,64,0.06);
}
.tr-card:hover {
    box-shadow: 0 6px 24px rgba(26,39,64,0.10);
    border-color: rgba(232,85,42,0.3);
}
.tr-card.rank-1 { border-left: 4px solid #e8552a; }
.tr-card.rank-2 { border-left: 4px solid #1a2740; }
.tr-card.rank-3 { border-left: 4px solid #2e9e6b; }
.tr-card.rank-4 { border-left: 4px solid #95b8d1; }
.tr-card.rank-5,
.tr-card.rank-6,
.tr-card.rank-7,
.tr-card.rank-8,
.tr-card.rank-9,
.tr-card.rank-10 { border-left: 4px solid #dce4ed; }

.tr-card-main {
    display: grid;
    grid-template-columns: 56px 88px 1fr auto;
    align-items: stretch;
    width: 100%;
}

.tr-col-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0 20px 14px;
    background: #f4f6f9;
    border-right: 1px solid #dce4ed;
}
.tr-rank-num {
    font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(26,39,64,0.2);
}
.tr-card.rank-1 .tr-rank-num { color: #e8552a; }
.tr-card.rank-2 .tr-rank-num { color: #1a2740; }
.tr-card.rank-3 .tr-rank-num { color: #2e9e6b; }

.tr-col-img {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 8px;
    border-right: 1px solid #dce4ed;
}
.tr-tire-img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    display: block;
}
.tr-tire-svg {
    width: 54px;
    height: 54px;
    opacity: 0.18;
    display: none;
}
.tr-tire-svg--visible { display: block; }

.tr-col-body {
    padding: 18px 16px;
    min-width: 0;
}
.tr-card-brand {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9aa5b4;
    margin-bottom: 2px;
}
.tr-card-model {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a2740;
    margin-bottom: 0.6rem;
    line-height: 1.2;
}
.tr-score-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.7rem;
}
.tr-score-bar-bg {
    flex: 1;
    max-width: 180px;
    height: 6px;
    background: #dce4ed;
    border-radius: 3px;
    overflow: hidden;
}
.tr-score-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #e8552a, #f5a623);
    border-radius: 3px;
    transition: width 0.8s ease;
}
.tr-score-note {
    font-size: 0.72rem;
    font-weight: 600;
    color: #9aa5b4;
    white-space: nowrap;
}
.tr-mini-crits {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 10px;
    margin-top: 8px;
}
.tr-mc {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.7rem;
    color: #9aa5b4;
}
.tr-mc-val {
    font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
}
.tr-remark {
    font-size: 11px;
    color: #9aa5b4;
    margin-top: 4px;
    font-style: italic;
}

.tr-col-verdict {
    padding: 18px 20px 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    border-left: 1px solid #dce4ed;
    min-width: 130px;
}
.tr-winner-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #e8552a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
}
.tr-verdict {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 13px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}
.tr-verdict-warn { background: rgba(200,121,65,0.10); color: #c87941; border: 1px solid rgba(200,121,65,0.28); }
.tr-verdict-bad  { background: rgba(192,57,43,0.08);  color: #c0392b; border: 1px solid rgba(192,57,43,0.22); }

.tr-price-wrap { text-align: right; }
.tr-price-from {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    color: #9aa5b4;
    line-height: 1;
    margin-bottom: 2px;
    text-transform: uppercase;
}
.tr-price-val {
    font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: #1a2740;
    line-height: 1;
}

.tr-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1a2740;
    color: #fff;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 6px;
    white-space: nowrap;
}
.tr-btn-link:hover {
    background: #e8552a;
    color: #fff;
    text-decoration: none;
}
.tr-btn-link i { font-size: 0.6rem; }

/* FOOTER CTA */
.tr-footer-cta {
    margin-top: 1.8rem;
    background: #fff;
    border: 1px solid #dce4ed;
    border-radius: 14px;
    padding: 1.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 2px 12px rgba(26,39,64,0.06);
}
.tr-footer-cta-text { flex: 1; min-width: 0; }
.tr-footer-cta h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a2740;
    margin-bottom: 0.25rem;
}
.tr-footer-cta h3 em { color: #e8552a; font-style: normal; }
.tr-footer-cta p { color: #9aa5b4; font-size: 0.85rem; max-width: 380px; }
.tr-footer-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.tr-btn-p {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #e8552a;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 8px;
}
.tr-btn-p:hover { background: #c94420; color: #fff; text-decoration: none; }
.tr-btn-s {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f4f6f9;
    color: #1a2740;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1.5px solid #dce4ed;
}
.tr-btn-s:hover { border-color: #1a2740; color: #1a2740; text-decoration: none; }

/* SIDEBAR */
.tr-sidebar {
    position: sticky;
    top: 24px;
    align-self: start;
}
.tr-sb-inner {
    background: #fff;
    border: 1px solid #dce4ed;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(26,39,64,0.06);
}
.tr-sb-title {
    background: #1a2740;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tr-sb-title i { color: #e8552a; }
.tr-sb-winner {
    padding: 16px;
    border-bottom: 1px solid #dce4ed;
    text-align: center;
}
.tr-sb-img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    margin: 0 auto 10px;
    display: block;
}
.tr-sb-brand {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #9aa5b4;
    margin-bottom: 2px;
}
.tr-sb-model {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1a2740;
    line-height: 1.2;
    margin-bottom: 3px;
}
.tr-sb-size { font-size: 11px; color: #9aa5b4; margin-bottom: 10px; }
.tr-sb-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    justify-content: center;
    margin-bottom: 12px;
}
.tr-sb-from { font-size: 10px; color: #9aa5b4; text-transform: uppercase; }
.tr-sb-val {
    font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #1a2740;
    line-height: 1;
}
.tr-sb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #e8552a;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 7px;
    width: 100%;
    box-sizing: border-box;
}
.tr-sb-btn:hover { background: #c94420; color: #fff; text-decoration: none; }

.tr-sb-ranking {
    padding: 6px 0 4px;
    border-bottom: 1px solid #dce4ed;
}
.tr-sb-subtitle {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #9aa5b4;
    padding: 6px 16px 8px;
}
.tr-sb-row {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    text-decoration: none;
    color: #1a2740;
    font-size: 12px;
}
.tr-sb-row:hover { background: #f4f6f9; color: #1a2740; text-decoration: none; }
.tr-sb-rnum {
    font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #9aa5b4;
    text-align: center;
}
.tr-sb-row:first-of-type .tr-sb-rnum { color: #e8552a; }
.tr-sb-rname {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
}
.tr-sb-rprice {
    font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    color: #1a2740;
}

.tr-sb-more-tests {
    padding: 4px 0;
    border-bottom: 1px solid #dce4ed;
}
.tr-sb-more-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    text-decoration: none;
    color: #1a2740;
    border-bottom: 1px solid #f4f6f9;
}
.tr-sb-more-row:last-child { border-bottom: none; }
.tr-sb-more-row:hover { background: #f4f6f9; color: #1a2740; text-decoration: none; }
.tr-sb-more-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 800;
    flex-shrink: 0;
    background: #e8f0fa;
    color: #1a2740;
}
.tr-sb-more-rank.rank-1 { background: #e8552a; color: #fff; }
.tr-sb-more-rank.rank-2 { background: #1a2740; color: #fff; }
.tr-sb-more-rank.rank-3 { background: #2e9e6b; color: #fff; }
.tr-sb-more-info { flex: 1; min-width: 0; }
.tr-sb-more-label {
    font-size: 12px;
    font-weight: 700;
    color: #1a2740;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tr-sb-more-meta { font-size: 10px; color: #9aa5b4; margin-top: 1px; }
.tr-sb-more-arrow { color: #dce4ed; font-size: 10px; flex-shrink: 0; }
.tr-sb-more-row:hover .tr-sb-more-arrow { color: #e8552a; }

.tr-sb-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 16px;
    background: #f4f6f9;
    color: #e8552a;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-top: 1px solid #dce4ed;
}
.tr-sb-cta:hover { background: #fde8e0; color: #e8552a; text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .tr-layout {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
    .tr-page { order: 1; }
    .tr-sidebar {
        position: static;
        order: 2;
    }
}
@media (max-width: 640px) {
    .tr-layout { padding: 16px 12px 40px; }
    .tr-card-main { grid-template-columns: 44px 64px 1fr; }
    .tr-col-verdict { display: none; }
    .tr-col-body { padding: 12px 10px; }
    .tr-col-img { padding: 10px 6px; border-right: none; }
    .tr-col-rank { padding: 12px 0 12px 10px; }
    .tr-legend { padding: 16px 18px; }
    .tr-criteria-grid { grid-template-columns: 1fr 1fr; }
    .tr-mini-crits { gap: 2px 8px; }
    .tr-tire-img { width: 50px; height: 50px; }
    .tr-footer-cta { flex-direction: column; }
    .tr-header { padding: 1.4rem 1.2rem; }
}
/* -- Kaart actie knoppen (vergelijk + verlanglijst) ------------------- */
.tr-card-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.tr-action-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid #dce4ed;
  background: #fff;
  color: #1a2740;
  transition: background .15s, border-color .15s, color .15s;
}
.tr-action-btn:hover {
  background: #f4f6f9;
  border-color: #1a2740;
}
.tr-action-compare:hover {
  border-color: #2a5ce8;
  color: #2a5ce8;
}
.tr-action-wishlist:hover {
  border-color: #e8552a;
  color: #e8552a;
}
.tr-action-wishlist.tr-action-wishlist--active i {
  font-weight: 900; /* solid heart */
  color: #e8552a;
}

/* -- Sidebar: winnaar stats -------------------------------------------- */
.tr-sb-winnaar-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fffbf0;
  border-top: 1px solid #f0e0a0;
  font-size: 12px;
  color: #7a6000;
}
.tr-sb-winnaar-stats strong {
  color: #d4900a;
  font-size: 14px;
}

/* -- Sidebar: seizoen tests lijst ------------------------------------- */
.tr-sb-more-row--huidig {
  background: #f0f4ff;
  border-left: 3px solid #2a5ce8;
  pointer-events: none;
  cursor: default;
}
.tr-sb-huidig-badge {
  font-size: 10px;
  font-weight: 700;
  background: #2a5ce8;
  color: #fff;
  border-radius: 4px;
  padding: 2px 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}