/* слабовидящие, класс на body */

body.high-contrast::before,
body.high-contrast::after {
  display: none !important;
}

body.high-contrast {
  font-size: 24px;
  line-height: 1.6;
  color: #000;
  background-color: #fff;
  background-image: none !important;
}

body.high-contrast * {
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  animation: none !important;
  transition: none !important;
}

body.high-contrast .advantages__col--end {
  border-left-color: #000 !important;
}

/* в режиме слабовидящих всё влево */
body.high-contrast,
body.high-contrast * {
  text-align: left !important;
}

body.high-contrast .advantages__col,
body.high-contrast .advantages__col--start,
body.high-contrast .advantages__col--end,
body.high-contrast .advantages__pack,
body.high-contrast .card__body,
body.high-contrast .card__action,
body.high-contrast .hero__content,
body.high-contrast .section__action {
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

body.high-contrast .advantages__col--end .advantage {
  flex-direction: row !important;
}

body.high-contrast h1 {
  font-size: 36px;
  color: #000;
}

body.high-contrast h2 {
  font-size: 30px;
  color: #000;
}

body.high-contrast h3 {
  font-size: 26px;
  color: #000;
}

body.high-contrast a,
body.high-contrast .nav__link,
body.high-contrast .header__logo,
body.high-contrast .header__phone,
body.high-contrast .card__meta,
body.high-contrast .card__text,
body.high-contrast .advantage__text,
body.high-contrast .section__subtitle,
body.high-contrast .hero__text,
body.high-contrast .hero__subtitle,
body.high-contrast .hero__trust,
body.high-contrast .page-hero__text,
body.high-contrast .footer,
body.high-contrast .footer a,
body.high-contrast .footer__text,
body.high-contrast .footer__nav-title,
body.high-contrast .footer__bottom,
body.high-contrast .footer__contact a,
body.high-contrast .footer__contact span,
body.high-contrast .contacts-info__label,
body.high-contrast .contacts-info__value,
body.high-contrast .requisites__label,
body.high-contrast .privacy-content p,
body.high-contrast .privacy-content li,
body.high-contrast .dikidi-modal__title {
  color: #000000 !important;
}

body.high-contrast .license-link {
  color: #000000 !important;
  text-decoration: underline;
}

body.high-contrast .hero,
body.high-contrast .hero__photo {
  background-color: #fff !important;
}

body.high-contrast .hero {
  background-color: #fff !important;
}

body.high-contrast .hero__photo {
  opacity: 1 !important;
  filter: contrast(1.12);
  background-color: transparent !important;
}

body.high-contrast .hero__media {
  margin-top: 0 !important;
  transform: none !important;
  border: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
}

body.high-contrast .hero__media::after {
  display: none;
}

body.high-contrast .hero__photo {
  -webkit-mask-image: none;
  mask-image: none;
}

body.high-contrast .header,
body.high-contrast .footer,
body.high-contrast .section--gray,
body.high-contrast .page-hero,
body.high-contrast .hero,
body.high-contrast .advantage,
body.high-contrast .card,
body.high-contrast .requisites,
body.high-contrast .platform-link,
body.high-contrast .review-card,
body.high-contrast .reviews__sources,
body.high-contrast .modal__dialog {
  background-color: #fff;
  border-color: #000;
}

body.high-contrast .header {
  border-bottom: 2px solid #000;
}

body.high-contrast .footer {
  border-top: 2px solid #000;
}

body.high-contrast .btn--primary,
body.high-contrast .btn--outline {
  background-color: #000;
  background-image: none;
  color: #fff;
  border-color: #000;
  font-size: 22px;
  padding: 14px 28px;
  border-radius: 24px;
  box-shadow: none;
  transform: none;
}

body.high-contrast .btn--outline:hover,
body.high-contrast .btn--primary:hover {
  background-color: #000;
  color: #fff;
  box-shadow: none;
  transform: none;
}

body.high-contrast .header {
  background-color: #fff;
  border-bottom: 2px solid #000;
  box-shadow: none;
}

body.high-contrast .header__logo img {
  filter: brightness(0) !important;
}

body.high-contrast .section-divider {
  background: linear-gradient(
    90deg,
    transparent 0%,
    #000 18%,
    #000 82%,
    transparent 100%
  );
}

body.high-contrast .nav__link,
body.high-contrast .header__phone {
  color: #000;
}

body.high-contrast .a11y-toggle {
  background: #000;
  background-image: none;
  border-color: #000;
  color: #fff;
  width: 48px;
  height: 48px;
  box-shadow: none;
  border-radius: 4px;
}

body.high-contrast .burger {
  border-color: #000;
  background: #fff;
}

body.high-contrast .burger__line {
  background-color: #000;
  height: 3px;
}

body.high-contrast .footer {
  background-color: #fff !important;
  border-top: 2px solid #000;
  color: #000 !important;
}

body.high-contrast .footer a,
body.high-contrast .footer__text,
body.high-contrast .footer__nav-title,
body.high-contrast .footer__nav-link,
body.high-contrast .footer__bottom,
body.high-contrast .footer__contact a,
body.high-contrast .footer__contact span {
  color: #000 !important;
}

body.high-contrast .footer__bottom {
  border-top-color: #000;
}

body.high-contrast .footer__map-container {
  border-color: #000;
}

body.high-contrast .nav__link {
  font-size: 22px;
  text-decoration: underline;
}

body.high-contrast .nav__link--active {
  font-weight: 700;
}

body.high-contrast .card {
  box-shadow: none !important;
}

body.high-contrast .card__photo,
body.high-contrast .map-placeholder,
body.high-contrast .advantage__icon {
  background-color: #fff;
  background-image: none;
  border: 2px solid #000;
  box-shadow: none !important;
  color: #000;
}

body.high-contrast .card__photo::before {
  filter: brightness(0);
  opacity: 1;
}

body.high-contrast .price-table th,
body.high-contrast .price-table td {
  border-color: #000;
  color: #000;
  font-size: 22px;
}

body.high-contrast .price-table th {
  background-color: #fff;
}

body.high-contrast .price-table td:last-child {
  color: #000;
}

body.high-contrast .section {
  padding: 48px 0;
}

body.high-contrast .burger {
  border-color: #000;
}

body.high-contrast .burger__line {
  background-color: #000;
  height: 3px;
}

body.high-contrast .footer__contact-icon,
body.high-contrast .footer__contact-icon--vk,
body.high-contrast .footer__contact-icon--yt,
body.high-contrast .footer__contact-icon--tt {
  color: #000 !important;
}

body.high-contrast .chat-widget__toggle {
  background: #000;
  box-shadow: none;
  border: 2px solid #000;
}

body.high-contrast .chat-widget__link {
  background: #000;
  box-shadow: none;
  border: 2px solid #000;
}

body.high-contrast .cookie-banner {
  background: #000;
  color: #fff;
  border-top: 2px solid #fff;
}

body.high-contrast .cookie-banner__text,
body.high-contrast .cookie-banner__text a {
  color: #fff;
}

body.high-contrast .cookie-banner__btn {
  background: #fff;
  color: #000;
  border: 2px solid #fff;
}
