.coreinbox__modal {
  font-family: "AvantGarGotItcTOT-Boo", "Arial", sans-serif;
}
.coreinbox__modal-dialog {
  margin-top: 0;
  margin-bottom: 0;
}
.coreinbox__modal-content {
  border-color: transparent;
  border-radius: 5px;
  overflow: hidden;
  background-color: #f0efe7;
}
.coreinbox__modal-header {
  position: relative;
  text-align: center;
  overflow: hidden;
  border-radius: 0;
  background-color: #a31000;
  padding: 16px;
  border: 0;
  -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 20px 20px -20px;
  -moz-box-shadow: rgba(0, 0, 0, 0.3) 0 20px 20px -20px;
  box-shadow: rgba(0, 0, 0, 0.3) 0 20px 20px -20px;
}
.coreinbox__modal-header h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  padding: 0 20px 0 0;
  width: 100%;
  color: #fff;
  font-family: "AvantGarGotItcTOT-Bol", "Arial", sans-serif;
}
.coreinbox__modal-body {
  padding: 0 !important;
  border-radius: 0;
}
.coreinbox__modal-footer {
  padding: 15px;
  text-align: center;
  justify-content: center;
  border: 0;
}
.coreinbox__modal-footer--empty {
  display: none;
}
.coreinbox__modal-btn {
  display: inline-block;
  margin: 0;
  margin-right: 8px;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  touch-action: manipulation;
  vertical-align: middle;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  text-decoration: none !important;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
  padding: 12px 16px;
  line-height: 20px;
  font-size: 14px;
  font-weight: 400;
  outline: 0;
  border: 0;
  font-family: "AvantGarGotItcTOT-Bol", "Arial", sans-serif;
}
.coreinbox__modal-btn:hover,
.coreinbox__modal-btn:focus {
  text-decoration: none;
}
.coreinbox__modal-btn--primary {
  color: #fff;
  background-color: #a31000;
}
.coreinbox__modal-btn--primary:hover,
.coreinbox__modal-btn--primary:focus {
  background-color: #700b00;
}
.coreinbox__modal-btn:last-child {
  margin-right: 0;
}
.coreinbox__modal.fade .coreinbox__modal-dialog {
  top: 0;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .coreinbox__modal.fade .coreinbox__modal-dialog {
    position: relative;
    margin: 100px auto 0 auto;
  }
}
.coreinbox__modal .slide-out {
  animation: coreinboxSlideOut 0.3s ease-in-out;
}
.coreinbox__modal .slide-in {
  animation: coreinboxSlideIn 0.3s ease-in-out;
}
.coreinbox__modal span.exit {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.coreinbox__modal span.exit::after,
.coreinbox__modal span.exit::before {
  content: "";
  width: 100%;
  position: absolute;
  display: block;
  height: 3px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 1px;
  transition: all 0.15s ease-in-out;
  background-color: #fff;
}
.coreinbox__modal span.exit::after {
  transform: translate(-50%, -50%) rotateZ(45deg);
}
.coreinbox__modal span.exit::before {
  transform: translate(-50%, -50%) rotateZ(-45deg);
}
@keyframes coreinboxSlideOut {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes coreinboxSlideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Липкая шапка при прокрутке */
div.header {
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

/* overflow-x:hidden на body ломает sticky в Chromium/WebKit; clip отсекает горизонтальный вылет без этого эффекта */
@supports (overflow-x: clip) {
  body[data-test-role="page-ready"] {
    overflow-x: clip !important;
  }
}

/* Мобильная шапка: без меню, кнопки Вход и Регистрация как на десктопе */
@media (max-width: 1279px) {
  .header .navbar-header button[data-target="#bs-menu-main"],
  .header .navbar-header .header__menu-btn--registration.navbar-toggle,
  .header .navbar-header .navbar-toggle[data-target="#bs-menu-user"] {
    display: none !important;
  }
  /* Дубликат: те же ссылки уже в .navbar-desktop-icons справа */
  .header .navbar-header > a.header__menu-btn--auth-mobile {
    display: none !important;
  }
  .header #bs-menu-main {
    display: none !important;
  }
  .header .navbar-desktop-icons {
    display: flex !important;
    position: absolute;
    right: 0;
    bottom: 15px;
    gap: 6px;
    /* Выше .navbar-header (z-index: 1001 в теме), иначе тапы не доходят до ссылок */
    z-index: 1002;
    pointer-events: auto;
  }
  .header .navbar-desktop-icons .navbar-link {
    display: inline-flex !important;
    align-items: center;
    padding: 8px 16px;
    border-radius: 12px;
    border-width: 2px;
    transition: all 0.15s ease-in-out;
  }
  .header .navbar-desktop-icons .header__menu-btn--registration {
    background-color: #3f61d8 !important;
    border-color: #3957c2 !important;
    color: #fff !important;
  }
  .header .navbar-desktop-icons .header__menu-btn--registration:hover,
  .header .navbar-desktop-icons .header__menu-btn--registration:focus {
    background-color: #2b50d3 !important;
    color: #fff !important;
  }
  .header .navbar-desktop-icons .header__menu-btn--login {
    background-color: #09b934 !important;
    border-color: #08a12d !important;
    color: #fff !important;
  }
  .header .navbar-desktop-icons .header__menu-btn--login:hover,
  .header .navbar-desktop-icons .header__menu-btn--login:focus {
    background-color: #078826 !important;
    color: #fff !important;
  }
  .header .navbar-desktop-icons .header__menu-btn-label.sr-only {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 4px;
    overflow: visible !important;
    clip: auto !important;
    font-size: 14px !important;
  }
}

/* Футер: логотип и иконки соцсетей (белые SVG на тёмном фоне) */
.footer .footer__social-section-logo {
  display: block;
  max-height: 48px;
  width: auto;
}
.footer .footer__social-section .footer__social-icon:after {
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  width: 28px;
  height: 28px;
}
.footer .footer__social-section .footer__social-icon.fb:after {
  background-image: url('data:image/svg+xml,<svg width="28" height="28" viewBox="0 0 13 13" fill="%23fff" xmlns="http://www.w3.org/2000/svg"><path d="M13 6.52421C13 2.9206 10.0902 0 6.5 0C2.90977 0 0 2.9206 0 6.52421C0 9.58243 2.0998 12.1513 4.93086 12.8573V8.51715H3.59023V6.52421H4.93086V5.66536C4.93086 3.4456 5.93125 2.416 8.10469 2.416C8.51602 2.416 9.22695 2.49755 9.51894 2.5791V4.38345C9.3666 4.36816 9.1 4.35797 8.76738 4.35797C7.70098 4.35797 7.28965 4.76318 7.28965 5.81572V6.52421H9.4123L9.04668 8.51715H7.28711V13C10.5066 12.6101 13 9.86022 13 6.52421Z"/></svg>');
}
.footer .footer__social-section .footer__social-icon.yt:after {
  background-image: url('data:image/svg+xml,<svg width="28" height="20" viewBox="0 0 16 11" fill="%23fff" xmlns="http://www.w3.org/2000/svg"><path d="M15.6657 1.72113C15.4817 1.04365 14.9395 0.510096 14.2511 0.329026C13.0033 0 8 0 8 0C8 0 2.99669 0 1.7489 0.329026C1.06052 0.510125 0.518349 1.04365 0.334336 1.72113C0 2.94909 0 5.51111 0 5.51111C0 5.51111 0 8.07314 0.334336 9.3011C0.518349 9.97858 1.06052 10.4899 1.7489 10.671C2.99669 11 8 11 8 11C8 11 13.0033 11 14.2511 10.671C14.9395 10.4899 15.4817 9.97858 15.6657 9.3011C16 8.07314 16 5.51111 16 5.51111C16 5.51111 16 2.94909 15.6657 1.72113ZM6.36363 7.83724V3.18499L10.5454 5.51117L6.36363 7.83724Z"/></svg>');
}
.footer .footer__social-section .footer__social-icon.ig:after {
  background-image: url('data:image/svg+xml,<svg width="26" height="26" viewBox="0 0 28 27" fill="%23fff" xmlns="http://www.w3.org/2000/svg"><path d="M14.0029 6.57754C10.2784 6.57754 7.27426 9.66825 7.27426 13.5C7.27426 17.3318 10.2784 20.4225 14.0029 20.4225C17.7274 20.4225 20.7316 17.3318 20.7316 13.5C20.7316 9.66825 17.7274 6.57754 14.0029 6.57754ZM14.0029 18.0005C11.5961 18.0005 9.62842 15.9822 9.62842 13.5C9.62842 11.0178 11.5902 8.9995 14.0029 8.9995C16.4156 8.9995 18.3774 11.0178 18.3774 13.5C18.3774 15.9822 16.4098 18.0005 14.0029 18.0005ZM22.5763 6.29438C22.5763 7.19207 21.8735 7.90902 21.0068 7.90902C20.1343 7.90902 19.4374 7.18604 19.4374 6.29438C19.4374 5.40271 20.1401 4.67974 21.0068 4.67974C21.8735 4.67974 22.5763 5.40271 22.5763 6.29438ZM27.0328 7.93311C26.9332 5.77022 26.453 3.85435 24.9129 2.27586C23.3786 0.697367 21.5163 0.203336 19.414 0.0948901C17.2472 -0.03163 10.7528 -0.03163 8.58603 0.0948901C6.48954 0.197311 4.6273 0.691342 3.08714 2.26983C1.54699 3.84832 1.07264 5.7642 0.967234 7.92709C0.844255 10.1563 0.844255 16.8377 0.967234 19.0669C1.06679 21.2298 1.54699 23.1457 3.08714 24.7241C4.6273 26.3026 6.48369 26.7967 8.58603 26.9051C10.7528 27.0316 17.2472 27.0316 19.414 26.9051C21.5163 26.8027 23.3786 26.3087 24.9129 24.7241C26.4472 23.1457 26.9274 21.2298 27.0328 19.0669C27.1557 16.8377 27.1557 10.1623 27.0328 7.93311ZM24.2335 21.4587C23.7768 22.6396 22.8925 23.5493 21.7388 24.0253C20.0113 24.7302 15.912 24.5675 14.0029 24.5675C12.0938 24.5675 7.98871 24.7241 6.26701 24.0253C5.11921 23.5553 4.23494 22.6456 3.77231 21.4587C3.08714 19.6814 3.24526 15.4641 3.24526 13.5C3.24526 11.5359 3.093 7.31256 3.77231 5.54128C4.22909 4.36043 5.11336 3.45069 6.26701 2.97473C7.99456 2.26983 12.0938 2.4325 14.0029 2.4325C15.912 2.4325 20.0172 2.27586 21.7388 2.97473C22.8866 3.44466 23.7709 4.3544 24.2335 5.54128C24.9187 7.31859 24.7606 11.5359 24.7606 13.5C24.7606 15.4641 24.9187 19.6874 24.2335 21.4587Z"/></svg>');
}
.footer .footer__social-section .footer__social-icon:hover:after {
  opacity: 0.9;
}

/* Скрыть виджет чата (Zendesk / "Napíšte nám") полностью */
iframe#launcher,
#launcher,
iframe[title*="chat" i],
iframe[title*="Chat" i],
div[id*="zendesk" i],
div[class*="zEWidget" i],
div[class*="zendesk" i],
#embedded-messenger,
#webWidget {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}
