.main-form-checkbox {
  min-height: 18px;
  padding-left: 25px;
}

.main-form-checkbox-checkmark {
  top: 2px;
  width: 16px;
  height: 16px;
  border: 1px solid #7b858f;
  border-radius: 3px;
  box-sizing: border-box;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.main-form-checkbox-input:checked ~ .main-form-checkbox-checkmark {
  background-color: var(--colorPrem);
  border-color: var(--colorPrem);
}

.main-form-checkbox-input:checked ~ .main-form-checkbox-checkmark::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  background: none;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.main-form-checkbox-input:focus-visible ~ .main-form-checkbox-checkmark {
  box-shadow: 0 0 0 3px rgba(96, 125, 36, 0.2);
}

.input__prem.has-error {
  border: 1px solid #d92d20;
  box-shadow: inset 0 0 0 1px #d92d20;
}

.input__prem.has-error:focus {
  border-color: #b42318;
  box-shadow: inset 0 0 0 1px #b42318;
}

.credit__form-slider-row.credit__form-slider-row-contact {
  padding: 2px 1px;
  box-sizing: border-box;
}

.main-form-checkbox.has-error .main-form-checkbox-checkmark {
  border-color: #d92d20;
  box-shadow: 0 0 0 1px #d92d20;
}

.car__types-form-grid > * {
  min-width: 0;
}

.car__types-form-grid .banner__form-item .input__prem {
  height: 37px;
  padding-right: 12px;
  padding-left: 12px;
  box-sizing: border-box;
}

.car__types-form-grid input[name="telephone"] {
  font-size: 14px;
}

.car__types-form-grid input[name="telephone"]::placeholder {
  font-size: 14px;
}

.privacy-policy {
  padding: 145px 0 80px;
}

.privacy-policy .crumbs {
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: 30px;
}

.privacy-policy .crumbs ul {
  display: flex;
  flex-wrap: wrap;
}

.privacy-policy__content {
  max-width: none;
  color: var(--textColor);
  line-height: 1.65;
}

.privacy-policy__layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: 56px;
  align-items: start;
}

.privacy-policy__nav {
  position: sticky;
  top: 110px;
  padding-left: 18px;
  border-left: 3px solid var(--colorPrem);
}

.privacy-policy__nav-title {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
}

.privacy-policy__nav a {
  display: block;
  padding: 5px 0;
  color: var(--textColor);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.privacy-policy__nav a:hover {
  color: var(--colorPrem);
}

.privacy-policy__body > p:first-of-type {
  font-size: 17px;
}

.privacy-policy__body h2 {
  scroll-margin-top: 110px;
  padding-top: 4px;
  border-top: 1px solid #e2e6e8;
}

.privacy-policy__contacts {
  margin: 18px 0 30px;
  padding: 20px 0 8px 20px;
  border-left: 3px solid #dfe7d0;
}

.privacy-policy__contacts p {
  margin-bottom: 8px;
}

.privacy-policy__revision {
  color: #66717b;
  font-size: 13px;
}

.privacy-policy__content h1 {
  max-width: 900px;
  margin: 0 0 38px;
  color: #252d33;
  font-size: 38px;
  line-height: 1.18;
  font-weight: 600;
}

.privacy-policy__content h2 {
  margin: 32px 0 14px;
  color: #30383f;
  font-size: 25px;
  line-height: 1.3;
  font-weight: 600;
}

.privacy-policy__content p,
.privacy-policy__content ul {
  margin: 0 0 14px;
}

.privacy-policy__content ul {
  padding-left: 22px;
}

@media (max-width: 767px) {
  .privacy-policy {
    padding: 105px 0 50px;
  }

  .privacy-policy__content h2 {
    font-size: 20px;
  }

  .privacy-policy__content h1 {
    margin-bottom: 26px;
    font-size: 28px;
  }

  .privacy-policy__layout {
    display: block;
  }

  .privacy-policy__nav {
    position: static;
    margin-bottom: 30px;
  }

  .privacy-policy__body > p:first-of-type {
    font-size: 16px;
  }
}

.cookie-notice {
  display: none;
  position: fixed;
  z-index: 99980;
  left: 20px;
  bottom: 20px;
  width: min(390px, calc(100vw - 40px));
  padding: 18px;
  border: 1px solid #dfe4e7;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 28, 34, .18);
}

.cookie-notice.is-visible {
  display: block;
}

.cookie-notice__title {
  margin-bottom: 6px;
  color: #252d33;
  font-size: 17px;
  font-weight: 600;
}

.cookie-notice__text {
  margin-bottom: 14px;
  color: #59636c;
  font-size: 13px;
  line-height: 1.45;
}

.cookie-notice__text a {
  color: var(--colorPrem);
  text-decoration: underline;
}

.cookie-notice .btn__prem {
  min-height: 38px;
  padding: 8px 20px;
}

.floating-callback {
  position: fixed;
  z-index: 99970;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--colorPrem);
  color: #fff;
  box-shadow: 0 6px 18px rgba(49, 70, 17, .32);
}

.floating-callback::before,
.floating-callback::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 2px solid var(--colorPrem);
  border-radius: 50%;
  animation: callback-pulse 2s ease-out infinite;
}

.floating-callback::after {
  animation-delay: 1s;
}

.floating-callback svg {
  width: 24px;
  height: 24px;
}

@keyframes callback-pulse {
  0% { opacity: .65; transform: scale(1); }
  75%, 100% { opacity: 0; transform: scale(1.55); }
}

@media (prefers-reduced-motion: reduce) {
  .floating-callback::before,
  .floating-callback::after {
    animation: none;
  }
}

@media (max-width: 767px) {
  .cookie-notice {
    left: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .floating-callback {
    right: 16px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }

  .cookie-notice.is-visible ~ .floating-callback {
    bottom: 190px;
  }
}

.error-page {
  min-height: 100vh;
  padding: 145px 0 70px;
  background: #f5f6f6;
}

.error-page__inner {
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(320px, 1fr);
  gap: 50px;
  align-items: center;
}

.error-page__code {
  margin-bottom: 12px;
  color: var(--colorPrem);
  font-size: 84px;
  line-height: 1;
  font-weight: 700;
}

.error-page h1 {
  margin: 0 0 16px;
  color: #252d33;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 600;
}

.error-page__text {
  max-width: 520px;
  margin-bottom: 28px;
  color: #59636c;
  font-size: 17px;
  line-height: 1.55;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-page__actions a {
  min-width: 190px;
}

.error-page__image {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .error-page {
    padding: 110px 0 50px;
  }

  .error-page__inner {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
    align-items: stretch;
  }

  .error-page__image {
    max-height: 210px;
  }

  .error-page__code {
    font-size: 58px;
  }

  .error-page h1 {
    font-size: 28px;
  }

  .error-page__text {
    font-size: 15px;
  }

  .error-page__actions a {
    width: 100%;
  }
}
.packaging__btn .btn__item.is-disabled {
    opacity: .55;
}

.packaging__item-name .main-form-checkbox-checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #7b858f;
    border-radius: 3px;
    background: #fff;
    box-sizing: border-box;
}

.fancybox-slide--html .popup__credit.fancybox-content,
.fancybox-slide--html .popup__feedback.fancybox-content {
    padding-top: 56px;
}

.fancybox-slide--html .popup__credit .fancybox-close-small,
.fancybox-slide--html .popup__feedback .fancybox-close-small {
    top: 8px;
    right: 8px;
}

.packaging__item-name .main-form-checkbox-input:checked ~ .main-form-checkbox-checkmark {
    background: var(--colorPrem);
    border-color: var(--colorPrem);
}

.packaging__item-name .main-form-checkbox-input:checked ~ .main-form-checkbox-checkmark::after {
    top: 3px;
    left: 7px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    background: none;
    background-image: none;
    transform: rotate(45deg);
    box-sizing: border-box;
}

.popup__compare-empty {
    padding: 34px;
    text-align: center;
}

.popup__compare-empty .popup__thx-title {
    margin-bottom: 12px;
}

.popup__compare-empty .popup__compare-text {
    margin-bottom: 24px;
    color: var(--textColor);
    line-height: 1.5;
}

.site-page {
    padding-top: 145px;
}

.site-page .page-header--model {
    display: block;
}

.site-page .page-header--model .crumbs {
    position: relative;
    z-index: 2;
    display: block;
    margin-bottom: 28px;
}

.site-page .page-header--model .crumbs ul {
    display: flex;
    flex-wrap: wrap;
}

.site-page .page-header-section {
    display: block;
    margin-bottom: 28px;
}

.site-page .page-header-section h1 {
    display: block;
    margin: 0;
    color: #252d33;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 600;
}

.compare-page {
    padding: 0 0 70px;
}

.compare-page .back_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-bottom: 24px;
    padding: 0 24px;
    border: 1px solid var(--colorPrem);
    color: var(--colorPrem);
    text-decoration: none;
}

.compare-page .resp-table_overflow {
    overflow-x: auto;
    border: 1px solid #dfe4e7;
    border-radius: 6px;
}

.compare-page .teh {
    min-width: 720px;
    border-collapse: collapse;
    background: #fff;
}

.compare-page .teh td {
    min-width: 180px;
    padding: 15px 18px;
    border-right: 1px solid #e5e9eb;
    border-bottom: 1px solid #e5e9eb;
    color: var(--textColor);
    vertical-align: middle;
}

.compare-page .teh td:first-child {
    min-width: 260px;
}

.compare-page .teh thead td {
    position: static;
    background: #30383f;
    color: #fff;
    font-weight: 600;
}

.compare-page .teh thead {
    display: table-header-group;
    visibility: visible;
}

.compare-page .teh thead tr {
    display: table-row;
    visibility: visible;
}

.compare-page .teh .option_title {
    background: #edf2e4;
    color: #405719;
    font-size: 17px;
    font-weight: 600;
}

.compare-page .teh tbody tr:not(:has(.option_title)):hover td {
    background: #f7f8f8;
}

.compare-page .teh b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--colorPrem);
    color: #fff;
}

@media (max-width: 767px) {
    .site-page {
        padding-top: 105px;
    }

    .site-page > .container,
    .site-page .page-header > .container,
    .site-page .page-header-section.container {
        padding-right: 15px;
        padding-left: 15px;
    }

    .site-page .page-header--model .crumbs {
        margin-bottom: 18px;
    }

    .site-page .page-header--model .crumbs ul {
        align-items: flex-start;
        font-size: 12px;
        line-height: 1.45;
    }

    .site-page .page-header-section {
        margin-bottom: 20px;
    }

    .site-page .page-header-section h1 {
        font-size: 26px;
        overflow-wrap: anywhere;
    }

    .compare-page {
        padding-bottom: 45px;
    }

    .compare-page .resp-table_overflow {
        width: 100%;
        margin: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--colorPrem) #e5e9eb;
    }

    .compare-page .teh {
        min-width: 680px;
    }

    .compare-page .teh td {
        min-width: 150px;
        padding: 12px;
        font-size: 14px;
        line-height: 1.35;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .compare-page .teh td:first-child {
        position: sticky;
        left: 0;
        z-index: 1;
        min-width: 190px;
        max-width: 190px;
        background: #fff;
    }

    .compare-page .teh thead td:first-child {
        z-index: 3;
        background: #30383f;
    }

    .compare-page .teh .option_title {
        position: static;
        max-width: none;
        background: #edf2e4;
    }

    .footer {
        padding: 24px 0 18px;
    }

    .footer .header__desktop-inner {
        margin-bottom: 18px;
        padding: 0 15px 18px;
        border-bottom: 1px solid rgba(255, 255, 255, .35);
    }

    .footer .header__contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 18px;
    }

    .footer .header__contact-item {
        width: 100%;
        color: #fff;
        font-size: 13px;
        line-height: 1.4;
    }

    .footer .header__inner {
        flex-wrap: wrap;
        gap: 14px;
    }

    .footer .header__logo img {
        display: block;
        max-width: 105px;
    }

    .footer .header__inner .btn__opacity {
        max-width: calc(100% - 120px);
        min-width: 0;
    }

    .footer .header__inner .btn__opacity span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .footer .header__nav.header__nav-mobil {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        margin: 4px 0 0;
        gap: 0;
    }

    .footer .header__nav-mobil .header__nav-item {
        padding: 9px 4px;
        color: #fff;
        line-height: 1.25;
    }

    .footer .header__nav-item.active::after {
        display: none;
    }

    .footer .copyright {
        padding: 0 15px;
        color: #fff;
        font-size: 11px;
        line-height: 1.5;
    }

    .footer .copyright a {
        color: #fff;
    }
}
