:root {
  color-scheme: light;
  --ink: #171b20;
  --muted: #505961;
  --border: #dce1e5;
  --page: #f3f5f7;
  --accent: #b51a2c;
  --accent-hover: #971525;
  --focus: #2265ad;
  --surface: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  color: var(--ink);
  background: var(--page);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
button, select, input { font: inherit; }
button, select { touch-action: manipulation; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.wrap { width: min(100% - 3rem, 68rem); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
.skip-link {
  position: fixed;
  inset: .5rem auto auto .5rem;
  transform: translateY(-150%);
  z-index: 3;
  background: var(--surface);
  color: var(--ink);
  padding: .5rem .85rem;
}
.skip-link:focus { transform: none; }

.masthead { background: #14171b; color: #fff; }
.masthead-inner {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  border-left: 4px solid #e42d43;
  padding-left: .72rem;
  font-size: 1.24rem;
  font-weight: 780;
  letter-spacing: -.05em;
  white-space: nowrap;
}
.wordmark span { font-weight: 480; }
.location { color: #d6dbe0; font-size: .9rem; }

.intro { background: var(--surface); border-bottom: 1px solid var(--border); }
.intro-inner { padding-block: 2.45rem 1.85rem; }
h1 { font-size: clamp(2.15rem, 5vw, 3.25rem); letter-spacing: -.055em; line-height: 1.05; }
.intro h1 + p { color: var(--muted); margin-top: .8rem; font-size: 1.04rem; }
.lp-pneus .online-saving {
  margin: 1rem 0 0;
  padding: .75rem 1rem;
  border-inline-start: 4px solid var(--accent);
  border-radius: .25rem;
  background: #fff3f4;
  color: #44242a;
  line-height: 1.5;
}
.online-saving strong { color: #891526; }
.demo-note { margin-top: 1.12rem; font-size: .88rem; color: var(--muted); }
.demo-note strong { color: var(--ink); }

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.22fr);
  gap: 1.35rem;
  align-items: start;
  padding-block: 1.65rem 2.65rem;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: .82rem;
  box-shadow: 0 3px 13px #17202b06;
}
.config { padding: 1.4rem; }
h2 { font-size: 1.27rem; letter-spacing: -.025em; line-height: 1.3; }
.config form { display: grid; gap: 1.12rem; margin-top: .95rem; }
.field-legend { font-size: .9rem; font-weight: 650; margin-bottom: .35rem; }
.choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .3rem;
  padding: .28rem;
  background: #f0f2f4;
  border: 1px solid var(--border);
  border-radius: .62rem;
}
.choices label { display: block; position: relative; cursor: pointer; min-width: 0; }
.choices input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choices span {
  display: block;
  min-height: 2.72rem;
  padding: .61rem .22rem;
  text-align: center;
  border-radius: .44rem;
  font-size: .94rem;
  font-weight: 630;
  color: #434a52;
}
.choices input:checked + span { background: #222830; color: #fff; }
.choices input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 1px; }
.measurements { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); gap: .8rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 650; font-size: .9rem; }
.field select, .field input[type="date"], .field input[type="search"] {
  width: 100%;
  min-height: 2.85rem;
  padding: .52rem .68rem;
  border: 1px solid #bac2c8;
  border-radius: .48rem;
  background-color: var(--surface);
  color: var(--ink);
  font-size: 1rem;
}
.field select {
  appearance: none;
  padding-right: 1.95rem;
  background: linear-gradient(45deg, transparent 50%, #303942 50%) right .95rem center / .25rem .25rem no-repeat,
              linear-gradient(135deg, #303942 50%, transparent 50%) right .7rem center / .25rem .25rem no-repeat,
              var(--surface);
}
.field select:disabled { background-color: #f3f5f7; color: var(--muted); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .56rem .95rem;
  min-height: 2.75rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  font-weight: 660;
  font-size: .95rem;
  text-align: center;
  cursor: pointer;
}
.primary { background: var(--accent); color: #fff; }
.primary:hover { background: var(--accent-hover); }
.primary:disabled { background: #d7dce0; color: #444e57; cursor: wait; }
.outline { border-color: #bac2c8; background: var(--surface); color: var(--ink); }
.outline:hover { background: #f3f5f7; border-color: #737e88; }

.lp-pneus .intro .button, .lp-pneus #vehicle-prices { margin-block: .7rem .25rem; text-decoration: none; }
.lp-pneus a.button.primary { color: white; }
.lp-pneus #options .request { background: var(--accent); color: white; border-color: var(--accent); }
.lp-pneus #options .request:hover { background: var(--accent-hover); }
.results { min-width: 0; padding: .1rem 0; }
.summary { min-height: 1.45rem; color: var(--muted); font-size: .91rem; margin: .32rem 0 .76rem; }
.options { display: grid; gap: .7rem; }
.option { padding: .92rem 1.08rem; }
.option-top { display: flex; justify-content: space-between; gap: .7rem; align-items: flex-start; }
h3 { font-size: 1.05rem; line-height: 1.3; letter-spacing: -.015em; }
.option-sizes { color: var(--muted); font-size: .875rem; margin-top: .25rem; }
.option-sizes span { display: block; }
.option-sizes span + span { margin-top: .15rem; }
.price { text-align: right; white-space: nowrap; }
.price strong { display: block; font-size: clamp(1.37rem, 3.2vw, 1.72rem); letter-spacing: -.04em; line-height: 1.14; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: .825rem; }
.breakdown { display: grid; gap: .12rem; margin-top: .52rem; padding-block: .45rem; border-block: 1px solid var(--border); }
.breakdown > div { display: flex; align-items: baseline; justify-content: space-between; gap: .65rem; font-size: .9rem; }
.breakdown dt { color: var(--muted); }
.breakdown dd { white-space: nowrap; font-weight: 600; }
.option-footer { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding-top: .6rem; }
.deposit-line { font-size: .91rem; color: var(--muted); white-space: nowrap; }
.deposit-line strong { color: var(--ink); margin-left: .18rem; }
.manual { padding: 1.15rem; }
.manual p { color: var(--muted); margin: .45rem 0 1rem; }

dialog {
  width: min(100% - 2rem, 30rem);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: .82rem;
  box-shadow: 0 16px 70px #171b2040;
  color: var(--ink);
}
dialog::backdrop { background: #171b2070; }
.dialog-body { padding: 1.35rem; }
.dialog-body p { color: var(--muted); margin-top: .5rem; }
.dialog-body .breakdown { margin-block: .9rem; }
.dialog-body .breakdown dd { min-width: 0; white-space: normal; text-align: right; overflow-wrap: anywhere; }
.dialog-body .breakdown > div:last-child { padding-top: .18rem; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; margin-top: 1rem; }
.dialog-body .field-help { margin-top: 0; font-size: .87rem; }

@media (max-width: 48rem) {
  .wrap { width: min(100% - 2rem, 33rem); }
  .intro-inner { padding-block: 1.8rem 1.45rem; }
  .quote-layout { grid-template-columns: 1fr; gap: 1.25rem; padding-top: 1.15rem; }
}

@media (max-width: 24rem) {
  .wrap { width: calc(100% - 1.5rem); }
  .masthead-inner { min-height: 3.75rem; }
  .location { font-size: .78rem; text-align: right; }
  .config { padding: 1.05rem; }
  .option { padding-inline: .85rem; }
  .option-footer { flex-wrap: wrap; }
}

.search-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vehicle-fields { display: grid; gap: .8rem; }
.vehicle-spec {
  background: #f0f2f4;
  border-radius: .48rem;
  padding: .65rem .75rem;
  font-size: .9rem;
}
.vehicle-spec > p:first-child { font-weight: 650; }
.vehicle-spec a { text-decoration: underline; }
.field { min-width: 0; }

.tyre-preview {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  margin-top: .75rem;
  padding: .48rem .7rem;
  background: #f5f6f7;
  border: 1px solid var(--border);
  border-radius: .48rem;
  color: var(--ink);
  text-align: left;
  font-size: .88rem;
  font-weight: 650;
  cursor: pointer;
}
.tyre-preview:hover { background: #edf0f2; }
.tyre-preview-images { display: flex; gap: .2rem; }
.tyre-preview-images:empty { display: none; }
.tyre-preview img { width: 3rem; height: 3rem; object-fit: contain; background: #fff; border-radius: .25rem; }
#tyre-details { width: min(94vw, 48rem); max-height: 90dvh; }
.tyre-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .85rem; margin-top: .8rem; }
.tyre-detail { min-width: 0; border: 1px solid var(--border); padding: .8rem; border-radius: .5rem; }
.tyre-detail figure { margin: .55rem 0 0; }
.tyre-full-size { display: block; text-align: center; background: #f5f6f7; border-radius: .45rem; }
.tyre-full-size img { width: 100%; height: auto; max-height: 19rem; aspect-ratio: 1; object-fit: contain; }
.tyre-detail .breakdown { margin-block: .6rem; }
.tyre-image-credit { font-size: .82rem; }
.tyre-image-credit { color: var(--muted); margin-top: .3rem; }
.manufacturer-profile { margin-top: .85rem; padding: .8rem 1rem; border-radius: .5rem; background: #f3f5f7; }
.manufacturer-profile ul { margin: .4rem 0; padding-inline-start: 1.2rem; }
.manufacturer-profile li + li { margin-top: .25rem; }
.manufacturer-profile a { display: inline-block; padding-block: .35rem; font-size: .94rem; }
.tyre-detail h4 { margin: .7rem 0 0; font-size: .93rem; }
.tyre-detail .tyre-campaign { margin: .65rem 0; font-size: .9rem; }


.tyre-full-size { width: 100%; padding: 0; border: 0; cursor: zoom-in; }
#photo-dialog { width: min(96vw, 56rem); max-height: 94dvh; }
#large-photo img { display: block; width: 100%; max-height: 72dvh; object-fit: contain; }
.rating { margin-top: .75rem; border-top: 1px solid var(--border); padding-top: .65rem; }
.rating-title { font-weight: 700; font-size: .94rem; }
.rating-context { color: var(--muted); font-size: .88rem; }
.rating-scale { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; margin-top: .45rem; }
.rating-scale dt { font-size: .87rem; font-weight: 650; }
.rating-scale dd { margin-top: .2rem; color: var(--muted); font-size: .85rem; }
.rating-track { display: flex; gap: 2px; margin-block: .2rem; }
.rating-track i { flex: 1; background: #dce1e5; height: .36rem; border-radius: 2px; }
.rating-track i.active { background: #962739; }
.rating-detail { border: 1px solid var(--border); background: #fafbfc; padding: .8rem 1rem; border-radius: .55rem; }
.rating-detail .rating-title { font-size: 1.05rem; }
.rating-detail details { margin-top: .65rem; color: var(--muted); font-size: .88rem; }
.rating-detail summary { cursor: pointer; }
.mileage { padding: .6rem 0; }
.mileage h4 { margin: 0; }
.mileage p { font-size: .9rem; margin-top: .25rem; }
.mileage a { font-size: .85rem; }
@media (max-width: 24rem) {
  .rating-scale { gap: .4rem; }
  .rating-scale dt { font-size: .82rem; }
}
.mileage details { font-size: .88rem; margin-top: .5rem; }
.mileage summary { cursor: pointer; }

#vehicle-refine summary { cursor: pointer; color: var(--muted); font-size: .9rem; }
#vehicle-refine .measurements { margin-top: .55rem; }
.lp-pneus #manual-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 100%;
  min-height: 44px;
  margin: 0 auto;
  padding: .65rem 1rem;
  border: 1px solid var(--accent);
  border-radius: .5rem;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  text-align: center;
  white-space: normal;
}
.lp-pneus #manual-hint:hover { background: var(--accent-hover); }
.lp-pneus #manual-hint:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.measure-search-link { justify-self: start; border: 0; padding: .3rem 0; background: none; color: var(--muted); font-size: .9rem; text-decoration: underline; text-underline-offset: .15em; text-align: left; cursor: pointer; }

#slot-field { margin-top: .55rem; }
.slot-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; }
.slot-options label { position: relative; display: grid; align-content: center; justify-items: center; gap: .05rem; min-height: 3.1rem; padding: .25rem .1rem; background: white; border: 1px solid #aeb8bf; border-radius: .45rem; cursor: pointer; }
.slot-options label:has(input:checked) { background: #222830; border-color: #222830; color: white; }
.slot-options label:has(input:disabled) { background: #f0f2f4; color: #555e67; border-color: #dce1e5; cursor: default; }
.slot-options input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: inherit; }
.slot-options label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.slot-options small { font-size: .68rem; font-weight: 500; text-align: center; }

.masthead a{color:white;text-decoration:none}.masthead .location{text-decoration:underline}.customer{margin-top:1rem}.customer legend{font-weight:700}.customer input{border:1px solid #aeb8bf;border-radius:.45rem;padding:.5rem;font:inherit}.workshop{padding-block:1.5rem 2.5rem}.workshop p{margin:.5rem 0}.workshop a{color:#8e1826;font-weight:650}.dialog-body{background:white} .wordmark{color:white}

@media (max-width: 48rem) {
  .lp-pneus .quote-layout, .lp-pneus .options { grid-template-columns: minmax(0, 1fr); }
  .lp-pneus .results { text-align: center; }
  .lp-pneus .option { width: 100%; min-width: 0; margin-inline: auto; }
  .lp-pneus .option-top, .lp-pneus .option-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .lp-pneus .option-top > div { max-width: 100%; overflow-wrap: anywhere; }
  .lp-pneus .option .price { text-align: center; }
  .lp-pneus .option .tyre-preview { justify-content: center; text-align: center; flex-wrap: wrap; }
  .lp-pneus .option .breakdown { text-align: start; }
  .lp-pneus .option .deposit-line { margin: 0; white-space: normal; }
  .lp-pneus .option-footer .request {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 22rem);
    min-height: 48px;
    margin: .25rem auto 0;
    text-align: center;
    white-space: normal;
  }
}
