/* Tokens mirror the SCSS variables the NOVA child template will get in Etap 3,
   so the concept carries over without a redesign. */
:root {
  --green: #8dc53e;          /* brand green, measured in logo and theme CSS */
  --green-dark: #3e6a12;     /* text/link green, 6.4:1 on white */
  --green-tint: #e8f3da;
  --graphite: #57585b;       /* second logo colour */
  --anthracite: #2b2d2f;
  --ink: #1f2421;
  --steel: #f2f3f1;
  --line: #d5d8d2;
  --plate: #e4e7e1;
  --plate-edge: #b9beb4;
  --amber: #8a5a00;
  --white: #ffffff;

  --font-text: "Barlow", "Arial Narrow", Arial, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;

  --radius: 3px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-space: clamp(48px, 7vw, 88px);
}

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-024F; }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-024F; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-024F; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-024F; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-024F; }

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-dark); text-underline-offset: 0.18em; }
::selection { background: var(--green); color: var(--ink); }
input, select { caret-color: var(--green-dark); }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
}
.skip-link:focus { top: 8px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--lg { width: 24px; height: 24px; }

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease-out, border-color 150ms ease-out;
}
.button--primary { background: var(--green); color: var(--ink); }
.button--primary:hover { background: #7db32f; }
.button--primary:disabled { background: var(--line); color: #4a4d49; cursor: not-allowed; }
.button--quiet { background: transparent; border-color: var(--graphite); color: var(--ink); }
.button--quiet:hover { background: var(--white); }
.button--small { min-height: 40px; padding: 0 14px; font-size: 1.05rem; }

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--green-dark);
  text-decoration: underline;
  cursor: pointer;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

/* Service bar */

.service-bar {
  background: var(--anthracite);
  color: #e3e6e0;
  font-size: 0.9rem;
}
.service-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.service-bar__facts { display: flex; gap: 28px; }
.service-bar__facts li { display: flex; align-items: center; gap: 8px; }
.service-bar__facts .icon { color: var(--green); }
.service-bar a { color: var(--white); text-decoration: none; font-weight: 600; }
.service-bar a:hover { text-decoration: underline; }

.lang-switch { display: flex; border: 1px solid #5d6064; border-radius: var(--radius); }
.lang-switch__option {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #e3e6e0;
  font-weight: 600;
  cursor: pointer;
}
.lang-switch__option[aria-pressed="true"] { background: var(--green); color: var(--ink); }
.lang-switch__currency { font-weight: 400; opacity: 0.8; }

.lang-note {
  max-width: var(--container);
  margin-inline: auto;
  padding: 10px var(--gutter);
  background: var(--green-tint);
  color: var(--ink);
}
.lang-note__close { margin-left: 12px; border: 0; background: none; color: var(--green-dark); text-decoration: underline; cursor: pointer; }

/* Header */

.site-header { border-bottom: 3px solid var(--green); }
.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding-block: 14px;
}
.site-header__menu { display: none; }
.site-header__logo img { width: 172px; }

.site-search { display: flex; max-width: 640px; }
.site-search__input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  border: 2px solid var(--graphite);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--white);
}
.site-search__input::placeholder { color: #6b6e68; }
.site-search__button {
  width: 58px;
  border: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--graphite);
  color: var(--white);
  cursor: pointer;
}
.site-search__button:hover { background: var(--anthracite); }

.site-header__tools { display: flex; gap: 8px; }
.tool-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.tool-link:hover { background: var(--steel); }
.tool-link__amount { font-weight: 600; color: var(--green-dark); }

/* Main navigation */

.main-nav { position: relative; background: var(--graphite); color: var(--white); }
.main-nav__inner { display: flex; align-items: stretch; gap: 8px; min-height: 52px; }
.main-nav__all {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 0;
  background: var(--anthracite);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.main-nav__all[aria-expanded="true"] { background: var(--green); color: var(--ink); }
.main-nav__quick { display: flex; align-items: center; min-width: 0; overflow: hidden; white-space: nowrap; }
.main-nav__quick a {
  display: block;
  padding: 14px 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
}
.main-nav__quick a:hover { color: var(--green); }
.main-nav__tool {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 0 4px 0 18px;
  border-left: 1px solid #6e7074;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.main-nav__tool:hover { color: var(--white); }
.tool-link--machine { line-height: 1.2; }
.tool-link--machine .icon { color: var(--green-dark); }
.tool-link__caption { display: block; font-size: 0.8rem; color: #5b5e61; font-weight: 500; }

.mega-menu {
  position: absolute;
  inset: 100% 0 auto;
  z-index: 30;
  padding-block: 28px 32px;
  background: var(--white);
  color: var(--ink);
  border-bottom: 3px solid var(--green);
  box-shadow: 0 18px 30px rgba(31, 36, 33, 0.18);
}
.mega-menu__layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 40px;
}
.mega-menu__groups { columns: 1; border-right: 1px solid var(--line); padding-right: 12px; }
.mega-menu__group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius);
  background: none;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.mega-menu__group .icon { width: 16px; height: 16px; color: #8f948a; }
.mega-menu__group[aria-current="true"] { background: var(--steel); color: var(--green-dark); font-weight: 600; }
.mega-menu__group[aria-current="true"] .icon { color: var(--green-dark); }
.mega-menu__panel .group-name { font-size: 1.7rem; }
.mega-menu__panel .group-children { columns: 3 200px; column-gap: 32px; margin-top: 14px; }
.mega-menu__panel .group-children li { break-inside: avoid; padding-block: 5px; }

/* Category group, shared by mega menu and catalog */

.group-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  text-decoration: none;
}
a.group-name:hover { color: var(--green-dark); }
.group-children { margin-top: 6px; }
.group-children li { line-height: 1.35; padding-block: 3px; }
.group-children a { color: #3b3d3f; text-decoration: none; }
.group-children a:hover { color: var(--green-dark); text-decoration: underline; }
.group-more { margin-top: 6px; font-weight: 600; }

/* Hero with the machine plate */

/* Photo from the current agramoto.de banner (800 px wide): the overlay keeps text contrast
   and hides the upscaling. A wider original is needed for the real template. */
/* The photo is sized from the width only (1780px ≈ 877px tall, enough for the tallest idle hero
   on a phone), never with `cover`: a result box below the plate grows the hero, and `cover`
   would rescale the whole photo at that moment. The extra height fades into the base colour. */
.hero {
  background:
    linear-gradient(90deg, rgba(43, 45, 47, 0.97) 0%, rgba(43, 45, 47, 0.9) 38%, rgba(43, 45, 47, 0.62) 100%),
    linear-gradient(to bottom, rgba(43, 45, 47, 0) 700px, var(--anthracite) 877px),
    url("../img/hero-maschinen.webp") center top / max(100%, 1780px) auto no-repeat,
    var(--anthracite);
  color: var(--white);
  padding-block: clamp(36px, 6vw, 72px);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.hero__intro { padding-top: 12px; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 4.1rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.hero__lead { margin-top: 18px; max-width: 34ch; font-size: 1.2rem; color: #dfe3db; }
.hero__facts {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #4a4d51;
}
.hero__facts dt { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--green); }
.hero__facts dd { color: #dfe3db; font-size: 0.98rem; }
.hero__facts a { color: var(--white); font-size: 1.25rem; font-weight: 600; text-decoration: none; }
.hero__facts a:hover { text-decoration: underline; }
.rating { font-size: 1.25rem; font-weight: 600; color: var(--white); }

/* The plate borrows from the riveted type plate on a tractor frame:
   the one place on the page where the design is allowed to be loud. */
.plate {
  --rivet: radial-gradient(circle at 40% 40%, #f7f8f5 0 1.5px, #a3a89e 2.5px 4.5px, #7f857a 5px 5.5px, transparent 6px);
  position: relative;
  padding: 26px clamp(18px, 3vw, 34px) 30px;
  border: 1px solid var(--plate-edge);
  border-radius: 8px;
  background:
    var(--rivet) left 9px top 9px / 14px 14px no-repeat,
    var(--rivet) right 9px top 9px / 14px 14px no-repeat,
    var(--rivet) left 9px bottom 9px / 14px 14px no-repeat,
    var(--rivet) right 9px bottom 9px / 14px 14px no-repeat,
    linear-gradient(180deg, #eceee9, var(--plate));
  color: var(--ink);
  box-shadow: inset 0 0 0 5px var(--plate), inset 0 0 0 6px var(--plate-edge);
}
.plate__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 24px; }
.plate__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.05;
}
.plate__tabs { display: flex; border: 1px solid var(--plate-edge); border-radius: var(--radius); background: var(--white); }
.plate__tab {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
}
.plate__tab + .plate__tab { border-left: 1px solid var(--plate-edge); }
.plate__tab[aria-selected="true"] { background: var(--graphite); color: var(--white); }
.plate__tab[aria-selected="false"]:hover { background: var(--steel); }

/* All three panels share one grid cell, so the plate (and the hero photo scaled with `cover`
   behind it) keeps the height of the tallest panel when the visitor switches tabs. */
.plate__panels { display: grid; margin-top: 22px; }
.plate__panel { grid-area: 1 / 1; }
.plate__panels > .plate__panel[hidden] { display: block !important; visibility: hidden; }
.plate__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}
.plate__field { display: grid; gap: 5px; }
.plate__field label { font-weight: 600; font-size: 0.95rem; color: #34373a; }
.plate__field select,
.plate__field input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #8f948a;
  border-radius: var(--radius);
  background-color: var(--white);
  font-size: 1.05rem;
}
.plate__field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357585b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  cursor: pointer;
}
.plate__field select:disabled { background-color: #eff0ed; color: #6b6e68; cursor: not-allowed; }
.plate__field--wide { max-width: 520px; }

.plate__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 20px;
}
.plate__hint { flex: 1 1 220px; font-size: 0.93rem; color: #45484b; }
.plate__fallback {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--plate-edge);
  font-size: 0.93rem;
  color: #45484b;
}
.plate__fallback a { font-weight: 600; white-space: nowrap; }

.fitment-result,
.number-result {
  margin-top: 22px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--plate-edge);
}
.fitment-result:focus, .number-result:focus { outline: none; }
.fitment-result__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; align-items: baseline; }
.fitment-result__title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; line-height: 1.15; }
.fitment-result__total { color: #45484b; }
.fitment-result__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin-top: 12px;
}
.fitment-result__list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.fitment-result__list a:hover { color: var(--green-dark); }
.fitment-result__count { color: #5b5e61; }
.fitment-result__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 18px; }
.fitment-result__note { margin-top: 14px; font-size: 0.88rem; color: #5b5e61; }
.number-result__name { font-weight: 600; }
.number-result__meta { margin-top: 4px; color: #45484b; }

/* Sections */

.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 32px; margin-bottom: 28px; }
.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.05;
}
.section-head__text { color: #45484b; max-width: 60ch; }

.catalog { padding-block: var(--section-space); }
.catalog__groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.catalog__groups > li {
  padding: 22px 24px 24px 0;
  border-bottom: 1px solid var(--line);
}
.catalog__groups > li:not(:nth-child(3n + 1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.catalog__groups .group-children { columns: 2; column-gap: 16px; }
.catalog__groups .group-children li { break-inside: avoid; font-size: 0.97rem; }

.products { padding-block: var(--section-space); background: var(--steel); }
.product-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.product-tile {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.product-tile__link { color: var(--ink); text-decoration: none; }
.product-tile__link:hover .product-tile__name { color: var(--green-dark); text-decoration: underline; }
.product-tile__image { width: 100%; aspect-ratio: 1; object-fit: contain; }
.product-tile__name { margin-top: 12px; font-size: 1.08rem; font-weight: 600; line-height: 1.3; }
.product-tile__fit { margin-top: 6px; font-size: 0.95rem; color: #3b3d3f; line-height: 1.4; }
.product-tile__number { margin-top: 6px; font-size: 0.9rem; color: #5b5e61; }
.product-tile__stock { margin-top: 10px; padding-left: 16px; font-size: 0.92rem; font-weight: 500; color: var(--green-dark); position: relative; }
.product-tile__stock::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}
.product-tile__stock--short { color: var(--amber); }
.product-tile__stock--order { color: #45484b; }
.product-tile__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}
.product-tile__price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }
.products__note { margin-top: 16px; font-size: 0.88rem; color: #5b5e61; }

.measure { padding-block: var(--section-space); }
.measure__intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-bottom: 32px;
}
.measure__intro p { margin-top: 14px; max-width: 58ch; color: #3b3d3f; }
.measure__drawing { width: 100%; max-width: 600px; justify-self: end; }
.measure__drawing figcaption { margin-top: 8px; font-size: 0.88rem; color: #5b5e61; }
.measure__note { margin-top: 14px; font-size: 0.88rem; color: #5b5e61; }

/* The overlay is drawn in the photo's own pixel grid (2570 px wide), so the label size is set
   in those units (about 19 px on screen at 600 px) and line widths stay fixed via non-scaling-stroke. */
.measure__drawing--spring { --label-size: 82px; }
.drawing__dimension { stroke: var(--green-dark); stroke-width: 3; vector-effect: non-scaling-stroke; }
.drawing__guide { stroke: var(--green-dark); stroke-width: 1.5; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.drawing__label {
  fill: var(--ink);
  font-family: var(--font-display);
  font-size: var(--label-size);
  font-weight: 700;
  text-anchor: middle;
  paint-order: stroke;
  stroke: var(--white);
  stroke-width: 0.2em;
}

.facet-preview__label {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--graphite);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.facet-preview { border: 2px solid var(--graphite); border-radius: 0 var(--radius) var(--radius) var(--radius); background: var(--white); }
.facet-preview__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 12px 20px;
  background: var(--steel);
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.facet-preview__path { color: #45484b; }
.facet-preview__count { font-weight: 600; }
.facet-preview__body { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.facet-preview__filters { padding: 10px 20px 20px; border-right: 1px solid var(--line); }
.facet-preview__active { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.facet-preview__active:not(:empty) { padding-block: 10px; border-bottom: 1px solid var(--line); }
.facet-group { border-bottom: 1px solid var(--line); }
.facet-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.facet-group summary::-webkit-details-marker { display: none; }
.facet-group summary .icon { transform: rotate(90deg); transition: transform 150ms ease-out; }
.facet-group:not([open]) summary .icon { transform: none; }
.facet-group__values { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 12px; }
.facet-chip {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #b3b8ae;
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.95rem;
  cursor: pointer;
}
.facet-chip:hover:not(:disabled) { border-color: var(--graphite); }
.facet-chip[aria-pressed="true"] { background: var(--green); border-color: var(--green-dark); font-weight: 600; }
.facet-chip:disabled { color: #9a9d97; border-style: dashed; cursor: not-allowed; }
.facet-chip__count { margin-left: 4px; color: #5b5e61; font-size: 0.85em; }
.facet-chip[aria-pressed="true"] .facet-chip__count { color: var(--ink); }
.facet-chip:disabled .facet-chip__count { color: inherit; }
.facet-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: var(--radius);
  background: var(--green-tint);
  font-size: 0.9rem;
  cursor: pointer;
}
.facet-active-chip .icon { width: 14px; height: 14px; }

.facet-preview__results { padding: 4px 20px 20px; }
.spring-list li {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.spring-list__image { width: 170px; height: auto; }
.spring-list__name { font-weight: 600; line-height: 1.3; }
.spring-list__specs { margin-top: 2px; font-size: 0.92rem; color: #45484b; }
.spring-list__number { margin-top: 2px; font-size: 0.85rem; color: #5b5e61; }
.spring-list__buy { display: grid; justify-items: end; gap: 6px; }
.spring-list__price { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.spring-list__empty { padding-block: 24px; color: #45484b; }
.facet-preview__more { margin-top: 14px; }

.makers { padding-block: 0 var(--section-space); }
.makers__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.makers__list a {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* Grey until hovered, so the makers' brand colours do not fight the Agramoto green. */
.makers__list img {
  width: auto;
  max-width: min(100%, 150px);
  height: auto;
  max-height: 44px;
  filter: grayscale(1) contrast(0.85);
  opacity: 0.7;
  transition: filter 150ms ease-out, opacity 150ms ease-out;
}
.makers__list a:hover img,
.makers__list a:focus-visible img { filter: none; opacity: 1; }
.makers__more { margin-top: 18px; color: #45484b; }

.service { padding-block: var(--section-space); background: var(--green-tint); }
.service__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: clamp(24px, 4vw, 48px); }
.service__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.15; margin-bottom: 10px; }
.service__block--call .service__title { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.service__block p + p { margin-top: 10px; }
.service__phone a { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.service__phone a:hover { color: var(--green-dark); }
.service__small { font-size: 0.95rem; color: #3b3d3f; }
.pay-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.pay-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 60px;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid #c3cfb4;
  border-radius: var(--radius);
}
.pay-list img { width: auto; max-width: 100%; height: auto; max-height: 26px; }
.pay-list__text { font-weight: 600; font-size: 0.95rem; }
.pay-list__text .icon { color: var(--green-dark); }

/* Footer */

.site-footer { background: var(--anthracite); color: #dfe3db; padding-top: 56px; }
.site-footer a { color: #dfe3db; }
.site-footer a:hover { color: var(--white); }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr);
  gap: 32px;
  padding-bottom: 40px;
}
.site-footer__title { margin-bottom: 12px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--green); }
.site-footer li + li { margin-top: 6px; }
.site-footer p + p { margin-top: 10px; }
.site-footer__phone { font-size: 1.3rem; font-weight: 600; text-decoration: none; }
.newsletter__row { display: flex; margin-top: 12px; }
.newsletter__row input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--white);
  color: var(--ink);
}
.newsletter__row .button { border-radius: 0 var(--radius) var(--radius) 0; }
.newsletter__consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 0.92rem; }
.newsletter__consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--green); }
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px 28px;
  border-top: 1px solid #45484b;
  font-size: 0.88rem;
  color: #b9bdb5;
}
.site-footer__legal p:first-child { max-width: 78ch; }

/* Mobile navigation drawer */

.mobile-nav { position: fixed; inset: 0; z-index: 50; background: rgba(31, 36, 33, 0.55); }
.mobile-nav__panel {
  width: min(88vw, 380px);
  height: 100%;
  overflow-y: auto;
  background: var(--white);
  padding-bottom: 32px;
}
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 20px;
  background: var(--graphite);
  color: var(--white);
}
.mobile-nav__head .icon-button { color: var(--white); }
.mobile-nav__title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.mobile-nav__list details { border-bottom: 1px solid var(--line); }
.mobile-nav__list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.mobile-nav__list summary::-webkit-details-marker { display: none; }
.mobile-nav__list summary .icon { transition: transform 150ms ease-out; }
.mobile-nav__list details[open] summary .icon { transform: rotate(90deg); }
.mobile-nav__list .group-children { margin: 0; padding: 0 20px 14px 32px; }
.mobile-nav__list .group-children a { display: block; padding-block: 6px; }
.mobile-nav__service { padding: 18px 20px 0; }
.mobile-nav__service a { display: block; padding-block: 8px; color: var(--ink); }

/* Responsive */

.service-bar__facts li, .lang-switch__option { white-space: nowrap; }

@media (max-width: 1180px) {
  .service-bar__facts .service-bar__optional:last-child { display: none; }
  .main-nav__quick li:nth-child(n + 5) { display: none; }
  .product-row { gap: 14px; }
  .facet-preview__body { grid-template-columns: 260px minmax(0, 1fr); }
  .spring-list li { grid-template-columns: 120px minmax(0, 1fr) auto; gap: 14px; }
  .spring-list__image { width: 120px; }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog__groups > li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .catalog__groups > li:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
  .product-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .measure__intro { grid-template-columns: minmax(0, 1fr); }
  .measure__drawing { justify-self: start; }
  .facet-preview__body { grid-template-columns: minmax(0, 1fr); }
  .facet-preview__filters { border-right: 0; border-bottom: 1px solid var(--line); }
  .service__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service__block--call { grid-column: 1 / -1; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-link__label { display: none; }
}

@media (max-width: 760px) {
  .service-bar__facts .service-bar__optional { display: none; }
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 8px 12px;
    padding-block: 8px 12px;
  }
  .site-header__menu { display: inline-grid; margin-left: -10px; }
  .site-header__logo img { width: 124px; }
  .site-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .site-header__tools { gap: 0; }
  .tool-link { padding: 0 8px; }
  .tool-link__amount { font-size: 0.9rem; }
  .main-nav { display: none; }

  .service-bar__inner { min-height: 48px; }
  .service-bar__facts a { display: inline-block; padding-block: 12px; }
  .lang-switch__option { min-height: 44px; }

  .hero { padding-block: 28px 32px; }
  .hero__lead { font-size: 1.08rem; }
  .hero__facts { display: block; margin-top: 14px; padding-top: 0; border-top: 0; }
  .hero__facts > div:first-child,
  .hero__facts dt,
  .hero__facts br { display: none; }
  .hero__facts .rating { font-size: 1.05rem; }
  .service-bar__label { display: none; }
  .plate { padding: 22px 14px 24px; }
  .plate__tabs { width: 100%; }
  .plate__tab { flex: 1; justify-content: center; padding: 0 6px; white-space: nowrap; }
  .plate__tab .icon { display: none; }
  .plate__fields { gap: 10px; }
  .plate__field select { padding: 0 32px 0 10px; background-position: right 8px center; font-size: 1rem; }
  .plate__actions .button { width: 100%; }
  .fitment-result { padding: 16px; }
  .fitment-result__list { grid-template-columns: minmax(0, 1fr); }
  .fitment-result__actions .button { flex: 1 1 100%; }

  .catalog__groups { gap: 0 16px; }
  .catalog__groups > li,
  .catalog__groups > li:nth-child(2n) { padding: 0; border-left: 0; }
  .catalog__groups .group-name { display: flex; align-items: center; min-height: 52px; font-size: 1.15rem; }
  .catalog__groups .group-children,
  .catalog__groups .group-more { display: none; }

  .product-row {
    grid-template-columns: repeat(4, 72%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .product-tile { scroll-snap-align: start; }
  .spring-list li { grid-template-columns: 110px minmax(0, 1fr); gap: 8px 14px; }
  .spring-list__image { width: 110px; }
  .spring-list__buy { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .facet-preview__bar, .facet-preview__filters, .facet-preview__results { padding-inline: 14px; }
  .makers__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .makers__list a { min-height: 88px; padding: 16px; }
  .service__grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; scroll-behavior: auto !important; }
}
