/* Technotyre: public site styles.
   Design: B2B tyre catalog. Cool neutrals + graphite, brand orange used only as an accent fill
   (text on orange is always --ink). One radius (--r) for every control and surface. */

@font-face {
  font-family: 'Onest'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/onest-cyrillic-wght-normal.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: 100 900; font-display: swap;
  src: url(/fonts/onest-cyrillic-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; /* Uzbek қ ғ ҳ */
}
@font-face {
  font-family: 'Onest'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/onest-latin-wght-normal.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: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/jetbrains-mono-cyrillic-500-normal.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --bg: #f5f6f8;
  --surface: #fcfcfd;
  --ink: #14171c;
  --text: #3d434b;
  --muted: #5f6670;
  --line: #e2e5e9;
  --line-strong: #c9ced5;
  --graphite: #111418;
  --graphite-2: #1a1e24;
  --on-dark: #eceef1;
  --on-dark-muted: #a3aab3;
  --accent: #ff8800;
  --accent-hover: #ff9a26;
  --accent-text: #a85200;
  --ok: #1d7a45;
  --warn: #8a5a00;
  --danger: #b42318;
  --r: 6px;
  --shadow: 0 1px 2px rgba(20, 23, 28, .05), 0 8px 24px rgba(20, 23, 28, .06);
  --container: 1200px;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-text); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 650; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 4.2vw, 48px); letter-spacing: -.025em; }
h2 { font-size: clamp(24px, 2.8vw, 32px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: -.01em; }
.lead-text { font-size: 18px; color: var(--muted); max-width: 60ch; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--accent-text); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- buttons & fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  min-height: 46px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--r); cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--ink); background: var(--accent);
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.btn:hover { background: var(--accent-hover); color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2f37; color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); color: var(--ink); }
.btn--ghost-dark { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; }
.btn--ghost-dark:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.label i { font-style: normal; color: var(--danger); }
.on-dark .label { color: var(--on-dark); }
.fieldset { margin-bottom: 14px; }
.field {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r);
  background: #fff; color: var(--ink); font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field::placeholder { color: #6b727b; }
.field:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 136, 0, .35); }
select.field { appearance: none; padding-right: 38px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 256 256'%3E%3Cpath fill='%2314171c' d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E") no-repeat right 14px center; }
textarea.field { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
.form-note { font-size: 14px; margin-top: 10px; min-height: 1.4em; font-weight: 500; color: var(--ink); }
.on-dark .form-note { color: var(--on-dark); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- chips ---------- */
.chip-size {
  display: inline-flex; align-items: center; height: 26px; padding: 0 8px; border-radius: 4px;
  font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink); background: #eceef1;
}
.pill {
  display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border: 1px solid var(--line-strong);
  border-radius: 999px; background: var(--surface); font-family: var(--mono); font-size: 14px; color: var(--ink); white-space: nowrap;
  transition: border-color .2s, background .2s;
}
.pill:hover { border-color: var(--ink); color: var(--ink); background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: var(--r);
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 500;
}
.chip:hover { color: #fff; background: #2a2f37; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252, 252, 253, .94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { backdrop-filter: saturate(160%) blur(10px); background: rgba(252, 252, 253, .82); } }
.navbar { height: 68px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo svg { width: 28px; height: 28px; flex: none; }
.logo span { font-weight: 750; font-size: 19px; letter-spacing: .01em; }
.logo--light { color: #fff; --logo-cut: var(--graphite); }
.logo--light:hover { color: #fff; }
.menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.menu > li { position: relative; }
.menu > li > a { display: flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: var(--r); font-size: 15px; font-weight: 500; color: var(--text); white-space: nowrap; }
.menu > li > a:hover { color: var(--ink); background: #eef0f3; }
.menu > li.is-active > a { color: var(--ink); font-weight: 600; }
.menu .caret { opacity: .6; }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.submenu::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.menu > li:hover .submenu, .menu > li:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 9px 12px; border-radius: 4px; font-size: 15px; color: var(--ink); }
.submenu a:hover { background: var(--bg); color: var(--ink); }
.submenu__all { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.submenu__all a { font-weight: 600; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; flex-direction: column; line-height: 1.25; text-align: right; }
.header-phone strong { font-size: 16px; font-weight: 650; color: var(--ink); white-space: nowrap; }
.header-phone small { font-size: 13px; color: var(--muted); white-space: nowrap; }
.header-call { display: none; width: 42px; height: 42px; border-radius: var(--r); background: var(--accent); color: var(--ink); place-items: center; }
.lang-switch { position: relative; }
.lang-switch summary {
  display: flex; align-items: center; gap: 4px; height: 42px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--r);
  font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; user-select: none;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { border-color: var(--ink); }
.lang-switch .caret { opacity: .6; transition: transform .18s; }
.lang-switch[open] .caret { transform: rotate(180deg); }
.lang-switch ul {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 180px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
}
.lang-switch a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 4px; font-size: 15px; color: var(--ink); }
.lang-switch a b { width: 26px; font-size: 12px; font-weight: 650; color: var(--muted); }
.lang-switch a:hover { background: var(--bg); color: var(--ink); }
.lang-switch a.is-current { font-weight: 600; }
.lang-switch a.is-current b { color: var(--accent-text); }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: var(--r); background: #fff; color: var(--ink); cursor: pointer; place-items: center; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--graphite); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(17,20,24,.92) 0%, rgba(17,20,24,.78) 34%, rgba(17,20,24,.15) 68%, rgba(17,20,24,0) 100%),
    linear-gradient(0deg, rgba(17,20,24,.85) 0%, rgba(17,20,24,0) 38%); }
.hero__inner { min-height: min(680px, calc(100dvh - 68px)); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; padding-top: 96px; padding-bottom: 128px; }
.hero__content { max-width: 640px; align-self: center; }
.hero h1 { color: #fff; font-size: clamp(40px, 6.2vw, 80px); line-height: 1; letter-spacing: -.035em; margin-bottom: 22px; max-width: 11ch; }
.hero__text { font-size: 19px; line-height: 1.55; color: #c6ccd3; max-width: 44ch; margin-bottom: 32px; }
.hero__links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.hero__links .btn { min-height: 52px; padding: 0 24px; font-size: 16px; }
.hero__links .btn svg { transition: transform .25s var(--ease); }
.hero__links .btn:hover svg { transform: translateX(3px); }
.hero__phone { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; color: #fff; }
.hero__phone svg { color: var(--accent); }
.hero__phone:hover { color: var(--accent); }
.hero__stats { list-style: none; margin: 0; padding: 0; display: flex; border-radius: calc(var(--r) + 4px); overflow: hidden;
  background: rgba(17,20,24,.55); border: 1px solid rgba(255,255,255,.12); }
@supports (backdrop-filter: blur(12px)) { .hero__stats { background: rgba(17,20,24,.35); backdrop-filter: blur(14px) saturate(140%); } }
.hero__stats li { padding: 18px 24px; min-width: 150px; }
.hero__stats li + li { border-left: 1px solid rgba(255,255,255,.12); }
.hero__stats b { display: block; font-size: 34px; font-weight: 700; line-height: 1; color: #fff; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero__stats span { display: block; margin-top: 6px; font-size: 14px; color: #c6ccd3; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- motion hooks (public/js/motion.js) ----------
   Above-the-fold blocks start hidden only when JS can run and motion is allowed; GSAP
   reveals them. If the scripts fail to load, tt-unhide shows them after 2.5s anyway. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .hero__content, .hero__stats, .finder, .page-head h1, .product-gallery, .product-info { visibility: hidden; animation: tt-unhide 0s 2.5s forwards; }
}
@keyframes tt-unhide { to { visibility: visible; } }
h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
h1 .w > span { display: inline-block; will-change: transform; }
.site-header { transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(20,23,28,.08); }

/* ---------- finder card + facts ---------- */
.quick { position: relative; z-index: 2; padding: 0; }
.finder { margin-top: -72px; padding: 24px; overflow: hidden; border-radius: calc(var(--r) + 6px); background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 2px 4px rgba(20,23,28,.04), 0 24px 48px rgba(20,23,28,.12); }
.finder__fields { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; gap: 14px; align-items: end; }
.finder .field { height: 52px; font-size: 16px; }
.finder .btn { min-height: 52px; padding: 0 28px; font-size: 16px; }
.quick__row { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.quick__label { flex: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.quick__pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; scroll-snap-type: x proximity; }
.quick__pills::-webkit-scrollbar { display: none; }
.quick__pills .pill { scroll-snap-align: start; height: 34px; font-size: 13px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 40px 0 8px; }
.fact { display: flex; gap: 14px; align-items: flex-start; }
.fact svg { flex: none; color: var(--accent-text); margin-top: 2px; }
.fact b { display: block; color: var(--ink); font-size: 17px; font-weight: 650; line-height: 1.3; margin-bottom: 2px; }
.fact span { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 60ch; }

/* ---------- category bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 250px); gap: 16px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--graphite); color: #fff; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); z-index: -2; }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,20,24,0) 30%, rgba(17,20,24,.88) 100%); }
.tile:hover { color: #fff; }
.tile:hover img { transform: scale(1.04); }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.tile h3 { color: #fff; margin: 0 0 4px; font-size: 18px; }
.tile p { margin: 0; font-size: 14px; color: #d5d9de; }
.tile__go { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink); transition: transform .3s var(--ease); }
.tile:hover .tile__go { transform: translateX(3px); }
.tile--1 { grid-column: span 2; grid-row: span 2; }
.tile--1 h3 { font-size: 26px; }
.tile--1 .tile__desc { display: block; max-width: 44ch; margin-top: 8px; font-size: 15px; color: #d5d9de; }
.tile__desc { display: none; }
.tile--2 { grid-column: span 2; }

/* ---------- product card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; transition: border-color .2s, box-shadow .25s, transform .25s var(--ease);
}
.pcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard__img { aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.03); }
.pcard__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 18px; flex: 1; }
.pcard__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.pcard__brand { font-weight: 600; color: var(--muted); }
.pcard__name { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink); letter-spacing: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__name a::after { content: ''; position: absolute; inset: 0; }
.pcard__name a:hover { color: var(--ink); }
.pcard__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 4px; }
.pcard__price { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pcard__price--ask { font-size: 15px; font-weight: 600; }
.pcard__arrow { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--ink); transition: background .2s, border-color .2s; }
.pcard:hover .pcard__arrow { background: var(--accent); border-color: var(--accent); }

.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ok); white-space: nowrap; }
.stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock--out { color: var(--warn); }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 6px; display: grid; place-items: center; border-radius: var(--r);
  font-size: 15px; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line);
}
.pagination a:hover { border-color: var(--ink); color: var(--ink); }
.pagination .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- brands ---------- */
.brand-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.brand-row a { display: grid; place-items: center; height: 120px; padding: 0 28px; border-left: 1px solid var(--line); transition: background .2s; }
.brand-row a:first-child { border-left: 0; }
.brand-row a:hover { background: var(--bg); }
.brand-row img { max-height: 48px; width: auto; filter: grayscale(.5); opacity: .9; transition: filter .25s, opacity .25s; }
.brand-row a:hover img { filter: none; opacity: 1; }
.brand-row strong { font-size: 20px; color: var(--ink); }

/* ---------- why us ---------- */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.why__text h2 { margin-bottom: 18px; }
.why__text .rich { color: var(--text); font-size: 16px; }
.why__text .rich p { margin-bottom: 1em; }
.why__stat { display: flex; align-items: baseline; gap: 14px; margin: 28px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why__stat b { font-size: 48px; font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.why__stat span { color: var(--muted); max-width: 22ch; line-height: 1.4; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.perk { padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.perk__icon { width: 44px; height: 44px; border-radius: var(--r); display: grid; place-items: center; background: var(--ink); color: var(--accent); margin-bottom: 16px; }
.perk h3 { font-size: 17px; margin-bottom: 6px; }
.perk p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; }
.perk--photo { padding: 0; overflow: hidden; position: relative; min-height: 220px; background: var(--graphite); }
.perk--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; margin-top: 8px; padding: 28px 32px; border-radius: var(--r); background: var(--graphite); color: var(--on-dark); }
.quote > svg { color: var(--accent); }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.6; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.quote figcaption { margin-top: 12px; font-size: 14px; color: var(--on-dark-muted); display: flex; gap: 12px; align-items: center; }
.quote figcaption b { color: #fff; font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: var(--accent); }

/* ---------- news ---------- */
.news-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; }
.ncard { position: relative; display: flex; flex-direction: column; gap: 12px; }
.ncard__img { display: block; overflow: hidden; border-radius: var(--r); aspect-ratio: 16 / 10; background: var(--line); }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ncard:hover .ncard__img img { transform: scale(1.04); }
.ncard__meta { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.ncard__kind { font-weight: 600; color: var(--ink); }
.ncard__kind--promo { color: var(--accent-text); }
.ncard__title { margin: 0; font-size: 19px; line-height: 1.3; }
.ncard__title a::after { content: ''; position: absolute; inset: 0; }
.ncard__title a:hover { color: var(--ink); }
.ncard:hover .ncard__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ncard__excerpt { margin: 0; font-size: 15px; color: var(--muted); }
.ncard--big .ncard__title { font-size: 24px; }
.ncard--row { display: grid; grid-template-columns: 160px 1fr; gap: 18px; align-items: start; }
.ncard--row .ncard__img { aspect-ratio: 4 / 3; }
.ncard--row .ncard__title { font-size: 17px; margin-top: 6px; }
.news-side { display: grid; gap: 24px; align-content: start; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }

/* ---------- lead band ---------- */
.lead-band { background: var(--graphite); color: var(--on-dark); padding: 88px 0; }
.lead-band__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.lead-band h2 { color: #fff; }
.lead-band p { color: var(--on-dark-muted); font-size: 17px; max-width: 42ch; }
.lead-band__phone { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 22px; font-weight: 650; color: #fff; }
.lead-band__phone span { width: 44px; height: 44px; border-radius: var(--r); display: grid; place-items: center; background: var(--accent); color: var(--ink); }
.lead-band__phone:hover { color: var(--accent); }
.lead-band small { display: block; margin-top: 6px; color: var(--on-dark-muted); font-size: 14px; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; padding: 28px; border-radius: calc(var(--r) + 4px); background: var(--graphite-2); border: 1px solid rgba(255,255,255,.08); }
.lead-form .fieldset--wide, .lead-form .btn, .lead-form .form-note { grid-column: 1 / -1; }

/* ---------- footer ---------- */
.site-footer { background: var(--graphite); color: var(--on-dark-muted); font-size: 15px; border-top: 1px solid rgba(255,255,255,.06); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 24px 48px; }
.site-footer h4 { color: #fff; font-size: 15px; font-weight: 600; margin: 0 0 18px; letter-spacing: 0; }
.footer__about p { margin: 18px 0 20px; max-width: 34ch; line-height: 1.6; }
.footer__phone { display: block; color: #fff; font-size: 20px; font-weight: 650; }
.footer__phone:hover { color: var(--accent); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__links a:hover, .site-footer a:hover { color: var(--accent); }
.footer__contact { display: grid; grid-template-columns: 18px 1fr; gap: 10px; margin-bottom: 14px; line-height: 1.5; }
.footer__contact svg { color: var(--accent); margin-top: 3px; }
.footer__contact a { color: var(--on-dark); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer__bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; font-size: 14px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: var(--r); display: grid; place-items: center; background: rgba(255,255,255,.06); color: #fff; }
.socials a:hover { background: var(--accent); color: var(--ink); }
.socials--light a { background: var(--ink); }

/* floating contact buttons (mobile only) */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none; flex-direction: column; gap: 10px; }
.fab__btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #229ed9; box-shadow: 0 6px 20px rgba(17,20,24,.25); }
.fab__btn--phone { background: var(--accent); color: var(--ink); }
.fab__btn:hover { color: #fff; }
.fab__btn--phone:hover { color: var(--ink); }

/* ---------- inner page head ---------- */
.page-head { padding: 40px 0 32px; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 10px 0 0; font-size: clamp(28px, 3.4vw, 40px); }
.page-head p { margin: 10px 0 0; color: var(--muted); max-width: 70ch; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); }

/* ---------- catalog ---------- */
.catalog-page { padding: 32px 0 88px; }
.catalog-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 32px; align-items: start; }
.catalog-layout .product-grid { grid-template-columns: repeat(3, 1fr); }
.filters { position: sticky; top: 84px; }
.filters summary { display: none; }
.filters__box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.filters h4 { font-size: 14px; font-weight: 650; margin: 0 0 10px; }
.filters__group + .filters__group { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.filters .field { height: 42px; margin-bottom: 8px; }
.filters ul { list-style: none; margin: 0; padding: 0; }
.filters li a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; margin: 0 -10px; border-radius: 4px; font-size: 15px; color: var(--text); }
.filters li a span { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.filters li a:hover { background: var(--bg); color: var(--ink); }
.filters li a.is-active { color: var(--ink); font-weight: 600; background: #eceef1; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); cursor: pointer; margin: 4px 0 12px; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.catalog-toolbar p { margin: 0; font-size: 15px; color: var(--muted); }
.catalog-toolbar p b { color: var(--ink); }
.catalog-toolbar select.field { height: 40px; width: auto; min-width: 200px; }
.empty { padding: 56px 24px; text-align: center; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r); }
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 52ch; margin: 0 auto 20px; }

/* ---------- product page ---------- */
.product-page { padding: 40px 0 72px; }
.product-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.product-gallery { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 40px; position: sticky; top: 84px; }
.product-gallery img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.product-info__brand { font-size: 15px; font-weight: 600; color: var(--muted); }
.product-info__brand:hover { color: var(--ink); }
.product-info h1 { font-size: clamp(26px, 3vw, 34px); margin: 8px 0 14px; }
.product-info__chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.product-info__chips .chip-size { height: 30px; font-size: 14px; padding: 0 10px; }
.buybox { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-bottom: 28px; }
.buybox__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.buybox__price b { font-size: 36px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.buybox__price small { font-size: 15px; color: var(--muted); }
.buybox__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.product-info__lead { color: var(--text); margin-bottom: 24px; }
.specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--line); }
.specs div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.specs dd { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); }
.specs-title { font-size: 18px; margin: 0 0 4px; }
.product-desc { max-width: 820px; margin-top: 56px; }
.product-desc h2 { font-size: 24px; }
.prose { font-size: 16px; line-height: 1.75; color: var(--text); }
.prose h2 { font-size: 24px; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 19px; margin: 1.4em 0 .5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent-text); }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- news pages ---------- */
.article { padding: 48px 0 64px; }
.article__wrap { max-width: 760px; margin: 0 auto; }
.article__img { width: 100%; max-height: 440px; object-fit: cover; border-radius: var(--r); margin: 28px 0; }
.article__meta { display: flex; gap: 14px; align-items: center; font-size: 15px; color: var(--muted); }
.article__meta span { display: inline-flex; gap: 6px; align-items: center; }
.article__cta { margin-top: 40px; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.article__cta p { margin: 0; color: var(--ink); font-weight: 600; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 4px; font-size: 13px; font-weight: 600; background: var(--accent); color: var(--ink); }

/* ---------- about / factories / contacts ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.two-col img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 32px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: 40px; font-weight: 700; color: var(--ink); line-height: 1.1; letter-spacing: -.03em; margin-bottom: 6px; }
.stat span { font-size: 15px; color: var(--muted); }
.cat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cat-row { position: relative; display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s; }
.cat-row:hover { border-color: var(--ink); }
.cat-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.cat-row h3 { margin: 0 0 6px; font-size: 17px; }
.cat-row h3 a::after { content: ''; position: absolute; inset: 0; }
.cat-row h3 a:hover { color: var(--ink); }
.cat-row p { margin: 0; font-size: 14px; color: var(--muted); }
.factory-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.factory { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.factory__logo { height: 64px; display: flex; align-items: center; }
.factory__logo img { max-height: 52px; width: auto; }
.factory h3 { margin: 0; }
.factory small { color: var(--muted); font-size: 14px; }
.factory p { margin: 0; color: var(--text); font-size: 15px; flex: 1; }
.contacts-grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 32px; align-items: stretch; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; }
.contact-card h2 { font-size: 22px; margin-bottom: 24px; }
.contact-card .footer__contact { margin-bottom: 20px; }
.contact-card .footer__contact svg { color: var(--accent-text); }
.contact-card .footer__contact b { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.contact-card .footer__contact a, .contact-card .footer__contact span { color: var(--ink); font-weight: 600; }
.map { width: 100%; min-height: 440px; height: 100%; border: 0; border-radius: var(--r); background: var(--line); }

/* ---------- toast / modal ---------- */
.toast {
  position: fixed; left: 50%; top: 84px; transform: translateX(-50%); z-index: 100; max-width: calc(100% - 32px);
  padding: 14px 20px; border-radius: var(--r); background: var(--ink); color: #fff; font-size: 15px; font-weight: 500;
  box-shadow: var(--shadow); border-left: 4px solid var(--accent); animation: rise .4s var(--ease);
}
.toast--error { border-left-color: #f04438; }
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(17, 20, 24, .6); }
.modal.is-open { display: flex; }
.modal__box { position: relative; width: 100%; max-width: 460px; max-height: calc(100dvh - 32px); overflow: auto; background: var(--surface); border-radius: calc(var(--r) + 4px); padding: 32px; }
.modal__box h3 { font-size: 24px; margin-bottom: 6px; }
.modal__box > p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: var(--r); background: var(--bg); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.modal__close:hover { background: var(--line); }

/* ---------- error pages ---------- */
.error-page { padding: 112px 0; text-align: center; }
.error-page b { display: block; font-size: 112px; line-height: 1; font-weight: 750; color: var(--ink); letter-spacing: -.04em; margin-bottom: 12px; }
.error-page p { color: var(--muted); }
.error-page__actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- responsive ---------- */
@media (max-width: 1279px) {
  .header-phone small { display: none; } /* working hours run long in Uzbek */
  .menu > li > a { padding: 0 9px; }
  .navbar { gap: 16px; }
}
@media (max-width: 1100px) {
  .menu > li > a { padding: 0 7px; font-size: 14px; }
}
@media (max-width: 1279px) {
  /* The header also carries search, cart and the language switcher, and Uzbek labels are longer: the phone becomes an icon. */
  .header-phone { display: none; }
  .header-call { display: grid; }
}
@media (max-width: 1023px) {
  .menu-wrap { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(17,20,24,.1); display: none; max-height: calc(100dvh - 68px); overflow: auto; }
  .nav-open .menu-wrap { display: block; }
  .menu { flex-direction: column; align-items: stretch; padding: 8px 24px 20px; gap: 0; }
  .menu > li > a { height: auto; padding: 14px 0; border-radius: 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .menu > li > a:hover { background: none; }
  .menu .caret { display: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; min-width: 0; background: none; }
  .submenu a { padding: 8px 0; color: var(--text); }
  .submenu__all { display: none; }
  .burger { display: grid; }
  .header-phone { display: none; }
  .header-call { display: grid; }
  .header-actions .btn { display: none; }
  .header-actions { gap: 8px; }
  .hero__inner { grid-template-columns: 1fr; align-items: center; gap: 32px; padding-top: 72px; }
  .hero__stats { justify-self: start; }
  .bento { grid-template-rows: 220px 220px 220px; }
  .tile--1 { grid-column: span 4; grid-row: span 1; }
  .tile--2 { grid-column: span 4; }
  .tile--3, .tile--4 { grid-column: span 2; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .why, .lead-band__grid, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .news-feature { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .catalog-layout { grid-template-columns: 1fr; gap: 20px; }
  .catalog-layout .product-grid { grid-template-columns: repeat(3, 1fr); }
  .filters { position: static; }
  .filters summary { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 16px; cursor: pointer; list-style: none;
    background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r); font-weight: 600; color: var(--ink); }
  .filters summary::-webkit-details-marker { display: none; }
  .filters[open] summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .filters[open] .filters__box { border-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
  .product-main { grid-template-columns: 1fr; gap: 28px; }
  .product-gallery { position: static; padding: 24px; max-width: 520px; width: 100%; margin: 0 auto; }
  .contacts-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fab { display: flex; }
}
@media (max-width: 767px) {
  .container { padding: 0 16px; }
  body { font-size: 15px; }
  .navbar { height: 60px; }
  .menu-wrap { max-height: calc(100dvh - 60px); }
  .menu { padding: 8px 16px 20px; }
  .logo span { font-size: 17px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
  .hero__inner { min-height: 0; padding-top: 140px; padding-bottom: 88px; gap: 24px; }
  .hero::before { background: linear-gradient(0deg, rgba(17,20,24,.95) 0%, rgba(17,20,24,.75) 55%, rgba(17,20,24,.25) 100%); }
  .hero__bg img { object-position: center 30%; }
  .hero h1 { font-size: 40px; }
  .hero__text { font-size: 16px; margin-bottom: 24px; }
  .hero__links { gap: 16px; }
  .hero__links .btn { width: 100%; }
  .hero__stats { width: 100%; }
  .hero__stats li { flex: 1; min-width: 0; padding: 14px 12px; }
  .hero__stats b { font-size: 24px; }
  .hero__stats span { font-size: 12px; }
  .finder { margin-top: -48px; padding: 16px; }
  .finder__fields { grid-template-columns: 1fr; gap: 12px; }
  .finder .btn { width: 100%; }
  .quick__row { flex-direction: column; align-items: stretch; gap: 10px; }
  .quick__pills { margin: 0 -16px; padding: 2px 16px; }
  .facts { grid-template-columns: 1fr; gap: 18px; padding-top: 28px; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 200px; gap: 12px; }
  .tile--1, .tile--2, .tile--3, .tile--4 { grid-column: auto; grid-row: auto; }
  .tile--1 h3 { font-size: 22px; }
  .tile--1 .tile__desc { display: none; }
  .product-grid, .catalog-layout .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pcard__img { padding: 10px; }
  .pcard__body { padding: 12px; gap: 8px; }
  .pcard__name { font-size: 14px; }
  .pcard__price { font-size: 16px; }
  .pcard__arrow { display: none; }
  .pcard__meta .stock { font-size: 12px; }
  .pcard__brand { display: none; }
  .brand-row { grid-template-columns: repeat(2, 1fr); }
  .brand-row a { height: 96px; padding: 0 16px; }
  .brand-row a:nth-child(3) { border-left: 0; }
  .brand-row a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .perks { grid-template-columns: 1fr; }
  .perk--photo { display: none; }
  .quote { grid-template-columns: 1fr; padding: 22px; gap: 12px; }
  .quote blockquote { font-size: 16px; }
  .ncard--row { grid-template-columns: 112px 1fr; gap: 14px; }
  .ncard--big .ncard__title { font-size: 20px; }
  .news-grid { grid-template-columns: 1fr; gap: 32px; }
  .lead-band { padding: 64px 0; }
  .lead-form { grid-template-columns: 1fr; padding: 20px; }
  .lead-band__phone { font-size: 19px; }
  .footer__grid { grid-template-columns: 1fr; padding: 48px 16px 32px; gap: 32px; }
  .footer__bottom .container { flex-direction: column; justify-content: center; padding: 18px 16px 84px; }
  .page-head { padding: 28px 0 24px; }
  .specs { grid-template-columns: 1fr; }
  .buybox { padding: 18px; }
  .buybox__price b { font-size: 30px; }
  .buybox__actions { grid-template-columns: 1fr; }
  .cat-list, .factory-list { grid-template-columns: 1fr; }
  .cat-row { grid-template-columns: 112px 1fr; }
  .stat { padding: 22px 12px; }
  .stat b { font-size: 30px; }
  .contact-card { padding: 22px; }
  .map { min-height: 320px; }
  .modal__box { padding: 24px 20px; }
  .error-page { padding: 72px 0; }
  .error-page b { font-size: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- header: search, cart, compare ---------- */
.hbtn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none; border: 0; border-radius: var(--r);
  background: transparent; color: var(--ink); cursor: pointer; transition: background .2s; }
.hbtn[hidden] { display: none; }
.hbtn:hover { background: #eef0f3; color: var(--ink); }
.hbtn__count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--ink);
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.hbtn__count[hidden] { display: none; }
.header-actions { gap: 4px; }
.header-actions > .lang-switch, .header-actions > .header-phone { margin-left: 8px; }
.header-actions > .btn { margin-left: 8px; }
.search-panel { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(17,20,24,.1); padding: 16px 0 20px; }
.search-panel[hidden] { display: none; }
.search-panel__form { display: flex; gap: 10px; }
.search-panel__form .field { height: 48px; flex: 1; font-size: 16px; }
.search-panel__form .btn { min-height: 48px; flex: none; }
.suggest { margin-top: 10px; }
.suggest:empty { display: none; }
.suggest__list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.suggest__list li + li { border-top: 1px solid var(--line); }
.suggest__list a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 12px; color: var(--ink); }
.suggest__list a:hover, .suggest__list a:focus-visible { background: var(--bg); color: var(--ink); }
.suggest__list img { width: 44px; height: 44px; object-fit: contain; border-radius: 4px; background: #fff; }
.suggest__main { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.suggest__main b { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest__main small { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.suggest__price { font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--ink); }
.suggest__all { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; color: var(--ink); }
.suggest__none { margin: 0; padding: 12px 4px; color: var(--muted); }
.chip--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.chip--ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }
@media (max-width: 1180px) { .header-actions > .btn { display: none; } }
@media (max-width: 767px) {
  .search-panel__form .btn span { display: none; }
  .search-panel__form .btn { padding: 0 16px; }
  .suggest__list a { grid-template-columns: 44px minmax(0, 1fr); }
  .suggest__price { display: none; }
}

/* ---------- compare ---------- */
.pcard__cmp { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-strong);
  border-radius: var(--r); background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s; }
.pcard__cmp:hover { border-color: var(--ink); }
.pcard__cmp[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--accent); }
.notice { margin: 0 0 20px; padding: 12px 16px; border-radius: var(--r); background: #fff4e0; color: #5c3b00; border: 1px solid #f0d9a8; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 15px; }
.cmp tbody th { width: 190px; font-weight: 600; color: var(--muted); background: var(--bg); position: sticky; left: 0; z-index: 1; }
.cmp thead th:first-child { width: 190px; background: var(--bg); position: sticky; left: 0; z-index: 1; }
.cmp td { min-width: 180px; color: var(--ink); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp__head { font-weight: 400; background: var(--surface); }
.cmp__img { display: block; width: 120px; height: 120px; margin-bottom: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 8px; }
.cmp__img img { width: 100%; height: 100%; object-fit: contain; }
.cmp__name { display: block; font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--ink); }
.cmp__remove { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.cmp__key td, .cmp__key th { background: #fffaf0; }
.cmp__key td.is-best { background: #fff1d6; }
.cmp__badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 700; }
.cmp .muted { color: var(--muted); }
.cmp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--graphite); color: var(--on-dark); box-shadow: 0 -8px 24px rgba(17,20,24,.25); padding: 10px 0; }
.cmp-bar[hidden], .cmp-bar [hidden] { display: none; }
.cmp-bar__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cmp-bar__row + .cmp-bar__row { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.14); }
.cmp-bar__text { margin-right: auto; font-weight: 600; }
.cmp-bar__prompt span { margin-right: auto; }
.cmp-bar .btn--sm { min-height: 36px; }
@media (max-width: 767px) {
  .cmp tbody th, .cmp thead th:first-child { width: 120px; min-width: 120px; padding: 12px; font-size: 13px; }
  .cmp td { min-width: 150px; padding: 12px; }
}

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; }
.card-box { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.card-box h2, .card-box h3 { margin-bottom: 14px; }
.calc__group { margin: 0 0 18px; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.calc__group legend { padding: 0 8px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc__hint { margin: -6px 0 14px; font-size: 13px; color: var(--muted); }
.calc__idle { display: grid; justify-items: center; gap: 8px; text-align: center; color: var(--muted); padding: 56px 28px; }
.calc__idle svg { color: var(--line-strong); }
.calc__idle p { margin: 0; max-width: 36ch; }
.calc__table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.calc__table th, .calc__table td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.calc__table thead th { font-size: 13px; color: var(--muted); font-weight: 600; }
.calc__table tbody th { font-weight: 500; color: var(--muted); width: 32%; }
.calc__table .is-key td, .calc__table .is-key th { background: #fffaf0; color: var(--ink); }
.calc__diff { margin: 0 0 14px; }
.calc__saving { display: grid; gap: 2px; margin: 0 0 14px; padding: 18px 20px; border-radius: var(--r); background: var(--graphite); color: var(--on-dark); }
.calc__saving span { font-size: 14px; color: var(--on-dark-muted); }
.calc__saving b { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; color: var(--accent); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc__saving small { font-size: 13px; color: var(--on-dark-muted); }
.calc__facts { margin: 0 0 18px; padding-left: 18px; color: var(--text); }
.calc__facts li + li { margin-top: 6px; }
.calc__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.calc__offer { margin-top: 20px; }
@media (max-width: 1023px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .card-box { padding: 20px 16px; } .calc__row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- cart, order, tracking ---------- */
.toast a { color: var(--accent); font-weight: 650; text-decoration: underline; }
.cart__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: start; }
.cart__forms { display: grid; gap: 20px; position: sticky; top: 92px; }
.cart__forms h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.cart__forms h2 svg { flex: none; color: var(--accent-text); }
.cart-lines { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.cart-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 120px 130px 36px; align-items: center; gap: 16px; padding: 16px; }
.cart-line + .cart-line { border-top: 1px solid var(--line); }
.cart-line__img { display: block; width: 72px; height: 72px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 4px; }
.cart-line__img img { width: 100%; height: 100%; object-fit: contain; }
.cart-line__name { display: block; font-weight: 600; color: var(--ink); line-height: 1.35; }
.cart-line__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.cart-line__qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r); background: #fff; }
.cart-line__qty button { display: grid; place-items: center; width: 36px; height: 40px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.cart-line__qty button:hover { background: var(--bg); }
.cart-line__qty input { width: 56px; height: 40px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-weight: 600; background: #fff; -moz-appearance: textfield; }
.cart-line__qty input::-webkit-outer-spin-button, .cart-line__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-line__price { font-size: 14px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.cart-line__sum { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.cart-line__remove { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: var(--r); background: transparent; color: var(--muted); cursor: pointer; }
.cart-line__remove:hover { background: var(--bg); color: var(--danger); }
.cart-total { margin-top: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.cart-total__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 18px; color: var(--ink); }
.cart-total__row b { font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cart-total__vat { margin-top: 4px; text-align: right; font-size: 14px; color: var(--muted); }
.cart-total__note { margin: 0 0 10px; font-size: 14px; color: var(--warn); }
.order-done, .track { display: grid; gap: 24px; max-width: 880px; }
.track__form { max-width: 460px; }
.track__result { display: grid; gap: 20px; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
.timeline { list-style: none; margin: 0 0 16px; padding: 0 0 0 18px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 14px 6px; display: grid; }
.timeline li::before { content: ''; position: absolute; left: -25px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface); }
.timeline li span { font-size: 13px; color: var(--muted); }
@media (max-width: 1023px) {
  .cart__body { grid-template-columns: 1fr; }
  .cart__forms { position: static; }
  .track__result { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .cart-line {
    grid-template-columns: 64px minmax(0, 1fr) auto 36px;
    grid-template-areas: "img main main remove" "img qty qty qty" "img price sum sum";
    gap: 8px 12px; padding: 14px 12px; align-items: center;
  }
  .cart-line__img { grid-area: img; width: 64px; height: 64px; align-self: start; }
  .cart-line__main { grid-area: main; align-self: start; }
  .cart-line__remove { grid-area: remove; align-self: start; }
  .cart-line__qty { grid-area: qty; justify-self: start; }
  .cart-line__price { grid-area: price; text-align: left; font-size: 14px; }
  .cart-line__sum { grid-area: sum; grid-column: 3 / 5; text-align: right; font-size: 15px; white-space: nowrap; }
}

/* ---------- home video ---------- */
.video { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: center; }
.video__text h2 { margin-bottom: 10px; }
.video__text p { margin: 0; color: var(--muted); max-width: 36ch; }
.video__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: var(--graphite); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; display: block; color: #fff; }
.video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s, transform .8s var(--ease); }
.video__play::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,20,24,.55), rgba(17,20,24,.1)); }
.video__play:hover img { opacity: 1; transform: scale(1.03); }
.video__btn { position: absolute; z-index: 1; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; display: grid; place-items: center; border-radius: 50%;
  background: var(--accent); color: var(--ink); box-shadow: 0 12px 32px rgba(0,0,0,.35); transition: transform .3s var(--ease); }
.video__play:hover .video__btn { transform: scale(1.08); }
@media (max-width: 1023px) { .video { grid-template-columns: 1fr; gap: 24px; } .video__text p { max-width: none; } }
@media (max-width: 767px) { .video__btn { width: 64px; height: 64px; margin: -32px 0 0 -32px; } }

/* ---------- calculator band on the home page ---------- */
.calc-band { background: var(--graphite); color: var(--on-dark); padding: 40px 0; }
.calc-band__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.calc-band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(22px, 2.6vw, 30px); }
.calc-band p { margin: 0; max-width: 62ch; color: var(--on-dark-muted); }
@media (max-width: 767px) { .calc-band__row { flex-direction: column; align-items: flex-start; gap: 20px; } .calc-band .btn { width: 100%; } }
.submenu__tool a { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.submenu__tool a svg { color: var(--accent-text); }

/* ---------- phone header: logo + search + cart + language + menu must fit in 343px ---------- */
@media (max-width: 767px) {
  .navbar { gap: 8px; }
  .header-actions { gap: 2px; }
  .header-actions > .header-call { display: none; } /* the floating call button is always on screen */
  .hbtn { width: 38px; height: 38px; }
  .hbtn[data-compare-link] { display: none; } /* the bar at the bottom of the screen links to the comparison */
  .header-actions > .lang-switch { margin-left: 4px; }
  .lang-switch summary { height: 38px; padding: 0 8px; }
  .burger { width: 40px; height: 40px; }
  .cmp-bar { padding: 8px 0; }
  body.has-cmp-bar .fab { bottom: 76px; }
}
body.has-cmp-bar { padding-bottom: 64px; }

@media (max-width: 1023px) { .calc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
  .calc__table { table-layout: fixed; }
  .calc__table th, .calc__table td { padding: 8px 4px; font-size: 13px; overflow-wrap: anywhere; }
  .calc__table tbody th { width: 27%; }
  .calc__saving b { font-size: 24px; }
  .cart-total__row b { font-size: 22px; }
  .order-done .calc__table td.nowrap { white-space: normal; }
}
