/* Bootstrap 5 + фирменные цвета novodez.ru. Цвет раздела задаётся переменными --sec / --sec-on. */
:root {
  --ink: #00183f;
  --brand: #4584b1;
  --line: #dde3ea;
  --bg: #f4f6f9;
  --r: .5rem;
  --sec: var(--brand);
  --sec-on: var(--ink);
  --bs-body-font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-body-color: #1b2430;
  --bs-link-color: #0b5aa6;
  --bs-link-hover-color: #083f75;
  --bs-link-color-rgb: 11, 90, 166;
  --bs-link-hover-color-rgb: 8, 63, 117
}

html {
  height: 100%
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column
}

main {
  flex: 1 0 auto
}

.muted {
  color: #46515f
}

h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -.01em
}

h1 {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  line-height: 1.2
}

:focus-visible {
  outline: 3px solid #0b5aa6;
  outline-offset: 2px
}

.site-head {
  background: #fff;
  border-bottom: 3px solid var(--brand);
  position: sticky;
  top: 0;
  z-index: 1030
}

.navbar .nav-link {
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--ink)
}

.navbar .nav-link.active {
  box-shadow: inset 0 -3px var(--brand)
}

.search-mini {
  flex: 0 1 17rem
}

@media (max-width:991.98px) {
  .search-mini {
    margin: .5rem 0
  }
}

.lang {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  padding: .3rem .6rem
}

.btn-brand {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--ink);
  font-weight: 600
}

.btn-brand:hover,
.btn-brand:focus {
  background: #285575;
  border-color: #285575;
  color: var(--ink)
}

.form-control {
  border-radius: var(--r)
}

/* главная */
.hero {
  background: var(--bg);
  padding: 2.5rem 0 3rem
}

.lead-text {
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 1rem 0 1.5rem
}

.hero-search {
  max-width: 36rem
}

.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem
}

.tiles-3 {
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr))
}

.tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 10rem;
  padding: 1rem 1.1rem;
  border-radius: var(--r);
  background: var(--sec);
  color: var(--sec-on);
  text-decoration: none
}

.tile::after {
  content: "";
  position: absolute;
  top: .85rem;
  right: .95rem;
  width: 4rem;
  height: 4rem;
  background: var(--icon, none) center/contain no-repeat;
  opacity: .95;
  pointer-events: none
}

.tile:hover {
  color: var(--sec-on);
  filter: brightness(.94)
}

.tile-name {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2
}

.tile-n {
  font-size: .88rem
}

.prose>* {
  max-width: 75ch
}

.video-wrap video {
  background: #000
}

.prose>.video-wrap {
  max-width: 64rem;
  margin: 1.5rem 0
}

.prose>img {
  max-width: min(100%, 75ch);
  height: auto
}

.prose p,
.prose li {
  line-height: 1.6
}

.prose h2 {
  font-size: 1.35rem;
  margin-top: 1.6rem
}

/* раздел */
.catband {
  background: var(--sec);
  color: var(--sec-on);
  padding: 1.5rem 0 1.75rem
}

.catband h1 {
  color: var(--sec-on);
  margin: .5rem 0 1rem
}

.crumbs {
  font-size: .9rem
}

.crumbs a {
  color: inherit
}

.crumbs.on-white {
  color: #4a5563;
  margin-bottom: 1rem
}

.crumbs.on-white a {
  color: #0b5aa6
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem
}

.pill {
  display: inline-block;
  border: 1.5px solid currentColor;
  border-radius: 2rem;
  padding: .25rem .85rem;
  color: inherit;
  text-decoration: none;
  background: transparent;
  font: inherit;
  cursor: pointer
}

.pill:hover,
.pill.active {
  background: var(--sec-on);
  border-color: var(--sec-on);
  color: var(--sec)
}

.pills.on-white .pill {
  color: var(--ink);
  border-color: var(--line)
}

.pills.on-white .pill:hover,
.pills.on-white .pill.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff
}

.pill small {
  opacity: 1;
  margin-left: .2rem
}

.dot {
  display: inline-block;
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  margin-right: .4rem;
  background: var(--c)
}

/* карточка товара */
.pcard {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--sec);
  border-radius: var(--r);
  overflow: hidden;
  color: inherit;
  text-decoration: none
}

.pcard:hover {
  border-color: var(--sec);
  color: inherit
}

.pcard-img {
  flex: none;
  height: 11rem;
  padding: .75rem
}

.pcard-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain
}

.pcard-body {
  padding: .25rem 1rem 1rem
}

.pcard h3 {
  font-size: 1.02rem;
  margin: 0 0 .35rem
}

.pcard p {
  margin: 0;
  font-size: .9rem;
  color: #46515f;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.badge-new {
  font-size: .7rem;
  font-weight: 600;
  background: var(--sec);
  color: var(--sec-on);
  padding: .1rem .45rem;
  border-radius: .25rem;
  vertical-align: middle
}

/* страница товара */
.pshot {
  border: 1px solid var(--line);
  border-top: 4px solid var(--sec);
  border-radius: var(--r);
  padding: 1rem;
  display: grid;
  place-items: center;
  background: #fff
}

.pshot img {
  max-width: 100%
}

.pdetail h2 {
  font-size: 1.1rem;
  border-left: 4px solid var(--sec);
  padding-left: .65rem;
  margin: 1.75rem 0 .6rem
}

.doclist li {
  margin-bottom: .4rem
}

.doclist a::before {
  content: "PDF";
  display: inline-block;
  margin-right: .6rem;
  padding: .05rem .4rem;
  border-radius: .25rem;
  background: var(--ink);
  color: #fff;
  font-size: .72rem;
  font-weight: 600
}

.newscard {
  display: block;
  height: 100%;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--r);
  color: inherit;
  text-decoration: none
}

.newscard:hover {
  border-color: var(--brand);
  color: inherit
}

.newscard time {
  font-size: .85rem;
  color: #46515f
}

.newscard h2 {
  font-size: 1.1rem;
  margin: .2rem 0 .4rem
}

.newscard p {
  margin: 0;
  color: #46515f
}

.contact-dl dt {
  font-weight: 600;
  color: var(--ink);
  margin-top: 1rem
}

.contact-dl dd {
  margin: 0
}

.site-foot {
  flex: none;
  background: var(--ink);
  color: #e6ecf5;
  padding: 2rem 0;
  margin-top: 2rem
}

.site-foot a {
  color: #fff
}

.site-foot address {
  margin-top: .5rem;
  font-style: normal
}

.foot-cert {
  background: #fff;
  border-radius: .25rem;
  padding: .2rem
}

@media (max-width:575.98px) {
  .tiles {
    grid-template-columns: 1fr
  }

  .tile {
    min-height: 6rem
  }

  .tile {
    padding-right: 4.6rem
  }

  .tile::after {
    top: 50%;
    transform: translateY(-50%);
    width: 3.4rem;
    height: 3.4rem;
    right: .75rem
  }
}

.site-copy {
  flex: none;
  background: #000f28;
  color: #c9d3e3;
  text-align: center;
  padding: .8rem 1rem;
  font-size: .9rem
}

.map-wrap {
  max-width: 100%;
  overflow-x: auto
}

.doc-nav {
  padding-left: 1.1rem;
  margin-bottom: 1.5rem
}

.doc-nav li {
  margin-bottom: .25rem
}

.doc-group h2 {
  font-size: 1.25rem;
  margin: 2rem 0 .75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line)
}

.doc-code {
  white-space: nowrap;
  font-weight: 600;
  width: 1%;
  padding-right: 1.25rem
}

.doc-dl {
  text-align: right;
  white-space: nowrap;
  width: 1%
}

@media (min-width:768px) {
  .doc-group .table {
    table-layout: fixed
  }

  .doc-code {
    width: 12.5rem;
    white-space: normal
  }

  .doc-dl {
    width: 6rem
  }
}

@media (min-width:992px) and (max-width:1199.98px) {
  .tile::after {
    width: 3.4rem;
    height: 3.4rem
  }
}