/* Индексируемые статические страницы site-v068. */
.seo-page {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 106, 0, .08), transparent 30rem),
    var(--bg);
}

.seo-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.seo-header__inner {
  position: relative;
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(170px, auto) minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
}

.seo-header__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px 24px;
  color: var(--muted);
  font-size: 14px;
}

.seo-header__nav a:hover,
.seo-header__nav a:focus-visible { color: var(--orange); }
.seo-nav-toggle {
  display: none;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.seo-nav-toggle:hover,
.seo-nav-toggle:focus-visible { border-color: var(--orange); outline: none; }
.seo-nav-toggle[aria-expanded="true"] { font-size: 20px; line-height: 1; }
.seo-header__more {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 70;
  width: min(300px, calc(100vw - 32px));
  display: none;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-elev);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}
.seo-header__more.is-open { display: grid; }
.seo-header__more a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
}
.seo-header__more a:hover,
.seo-header__more a:focus-visible { background: var(--orange-dim); outline: none; }
.seo-theme-toggle { grid-column: 4; justify-self: end; }

.seo-hero {
  padding: clamp(44px, 7vw, 92px) 0 clamp(36px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.seo-hero h1,
.seo-product-info h1,
.seo-article h1 {
  margin: 10px 0 18px;
  max-width: 1000px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.seo-lead {
  max-width: 880px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.seo-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 9px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
}

.seo-breadcrumbs a:hover { color: var(--orange); }
.seo-breadcrumbs [aria-current="page"] { color: var(--text); }

.seo-section { padding: clamp(48px, 6vw, 84px) 0; }
.seo-section--alt { background: var(--bg-elev); border-block: 1px solid var(--line); }

.seo-category-grid,
.seo-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.seo-category-card,
.seo-guide-card,
.seo-copy-grid > article,
.seo-quality-grid > article {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-card);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .08);
}

.seo-category-card h2,
.seo-guide-card h2,
.seo-copy-grid h2,
.seo-quality-grid h2 {
  margin: 8px 0 12px;
  line-height: 1.18;
}

.seo-category-card h2 a:hover,
.seo-guide-card h2 a:hover { color: var(--orange); }
.seo-category-card p,
.seo-guide-card p,
.seo-copy-grid p,
.seo-quality-grid p { color: var(--muted); }

.seo-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.seo-chip-row a {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elev);
  color: var(--muted);
  font-size: 13px;
}

.seo-chip-row a:hover,
.seo-chip-row a.is-active { border-color: var(--orange); color: var(--text); background: var(--orange-dim); }

.seo-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.seo-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-card);
  transition: border-color .18s ease, transform .18s ease;
}

.seo-product-card:hover { border-color: rgba(255, 106, 0, .65); transform: translateY(-2px); }
.seo-product-card__image { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #fff; }
.seo-product-card__image img { width: 100%; height: 100%; object-fit: cover; }
.seo-product-card__image > span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(11, 13, 16, .82);
  color: #fff;
  font-size: 12px;
}

.seo-product-card__body { padding: 16px; }
.seo-product-card__body h2 { margin: 5px 0 8px; font-size: 18px; line-height: 1.2; }
.seo-product-card__body h2 a:hover { color: var(--orange); }
.seo-product-card__body > p:not(.eyebrow) { min-height: 42px; margin: 0; color: var(--muted); font-size: 13px; }
.seo-product-card__meta { margin-top: 14px; display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); }
.seo-product-grid--related { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.seo-product-grid--related .seo-product-card__body h2 { font-size: 15px; }

.seo-callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 106, 0, .45);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--orange-dim), var(--bg-card));
}
.seo-callout h2 { margin: 6px 0 8px; }
.seo-callout p { margin: 0; color: var(--muted); }

.seo-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.seo-copy-grid ul,
.seo-copy-grid ol { padding-left: 22px; color: var(--muted); }
.seo-copy-grid li + li { margin-top: 8px; }

.seo-product-page { padding: 30px 0 clamp(56px, 7vw, 94px); }
.seo-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.seo-gallery__main { overflow: hidden; aspect-ratio: 1; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.seo-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.seo-gallery__thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.seo-gallery__thumb { min-width: 0; padding: 0; overflow: hidden; aspect-ratio: 1; border: 2px solid transparent; border-radius: 10px; background: #fff; cursor: pointer; }
.seo-gallery__thumb.is-active { border-color: var(--orange); }
.seo-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.seo-gallery > .muted { font-size: 12px; }

.seo-product-info { position: sticky; top: 100px; }
.seo-product-info h1 { font-size: clamp(30px, 4vw, 52px); }
.seo-product-status { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-block: 1px solid var(--line); }
.seo-specs { margin: 22px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.seo-specs > div { min-width: 0; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.seo-specs > div:nth-child(odd) { border-right: 1px solid var(--line); }
.seo-specs > div:nth-last-child(-n + 2) { border-bottom: 0; }
.seo-specs dt { color: var(--muted); font-size: 12px; }
.seo-specs dd { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.seo-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.seo-product-note { padding: 14px; border-left: 3px solid var(--orange); background: var(--orange-dim); color: var(--muted); font-size: 13px; }

.seo-article { padding: 30px 0 clamp(64px, 8vw, 110px); }
.seo-article__container { max-width: 940px; }
.seo-article header { padding: clamp(24px, 5vw, 60px) 0; border-bottom: 1px solid var(--line); }
.seo-byline { margin-top: 18px; color: var(--muted); font-size: 13px; }
.seo-article__content { max-width: 760px; padding-top: 30px; font-size: 17px; line-height: 1.75; }
.seo-article__content section { margin: 0 0 42px; }
.seo-article__content h2 { margin: 0 0 14px; font-size: clamp(24px, 3vw, 34px); line-height: 1.18; }
.seo-article__content p,
.seo-article__content li { color: var(--muted); }
.seo-article__content ul,
.seo-article__content ol { padding-left: 24px; }
.seo-article__note { margin: 42px 0; padding: 22px; border: 1px solid rgba(255, 106, 0, .5); border-radius: 14px; background: var(--orange-dim); }
.seo-article__note p { margin-bottom: 0; }

.seo-quality-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.seo-quality-grid article > span { color: var(--orange); font-size: 13px; font-weight: 800; }
.seo-quality-grid h2 { font-size: 19px; }

.seo-footer { border-top: 1px solid var(--line); }
.seo-footer__grid { display: grid; grid-template-columns: 1fr auto minmax(220px, .7fr); align-items: start; gap: 30px; padding-block: 34px; }
.seo-footer__grid p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.seo-footer nav { display: grid; gap: 8px; color: var(--muted); font-size: 13px; }
.seo-footer nav a:hover { color: var(--orange); }
.seo-footer__note { text-align: right; }

@media (max-width: 1100px) {
  .seo-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seo-product-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seo-quality-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seo-header__nav { gap: 8px 14px; }
}

@media (max-width: 820px) {
  .seo-header__inner { grid-template-columns: 1fr auto; gap: 10px; padding-block: 8px; }
  .seo-header__nav { grid-column: 1 / -1; order: 3; justify-content: flex-start; overflow-x: auto; padding-bottom: 8px; white-space: nowrap; }
  .seo-theme-toggle .theme-toggle__label { display: none; }
  .seo-product-layout { grid-template-columns: 1fr; }
  .seo-product-info { position: static; }
  .seo-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-category-grid,
  .seo-guide-grid,
  .seo-copy-grid { grid-template-columns: 1fr; }
  .seo-quality-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-callout { align-items: flex-start; flex-direction: column; }
  .seo-footer__grid { grid-template-columns: 1fr 1fr; }
  .seo-footer__note { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 520px) {
  .seo-header .logo__full { max-width: 190px; height: 42px; }
  .seo-hero h1,
  .seo-article h1 { font-size: 36px; }
  .seo-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .seo-product-card__body { padding: 11px; }
  .seo-product-card__body h2 { font-size: 14px; }
  .seo-product-card__body .eyebrow { font-size: 9px; }
  .seo-product-card__meta { align-items: flex-start; flex-direction: column; }
  .seo-quality-grid { grid-template-columns: 1fr; }
  .seo-specs { grid-template-columns: 1fr; }
  .seo-specs > div,
  .seo-specs > div:nth-child(odd),
  .seo-specs > div:nth-last-child(-n + 2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .seo-specs > div:last-child { border-bottom: 0; }
  .seo-gallery__thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .seo-actions .btn { flex: 1 1 100%; }
  .seo-footer__grid { grid-template-columns: 1fr; }
}

/* GBUILD-0075: the static catalogue and product pages use the same
   progressively revealed navigation as the main catalogue. */
@media (max-width: 1180px) {
  .seo-header__inner {
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr) auto auto;
    gap: 8px 10px;
    padding-block: 7px;
  }
  .seo-header .logo {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    overflow: hidden;
  }
  .seo-header .logo__full {
    width: auto;
    height: 46px;
    max-width: 100%;
  }
  .seo-header__nav {
    grid-column: 2;
    grid-row: 1;
    order: initial;
    justify-content: flex-end;
    gap: 4px 16px;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    white-space: nowrap;
  }
  .seo-header__nav a { display: none; }
  .seo-nav-toggle {
    grid-column: 3;
    grid-row: 1;
    display: inline-flex;
  }
  .seo-theme-toggle {
    grid-column: 4;
    grid-row: 1;
  }
  .seo-theme-toggle .theme-toggle__label { display: none; }
}

/* GBUILD-0083: индексируемые страницы направлений под заказ. */
.seo-direction-page .seo-gallery__main {
  display: grid;
  place-items: center;
  background: #0d141d;
}
.seo-direction-page .seo-gallery__main img {
  object-fit: contain;
}
.seo-direction-page .seo-product-info h1 {
  font-size: clamp(30px, 3.6vw, 50px);
}
.seo-direction-page .seo-product-status .product__status {
  flex: 0 0 auto;
}
.seo-direction-page .seo-product-status strong {
  text-align: right;
}
.seo-direction-page .seo-direction-summary {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.6;
}
.seo-direction-page .seo-copy-grid strong {
  color: var(--text);
}

@media (max-width: 520px) {
  .seo-direction-page .seo-product-status {
    align-items: flex-start;
    flex-direction: column;
  }
  .seo-direction-page .seo-product-status strong {
    text-align: left;
  }
}

@media (min-width: 1001px) and (max-width: 1180px) {
  .seo-header__nav [data-seo-nav-priority="1"],
  .seo-header__nav [data-seo-nav-priority="2"],
  .seo-header__nav [data-seo-nav-priority="3"],
  .seo-header__nav [data-seo-nav-priority="4"] { display: inline-flex; }
}

@media (min-width: 821px) and (max-width: 1000px) {
  .seo-header__nav [data-seo-nav-priority="1"],
  .seo-header__nav [data-seo-nav-priority="2"] { display: inline-flex; }
}

@media (max-width: 820px) {
  .seo-header__nav [data-seo-nav-priority="1"] { display: inline-flex; }
}

@media (max-width: 680px) {
  .seo-header__inner {
    min-height: 62px;
    grid-template-columns: minmax(92px, auto) minmax(0, 1fr) auto auto;
    gap: 6px;
  }
  .seo-header .logo__full {
    height: 40px;
    max-width: min(170px, 32vw);
  }
  .seo-header__nav {
    gap: 0;
    font-size: 12px;
  }
  .seo-header__nav a {
    min-height: 34px;
    align-items: center;
    padding: 7px 4px;
  }
  .seo-nav-toggle { min-height: 34px; padding-inline: 8px; }
  .seo-theme-toggle { padding-right: 6px; }
}

/* GBUILD-0082: return links on control product pages only */
.seo-backlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid var(--line, #d8dde6);
  border-radius: 12px;
  background: var(--bg-elev, #f6f7f9);
}
html[data-theme="dark"] .seo-backlinks {
  background: var(--bg-elev, #1a1f27);
  border-color: var(--line, #2c3440);
}
.seo-backlinks a {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange, #ff6a00);
  text-decoration: none;
}
.seo-backlinks a:hover,
.seo-backlinks a:focus-visible {
  text-decoration: underline;
}
@media (max-width: 480px) {
  .seo-backlinks {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
