/* Glue between the new header and the current Bitrix layout. */
.site-header {
  top: var(--bx-panel-offset, 0px);
}

body.product-page .content {
  padding-top: var(--header-current);
}

@media (max-width: 991px) {
  body.template-versal-redesign .body_wrapper {
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  body.template-versal-redesign .pdp-breadcrumbs {
    padding-top: 6px;
    padding-bottom: 8px;
  }
}

.mobile-menu {
  top: calc(var(--header-current) + var(--bx-panel-offset, 0px));
}

.site-header .header__phone .versalHeader__phone-link,
.mobile-menu__contacts .versalHeader__phone-link {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-decoration: none;
}

.mobile-menu nav a,
.mobile-menu nav a:hover,
.mobile-menu nav a:focus,
.mobile-menu nav a:active,
.footer__nav a,
.footer__nav a:hover,
.footer__nav a:focus,
.footer__bottom a,
.footer__bottom a:hover,
.footer__bottom a:focus {
  text-decoration: none;
}

.footer {
  line-height: 1.6;
}

.footer #fz_wrap {
  height: 33px;
}

body.home-page.product-page .content {
  padding-top: 0;
  background: transparent;
}

body.home-page .site-header:not(.is-scrolled) {
  color: var(--white);
  background: linear-gradient(rgba(28,28,28,.8), rgba(28,28,28,.36));
  border-bottom-color: rgba(255,255,255,.18);
}

body.home-page .site-header:not(.is-scrolled) .logo img {
  filter: brightness(0) invert(1);
}

body.home-page .site-header:not(.is-scrolled) .catalog-nav {
  border-top-color: rgba(255,255,255,.18);
}

body.home-page .site-header:not(.is-scrolled) .basket-qty {
  color: var(--night);
  background: var(--gold-bright);
}

body.home-page.menu-open .site-header .logo img {
  filter: brightness(0) invert(1);
}

body.home-page .home :is(h1, h2, h3) {
  text-transform: none;
}

body.home-page .category-item h3 {
  letter-spacing: normal;
}

body.home-page .category-item,
body.home-page .category-item:hover,
body.home-page .category-item:focus {
  text-decoration: none;
}

body.home-page .content_wrapper.content1 {
  padding-bottom: 0;
}

body.home-page .home {
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
}

button.button-solid {
  border: 0;
  cursor: pointer;
  text-align: left;
}

button.link-arrow {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.modal_window .catalogElementForm {
  display: block;
  margin: 0;
  padding: 8px 4px 24px;
  border: 0;
}

.modal_window .catalogElementForm__header {
  display: none;
}

.modal_window .catalogElementForm__form-fields-wrapper {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.modal_window .catalogElementForm input[type="text"],
.modal_window .catalogElementForm textarea {
  width: 100%;
}

.modal_window .catalogElementForm img {
  max-width: 100%;
  height: auto;
}

.modal_window .questions-form-error {
  margin: 0 0 12px;
  color: #8a1f1f;
  font-size: 14px;
}

.site-header .header__right,
.site-header .header__actions {
  position: relative;
  z-index: 3;
}

.header__actions .header-basket__wrapper {
  display: flex;
}

.site-header .header-basket.icon-button {
  position: relative;
  background: none;
}

.site-header .header-basket .basket-qty {
  top: 1px;
  right: 0;
  width: auto;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  color: var(--white);
  background: var(--charcoal);
  font-size: 7px;
  font-weight: 500;
  line-height: 1;
}

.site-header .header-basket .basket-qty.hidden {
  display: none !important;
}

#overlayBlock.overlay_block.on {
  z-index: 4000;
}

#popup.popup_box {
  z-index: 4010;
}

.modal_window {
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  margin-top: 0 !important;
  height: 100% !important;
}

.modal_window .modal_close {
  border: 0;
  background: transparent;
  cursor: pointer;
}

body.home-page .contacts__visual {
  display: block;
  background: #d5d5d5;
  filter: grayscale(1);
}

body.home-page .contacts__visual::before {
  content: none;
}

body.home-page .contacts__visual iframe,
body.home-page .contacts__visual > div {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0;
}
