@font-face {
  font-family: "Plex";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 85% 100%;
  font-display: swap;
  src: url(../fonts/plex-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: "Plex";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 85% 100%;
  font-display: swap;
  src: url(../fonts/plex-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 {
  --blue: #1f66c1;        /* logo blue, deepened for text contrast */
  --blue-d: #154d94;
  --blue-l: #e8f0fa;
  --red: #e23b2e;         /* category keys, straight from the logo */
  --green: #3fa34d;
  --sky: #2aa5d9;
  --ink: #1c2631;
  --ink-2: #4a5563;
  --ink-3: #6b7480;
  --line: #dce1e6;
  --line-2: #c9d0d7;
  --bg-2: #f3f5f7;
  --bg-3: #e9edf1;
  --white: #fff;
  --side-w: 264px;
  --pad: 24px;
  --gap: 24px;
  --r: 4px;
  --font: "Plex", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--stick-h, 130px) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--ink);
  background: var(--white); font-feature-settings: "kern"; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-stretch: 88%; line-height: 1.2; letter-spacing: -.005em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; }
.ic { width: 20px; height: 20px; flex: none; fill: currentColor; }
.num, .price, .badge { font-variant-numeric: tabular-nums lining-nums; }

.wrap { width: 100%; max-width: 1392px; margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--blue); color: #fff; padding: 8px 14px; z-index: 100; border-radius: var(--r); }
.skip:focus { top: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 8px 16px; border-radius: var(--r); border: 1px solid transparent;
  font-weight: 600; font-size: 14.5px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn-p { background: var(--blue); color: #fff; }
.btn-p:hover { background: var(--blue-d); }
.btn-g { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-g:hover { border-color: var(--ink-3); }
.btn-w { background: #fff; color: var(--blue-d); }
.btn-w:hover { background: var(--blue-l); }
.btn-q { background: transparent; color: var(--ink-2); border-color: var(--line-2); }
.btn-q:hover { color: var(--ink); border-color: var(--ink-3); }
.btn-l { min-height: 46px; padding: 10px 22px; font-size: 15.5px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- utility bar + header ---------- */
.util { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.util-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; }
.util nav { display: flex; gap: 20px; }
.util nav a { color: var(--ink-2); }
.util nav a:hover { color: var(--blue); }

.hdr { background: #fff; }
.hdr-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 28px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo svg { width: 50px; height: 38px; flex: none; }
.logo-t { font-size: 23px; font-weight: 600; letter-spacing: -.01em; font-stretch: 92%; color: #4d5762; }
.logo-t span { color: #6b7480; font-weight: 500; }

.search { position: relative; display: flex; max-width: 620px; width: 100%; }
.search input {
  flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 2px solid var(--blue); border-right: 0;
  border-radius: var(--r) 0 0 var(--r); background: #fff; font-size: 15px;
}
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--blue); }
.search-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border: 0;
  background: var(--blue); color: #fff; font-weight: 600; border-radius: 0 var(--r) var(--r) 0;
}
.search-btn:hover { background: var(--blue-d); }
.sugg {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 60; background: #fff;
  border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 12px 28px rgba(20, 40, 70, .14); overflow: hidden;
}
.sugg-h { padding: 8px 14px; font-size: 13px; color: var(--ink-2); background: var(--bg-2); border-bottom: 1px solid var(--line); }
.sugg button {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%;
  padding: 8px 14px; border: 0; background: #fff; text-align: left; border-bottom: 1px solid var(--line);
}
.sugg button:last-child { border-bottom: 0; }
.sugg button:hover, .sugg button[aria-selected="true"] { background: var(--blue-l); }
.sugg img { width: 44px; height: 44px; object-fit: contain; }
.sugg .s-t { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sugg .s-p { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sugg-empty { padding: 14px; font-size: 14px; color: var(--ink-2); }

.phones { display: flex; gap: 22px; }
.phones a { display: flex; flex-direction: column; color: var(--ink); line-height: 1.25; }
.phones a:hover { text-decoration: none; color: var(--blue); }
.phones small { font-size: 12.5px; color: var(--ink-3); }
.phones b { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.hdr-act { display: flex; gap: 8px; }
.hbtn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; color: var(--ink); font-weight: 600; font-size: 14.5px;
}
.hbtn:hover { border-color: var(--ink-3); text-decoration: none; }
.hbtn-cart { background: var(--ink); border-color: var(--ink); color: #fff; }
.hbtn-cart:hover { background: #2c3947; }
.hbtn-tel { display: none; }
.badge {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--red); color: #fff;
  font-size: 12.5px; font-weight: 700; display: inline-grid; place-items: center; line-height: 1;
}
.hbtn:not(.hbtn-cart) .badge { background: var(--blue); }
.badge.bump { animation: bump .35s ease-out; }
@keyframes bump { 40% { transform: scale(1.3); } }

.bar { background: var(--blue); color: #fff; position: relative; z-index: 30; }
.bar-in { display: flex; align-items: stretch; min-height: 46px; }
.bar-cat {
  display: inline-flex; align-items: center; gap: 10px; width: var(--side-w); flex: none; padding: 0 16px;
  background: var(--blue-d); color: #fff; border: 0; font-weight: 600; font-size: 15px; text-align: left; cursor: default;
}
.bar-links { display: flex; align-items: stretch; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.bar-links::-webkit-scrollbar { display: none; }
.bar-links a { display: flex; align-items: center; padding: 0 16px; color: #fff; font-weight: 500; font-size: 14.5px; white-space: nowrap; }
.bar-links a:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }

/* ---------- shop layout ---------- */
.shop { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); gap: 0 var(--gap); align-items: start; }
.main { min-width: 0; padding: 20px 0 56px; }
.main:focus { outline: none; }

/* sidebar */
.side { position: sticky; top: var(--stick-h, 130px); z-index: 25; align-self: start; }
.side-in {
  max-height: calc(100vh - var(--stick-h, 130px)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  border: 1px solid var(--line); border-top: 0; background: #fff;
}
.side-head { display: none; }
.cat-sec { border-top: 1px solid var(--line); }
.cat-sec:first-child { border-top: 0; }
.cat-sec-t {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px 4px; font-size: 12.5px; font-weight: 600; color: var(--ink-3);
}
.cat-sec-t .ic { width: 16px; height: 16px; color: var(--k); }
.cats ul { list-style: none; margin: 0; padding: 0 0 6px; }
.cat {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%;
  min-height: 34px; padding: 6px 12px 6px 38px; border: 0; background: none; text-align: left; font-size: 14.5px; line-height: 1.25; color: var(--ink);
}
.cat::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 2px; background: var(--k); opacity: .9;
}
.cat::after {
  content: ""; width: 7px; height: 7px; flex: none; border-right: 1.6px solid var(--ink-3); border-top: 1.6px solid var(--ink-3);
  transform: rotate(45deg); margin-right: 4px;
}
.cat:hover, .cat[aria-expanded="true"] { background: var(--bg-2); color: var(--blue-d); }
.cat[aria-expanded="true"] { box-shadow: inset 3px 0 0 var(--k); font-weight: 600; }
.cat[aria-expanded="true"]::after { border-color: var(--blue-d); }
.side-foot {
  display: block; margin: 4px 10px 12px; padding: 12px; border-radius: var(--r); background: var(--bg-2);
  font-size: 13.5px; line-height: 1.4; color: var(--ink-2);
}
.side-foot b { display: block; color: var(--ink); }
.side-foot:hover { text-decoration: none; background: var(--blue-l); }

/* flyout mega panel */
.fly {
  position: absolute; left: calc(100% - 1px); top: 0; z-index: 40;
  width: calc(min(100vw, 1392px) - 2 * var(--pad) - var(--side-w)); max-height: calc(100vh - var(--stick-h, 130px)); overflow-y: auto;
  background: #fff; border: 1px solid var(--line-2); border-top: 3px solid var(--k, var(--blue));
  box-shadow: 18px 18px 40px rgba(20, 40, 70, .14); padding: 22px 26px 24px;
}
.fly[hidden] { display: none; }
.fly-back { display: none; }
.fly-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.fly-h h2 { font-size: 22px; font-weight: 600; }
.fly-h a { font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.fly-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; padding-top: 18px; }
.fly-subs h3, .fly-prods h3 { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 8px; font-stretch: 100%; letter-spacing: 0; }
.fly-subs ul { list-style: none; margin: 0; padding: 0; }
.fly-subs li a, .fly-subs li span {
  display: block; padding: 6px 0; border-bottom: 1px solid var(--bg-3); color: var(--ink); font-size: 14.5px;
}
.fly-subs li a:hover { color: var(--blue); }
.fly-subs li span { color: var(--ink-2); }
.fly-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.fc { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-right: 1px solid var(--line); min-width: 0; }
.fc:last-child { border-right: 0; }
.fc img { width: 100%; height: 140px; object-fit: contain; }
.fc .p-brand { margin-top: 4px; }
.fc .p-t { font-size: 13.5px; -webkit-line-clamp: 3; }
.fc .price { font-size: 17px; margin-top: auto; }
.fc .btn { min-height: 34px; padding: 6px 10px; font-size: 13.5px; }
.fly-empty { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 18px; align-items: start; padding: 16px; background: var(--bg-2); border-radius: var(--r); }
.fly-empty p { color: var(--ink-2); margin-bottom: 12px; }
.fly-empty img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.fly-empty .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.fly-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.fly-foot a { font-weight: 600; font-variant-numeric: tabular-nums; }

.scrim { position: fixed; inset: 0; background: rgba(15, 25, 40, .45); z-index: 70; }
.scrim[hidden] { display: none; }

/* ---------- lead + promo carousel ---------- */
.lead { font-size: 21px; font-weight: 600; color: var(--ink); margin: 2px 0 14px; max-width: 46em; }

.promo { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.slides { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.slide { grid-area: 1 / 1; display: flex; flex-direction: column; background: #fff; min-height: 360px; }
.slide[hidden] { display: flex; visibility: hidden; }
.slide.is-on { animation: slidein .45s ease-out; }
@keyframes slidein { from { opacity: 0; } to { opacity: 1; } }
.slide-txt {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: end; padding: 26px 64px 18px 32px;
}
.slide-brand { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-bottom: 6px; }
.slide-brand.bosch { color: #d6001c; font-weight: 700; letter-spacing: .06em; font-size: 15px; }
.slide-brand.vaillant { color: #00843d; font-weight: 700; font-size: 16px; }
.slide h2 { font-size: 27px; font-weight: 600; max-width: 26em; line-height: 1.18; }
.slide-txt p:not(.slide-brand) { margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.slide-cta { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.slide-art { flex: 1; display: flex; align-items: flex-end; justify-content: center; padding: 0 24px; overflow: hidden; }
.slide-art img {
  height: 210px; width: auto; max-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.s-bosch { background: #fff; }
.s-bosch .slide-art { padding: 0; }
.s-bosch .slide-art { background: linear-gradient(90deg, #f1f2f2 0%, #e9eaeb 22%, #dcdedf 60%, #c9cbcd 100%); }
.crop-bosch { display: flex; justify-content: center; }
.crop-bosch img { -webkit-mask-image: linear-gradient(90deg, transparent 11.8%, #000 19%, #000 81%, transparent 88.4%); mask-image: linear-gradient(90deg, transparent 11.8%, #000 19%, #000 81%, transparent 88.4%); }
.s-grid { background: linear-gradient(180deg, #fff 40%, #eef3f7 100%); }
.s-grid .slide-art img { height: 200px; }

.sl-nav {
  position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .94); color: var(--ink); display: grid; place-items: center;
}
.sl-nav:hover { border-color: var(--ink-3); }
.sl-prev { left: 12px; top: auto; bottom: 90px; }
.sl-next { right: 12px; top: auto; bottom: 90px; }
.sl-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); background: var(--bg-2); }
.sl-tab {
  position: relative; padding: 12px 14px; border: 0; border-right: 1px solid var(--line); background: none;
  font-size: 14px; font-weight: 500; color: var(--ink-2); text-align: left; overflow: hidden;
}
.sl-tab:last-child { border-right: 0; }
.sl-tab:hover { color: var(--ink); background: #fff; }
.sl-tab[aria-selected="true"] { background: #fff; color: var(--ink); font-weight: 600; }
.sl-tab i { position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--blue); }
.sl-tab[aria-selected="true"] i { width: 100%; }
.promo.is-auto .sl-tab[aria-selected="true"] i { width: 0; animation: prog 7s linear forwards; }
.promo.is-paused .sl-tab[aria-selected="true"] i { animation-play-state: paused; }
@keyframes prog { to { width: 100%; } }

.facts {
  list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2);
}
.facts li { padding: 12px 16px; border-right: 1px solid var(--line); line-height: 1.35; }
.facts li:last-child { border-right: 0; }
.facts b { display: block; font-size: 15px; font-weight: 600; }
.facts span { font-size: 13.5px; color: var(--ink-2); }

/* ---------- product rows ---------- */
.rows { margin-top: 34px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }
.row { min-width: 0; }
.row-h { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.row-h h2 { font-size: 22px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.row-h h2 .ic { width: 20px; height: 20px; color: var(--k); }
.row-n { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.row-sp { flex: 1; }
.row-sub { display: flex; gap: 6px; flex-wrap: wrap; }
.row-ctl { display: flex; gap: 6px; }
.row-ctl button {
  width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; color: var(--ink);
}
.row-ctl button:hover:not([disabled]) { border-color: var(--ink-3); }
.row-ctl button[disabled] { opacity: .35; cursor: default; }
.row-ctl .ic { width: 18px; height: 18px; }

.strip {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
  border: 1px solid var(--line); border-top: 3px solid var(--k); border-radius: 0 0 var(--r) var(--r); background: #fff;
}
.strip:focus-visible { outline-offset: -2px; }
.card {
  position: relative; flex: 0 0 calc((100% - 0px) / 5); min-width: 196px; display: flex; flex-direction: column;
  padding: 14px 14px 12px; border-right: 1px solid var(--line); scroll-snap-align: start; background: #fff;
}
.card:last-child { border-right: 0; }
.card.flash { animation: flash 1.6s ease-out; }
@keyframes flash { 0%, 40% { background: var(--blue-l); } 100% { background: #fff; } }
.p-img { display: grid; place-items: center; height: 158px; margin-bottom: 10px; }
.p-img img { max-height: 158px; width: auto; object-fit: contain; }
.p-brand { font-size: 12.5px; font-weight: 600; color: var(--ink-3); min-height: 18px; }
.p-t {
  font-size: 14px; line-height: 1.35; margin: 2px 0 8px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.05em;
}
.p-spec { margin: 0 0 10px; font-size: 12.5px; color: var(--ink-2); display: grid; gap: 1px; }
.p-spec div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dotted var(--line-2); padding-bottom: 1px; }
.p-spec dt { color: var(--ink-3); }
.p-spec dd { margin: 0; min-width: 0; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-buy { margin-top: auto; }
.price { font-size: 20px; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; white-space: nowrap; }
.price small { font-size: 12px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.p-act { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.p-act .btn { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.p-act .btn .ic { width: 17px; height: 17px; }
.btn.is-added { background: var(--green); }
.cmp { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); cursor: pointer; user-select: none; }
.cmp input, .chk input { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.cmp:has(input:checked) { color: var(--blue-d); font-weight: 600; }

/* ---------- generic section ---------- */
.sec { margin-top: 56px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 32px; flex-wrap: wrap; margin-bottom: 16px; }
.sec-h h2, .list-info h2, .contact-info h2 { font-size: 26px; font-weight: 600; }
.sec-h p { color: var(--ink-2); max-width: 60ch; }

/* brands */
.brand-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.br {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; min-height: 64px; padding: 12px 16px;
  border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; text-align: left;
}
.br:hover { background: var(--bg-2); }
.br-n { font-size: 18px; font-weight: 600; color: #59636e; letter-spacing: -.005em; }
.br:hover .br-n { color: var(--ink); }
.br-big { grid-column: span 3; min-height: 104px; padding: 16px 22px; }
.br-big .br-n { font-size: 32px; font-weight: 700; line-height: 1.05; }
.br-t { font-size: 14px; color: var(--ink-2); }
.br-bosch .br-n { color: #d6001c; letter-spacing: .05em; }
.br-vaillant .br-n { color: #00843d; }
.br-bosch:hover .br-n { color: #b30017; }
.br-vaillant:hover .br-n { color: #006b31; }
.br-bosch { box-shadow: inset 0 3px 0 #d6001c; }
.br-vaillant { box-shadow: inset 0 3px 0 #00843d; }

/* list order */
.list {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; padding: 32px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
}
.list-info > p { margin-top: 10px; color: var(--ink-2); max-width: 52ch; }
.steps { list-style: none; counter-reset: s; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 2px 12px; }
.steps li::before {
  content: counter(s); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; font-weight: 600; font-size: 15px;
}
.steps b { font-weight: 600; }
.steps span { font-size: 14px; color: var(--ink-2); }
.list-tel { margin-top: 22px; font-size: 14.5px; color: var(--ink-2); }
.list-tel a { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.list-form { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 14px; align-content: start; }
.seg { display: inline-grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; justify-self: start; }
.seg-b { padding: 8px 16px; border: 0; background: #fff; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.seg-b + .seg-b { border-left: 1px solid var(--line-2); }
.seg-b[aria-selected="true"] { background: var(--ink); color: #fff; }
textarea, .fld input {
  width: 100%; border: 1px solid var(--line-2); border-radius: var(--r); padding: 10px 12px; background: #fff; font-size: 15px;
}
textarea { resize: vertical; min-height: 160px; line-height: 1.5; }
textarea:focus, .fld input:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
textarea::placeholder { color: var(--ink-3); }
.lf-meta { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.lf-meta span { font-weight: 600; color: var(--ink-2); margin-right: 6px; font-variant-numeric: tabular-nums; }
.drop {
  display: grid; justify-items: center; gap: 4px; padding: 30px 16px; border: 2px dashed var(--line-2); border-radius: var(--r);
  text-align: center; cursor: pointer; color: var(--ink-2); font-size: 14px; background: var(--bg-2);
}
.drop .ic { width: 30px; height: 30px; color: var(--blue); }
.drop b { color: var(--ink); font-weight: 600; }
.drop.is-over, .drop:hover { border-color: var(--blue); background: var(--blue-l); }
#lf-upl:focus-visible + .lf-file, #lf-upl:focus-visible ~ * { outline: none; }
.lf-file { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; font-weight: 600; }
.lf-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fld label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--ink-2); }
.fld input { height: 42px; }
.lf-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.chk { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.lf-err { color: #b42318; font-size: 14px; font-weight: 500; }
.list-form > .btn { justify-self: start; }
.done {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 28px;
  background: #fff; border-radius: var(--r); font-size: 16px;
}
.done[hidden] { display: none; }
.done .ic { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--green); color: #fff; }
.done small { display: inline-block; margin-top: 6px; font-size: 13.5px; color: var(--ink-2); }

/* services */
.serv-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.serv-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.serv-list li {
  padding: 16px 18px 16px 40px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); position: relative;
}
.serv-list li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 10px; height: 10px; border-radius: 2px; background: var(--k); }
.serv-list li:nth-last-child(-n+2) { border-bottom: 0; }
.serv-list b { display: block; font-weight: 600; }
.serv-list span { font-size: 14px; color: var(--ink-2); }
.serv-cta { background: var(--blue); color: #fff; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; }
.serv-cta p { font-size: 15px; color: #e3ecf8; }
.serv-tel { color: #fff; font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.serv-tel:hover { color: #fff; }
.works { margin-top: 28px; }
.works h3 { font-size: 19px; font-weight: 600; margin-bottom: 12px; }
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.works figure { margin: 0; }
.works img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--bg-3); border-radius: 2px; filter: saturate(.82) contrast(1.04); }
.works figcaption {
  padding: 8px 2px 0; font-size: 13.5px; color: var(--ink-2); background: #fff;
}

/* terms */
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); }
.term { padding: 22px 22px 18px; border-right: 1px solid var(--line); }
.term:last-child { border-right: 0; }
.term h2 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.term dl { margin: 0; display: grid; gap: 0; }
.term dl div { padding: 8px 0; border-top: 1px solid var(--bg-3); }
.term dt { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.term dd { margin: 0; font-size: 14.5px; font-variant-numeric: tabular-nums; }

/* contacts */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: stretch; }
.c-block { margin-top: 14px; }
.c-block h3 { font-size: 13px; font-weight: 600; color: var(--ink-3); font-stretch: 100%; }
.c-addr { font-size: 20px; font-weight: 600; }
.c-phones { display: grid; gap: 10px; margin-top: 16px; }
.c-phones a { display: block; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); }
.c-phones a:hover { border-color: var(--blue); text-decoration: none; }
.c-phones b { display: block; font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--blue-d); }
.c-phones span { font-size: 13.5px; color: var(--ink-2); }
.c-mail { margin-top: 12px; font-weight: 600; }
.c-note { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.c-door { margin-top: 16px; border-radius: 2px; width: 100%; aspect-ratio: 1200 / 443; object-fit: cover; }
.map { position: relative; min-height: 420px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg-3); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-link {
  position: absolute; right: 10px; bottom: 10px; background: #fff; padding: 6px 12px; border-radius: var(--r);
  border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600;
}

/* footer */
.foot { background: #12345e; color: #c9d6e6; font-size: 14px; }
.foot a { color: #fff; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 28px; padding-top: 40px; padding-bottom: 32px; }
.foot-brand p { margin-top: 12px; max-width: 30ch; }
.logo-f .logo-t { color: #fff; }
.logo-f .logo-t span { color: #a9bbd1; }
.foot-col { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.foot-col h2 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px; font-stretch: 100%; }
.foot-col a { color: #dbe5f1; }
.foot-col a:hover { color: #fff; }
.foot-base { display: flex; margin: 0 24px; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 18px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 13px; color: #a9bbd1; }

/* ---------- compare bar + dialogs ---------- */
.cmpbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 3px solid var(--blue);
  box-shadow: 0 -10px 30px rgba(20, 40, 70, .14); transform: translateY(0); transition: transform .25s ease-out;
}
.cmpbar[hidden] { display: none; }
.cmpbar-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; padding-top: 10px; padding-bottom: 10px; }
.cmpbar-t { display: flex; flex-direction: column; line-height: 1.3; }
.cmpbar-t span { font-size: 13px; color: var(--ink-3); }
.cmp-slots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.slot { display: grid; grid-template-columns: 44px minmax(0, 1fr) 28px; align-items: center; gap: 8px; min-height: 56px; padding: 6px 6px 6px 8px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.slot img { width: 44px; height: 44px; object-fit: contain; }
.slot span { font-size: 13px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slot button { width: 28px; height: 28px; border: 0; border-radius: var(--r); background: none; color: var(--ink-3); display: grid; place-items: center; }
.slot button:hover { background: var(--bg-2); color: var(--ink); }
.slot button .ic { width: 16px; height: 16px; }
.slot-empty { display: grid; place-items: center; border-style: dashed; color: var(--ink-3); font-size: 13px; grid-template-columns: 1fr; }
.cmpbar-act { display: flex; gap: 8px; }
body.has-cmp { padding-bottom: 84px; }

dialog { border: 0; padding: 0; color: var(--ink); background: #fff; box-shadow: 0 24px 60px rgba(10, 25, 50, .3); }
dialog::backdrop { background: rgba(15, 25, 40, .5); }
.cmpd { width: min(1080px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border-radius: var(--r); }
.cmpd-head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 20px; padding: 16px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.cmpd-head h2 { font-size: 21px; font-weight: 600; margin-right: auto; }
.dx { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; color: var(--ink); }
.dx:hover { border-color: var(--ink-3); }
.cmpd-body { overflow-x: auto; }
.ct { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
.ct th, .ct td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ct thead td { vertical-align: bottom; border-bottom: 2px solid var(--line-2); }
.ct tbody th { width: 160px; font-weight: 600; color: var(--ink-2); font-size: 13.5px; background: var(--bg-2); position: sticky; left: 0; z-index: 1; }
.ct td { font-variant-numeric: tabular-nums; border-left: 1px solid var(--line); }
.ct .h-img { height: 120px; width: 100%; object-fit: contain; margin-bottom: 8px; }
.ct .h-t { font-size: 14px; font-weight: 600; line-height: 1.35; }
.ct .h-b { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.ct .h-act { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.ct .h-act .btn { min-height: 34px; padding: 6px 12px; font-size: 13.5px; }
.ct tr.diff td { background: #fff8e5; }
.ct tr.diff th { box-shadow: inset 3px 0 0 #e0a100; }
.ct td.na { color: var(--ink-3); }
.ct .price { font-size: 19px; }
.cmpd.only-diff tr.same { display: none; }
.ct-note { padding: 12px 20px 18px; font-size: 13px; color: var(--ink-3); }

.cartd { width: min(480px, calc(100vw - 24px)); max-height: calc(100vh - 48px); margin: 24px 24px auto auto; border-radius: var(--r); }
.cart-body { padding: 8px 20px 20px; }
.ci { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ci img { width: 56px; height: 56px; object-fit: contain; }
.ci-t { font-size: 13.5px; line-height: 1.35; }
.ci-q { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.ci-q button { width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; display: grid; place-items: center; font-weight: 600; line-height: 1; }
.ci-q output { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.ci-p { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.cart-sum { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 4px; font-size: 16px; }
.cart-sum b { font-size: 22px; font-variant-numeric: tabular-nums; }
.cart-note { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.cart-empty { padding: 24px 0 8px; color: var(--ink-2); }
.cart-empty p + p { margin-top: 8px; }
.cart-done { margin-top: 12px; padding: 12px; background: #eaf6ec; border-radius: var(--r); font-size: 14px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--r); font-size: 14.5px; max-width: calc(100vw - 32px);
  transition: opacity .2s, transform .2s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
body.has-cmp .toast { bottom: 100px; }

/* ---------- responsive ---------- */
@media (max-width: 1279px) {
  :root { --side-w: 240px; --gap: 20px; --pad: 20px; }
  .phones { display: none; }
  .hbtn-tel { display: inline-flex; }
  .card { flex-basis: calc(100% / 4); }
  .fly-grid { grid-template-columns: 190px minmax(0, 1fr); gap: 20px; }
  .slide-art img { height: 180px; }
  .foot-in { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .slide-txt { grid-template-columns: 1fr; padding: 22px 28px 16px; }
  .slide-cta { justify-content: flex-start; }
  .slide h2 { font-size: 24px; }
  .bar-links a { padding: 0 12px; font-size: 14px; }
}

@media (max-width: 1023px) {
  .shop { display: block; }
  .bar-cat { width: auto; cursor: pointer; padding: 0 18px; }
  .bar-cat:hover { background: #0f3f7d; }
  .util p { display: none; }
  .util-in { justify-content: flex-end; }
  .hdr-in { gap: 18px; }
  .hbtn-l { display: none; }
  .search-btn span { display: none; }
  .search-btn { padding: 0 16px; }
  .hbtn { padding: 0 12px; }
  .slide h2 { font-size: 23px; }
  .slide-txt { grid-template-columns: 1fr; padding: 22px 24px 14px; }
  .slide-cta { justify-content: flex-start; }
  .sl-nav { display: none; }

  /* drawer */
  .side {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 80; width: min(380px, 88vw); background: #fff;
    transform: translateX(-102%); transition: transform .28s ease-out; overflow: hidden; visibility: hidden;
  }
  .side.is-open { transform: none; visibility: visible; box-shadow: 10px 0 40px rgba(10, 25, 50, .25); }
  .side-in { max-height: none; height: 100%; border: 0; }
  .side-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 18px; background: var(--blue); color: #fff; position: sticky; top: 0; z-index: 2; }
  .side-title { font-weight: 600; font-size: 17px; }
  .side-x { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: rgba(255, 255, 255, .14); color: #fff; border-radius: var(--r); }
  .cat { min-height: 44px; font-size: 15.5px; }
  .fly {
    position: absolute; inset: 0; left: 0; width: auto; min-height: 0; max-height: none; height: 100%;
    border: 0; border-top: 0; box-shadow: none; padding: 0 18px 24px; transform: translateX(100%); transition: transform .25s ease-out;
  }
  .fly.is-in { transform: none; }
  .fly-back {
    display: flex; align-items: center; gap: 6px; position: sticky; top: 0; z-index: 2; width: calc(100% + 36px); margin: 0 -18px 14px; padding: 0 12px;
    min-height: 58px; border: 0; border-bottom: 3px solid var(--k, var(--blue)); background: #fff; font-weight: 600; font-size: 15px; color: var(--blue-d);
  }
  .fly-h { flex-direction: column; gap: 6px; }
  .fly-grid { grid-template-columns: 1fr; gap: 18px; }
  .fly-cards { grid-template-columns: 1fr; }
  .fc { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .fc:last-child { border-bottom: 0; }
  .fc img { height: 72px; grid-row: span 4; }
  .fc .p-brand { margin-top: 0; }
  .fc .btn { justify-self: start; }
  .fly-empty { grid-template-columns: 1fr; }
  .fly-empty img { max-width: 260px; }

  .card { flex-basis: calc(100% / 3.3); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(2) { border-right: 0; }
  .facts li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .br-big { grid-column: span 2; }
  .list { grid-template-columns: 1fr; padding: 24px; }
  .contact { grid-template-columns: 1fr; }
  .map { min-height: 360px; }
  .serv-grid { grid-template-columns: 1fr; }
  .cmpbar-in { grid-template-columns: minmax(0, 1fr) auto; }
  .cmpbar-t { display: none; }
}

@media (max-width: 767px) {
  :root { --pad: 16px; }
  .util { display: none; }
  .hdr-in { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
  .logo { gap: 8px; min-width: 0; }
  .logo svg { width: 40px; height: 31px; }
  .logo-t { font-size: 19px; }
  .hbtn { padding: 0 11px; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .search input { height: 44px; }
  .search-btn { height: 44px; padding: 0 14px; }
  .search-btn span { display: none; }
  .hbtn { height: 42px; }
  .bar-cat { padding: 0 14px; font-size: 14.5px; }
  .bar-links a { padding: 0 12px; font-size: 14px; }
  .main { padding-top: 16px; }
  .lead { font-size: 18px; }
  .slide { min-height: 0; }
  .slide h2 { font-size: 20px; }
  .slide-txt { padding: 18px 16px 12px; }
  .slide-txt p:not(.slide-brand) { font-size: 15px; }
  .slide-cta .btn { flex: 1 1 auto; }
  .slide-art { padding: 0; justify-content: flex-start; }
  .slide-art img { height: 118px; }
  .s-grid .slide-art img { height: 118px; }
  .slide-art { justify-content: center; }
  .sl-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sl-tab:nth-child(2) { border-right: 0; }
  .sl-tab:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .facts li { padding: 10px 12px; }
  .facts b { font-size: 14px; }
  .facts span { font-size: 12.5px; }
  .rows { gap: 28px; margin-top: 28px; }
  .row-h h2 { font-size: 19px; }
  .row-ctl { display: none; }
  .card { flex-basis: 62%; min-width: 0; }
  .p-img { height: 132px; }
  .p-img img { max-height: 132px; }
  .sec { margin-top: 44px; }
  .sec-h h2, .list-info h2, .contact-info h2 { font-size: 22px; }
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .br { min-height: 50px; padding: 8px 10px; }
  .br-n { font-size: 15px; }
  .br-more .br-n { font-size: 13px; line-height: 1.3; }
  .br-big { grid-column: span 3; min-height: 0; }
  .br-big .br-n { font-size: 26px; }
  .list { padding: 18px 14px; }
  .list-form { padding: 14px; }
  .lf-row { grid-template-columns: 1fr; }
  .serv-list { grid-template-columns: 1fr; }
  .serv-list li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .serv-list li { border-right: 0; }
  .serv-tel { font-size: 24px; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .works figcaption { font-size: 12.5px; }
  .terms { grid-template-columns: 1fr; }
  .term { border-right: 0; border-bottom: 1px solid var(--line); }
  .term:last-child { border-bottom: 0; }
  .map { min-height: 300px; }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .cmpbar-in { grid-template-columns: 1fr; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
  .cmp-slots { gap: 6px; }
  .slot { grid-template-columns: minmax(0, 1fr) 24px; padding: 4px; min-height: 48px; position: relative; }
  .slot img { width: 100%; height: 40px; }
  .slot span { display: none; }
  .slot button { width: 24px; height: 24px; }
  .cmpbar-act .btn { flex: 1; min-height: 38px; }
  body.has-cmp { padding-bottom: 130px; }
  body.has-cmp .toast { bottom: 140px; }
  .cmpd { width: 100vw; max-width: 100vw; max-height: 100vh; height: 100vh; margin: 0; border-radius: 0; }
  .cmpd-head { flex-wrap: wrap; gap: 8px 12px; padding: 12px 14px; }
  .cmpd-head h2 { font-size: 18px; }
  .cmpd-head .chk { order: 3; width: 100%; }
  .ct { min-width: 0; font-size: 13px; table-layout: fixed; }
  .ct th, .ct td { padding: 8px; }
  .ct tbody th { width: 84px; font-size: 12px; }
  .ct thead td:first-child { width: 84px; }
  .ct .h-img { height: 64px; }
  .ct .h-t { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .ct .price { font-size: 15px; }
  .ct .h-act .btn { padding: 4px 8px; font-size: 12.5px; min-height: 30px; }
  .cartd { margin: auto 0 0; width: 100vw; max-width: 100vw; border-radius: var(--r) var(--r) 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* product title shared by cards, flyout and compare */
.p-t { font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: var(--ink); }
a.p-t:hover { color: var(--blue); text-decoration: none; }

.br-more { justify-content: center; background: var(--bg-2); }
.br-more .br-n { font-size: 14.5px; font-weight: 600; color: var(--blue); }
.br-more:hover .br-n { color: var(--blue-d); text-decoration: underline; }
@media (max-width: 1279px) { .foot-base { margin: 0 20px; } }
@media (max-width: 767px) { .foot-base { margin: 0 16px; } }
.badge[hidden] { display: none; }
@media (max-width: 479px) { #cmpOpenTop { display: none; } .hdr-act { gap: 6px; } }
@media (min-width: 1024px) {
  body.has-cmp .side-in, body.has-cmp .fly { max-height: calc(100vh - var(--stick-h, 130px) - 84px); }
}

/* =========================================================
   Real catalogue: generated sidebar, routed views
   ========================================================= */
.cats-load, .rows-load, .v-lead { padding: 14px; font-size: 14px; color: var(--ink-2); }
.v-lead { padding: 8px 0; font-size: 15px; }
a.cat { color: var(--ink); text-decoration: none; }
a.cat:hover { text-decoration: none; }
.cat.is-cur { color: var(--blue-d); font-weight: 600; background: var(--bg-2); }
a.cat-sec-t { text-decoration: none; }
a.cat-sec-t:hover { color: var(--ink); text-decoration: underline; }
.p-ask { font-size: 15px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; white-space: normal; }
.noimg { display: grid; place-items: center; width: 100%; height: 100%; min-height: 44px; color: var(--line-2); background: var(--bg-2); }
.noimg .ic { width: 40%; height: 40%; max-width: 48px; max-height: 48px; }
.p-t a { color: inherit; text-decoration: none; }
.p-t a:hover { color: var(--blue); }
a.p-img:hover { text-decoration: none; }
.p-img .noimg { width: 131px; height: 131px; }
.row-all { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.row-all .ic { width: 16px; height: 16px; }

/* flyout: 3rd and 4th levels with counts */
.fly-subs li a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.fly-n { flex: none; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.fly-sub2 { list-style: none; margin: 0 0 4px; padding: 0 0 0 14px; }
.fly-sub2 li a { padding: 4px 0; font-size: 13.5px; color: var(--ink-2); border-bottom: 1px dotted var(--bg-3); }
.fly-subs { max-height: calc(100vh - var(--stick-h, 130px) - 220px); overflow-y: auto; scrollbar-width: thin; padding-right: 6px; }
.fly-grid.fly-solo { grid-template-columns: minmax(0, 1fr); }
.fc .noimg { height: 140px; }

/* search suggestions */
.sugg { max-height: min(76vh, 640px); overflow-y: auto; }
.sugg .s-t { display: flex; flex-direction: column; -webkit-line-clamp: initial; overflow: visible; min-width: 0; }
.sugg .s-nm { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sugg .s-t small { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sugg .noimg { width: 44px; height: 44px; }
.sugg .sg-ic { width: 44px; height: 32px; display: grid; place-items: center; color: var(--k); }
.sugg .sg-ic .ic { width: 22px; height: 22px; }
.sugg .s-n { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sugg .sg-all { display: flex; justify-content: center; gap: 4px; font-weight: 600; color: var(--blue); background: var(--bg-2); }
.sugg .sg-all .ic { width: 16px; height: 16px; }

/* breadcrumbs + view head */
.view h1:focus { outline: none; }
.crumbs ol { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; font-size: 13.5px; color: var(--ink-3); }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: "›"; padding: 0 8px; color: var(--line-2); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 3px solid var(--k, var(--blue)); }
.v-head h1 { font-size: 28px; font-weight: 600; }

/* subcategory tiles */
.tiles { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tile { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 12px; align-items: center; height: 100%; padding: 10px 14px 10px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); background: #fff; }
.tile:hover { text-decoration: none; background: var(--bg-2); box-shadow: inset 3px 0 0 var(--k); }
.tile-img { width: 60px; height: 60px; display: grid; place-items: center; color: var(--k); }
.tile-img img { max-width: 60px; max-height: 60px; width: auto; height: auto; object-fit: contain; }
.tile-img .noimg { width: 60px; height: 60px; }
.tile-img > .ic { width: 28px; height: 28px; }
.tile-tx { display: flex; flex-direction: column; min-width: 0; }
.tile-t { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.tile:hover .tile-t { color: var(--blue-d); }
.tile-n { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* filters */
.flt-tgl { display: none; }
.flt-tgl .badge { margin-left: 4px; background: var(--blue); }
.flt {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 14px 26px; align-items: start;
  padding: 14px 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
}
.flt-h { font-size: 12.5px; font-weight: 600; color: var(--ink-3); margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 10px; border: 1px solid var(--line-2);
  border-radius: var(--r); background: #fff; font-size: 13.5px; line-height: 1.2; color: var(--ink);
}
.chip span { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chip:hover:not([disabled]) { border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--blue-l); border-color: var(--blue); color: var(--blue-d); font-weight: 600; box-shadow: inset 0 0 0 1px var(--blue); }
.chip[aria-pressed="true"] span { color: var(--blue-d); }
.chip[disabled] { opacity: .5; cursor: default; }
.chip-more { border-style: dashed; color: var(--blue); font-weight: 600; }
.flt-none { font-size: 13.5px; color: var(--ink-3); }
.rng { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.rng input { width: 92px; height: 36px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; font-size: 14px; font-variant-numeric: tabular-nums; }
.rng input:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.rng input::placeholder { color: var(--ink-3); }
.flt-end { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; }
.flt-clr { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: var(--blue); font-size: 13.5px; font-weight: 600; }
.flt-clr .ic { width: 15px; height: 15px; }
.flt-clr:hover { text-decoration: underline; }
.flt-clr[hidden] { display: none; }
.resbar { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin: 14px 0 10px; }
.res-n { font-size: 14.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.res-n b { color: var(--ink); }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.sort select { height: 38px; padding: 0 32px 0 10px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; font-size: 14px; color: var(--ink); cursor: pointer; }

/* product grid */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); border: 1px solid var(--line); border-top: 3px solid var(--k); border-right: 0; border-bottom: 0; border-radius: 0 0 var(--r) var(--r); }
.pgrid .card { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pgrid .card:last-child { border-right: 1px solid var(--line); }
.pgrid > .empty { grid-column: 1 / -1; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.p-act { flex-wrap: wrap; }
.more { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 18px; }
.more[hidden], .more .btn[hidden] { display: none; }
.more p { font-size: 13.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.empty { padding: 22px; background: var(--bg-2); border-radius: var(--r); color: var(--ink-2); }
.empty p + p { margin-top: 6px; }
.empty b { color: var(--ink); }
.lnk { padding: 0; border: 0; background: none; color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.nf { padding: 28px; border: 1px solid var(--line); border-radius: var(--r); }
.nf h1 { font-size: 26px; font-weight: 600; margin-bottom: 8px; }
.nf p { color: var(--ink-2); }
.nf .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* search: matching categories */
.s-cats { margin-bottom: 18px; }
.s-cats ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.s-cat {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; align-items: center; padding: 8px 12px; border: 1px solid var(--line);
  border-left: 3px solid var(--k); border-radius: var(--r); color: var(--ink); background: #fff; max-width: 100%;
}
.s-cat:hover { text-decoration: none; border-color: var(--line-2); border-left-color: var(--k); background: var(--bg-2); }
.s-cat span { font-weight: 600; font-size: 14px; }
.s-cat small { grid-row: 2; font-size: 12px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-cat b { grid-row: span 2; grid-column: 2; grid-row-start: 1; font-size: 13px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* product view */
.pv { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: start; }
.pv-img { display: grid; place-items: center; gap: 14px; min-height: 340px; padding: 24px; border: 1px solid var(--line); border-top: 3px solid var(--k); border-radius: var(--r); background: #fff; }
.pv-img > img { width: 360px; max-width: 100%; max-height: 380px; height: auto; object-fit: contain; }
.pv-thumbs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pv-thumb { width: 64px; height: 64px; padding: 4px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.pv-thumb.on, .pv-thumb:hover { border-color: var(--blue, #2a74d1); }
.pv-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pv-desc ul { margin: 0 0 12px; padding-left: 20px; }
.pv-img .noimg { width: 200px; height: 200px; }
.pv-brand { font-size: 14px; margin-bottom: 2px; }
.pv-main h1 { font-size: 26px; font-weight: 600; line-height: 1.22; }
.pv-code { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.pv-code b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.pv-buy { margin-top: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.pv-price { font-size: 32px; }
.pv-price small { font-size: 14px; }
.pv-net { margin-top: 6px; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pv-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; overflow: hidden; }
.qty button { width: 42px; border: 0; background: #fff; font-size: 18px; font-weight: 600; color: var(--ink); }
.qty button:hover { background: var(--bg-2); }
.qty input { width: 56px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty input:focus { outline: 2px solid var(--blue); outline-offset: -2px; }
.pv-act2 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.pv-act2 .cmp { font-size: 14px; }
.pv-act2 .btn .ic { width: 18px; height: 18px; color: var(--red); }
.pv-facts { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.pv-facts li { padding-left: 16px; position: relative; }
.pv-facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--k); }
.pv-facts b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.pv-facts a { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pv-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; margin-top: 32px; align-items: start; }
.pv-sec h2, .pv-h2 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.pv-h2 { margin-top: 22px; }
.pv-tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; border-top: 1px solid var(--line); }
.pv-tbl th, .pv-tbl td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pv-tbl th { width: 38%; font-weight: 600; font-size: 13.5px; color: var(--ink-2); background: var(--bg-2); }
.pv-tbl td { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pv-desc { font-size: 15px; color: var(--ink-2); max-width: 70ch; }
.pv-desc p + p { margin-top: 8px; }
.pv-also { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); }
.also { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.also > li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; padding-bottom: 10px; border-bottom: 1px solid var(--bg-3); }
.also > li:last-child { border-bottom: 0; padding-bottom: 0; }
.tag { display: inline-block; padding: 2px 7px; border-radius: var(--r); background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.tag-2 { background: var(--bg-3); color: var(--ink-2); }
.trail { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: 14px; line-height: 1.45; }
.trail li + li::before { content: "›"; padding: 0 6px; color: var(--ink-3); }
.trail li:last-child a { font-weight: 600; }
.pv-note { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.pv-rel { margin-top: 36px; }

/* cart / compare links */
a.ci-t { display: block; color: var(--ink); }
a.ci-t:hover { color: var(--blue); }
.ci-u { font-size: 12.5px; color: var(--ink-3); margin-left: 2px; }
.ci .noimg { width: 56px; height: 56px; }
.slot .noimg { width: 44px; height: 44px; }
a.h-t { display: block; color: var(--ink); }
a.h-t:hover { color: var(--blue); }
#footCats { display: contents; }
.foot-adm { color: #dbe5f1; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 1279px) {
  .flt { grid-template-columns: minmax(0, 1fr) auto; }
  .flt-br { grid-column: 1 / -1; }
  .flt-end { padding-top: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 18px; grid-column: 1 / -1; }
  .pv-cols { grid-template-columns: 1fr; }
}
@media (max-width: 1023px) {
  .fly-subs { max-height: none; overflow: visible; padding-right: 0; }
  .fly-subs li a { padding: 10px 0; }
  .fly-sub2 li a { padding: 8px 0; }
  .v-head h1 { font-size: 24px; }
}
@media (max-width: 767px) {
  .crumbs ol { font-size: 13px; }
  .crumbs [aria-current] { max-width: 100%; white-space: normal; }
  .v-head h1 { font-size: 21px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { grid-template-columns: 1fr; gap: 6px; padding: 10px; align-content: start; }
  .tile-img, .tile-img .noimg { width: 100%; height: 56px; }
  .tile-t { font-size: 13.5px; }
  .flt-tgl { display: inline-flex; width: 100%; }
  .flt { display: none; grid-template-columns: 1fr; margin-top: 8px; }
  .flt.is-open { display: grid; }
  .rng input { flex: 1; width: auto; min-width: 0; }
  .resbar { margin-top: 12px; }
  .sort { flex: 1; justify-content: flex-end; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgrid .card { padding: 10px 10px 12px; }
  .pgrid .p-img { height: 112px; }
  .pgrid .p-img img { max-height: 112px; }
  .pgrid .p-t { font-size: 13.5px; }
  .pgrid .p-spec { display: none; }
  .pgrid .price { font-size: 17px; }
  .pgrid .price small { display: block; margin: 2px 0 0; }
  .pgrid .p-act .btn { flex: 1 1 100%; }
  .pv { grid-template-columns: 1fr; gap: 16px; }
  .pv-img { min-height: 220px; padding: 16px; }
  .pv-img > img { width: 240px; }
  .pv-main h1 { font-size: 21px; }
  .pv-price { font-size: 27px; }
  .pv-buy { padding: 14px; }
  .pv-act .btn { flex: 1 1 auto; }
  .pv-tbl th { width: 42%; }
  .pv-tbl th, .pv-tbl td { padding: 8px; font-size: 13.5px; }
  .also > li { grid-template-columns: 1fr; gap: 4px; }
  .trail { font-size: 13.5px; }
  .s-cats ul { display: grid; grid-template-columns: 1fr; }
}

/* flyout layout for the real tree: sub-groups in columns, products stacked on the right */
.fly-subs li a > span { display: inline; padding: 0; border: 0; color: inherit; }
.fly-subs li a > .fly-n { color: var(--ink-3); }
.fly-subs .fly-sub2 { margin: 0 0 6px; padding: 0 0 0 14px; }
.fly-subs .fly-sub2 li a { font-size: 13.5px; color: var(--ink-2); border-bottom: 1px dotted var(--line); }
.fly-subs > ul > li > a { font-weight: 500; }
@media (min-width: 1024px) {
  .fly-grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; }
  .fly-subs { columns: 2 220px; column-gap: 28px; max-height: none; overflow: visible; padding-right: 0; }
  .fly-subs > h3 { column-span: all; }
  .fly-subs > ul > li { break-inside: avoid; }
  .fly-cards { grid-template-columns: 1fr; }
  .fc { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 2px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .fc:last-child { border-bottom: 0; }
  .fc img, .fc .noimg { height: 76px; width: 76px; grid-row: span 4; }
  .fc .p-brand { margin-top: 0; }
  .fc .p-t { -webkit-line-clamp: 3; }
  .fc .price { font-size: 16px; margin-top: 4px; }
  .fc .btn { justify-self: start; margin-top: 4px; }
  .fly-grid.fly-solo .fly-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fly-solo .fc { border-bottom: 0; border-right: 1px solid var(--line); }
  .fly-solo .fc:last-child { border-right: 0; }
}
.also .tag { justify-self: start; }
.flt-h { color: var(--ink-2); }
.pv-price small { color: var(--ink-2); }
.flt-g { min-width: 0; }
@media (max-width: 767px) { .flt { grid-template-columns: minmax(0, 1fr); } .rng input { width: 0; } }

/* header + blue nav stay on screen */
.stick { position: sticky; top: 0; z-index: 60; background: #fff; transition: box-shadow .2s; }
.stick.is-stuck { box-shadow: 0 6px 18px rgba(15, 30, 55, .12); }
.stick .bar { z-index: auto; }

/* home-only blocks off on category/product/search views */
[data-home][hidden], .lf-file[hidden] { display: none !important; }

/* collapsible sidebar groups */
button.cat-sec-t { width: 100%; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink-3); padding: 10px 12px 6px 14px; }
button.cat-sec-t:hover { color: var(--ink); background: var(--bg-2); }
button.cat-sec-t > span:first-of-type { flex: 1; min-width: 0; }
.sec-n { flex: none; min-width: 20px; padding: 1px 6px; border-radius: 10px; background: var(--bg-2); font-size: 11.5px; text-align: center; color: var(--ink-3); opacity: 0; transition: opacity .2s; }
.cat-sec.is-shut .sec-n { opacity: 1; }
.sec-chev { flex: none; width: 8px; height: 8px; margin: 0 4px 0 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.cat-sec.is-shut .sec-chev { transform: translateY(1px) rotate(-45deg); }
.cat-sec-b { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .25s ease; }
.cat-sec-b > ul { min-height: 0; overflow: hidden; }
.cat-sec.is-shut .cat-sec-b { grid-template-rows: 0fr; }
.cat-sec.is-shut .cat-sec-b > ul { padding-bottom: 0; visibility: hidden; transition: visibility 0s .25s; }
.cat-sec.is-shut button.cat-sec-t { padding-bottom: 10px; }
@media (max-width: 1023px) { button.cat-sec-t { font-size: 13.5px; min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .cat-sec-b, .sec-chev { transition: none; } }

/* ---------- akcijas (S24.priceInfo) ---------- */
:root { --sale: #c62a1e; --warn: #93370d; --warn-bg: #fef0c7; }
.was { text-decoration: line-through; color: var(--ink-2); font-weight: 500; }
.now { color: var(--sale); }
.price .was, .ci-p .was, .s-p .was, .lm-sum .was, .fbt-p .was, .lm-res .was { display: block; font-size: 12.5px; letter-spacing: 0; line-height: 1.3; }
.pv-price .was { font-size: 16px; }
.p-img { position: relative; }
.sale-b {
  position: absolute; top: 0; left: 0; z-index: 1; padding: 2px 7px; border-radius: var(--r); background: var(--sale); color: #fff;
  font-size: 13px; font-weight: 700; line-height: 1.4; font-variant-numeric: tabular-nums; letter-spacing: 0;
}
.pv-img { position: relative; }
.pv-img > .sale-b { top: 12px; left: 12px; padding: 3px 10px; font-size: 16px; }
.pv-sale { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--sale); }
.pv-sale .sale-b { position: static; }
.tag-sale { background: var(--sale); }
.tag-warn { background: var(--warn-bg); color: var(--warn); box-shadow: inset 0 0 0 1px #fedf89; }
.tag-miss { background: var(--bg-3); color: var(--ink-2); }
.ci .tag { margin-top: 4px; }
.ct-sale { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--sale); }
.chk-sale { color: var(--sale); font-weight: 600; }
.chk-sale input { accent-color: var(--sale); }
.bar-links a[hidden] { display: none; }
.bar-links a.bar-sale { background: var(--sale); font-weight: 600; }
.bar-links a.bar-sale:hover { background: #a82217; }
.row-n, .v-head .row-n { font-variant-numeric: tabular-nums; }

/* ---------- saistītās preces + pirkt kopā ---------- */
.pv-linked { margin-top: 28px; }
.fbt { margin-top: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.fbt-h { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.fbt-l { list-style: none; margin: 0; padding: 0; }
.fbt-i { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.fbt-i label { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 14px; line-height: 1.35; cursor: pointer; }
.fbt-i.is-main label { cursor: default; }
.fbt-i input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--blue); }
.fbt-i img, .fbt-i .noimg { width: 48px; height: 48px; flex: none; object-fit: contain; background: #fff; border-radius: var(--r); }
.fbt-t { min-width: 0; overflow-wrap: anywhere; }
.fbt-t b { font-weight: 600; }
.fbt-p { font-weight: 700; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fbt-f { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; padding-top: 12px; }
.fbt-sum { font-size: 15px; color: var(--ink-2); }
.fbt-sum b { font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; margin-left: 4px; }
.fbt-sum small { font-size: 12px; color: var(--ink-2); margin-left: 4px; }

/* ---------- checkout in the cart dialog ---------- */
.cart-save { margin: -2px 0 6px; font-size: 14px; font-weight: 600; color: var(--sale); text-align: right; font-variant-numeric: tabular-nums; }
.co-mont { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 12px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-2); font-size: 14px; cursor: pointer; }
.co-mont input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }
.co-mont b { display: block; font-weight: 600; }
.co-mont small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-2); }
.co { display: grid; gap: 12px; padding-top: 6px; }
.co .co-mont { margin: 0; }
.co-back { display: inline-flex; align-items: center; gap: 4px; justify-self: start; font-size: 14px; text-decoration: none; }
.co-back .ic { width: 16px; height: 16px; }
.co-h { font-size: 19px; font-weight: 600; }
.co-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.co fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 6px; }
.co legend { padding: 0; margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.co-opt { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; cursor: pointer; }
.co-opt:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: var(--blue-l); }
.co-opt input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--blue); }
.co-opt b { display: block; font-size: 14.5px; font-weight: 600; }
.co-opt small { display: block; font-size: 12.5px; color: var(--ink-2); }
.co textarea { min-height: 64px; }
.fld [hidden], .fld[hidden] { display: none; }
.co-sum { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: 14.5px; }
.co-sum div { display: flex; justify-content: space-between; gap: 12px; }
.co-sum dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.co-save dt, .co-save dd { color: var(--sale); }
.co-tot { align-items: baseline; font-size: 16px; }
.co-tot dd { font-size: 22px; font-weight: 700; }
.co > .btn { justify-self: stretch; }
.co .cart-note { margin-bottom: 0; }
.cart-ok { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 20px 0 8px; }
.cart-ok:focus { outline: none; }
.cart-ok > .ic { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--green); color: #fff; }
.cart-ok p { margin-bottom: 8px; }
.cart-ok p:first-child { font-size: 16px; }
.cart-ok .cart-note { margin-bottom: 8px; }
@media (max-width: 479px) { .co-2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- list order: smart matching review ---------- */
.lf-hint { margin-bottom: 8px; font-size: 14px; color: var(--ink-2); }
.lf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.lf-meta > p { flex: 1 1 220px; }
.lf-meta .btn { min-height: 38px; padding: 6px 14px; font-size: 14px; }
.lf-meta .btn .ic { width: 17px; height: 17px; }
.lf-meta .lnk { font-size: 14px; }
.lf-fsz { font-weight: 400; color: var(--ink-3); }
.lm { border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.lm[hidden] { display: none; }
.lm-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; padding: 10px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.lm-head h3 { font-size: 16px; font-weight: 600; }
.lm-stat { font-size: 13.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.lm-w { color: var(--warn); font-weight: 600; }
.lm-list { list-style: none; margin: 0; padding: 0; }
.lm-r { padding: 10px 14px 12px 11px; border-bottom: 1px solid var(--line); border-left: 3px solid var(--green); }
.lm-r.is-warn { border-left-color: #f79009; background: #fffcf5; }
.lm-r.is-miss { border-left-color: var(--line-2); background: #fafbfc; }
.lm-src { margin-bottom: 6px; font-size: 13px; color: var(--ink-3); overflow-wrap: anywhere; }
.lm-src q { quotes: "„" "”"; }
.lm-no { font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.lm-b { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "img p p" ". q sum"; gap: 8px 12px; align-items: start; }
.lm-img { grid-area: img; display: block; }
.lm-img img, .lm-img .noimg { width: 48px; height: 48px; object-fit: contain; }
.lm-none { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r); background: var(--bg-3); color: var(--ink-3); }
.lm-none .ic { width: 20px; height: 20px; }
.lm-p { grid-area: p; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; }
.lm-nm { flex-basis: 100%; color: var(--ink); font-weight: 600; line-height: 1.35; }
.lm-code { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lm-mtx { font-size: 13px; color: var(--ink-2); }
.lm-alt, .lm-find { flex-basis: 100%; min-width: 0; }
.lm select, .lm input { height: 36px; max-width: 100%; padding: 0 8px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; font-size: 13.5px; }
.lm select:focus, .lm input:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.lm-alt select, .lm-find input { width: 100%; }
.lm-q { grid-area: q; display: flex; gap: 4px; }
.lm-q input { width: 68px; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.lm-q select { width: 74px; }
.lm-sum { grid-area: sum; padding-top: 8px; text-align: right; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lm-dash { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.lm-res { display: grid; margin-top: 4px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.lm-res:empty { display: none; }
.lm-res button { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 8px; border: 0; border-bottom: 1px solid var(--line); background: #fff; text-align: left; font-size: 13px; line-height: 1.3; }
.lm-res button:last-child { border-bottom: 0; }
.lm-res button:hover, .lm-res button:focus-visible { background: var(--blue-l); }
.lm-res img, .lm-res .noimg { width: 36px; height: 36px; object-fit: contain; min-height: 0; }
.lm-res small { display: block; color: var(--ink-3); }
.lm-res b { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.lm-none-t { padding: 8px; font-size: 13px; color: var(--ink-2); }
.lm-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 14px; background: var(--bg-2); border-radius: 0 0 var(--r) var(--r); }
.lm-tot { font-size: 15px; font-weight: 500; white-space: normal; }
.lm-tot b { font-size: 21px; font-weight: 700; margin-left: 4px; }
.lm-foot .btn .ic { width: 18px; height: 18px; }
.lm-note { flex-basis: 100%; font-size: 13px; color: var(--ink-2); }
.lm-tot small { color: var(--ink-2); }
.lm-src, .lm-code, .lm-dash { color: var(--ink-2); }
.done p + p { margin-top: 10px; }
@media (min-width: 600px) and (max-width: 1023px) {
  .lm-b { grid-template-columns: 48px minmax(0, 1fr) auto 112px; grid-template-areas: "img p q sum"; }
  .lm-sum { padding-top: 7px; }
}
@media (min-width: 1280px) { .list:has(.lm:not([hidden])) { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.lm-sum { padding-top: 8px; }
@media (max-width: 767px) {
  .fbt { padding: 14px; }
  .fbt-f .btn { width: 100%; }
  .lm-foot .btn { width: 100%; }
}
.lm-tot b, .fbt-sum b { white-space: nowrap; }
