/* WebTyres - asphalt, sidewall and number-plate yellow */
:root {
    --asphalt: #262b33;
    --asphalt-2: #1f232a;
    --asphalt-line: #3a414c;
    --concrete: #edeff1;
    --sidewall: #fbfcfd;
    --card: #ffffff;
    --ink: #1c2026;
    --ink-soft: #545c68;
    --ink-faint: #8a929d;
    --rule: #d9dde2;
    --plate: #f6c700;
    --plate-ink: #16181b;
    --plate-band: #1f4fa3;
    --tread: #2e5b88;
    --tread-soft: rgba(46, 91, 136, .1);
    --chalk: #e7eaee;
    --chalk-dim: #a8b0bb;

    --summer: #6b5300;
    --summer-sun: #e0a400;
    --summer-bg: rgba(246, 199, 0, .24);
    --amber: #b86b00;
    --winter: #2d74b4;
    --allseason: #3f8a5a;

    --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --f-body: "Barlow", system-ui, sans-serif;

    --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem;
    --r-sm: 4px; --r-md: 8px; --r-plate: 6px;
    --wrap: 1200px;
    --focus: 0 0 0 3px var(--sidewall), 0 0 0 5px var(--tread);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--concrete);
    color: var(--ink);
    font: 400 1.0625rem/1.6 var(--f-body);
    font-feature-settings: "tnum" 0;
}
img { max-width: 100%; height: auto; }
a { color: var(--tread); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.05; margin: 0 0 var(--s-3); letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.125rem); }
h3 { font-size: 1.375rem; }
p { margin: 0 0 var(--s-4); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s-4); }
@media (min-width: 1000px) { :root { --wrap: 90%; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 0; background: var(--plate); color: var(--plate-ink); padding: var(--s-2) var(--s-4); z-index: 10; }
.skip:focus { left: var(--s-4); }
.lede { font-size: 1.1875rem; color: inherit; opacity: .85; max-width: 34em; }

/* Masthead with road centre line */
.masthead { background: var(--asphalt); color: var(--chalk); position: relative; }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 68px; flex-wrap: wrap; padding-top: var(--s-2); padding-bottom: var(--s-2); }
.roadline { height: 4px; background: repeating-linear-gradient(90deg, var(--chalk) 0 36px, transparent 36px 64px); opacity: .55; }
.wordmark { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--chalk); text-decoration: none; font: 600 2.25rem/1 var(--f-display); letter-spacing: .01em; }
.wordmark b { font-weight: 800; color: var(--plate); }
.wordmark-mark { width: 40px; height: 40px; }
.wordmark span { transform: translateY(-.05em); }
.footer-logo { display: block; width: auto; height: 48px; }
.mainnav { display: flex; gap: var(--s-1); flex-wrap: wrap; }
.mainnav a { color: var(--chalk-dim); text-decoration: none; font: 600 1.0625rem/1 var(--f-display); padding: .6rem .8rem; border-radius: var(--r-sm); letter-spacing: .02em; }
.mainnav a:hover, .mainnav a.is-current { color: var(--chalk); background: rgba(255, 255, 255, .06); }
.mainnav i { margin-right: .3rem; opacity: .75; }
.mainnav .nav-plate { color: var(--plate); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 700 1.125rem/1 var(--f-display); letter-spacing: .02em; padding: .85rem 1.3rem; border-radius: var(--r-sm); border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn-go { background: var(--plate); color: var(--plate-ink); border-color: #d7ad00; }
.btn-go:hover { background: #ffd51f; }
.btn-view { font-size: 1.25rem; }
.btn-view.btn-sm { font-size: 1.125rem; }
.btn-solid { background: var(--asphalt); color: var(--chalk); }
.btn-solid:hover { background: var(--asphalt-2); }
.btn-tread { background: var(--tread); color: #fff; }
.btn-tread:hover { background: #244a70; }
.btn-quiet { background: var(--tread-soft); color: var(--tread); border-color: rgba(46, 91, 136, .18); }
.btn-quiet:hover { background: rgba(46, 91, 136, .16); }
.btn-link { background: none; color: var(--ink-soft); padding-left: .5rem; padding-right: .5rem; }
.btn-sm { font-size: 1rem; padding: .6rem .95rem; }

/* Hero */
.hero { background: var(--asphalt); color: var(--chalk); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: var(--s-6); min-height: 560px; padding-top: var(--s-7); padding-bottom: var(--s-7); }
.hero h1 { color: #fff; max-width: 11em; }
.hero .lede { color: var(--chalk-dim); opacity: 1; }
.hero-tyre { position: relative; align-self: stretch; min-height: 420px; }
.sidewall { position: absolute; width: 640px; max-width: none; top: 50%; left: 0; transform: translateY(-50%); }
.sidewall .sw-main { font: 800 40px var(--f-display); fill: #4a515c; letter-spacing: 3px; }
.sidewall .sw-small { font: 700 16px var(--f-display); fill: #33383f; letter-spacing: 6px; }
.sidewall .spin { transform-origin: 300px 300px; animation: roll-in 1.4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes roll-in { from { transform: rotate(-80deg); } to { transform: rotate(0); } }

/* Number plate input */
.plate-form { display: flex; gap: var(--s-3); flex-wrap: wrap; margin: var(--s-5) 0 var(--s-6); align-items: stretch; }
.plate { display: flex; background: var(--plate); border-radius: var(--r-plate); border: 2px solid #1a1a1a; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); overflow: hidden; width: min(100%, 360px); }
.plate-band { background: var(--plate-band); color: #fff; font: 700 .875rem/1 var(--f-display); width: 42px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: calc(.55rem + 4px); gap: .35rem; }
.plate-flag { width: 28px; height: 14px; border-radius: 1px; background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 60 30%27%3E%3CclipPath id=%27s%27%3E%3Cpath d=%27M0,0 v30 h60 v-30 z%27/%3E%3C/clipPath%3E%3CclipPath id=%27t%27%3E%3Cpath d=%27M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z%27/%3E%3C/clipPath%3E%3Cg clip-path=%27url(%23s)%27%3E%3Cpath d=%27M0,0 v30 h60 v-30 z%27 fill=%27%23012169%27/%3E%3Cpath d=%27M0,0 L60,30 M60,0 L0,30%27 stroke=%27%23fff%27 stroke-width=%276%27/%3E%3Cpath d=%27M0,0 L60,30 M60,0 L0,30%27 clip-path=%27url(%23t)%27 stroke=%27%23C8102E%27 stroke-width=%274%27/%3E%3Cpath d=%27M30,0 v30 M0,15 h60%27 stroke=%27%23fff%27 stroke-width=%2710%27/%3E%3Cpath d=%27M30,0 v30 M0,15 h60%27 stroke=%27%23C8102E%27 stroke-width=%276%27/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat; }
.plate input { flex: 1; min-width: 0; width: 0; border: 0; background: transparent; color: var(--plate-ink); font: 700 2.5rem/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; padding: .45rem calc(.75rem + 42px) .45rem .75rem; text-align: center; }
.plate input::placeholder { color: rgba(22, 24, 27, .3); }
.plate input:focus { outline: none; }
.plate:focus-within { box-shadow: 0 0 0 3px var(--asphalt), 0 0 0 5px var(--plate); }
.plate-form .btn-go { font-size: 1.25rem; padding-left: 1.5rem; padding-right: 1.5rem; }

/* Sidewall code builder */
.size-form { border-top: 1px solid var(--asphalt-line); padding-top: var(--s-5); }
.size-form-intro { color: var(--chalk-dim); margin-bottom: var(--s-3); }
.code-builder { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .15rem .35rem; margin-bottom: var(--s-4); }
.seg { display: flex; flex-direction: column; align-items: center; }
.seg span { font-size: .8125rem; color: var(--chalk-dim); margin-top: .2rem; }
.seg select {
    appearance: none; -webkit-appearance: none;
    background: rgba(255, 255, 255, .05) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12 8%27%3E%3Cpath d=%27M1 1.5l5 5 5-5%27 fill=%27none%27 stroke=%27%23a8b0bb%27 stroke-width=%271.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") no-repeat right .45rem center / .7rem auto; color: #fff; border: 1px solid var(--asphalt-line); border-radius: var(--r-sm);
    font: 700 2.25rem/1 var(--f-display); padding: .3rem 1.5rem .3rem .5rem; text-align: center; text-align-last: center; cursor: pointer; min-width: 3.2ch;
}
.seg select:hover { border-color: var(--chalk-dim); }
.seg select option { color: var(--ink); background: #fff; font-size: 1rem; }
.seg-li select, .seg-s select { color: var(--chalk-dim); }
.seg-li select.has-value, .seg-s select.has-value { color: #fff; }
.code-builder .sep { font: 700 2.25rem/1 var(--f-display); color: var(--chalk-dim); padding-top: .4rem; }
.seg-li { margin-left: .6rem; }
.size-form .btn-quiet { background: rgba(255, 255, 255, .07); color: var(--chalk); border-color: var(--asphalt-line); }
.size-form .btn-quiet:hover { background: rgba(255, 255, 255, .12); }

/* Bands on the home page */
.band { padding: var(--s-7) 0; }
.band-sizes { background: var(--sidewall); border-bottom: 1px solid var(--rule); }
/* Popular sizes: equal cards that share the full width (5 / 3 / 2 across). */
.size-chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-3); }
.size-chip { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); padding: var(--s-4); border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--concrete); }
.size-chip strong { font: 700 1.625rem/1.1 var(--f-display); }
.size-chip .size-count { font-size: .875rem; color: var(--ink-soft); margin-top: .15rem; }
.size-chip:hover { border-color: var(--tread); }
.size-tiers { margin: var(--s-3) 0 0; padding-top: var(--s-2); border-top: 1px solid var(--rule); }
.size-tiers div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-2); padding: .2rem 0; }
.size-tiers dt { font-size: .9375rem; color: var(--ink-soft); }
.size-tiers dd { margin: 0; font-size: .875rem; color: var(--ink-soft); white-space: nowrap; }
.size-tiers dd b { font: 700 1.0625rem var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.size-tiers .none { color: var(--ink-faint); }
@media (max-width: 1000px) { .size-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .size-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.band-regs { border-bottom: 1px solid var(--rule); }
.reg-card { background: var(--card); }
.plate-mini { display: inline-flex; align-self: flex-start; width: auto; margin-bottom: var(--s-3); border: 0; }
.plate-mini .plate-band { width: 32px; font-size: .75rem; justify-content: center; padding: 0; gap: 2px; }
.plate-mini .plate-flag { width: 18px; height: 9px; }
.plate-mini .plate-text { font: 700 1.75rem/1 var(--f-display); color: var(--plate-ink); letter-spacing: .06em; padding: .35rem .8rem .3rem; white-space: nowrap; }
.reg-vehicle { font-size: .9375rem; line-height: 1.3; color: var(--ink-soft); margin-bottom: .25rem; }
.reg-year { color: var(--ink-faint); }
.reg-card strong { font-size: 1.375rem; }
.band-patterns { border-bottom: 1px solid var(--rule); }
.band-patterns .pattern-card { background: var(--card); }
.band-popbrands { background: var(--asphalt); color: var(--chalk); }
.band-popbrands h2 { color: var(--chalk); }
.brand-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.brand-card { display: flex; flex-direction: column; padding: var(--s-3); border: 1px solid var(--asphalt-line); border-radius: var(--r-md); background: rgba(255, 255, 255, .04); color: var(--chalk-dim); text-decoration: none; }
.brand-card:hover { border-color: var(--chalk-dim); background: rgba(255, 255, 255, .07); }
.brand-card-logo { display: flex; align-items: center; justify-content: center; height: 104px; margin-bottom: var(--s-3); border-radius: var(--r-sm); background: var(--card); }
.brand-card-logo img { max-height: 60px; max-width: 72%; width: auto; height: auto; }
.brand-card-name { font: 800 1.75rem/1 var(--f-display); color: var(--ink); }
.brand-card-sizes { font-size: .9375rem; }
.brand-card-from { margin-top: .15rem; font-size: .875rem; }
.brand-card-from b { font: 700 1.375rem var(--f-display); color: var(--chalk); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .brand-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .brand-card-logo { height: 84px; } .brand-card-logo img { max-height: 48px; } }
.band-patterns .size-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pattern-card .pattern-brand { display: flex; align-items: center; height: 22px; margin-bottom: var(--s-2); font: 700 .9375rem/1 var(--f-display); color: var(--ink-soft); }
.pattern-card .pattern-brand img { height: 22px; width: auto; max-width: 110px; object-fit: contain; object-position: left center; }
.pattern-from { margin-top: auto; padding-top: var(--s-2); font-size: .875rem; color: var(--ink-soft); }
.pattern-from b { font: 700 1.25rem var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) { .band-patterns .size-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .band-patterns .size-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pattern-links { margin-top: var(--s-4); }
.pattern-links h2 { font: 600 1rem/1.2 var(--f-body); color: var(--ink-soft); margin: 0 0 var(--s-2); }
.pattern-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pattern-chips .chip .n { color: var(--ink-faint); font-size: .8125rem; font-variant-numeric: tabular-nums; }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.tier { border-top: 3px solid var(--asphalt); padding-top: var(--s-4); }
.tier h3 a { color: var(--ink); text-decoration: none; }
.tier h3 a:hover { color: var(--tread); }
.tier > p { color: var(--ink-soft); font-size: 1rem; max-width: 28em; }
.brand-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: var(--s-4); }
.brand-list li { break-inside: avoid; }
.brand-list a { display: flex; justify-content: space-between; gap: var(--s-2); padding: .3rem 0; color: var(--ink); text-decoration: none; border-bottom: 1px dotted var(--rule); }
.brand-list a span { color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.brand-list a:hover { color: var(--tread); }

.band-anatomy { background: var(--asphalt); color: var(--chalk); }
.anatomy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--s-7); align-items: center; }
.anatomy h2 { color: #fff; }
.anatomy p { color: var(--chalk-dim); max-width: 32em; }
.band-anatomy .btn-quiet { background: rgba(255, 255, 255, .07); color: var(--chalk); border-color: var(--asphalt-line); }
.anatomy-code { display: flex; margin: 0; gap: 2px; }
.anatomy-code div { flex: 1 1 0; border-top: 3px solid var(--plate); padding-top: var(--s-3); min-width: 0; }
.anatomy-code dt { font: 800 clamp(2rem, 4.2vw, 3.25rem)/1 var(--f-display); color: #fff; }
.anatomy-code dd { margin: .4rem .5rem 0 0; font-size: .9375rem; color: var(--chalk-dim); line-height: 1.35; }

/* Results */
.results-head { background: var(--tread); color: #fff; border-bottom: 0; padding: var(--s-6) 0 var(--s-4); }
.results-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.result-count { color: var(--ink-soft); margin-bottom: var(--s-3); }
.for-vehicle { margin-bottom: var(--s-2); color: var(--ink-soft); }
.for-vehicle a { margin-left: .4rem; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { display: inline-flex; align-items: center; gap: .4rem; font-size: .9375rem; line-height: 1; padding: calc(.45rem - .05em) .7rem calc(.45rem + .05em); border-radius: 99px; background: var(--tread-soft); color: var(--tread); text-decoration: none; border: 1px solid rgba(46, 91, 136, .18); }
.chip:hover { background: rgba(46, 91, 136, .18); }
.chip i { font-size: .8em; opacity: .7; }
/* Barlow's letters sit slightly below the line's centre; drop icons to match them. */
.chip i, .tag i, .btn i { position: relative; top: .06em; }

.results-wrap { padding-top: var(--s-5); padding-bottom: var(--s-8); }
.f-group { border: 0; padding: 0 0 var(--s-4); margin: 0 0 var(--s-4); border-bottom: 1px solid var(--rule); min-width: 0; }
.f-group legend { font: 700 1.125rem/1.2 var(--f-display); padding: 0; margin-bottom: var(--s-2); }
.f-group select, .f-group input[type=number] { width: 100%; font: inherit; font-size: 1rem; padding: .5rem .6rem; border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--sidewall); color: var(--ink); }
.f-size-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.f-size-row label span { display: block; font-size: .8125rem; color: var(--ink-soft); }
.f-size-row select { font: 700 1.125rem var(--f-display); padding: .45rem .3rem; }
.check { display: flex; align-items: center; gap: .55rem; padding: .22rem 0; font-size: 1rem; cursor: pointer; }
.check input { width: 1.05rem; height: 1.05rem; accent-color: var(--tread); margin: 0; flex: none; }
.check .n { margin-left: auto; color: var(--ink-faint); font-size: .875rem; font-variant-numeric: tabular-nums; }
.brand-scroll { max-height: 260px; overflow-y: auto; padding-right: var(--s-2); }
.money-input { display: flex; align-items: center; border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--sidewall); padding-left: .6rem; }
.money-input span { color: var(--ink-soft); }
.f-group .money-input input { border: 0; background: transparent; }

.results-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-4); font-size: .9375rem; color: var(--ink-soft); }
.results-bar-right { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.results-bar select { font: inherit; padding: .5rem .6rem; border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--sidewall); color: var(--ink); }
.btn-filters { padding: .6rem 1rem; }
.count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 1.4em; height: 1.4em; line-height: 1; padding: 0 .35em .1em; border-radius: 99px; background: var(--tread); color: #fff; font-size: .8125rem; }
.view-switch { display: inline-flex; border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--sidewall); padding: 2px; }
.view-switch button { border: 0; background: transparent; color: var(--ink-faint); width: 2.4rem; height: 2.1rem; border-radius: 3px; cursor: pointer; font-size: 1rem; }
.view-switch button:hover { color: var(--ink); }
.view-switch button[aria-pressed="true"] { background: var(--tread-soft); color: var(--tread); }

/* Filters overlay */
.filters-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--concrete); color: var(--ink); }
.filters-dialog[open] { display: flex; animation: fd-in .2s ease-out; }
.filters-dialog::backdrop { background: rgba(31, 35, 42, .55); }
@keyframes fd-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.filter-form { display: flex; flex-direction: column; width: 100%; height: 100%; }
.fd-head { display: flex; justify-content: space-between; align-items: center; background: var(--asphalt); color: #fff; padding: var(--s-4) max(var(--s-4), calc((100% - var(--wrap)) / 2 + var(--s-4))); }
.fd-head h2 { margin: 0; color: #fff; }
.fd-close { border: 0; background: rgba(255, 255, 255, .08); color: var(--chalk); width: 2.6rem; height: 2.6rem; border-radius: 50%; font-size: 1.15rem; cursor: pointer; }
.fd-close:hover { background: rgba(255, 255, 255, .16); }
.fd-body { flex: 1; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--s-5) var(--s-6); align-content: start; padding: var(--s-6) max(var(--s-4), calc((100% - var(--wrap)) / 2 + var(--s-4))); }
.fd-body .f-group { border-bottom: 0; margin: 0; padding: 0; }
.fd-body .f-size { grid-column: span 2; }
.fd-body .f-brands { grid-column: 1 / -1; }
.fd-body .f-brands .brand-scroll { max-height: none; overflow: visible; columns: 4 200px; column-gap: var(--s-6); }
.fd-body .f-brands .check { break-inside: avoid; }
.fd-foot { display: flex; justify-content: flex-end; align-items: center; gap: var(--s-3); background: var(--sidewall); border-top: 1px solid var(--rule); padding: var(--s-3) max(var(--s-4), calc((100% - var(--wrap)) / 2 + var(--s-4))); }

/* Grid view (default) */
/* Grid cards: the results page in grid view, and any list with .tyre-grid (e.g. other tyres on the tyre page). */
html:not([data-view="list"]) #tyreList , .tyre-list.tyre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: var(--s-4); background: none; border: 0; border-radius: 0; }
html:not([data-view="list"]) #tyreList .tyre-row , .tyre-list.tyre-grid .tyre-row { display: flex; flex-direction: column; align-items: stretch; gap: var(--s-3); padding: var(--s-4); background: var(--sidewall); border: 1px solid var(--rule); border-radius: var(--r-md); }
html:not([data-view="list"]) #tyreList .tyre-img , .tyre-list.tyre-grid .tyre-img { width: auto; height: auto; margin: calc(-1 * var(--s-4)) calc(-1 * var(--s-4)) 0; aspect-ratio: 3 / 2; border: 0; border-bottom: 1px solid var(--rule); border-radius: calc(var(--r-md) - 1px) calc(var(--r-md) - 1px) 0 0; }
html:not([data-view="list"]) #tyreList .tyre-main , .tyre-list.tyre-grid .tyre-main { flex: 1; }
html:not([data-view="list"]) #tyreList .tyre-code , .tyre-list.tyre-grid .tyre-code { text-align: left; }
html:not([data-view="list"]) #tyreList .tyre-buy , .tyre-list.tyre-grid .tyre-buy { flex-direction: column; align-items: stretch; border-top: 1px solid var(--rule); padding-top: var(--s-3); }
html:not([data-view="list"]) #tyreList .tyre-buy .btn , .tyre-list.tyre-grid .tyre-buy .btn { width: 100%; }

.tyre-list { list-style: none; margin: 0; padding: 0; background: var(--sidewall); border: 1px solid var(--rule); border-radius: var(--r-md); }
.tyre-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 170px 190px; gap: var(--s-4); align-items: center; padding: var(--s-4); border-bottom: 1px solid var(--rule); }
.tyre-row:last-child { border-bottom: 0; }
/* Tyre photos: show the top of the tyre zoomed to fill. Hides partner banners in the bottom half and lifts pale grey backgrounds to white. */
.tyre-photo { display: block; overflow: hidden; background: #fff; }
/* The photo is pinned to all four edges of its box (sized by width + aspect-ratio or a fixed size), so every browser fills it edge to edge. */
/* height: 100% alone fails in some mobile Safari versions, which then show the photo at its natural tall size, cropped. */
.tyre-photo > img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center top; }
.tyre-photo { position: relative; }
.brand-pill { position: absolute; top: var(--s-2); right: var(--s-2); display: flex; align-items: center; padding: .35rem .6rem; border-radius: 99px; background: rgba(255, 255, 255, .94); box-shadow: 0 1px 3px rgba(28, 32, 38, .18), inset 0 0 0 1px rgba(28, 32, 38, .08); pointer-events: none; }
.brand-pill { justify-content: center; box-sizing: border-box; min-height: calc(22px + .7rem); }
.detail-img .brand-pill { min-height: calc(32px + 1rem); }
.tyre-photo .brand-pill img { display: block; width: auto; height: auto; max-height: 22px; max-width: 104px; margin: auto; filter: none; }
.detail-img .brand-pill { top: var(--s-3); right: var(--s-3); padding: .5rem .85rem; }
.detail-img .brand-pill img { max-height: 32px; max-width: 160px; }
html[data-view="list"] #tyreList .brand-pill { display: none; }
.tyre-img { width: 96px; height: 96px; border: 1px solid var(--rule); border-radius: var(--r-sm); }
.tyre-main h2, .tyre-main h3 { font: 600 1.375rem/1.15 var(--f-display); margin: 0 0 var(--s-2); }
.tyre-main h2 { font-size: 1.625rem; }
.tyre-main h2 a, .tyre-main h3 a { color: var(--ink); text-decoration: none; }
.tyre-main h2 a:hover, .tyre-main h3 a:hover { color: var(--tread); }
.tyre-main .brand { font-weight: 800; }
.tyre-code strong { display: block; font: 700 1.375rem/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.tyre-code span { font-size: .875rem; color: var(--ink-soft); }
.tyre-buy { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-2); }
.price { font: 800 1.875rem/1 var(--f-display); font-variant-numeric: tabular-nums; }

.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .8125rem; line-height: 1; padding: calc(.3rem - .05em) .5rem calc(.3rem + .05em); border-radius: var(--r-sm); background: rgba(28, 32, 38, .06); color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--tag-line, rgba(28, 32, 38, .24)); }
a.tag { text-decoration: none; transition: box-shadow .12s, filter .12s; }
a.tag:hover { box-shadow: inset 0 0 0 1.5px currentColor; filter: saturate(1.15); }
.detail-main .tags { gap: .5rem; }
.detail-main .tag { font-size: 1rem; gap: .4rem; padding: calc(.45rem - .05em) .75rem calc(.45rem + .05em); }
.tag-tier-premium, .tag-tier-midrange, .tag-tier-budget { background: #fff; --tag-line: rgba(28, 32, 38, .26); }
.tag-summer { background: var(--summer-bg); color: var(--summer); --tag-line: rgba(196, 146, 0, .55); }
.tag-summer i { color: var(--summer-sun); }
.tag-winter { background: rgba(45, 116, 180, .1); color: var(--winter); --tag-line: rgba(31, 79, 140, .45); }
.tag-allseason { background: rgba(63, 138, 90, .11); color: var(--allseason); --tag-line: rgba(47, 110, 70, .42); }
.tag-tier-premium { color: var(--ink); }

.load-more { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); margin-top: var(--s-6); }
.load-count { margin: 0; color: var(--ink-soft); font-size: .9375rem; }
.btn-load { min-width: 240px; }
.btn-load[aria-busy="true"] { opacity: .65; pointer-events: none; }
.pager { display: flex; justify-content: center; align-items: center; gap: var(--s-4); margin-top: var(--s-5); }
.pager a { font: 700 1.0625rem var(--f-display); text-decoration: none; padding: .5rem .9rem; border-radius: var(--r-sm); background: var(--tread-soft); }
.pager span { color: var(--ink-soft); }

.empty { text-align: center; padding: var(--s-7) var(--s-4); background: var(--sidewall); border: 1px dashed var(--rule); border-radius: var(--r-md); margin-bottom: var(--s-4); }
.empty > i { display: block; font-size: 4.5rem; line-height: 1; color: var(--plate); margin-bottom: var(--s-4); }
.empty p { color: var(--ink-soft); max-width: 34em; margin-left: auto; margin-right: auto; }
.empty-page { margin-top: var(--s-7); margin-bottom: var(--s-8); }

/* Vehicle */
.vehicle-head { background: var(--asphalt); color: var(--chalk); padding: var(--s-6) 0 var(--s-6); }
.vehicle-head h1 { color: #fff; }
.vehicle-head .year { color: var(--chalk-dim); font-weight: 500; }
.vehicle-head .lede { color: var(--chalk-dim); opacity: 1; margin-bottom: 0; }
.plate-form-inline { margin: 0 0 var(--s-5); }
.plate-form-inline .plate input { font-size: 2rem; }
.vehicle-body { padding-top: var(--s-6); padding-bottom: var(--s-8); }
.fitments { list-style: none; margin: 0 0 var(--s-5); padding: 0; display: grid; gap: var(--s-3); }
.fitment { background: var(--sidewall); border: 1px solid var(--rule); border-left: 4px solid var(--plate); border-radius: var(--r-sm); padding: var(--s-4) var(--s-5); }
.axle { display: grid; grid-template-columns: 124px auto minmax(0, 1fr) auto; gap: var(--s-4); align-items: center; padding: var(--s-2) 0; }
.axle + .axle { border-top: 1px dotted var(--rule); }
.axle-label { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.axle-pill { display: inline-flex; align-items: center; font: 600 .9375rem/1 var(--f-display); letter-spacing: .02em; padding: calc(.35rem - .05em) .65rem calc(.35rem + .05em); border-radius: 99px; white-space: nowrap; background: var(--axle-bg); color: var(--axle-ink); box-shadow: inset 0 0 0 1px var(--axle-line); }
.axle-front { --axle-ink: var(--tread); --axle-bg: rgba(46, 91, 136, .1); --axle-line: rgba(46, 91, 136, .22); }
.axle-rear { --axle-ink: var(--amber); --axle-bg: rgba(184, 107, 0, .1); --axle-line: rgba(184, 107, 0, .24); }
.axle-both { --axle-ink: var(--allseason); --axle-bg: rgba(63, 138, 90, .11); --axle-line: rgba(63, 138, 90, .25); }
.std-pill { display: inline-flex; align-items: center; font: 600 .9375rem/1 var(--f-display); letter-spacing: .02em; padding: calc(.35rem - .05em) .65rem calc(.35rem + .05em); border-radius: 99px; background: rgba(38, 43, 51, .07); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(38, 43, 51, .2); white-space: nowrap; }
.for-vehicle .axle-pill { margin-right: .15rem; vertical-align: .05em; }
.results-head .axle-pill { background: var(--axle-ink); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.results-head .axle-front { background: #fff; color: var(--tread); box-shadow: none; }
.axle-code { font: 800 2rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.axle-facts { color: var(--ink-soft); font-size: .9375rem; }
.note { color: var(--ink-soft); font-size: .9375rem; max-width: 46em; }
.note i { color: var(--tread); margin-right: .3rem; }

/* Tyre detail */
.tyre-detail { padding-top: var(--s-5); padding-bottom: var(--s-8); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .9375rem; color: var(--ink-soft); margin-bottom: var(--s-5); }
.crumbs i { font-size: .65rem; color: var(--ink-faint); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: var(--s-7); align-items: start; }
.detail-img { aspect-ratio: 4 / 3; border: 1px solid var(--rule); border-radius: var(--r-md); }
.detail-code { font: 700 1.75rem/1 var(--f-display); color: var(--ink-soft); margin-bottom: var(--s-3); }
.buy-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); background: var(--sidewall); border: 1px solid var(--rule); border-radius: var(--r-md); padding: var(--s-4) var(--s-5); margin: var(--s-5) 0; }
.buy-box .price { font-size: 2.5rem; display: block; }
.price-note { font-size: .9375rem; color: var(--ink-soft); }
.trust { flex: 1 1 100%; display: flex; align-items: center; gap: .6rem; margin: 0; padding-top: var(--s-3); border-top: 1px solid var(--rule); font-size: .9375rem; line-height: 1.45; color: var(--ink-soft); }
.trust b { color: var(--ink); font-weight: 600; }
.trust-stars { flex: none; display: inline-flex; gap: .12em; line-height: 1; white-space: nowrap; color: var(--allseason); font-size: 1.125rem; }
.compare-trust { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.compare-trust b { font-weight: 600; }
.compare-trust .compare-sub { margin: 0; }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-5); margin: 0 0 var(--s-5); }
.spec div { display: flex; justify-content: space-between; gap: var(--s-3); padding: .55rem 0; border-bottom: 1px solid var(--rule); }
.spec dt { color: var(--ink-soft); }
.spec dd { margin: 0; font-weight: 600; text-align: right; }
.detail-desc { color: var(--ink-soft); }
.alts { margin-top: var(--s-7); }
.alts .tyre-list { margin-bottom: var(--s-5); }
.alts-more { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s-3); }

/* Guide */
.guide { padding-top: var(--s-6); padding-bottom: var(--s-8); }
.guide-code { display: flex; flex-wrap: wrap; gap: 2px; background: var(--asphalt); color: #fff; padding: var(--s-5); border-radius: var(--r-md); margin: var(--s-5) 0 var(--s-6); }
.guide-code span { display: flex; flex-direction: column; padding: 0 var(--s-3); border-left: 3px solid var(--plate); }
.guide-code b { font: 800 clamp(2.25rem, 6vw, 4rem)/1 var(--f-display); }
.guide-code small { color: var(--chalk-dim); font-size: .9375rem; margin-top: .3rem; }
.guide-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); margin-bottom: var(--s-6); }
.guide-cols p, .guide-table > p { max-width: 36em; }
.guide-tables { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--s-6); align-items: start; }
.guide-tables table { width: 100%; }
.guide-table { margin-bottom: var(--s-6); }
.guide-table table { border-collapse: collapse; background: var(--sidewall); border: 1px solid var(--rule); font-variant-numeric: tabular-nums; min-width: min(100%, 420px); }
.guide-table th, .guide-table td { padding: .45rem 1rem; text-align: left; border-bottom: 1px solid var(--rule); }
.guide-table thead th { font: 700 1rem var(--f-display); background: var(--concrete); }
.guide-table tbody th { font-family: var(--f-display); font-size: 1.125rem; }
.load-table td + th { border-left: 1px solid var(--rule); }

/* Footer: kerb */
.kerb { background: var(--asphalt-2); color: var(--chalk-dim); border-top: 10px solid; border-image: repeating-linear-gradient(90deg, var(--chalk) 0 40px, #b9302b 40px 80px) 10; padding: var(--s-7) 0 var(--s-5); font-size: .9375rem; }
.kerb-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s-6); }
.kerb-brand p { max-width: 30em; margin-top: var(--s-3); }
.kerb h2 { font-size: 1.125rem; color: var(--chalk); margin-bottom: var(--s-2); }
.kerb-links a { display: block; color: var(--chalk-dim); text-decoration: none; padding: .2rem 0; }
.kerb-links a:hover { color: #fff; }
.kerb-note { grid-column: 1 / -1; border-top: 1px solid var(--asphalt-line); padding-top: var(--s-4); margin: 0; font-size: .875rem; max-width: none; }
.kerb-note p { margin: 0 0 .25rem; }
.kerb-note .kerb-company { margin-top: var(--s-3); }
.kerb-note .kerb-copy { margin: var(--s-3) 0 0; }

/* Responsive */
@media (max-width: 1000px) {
    .tyre-row { grid-template-columns: 80px minmax(0, 1fr) auto; }
    .tyre-img { width: 80px; height: 80px; }
    .tyre-buy { grid-column: 2 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
    .tyre-code { text-align: right; }
    .tiers { grid-template-columns: 1fr; gap: var(--s-5); }
    .brand-list { columns: 3; }
    .anatomy { grid-template-columns: 1fr; gap: var(--s-5); }
}
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-bottom: 0; gap: 0; }
    .hero-tyre { min-height: 210px; margin: 0 calc(-1 * var(--s-4)); }
    .sidewall { width: min(520px, 135vw); top: 0; left: 50%; transform: translateX(-50%); }
    .fd-body .f-size { grid-column: 1 / -1; }
    .detail-grid { grid-template-columns: 1fr; gap: var(--s-5); }
    .detail-img { max-width: 420px; }
    .guide-cols { grid-template-columns: 1fr; }
    .guide-tables { grid-template-columns: 1fr; gap: 0; }
    .kerb-inner { grid-template-columns: 1fr 1fr; }
    .kerb-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    body { font-size: 1rem; }
    .mainnav { width: 100%; justify-content: space-between; }
    .mainnav a { padding: .5rem .4rem; font-size: 1rem; }
    .plate { width: 100%; }
    .plate-form .btn-go { width: 100%; }
    .seg select { font-size: 1.75rem; }
    .code-builder .sep { font-size: 1.75rem; }
    .seg-li { margin-left: 0; }
    .tyre-row { grid-template-columns: 64px minmax(0, 1fr); gap: var(--s-3); }
    .tyre-img { width: 64px; height: 64px; }
    .tyre-code { grid-column: 2; text-align: left; }
    .brand-list { columns: 2; }
    .anatomy-code { flex-wrap: wrap; }
    .anatomy-code div { flex-basis: 30%; }
    .axle { grid-template-columns: 1fr; gap: var(--s-2); }
    .axle-label { flex-direction: row; flex-wrap: wrap; }
    .spec { grid-template-columns: 1fr; }
    .kerb-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .sidewall .spin, .filters-dialog[open] { animation: none; }
    * { scroll-behavior: auto !important; }
}
.tier-summary { color: var(--ink-soft); margin: -.4rem 0 var(--s-3); }
.tier-summary b { color: var(--ink); font-weight: 600; }

/* Partner offer card (colours set per offer via --offer-fg / --offer-bg / --offer-bd) */
.offer-card { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s-3) var(--s-5); margin: 0 0 var(--s-5); padding: var(--s-4) var(--s-5); border-radius: var(--r-md); color: var(--offer-fg); background: var(--offer-bg); border: 2px solid var(--offer-bd); }
.offer-main { flex: 1 1 260px; min-width: 0; }
.offer-name { font: 700 1.375rem/1.15 var(--f-display); margin: 0 0 .3rem; }
.offer-name i { margin-right: .2rem; }
.offer-desc { margin: 0 0 .3rem; font-size: 1rem; line-height: 1.45; }
.offer-ends { margin: 0; font-size: .875rem; opacity: .8; }
.offer-code { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.offer-code-label { font-size: .875rem; opacity: .85; }
.offer-code code { font: 700 1.25rem/1 var(--f-display); letter-spacing: .06em; padding: .45rem .75rem; border: 2px dashed var(--offer-bd); border-radius: var(--r-sm); background: transparent; color: var(--offer-fg); }
.offer-copy { display: inline-flex; align-items: center; gap: .35rem; font: 600 .9375rem var(--f-display); padding: .5rem .8rem; border-radius: var(--r-sm); border: 1px solid var(--offer-bd); background: transparent; color: var(--offer-fg); cursor: pointer; }
.offer-copy:hover { background: color-mix(in srgb, var(--offer-bd) 18%, transparent); }
.offer-terms { flex: 1 1 100%; margin: 0; padding-top: var(--s-2); border-top: 1px solid color-mix(in srgb, var(--offer-bd) 45%, transparent); font-size: .75rem; line-height: 1.45; opacity: .8; }

/* Compare: tick on tyre photos, floating bar, side-by-side table */
.tyre-media { position: relative; }
.compare-tick { position: absolute; top: var(--s-2); left: var(--s-2); z-index: 2; display: inline-flex; align-items: center; gap: .4rem; box-sizing: border-box; min-height: calc(22px + .7rem); padding: .3rem .65rem .3rem .45rem; border-radius: 99px; background: rgba(255, 255, 255, .94); box-shadow: 0 1px 3px rgba(28, 32, 38, .18), inset 0 0 0 1px rgba(28, 32, 38, .08); font: 600 .875rem/1 var(--f-body); color: var(--ink); cursor: pointer; user-select: none; }
.compare-tick input { width: 18px; height: 18px; margin: 0; accent-color: var(--tread); cursor: pointer; }
.compare-tick.is-on { background: var(--tread); color: #fff; box-shadow: 0 1px 3px rgba(28, 32, 38, .25); }
.compare-tick.is-on input { accent-color: #fff; }
.compare-tick:focus-within { box-shadow: var(--focus); }
html:not([data-view="list"]) #tyreList .compare-tick, .tyre-list.tyre-grid .compare-tick { top: calc(var(--s-2) - var(--s-4)); left: calc(var(--s-2) - var(--s-4)); }
html[data-view="list"] #tyreList .compare-tick { top: 4px; left: 4px; min-height: 0; padding: .3rem; }
html[data-view="list"] #tyreList .compare-tick span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.detail-img .compare-tick { top: var(--s-3); left: var(--s-3); min-height: calc(32px + 1rem); padding: .5rem .85rem .5rem .65rem; font-size: 1rem; }

.compare-bar { position: fixed; left: 50%; bottom: var(--s-4); transform: translateX(-50%); z-index: 50; max-width: calc(100% - 32px); padding: .45rem .5rem .45rem 1.1rem; border-radius: var(--r-md); background: var(--asphalt); color: var(--chalk); box-shadow: 0 10px 30px rgba(14, 16, 20, .3); }
.compare-bar[hidden] { display: none; }
.compare-bar-inner { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-3); }
.compare-bar-count { font: 700 1.0625rem/1.2 var(--f-display); }
.compare-bar-count i { color: var(--chalk-dim); margin-right: .2rem; }
.compare-bar-note { font: 400 .875rem var(--f-body); color: var(--chalk-dim); margin-left: .35rem; }
.compare-bar .btn-solid { background: var(--chalk); color: var(--asphalt); }
.compare-bar .btn-solid:hover { background: #fff; }
.compare-bar .btn-link { color: var(--chalk-dim); }
body.has-compare-bar { padding-bottom: 88px; }
@media (max-width: 560px) {
    .compare-bar { left: 0; right: 0; bottom: 0; transform: none; width: 100%; max-width: none; box-sizing: border-box; border-radius: var(--r-md) var(--r-md) 0 0; padding: .7rem var(--s-4) calc(.7rem + env(safe-area-inset-bottom)); }
    .compare-bar-inner { gap: var(--s-2) var(--s-3); }
    .compare-bar-count { flex: 1 1 100%; }
    .compare-bar .btn-solid { flex: 1; }
    .compare-bar .btn-link { background: rgba(255, 255, 255, .06); color: var(--chalk); border-color: rgba(255, 255, 255, .18); padding-left: 1.1rem; padding-right: 1.1rem; }
    body.has-compare-bar { padding-bottom: 116px; }
    .toast { bottom: 116px; }
}

.compare { padding-top: var(--s-6); padding-bottom: var(--s-8); }
.compare-tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin: var(--s-4) 0; }
.compare-diff { margin-right: auto; }
.compare-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--card); }
.compare-scroll { scrollbar-width: thin; scrollbar-color: rgba(28, 32, 38, .28) var(--sidewall); }
.compare-scroll:hover { scrollbar-color: rgba(28, 32, 38, .45) var(--sidewall); }
.compare-scroll::-webkit-scrollbar { height: 12px; }
.compare-scroll::-webkit-scrollbar-track { background: var(--sidewall); border-top: 1px solid var(--rule); border-radius: 0 0 var(--r-md) var(--r-md); }
.compare-scroll::-webkit-scrollbar-thumb { background: rgba(28, 32, 38, .28); border: 3px solid var(--sidewall); border-radius: 99px; }
.compare-scroll:hover::-webkit-scrollbar-thumb { background: rgba(28, 32, 38, .45); }
.compare-scroll::-webkit-scrollbar-thumb:active { background: var(--tread); }
.compare-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.compare-table th, .compare-table td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.compare-table tr > :first-child { position: sticky; left: 0; z-index: 1; min-width: 150px; width: 150px; background: var(--sidewall); border-right: 1px solid var(--rule); }
.compare-table tbody th { font: 600 .9375rem/1.3 var(--f-body); color: var(--ink-soft); }
.compare-table thead th { background: var(--card); }
.compare-head { display: flex; flex-direction: column; gap: .35rem; }
.compare-head .tyre-img { width: 100%; max-width: 280px; height: auto; aspect-ratio: 3 / 2; margin-bottom: .35rem; }
.compare-name { font: 700 1.25rem/1.15 var(--f-display); color: var(--ink); text-decoration: none; }
.compare-name .brand { display: block; font-size: .9375rem; color: var(--ink-soft); }
.compare-name:hover { color: var(--tread); }
.compare-code { font: 700 1rem var(--f-display); color: var(--ink-soft); }
.compare-remove { align-self: flex-start; font-size: .875rem; color: var(--ink-soft); }
.compare-price { font: 800 1.5rem/1 var(--f-display); }
.compare-sub { display: block; font-size: .8125rem; color: var(--ink-faint); }
.compare-gone { color: var(--ink-faint); }
.compare-best { display: table; margin-top: .35rem; padding: .25rem .5rem; border-radius: 99px; background: var(--tread-soft); color: var(--tread); font: 700 .75rem/1 var(--f-body); }
.compare-table td.is-best { background: rgba(46, 91, 136, .05); }
.compare-table.only-diff tbody tr:not(.differs):not(.compare-buy) { display: none; }
.compare-buy td, .compare-buy th { border-bottom: 0; }
@media (max-width: 560px) { .compare-table tr > :first-child { min-width: 110px; width: 110px; } }
.toast { position: fixed; left: 50%; bottom: calc(var(--s-4) + 72px); z-index: 60; width: max-content; max-width: calc(100% - 32px); box-sizing: border-box; padding: .75rem 1rem; border: 1px solid var(--rule); border-left: 4px solid var(--tread); border-radius: var(--r-md); background: var(--card); color: var(--ink); font-size: .9375rem; line-height: 1.4; box-shadow: 0 10px 30px rgba(14, 16, 20, .22); opacity: 0; transform: translate(-50%, 8px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast i { color: var(--tread); margin-right: .35rem; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* Results header on tread blue: white text, translucent white chips */
.results-head h1, .results-head .tier-summary b { color: #fff; }
.results-head .result-count, .results-head .tier-summary, .results-head .for-vehicle, .results-head .pattern-links h2 { color: rgba(255, 255, 255, .82); }
.results-head a:not(.chip) { color: #fff; }
.results-head .chip { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .28); }
.results-head .chip:hover { background: rgba(255, 255, 255, .22); }
.results-head .chip .n { color: rgba(255, 255, 255, .7); }
.results-head :focus-visible { box-shadow: 0 0 0 3px var(--tread), 0 0 0 5px #fff; }

/* Editable legal pages (privacy, terms) */
.legal { padding-top: var(--s-6); padding-bottom: var(--s-8); }
.legal-updated { color: var(--ink-faint); font-size: .9375rem; margin-bottom: var(--s-6); }
.legal h2 { font-size: 1.625rem; margin: var(--s-6) 0 var(--s-3); }
.legal h3 { font-size: 1.25rem; margin: var(--s-5) 0 var(--s-2); }
.legal p, .legal li { color: var(--ink-soft); }
.legal b { color: var(--ink); font-weight: 600; }
.legal ul { padding-left: 1.25rem; margin: 0 0 var(--s-4); }
.legal li { margin-bottom: .4rem; }
