@font-face{font-family:'Ubuntu';font-style:normal;font-weight:400;font-display:swap;src:url('./ubuntu-latin-400.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+20AC,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Ubuntu';font-style:normal;font-weight:400;font-display:swap;src:url('./ubuntu-cyrillic-400.woff2') format('woff2');unicode-range:U+0400-052F,U+2116}
@font-face{font-family:'Ubuntu';font-style:normal;font-weight:700;font-display:swap;src:url('./ubuntu-latin-700.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+20AC,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Ubuntu';font-style:normal;font-weight:700;font-display:swap;src:url('./ubuntu-cyrillic-700.woff2') format('woff2');unicode-range:U+0400-052F,U+2116}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;font-display:swap;src:url('./open-sans-latin-400.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+20AC,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;font-display:swap;src:url('./open-sans-cyrillic-400.woff2') format('woff2');unicode-range:U+0400-052F,U+2116}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:600;font-display:swap;src:url('./open-sans-latin-600.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+20AC,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:600;font-display:swap;src:url('./open-sans-cyrillic-600.woff2') format('woff2');unicode-range:U+0400-052F,U+2116}
@font-face{font-family:FontAwesome;src:url("./icons.woff2") format("woff2");font-display:block}
[hidden]{display:none!important}
.banners-big .v2-hero .slides>li{float:none;width:100%;margin:0}
.banners-big .v2-hero .slides>li:not([hidden]){display:block}
.banners-big .v2-hero{position:relative}
.v2-hero .v2-dots{display:flex;position:absolute;bottom:12px;left:50%;transform:translateX(-50%);gap:9px;z-index:2}
.v2-hero .v2-dots button{width:11px;height:11px;border:1px solid #fff;border-radius:50%;background:#3339;padding:0}
.v2-hero .v2-dots button[aria-current=true]{background:#fff}
.v2-hero .v2-dir{position:absolute;z-index:2;top:50%;transform:translateY(-50%);border:0;border-radius:2px;color:#fff;background:#20202055;width:38px;height:44px;font-size:26px}
.v2-hero .v2-prev{left:12px}.v2-hero .v2-next{right:12px}
.v2-hero .v2-pause{position:absolute;z-index:2;right:16px;bottom:12px;color:#fff;border:1px solid #fff;background:#252525a6;border-radius:3px;padding:3px 9px}
.v2-hero .v2-dir:hover,.v2-hero .v2-pause:hover{background:#282828}
.v2-hero .slides>li{animation:v2-reveal .36s ease both}
@keyframes v2-reveal{from{opacity:.65}to{opacity:1}}
.v2-hero button:focus-visible,.js-tab-button:focus-visible{outline:2px solid #a32222;outline-offset:3px}
.v2-strip{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;gap:12px;padding-bottom:12px}
.v2-strip>.item{display:block;float:none;flex:0 0 calc((100% - 36px)/4);max-width:none;scroll-snap-align:start}
.v2-static-slides>li{display:block!important;float:none!important}
.v2-static-slides{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:10px}
.v2-static-slides>li img{max-width:100%;margin-inline:auto}
.v2-static-slides>li.col-md-1{width:auto!important}
.v2-search{padding:35px 15px 50px;min-height:360px}
.v2-search form>div{display:flex;gap:8px;max-width:520px}
.v2-search ul{margin-top:20px}
.v2-search output{margin-top:12px}
.v2-search li{margin-bottom:8px}
.v2-contacts{padding:14px 0}
@media(max-width:767px){.v2-hero .v2-dir{top:auto;bottom:8px;transform:none;height:30px;width:29px;font-size:19px}.v2-hero .v2-next{right:auto;left:46px}.v2-hero .v2-dots{gap:5px}.v2-strip>.item{flex-basis:calc((100% - 12px)/2)}.habitat-content-title{line-height:1.12}.v2-hero .slides>li{background-size:cover!important}.v2-search{padding-inline:18px}}
@media(prefers-reduced-motion:reduce){.rotating-habitat-image,.v2-hero .slides>li{animation:none!important}.v2-strip{scroll-behavior:auto}}
.v2-hero,.flexslider:has(.v2-static-slides){opacity:1!important}
.mega-menu table td{visibility:visible}
.v2-strip + .swiper-pagination{display:none}
.swiper-tab-wrapper .swiper-button-prev,.swiper-tab-wrapper .swiper-button-next{border:0;background-color:transparent}
.swiper-tab-wrapper .swiper-button-prev::after{content:"‹"}
.swiper-tab-wrapper .swiper-button-next::after{content:"›"}

.item-views.catalog.sections.front{display:block!important}
.mega-menu td:focus-within .dropdown-menu{display:block}

/* BioMedia review fixes */
header td:has(> .wrap > a[title*="<br>"][href$="/catalog/farmakologiya/"]),
header li:has(> a[title*="<br>"][href$="/catalog/farmakologiya/"]) {
  display: none;
}

.banners-small.front {
  padding-bottom: 24px;
}

.popular-products .tab-slider__button-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.popular-products .tab-slider__button-wrap .btn {
  margin: 0;
  white-space: normal;
}
.swiper-tab-wrapper .bm-carousel-controls,
.bm-news-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}
.bm-carousel-controls .btn,
.bm-news-controls .btn {
  min-width: 40px;
  min-height: 36px;
  padding: 4px 10px;
  font-size: 20px;
  line-height: 1;
}
.bm-news-controls .btn {
  flex: 0 0 40px;
  margin: 0;
}
.bm-news-controls output {
  min-width: 4ch;
  padding: 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.bm-license-table {
  overflow-x: auto;
  margin: 20px 0;
}
.bm-license-table table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
}
.bm-license-table :is(td, th) {
  padding: 9px 10px;
  border: 1px solid #dbe2e6;
  text-align: left;
  vertical-align: top;
}
.bm-license-table th {
  background: #edf2f4;
}
.bm-license-table tr:nth-child(even) {
  background: #f8fafb;
}
.bm-license-table :is(td, th):last-child {
  white-space: nowrap;
}
.bm-license-cards .item > .row {
  display: flex;
  align-items: center;
}
.bm-license-cards .image {
  text-align: center;
}
.bm-license-cards .image .bm-license-open {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #526977;
  color: white;
}
.bm-license-cards .image .bm-license-open:hover,
.bm-license-cards .image .bm-license-open:focus-visible {
  background: #a61b1b;
}
.bm-license-unavailable {
  color: #526977;
  font-size: 12px;
}

.bm-equal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 15px;
  margin: 0;
}
.bm-equal-grid::before,
.bm-equal-grid::after {
  display: none;
}
.bm-equal-grid > div {
  display: flex;
  float: none;
  width: auto;
  min-width: 0;
  padding: 0;
}
.bm-equal-grid > div > .item {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  margin: 0;
}
.bm-equal-grid .item > .image {
  display: grid;
  place-items: center;
  min-height: 160px;
}
.bm-equal-grid .image img {
  max-height: 160px;
  object-fit: contain;
}
.bm-equal-grid .item > .text {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.bm-equal-grid .foot {
  margin-top: auto;
}

.bm-news-gallery {
  max-width: 520px;
  margin: 20px auto;
}
.bm-news-gallery .bm-news-photo {
  display: grid;
  place-items: center;
  min-width: 0;
}
.bm-news-gallery img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 380px;
  object-fit: contain;
}
.bm-news-open {
  display: block;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.bm-photo-dialog.bm-news-viewer img {
  max-height: min(75vh, calc(100dvh - 145px));
}

.faq .accordion-head button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #a61b1b;
  text-align: left;
  text-decoration: underline dotted;
}
.faq .accordion-head button i {
  float: right;
}
.bm-hoodie-card {
  max-width: 295px;
}

@media (max-width: 991px) {
  .bm-equal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .bm-license-cards .item > .row { display: block; }
  .bm-license-cards .image { margin-bottom: 12px; }
}
@media (max-width: 480px) {
  .bm-equal-grid { grid-template-columns: minmax(0, 1fr); }
}

header.canfixed:not(.fixed) {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: #fff;
}
html {
  scroll-padding-top: 165px;
}
@media screen and (min-width: 768px) {
  header.canfixed:not(.fixed) {
    position: relative;
  }
  html.bm-compact-header {
    scroll-padding-top: 135px;
  }
  header.canfixed.fixed .logo_and_menu-row {
    height: auto;
    overflow: visible;
  }
  header.canfixed.fixed .logo_and_menu-row > .menu-row {
    display: block;
  }
  header.canfixed.fixed .mega-menu table {
    display: table !important;
  }
}
@media print {
  .bm-header-space { display: none; }
}

.bm-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}
.bm-category-grid::before,
.bm-category-grid::after {
  display: none;
}
.bm-category-grid > div {
  display: flex;
  float: none;
  width: auto;
  min-width: 0;
  padding: 0;
}
.bm-category-grid > div > a {
  display: flex;
  width: 100%;
  text-decoration: none;
}
.catalog.sections .bm-category-grid .item {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 14px;
  min-height: 100px;
  width: 100%;
  margin: 0;
  padding: 12px;
  border: 1px solid #e2e8eb;
}
.catalog.sections .bm-category-grid .item .image {
  display: grid;
  flex: 0 0 64px;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0;
  padding: 0;
  line-height: 1;
}
.catalog.sections .bm-category-grid .item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
.catalog.sections .bm-category-grid .item .info {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.bm-catalog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.bm-catalog-filter button {
  padding: 7px 12px;
  border: 1px solid #ae0d13;
  border-radius: 3px;
  background: #fff;
  color: #ae0d13;
}
.bm-catalog-filter button[aria-pressed="true"] {
  background: #ae0d13;
  color: #fff;
}

.bm-equal-grid .item > .image {
  height: 184px;
  min-height: 184px;
  padding: 12px;
}
[role="main"] .filter.bx_horizontal:not(:has(input, select, button, a[href])) {
  display: none;
}
.catalog.item-views.table .bm-equal-grid .item > .text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}
.catalog.item-views.table .bm-equal-grid .item > .text > .foot {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  width: 100%;
  max-width: none;
  margin: auto 0 0;
  padding-top: 8px;
}
.catalog.item-views.table .bm-equal-grid .foot > div:has(.btn) {
  display: flex;
  justify-content: flex-end;
  width: auto;
  max-width: 100%;
  margin-left: auto;
}
.catalog.item-views.table .bm-equal-grid .foot .btn {
  margin: 0;
  white-space: normal;
}
.bm-photo-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 145px;
  padding: 12px;
  background: #f2f5f6;
  border: 1px solid #e2e8eb;
  color: #50616a;
  text-align: center;
}
.catalog.detail .galery .bm-photo-placeholder {
  width: min(100%, 320px);
  min-height: 0;
  aspect-ratio: 1;
  margin-inline: auto;
}

.detail .galery #slider .bm-product-slides {
  display: block;
  margin: 0;
}
.detail .galery #slider .bm-product-slides > li {
  display: grid;
  place-items: center;
  width: 100%;
  float: none;
  min-height: 240px;
}
.detail .galery #slider .bm-product-slides img {
  max-height: 320px;
  width: auto;
  object-fit: contain;
}
.bm-photo-dialog {
  width: min(900px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  padding: 12px;
  border: 0;
  border-radius: 6px;
}
.bm-photo-dialog::backdrop {
  background: rgb(0 0 0 / 75%);
}
.bm-photo-dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 92px);
  margin: 0 auto;
  object-fit: contain;
}
.bm-photo-dialog .bm-photo-close {
  display: block;
  margin: 0 0 8px auto;
}
@media (max-width: 600px) {
  .bm-category-grid { grid-template-columns: minmax(0, 1fr); }
}

.bm-contact-map img {
  display: block;
  width: 100%;
  max-width: 650px;
  height: auto;
  margin-bottom: 8px;
  border: 1px solid #dce2e6;
  border-radius: 6px;
}
.bm-contact-map a { display: block; }
.bm-contact-request {
  max-width: 670px;
  margin: 0 auto;
}
.bm-contact-request h2, .bm-request-dialog h2 { margin-top: 0; }
.bm-request-dialog {
  width: min(480px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: clamp(18px, 4vw, 32px);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgb(0 0 0 / 22%);
}
.bm-request-dialog::backdrop { background: rgb(20 12 12 / 62%); }
.bm-request-dialog h2 { padding-right: 30px; }
.bm-request-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 4px;
  background: #f4eeee;
  color: #8d1818;
  font-size: 24px;
}
.bm-request-form {
  display: grid;
  gap: 13px;
  justify-items: start;
}
.bm-request-form > label {
  width: 100%;
  margin: 0;
  font-weight: 600;
}
.bm-request-form label > input:not([type="checkbox"]),
.bm-request-form textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-top: 5px;
  padding: 8px 11px;
  border: 1px solid #bcc5cb;
  border-radius: 4px;
  background: #fff;
  color: #252525;
  font: inherit;
  font-weight: 400;
}
.bm-request-form textarea { min-height: 88px; resize: vertical; }
.bm-request-form .bm-request-consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-weight: 400;
}
.bm-request-consent input { flex: none; accent-color: #991919; }
.bm-request-status { margin: 0; }
.bm-request-status:empty { display: none; }
.bm-field-error {
  display: block;
  margin-top: 4px;
  color: #991919;
  font-size: 13px;
  font-weight: 400;
}
.bm-field-error:empty { margin: 0; }
.bm-request-form [aria-invalid="true"] { outline: 1px solid #991919; }
@media (max-width: 767px) {
  header.canfixed .logo-row { height: auto; min-height: 102px; }
  .logo-row .bm-header-callback { margin: 2px 0 8px; }
}

.bm-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 14px 0 26px;
  border: 1px solid #dce2e6;
  border-radius: 6px;
}
.catalog.detail table.bm-product-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  background: #fff;
  color: #25292c;
  font-size: 14px;
  line-height: 1.45;
}
.catalog.detail table.bm-product-table :is(th, td) {
  padding: 10px 13px;
  border: 1px solid #e1e6ea;
  vertical-align: middle;
  text-align: left;
}
.catalog.detail table.bm-product-table :is(th, td) p { margin: 0 0 5px; }
.catalog.detail table.bm-product-table :is(th, td) p:last-child { margin-bottom: 0; }
.catalog.detail table.bm-product-table:not(.props_table) tr:first-child > :is(th, td) {
  background: #f4eaea;
  color: #731919;
  font-weight: 700;
}
.catalog.detail table.bm-product-table tr:nth-child(even) > td { background: #f7f8f9; }
.bm-editorial-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 24px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid #e5e8ea;
}
.bm-editorial-card > .bm-editorial-copy:only-child { grid-column: 1 / -1; }
.bm-editorial-card h2 { font-size: 18px; line-height: 1.35; margin: 0 0 8px; }
.bm-editorial-card p { margin: 0 0 12px; }
.bm-editorial-card .bm-editorial-date { color: #525f69; font-size: 13px; }
.bm-editorial-image { display: block; min-width: 0; }
.bm-editorial-image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 5px;
}
.news.front .bm-editorial-feature:has(.bm-editorial-image) {
  display: grid;
  grid-template-columns: minmax(80px, 28%) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.news.front .bm-editorial-feature > .info { margin: 0; padding: 0; }
.bm-editorial-summary { margin: 6px 0 0; }
.bm-editorial-cover { margin: 14px 0 22px; }
.bm-editorial-cover img { display: block; width: 100%; max-width: 720px; height: auto; border-radius: 5px; }
.detail.news {
  max-width: 790px;
}
.detail.news > .content {
  color: #30373c;
  font-size: clamp(16px, 1.1vw, 17px);
  line-height: 1.72;
  overflow-wrap: anywhere;
}
.detail.news > .content :is(p, ul, ol, blockquote) {
  margin-block: 0 1em;
}
.detail.news > .content :is(h2, h3, h4) {
  margin-block: 1.35em .55em;
  line-height: 1.3;
  color: #25292c;
}
.detail.news > .content h2 { font-size: clamp(21px, 2vw, 27px); }
.detail.news > .content h3 { font-size: clamp(19px, 1.6vw, 23px); }
.detail.news > .content h4 { font-size: 18px; }
.detail.news > .content li + li { margin-top: .35em; }
.detail.news > .content img { max-width: 100%; height: auto; }
.detail.news > .content a { text-decoration: underline; text-underline-offset: .15em; }
.detail.news > .content > table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  margin-block: 1em;
}
.detail.news > .period { color: #525f69; margin-bottom: 12px; }
.bm-editorial-card .bm-editorial-summary { line-height: 1.6; }
@media (max-width: 767px) {
  .bm-editorial-card { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px 0; }
  .detail.news > .content { line-height: 1.62; }
}
.bm-static-news-gallery,
.bm-news-gallery.bm-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: none;
  margin: 24px 0;
}
.bm-static-news-gallery a,
.bm-news-grid .bm-news-open { width: 100%; }
.bm-static-news-gallery img,
.bm-news-gallery.bm-news-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 5px;
}
.bm-news-grid .bm-news-photo { display: block; }
@media (max-width: 600px) {
  .bm-static-news-gallery,
  .bm-news-gallery.bm-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

/* Shared keyboard and touch affordances. */
:where(a, button, input, textarea, select):focus-visible { outline: 2px solid #991919; outline-offset: 3px; }
.bm-form-hint { margin: 0; color: #555; font-size: 13px; font-weight: 400; line-height: 1.5; }
.bm-request-form button:disabled { opacity: .65; cursor: default; }
.bm-request-form input:not([type="checkbox"]), .bm-request-form textarea { font-size: 16px; min-height: 44px; }
.bm-request-form .btn, .bm-news-controls .btn { min-width: 44px; min-height: 44px; }
.bm-request-consent input { width: 18px; height: 18px; margin-top: 2px; }

@media (max-width: 767px) {
  .styled-block.bm-contact-form-block { padding: 25px 20px; }
  .bm-contact-form-block .maxwidth-theme, .bm-contact-form-block .col-md-12 { padding: 0; width: 100%; }
}
