/* =========================================================================
   JanMoto – site styles
   Design: "yellow sign with race plates"
   - logo yellow is a surface (hero, page heads, footer), not just an accent
   - white catalogue, real black type, one graphite band for used bikes / trade-in
   - prices and licence categories sit on motocross number plates (--plate radius)
   - chequered finish-line strip under the hero and above the footer
   - Unbounded 800 for display, Onest for everything else (both with Cyrillic)
   ========================================================================= */

/* Onest: variable 400–800. Unbounded: one static weight (800). latin + latin-ext + cyrillic */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/onest-400-800-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/onest-400-800-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/onest-400-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/unbounded-800-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/unbounded-800-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/unbounded-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* colour */
  --y: #fcd809;          /* exact yellow of the JanMoto logo */
  --y-hi: #ffe44d;       /* hover on yellow (lighter, never orange) */
  --y-soft: #fff5b8;     /* selected / info tint */
  --k: #000;             /* ink: real black, like the logo */
  --w: #fff;
  --g: #232527;          /* graphite: the one dark band, compare bar, photo wells */
  --g-2: #2e3135;
  --g-3: #43474c;
  --g-line: rgba(255, 255, 255, .16);
  --g-mute: #b9bcbf;
  --bg: #fff;
  --bg-2: #f4f4f1;       /* alternate section */
  --well: #efefec;       /* product image wells (photos are shot on white and multiplied) */
  --line: #dcdcd6;
  --line-2: #bfbfb7;     /* form field borders */
  --mute: #5b5a52;       /* 4.9:1 on yellow, 6.9:1 on white */
  --sale: #d9261c;
  --green: #168a49;
  --wa: #25d366;
  /* shape */
  --r: 18px;
  --r-sm: 12px;
  --plate: 14px 14px 6px 6px;      /* motocross number plate */
  --plate-lg: 26px 26px 10px 10px;
  --bw: 2px;
  --hard: 5px 5px 0 var(--k);
  /* type */
  --fd: "Unbounded", "Arial Black", system-ui, sans-serif;
  --fb: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* layout */
  --hdr: 80px;
  --gut: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; font-family: var(--fb); font-size: 16.5px; line-height: 1.55; color: var(--k); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--k); outline-offset: 3px; }
.usedband :focus-visible, .cmpbar :focus-visible, .lightbox :focus-visible, .sell__card--dark :focus-visible, .catcard--used:focus-visible { outline-color: var(--y); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--y); color: var(--k); padding: 10px 16px; border-radius: 99px; border: var(--bw) solid var(--k); font-weight: 700; }
.skip:focus { left: 8px; }
.muted { color: var(--mute); }
.small { font-size: .88rem; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.hp { position: absolute; left: -5000px; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }
.lead { font-size: 1.15rem; }

/* chequered finish-line strip (hero bottom, footer top) */
.flagline { height: 18px; border-block: var(--bw) solid var(--k); background: repeating-conic-gradient(var(--k) 0 25%, var(--w) 0 50%) 0 0 / 14px 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; max-width: 100%; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 10px 22px; border-radius: 99px; border: var(--bw) solid var(--k);
  font-family: var(--fb); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s, background .12s, color .12s, border-color .12s, box-shadow .12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--k); }
.btn:active { transform: none; box-shadow: none; }
.btn small { font-size: .8rem; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: rgba(0,0,0,.1); }
.btn--y { background: var(--y); color: var(--k); }
.btn--y:hover { background: var(--y-hi); }
.btn--dark, .btn--k { background: var(--k); color: var(--w); }
.btn--dark small, .btn--k small { background: var(--y); color: var(--k); }
.btn--outline { border-color: rgba(255,255,255,.6); color: var(--w); background: transparent; }
.btn--outline:hover { border-color: var(--y); color: var(--y); box-shadow: 3px 3px 0 var(--y); }
.btn--outline small { background: rgba(255,255,255,.16); }
.btn--ghost-d { background: var(--w); color: var(--k); }
.btn--wa { background: var(--wa); color: var(--k); }
.btn--lg { min-height: 56px; font-size: 1.08rem; padding: 12px 26px; }
/* used bikes in the hero: graphite like the used band, with photos of the owner's listings */
.btn--used { background: var(--g); color: var(--w); }
.btn--used:hover { background: var(--k); }
.btn--used small { background: var(--y); color: var(--k); }
.btn__thumbs { display: inline-flex; margin-left: -8px; }
.btn__thumbs img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: var(--bw) solid var(--g); background: var(--g-2); }
.btn__thumbs img + img { margin-left: -10px; }
.btn--block { width: 100%; }
.more { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: var(--bw) solid var(--k); border-radius: 99px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .12s; }
.more:hover { background: var(--y); }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--w); color: var(--k); height: var(--hdr); border-bottom: var(--bw) solid var(--k); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 20px; }
.hdr__logo { flex: none; display: flex; align-items: center; height: 100%; }
.hdr__logo img { height: 64px; width: auto; transition: height .2s; }
.hdr.is-scrolled .hdr__logo img { height: 54px; }
.nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; height: var(--hdr); display: flex; align-items: center; }
.nav__link {
  display: flex; align-items: center; min-height: 40px; padding: 6px 13px; border-radius: 99px;
  font-weight: 600; font-size: 1rem; text-decoration: none; color: var(--k); white-space: nowrap; transition: background .12s;
}
.nav__link:hover, .has-sub:hover > .nav__link { background: var(--well); }
.nav__link.is-active { background: var(--y); }
.nav__link--sell { box-shadow: inset 0 0 0 var(--bw) var(--k); }
.nav__sub {
  position: absolute; top: calc(100% - 10px); left: 50%; translate: -50% 0; min-width: 330px; z-index: 5;
  background: var(--w); color: var(--k); border: var(--bw) solid var(--k); border-radius: var(--r); box-shadow: 6px 6px 0 var(--k); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
  display: grid; gap: 2px;
}
.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: flex; align-items: center; gap: 12px; padding: 6px 10px 6px 6px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.nav__sub a:hover { background: var(--y); }
.nav__sub img { width: 64px; height: 48px; object-fit: contain; background: var(--well); border-radius: 8px; mix-blend-mode: multiply; }
.nav__sub a:hover img { background: transparent; }
.nav__sub span { display: flex; flex-direction: column; line-height: 1.2; }
.nav__sub small { font-weight: 500; color: var(--mute); font-size: .8rem; }
.nav__sub a:hover small { color: var(--k); }
.nav__sub .nav__acc { border-top: 1px dashed var(--line-2); margin-top: 4px; padding-top: 10px; border-radius: 0 0 12px 12px; }
.nav__sub .nav__all { justify-content: space-between; padding: 12px; margin-top: 4px; background: var(--k); color: var(--w); }
.nav__sub .nav__all:hover { background: var(--g-2); }
.nav__mobile-cta { display: none; }
.hdr__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.hdr__wa, .hdr__cart, .hdr__search, .hdr__burger {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  color: var(--k); background: var(--well); text-decoration: none; position: relative; transition: background .12s;
}
.hdr__wa:hover, .hdr__cart:hover, .hdr__search:hover { background: var(--y); }
.hdr__wa { color: #0b7a3b; }
.hdr__wa .icon, .hdr__cart .icon { width: 22px; height: 22px; }
.hdr__search .icon { width: 21px; height: 21px; }
.hdr__search .i-close { display: none; }
.hdr.search-open .hdr__search { background: var(--k); color: var(--y); }
.hdr.search-open .hdr__search .i-open { display: none; }
.hdr.search-open .hdr__search .i-close { display: block; }
.hdr__cart span { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--k); color: var(--y); font-size: .75rem; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.hdr__phone { min-height: 44px; padding: 8px 18px; font-size: 1rem; background: var(--k); color: var(--y); }
.hdr__phone:hover { background: var(--k); box-shadow: 3px 3px 0 var(--y); }
.hdr__burger { display: none; background: var(--k); color: var(--w); }
.hdr__burger .icon { width: 24px; height: 24px; }
.hdr__burger .i-close { display: none; }
.nav-open .hdr__burger .i-open { display: none; }
.nav-open .hdr__burger .i-close { display: block; }
.hsearch { position: absolute; left: 0; right: 0; top: 100%; background: var(--y); padding: 16px 0 20px; border-bottom: var(--bw) solid var(--k); }
.hsearch[hidden] { display: none; }

/* language switcher */
.lsw { position: relative; }
.lsw summary { list-style: none; display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 99px; background: var(--well); cursor: pointer; font-weight: 700; font-size: .95rem; }
.lsw summary::-webkit-details-marker { display: none; }
.lsw summary .icon { width: 18px; height: 18px; }
.lsw summary:hover, .lsw[open] summary { background: var(--y); }
.lsw__menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 80; min-width: 180px; background: var(--w); border: var(--bw) solid var(--k); border-radius: 14px; padding: 6px; box-shadow: 5px 5px 0 var(--k); display: grid; }
.lsw__menu a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 9px; text-decoration: none; font-weight: 500; }
.lsw__menu a b { width: 26px; font-weight: 800; }
.lsw__menu a:hover { background: var(--well); }
.lsw__menu a.is-on { background: var(--y); }
.nav__langs { display: flex; gap: 8px; }
.nav__langs a { flex: 1; text-align: center; padding: 10px; border-radius: 99px; border: var(--bw) solid var(--k); color: var(--k); text-decoration: none; font-weight: 800; }
.nav__langs a.is-on { background: var(--k); color: var(--y); }

/* ---------- Section scaffolding ---------- */
.sec { padding: 80px 0; }
.sec--alt, .sec--grey { background: var(--bg-2); }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 30px; flex-wrap: wrap; }
.h2 { font-family: var(--fd); font-weight: 800; font-size: clamp(1.7rem, 3.3vw, 2.6rem); letter-spacing: -.035em; line-height: 1.06; text-wrap: balance; }
.h2--light { color: var(--w); }
.h3 { font-family: var(--fd); font-weight: 800; font-size: 1.25rem; letter-spacing: -.025em; margin: 36px 0 14px; }
.h3:first-child { margin-top: 0; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; z-index: 3; background: var(--y); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 40px; padding-top: 48px; padding-bottom: 56px; }
.hero__h { font-family: var(--fd); font-weight: 800; font-size: clamp(2.3rem, 4.3vw, 3.6rem); line-height: 1; letter-spacing: -.045em; margin: 0 0 20px; text-wrap: balance; }
.hero__lead { font-size: 1.15rem; max-width: 32em; margin-bottom: 26px; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__cta .btn { padding-left: 20px; padding-right: 20px; }
.hero__lic { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.hero__lic > span { font-weight: 700; margin-right: 4px; }
.lplate { display: inline-grid; place-items: center; min-width: 56px; min-height: 44px; padding: 7px 12px 6px; background: var(--w); border: var(--bw) solid var(--k); border-radius: var(--plate); font-family: var(--fd); font-weight: 800; font-size: 1rem; text-decoration: none; transition: background .12s, color .12s, transform .12s; }
.lplate:hover { background: var(--k); color: var(--y); transform: translateY(-2px); }
/* electric motorcycles have no licence category: offered as a plate of their own after AM–A */
.lplate--el { display: inline-flex; gap: 6px; background: var(--k); color: var(--y); font-family: var(--fb); font-size: .95rem; }
.lplate--el .icon { width: 18px; height: 18px; }
.lplate--el:hover { background: var(--g-3); }
.hero__finder { margin: 14px 0 0; font-weight: 600; }
.hero__finder a { font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hero__finder a:hover { text-decoration-thickness: 4px; }

/* "O gal elektrinis?" suggestions under licence-filtered results */
.altblock { margin-top: 48px; padding: 28px 24px 24px; background: var(--bg-2); border-radius: 22px; }
.altblock .sec__head { margin-bottom: 20px; }
.altblock__h { display: flex; align-items: center; gap: 12px; }
.altblock__ic { flex: none; display: grid; place-items: center; width: 44px; height: 40px; background: var(--y); border: var(--bw) solid var(--k); border-radius: var(--plate); }
.altblock__ic .icon { width: 22px; height: 22px; }
.altblock__sub { margin: 8px 0 0; color: var(--mute); max-width: 44em; }
/* the featured bike stands on a big white number plate, so its real colours stay true */
.hero__stage { position: relative; aspect-ratio: 4 / 3.25; }
.hero__stage::before { content: ""; position: absolute; inset: 0 0 7% 9%; background: var(--w); border: 3px solid var(--k); border-radius: 56px 56px 20px 20px; box-shadow: 8px 8px 0 var(--k); }
/* the fade runs on the children, never on .slide itself: an ancestor with opacity < 1
   would isolate the multiply blend and flash white boxes over the yellow */
.slide { position: absolute; inset: 0; display: block; text-decoration: none; color: var(--k); pointer-events: none; }
.slide.is-on { pointer-events: auto; }
.slide__img, .slide__tag, .slide__badge { opacity: 0; transition: opacity .6s; }
.slide.is-on .slide__img, .slide.is-on .slide__tag, .slide.is-on .slide__badge { opacity: 1; }
.slide__img { position: absolute; inset: 3% 2% 9% 11%; mix-blend-mode: multiply; }
.slide__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transform: translateX(18px); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.slide.is-on .slide__img img { transform: none; }
.slide__tag {
  position: absolute; left: 0; bottom: 0; display: grid; gap: 1px; max-width: min(300px, 62%); text-align: left;
  background: var(--w); padding: 14px 22px 12px; border: 3px solid var(--k); border-radius: var(--plate-lg);
  box-shadow: 0 0 0 4px var(--y), 0 0 0 6px var(--k); rotate: -3deg;
}
.slide__brand { font-weight: 700; font-size: .78rem; letter-spacing: .04em; color: var(--mute); }
.slide__name { font-weight: 700; font-size: .98rem; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide__price { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-top: 4px; }
.slide__price s { color: var(--mute); font-size: .9rem; }
.slide__price strong { font-family: var(--fd); font-weight: 800; font-size: 1.9rem; letter-spacing: -.04em; line-height: 1.05; }
.slide__badge { position: absolute; right: calc(0% + 3px); top: 9%; background: var(--sale); color: var(--w); font-family: var(--fd); font-weight: 800; font-size: 1.3rem; padding: 6px 20px 6px 14px; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.slider__dots { position: absolute; right: 0; bottom: 0; display: flex; gap: 6px; z-index: 2; }
.slider__dots button { position: relative; width: 24px; height: 8px; border: 0; padding: 0; border-radius: 4px; background: rgba(0,0,0,.25); cursor: pointer; transition: background .2s, width .2s; }
.slider__dots button::before { content: ""; position: absolute; inset: -19px -5px; }
.slider__dots button.is-on { background: var(--k); width: 40px; }

/* ---------- Category grid ---------- */
.sec--cats { padding-top: 64px; }
.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
@media (min-width: 1100px) { .catgrid { grid-template-columns: repeat(6, 1fr); } }
.catcard { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 14px; background: var(--well); border: var(--bw) solid transparent; border-radius: var(--r); text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s; }
.catcard:hover { background: var(--y); border-color: var(--k); transform: translate(-3px, -3px); box-shadow: var(--hard); }
.catcard__img { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; margin-bottom: 6px; }
.catcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.catcard__t { font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.catcard__m { color: var(--mute); font-size: .86rem; line-height: 1.35; display: flex; flex-direction: column; }
.catcard:hover .catcard__m { color: var(--k); }
.catcard--used { background: var(--g); color: var(--w); }
.catcard--used .catcard__m { color: var(--g-mute); }
.catcard--used:hover { background: var(--k); border-color: var(--y); box-shadow: 5px 5px 0 var(--y); }
.catcard--used:hover .catcard__m { color: var(--w); }
.catcard__icon { width: 52px; height: 52px; color: var(--y); }

/* ---------- Product grid & cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.pcard, .ucard { position: relative; color: var(--k); background: var(--w); border: var(--bw) solid var(--k); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.pcard:hover, .ucard:hover { transform: translate(-3px, -3px); box-shadow: var(--hard); }
.pcard__img, .ucard__img { position: relative; margin: 8px 8px 0; aspect-ratio: 4 / 3; background: var(--well); border-radius: var(--r-sm); display: grid; place-items: center; overflow: hidden; transition: background .15s; }
.pcard:hover .pcard__img { background: var(--y); }
.pcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ucard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ucard:hover .ucard__img img { transform: scale(1.04); }
.pcard__noimg { color: #a9a9a2; }
.pcard__noimg .icon { width: 64px; height: 64px; }
.pcard__body, .ucard__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__brand { font-weight: 700; font-size: .78rem; letter-spacing: .04em; color: var(--mute); }
.pcard__name { font-family: var(--fb); font-weight: 700; font-size: 1rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; overflow-wrap: anywhere; }
.pcard__specs { display: flex; flex-wrap: wrap; gap: 5px; }
.pcard__specs span:not(.lic), .ucard__spec span { font-size: .8rem; font-weight: 600; background: var(--well); border-radius: 6px; padding: 1px 8px; white-space: nowrap; }
.ucard__spec { display: flex; flex-wrap: wrap; gap: 5px; }
.pcard__foot { margin-top: auto; padding-top: 6px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.ucard__count { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.72); color: var(--w); font-size: .78rem; font-weight: 600; padding: 2px 8px; border-radius: 99px; }
.ucard.is-sold { opacity: .72; }

/* prices: plain by default, on a number plate in cards */
.price { display: flex; flex-direction: column; line-height: 1.05; }
.price s { color: var(--mute); font-size: .9rem; }
.price strong { font-family: var(--fd); font-weight: 800; font-size: 1.45rem; letter-spacing: -.035em; }
.price--plate { background: var(--y); border: var(--bw) solid var(--k); border-radius: var(--plate); padding: 6px 12px 5px; }
.price--plate s { color: var(--k); font-size: .76rem; }
.price--plate strong { font-size: 1.2rem; }
.price--xl strong { font-size: 2.6rem; }
.price--xl s { font-size: 1.05rem; }

/* badges: red angled flag = discount, small plate = licence category */
.badge { position: absolute; top: 10px; z-index: 1; font-weight: 700; font-size: .8rem; line-height: 1.2; padding: 3px 9px; border-radius: 6px; }
/* supplier photos carry their own stickers top-left, so the discount flag sits top-right */
.badge--sale { right: 0; border-radius: 0; background: var(--sale); color: var(--w); font-family: var(--fd); font-weight: 800; font-size: .85rem; padding: 5px 10px 5px 16px; clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%); }
.lic { display: inline-block; background: var(--w); color: var(--k); border: var(--bw) solid var(--k); border-radius: 9px 9px 4px 4px; font-family: var(--fd); font-weight: 800; font-size: .74rem; line-height: 1.25; padding: 1px 7px 0; }
.badge--used { left: 10px; background: var(--k); color: var(--y); }
.badge--res { right: 10px; background: var(--y); color: var(--k); border: var(--bw) solid var(--k); }
.badge--sold { right: 10px; background: var(--sale); color: var(--w); }
.badge--lg { font-size: 1.05rem; padding: 6px 14px; top: 16px; }
.badge--sale.badge--lg { font-size: 1.35rem; padding: 7px 16px 7px 24px; }
.badge--res.badge--lg, .badge--sold.badge--lg { right: 16px; }

.stock { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; color: var(--mute); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #a3a39c; flex: none; }
.stock--fast::before { background: var(--green); box-shadow: 0 0 0 3px rgba(22,138,73,.18); }
.stock--order::before { background: var(--k); box-shadow: 0 0 0 3px var(--y); }
.stock--lg { font-size: .98rem; color: var(--k); }

/* product card as <article> with a stretched link + compare button */
.pcard:focus-within { outline: 3px solid var(--k); outline-offset: 3px; }
.pcard__link { color: inherit; text-decoration: none; }
.pcard__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard__link:focus-visible { outline: none; }
.cmpb { position: relative; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; border: var(--bw) solid var(--k); background: var(--w); color: var(--k); cursor: pointer; transition: background .12s, color .12s; }
.cmpb .icon { width: 18px; height: 18px; }
.cmpb:hover { background: var(--y); }
.cmpb.is-on { background: var(--k); color: var(--y); }
.cmpb--wide { display: inline-flex; width: auto; height: auto; border-radius: 99px; gap: .5em; margin: 0; }
.cmpb--wide.is-on { background: var(--k); color: var(--y); }

/* ---------- Graphite band: used bikes + sell / trade-in ---------- */
.usedband { position: relative; background: var(--g); color: var(--w); padding: 112px 0; clip-path: polygon(0 34px, 100% 0, 100% calc(100% - 34px), 0 100%); }
.usedband__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.usedband__text p { color: #d3d5d7; font-size: 1.1rem; margin: 18px 0 26px; max-width: 34em; }
.usedband__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.usedband .btn:hover { box-shadow: 3px 3px 0 var(--y); }
.usedband__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.usedband .ucard { border-color: var(--k); }
.usedband .ucard:hover { box-shadow: 5px 5px 0 var(--y); }
.usedband__steps { list-style: none; display: grid; gap: 12px; }
.usedband__steps li { display: flex; align-items: center; gap: 16px; background: var(--g-2); border-radius: 16px; padding: 16px 18px; font-size: 1.08rem; font-weight: 500; }
.usedband__steps span { flex: none; display: grid; place-items: center; width: 50px; height: 46px; background: var(--y); color: var(--k); border: var(--bw) solid var(--k); border-radius: var(--plate); font-family: var(--fd); font-weight: 800; font-size: 1.35rem; }

/* ---------- Services ---------- */
.svc { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px 32px; }
@media (min-width: 1000px) { .svc { grid-template-columns: repeat(3, 1fr); } }
.svc__item { display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; row-gap: 2px; align-items: start; }
.svc__ic { grid-row: span 2; width: 54px; height: 50px; border-radius: var(--plate); background: var(--y); border: var(--bw) solid var(--k); display: grid; place-items: center; }
.svc__ic .icon { width: 24px; height: 24px; }
.svc__item h3 { font-weight: 700; font-size: 1.12rem; line-height: 1.25; align-self: end; padding-top: 2px; }
.svc__item p { margin: 0; color: var(--mute); font-size: .97rem; }
.svc__item--link h3 a { color: inherit; text-decoration: none; background-image: linear-gradient(var(--y), var(--y)); background-size: 100% 4px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .15s; }
.svc__item--link h3 a:hover { background-size: 100% 100%; }

/* ---------- FAQ ---------- */
.sec--faq { background: var(--bg-2); }
.faqwrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faqwrap > div:first-child { position: sticky; top: calc(var(--hdr) + 24px); }
.faqwrap .muted { margin-top: 14px; }
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--w); border-radius: 16px; border: var(--bw) solid transparent; transition: border-color .12s; }
.faq__item[open] { border-color: var(--k); }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--well); transition: transform .2s, background .12s; }
.faq__item summary:hover .icon, .faq__item[open] summary .icon { background: var(--y); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item p { padding: 0 20px 18px; margin: 0; color: var(--g); }

/* ---------- Contact band & map ---------- */
.cband { padding: 80px 0; }
.cband__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: stretch; }
.cband__list { list-style: none; display: grid; gap: 16px; margin: 28px 0; }
.cband__list li { display: flex; gap: 14px; align-items: flex-start; }
.cband__list .icon { flex: none; width: 40px; height: 36px; padding: 8px; background: var(--y); border: var(--bw) solid var(--k); border-radius: 10px 10px 4px 4px; }
.cband__list div { display: flex; flex-direction: column; padding-top: 4px; }
.cband__list strong { font-size: 1.12rem; }
.cband__list span { color: var(--mute); font-size: .95rem; }
.cband__list a { text-decoration: none; }
.cband__list a:hover strong { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--y); }
.cband__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.map { position: relative; min-height: 380px; border-radius: var(--r); overflow: hidden; background: var(--bg-2); border: var(--bw) solid var(--k); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 6px; }
.map__ph p { color: var(--mute); font-size: .9rem; max-width: 30em; }
.map__ic { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: var(--y); border: var(--bw) solid var(--k); margin-bottom: 6px; }
.map__btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* ---------- Page header, crumbs, chips, toolbar ---------- */
.phead { background: var(--y); padding: 30px 0 40px; border-bottom: var(--bw) solid var(--k); }
.phead__h { font-family: var(--fd); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -.04em; line-height: 1.04; margin-top: 14px; text-wrap: balance; overflow-wrap: anywhere; }
.phead__sub { margin: 12px 0 0; font-weight: 500; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.phead__sub b { font-weight: 800; }
.phead__facts span { display: inline-flex; align-items: center; gap: 6px; }
.phead__facts .icon { width: 16px; height: 16px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .9rem; }
.crumbs li { display: flex; align-items: center; gap: 8px; color: #3d3c35; }
.crumbs li + li::before { content: "/"; color: #7a7867; }
.crumbs a { color: var(--k); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.crumbs a:hover { text-decoration-thickness: 2px; }
.pd .crumbs li { color: var(--mute); }
.pd .crumbs li + li::before { color: var(--line-2); }
.chips-wrap { background: var(--w); border-bottom: var(--bw) solid var(--k); position: sticky; top: var(--hdr); z-index: 20; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; white-space: nowrap; padding: 5px 14px 5px 6px; border-radius: 99px; border: var(--bw) solid var(--line); text-decoration: none; font-weight: 600; font-size: .95rem; background: var(--w); transition: border-color .12s, background .12s; }
.chip:first-child { padding-left: 14px; }
.chip img { width: 36px; height: 27px; object-fit: contain; mix-blend-mode: multiply; }
.chip span { font-size: .78rem; font-weight: 700; color: var(--k); background: var(--well); padding: 1px 8px; border-radius: 99px; }
.chip:hover { border-color: var(--k); }
.chip.is-on { background: var(--k); color: var(--w); border-color: var(--k); }
.chip.is-on span { background: var(--y); }
.chip.is-on img { mix-blend-mode: normal; background: var(--w); border-radius: 6px; }
.chip--acc { background: var(--y-soft); border-color: var(--y); padding-left: 14px; }
.chip--acc .icon { width: 14px; height: 14px; }
.sec--catalog { padding-top: 28px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 24px; }
.toolbar__search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; background: var(--w); border: var(--bw) solid var(--line-2); border-radius: 99px; padding: 0 16px; min-height: 48px; }
.toolbar__search:focus-within { border-color: var(--k); box-shadow: 0 0 0 3px var(--y); }
.toolbar__search input { border: 0; outline: 0; flex: 1; font: inherit; background: none; min-width: 0; }
.sel select, .fld input, .fld select, .fld textarea {
  font: inherit; width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r-sm); border: var(--bw) solid var(--line-2); background: var(--w); color: var(--k);
}
.sel select { appearance: none; padding-right: 38px; border-radius: 99px; background: var(--w) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='2.2' fill='none'/%3E%3C/svg%3E") no-repeat right 15px center; cursor: pointer; font-weight: 600; }
.sel select:hover, .fld input:hover, .fld select:hover, .fld textarea:hover { border-color: var(--k); }
.fld input:focus, .fld select:focus, .fld textarea:focus, .sel select:focus { outline: none; border-color: var(--k); box-shadow: 0 0 0 3px var(--y); }
.toolbar__specs { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-start; flex-basis: 100%; }
.toolbar__specs .sel { display: grid; gap: 4px; min-width: 190px; }
.sel__lbl { font-size: .8rem; font-weight: 700; color: var(--mute); padding-left: 14px; }
.toolbar__reset { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; margin-top: 22px; padding: 0 12px; font-weight: 700; text-decoration: none; }

/* price range: two free fields + a two-handle slider (the slider is shown by site.js) */
.prange { display: grid; gap: 4px; flex: 0 1 330px; min-width: 260px; }
.prange__fields { display: flex; align-items: center; gap: 8px; }
.prange__fld { flex: 1; min-width: 0; }
.prange__fld input { width: 100%; min-height: 48px; padding: 10px 14px; border: var(--bw) solid var(--line-2); border-radius: 99px; background: var(--w); color: var(--k); font: inherit; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.prange__fld input::-webkit-outer-spin-button, .prange__fld input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.prange__fld input:hover { border-color: var(--k); }
.prange__fld input:focus { outline: none; border-color: var(--k); box-shadow: 0 0 0 3px var(--y); }
.prange__dash { font-weight: 700; color: var(--mute); }
.prange__slider { position: relative; height: 32px; margin: 2px 13px 0; }
.prange__slider[hidden] { display: none; }
.prange__track { position: absolute; left: 0; right: 0; top: 14px; height: 4px; border-radius: 2px; background: var(--line); }
.prange__fill { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; border-radius: 2px; background: var(--k); }
/* both range inputs lie on the same track; only their thumbs take the pointer */
.prange__slider input[type=range] { position: absolute; top: 0; left: -13px; width: calc(100% + 26px); height: 32px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.prange__slider input[type=range]:focus { outline: none; }
.prange__slider input[type=range]::-webkit-slider-runnable-track { height: 32px; background: none; }
.prange__slider input[type=range]::-moz-range-track { height: 32px; background: none; }
.prange__slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 26px; height: 26px; margin-top: 3px; border-radius: 50%; background: var(--y); border: var(--bw) solid var(--k); cursor: grab; }
.prange__slider input[type=range]::-moz-range-thumb { pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--y); border: var(--bw) solid var(--k); cursor: grab; }
.prange__slider input[type=range]:active::-webkit-slider-thumb { cursor: grabbing; background: var(--y-hi); }
.prange__slider input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--w), 0 0 0 6px var(--k); }
.prange__slider input[type=range]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--w), 0 0 0 6px var(--k); }
.toolbar__reset:hover { text-decoration: underline; }
.toolbar__note { flex-basis: 100%; margin: 0; font-size: .82rem; color: var(--mute); display: flex; gap: 6px; align-items: flex-start; }
.toolbar__note .icon { margin-top: 2px; }
.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; padding: 0 6px; user-select: none; }
.toggle input { appearance: none; width: 46px; height: 28px; border-radius: 99px; background: var(--w); border: var(--bw) solid var(--k); position: relative; cursor: pointer; transition: background .15s; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--k); transition: transform .15s; }
.toggle input:checked { background: var(--y); }
.toggle input:checked::after { transform: translateX(18px); }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pager a { min-width: 46px; height: 46px; display: grid; place-items: center; border-radius: 99px; background: var(--w); border: var(--bw) solid var(--line); text-decoration: none; font-weight: 700; }
.pager a:hover { border-color: var(--k); }
.pager a.is-on { background: var(--k); color: var(--y); border-color: var(--k); }
.pager__gap { min-width: 24px; display: grid; place-items: center; color: var(--mute); }
.empty { text-align: center; padding: 48px 20px; max-width: 640px; margin: 0 auto; }
.empty h2, .empty h1 { margin: 14px 0 12px; }
.empty h2:not(.h2) { font-family: var(--fd); font-weight: 800; font-size: 1.4rem; letter-spacing: -.03em; }
.empty .btn { margin: 4px; }
.empty__ic { width: 64px; height: 64px; padding: 14px; border-radius: 50%; background: var(--y); border: var(--bw) solid var(--k); margin: 0 auto; }
.big404 { display: inline-block; font-family: var(--fd); font-weight: 800; font-size: clamp(4.5rem, 14vw, 8rem); line-height: 1; letter-spacing: -.05em; padding: 14px 34px 10px; background: var(--y); border: 4px solid var(--k); border-radius: 44px 44px 14px 14px; box-shadow: 0 0 0 6px var(--w), 0 0 0 9px var(--k); margin: 10px 0 18px; }
.helpstrip { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.helpstrip--3 { grid-template-columns: repeat(3, 1fr); }
.helpstrip > div { background: var(--bg-2); border-radius: 16px; padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.helpstrip .icon { grid-row: span 2; width: 40px; height: 36px; padding: 7px; border-radius: 10px 10px 4px 4px; background: var(--y); border: var(--bw) solid var(--k); }
.helpstrip strong { font-weight: 700; font-size: 1.02rem; }
.helpstrip span, .helpstrip a { color: var(--mute); font-size: .9rem; }
.helpstrip a { color: var(--k); font-weight: 600; }

/* ---------- Product detail ---------- */
.pd { background: var(--w); padding: 24px 0 64px; }
.pd__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; margin-top: 18px; align-items: start; }
.pd__grid > *, .pd__body > * { min-width: 0; }
.gallery__main { position: relative; background: var(--well); border-radius: 22px; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.gallery__main--photo { background: var(--g); }
.gallery__zoom { position: absolute; inset: 0; padding: 4%; border: 0; background: none; cursor: zoom-in; display: block; }
.gallery__zoom img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__main--photo .gallery__zoom { padding: 0; }
.gallery__main--photo .gallery__zoom img { mix-blend-mode: normal; }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 2px 6px; scrollbar-width: thin; }
.gallery__thumbs button { position: relative; flex: none; width: 92px; aspect-ratio: 4/3; padding: 0; border: var(--bw) solid transparent; border-radius: 10px; background: var(--well); cursor: pointer; overflow: hidden; }
.gallery__thumbs button:hover { border-color: var(--line-2); }
.gallery__thumbs button.is-on { border-color: var(--k); }
.gallery__thumbs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__main--photo + .gallery__thumbs img { object-fit: cover; mix-blend-mode: normal; }
.pd__info { position: sticky; top: calc(var(--hdr) + 20px); }
.pd__brand { font-weight: 700; letter-spacing: .04em; color: var(--mute); }
.pd__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }

/* share: native share sheet on phones (site.js), a small menu elsewhere */
.share { position: relative; flex: none; }
.share__btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 14px; border: var(--bw) solid var(--line); border-radius: 99px; background: var(--w); font-weight: 700; font-size: .9rem; cursor: pointer; transition: border-color .12s, background .12s; }
.share__btn .icon { width: 17px; height: 17px; }
.share__btn:hover, .share__btn[aria-expanded="true"] { border-color: var(--k); background: var(--y); }
.share__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 220px; display: grid; padding: 6px; background: var(--w); border: var(--bw) solid var(--k); border-radius: 14px; box-shadow: 5px 5px 0 var(--k); }
.share__menu[hidden] { display: none; }
.share__menu a, .share__menu button { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 8px 12px; border: 0; border-radius: 9px; background: none; font: inherit; font-weight: 600; text-align: left; color: var(--k); text-decoration: none; cursor: pointer; }
.share__menu a:hover, .share__menu button:hover { background: var(--well); }
.share__menu .icon { width: 19px; height: 19px; }
.share__menu .is-done { background: #def3e6; color: #0c4f29; }
.pd__h { font-family: var(--fd); font-weight: 800; font-size: clamp(1.4rem, 2.3vw, 1.9rem); letter-spacing: -.035em; line-height: 1.1; margin: 6px 0 14px; overflow-wrap: anywhere; hyphens: auto; }
.pd__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.tag { display: inline-block; font-size: .84rem; font-weight: 600; padding: 3px 12px; border-radius: 99px; background: var(--w); border: var(--bw) solid var(--line); text-decoration: none; }
a.tag:hover { border-color: var(--k); }
.tag--new { background: var(--y); border-color: var(--k); }
.tag--used { background: var(--k); color: var(--y); border-color: var(--k); }
.kspecs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 8px; }
.kspecs div { background: var(--well); border: var(--bw) solid transparent; border-radius: 14px; padding: 10px 12px; }
.kspecs dt { font-size: .78rem; color: var(--mute); }
.kspecs dd { margin: 0; font-family: var(--fd); font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; line-height: 1.15; }
.kspecs dd small { font-family: var(--fb); font-weight: 500; font-size: .8rem; letter-spacing: 0; color: var(--mute); }
.kspecs .kspecs__lic { background: var(--w); border-color: var(--k); border-radius: var(--plate); }
.kspecs__note { font-size: .78rem; color: var(--mute); margin: 0 0 16px; }
.pd__pricebox { display: grid; gap: 6px; margin-bottom: 16px; padding: 18px 22px; background: var(--y); border: var(--bw) solid var(--k); border-radius: var(--plate-lg); }
.pd__save { display: inline-block; justify-self: start; background: var(--sale); color: var(--w); font-weight: 700; font-size: .88rem; padding: 2px 12px; border-radius: 99px; }
.pd__vat { color: #3d3c35; font-size: .85rem; }
.pd__pricebox .stock { color: var(--k); }
.pd__opts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 16px; }
.pd__optname { font-weight: 700; font-size: .92rem; }
.pd__buy { display: grid; gap: 10px; margin-bottom: 10px; }
.pd__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd__cta .btn { min-width: 0; padding-left: 12px; padding-right: 12px; }
.pd__cta .btn--block { grid-column: 1 / -1; }
.pd__perks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: var(--bw) solid var(--k); }
.pd__perks li, .pd__perks li > a { display: flex; gap: 10px; align-items: flex-start; }
.pd__perks li > a { color: inherit; text-decoration: none; }
.pd__perks li > a:hover strong { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--y); }
.pd__perks .icon { width: 24px; height: 24px; margin-top: 2px; }
.pd__perks div { display: flex; flex-direction: column; line-height: 1.3; }
.pd__perks span { font-size: .86rem; color: var(--mute); }
.sec--pdbody { padding-top: 56px; background: var(--bg-2); }
.pd__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: start; }
.pd__side { position: sticky; top: calc(var(--hdr) + 20px); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 18px; }
.specs div { background: var(--well); border-radius: 10px; padding: 9px 14px; }
.specs dt { font-size: .8rem; color: var(--mute); }
.specs dd { margin: 0; font-weight: 700; }
.specs div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.prose { font-size: 1.02rem; color: var(--g); overflow-wrap: anywhere; }
.prose h2, .prose h3, .prose h4, .prose h5 { font-family: var(--fd); font-weight: 800; letter-spacing: -.025em; margin: 1.4em 0 .5em; font-size: 1.15rem; color: var(--k); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .25em; }
.prose img { border-radius: 12px; margin: 10px 0; max-height: 520px; width: auto; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: .95rem; background: var(--w); border-radius: 12px; overflow: hidden; }
.prose td, .prose th { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
/* spec tables: white rows with hairlines; one-cell rows (Variklis, Važiuoklė…) are grey category headings */
.prose table:not(:has(img, table)) tr:has(> td:only-child) > td, .prose table:not(:has(img, table)) th { background: var(--well); font-weight: 700; color: var(--k); padding-top: 11px; padding-bottom: 11px; }
/* two-column label | value lists: the label column is bold */
.prose table:not(:has(img, table)) tr:has(> :nth-child(2):last-child) > td:first-child { font-weight: 600; width: 40%; color: var(--k); }
/* three-column tables: each cell starts with its label – show it small, above the value */
.prose tr:has(> td:nth-child(3)) > td > strong:first-child { display: block; font-size: .82rem; font-weight: 600; color: var(--mute); margin-bottom: 2px; }
.prose--table { overflow-x: auto; }
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: var(--g) center / cover no-repeat; }
.video button { position: absolute; inset: 0; border: 0; width: 100%; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.6)); color: var(--w); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-weight: 700; }
.video button span { display: flex; flex-direction: column; align-items: center; }
.video button small { font-weight: 400; opacity: .75; font-size: .8rem; }
.video__play { width: 60px; height: 60px; padding: 17px; border-radius: 50%; background: var(--y); color: var(--k); fill: var(--k); border: var(--bw) solid var(--k); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.docs { list-style: none; display: grid; gap: 8px; margin-bottom: 18px; }
.docs a { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }
.sec--related { padding-top: 72px; }

/* accessories the manufacturer lists for this model: a quiet list under the description */
.accfit { margin: 36px 0 22px; }
.accfit .h3 { margin-bottom: 4px; }
.accfit__note { margin: 0 0 12px; font-size: .9rem; color: var(--mute); }
.accfit__list { list-style: none; display: grid; background: var(--w); border-radius: 16px; overflow: hidden; }
.accfit__list li + li { border-top: 1px solid var(--line); }
.accfit__it { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 8px 14px 8px 8px; text-decoration: none; color: inherit; transition: background .12s; }
.accfit__it:hover { background: var(--y-soft); }
.accfit__img { position: relative; width: 72px; height: 54px; border-radius: 8px; background: var(--well); overflow: hidden; }
.accfit__it:hover .accfit__img { background: var(--y); }
.accfit__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.accfit__name { font-weight: 600; font-size: .95rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.accfit__price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; white-space: nowrap; }
.accfit__price s { font-size: .78rem; color: var(--mute); }
.accfit__price strong { font-family: var(--fd); font-weight: 800; font-size: 1rem; letter-spacing: -.03em; }
.accfit__more { margin-top: 8px; }
.accfit__more summary { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px; border: var(--bw) solid var(--k); border-radius: 99px; font-weight: 700; cursor: pointer; list-style: none; }
.accfit__more summary::-webkit-details-marker { display: none; }
.accfit__more summary:hover { background: var(--y); }
.accfit__more[open] summary { display: none; }
.accfit__more .accfit__list { margin-top: 0; border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; }

/* ---------- Inquiry form & fields ---------- */
.iform { position: relative; background: var(--w); border: var(--bw) solid var(--k); border-radius: 22px; padding: 26px; box-shadow: 7px 7px 0 var(--y); }
.iform__h { font-family: var(--fd); font-weight: 800; font-size: 1.45rem; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 8px; }
.iform__lead { color: var(--mute); font-size: .95rem; }
.iform__lead a { color: var(--k); font-weight: 600; }
.iform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.fld { display: grid; gap: 5px; }
.fld > span { font-weight: 700; font-size: .88rem; }
.fld--wide { grid-column: 1 / -1; }
.fld em, .is-err { color: var(--sale); font-style: normal; font-size: .85rem; font-weight: 600; }
.fld em:empty { display: none; }
.fld textarea { resize: vertical; min-height: 110px; }
.iform__legal { font-size: .8rem; color: var(--mute); }
.iform__msg { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); margin-bottom: 14px; font-weight: 600; }
.iform__msg[hidden] { display: none; }
.iform__msg--ok { background: #def3e6; color: #0c4f29; }
.iform__msg--err { background: #fde5e3; color: #861812; }
.iform.is-sending button[type=submit] { opacity: .6; pointer-events: none; }
.radios { border: 0; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.radios legend { font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.radios label, .check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.radios input, .check input { margin-top: 4px; accent-color: var(--k); width: 18px; height: 18px; }
.check { font-size: .92rem; margin: 10px 0 14px; }
.note { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: var(--r-sm); margin-bottom: 18px; }
.note--ok { background: #def3e6; color: #0c4f29; }
.note--info { background: var(--y-soft); color: var(--k); }

/* ---------- About / contacts / legal ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.about .h2 { margin-bottom: 18px; }
.about__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.about__img { margin: 0; justify-self: center; max-width: 420px; transform: rotate(2deg); }
.about__img img { border-radius: var(--r); border: var(--bw) solid var(--k); box-shadow: 8px 8px 0 var(--y), 8px 8px 0 var(--bw) var(--k); }
/* how buying works: four race plates on a dashed road */
.steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps::before { content: ""; position: absolute; left: 30px; right: calc(25% - 18px); top: 27px; border-top: 3px dashed var(--k); }
.steps li { position: relative; }
.steps__n { position: relative; display: grid; place-items: center; width: 64px; height: 56px; background: var(--y); border: 3px solid var(--k); border-radius: var(--plate); font-family: var(--fd); font-weight: 800; font-size: 1.6rem; box-shadow: 0 0 0 6px var(--bg); }
.steps h3 { font-family: var(--fd); font-weight: 800; font-size: 1.15rem; letter-spacing: -.025em; margin: 18px 0 6px; }
.steps p { margin: 0; color: var(--mute); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-bottom: 40px; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ccard { background: var(--bg-2); border: var(--bw) solid transparent; border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; transition: border-color .12s, background .12s, transform .12s, box-shadow .12s; min-width: 0; }
a.ccard:hover { background: var(--y); border-color: var(--k); transform: translate(-3px, -3px); box-shadow: var(--hard); }
.ccard__ic { width: 46px; height: 42px; border-radius: var(--plate); background: var(--y); border: var(--bw) solid var(--k); display: grid; place-items: center; margin-bottom: 8px; }
a.ccard:hover .ccard__ic { background: var(--w); }
.ccard--wa .ccard__ic { background: var(--wa); }
.ccard__l { font-size: .85rem; color: var(--mute); }
a.ccard:hover .ccard__l { color: var(--k); }
.ccard strong { font-size: 1.1rem; overflow-wrap: anywhere; }
.ccard--wide { grid-column: 1 / -1; }
.ccard__row { display: flex; justify-content: space-between; gap: 10px; font-size: 1rem !important; }
.ccard__row span { font-weight: 500; }
.reqs { margin-top: 32px; }
.legal { max-width: 860px; }
.legal h2 { font-family: var(--fd); font-weight: 800; font-size: 1.25rem; letter-spacing: -.025em; margin: 1.6em 0 .5em; color: var(--k); }
.legal ul { padding-left: 1.3em; }
.legal table { border: 1px solid var(--line); }

/* ---------- Cart (dormant until shop.cart_enabled) ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: start; }
.cart__lines { background: var(--w); border-radius: var(--r); border: var(--bw) solid var(--k); padding: 10px 20px 20px; }
.cline { display: grid; grid-template-columns: 96px 1fr 70px 110px 40px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cline__img img { background: var(--well); border-radius: 8px; mix-blend-mode: multiply; aspect-ratio: 4/3; object-fit: contain; }
.cline__info { display: grid; gap: 3px; }
.cline__info a { text-decoration: none; }
.cline__qty input { width: 64px; min-height: 40px; text-align: center; border: var(--bw) solid var(--line-2); border-radius: 8px; font: inherit; }
.cline__sum { font-family: var(--fd); font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; text-align: right; }
.cline__rm { border: 0; background: none; cursor: pointer; color: var(--mute); }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; font-size: 1.1rem; }
.cart__total strong { font-family: var(--fd); font-size: 2rem; font-weight: 800; letter-spacing: -.04em; }

/* ---------- Footer: the shop sign ---------- */
.ftr { background: var(--y); color: var(--k); padding: 0 0 22px; }
.ftr__sign { display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 32px; }
.ftr__logo { flex: none; display: grid; place-items: center; width: 116px; height: 116px; border-radius: 50%; background: var(--w); border: var(--bw) solid var(--k); }
.ftr__logo img { width: 92px; height: auto; }
.ftr__call { flex: 1 1 380px; min-width: 0; }
.ftr__tel { display: inline-block; font-family: var(--fd); font-weight: 800; font-size: clamp(2rem, 5.2vw, 4.2rem); letter-spacing: -.05em; line-height: 1; text-decoration: none; white-space: nowrap; }
.ftr__tel:hover { text-decoration: underline; text-decoration-thickness: 5px; text-underline-offset: 8px; }
.ftr__where { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 12px 0 0; font-weight: 600; }
.ftr__where span { display: inline-flex; align-items: center; gap: 6px; }
.ftr__where .icon { width: 18px; height: 18px; }
.ftr__where a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ftr__social { display: flex; gap: 8px; }
.ftr__social a { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--k); color: var(--y); transition: transform .12s, box-shadow .12s; }
.ftr__social a:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--w); }
.ftr__social .icon { width: 22px; height: 22px; }
.ftr__social { flex-wrap: wrap; }
.ftr__social a.ftr__ap { width: auto; padding: 0 18px; border-radius: 25px; font-weight: 700; font-size: .95rem; text-decoration: none; letter-spacing: -.01em; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 28px; padding-bottom: 32px; border-top: var(--bw) solid var(--k); }
.ftr__about { font-size: .98rem; max-width: 28em; margin: 0; }
.ftr__h { font-family: var(--fd); font-weight: 800; font-size: 1rem; letter-spacing: -.02em; margin-bottom: 12px; }
.ftr__links { list-style: none; display: grid; gap: 6px; }
.ftr__links a, .ftr__links button { text-decoration: none; font-size: .98rem; font-weight: 500; }
.ftr__links a:hover, .ftr__links button:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ftr__bottom { display: flex; justify-content: space-between; gap: 6px 20px; flex-wrap: wrap; border-top: var(--bw) solid var(--k); padding-top: 18px; font-size: .84rem; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* ---------- Mobile bottom bar ---------- */
.mbar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(23, 25, 27, .95); display: grid; place-items: center; padding: 60px 70px; --lb-x: 140px; --lb-y: 120px; }
.lightbox[hidden] { display: none; }
/* sized to the visible screen (dvh = height without the phone's browser bars): a % of the grid cell
   doesn't limit the height, so tall photos used to run past the bottom of the screen */
.lightbox img { width: auto; height: auto; max-width: calc(100vw - var(--lb-x)); max-height: calc(100vh - var(--lb-y)); max-height: calc(100dvh - var(--lb-y)); object-fit: contain; background: var(--w); border-radius: 10px; }
.lightbox button { position: absolute; border: 0; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.14); color: var(--w); cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: var(--y); color: var(--k); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; translate: 0 -50%; }
.lightbox__prev .icon { transform: rotate(180deg); }
.lightbox__next { right: 12px; top: 50%; translate: 0 -50%; }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; color: #d0d2d4; font-size: .9rem; }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; display: flex; justify-content: center; }
.cookie[hidden] { display: none; }
.cookie__in { background: var(--w); border: var(--bw) solid var(--k); border-radius: var(--r); box-shadow: 6px 6px 0 var(--k); padding: 20px 22px; max-width: 980px; width: 100%; display: flex; gap: 22px; align-items: center; }
.cookie__text p { margin: 6px 0 0; font-size: .92rem; color: var(--g); }
.cookie__text strong { display: flex; align-items: center; gap: 8px; }
.cookie__opts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-size: .92rem; }
.cookie__opts label { display: flex; gap: 6px; align-items: center; }
.cookie__btns { display: flex; gap: 8px; flex-wrap: wrap; flex: none; }
.cookie__btns .btn { min-height: 44px; font-size: .95rem; padding: 8px 16px; }

/* =========================================================================
   Search
   ========================================================================= */
.srch { position: relative; display: flex; align-items: center; gap: 10px; background: var(--w); color: var(--k); border-radius: 99px; padding: 5px 5px 5px 18px; border: var(--bw) solid var(--k); transition: box-shadow .12s; }
.srch:focus-within { box-shadow: 4px 4px 0 var(--k); }
.srch__ic { display: grid; }
.srch__ic .icon { width: 20px; height: 20px; }
.srch input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 1.02rem; color: var(--k); padding: 10px 0; }
.srch input::placeholder { color: #77766d; }
.srch input::-webkit-search-cancel-button { -webkit-appearance: none; }
.srch__btn { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 99px; background: var(--k); color: var(--w); font-weight: 700; font-size: 1rem; padding: 0 20px; min-height: 44px; cursor: pointer; }
.srch__btn:hover { background: var(--g-3); }
.srch__btn .icon { width: 18px; height: 18px; display: none; }
.srch.is-loading .srch__ic { animation: srchpulse .8s ease-in-out infinite alternate; }
@keyframes srchpulse { from { opacity: .35; } to { opacity: 1; } }
.srch--hero { max-width: 560px; margin: 0 0 18px; }
.srch--page { max-width: 760px; margin-top: 20px; }
.srch--bar { max-width: 820px; margin: 0 auto; }
.srch__dd { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 70; background: var(--w); color: var(--k); border: var(--bw) solid var(--k); border-radius: 18px; box-shadow: 6px 6px 0 var(--k); padding: 6px; max-height: min(70vh, 580px); overflow-y: auto; overscroll-behavior: contain; text-align: left; }
.srch__grp { display: flex; justify-content: space-between; font-weight: 700; font-size: .82rem; color: var(--mute); padding: 10px 10px 4px; }
.srch__grp span { background: var(--well); color: var(--k); border-radius: 99px; padding: 0 8px; }
.srch__it { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 6px 10px 6px 6px; border-radius: 12px; text-decoration: none; color: inherit; }
.srch__it:hover, .srch__it.is-active { background: var(--well); }
.srch__it.is-active { box-shadow: inset 4px 0 0 var(--k); }
.srch__thumb { position: relative; width: 64px; height: 48px; border-radius: 8px; background: var(--well); overflow: hidden; }
.srch__it:hover .srch__thumb, .srch__it.is-active .srch__thumb { background: var(--y); }
.srch__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.srch__thumb.is-photo img { object-fit: cover; mix-blend-mode: normal; }
.srch__txt { display: flex; flex-direction: column; min-width: 0; }
.srch__t { font-weight: 600; font-size: .95rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.srch__t mark { background: none; color: inherit; box-shadow: inset 0 -.45em 0 var(--y); }
.srch__m { font-size: .8rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srch__p { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; white-space: nowrap; }
.srch__p s { font-size: .78rem; color: var(--mute); }
.srch__p strong { font-family: var(--fd); font-weight: 800; font-size: 1rem; letter-spacing: -.03em; }
.srch__p strong.is-sale { color: var(--sale); }
.srch__all { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 6px 4px 2px; padding: 12px; border-radius: 99px; background: var(--k); color: var(--w); text-decoration: none; font-weight: 700; }
.srch__all span { background: var(--y); color: var(--k); border-radius: 99px; padding: 0 8px; font-size: .85rem; }
.srch__all:hover, .srch__all.is-active { background: var(--g-3); }
.srch__empty { display: grid; gap: 4px; text-align: center; padding: 18px 12px; color: var(--mute); }
.srch__empty strong { color: var(--k); }
.srch__pop { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 10px 12px; }
.srch__chip { border: var(--bw) solid var(--line); background: var(--w); border-radius: 99px; padding: 5px 12px; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; }
.srch__chip:hover { border-color: var(--k); background: var(--y); }
.sres + .sres { margin-top: 48px; }
.sres .h3 { margin: 0; display: flex; align-items: center; gap: 10px; }
.sres__n { font-family: var(--fb); font-size: .9rem; font-weight: 700; letter-spacing: 0; background: var(--k); color: var(--y); border-radius: 99px; padding: 1px 10px; }
.sres__more { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--mute); }
.sres__more a { font-weight: 700; color: var(--k); }

/* =========================================================================
   Compare
   ========================================================================= */
.cmpbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 58; background: var(--g); color: var(--w); border-top: 4px solid var(--y); }
.cmpbar[hidden] { display: none; }
.cmpbar__in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.cmpbar__items { display: flex; gap: 8px; }
.cmpbar__it, .cmpbar__slot { position: relative; width: 64px; height: 48px; border-radius: 8px; background: var(--well); }
.cmpbar__slot { background: transparent; border: var(--bw) dashed rgba(255,255,255,.28); }
.cmpbar__it img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cmpbar__it button { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; border: var(--bw) solid var(--g); background: var(--sale); color: var(--w); font-size: .8rem; line-height: 1; cursor: pointer; }
.cmpbar__txt { flex: 1; display: grid; gap: 2px; margin: 0; line-height: 1.25; }
.cmpbar__txt strong { color: var(--y); }
.cmpbar__txt span { color: var(--g-mute); font-size: .88rem; }
.cmpbar__act { display: flex; align-items: center; gap: 12px; }
.cmpbar__clear { background: none; border: 0; color: var(--g-mute); text-decoration: underline; cursor: pointer; font: inherit; }
.cmpbar__clear:hover { color: var(--w); }
.cmpbar .btn:hover { box-shadow: 3px 3px 0 var(--w); }
.cmpbar .btn.is-disabled { opacity: .55; }
.cmpbar__msg { position: absolute; left: 50%; bottom: calc(100% + 12px); translate: -50% 0; background: var(--w); color: var(--k); padding: 8px 16px; border-radius: 99px; border: var(--bw) solid var(--k); font-weight: 700; white-space: nowrap; }
body.has-cmpbar { padding-bottom: 72px; }
.sec--cmp { padding-top: 32px; }
.cmpt-wrap { overflow-x: auto; border-radius: var(--r); border: var(--bw) solid var(--k); background: var(--w); -webkit-overflow-scrolling: touch; }
.cmpt { border-collapse: separate; border-spacing: 0; width: 100%; min-width: calc(130px + var(--cols) * 190px); table-layout: fixed; }
.cmpt th, .cmpt td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmpt tbody tr:last-child th, .cmpt tbody tr:last-child td { border-bottom: 0; }
.cmpt__lbl { position: sticky; left: 0; z-index: 2; width: 130px; background: var(--bg-2); font-size: .85rem; color: var(--mute); font-weight: 700; box-shadow: 1px 0 0 var(--line); }
.cmpt__head { position: relative; font-weight: 400; }
.cmpt__img { display: block; position: relative; aspect-ratio: 4/3; background: var(--well); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.cmpt__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cmpt__name { display: block; font-weight: 700; font-size: 1rem; line-height: 1.25; color: inherit; text-decoration: none; margin-top: 2px; overflow-wrap: anywhere; }
.cmpt__name:hover { text-decoration: underline; }
.cmpt__rm { position: absolute; top: 20px; right: 22px; z-index: 1; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--k); color: var(--w); cursor: pointer; display: grid; place-items: center; }
.cmpt__rm:hover { background: var(--sale); }
.cmpt__rm .icon { width: 16px; height: 16px; }
.cmpt td.is-best { background: var(--y-soft); }
.cmpt__tag { display: inline-block; margin-top: 8px; font-size: .78rem; font-weight: 700; background: var(--y); color: var(--k); border: var(--bw) solid var(--k); border-radius: 9px 9px 4px 4px; padding: 1px 8px; }
.cmpt .lic { font-size: .9rem; padding: 2px 10px 1px; }
.cmpt__cta .btn { margin-bottom: 6px; min-height: 44px; font-size: .95rem; }
.cmpt__note { margin: 0; }
.cmpt__foot { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-top: 12px; }
.cmpt__foot .share__menu { top: auto; bottom: calc(100% + 8px); }

/* =========================================================================
   Sell / trade-in form
   ========================================================================= */
.sell { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.sellform__set { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.sellform__set legend { font-family: var(--fd); font-weight: 800; font-size: 1.1rem; letter-spacing: -.025em; margin-bottom: 12px; }
.sellform__set legend small { font-family: var(--fb); font-size: .85rem; letter-spacing: 0; color: var(--mute); font-weight: 500; }
.iform__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rcard input { position: absolute; opacity: 0; pointer-events: none; }
.rcard__box { display: grid; gap: 4px; height: 100%; padding: 14px; border: var(--bw) solid var(--line-2); border-radius: 16px; cursor: pointer; transition: border-color .12s, background .12s, box-shadow .12s; }
.rcard__box:hover { border-color: var(--k); }
.rcard__box .icon { width: 24px; height: 24px; }
.rcard__box strong { font-weight: 800; font-size: 1.02rem; overflow-wrap: anywhere; hyphens: auto; }
.rcard__box small { overflow-wrap: anywhere; }
.rcard__box small { color: var(--mute); font-size: .85rem; line-height: 1.3; }
.rcard input:checked + .rcard__box { border-color: var(--k); background: var(--y); box-shadow: 4px 4px 0 var(--k); }
.rcard input:checked + .rcard__box small { color: var(--k); }
.rcard input:focus-visible + .rcard__box { outline: 3px solid var(--k); outline-offset: 3px; }
.rcard[hidden] { display: none; }

/* bike finder (/parinkti): numbered questions (real order, so numbered) with the sell form's option cards */
.finder { display: grid; gap: 30px; max-width: 980px; counter-reset: q; }
.finder__q { border: 0; padding: 0; margin: 0; min-width: 0; counter-increment: q; }
.finder__q[hidden] { display: none; }
.finder__q legend { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-family: var(--fd); font-weight: 800; font-size: clamp(1.15rem, 2.4vw, 1.5rem); letter-spacing: -.03em; }
.finder__n { flex: none; display: grid; place-items: center; width: 44px; height: 40px; background: var(--y); border: var(--bw) solid var(--k); border-radius: var(--plate); font-size: 1.05rem; }
.finder__n::before { content: counter(q); }
.finder__q .rcard__box { min-height: 72px; align-content: center; }
.rcards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
.rcards--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rcards--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 740px; }
.rcards--6 .rcard__box { min-height: 56px; }
.rcards--5 .rcard__box strong { font-family: var(--fd); font-weight: 800; font-size: 1.2rem; }
.finder__hint { display: flex; gap: 6px; align-items: flex-start; margin: 10px 0 0; font-size: .82rem; color: var(--mute); }
.finder__hint .icon { margin-top: 2px; }
.finder__go { display: flex; }
.finder__q { scroll-margin-top: calc(var(--hdr) + 20px); }   /* the next question scrolls into view below the sticky header */
.finder.is-live .finder__q.is-later { display: none; }
.finder__res { margin-top: 48px; padding-top: 36px; border-top: var(--bw) solid var(--k); scroll-margin-top: calc(var(--hdr) + 16px); }
.finder__sum { margin: 8px 0 0; font-weight: 600; color: var(--mute); }
.finder__near { font-weight: 700; margin: 0 0 12px; }
.finder__help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 28px; padding: 20px 22px; background: var(--bg-2); border-radius: var(--r); }
.finder__help div:first-child { display: grid; gap: 2px; }
.finder__help strong { font-size: 1.08rem; }
.finder__help span { color: var(--mute); }
.finder__help-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 28px 16px; border: var(--bw) dashed #8f8e86; border-radius: 16px; background: var(--bg-2); cursor: pointer; }
.dropzone:hover, .dropzone.is-over { border-color: var(--k); background: var(--y-soft); }
.dropzone:focus-within { border-color: var(--k); box-shadow: 0 0 0 3px var(--y); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .icon { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--y); border: var(--bw) solid var(--k); }
.dropzone span { color: var(--mute); font-size: .9rem; max-width: 34em; }
.upl-pv { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 10px; }
.upl-pv__it { position: relative; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--well); }
.upl-pv__it img { width: 100%; height: 100%; object-fit: cover; }
.upl-pv__it button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(0,0,0,.75); color: var(--w); cursor: pointer; }
.sellform__foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sell__side { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 14px; }
.sell__card { background: var(--bg-2); border-radius: var(--r); padding: 22px; }
.sell__card .h3 { margin: 0 0 14px; font-size: 1.15rem; }
.sell__card--dark { background: var(--g); color: var(--w); display: grid; gap: 10px; }
.sell__card--dark strong { font-size: 1.08rem; }
.sell__card--dark p { margin: 0; color: #d3d5d7; }
.sell__card--dark .btn:hover { box-shadow: 3px 3px 0 var(--y); }
.sell__steps { list-style: none; display: grid; gap: 12px; }
.sell__steps li { display: flex; gap: 12px; align-items: flex-start; }
.sell__steps span { flex: none; width: 34px; height: 30px; border-radius: 10px 10px 4px 4px; background: var(--y); border: var(--bw) solid var(--k); font-family: var(--fd); font-weight: 800; font-size: .9rem; display: grid; place-items: center; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1279px) {
  .hdr__phone span { display: none; }
  .hdr__phone { width: 44px; padding: 0; }
}
@media (max-width: 1240px) {
  .hdr__in { gap: 12px; }
  .nav__link { padding: 6px 9px; font-size: .95rem; }
  .hdr__logo img { height: 56px; }
}
@media (max-width: 1000px) {
  :root { --hdr: 68px; }
  .rcards--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hdr__logo img, .hdr.is-scrolled .hdr__logo img { height: 52px; }
  .hdr__burger { display: grid; }
  .hdr__in { justify-content: space-between; }
  .lsw { display: none; }
  .nav { position: fixed; inset: var(--hdr) 0 0 0; background: var(--y); flex-direction: column; justify-content: flex-start; padding: 20px var(--gut) 28px; overflow-y: auto; transform: translateX(100%); transition: transform .25s, visibility .25s; visibility: hidden; border-top: var(--bw) solid var(--k); }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { height: auto; display: block; }
  .nav__link, .nav__link:hover, .has-sub:hover > .nav__link, .nav__link.is-active { min-height: 0; padding: 14px 4px; border-radius: 0; background: none; box-shadow: none; font-family: var(--fd); font-weight: 800; font-size: 1.5rem; letter-spacing: -.035em; border-bottom: var(--bw) solid var(--k); }
  .nav__link.is-active { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
  .nav__sub { display: none; }
  .nav__mobile-cta { display: grid; gap: 10px; margin-top: 24px; }
  .nav__mobile-cta .btn--y { background: var(--k); color: var(--y); }
  .nav__addr { display: flex; gap: 8px; align-items: center; margin: 6px 0 0; font-weight: 600; }
  .hero__in { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 40px; gap: 28px; }
  .hero__stage { max-width: 520px; width: 100%; margin: 0 auto; }
  .usedband__in, .cband__in, .faqwrap, .about, .contact, .cart { grid-template-columns: 1fr; }
  .faqwrap > div:first-child { position: static; }
  .usedband__list { grid-template-columns: repeat(3, minmax(220px, 1fr)); overflow-x: auto; padding: 4px 6px 10px 0; }
  .pd__grid, .pd__body { grid-template-columns: 1fr; gap: 28px; }
  .pd__info, .pd__side { position: static; }
  .helpstrip { grid-template-columns: 1fr 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__grid > :first-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps::before { display: none; }
  .about__img { transform: none; max-width: 380px; }
  .sell { grid-template-columns: 1fr; }
  .sell__side { position: static; }
}
@media (max-width: 900px) { .cmpbar__txt { display: none; } }
@media (max-width: 720px) {
  :root { --gut: 16px; }
  body { font-size: 16px; padding-bottom: 72px; }
  .sec { padding: 56px 0; }
  .sec--cats { padding-top: 44px; }
  .h2 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .hdr__phone, .hdr__wa { display: none; }
  .hero__in { padding-top: 28px; }
  .hero__h { font-size: clamp(2rem, 9.6vw, 2.6rem); letter-spacing: -.05em; }
  .hero__lead { font-size: 1.02rem; margin-bottom: 20px; }
  .hero__cta { gap: 8px; }
  .hero__cta .btn { flex: 1 1 0; min-width: 0; min-height: 52px; padding: 10px 8px; font-size: 1rem; gap: .4em; }
  .hero__cta .btn--used { flex-basis: 100%; }
  .hero__lic > span { flex-basis: 100%; }
  .hero__lic .lplate--el { flex-basis: 100%; }
  .altblock { margin-top: 36px; padding: 20px 14px 14px; border-radius: 18px; }
  .altblock__ic { width: 38px; height: 34px; }
  .lplate { min-width: 0; flex: 1; }
  .hero__stage { aspect-ratio: 4 / 3.7; }
  .hero__stage::before { inset: 0 0 21% 3%; border-radius: 40px 40px 16px 16px; box-shadow: 6px 6px 0 var(--k); }
  .slide__img { inset: 4% 3% 24% 7%; }
  .slide__tag { max-width: 62%; padding: 9px 14px 8px; box-shadow: 0 0 0 3px var(--y), 0 0 0 5px var(--k); }
  .slide__name { font-size: .8rem; -webkit-line-clamp: 1; }
  .slider__dots { gap: 10px; bottom: 6px; }
  .slider__dots button { width: 14px; height: 7px; }
  .slider__dots button.is-on { width: 26px; }
  .slide__price strong { font-size: 1.35rem; }
  .slide__badge { font-size: 1rem; }
  .catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .catcard { padding: 8px 10px 12px; }
  .catcard__t { font-size: .95rem; }
  .catcard__m { font-size: .8rem; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard, .ucard { border-radius: 14px; }
  .pcard__img, .ucard__img { margin: 5px 5px 0; border-radius: 10px; }
  .pcard__body, .ucard__body { padding: 9px 10px 10px; gap: 5px; }
  .pcard__name { font-size: .9rem; }
  .pcard__brand { font-size: .72rem; }
  .pcard__specs span:not(.lic), .ucard__spec span { font-size: .72rem; padding: 1px 6px; }
  .pcard__foot { gap: 6px; }
  .price--plate { padding: 4px 8px 3px; }
  .price--plate strong { font-size: 1rem; }
  .price--plate s { font-size: .7rem; }
  .price--xl strong { font-size: 2.1rem; }
  .cmpb { width: 32px; height: 32px; }
  .cmpb::before { content: ""; position: absolute; inset: -8px; }
  .cmpb .icon { width: 15px; height: 15px; }
  .cmpb--wide { width: auto; height: auto; }
  .stock { font-size: .74rem; gap: 5px; }
  .badge { font-size: .72rem; top: 7px; }
  .badge--sale { font-size: .72rem; padding: 3px 7px 3px 12px; }
  .pcard__specs .lic { font-size: .66rem; padding: 1px 5px 0; }
  .badge--used { left: 7px; }
  .badge--res, .badge--sold { right: 7px; }
  .usedband { padding: 88px 0; clip-path: polygon(0 20px, 100% 0, 100% calc(100% - 20px), 0 100%); }
  .usedband__list { grid-template-columns: repeat(3, 72%); }
  .phead { padding: 22px 0 30px; }
  .phead__h { font-size: clamp(1.7rem, 8vw, 2.3rem); }
  .pd__h { font-size: 1.45rem; }
  .iform { padding: 20px 16px; box-shadow: 5px 5px 0 var(--y); }
  .iform__grid { grid-template-columns: 1fr; }
  .pd__cta, .pd__perks, .specs { grid-template-columns: 1fr 1fr; }
  .pd__cta .btn--lg { font-size: 1rem; gap: .4em; }
  .kspecs dd { font-size: 1rem; }
  .videos { grid-template-columns: 1fr; }
  .helpstrip, .helpstrip--3 { grid-template-columns: 1fr; }
  .contact__cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 26px; }
  .steps li { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; }
  .steps__n { grid-row: span 2; }
  .steps h3 { margin: 4px 0 4px; }
  .toolbar .sel { flex: 1 1 45%; }
  .toolbar__specs .sel { flex: 1 1 45%; min-width: 0; }
  .prange { flex: 1 1 100%; min-width: 0; }
  .cline { grid-template-columns: 72px 1fr 56px; }
  .cline__sum { grid-column: 2; text-align: left; }
  .cline__rm { grid-column: 3; }
  .lightbox { padding: 60px 8px 76px; --lb-x: 16px; --lb-y: 140px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; translate: none; }
  .cookie { left: 8px; right: 8px; bottom: 80px; }
  .cookie__in { flex-direction: column; align-items: stretch; box-shadow: 4px 4px 0 var(--k); }
  .cookie__btns .btn { flex: 1; }
  .ftr__sign { padding-top: 30px; padding-bottom: 24px; gap: 16px; }
  .ftr__logo { width: 84px; height: 84px; }
  .ftr__logo img { width: 66px; }
  .ftr__call { flex-basis: 100%; }
  .ftr__tel { font-size: clamp(1.7rem, 9vw, 2.4rem); }
  .ftr__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 16px; }
  .ftr__bottom { flex-direction: column; }
  .ftr__links { gap: 0; }
  .ftr__links a, .ftr__links button { display: inline-block; padding: 10px 0; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--w); border-top: var(--bw) solid var(--k); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 99px; border: var(--bw) solid var(--k); font-weight: 800; font-size: 1.05rem; text-decoration: none; color: var(--k); }
  .nav-open .mbar { display: none; }
  .mbar__call { background: var(--y); }
  .mbar__wa { background: var(--wa); }
  /* search */
  .srch { padding-left: 14px; gap: 8px; }
  .srch__btn span { display: none; }
  .srch__btn .icon { display: block; }
  .srch__btn { padding: 0 14px; }
  .srch__ic { display: none; }
  .srch input { font-size: 1rem; }
  .srch__it { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; }
  .srch__thumb { width: 52px; height: 40px; }
  .srch__dd { max-height: 62vh; box-shadow: 4px 4px 0 var(--k); }
  .hsearch { padding: 10px 0 12px; }
  /* compare */
  .cmpbar { bottom: calc(68px + env(safe-area-inset-bottom)); }
  .cmpbar__it, .cmpbar__slot { width: 46px; height: 36px; }
  .cmpbar__slot:nth-child(n+4) { display: none; }
  .cmpbar__clear { display: none; }
  body.has-cmpbar { padding-bottom: 140px; }
  .cmpt { min-width: calc(96px + var(--cols) * 150px); }
  .cmpt__lbl { width: 96px; font-size: .78rem; padding: 10px; }
  .cmpt th, .cmpt td { padding: 10px; }
  .cmpt__name { font-size: .9rem; }
  .cmpt__rm { top: 14px; right: 14px; }
  /* sell */
  .rcards { grid-template-columns: 1fr; }
  .finder .rcards, .finder .rcards--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* two cards per row: icon above the text, so long (Russian) words keep the full card width */
  .finder .rcard__box { grid-template-columns: 1fr; align-content: start; padding: 12px; }
  .finder .rcard__box .icon { grid-row: auto; }
  .finder .rcard__box strong { font-size: .95rem; }
  .finder .rcard__box { min-height: 64px; }
  .finder { gap: 24px; }
  .iform__grid--3 { grid-template-columns: 1fr 1fr; }
  .iform__grid--3 .fld:first-child { grid-column: 1 / -1; }
  .rcard__box { grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 12px 14px; }
  .rcard__box .icon { grid-row: span 2; }
}
@media (max-width: 380px) {
  .pcard__foot { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Google reviews (partials/reviews.php, contacts card) ---------- */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.star { width: 22px; height: 22px; fill: var(--y); stroke: var(--k); stroke-width: 1.6; stroke-linejoin: round; }
.star--half { fill: var(--y-soft); }
.star--empty { fill: var(--w); }
.stars--sm .star { width: 16px; height: 16px; }
/* on yellow (rating panel, hovered contact card) stars are black */
.rvsum .star, a.ccard:hover .star { fill: var(--k); }
.rvsum .star--half, a.ccard:hover .star--half { fill: var(--g-3); }
.rvsum .star--empty, a.ccard:hover .star--empty { fill: var(--w); }
.rvwrap { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.rvsum { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px; background: var(--y); border: var(--bw) solid var(--k); border-radius: var(--plate-lg); }
.rvsum__plate { font-family: var(--fd); font-weight: 800; font-size: 3.4rem; line-height: 1; letter-spacing: -.05em; background: var(--w); border: var(--bw) solid var(--k); border-radius: var(--plate); padding: 10px 18px 8px; }
.rvsum__txt { display: grid; gap: 6px; font-weight: 600; }
.rvlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.rvcard { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--w); color: var(--k); border: var(--bw) solid var(--k); border-radius: var(--r); min-width: 0; }
.rvcard__top { display: flex; align-items: center; gap: 12px; }
.rvcard__ava { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--y); border: var(--bw) solid var(--k); display: grid; place-items: center; font-family: var(--fd); font-weight: 800; font-size: 1.05rem; }
.rvcard__name { display: block; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
a.rvcard__name:hover { text-decoration: underline; }
.rvcard__when, .rvcard__tr, .rvsrc { font-size: .85rem; color: var(--mute); }
.rvcard__text { margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
.rvcard__more { font-weight: 700; font-size: .92rem; }
.rvsrc { margin: 14px 0 0; }
.ccard__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.ccard__count { font-size: .85rem; font-weight: 500; color: var(--mute); }
a.ccard:hover .ccard__count { color: var(--k); }
@media (max-width: 1000px) {
  .rvwrap { grid-template-columns: 1fr; }
  .rvsum { flex-direction: row; flex-wrap: wrap; align-items: center; }
}
@media (max-width: 720px) {
  .rvsum { padding: 18px; gap: 12px; }
  .rvsum__plate { font-size: 2.6rem; }
  .rvsum .btn { width: 100%; }
}
@media (max-width: 720px) {
  .rvlist .rvcard:nth-child(n+3) { display: none; }   /* two are enough on a phone; "Visi atsiliepimai" has the rest */
}
/* long single words (RU "конфиденциальности", "Электромотоциклы") must not widen narrow columns */
.catcard__t, .ftr__links a, .ftr__h { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 360px) {
  /* RU "Квадроциклы 80" needs a little less on the narrowest phones */
  .hero__cta .btn { font-size: .92rem; padding-left: 6px; padding-right: 6px; gap: .3em; }
}

/* ---------- Patarimai (guides) ---------- */
.glist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.gcard { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--w); color: var(--k); border: var(--bw) solid var(--k); border-radius: var(--r); text-decoration: none; transition: transform .12s, box-shadow .12s, background .12s; }
.gcard:hover { transform: translate(-3px, -3px); box-shadow: var(--hard); background: var(--y); }
.gcard__ic { width: 46px; height: 42px; border-radius: var(--plate); background: var(--y); border: var(--bw) solid var(--k); display: grid; place-items: center; }
.gcard:hover .gcard__ic { background: var(--w); }
.gcard__t { margin: 4px 0 0; font-family: var(--fd); font-weight: 800; font-size: 1.22rem; line-height: 1.2; letter-spacing: -.03em; overflow-wrap: break-word; hyphens: auto; }
.gcard__lead { margin: 0; color: var(--mute); line-height: 1.5; flex: 1; }
.gcard:hover .gcard__lead { color: var(--k); }
.gcard__meta { font-size: .85rem; color: var(--mute); }
.gcard:hover .gcard__meta { color: var(--k); }
.phead__link { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-weight: 700; }
.phead__link a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.guide__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 14px 0 0; font-size: .92rem; color: var(--mute); }
.guide { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.guide__body { max-width: 72ch; font-size: 1.06rem; line-height: 1.7; color: var(--k); }
.guide__body > :first-child { margin-top: 0; }
.guide__body h2 { font-size: 1.45rem; margin: 1.6em 0 .55em; }
.guide__body p { margin: 0 0 1em; }
.guide__body a { font-weight: 600; color: var(--k); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.guide__body a:hover { background: var(--y-soft); }
.guide__body li { margin-bottom: .45em; }
.guide__table { overflow-x: auto; margin: 0 0 1.2em; border: var(--bw) solid var(--k); border-radius: var(--r); }
.guide__table table { margin: 0; border-radius: 0; min-width: 520px; }
.guide__table th { background: var(--y); font-weight: 700; color: var(--k); }
.guide__table td:first-child { width: auto; font-family: var(--fd); font-weight: 800; white-space: nowrap; }
.guide__table th { white-space: nowrap; }
.guide__note { background: var(--y-soft); border-left: 4px solid var(--k); padding: 14px 18px; border-radius: 0 12px 12px 0; font-size: .95rem; }
.guide__faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.guide__faq details:last-child { border-bottom: 1px solid var(--line); }
.guide__faq summary { cursor: pointer; font-weight: 700; padding: 10px 0; min-height: 44px; display: flex; align-items: center; }
.guide__faq details p { margin: 0 0 12px; }
.guide__side { position: sticky; top: 100px; display: grid; gap: 16px; }
.guide__ask { display: grid; gap: 10px; padding: 22px; background: var(--y); border: var(--bw) solid var(--k); border-radius: var(--plate-lg); }
.guide__ask .h3, .guide__more .h3 { margin: 0; }
.guide__ask p { margin: 0 0 4px; }
.guide__more { display: grid; gap: 10px; padding: 22px; border: var(--bw) solid var(--line-2); border-radius: var(--r); }
.guide__more ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.guide__more a:not(.more) { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.guide__more .more { justify-self: start; }
@media (max-width: 1000px) {
  .guide { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .guide__side { position: static; }
}
@media (max-width: 720px) {
  .guide__body { font-size: 1rem; }
  .guide__body h2 { font-size: 1.25rem; }
  .gcard { padding: 20px; }
}
@media (max-width: 720px) {
  /* the licence table becomes one block per category on phones */
  .guide__table table, .guide__table tbody, .guide__table tr, .guide__table td { display: block; }
  .guide__table table { min-width: 0; }
  .guide__table thead { display: none; }
  .guide__table tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .guide__table tr:last-child { border-bottom: 0; }
  .guide__table td { padding: 2px 0; border: 0; background: none !important; }
  .guide__table td:first-child { font-size: 1.35rem; }
  .guide__table td[data-l] { font-weight: 700; margin-top: 4px; }
  .guide__table td[data-l]::before { content: attr(data-l) ": "; font-weight: 500; color: var(--mute); }
}
.ccard__hint { font-size: .85rem; color: var(--mute); margin-top: 4px; line-height: 1.4; }

/* Supplier "feature" layouts: tables used only for layout (they hold photos or other tables) become a
   responsive grid of blocks – text above a full-width photo – instead of squeezed spec-table cells. */
.prose table:has(img), .prose table:has(table) { display: block; background: none; border-radius: 0; overflow: visible; margin: 0 0 8px; font-size: inherit; }
.prose table:has(img) > tbody, .prose table:has(table) > tbody, .prose table:has(img) > thead { display: block; }
.prose table:has(img) tr, .prose table:has(table) tr { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 24px; margin-bottom: 20px; }
.prose table:has(img) td, .prose table:has(table) td, .prose table:has(img) th { display: block; min-width: 0; width: auto !important; padding: 0; border: 0; background: none !important; font-weight: inherit; color: inherit; }
.prose table:has(img) td h3, .prose table:has(img) td h4 { margin-top: .4em; }
.prose table:has(img) td img { display: block; width: 100%; height: auto; max-height: 380px; object-fit: contain; margin: 0; }
@media (max-width: 720px) {
  /* three-column spec tables: one cell per line on phones */
  .prose--table table:has(td:nth-child(3)), .prose--table table:has(td:nth-child(3)) > tbody, .prose--table tr:has(> td:nth-child(3)), .prose--table tr:has(> td:nth-child(3)) > td { display: block; }
  .prose--table table:has(td:nth-child(3)) tr:has(> td:only-child) { display: block; }
  .prose--table table:has(td:nth-child(3)) td { width: auto; }
}
.guide__preview { background: var(--k); color: var(--y); font-weight: 600; padding: 10px 0; font-size: .92rem; }
.guide__preview a { color: var(--w); }
