.font-montserrat {
  font-family: var(--font-display);
}

body.no-scroll {
  overflow: hidden;
}

.middle {
  margin: 0 auto;
  padding: 0 25px;
  width: 100%;
  max-width: 1380px;
  min-height: 100%;
  padding-bottom: 25px;
}

.middle,
.modal {
  font: 15px/1.6em 'Open Sans', sans-serif;
  color: #383532;

  h1 {
    font-size: 2em;
    margin: 0.67em 0;
  }

  abbr[title] {
    border-bottom: none;
  }

  b,
  strong {
    font-weight: bold;
  }

  dfn {
    font-style: italic;
  }

  hr {
    box-sizing: content-box;
    height: 0;
  }

  mark {
    background: #ff0;
    color: #000;
  }

  code,
  kbd,
  pre,
  samp {
    font-family: monospace, serif;
    font-size: 16px;
  }

  pre {
    white-space: pre-wrap;
  }

  q {
    quotes: '\201C''\201D''\2018''\2019';
  }

  small {
    font-size: 80%;
  }

  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }

  sup {
    top: -0.5em;
  }

  sub {
    bottom: -0.25em;
  }

  img {
    border: 0;
  }

  svg:not(:root) {
    overflow: hidden;
  }

  figure {
    margin: 0;
  }

  fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
  }

  legend {
    border: 0;
    padding: 0;
  }

  button,
  input,
  select,
  textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
  }

  button,
  input {
    line-height: normal;
  }

  button,
  select {
    text-transform: none;
  }

  button,
  html input[type='button'],
  input[type='reset'],
  input[type='submit'] {
    -webkit-appearance: button;
    cursor: pointer;
  }

  button[disabled],
  html input[disabled] {
    cursor: default;
  }

  input[type='checkbox'],
  input[type='radio'] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
  }

  input[type='search'] {
    box-sizing: content-box;
  }

  input::-webkit-search-cancel-button,
  input::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  button::-moz-focus-inner,
  input::-moz-focus-inner {
    border: 0;
    padding: 0;
  }

  textarea {
    overflow: auto;
    vertical-align: top;
  }

  table {
    border-collapse: collapse;
    border-spacing: 0;
  }
  .rub {
    font-family: 'Roboto', sans-serif;
  }

  article,
  aside,
  details,
  figcaption,
  figure,
  hgroup,
  nav,
  section,
  summary {
    display: block;
  }

  .content--mainpage {
    font: 17px/140% 'Open Sans', sans-serif;
  }

  .clear {
    clear: both;
  }

  h1 {
    margin: 0 0 20px;
    font: 26px/110% 'Open Sans', sans-serif;
    text-align: center;
  }

  h2 {
    margin: 0 0 19px;
    font: 20px/1.2em 'Open Sans', sans-serif;
  }

  h3 {
    margin: 0 0 15px;
    font: 14px/110% 'Open Sans', sans-serif;
    color: #7d7d7d;
  }
  h1,
  h2,
  h3 {
    text-transform: uppercase;
  }

  .content {
    padding: 0;
  }
  .content--about h1 {
    margin: 0 0 15px;
    font: 24px/100% 'Open Sans', sans-serif;
    text-transform: none;
    text-align: left;
  }

  p {
    margin: 0 0 1em;
  }
  p img {
    display: block;
    margin: 0 0 1em;
  }
  img[style='float: left;'],
  img[align='left'] {
    margin: 0 20px 20px 0;
  }
  img[style='float: right;'],
  img[align='right'] {
    margin: 0 0 20px 20px;
  }
  @media (max-width: 700px) {
    img[style='float: left;'],
    img[align='left'],
    img[style='float: right;'],
    img[align='right'] {
      float: none;
      margin: 0 0 1em 0;
      display: block;
    }
  }

  table {
    margin: 0 0 25px;
    width: 100%;
    color: #7d7d7d;
    text-align: center;
  }

  th,
  td {
    vertical-align: top;
  }
  th:first-child,
  td:first-child {
    text-align: left;
  }

  th {
    padding: 10px 14px;
    border-bottom: 2px solid black;
  }
  th:first-child {
    padding: 10px 14px 10px 0;
  }

  td {
    padding: 14px;
    border-bottom: 1px solid #e2e2e2;
  }
  td:first-child {
    padding: 14px 14px 14px 0;
  }

  hr {
    margin: 0 0 1em 0;
    height: 1px;
    background: #f0f0f0;
    border: none;
  }

  ul,
  ol {
    margin: 0 0 25px 0;
    padding: 0 0 0 20px;
    text-align: left;
    list-style: none;
    overflow: hidden;
  }

  ul li {
    position: relative;
  }
  ul li + li {
    margin: 10px 0 0;
  }
  ul li:before {
    content: '';
    position: absolute;
    top: 10px;
    left: -17px;
    width: 6px;
    height: 6px;
    background: #7d7d7d;
    border-radius: 100%;
  }

  ol {
    counter-reset: li;
  }
  ol li {
    position: relative;
  }
  ol li + li {
    margin-top: 10px;
  }
  ol li:before {
    content: counter(li) '.';
    counter-increment: li;
    position: absolute;
    top: 0;
    left: -17px;
    color: #7d7d7d;
  }

  a {
    color: #dc3939;
    text-decoration: none;
  }
  a:hover,
  a:active,
  a:focus {
    text-decoration: none;
  }
  a:hover {
    color: #f07474;
  }

  img {
    max-width: 100%;
    vertical-align: bottom;
  }

  button {
    display: block;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
  }

  .disable-hover,
  .disable-hover * {
    pointer-events: none !important;
  }

  .category-heading {
    margin: 0 0 40px;
    text-align: center;
    overflow: hidden;
  }
  .category-heading--catalog {
    margin: 0 0 10px;
  }
  .category-heading__name {
    position: relative;
    display: inline-block;
    font: 26px/100% 'Open Sans', sans-serif;
    text-transform: uppercase;
  }
  .category-heading__name {
    position: relative;
    display: inline-block;
    font: 26px/100% 'Open Sans', sans-serif;
    text-transform: uppercase;
  }
  .category-heading__name:before,
  .category-heading__name:after {
    content: '';
    position: absolute;
    top: 50%;
    margin-top: -1px;
    width: 500px;
    height: 1px;
    background: #f0f0f0;
  }
  .category-heading__name:before {
    left: -522px;
  }
  .category-heading__name:after {
    right: -522px;
  }
  @media (max-width: 600px) {
    .category-heading {
      margin-bottom: 14px;
    }
  }

  .image-section {
    margin: 30px -5px 40px;
    font-size: 0;
  }
  .image-section img {
    display: inline-block;
    margin: 0 5px 10px;
  }
  .image-section p {
    margin: 5px 0 0;
    font: bold 14px/110% 'Open Sans', sans-serif;
    text-align: center;
  }

  .persons {
    display: table;
    margin: 40px 0;
    width: 100%;
  }
  .persons__item {
    display: table-cell;
    text-align: center;
  }
  .persons__image {
    margin: 0 auto 20px;
    display: block;
  }
  .persons__title {
    margin: 0 0 2px;
    font: bold 14px/130% 'Open Sans', sans-serif;
  }
  .persons__desc {
    font: 14px/130% 'Open Sans', sans-serif;
  }

  .sidebar {
    float: left;
    position: relative;
    top: 76px;
    margin-left: -100%;
    width: 170px;
    margin-bottom: 60px;
  }
  .sidebar--top {
    top: 0;
  }

  .scroll-anim {
    transform: scaleY(0.95);
    transform-origin: 50% 100%;
    opacity: 0;
    filter: alpha(opacity=0);
  }

  .scroll-anim-active {
    transform: scaleY(1);
    opacity: 1;
    filter: alpha(opacity=100);
  }

  .scroll-anim-transition {
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0s;
    transition-property: transform, opacity;
  }

  .form__success {
    display: none;
    text-align: center;
  }

  .form__success-heading {
    margin-bottom: 15px;
    font: 18px/100% 'Open Sans', sans-serif;
    color: black;
  }

  .form--success .form__content {
    display: none;
  }

  .form--success .form__success {
    display: block;
  }

  .form__field {
    position: relative;
    display: block;
    width: 320px;
    margin: 0 0 19px;
  }

  .form__field.wishes {
    width: 0px;
    height: 0px;
    overflow: hidden;
  }

  .form__desc {
    margin: 0 0 6px;
    font: 12px/100% 'Open Sans', sans-serif;
    color: #7d7d7d;
  }
  .form__desc i {
    color: #fe3106;
  }

  .form input[type='text'],
  .form input[type='email'],
  .form input[type='password'],
  .form textarea {
    width: 100%;
    color: #7d7d7d;
    background: #f4f4f4;
    border: 1px solid #f4f4f4;
    transition: border-color 0.3s ease, background-color 0.3s ease;
  }
  .form input[type='text']:hover,
  .form input[type='email']:hover,
  .form input[type='password']:hover,
  .form textarea:hover {
    border: 1px solid #e3e3e3;
  }
  .form input[type='text'].error,
  .form input[type='email'].error,
  .form input[type='password'].error,
  .form textarea.error {
    border: 1px solid #f1adad;
  }
  .form input[type='text']:focus,
  .form input[type='email']:focus,
  .form input[type='password']:focus,
  .form textarea:focus {
    background: white;
    border: 1px solid #e3e3e3;
  }

  .form input[type='text'],
  .form input[type='email'],
  .form input[type='password'] {
    padding: 0 9px;
    height: 34px;
    font: 16px/32px 'Open Sans', sans-serif;
  }

  .form textarea {
    padding: 9px;
    height: 150px;
    font: 16px/120% 'Open Sans', sans-serif;
    resize: none;
  }

  .form__checkbox,
  .form__radio {
    position: relative;
    display: block;
    padding: 0 0 0 40px;
    font: 15px/120% 'Open Sans', sans-serif;
    color: #6e6e6e;
    cursor: pointer;
  }
  .form__checkbox + .form__checkbox,
  .form__radio + .form__checkbox,
  .form__checkbox + .form__radio,
  .form__radio + .form__radio {
    margin: 15px 0 0;
  }
  .form__checkbox:before,
  .form__checkbox:after,
  .form__radio:before,
  .form__radio:after {
    content: '';
    position: absolute;
  }
  .form__checkbox:before,
  .form__radio:before {
    top: 0;
    left: 0;
    width: 33px;
    height: 30px;
    background: white;
    border: 1px solid #949494;
  }
  .form__checkbox:after,
  .form__radio:after {
    display: none;
    top: -9px;
    left: 2px;
    background-image: url(/local/static/build/img/sprite/sprite.png);
    background-position: 0px 0px;
    width: 44px;
    height: 41px;
  }
  .form__checkbox input,
  .form__radio input {
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    opacity: 0;
  }
  .form__checkbox--checked:after,
  .form__radio--checked:after {
    display: block;
  }

  .form .help-block.error {
    position: absolute;
    right: 0;
    bottom: -13px;
    font: 10px/100% 'Open Sans', sans-serif;
    color: #f1adad;
  }
  @media (max-width: 400px) {
    .form__checkbox,
    .form__radio {
      padding-left: 40px;
    }
  }

  .bx-filter-button-box {
    margin-top: 30px;
  }

  .button {
    display: block;
    margin: 0;
    text-align: center;
    width: 180px;
    height: 40px;
    font: 14px/38px 'Open Sans', sans-serif;
    color: #202427;
    background-color: #eeeeee;
    text-align: center;
    text-transform: uppercase;
    border: 1px solid black;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
  }
  .button:hover {
    color: white;
    background: black;
  }
  .button:active {
    color: #7d7d7d;
  }
  .button[disabled] {
    opacity: 0.7;
    cursor: default;
  }

  a.button {
    padding-block: 0;
  }

  .button--center {
    margin: 0 auto;
  }
  .button--show-more {
    margin: 30px auto;
    width: 220px;
  }
  .button--grey {
    color: #7d7d7d;
    border: 1px solid #7d7d7d;
  }
  .button--grey:hover {
    color: white;
    background: #7d7d7d;
  }

  .head-title {
    margin: 0 0 1em 0;
  }
  .head-title h1 {
    text-align: left;
    text-transform: none;
    margin-bottom: 10px;
  }

  .breadcrumb {
    line-height: 17px;
    padding: 0;
    margin: 0.6em 0;
    list-style: none;
    background: none;
  }
  .breadcrumb > li {
    display: inline-block;
    vertical-align: top;
    text-shadow: none;
    margin: 0;
    padding: 0;
    font-size: 0.85em;
  }
  .breadcrumb > li:before {
    content: none;
    display: none;
  }
  .breadcrumb > li:after {
    position: static;
    background: none;
    font-family: FontAwesome;
    content: '\f054';
    font-size: 7px;
    padding: 0 8px 0 10px;
    vertical-align: middle;
    color: #2e2e2f;
    opacity: 0.2;
    display: inline-block;
    position: static;
    background: none;
    width: auto;
    height: auto;
  }
  .breadcrumb > li:last-child:after {
    content: none;
    display: none;
  }
  .breadcrumb > li,
  .breadcrumb .active,
  .breadcrumb a,
  .breadcrumb > * {
    text-decoration: none;
    color: #9a9a9a;
  }
  .breadcrumb a:hover {
    color: #fe3232;
  }

  .form__radio:before {
    width: 31px;
    height: 31px;
  }
  .form__radio:after {
    content: '';
    display: block;
    background: #383532;
    top: 6px;
    left: 6px;
    width: 19px;
    height: 19px;
    border: 1px solid #fff;
    opacity: 0;
    transition: opacity 0.2s ease-out;
  }
  .form__radio--checked:after {
    opacity: 1;
  }

  .tab-links {
    display: block;
    margin-bottom: -1px;
  }
  .tab-link {
    position: relative;
    display: inline-block;
    vertical-align: top;
    padding: 0.66em 1.5em;
    margin: 0 0.5em 0 0;
    border: 1px solid #e2e2e2;
    background: #eee;
    cursor: pointer;
    z-index: 2;
  }
  .tab-link:after {
    position: absolute;
    content: '';
    top: -1px;
    left: -1px;
    right: -1px;
    height: 2px;
    background-color: #fe121b;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.2s ease-out;
  }
  .tab-link.active {
    cursor: default;
    background-color: #fff;
    border-bottom-color: #fff;
  }
  .tab-link.active:after {
    opacity: 1;
  }

  [data-tab-content] {
    padding: 2em;
    border: 1px solid #e2e2e2;
  }
  @media (max-width: 640px) {
    [data-tab-content] {
      padding: 1em;
    }
  }

  .filter-btn-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
  }

  .filter-buttons__list {
    display: flex;
  }

  .filter-buttons__item {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    background-color: #ffffff;
    border: 1px solid #ececec;
    padding: 0px 14px;
    transition: background-color 0.2s, border 0.2s, color 0.2s;
    height: 40px;
    margin-right: 18px;
  }
  .filter-buttons__item--dark {
    color: #ffffff;
    background-color: #303030;
    border: 1px solid #666666;
  }
  .filter-buttons__item--dark:hover {
    background-color: #3f3f3f;
  }

  .filter-buttons__item:hover {
    border: 1px solid #666666;
  }

  .filter-buttons__text {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
  }

  .filter-buttons__icon {
    width: 14px;
    height: 16px;
    margin-left: 5px;
    background-image: url(/images/filter.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  @media (max-width: 840px) {
    .filter-buttons__item {
      display: none;
    }
    .filter-buttons__item.filter-buttons__item--dark {
      display: flex;
    }
  }

  @media (max-width: 370px) {
    .filter-btn-section {
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
    }
  }

  .sort-section {
    position: relative;
    transition: all 0.2s;
    height: 47px;
    z-index: 5;
  }

  .sort-section__button {
    text-align: left;
    position: relative;
    padding-right: 35px;
  }

  .sort-section__button::after {
    position: absolute;
    content: '';
    top: 20px;
    right: 0;
    width: 16px;
    height: 10px;
    background-image: url(/images/arrow.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: rotate(180deg);
    transition: transform 0.2s ease-in-out;
  }

  .sort-section__button.sort-section__item {
    border-top: 1px solid transparent;
  }
  .active.sort-section__button::after {
    transform: none;
  }

  .sort-section__wrapper {
    padding: 0 10px;
    background-color: #ffffff;
  }

  .sort-section__wrapper.active {
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  }

  .sort-section__list {
    padding: 0;
    display: none;
    transition: all 0.2s;
    z-index: 20;
  }
  .sort-section.active .sort-section__list {
    display: block;
  }

  .sort-section__list .sort-section__item {
    margin: 0;
  }

  .sort-section__item {
    color: #000000;
    width: 100%;
    padding-top: 14px;
    padding-bottom: 14px;
    font-family: 'Open Sans';
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    white-space: nowrap;
  }

  .sort-section__item.hide {
    display: none;
  }

  .sort-section__item::before {
    display: none;
  }

  .sort-section__item {
    border-top: 1px solid #ececec;
  }

  .sort-section__link {
    color: #000000;
  }
  .sort-section__link:hover {
    color: #000000;
  }

  .sort-section__text {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
  }

  .bx-filter .bx-filter-parameters-box-title .filter-section__text--show {
    font-family: Open Sans;
    font-size: 20px;
    font-weight: 300;
    line-height: 27px;
    color: #acacac;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }

  .bx-filter .bx-filter-parameters-box-title .filter-section__text--hide {
    display: none;
  }

  .filter-section__text-wrap {
    display: flex;
    gap: 10px;
    width: 250px;
    justify-content: flex-end;
    align-items: center;
  }
  .filter-section__hide-btn-wrap {
    display: flex;
  }

  @media (max-width: 580px) {
    .filter {
      width: 100%;
    }

    .filter-btn--dark {
      padding: 0 30px;
    }

    .filter-btn--light {
      padding: 0 30px;
    }
  }

  @media (max-width: 480px) {
    .filter__wrapper {
      padding: 20px;
    }
    .filter__section {
      flex-direction: column;
      gap: 15px;
    }

    .filter-btn {
      width: 100%;
    }
    .bx-filter .bx-filter-parameters-box-title .filter-section__text--show {
      font-size: 16px;
    }

    .filter-section__text--show {
      width: 180px;
    }

    .filter-section__hide-btn--down,
    .filter-section__hide-btn--up {
      width: 16px;
    }

    .bx-filter .bx-filter-input-container input {
      min-width: 0;
    }
    .bx-filter .bx-filter-parameters-box.bx-active .bx-filter-block i.bx-ft-sub {
      font-size: 14px;
    }
  }

  @media (max-width: 425px) {
    .filter__section {
      flex-direction: column;
      gap: 15px;
    }
    .category-heading__name {
      font-size: 20px;
    }
    .head-title {
      margin: 1em 0;
    }
    .category-heading {
      margin-bottom: 10px;
    }
  }

  @media (max-width: 375px) {
    .bx-filter .bx-filter-parameters-box-title .filter-section__text--show {
      font-size: 14px;
    }

    .filter-section__text--show {
      width: 160px;
    }
  }

  @media (max-width: 345px) {
    .filter-section__text--show {
      width: 130px;
    }
  }

  .hide {
    display: none;
  }

  .head-title .text-center {
    text-align: center;
  }

  /* CATALOG SECTION */

  .catalog-section {
    margin: 0 -10px 20px -10px;
    font-size: 0;
  }
  @media (max-width: 425px) {
    .catalog-section {
      margin: 0 -10px 10px -10px;
      font-size: 0;
    }
  }
  .catalog-section__item {
    display: inline-block;
    vertical-align: top;
    margin: 0 0 20px 0;
    padding: 0 10px;
    width: 25%;
    color: #7d7d7d;
    transition: color 0.3s ease;
  }

  .catalog-section__item:hover {
    color: black;
  }
  .catalog-section__item:hover .catalog-section__image {
    opacity: 0.8;
  }
  .catalog-section__title {
    font: 14px/45px 'Open Sans', sans-serif;
    line-height: 1.4em;
    margin: 0.25em 0;
    text-transform: uppercase;
    text-align: center;
  }
  .catalog-section__title.price {
    text-transform: none;
    font-weight: bold;
    color: #222;
  }
  .catalog-section__title.price--old {
    font-size: 12px;
    text-decoration: line-through;
    margin-bottom: 0;
    color: #999;
  }
  .catalog-section__title.price--old + .catalog-section__title.price {
    margin-top: 0;
  }
  .catalog-section__image {
    display: block;
    margin: 10px 0;
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
  }

  .catalog-section__text {
    font: 14px/130% 'Open Sans', sans-serif;
  }

  .section-detail {
    margin: 0 0 30px;
  }
  .section-detail__image {
    display: block;
    margin: 0 0 15px;
  }
  .section-detail__info {
    text-align: justify;
  }

  @media (max-width: 900px) {
    .catalog-section__item {
      width: 33.33%;
    }
  }
  @media (max-width: 640px) {
    .catalog-section__item {
      width: 50%;
    }
  }

  /* CATALOG ELEMENT */

  .catalog-element {
    display: flex;
    margin: 0 0 2em;
    width: 100%;
  }
  .catalog-element__cell--left {
    flex-shrink: 0;
    max-width: 540px;
  }
  .catalog-element__cell--right {
    padding-left: 10px;
    flex-grow: 1;
  }

  .ya-share2 {
    float: right;
    margin-left: 12px;
  }
  .ya-share2 ul {
    overflow: visible;
  }
  .ya-share2 ul li:before {
    content: none;
    display: none;
  }
  .ya-share2 .ya-share2__title {
    display: none;
  }
  .ya-share2__container_size_m .ya-share2__item_more.ya-share2__item_has-pretty-view .ya-share2__link_more.ya-share2__link_more-button-type_short {
    padding: 0 !important;
  }

  .catalog-element__name {
    text-align: left;
  }

  .catalog-element__info {
    margin: 0px 0 20px;
    font: 14px/140% 'Open Sans', sans-serif;
  }
  .catalog-element__info-link {
    display: block;
    transition: color 0.3s ease;
  }
  .catalog-element__info-heading {
    font-size: 1.2em;
    margin: 0 0 1em;
    color: black;
  }
  .catalog-element__info-value {
    color: #7d7d7d;
  }
  .catalog-element__info-value + .catalog-element__info-value {
    margin-top: 8px;
  }
  .catalog-element__info-value--desc {
    position: relative;
    min-width: 100%;
    height: 100px;
    overflow: hidden;
  }
  .catalog-element__info-value--desc:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  }
  .catalog-element__info-value--desc.visible {
    height: auto;
  }
  .catalog-element__info-value--desc.visible:after {
    content: none;
    display: none;
  }
  .catalog-element__info-link {
    cursor: pointer;
  }
  .catalog-element__info-link svg {
    transition: transform 0.2s ease;
  }
  .catalog-element__info-link.active svg {
    transform: rotate(-180deg);
  }

  .catalog-element__buttons {
    width: 340px;
    font-size: 0;
  }
  .catalog-element__button.button {
    display: inline-block;
    width: 165px;
  }
  .catalog-element__button.button:first-child {
    margin-right: 10px;
  }

  .detail-carousel {
    position: relative;
    font-size: 0;
  }
  .detail-carousel__for > :not(:first-child),
  .detail-carousel__nav > :not(:first-child) {
    display: none;
  }
  .detail-carousel__nav .slick-track {
    display: flex;
  }
  .detail-carousel__for {
    margin: 0 0 0 0;
  }
  .detail-carousel__for-item,
  .detail-carousel__for-image {
    height: 540px;
  }
  .detail-carousel__for-desc {
    margin-top: 12px;
    font: 14px/120% 'Open Sans', sans-serif;
    color: #7d7d7d;
  }
  @media (max-width: 600px) {
    .detail-carousel,
    .detail-carousel__for-item {
      width: 100%;
      height: auto;
    }
  }

  .detail-carousel__nav {
    left: 0%;
    z-index: 2;
    margin-top: 10px;
  }
  .detail-carousel__nav .slick-list {
    margin: 0 auto;
  }
  .detail-carousel__nav .slick-slide {
    display: block;
    width: 50px;
    height: 50px;
    margin: 0 0 5px 0;
  }
  .detail-carousel__nav .slick-slide.slick-active .detail-carousel__nav-item {
    cursor: default;
  }
  .detail-carousel__nav .slick-slide.slick-active .detail-carousel__nav-item:after {
    border-color: #000;
    opacity: 1;
  }
  .detail-carousel__nav-item {
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
  }
  .detail-carousel__nav-item:after {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    opacity: 0;
    border: 2px solid #aaa;
    transition: opacity 0.2s ease, border-color 0.2s ease;
  }
  .detail-carousel__nav-item:hover:after {
    opacity: 1;
  }
  .detail-carousel__nav-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
  }
  .detail-carousel__nav .slick-prev,
  .detail-carousel__nav .slick-next {
    margin-bottom: -15px;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
    border: 1px solid #e2e2e2;
  }
  .detail-carousel__nav .slick-prev {
    left: -40px;
  }
  .detail-carousel__nav .slick-next {
    right: -40px;
  }

  .catalog-element__cell--left .catalog-element__info {
    margin-top: 1em;
    max-width: 540px;
  }
  .catalog-element__cell--left .catalog-element__info.wide {
    max-width: 520px;
  }

  @media (max-width: 1000px) {
    .catalog-element__cell--left,
    .catalog-element__cell--right {
      width: 50%;
    }
    .detail-carousel__for-item,
    .detail-carousel__for-image {
      height: auto;
    }
  }
  @media (max-width: 800px) {
    .catalog-element {
      display: block;
    }
    .catalog-element__cell {
      display: block;
    }
    .catalog-element__cell--left {
      width: auto;
      margin-bottom: 2em;
    }
    .detail-carousel {
      position: relative;
      width: auto;
    }
    .detail-carousel__for {
      width: 100%;
      margin: 0;
    }

    .detail-carousel__nav {
      display: none;
    }
    .detail-carousel__for-image {
      object-fit: cover;
      width: 100%;
      height: auto;
      object-position: center;
    }
    .detail-carousel__for-desc {
      display: none;
    }

    .catalog-element__cell--right {
      padding: 0;
    }
    .catalog-element__cell--left .catalog-element__info,
    .catalog-element__cell--left .catalog-element__info.wide {
      max-width: 100%;
    }
    .catalog-element__cell--left,
    .catalog-element__cell--right {
      width: 100%;
    }
  }
  @media (max-width: 600px) {
    .detail-carousel__for {
      padding-right: 0;
    }
    .detail-carousel__for-desc {
      margin: 0.5em 0 1em 0;
    }
    .detail-carousel__nav {
      display: none;
      width: 100%;
      margin-left: 0;
    }
  }

  .catalog-element__images {
    display: block;
    flex-wrap: wrap;
    margin: 40px -10px 20px;
    overflow: hidden;
  }
  .catalog-element__images-item {
    position: relative;
    float: left;
    width: 25%;
    padding-bottom: 25%;
    height: 0;
    margin-bottom: 20px;
  }
  .catalog-element__images-item:nth-child(1) {
    width: 50%;
    padding-bottom: calc(50% + 20px);
  }
  .catalog-element__images-item:nth-child(4) {
    width: 50%;
    padding-bottom: 25%;
  }
  .catalog-element__gallery-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0 10px;
  }
  .catalog-element__gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  @media (max-width: 600px) {
    .catalog-element__images-item,
    .catalog-element__images-item:nth-child(1),
    .catalog-element__images-item:nth-child(4) {
      width: 50%;
      padding-bottom: 50%;
    }
  }

  .configurator__main-heading {
    margin: 0 0 20px;
    font: 24px/100% 'Open Sans', sans-serif;
    text-transform: uppercase;
  }

  .configurator__preview {
    font: 14px/140% 'Open Sans', sans-serif;
    margin: 0 0 2em 0;
    color: #676767;
  }

  .configurator__preview a {
    transition: color 0.3s ease;
  }

  .configurator__heading {
    margin: 0 0 15px;
    font: 20px/100% 'Open Sans', sans-serif;
    color: #4f4f4f;
  }

  .configurator__image-area {
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    width: 172px;
    height: 215px;
    vertical-align: middle;
    text-align: center;
    cursor: url('../../img/zoom-in.cur'), auto;
    z-index: 2;
    transition: transform 0.2s ease;
    transform: translateY(-10px);
  }
  .configurator__radio:hover .configurator__image-area {
    display: block;
    transform: translateY(0px);
  }
  .configurator__image-area--static {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    transform: none;
  }

  .configurator__radio {
    position: relative;
    margin-top: 12px;
  }
  .configurator__radio-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 31px;
    height: 31px;
    opacity: 0.66;
    background-size: cover;
    transition: opacity 0.2s ease;
  }
  .form__radio--checked .configurator__radio-bg {
    opacity: 1;
  }

  .configurator__section {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    row-gap: 20px;
  }
  .configurator__item {
    display: inline-block;
    vertical-align: top;
    padding: 0 10px;
    width: 25%;
    box-sizing: border-box;
  }

  .configurator__item--size .configurator__image-area {
    border: 1px solid #e3e3e3;
  }
  @media (max-width: 1200px) {
    .configurator__item {
      width: 33.3%;
    }
  }
  @media (max-width: 800px) {
    .configurator__item {
      width: 33.33%;
    }
  }
  @media (max-width: 600px) {
    .configurator__item {
      width: 50%;
    }
  }
  .configurator__category:not(:last-child) {
    margin-bottom: 20px;
  }

  .configurator__item--single {
    display: flex;
    flex-wrap: wrap;
    width: auto;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0;
    width: 100%;
  }
  .configurator__item--single .configurator__price {
    margin-top: 0;
    vertical-align: top;
    line-height: 120%;
  }
  .configurator__item--single .configurator__price--old {
    margin-right: 10px;
  }
  .configurator__item--single .configurator__desc {
    font: 16px/120% 'Open Sans', sans-serif;
  }
  @media (max-width: 600px) {
    .configurator__item--single {
      display: block;
    }
    .configurator__item--single .configurator__title {
      line-height: 24px;
      margin-bottom: 1em;
    }
    .configurator__item--single .configurator__desc {
      line-height: 24px;
      margin-bottom: 1em;
    }
    .configurator__item--single .configurator__price {
      margin-bottom: 0;
    }
  }

  .configurator__info {
    font-size: 0.9em;
    line-height: 1.4em;
    min-height: 31px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-transform: lowercase;
  }
  .configurator__info--block {
    display: block;
  }
  .configurator__info span:first-letter {
    text-transform: uppercase;
  }
  .configurator__price {
    margin-top: 12px;
    font-size: 16px;
    line-height: 18px;
    font-weight: bold;
  }
  .configurator__price--old {
    font-size: 14px;
    line-height: 21px;
    color: #999;
    text-decoration: line-through;
  }
  .configurator__price--old + .configurator__price {
    margin-top: 0;
  }
  .form__radio--checked .configurator__info {
    color: #222;
  }
  .configurator__title {
    font: 16px/120% 'Open Sans', sans-serif;
  }
  .configurator__desc {
    font: 12px/120% 'Open Sans', sans-serif;
  }
  .configurator__after-text {
    font: 12px/120% 'Open Sans', sans-serif;
    margin: 25px 0;
    color: #5a5a5a;
  }
  .configurator__after-text p {
    margin: 0 0 10px;
  }

  .configurator__field {
    display: block;
    margin: 1em 0;
    width: 100%;
  }
  .configurator__field input {
    padding: 0 10px;
    width: 100%;
    height: 46px;
    font: 18px/44px 'Open Sans', sans-serif;
    color: black;
    border: 1px solid #e5e1e2;
  }
  .configurator__field input:hover {
    border: 1px solid #e3e3e3;
  }
  .configurator__field input:focus {
    background: white;
    border: 1px solid #e3e3e3;
  }

  .configurator__field-desc {
    margin: 0 0 13px;
    font: 20px/100% 'Open Sans', sans-serif;
    color: #464646;
  }
  .configurator__button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    margin: 1.5em 0;
  }
  .button.configurator__button {
    font-weight: bold;
  }
  .configurator__button-container .catalog-element__info {
    font-size: 15px;
    margin: auto 0;
  }

  .catalog-element__name > * {
    margin-bottom: 0.5em;
    text-align: left;
  }
  .catalog-element__price {
    font-size: 26px;
    line-height: 110%;
    margin: 0 0 1em 0;
  }

  .catalog__sizes {
    margin: 0px 0 20px 0;
  }
  .catalog__sizes table {
    width: 100%;
  }
  .catalog__sizes table td {
    text-align: left;
    text-transform: lowercase;
  }
  .catalog__sizes table td:first-letter {
    text-transform: uppercase;
  }
  .catalog__sizes table td:last-child {
    text-align: right;
    white-space: nowrap;
  }
  .catalog__sizes table tbody td {
    color: #222;
  }
  .catalog__sizes table td .configurator__item {
    margin: 0;
  }
  .catalog__sizes table td .configurator__item .configurator__radio {
    margin: 0;
  }
  @media (max-width: 640px) {
    .catalog__sizes {
      overflow: auto;
    }
    .configurator__radio:hover .configurator__image-area {
      display: none;
    }
    .catalog__sizes table tbody td {
      padding: 10px;
    }
  }

  /* CONTACTS */
  .contacts {
    margin: 0 0 40px;
  }
  .contacts h1 {
    text-align: left;
  }
  .contacts__cell {
    display: table-cell;
    vertical-align: top;
  }
  .contacts__cell--left {
    width: 460px;
  }
  .contacts__cell--right {
    padding-left: 20px;
  }
  .contacts__slider {
    width: 460px;
    height: 460px;
  }
  .contacts__field {
    margin: 0 0 18px;
    font: 14px/1.4em 'OpenSans', sans-serif;
  }
  .contacts__desc {
    color: black;
  }
  .contacts__value {
    color: #7d7d7d;
  }
  .contacts__link {
    color: #7d7d7d;
    transition: color 0.3s ease;
  }
  .contacts__link:hover {
    color: #dc3939;
  }
  .contacts__hidden-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
  }

  @media (max-width: 1000px) {
    .contacts__cell {
      display: block;
    }
    .contacts__cell--left {
      width: 100%;
      margin-bottom: 1em;
    }
    .contacts__cell--right {
      padding: 0;
    }
    .contacts__slider {
      width: auto;
      height: auto;
    }
    .contacts__image {
      width: auto;
      height: auto;
    }

    .contacts__field {
      display: inline-block;
      vertical-align: top;
      margin: 0 1em 1em 0;
    }
    .contacts__field--block {
      display: block;
    }
  }
  @media (max-width: 400px) {
    .contacts__field {
      display: block;
      margin: 0 0 1em 0;
    }
  }

  .partners__title {
    text-align: left;
    text-transform: none;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .partners__item {
    margin: 30px 0 30px 0;
  }

  .partners__logo {
    float: left;
    width: 230px;
    height: 230px;
    margin: 0 24px 20px 0;
  }

  .partners__text-bold {
    font-weight: bold;
  }

  .partners__text {
    margin: 0;
  }

  .clear-both {
    clear: both;
  }

  @media (max-width: 768px) {
    .partners__logo {
      float: none;
    }
  }

  /* COLLECTION */

  .collections-list {
    display: flex;
    flex-wrap: wrap;
    margin: 10px -10px;
  }
  .collections-list__title {
    margin: 0 0 10px;
    font: 1.4em/100% 'Open Sans', sans-serif;
    text-transform: uppercase;
    text-align: left;
  }
  .collections-list__image {
    width: auto;
    height: auto;
    transition: opacity 0.3s ease;
  }
  .collections-list__item {
    display: block;
    width: 50%;
    padding: 0 10px;
    margin: 0 0 20px;
    color: #7d7d7d;
    text-align: center;
    vertical-align: top;
    transition: color 0.3s ease;
  }
  .collections-list__item:hover {
    color: black;
  }
  .collections-list__item:hover .preview-collections__image {
    opacity: 0.8;
  }
  @media (max-width: 600px) {
    .collections-list {
      display: block;
      margin: 10px 0;
    }
    .collections-list__item {
      padding: 0;
      width: auto;
      margin-bottom: 10px;
    }
  }

  .collection-detail {
    margin: 0 0 30px;
  }
  .collection-detail__collections {
    margin: 0 0 25px -45px;
    font-size: 0;
  }
  .collection-detail__collection {
    display: inline-block;
    margin: 0 0 10px 43px;
    font: 24px/100% 'Open Sans', sans-serif;
    color: #7d7d7d;
    transition: color 0.3s ease;
  }
  .collection-detail__collection:hover {
    color: #dc3939;
  }
  .collection-detail__collection--active,
  .collection-detail__collection--active:hover,
  .collection-detail__collection--active:active {
    color: black;
  }
  .collection-detail__img-wrap {
    display: grid;
    column-gap: 16px;
    grid-template-columns: 10fr 4fr;
  }
  @media (max-width: 768px) {
    .collection-detail__img-wrap {
      column-gap: 10px;
    }
  }

  .collection-detail__image {
    display: block;
    height: auto;
    width: auto;
    margin: 0 0 15px;
  }

  @media (max-width: 550px) {
    .collection-detail__img-wrap {
      grid-template-columns: 1fr;
    }

    .collection-detail__image--sm {
      display: none;
    }
  }

  /* SEARCH FORM */

  .search-form {
    margin: 0 0 40px;
    font-size: 0;
  }
  .search-form__input,
  .search-form__button {
    display: inline-block;
  }
  .search-form__input {
    margin: 0 20px 0 0;
    padding: 0 9px;
    width: 770px;
    height: 40px;
    font: 16px/38px 'OpenSans', sans-serif;
    color: #7d7d7d;
    background: #f4f4f4;
    border: 1px solid #f4f4f4;
    transition: border-color 0.3s ease, background-color 0.3s ease;
  }
  .search-form__input:hover {
    border: 1px solid #e3e3e3;
  }
  .search-form__input:focus {
    background: white;
    border: 1px solid #e3e3e3;
  }
  .search-form__button {
    margin: 0;
    text-align: center;
    width: 150px;
    height: 40px;
    font: 14px/38px 'OpenSans', sans-serif;
    color: #202427;
    text-align: center;
    text-transform: uppercase;
    border: 1px solid black;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
  }
  .search-form__button:hover {
    color: white;
    background: black;
  }
  .search-form__button:active {
    color: #7d7d7d;
  }

  .search-results {
    padding-bottom: 50px;
  }

  .search-results__item {
    display: table;
    padding: 20px 0;
    width: 100%;
    border-bottom: 1px solid black;
  }
  .search-results__item:first-child {
    border-top: 1px solid black;
  }

  .search-results__cell {
    display: table-cell;
    vertical-align: top;
  }
  .search-results__cell--image {
    width: 100px;
  }
  .search-results__cell--info {
    padding-left: 20px;
  }

  .search-results__image-area {
    display: block;
    width: 100px;
    height: 120px;
  }
  .search-results__image-area:hover .search-results__image {
    opacity: 0.8;
  }

  .search-results__image {
    transition: opacity 0.3s ease;
  }

  .search-results__title {
    display: block;
    margin: 0 0 10px;
    font: 18px/100% 'OpenSans', sans-serif;
    transition: color 0.3s ease;
  }

  .search-results__desc {
    font: 16px/130% 'OpenSans', sans-serif;
  }
}

@media (max-width: 500px) {
  .middle {
    font-size: 14px;
    line-height: 1.4em;
    padding: 0 15px;
  }
}

/* MODAL */

.modal-open {
  overflow: hidden;
}

.modal {
  display: none;
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  -webkit-overflow-scrolling: touch;
  outline: 0;
  cursor: url('/local/static/assets/img/close-modal.cur'), auto;
}
.modal.fade .modal-dialog {
  transform: translate(0, -25%);
  transition: transform 0.3s ease-out;
}
.modal.in .modal-dialog {
  transform: translate(0, 0);
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal-dialog {
  position: relative;
  width: auto;
  width: 400px;
  margin: 30px auto;
  z-index: 2050;
  cursor: default;
}

@media (max-width: 450px) {
  .modal-dialog {
    width: 100%;
    margin: 0;
  }
  .modal-content {
    padding: 15px 20px;
  }
  .modal-content .button {
    margin: 2em 0 0 0;
  }
  .form__field {
    width: auto;
  }
}

.modal-content {
  position: relative;
  padding: 30px 40px 25px;
  background: white;
  background-clip: padding-box;
  outline: 0;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #ddd;
}
.modal-backdrop.fade {
  opacity: 0;
  filter: alpha(opacity=0);
}
.modal-backdrop.in {
  opacity: 0.9;
  filter: alpha(opacity=90);
}

.modal-title {
  margin: 0 0 20px;
  font: 25px/100% 'Open Sans', sans-serif;
  text-transform: uppercase;
  text-align: center;
}

.modal-body {
  position: relative;
}

.fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}

.in {
  opacity: 1;
}

.catalog-element__cell .slick-dots {
  text-align: center;
}

.catalog-element__cell .slick-dots li {
  margin: 0 4px;
}
