:root {
  --bg: #f5f6f4;
  --surface: #ffffff;
  --surface-soft: #f0f2ef;
  --text: #34423b;
  --muted: #68736d;
  --line: #dfe3df;
  --line-strong: #cfd5d0;
  --focus: #708078;
  --star: #9c7132;
  --shadow: 0 12px 34px rgba(31, 39, 34, .08);
  --shell: 1600px;
  --content-shell: 1160px;
  --inner-page-width: 960px;
  --search-width: 860px;
  --catalog-content-width: calc(83.333333% - 3px);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #151816;
  --surface: #1c201d;
  --surface-soft: #222723;
  --text: #c9d1cc;
  --muted: #929c96;
  --line: #303630;
  --line-strong: #414941;
  --focus: #8e9a93;
  --star: #bd9253;
  --shadow: 0 14px 42px rgba(0, 0, 0, .28);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
.shell { width: min(calc(100% - 96px), var(--shell)); margin-inline: auto; }
.skip-link, .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { width: auto; height: auto; clip: auto; margin: 0; left: 18px; top: 18px; z-index: 100; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; }
.site-header { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px); transition: box-shadow .18s ease, background .18s ease; }
.header-row { min-height: 76px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; font-size: 20px; text-decoration: none; letter-spacing: -.02em; }
.brand img { border-radius: 10px; }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
@media (min-width: 761px) {
  .site-header { position: sticky; top: 0; z-index: 50; }
  .site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 96%, transparent); box-shadow: 0 8px 24px rgba(31, 39, 34, .07); }
  :root[data-theme="dark"] .site-header.is-scrolled { box-shadow: 0 10px 28px rgba(0, 0, 0, .24); }
}
.icon-button, .filter-button, .clear-button, .search-submit { display: inline-grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
.icon-button { width: 40px; height: 40px; border-radius: 10px; }
.icon-button:hover { background: var(--surface-soft); }
.icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon--dark { display: none; }
:root[data-theme="dark"] .theme-icon--light { display: none; }
:root[data-theme="dark"] .theme-icon--dark { display: block; }
.app-link { padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 620; background: var(--surface); }
.app-link:hover { border-color: var(--muted); }
.page-main { padding: 30px 0 52px; }
.search-section { position: relative; margin-bottom: 28px; }
.search-bar { width: min(100%, var(--search-width)); margin-inline: auto; height: 64px; display: grid; grid-template-columns: 30px minmax(0,1fr) auto auto; align-items: center; gap: 10px; padding: 0 12px 0 20px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: 0 1px 0 rgba(255,255,255,.45) inset; transition: border-color .16s ease, box-shadow .16s ease; }
.search-bar:focus-within { border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 18%, transparent); }
.search-submit { width: 30px; height: 38px; padding: 0; border-radius: 9px; color: var(--muted); }
.search-submit:hover { color: var(--text); }
.search-submit:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.search-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.search-bar input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 18px; }
.search-bar input::placeholder { color: color-mix(in srgb, var(--muted) 82%, transparent); }
.clear-button { width: 38px; height: 38px; border-radius: 10px; }
.clear-button:hover { background: var(--surface-soft); }
.clear-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.filter-button { position: relative; width: 44px; height: 44px; border-radius: 12px; color: var(--muted); }
.filter-button:hover, .filter-button[aria-expanded="true"] { background: var(--surface-soft); color: var(--text); }
.filter-button svg { width: 25px; height: 25px; fill: var(--surface); stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.filter-indicator { position: absolute; right: 7px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--text); border: 2px solid var(--surface); opacity: 0; }
.filter-indicator.is-visible { opacity: 1; }
.filter-panel { position: absolute; z-index: 20; right: max(calc((100% - var(--search-width)) / 2), 0px); top: calc(100% + 10px); width: min(430px, 100%); padding: 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.filter-panel[hidden] { display: none; }
.sort-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.filter-title { margin: 0 0 8px; padding: 0; font-weight: 720; font-size: 12px; text-transform: uppercase; letter-spacing: .065em; color: var(--muted); }
.sort-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.sort-option { min-height: 40px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); color: var(--muted); cursor: pointer; font-size: 13px; line-height: 1.25; user-select: none; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.sort-option:hover { border-color: var(--line-strong); color: var(--text); }
.sort-option input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; pointer-events: none; }
.sort-option span { width: 100%; min-height: 38px; display: flex; align-items: center; padding: 8px 11px; border-radius: 9px; }
.sort-option input:checked + span { background: var(--text); color: var(--surface); font-weight: 690; }
.sort-option input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--focus) 25%, transparent); outline-offset: 2px; }
.filter-section--reviews { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); }
.review-filter-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.option-check, .remember-filters { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; color: var(--muted); cursor: pointer; font-size: 13px; user-select: none; }
.option-check input, .remember-filters input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; pointer-events: none; }
.option-check-box, .remember-check { width: 18px; height: 18px; display: inline-grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--surface); transition: background .15s ease, border-color .15s ease; }
.option-check-box svg, .remember-check svg { width: 13px; height: 13px; fill: none; stroke: var(--surface); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.75); transition: opacity .15s ease, transform .15s ease; }
.option-check input:checked + .option-check-box, .remember-filters input:checked + .remember-check { border-color: var(--text); background: var(--text); }
.option-check input:checked + .option-check-box svg, .remember-filters input:checked + .remember-check svg { opacity: 1; transform: scale(1); }
.option-check input:focus-visible + .option-check-box, .remember-filters input:focus-visible + .remember-check { outline: 3px solid color-mix(in srgb, var(--focus) 22%, transparent); outline-offset: 2px; }
.filter-preferences { margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line); }
.filter-actions { margin-top: 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.reset-filters { padding: 9px 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; }
.reset-filters:hover { color: var(--text); }
.apply-filters { min-width: 116px; height: 40px; padding: 0 17px; border: 1px solid var(--text); border-radius: 10px; background: var(--text); color: var(--surface); cursor: pointer; font-size: 14px; font-weight: 680; }
.apply-filters:hover:not(:disabled) { opacity: .88; }
.apply-filters:disabled { border-color: var(--line); background: var(--surface-soft); color: var(--muted); cursor: default; opacity: .72; }
.product-grid { width: var(--catalog-content-width); margin-inline: auto; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 30px 18px; }
.product-card { min-width: 0; }
.product-card[hidden] { display: none; }
.product-card a { display: block; height: 100%; text-decoration: none; border-radius: 14px; outline: none; }
.product-photo { aspect-ratio: 640 / 772; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .16s ease, box-shadow .16s ease; }
.product-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.product-info { padding: 12px 3px 0; }
.product-brand { margin: 0 0 5px; color: var(--muted); font-size: 12px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-card h2 { margin: 0; min-height: 39px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.3; font-weight: 650; letter-spacing: -.012em; word-break: normal; overflow-wrap: normal; -webkit-hyphens: none; hyphens: none; }
.product-rating { min-height: 21px; margin: 8px 0 0; display: flex; align-items: center; gap: 4px; color: var(--text); font-size: 13px; white-space: nowrap; }
.product-rating strong { font-weight: 720; }
.review-count { color: var(--muted); white-space: nowrap; }
.product-rating--empty { color: var(--muted); }
.product-card a:hover .product-photo { border-color: var(--line-strong); box-shadow: 0 10px 24px rgba(31,39,34,.08); }
.product-card a:focus-visible .product-photo { border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent); }

.load-more-wrap { margin-top: 44px; display: flex; justify-content: center; }
.load-more-wrap[hidden] { display: none; }
.load-more { min-width: 156px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--text); cursor: pointer; font-size: 14px; font-weight: 680; text-decoration: none; box-shadow: 0 1px 0 rgba(255,255,255,.35) inset; transition: border-color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease; }
.load-more:hover { border-color: var(--muted); background: var(--surface-soft); transform: translateY(-1px); }
.load-more:focus-visible { outline: 3px solid color-mix(in srgb, var(--focus) 22%, transparent); outline-offset: 2px; }

.scroll-top { position: fixed; right: 24px; bottom: 24px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); color: var(--text); box-shadow: 0 16px 30px rgba(31,39,34,.20); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease; z-index: 30; }
:root[data-theme="dark"] .scroll-top { box-shadow: 0 16px 30px rgba(0,0,0,.34); }
.scroll-top svg { display: block; }
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--surface-soft); border-color: var(--muted); box-shadow: 0 18px 34px rgba(31,39,34,.27); transform: translateY(-2px); }
:root[data-theme="dark"] .scroll-top:hover { box-shadow: 0 18px 34px rgba(0,0,0,.42); }
.scroll-top:focus-visible { outline: 3px solid color-mix(in srgb, var(--focus) 28%, transparent); outline-offset: 3px; }
@media (max-width: 1540px) {
  .shell { width: min(calc(100% - 64px), var(--shell)); }
  .product-grid { column-gap: 16px; }
  .product-card h2 { font-size: 14px; }
}
@media (max-width: 1260px) {
  .product-grid { width: 100%; grid-template-columns: repeat(5, minmax(0,1fr)); }
}
@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .header-row { min-height: 66px; grid-template-columns: 1fr auto; gap: 14px; }
  .header-actions .app-link { display: none; }
  .page-main { padding-top: 18px; }
  .search-bar { height: 58px; padding-left: 15px; border-radius: 14px; }
  .search-bar input { font-size: 16px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px 12px; }
  .product-card h2 { min-height: 37px; font-size: 14px; }
  .scroll-top { display: none !important; }
}
@media (max-width: 520px) {
  .brand span { font-size: 18px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .product-info { padding-top: 9px; }
  .product-brand { font-size: 11px; }
  .product-card h2 { min-height: 34px; font-size: 13px; }
  .product-rating { margin-top: 6px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

@media (max-width: 520px) {
  .filter-panel { left: 0; right: 0; width: 100%; padding: 14px; }
  .sort-options { grid-template-columns: 1fr; gap: 5px; }
  .sort-option { min-height: 38px; font-size: 12px; }
  .sort-option span { min-height: 36px; }
  .review-filter-options { grid-template-columns: 1fr; gap: 4px; }
  .review-count { font-size: 11px; }
}

/* Download section */
.download-section {
  scroll-margin-top: 96px;
  padding: 52px 0 0;
}
.download-section > .shell,
.site-footer > .shell,
.content-shell {
  width: min(calc(100% - 80px), var(--content-shell));
  margin-inline: auto;
}
.download-card {
  overflow: hidden;
  padding: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 34px;
  background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--surface-soft) 70%, var(--surface)));
  box-shadow: 0 24px 70px rgba(31, 39, 34, .10);
}
:root[data-theme="dark"] .download-card { box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.download-copy { max-width: 850px; }
.download-eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
  letter-spacing: .015em;
}
.download-card h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(38px, 4.1vw, 58px);
  line-height: 1.02;
  letter-spacing: -.043em;
  font-weight: 770;
}
.download-lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.58;
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.store-button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.store-button:hover {
  transform: translateY(-1px);
  border-color: var(--muted);
  background: var(--surface-soft);
  box-shadow: 0 10px 22px rgba(31, 39, 34, .08);
}
.store-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 24%, transparent);
  outline-offset: 3px;
}
.store-button__icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.store-button__icon img {
  max-width: 26px;
  max-height: 26px;
  object-fit: contain;
}
.rustore-logo { border-radius: 6px; }
.store-button small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.15;
}
.store-button strong {
  display: block;
  font-size: 15px;
  line-height: 1.15;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 64px;
  padding: 50px 0 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #f1f3f1 0%, #e8ece8 100%);
}
:root[data-theme="dark"] .site-footer { background: linear-gradient(180deg, #191d1a 0%, #141714 100%); }
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--focus) 32%, transparent), transparent);
  pointer-events: none;
}
.footer-inner { position: relative; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.08fr) repeat(3, minmax(180px, .82fr));
  gap: clamp(34px, 5vw, 78px);
  align-items: start;
}
.footer-section { min-width: 0; }
.footer-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-list a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
  white-space: nowrap;
  text-decoration: none;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  transition: color .16s ease, text-decoration-color .16s ease;
}
.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--text) 30%, transparent);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1050px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .download-section > .shell,
  .site-footer > .shell,
  .content-shell { width: min(calc(100% - 28px), var(--content-shell)); }
  .download-section { padding-top: 36px; }
  .download-card { padding: 28px 24px; border-radius: 24px; }
  .download-card h2 { font-size: clamp(34px, 10vw, 48px); }
  .site-footer { margin-top: 46px; padding: 42px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-list a { min-height: 36px; font-size: 15px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
  .store-row { display: grid; grid-template-columns: 1fr; }
  .store-button { width: 100%; justify-content: flex-start; }
}

/* Inner pages */
.page-inner { min-height: 100vh; }
.inner-main { padding: 24px 0 28px; }
.inner-page-shell { max-width: var(--inner-page-width); margin-inline: auto; }
.inner-card,
.contacts-card {
  width: 100%;
  margin: 0;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--surface-soft) 62%, var(--surface)));
  box-shadow: var(--shadow);
}
.inner-card h1,
.contacts-card h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.03;
  letter-spacing: -.045em;
}
.inner-card h2 {
  margin: 38px 0 12px;
  font-size: clamp(23px, 2.4vw, 29px);
  line-height: 1.16;
  letter-spacing: -.025em;
}
.inner-card h3 { margin: 28px 0 10px; font-size: 20px; }
.inner-card p,
.inner-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}
.inner-card p { margin: 12px 0; }
.inner-card ul,
.inner-card ol { padding-left: 1.35rem; }
.inner-card li + li { margin-top: 7px; }
.inner-card strong { color: var(--text); }
.inner-card a { color: var(--text); font-weight: 680; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--text) 30%, transparent); }
.last-update { margin-top: -4px !important; font-size: 14px !important; }
.legal-contact-action { margin-top: 22px !important; }
.legal-contact-action a { display: inline-flex; gap: 8px; text-decoration: none; border-bottom: 1px dashed var(--line-strong); }
.legal-contact-action a:hover { border-bottom-color: var(--text); }

/* Contacts */
.contacts-content { max-width: var(--inner-page-width); }
.contacts-card { position: relative; overflow: hidden; }
.contact-intro { max-width: 720px; margin: 0 0 34px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-field { display: grid; gap: 8px; min-width: 0; }
.contact-field--full { grid-column: 1 / -1; }
.contact-label { font-size: 14px; font-weight: 720; }
.contact-input,
.contact-textarea {
  width: 100%; min-height: 56px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface-soft); color: var(--text); font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.contact-input::placeholder,
.contact-textarea::placeholder { color: var(--muted); }
.contact-input:focus,
.contact-textarea:focus { outline: 0; border-color: var(--focus); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 14%, transparent); }
.contact-textarea { min-height: 190px; resize: vertical; }
.contact-help { margin: 0; color: var(--muted); font-size: 13px; }
.contact-actions { display: grid; justify-items: start; gap: 14px; margin-top: 22px; }
.contact-consent { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 11px; max-width: 760px; color: var(--muted); font-size: 14px; line-height: 1.55; cursor: pointer; }
.contact-consent__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.contact-consent__box { position: relative; width: 20px; height: 20px; margin-top: 1px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); }
.contact-consent__box::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 10px; border: solid var(--surface); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(.75); opacity: 0; transition: opacity .16s ease, transform .16s ease; }
.contact-consent__input:checked + .contact-consent__box { border-color: var(--text); background: var(--text); }
.contact-consent__input:checked + .contact-consent__box::after { opacity: 1; transform: rotate(45deg) scale(1); }
.contact-consent__input:focus-visible + .contact-consent__box { outline: 3px solid color-mix(in srgb, var(--focus) 22%, transparent); outline-offset: 2px; }
.contact-consent__text a { color: inherit; text-underline-offset: 3px; }
.contact-submit { min-width: 170px; min-height: 50px; padding: 0 24px; border: 1px solid var(--text); border-radius: 13px; background: var(--text); color: var(--surface); font-weight: 720; cursor: pointer; }
.contact-submit:disabled { opacity: .45; cursor: default; }
.contact-submit:not(:disabled):hover { opacity: .88; transform: translateY(-1px); }
@media (max-width: 760px) {
  .inner-main { padding: 18px 0 10px; }
  .inner-card, .contacts-card { padding: 26px 22px; border-radius: 22px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-field--full { grid-column: auto; }
  .contact-submit { width: 100%; }
}


/* Keep technical strings breakable without breaking ordinary headings mid-word. */
.inner-card a,
.contacts-card a,
.inner-card code,
.contacts-card code {
  overflow-wrap: anywhere;
}

.star-icon,
.review-meta {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.star-icon {
  width: 15px;
  height: 15px;
  color: var(--star);
}
.star-icon svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: currentColor;
}
.review-meta {
  gap: 4px;
  margin-left: 4px;
  color: var(--muted);
}
.review-icon {
  width: 14px;
  height: 14px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-rating .review-count { color: inherit; }

/* Breadcrumbs */
.breadcrumbs {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
.catalog-breadcrumbs { width: var(--catalog-content-width); margin: -4px auto 18px; }
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  margin-right: 7px;
  color: color-mix(in srgb, var(--muted) 58%, transparent);
}
.breadcrumbs a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}
.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.breadcrumbs [aria-current="page"] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inner-card h1,
.inner-card h2,
.inner-card h3,
.contacts-card h1,
.download-card h2 {
  word-break: normal;
  overflow-wrap: normal;
  -webkit-hyphens: none;
  hyphens: none;
  hyphenate-limit-chars: 6 3 3;
  text-wrap: balance;
}

@media (max-width: 1260px) {
  .catalog-breadcrumbs { width: 100%; }
}
@media (max-width: 760px) {
  .breadcrumbs { margin-bottom: 14px; font-size: 13px; }
  .breadcrumbs__item:last-child {
    max-width: 70vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .inner-card h1,
  .contacts-card h1 {
    font-size: clamp(26px, 8vw, 48px);
    line-height: 1.07;
  }
}


/* Catalog and service states */
.catalog-empty { width: min(100%, 720px); min-height: 320px; display: grid; justify-items: center; align-content: center; margin: 24px auto 0; padding: 48px 30px; border: 1px solid var(--line); border-radius: 22px; background: color-mix(in srgb, var(--surface) 78%, var(--bg)); text-align: center; }
.clear-button[hidden] { display: none; }
.catalog-empty[hidden] { display: none; }
.catalog-empty__mark { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); color: var(--muted); }
.catalog-empty__mark svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.catalog-empty h2 { margin: 0; font-size: 25px; letter-spacing: -.025em; }
.catalog-empty p { max-width: 500px; margin: 10px 0 0; color: var(--muted); line-height: 1.65; }
.catalog-empty--easter { overflow: hidden; padding-top: 28px; }
.catalog-empty__easter-image { width: min(640px, 100%); height: auto; display: block; margin: -14px auto 18px; object-fit: contain; filter: saturate(.86); }
.catalog-empty__reset { min-height: 42px; max-width: 100%; display: inline-flex; align-items: center; justify-content: center; margin-top: 23px; padding: 10px 17px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--surface); cursor: pointer; font-weight: 680; line-height: 1.25; text-align: center; text-decoration: none; }
.catalog-empty__reset:hover { border-color: var(--muted); background: var(--surface-soft); }
.catalog-empty__reset:focus-visible { outline: 3px solid color-mix(in srgb, var(--focus) 22%, transparent); outline-offset: 2px; }
.state-shell { padding: 58px 0 34px; }
.state-card { width: min(100%, 840px); min-height: 420px; display: grid; justify-items: center; align-content: center; margin-inline: auto; padding: clamp(44px, 7vw, 84px); border: 1px solid var(--line); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); text-align: center; }
.state-card__code { margin: 0 0 16px; color: var(--muted); font-size: 12px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.state-card h1 { max-width: 700px; margin: 0; font-size: clamp(34px, 5.4vw, 62px); line-height: 1.02; letter-spacing: -.05em; }
.state-card > p:not(.state-card__code) { max-width: 600px; margin: 20px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.state-card__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.state-card__actions a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 11px; text-decoration: none; font-size: 14px; font-weight: 690; }
.state-card__primary { background: var(--text); color: var(--surface); }
.state-card__secondary { border: 1px solid var(--line-strong); background: var(--surface); }
.state-card__actions a:focus-visible { outline: 3px solid color-mix(in srgb, var(--focus) 24%, transparent); outline-offset: 2px; }
@media (max-width: 760px) {
  .catalog-empty { min-height: 280px; padding: 36px 20px; }
  .state-shell { padding-top: 26px; }
  .state-card { min-height: 360px; padding: 42px 22px; border-radius: 21px; }
  .state-card > p:not(.state-card__code) { font-size: 15px; }
  .state-card__actions { width: 100%; flex-direction: column; }
  .state-card__actions a { justify-content: center; }
}

/* Dynamic states */
.load-more[aria-busy="true"] { cursor: progress; opacity: .72; }
.product-photo-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: var(--surface-soft); }
.product-photo-placeholder img { width: 72px; height: 72px; object-fit: contain; opacity: .42; }
.catalog-pagination { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--muted); font-size: 14px; }
.catalog-pagination a { color: var(--text); text-underline-offset: 3px; }
.contact-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-field-error { min-height: 18px; margin: 0; color: #a44242; font-size: 13px; line-height: 1.35; }
.contact-toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; width: min(420px, calc(100% - 32px)); padding: 18px 20px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.contact-toast--error { border-color: color-mix(in srgb, #a44242 55%, var(--line)); }
.contact-toast--success { border-color: color-mix(in srgb, #267a64 55%, var(--line)); }
.contact-toast__eyebrow { margin: 0 0 6px; display: flex; justify-content: space-between; gap: 14px; font-size: 13px; font-weight: 760; text-transform: uppercase; letter-spacing: .05em; }
.contact-toast__close { border: 0; padding: 0; background: transparent; color: var(--muted); cursor: pointer; }
.contact-toast__message { margin: 0; color: var(--muted); line-height: 1.55; }
@media (max-width: 760px) {
  .contact-toast { right: 16px; bottom: 16px; }
  .catalog-pagination { gap: 10px; font-size: 12px; }
}
/* Cookie consent */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  padding: 0 0 max(16px, env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  pointer-events: none;
}
.cookie-consent.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-consent__inner {
  width: min(calc(100% - 80px), var(--content-shell));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}
.cookie-consent__text {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.cookie-consent__text a {
  color: inherit;
  font-weight: inherit;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--muted) 52%, transparent);
  text-underline-offset: 3px;
}
.cookie-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}
.cookie-consent__button {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.cookie-consent__button:hover {
  border-color: var(--muted);
  background: var(--surface-soft);
}
.cookie-consent__button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 24%, transparent);
  outline-offset: 2px;
}
.cookie-consent__button--primary {
  border-color: var(--text);
  background: var(--text);
  color: var(--surface);
}
.cookie-consent__button--primary:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--surface);
  opacity: .88;
}
@media (max-width: 720px) {
  .cookie-consent {
    padding-inline: 12px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  .cookie-consent__inner {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
  }
  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .cookie-consent__button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-consent {
    transition: none;
  }
}
