.hidden {
  display: none;
}

span.error{
  color: red!important;
  font-size: 11px;
}

.header__logo{
  text-decoration: none;
}


.nowrap-del {
  text-decoration: line-through;
  color: #607D8B;
}

.js-result-car {
  display: flex;
  justify-content: space-between;
}

.header__logo img {
  max-height: 47px;
}

@media (max-width: 767.98px) {
  .card-body .text {
    font-size: 14px;
  }
  .js-result-car {
    display: block;
  }
  .js-result-car > * {
    display: block;
  }
}

.compire-item__checklist__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 20px;
}

.compare-checkbox {
  position: relative;
  width: 24px;
  height: 24px;
}

.compare-checkbox input[type="checkbox"] {
  visibility: hidden;
}

.compare-checkbox input[type="checkbox"]:checked + label {
  background-color: #14191B;
  border-color: #14191B;
}
.compare-checkbox label {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  height: 24px;
  left: 0;
  position: absolute;
  top: 0;
  width: 24px;
}

.compare-checkbox input[type="checkbox"]:checked + label:after {
  opacity: 1;
}
.compare-checkbox label:after {
  border: 2px solid #fff;
  border-top: none;
  border-right: none;
  content: "";
  height: 6px;
  left: 6px;
  opacity: 0;
  position: absolute;
  top: 6px;
  transform: rotate(-45deg);
  width: 12px;
}

.section-404 {
    justify-content: center;
    align-items: center;
    display: flex;
    height: calc(100vh - 313px);
}

.section-404 .container {
    display: flex;
    gap: 36px;
    flex-direction: column;
}

.buttons-404 {
    width: fit-content;
}

@media (min-width: 1200px) {
  .fs-1 {
      font-size: 1.8rem !important;
  }
}
@media (max-width: 1200px) {
  .fs-1 {
      font-size: 1.4rem !important;
  }
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); color: red; }
  75% { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}

 .form button.inactive {
  background: #9ca5b3;
  cursor: not-allowed;
  border: 1px solid transparent;
}

.checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  &:hover{
     & .checkmark {
  
  border-color: green;
}
  }
}

.custom-checkbox {
  display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: sans-serif;
      cursor: pointer;
      user-select: none;
      font-size: 16px;
      background: transparent;
}

.custom-checkbox input {
  opacity: 0;
  width: 0;
  height: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid #AF9D89;
  position: relative;
  transition: all 0.2s ease;
  cursor: pointer;
}

.checkmark-group {
  display: flex;
}

.custom-checkbox input:checked + .checkmark {
  background-color: transparent;
  border-color: green;
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked + .checkmark::after {
  display: block;
}

.custom-checkbox .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  top: 2px;
  left: 6px;
  width: 6px;
  height: 12px;
  border: solid green;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.agreement-text {
  font-size: 12px;
  line-height: 15px;
  color: #5E5E64;
  cursor: pointer;
  
}
 .agreement-text:focus {
 outline: none !important;
 border: 0 !important;
  
}

.agreement-text a {
  color: #5E5E64;
  text-decoration: underline;
  &:hover{
    opacity: 0.8;
  }
}

.highlighted {
  color: red !important;
  animation: shake 0.4s;
  
  & a{
    color: red;
  }
}


.card__title__wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    padding-top: 0.75rem;
    padding-left: 0.75rem;
}

.card__markname {
    color: var(--black, #000);
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.card__name {
    color: var(--black, #000);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.card {
    border: 1px solid var(--grey-grey-light, #D9D9D9);
    background: #fff;
}
.text {
    display: flex;
    justify-content: space-between;
    color: var(--grey-grey-dark, #2F2F2F);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 0.975rem */
}

.text__additional {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    color: var(--grey-grey-dark, #2F2F2F);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 0.975rem */
}

.text__additional .text-nowrap.nowrap-del {
    color: var(--grey-grey-medium, #909090);
    font-size: 0.6875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 110%; /* 0.75625rem */
    text-decoration-line: line-through;
}
.text-nowrap.blue {
    color: var(--Color-Blue, #365AE9);
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 0.75rem */
}


.text__additional .text-nowrap.blue {
    color: var(--grey-grey-dark, #2F2F2F);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 0.75rem */
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.js-message-in {
    border: none;
}

.main__card-body-messages-group-messages .model {
    border: none;
    display: flex;
    padding: 1.125rem 1.125rem 1.125rem 0;
    justify-content: space-between;
    background: var(--BG, #F5F5F5);
    align-items: center;
    flex-direction: row;
    width: 100%;
    max-width: 32.875rem;
}

.main .model img {
    max-width: 14.25rem;
}

.card-body .model .js-car-model {
    color: var(--black, #000);
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 130%; /* 1.95rem */
    letter-spacing: -0.015rem;
}

.model .card-body .price__wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1.125rem;
}
.model .card-body .text-primary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: var(--black, #000);
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.model .card-body .price-item:last-child .text-primary {
    display: inline-block;
}
.model .card-body .price-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.model .card-body .nowrap-del {
    color: var(--grey-grey-medium, #909090);
    text-decoration: line-through;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 0.975rem */
}

.model .card-body .js-car-price {
    color: var(--black, #000);
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.model .card-body .text-secondary {
    color: var(--black, #000);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 0.975rem */
}

.model .card-body .credit-main-car-info__attention {
    align-items: flex-start;
}
.model .card-body {
    padding: 0;
    gap: 2rem;
    margin-left: 1rem;
}

.card-body__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-control::placeholder {
        color: var(--grey-grey-medium, #909090);
}
.form-control {
    height: 2.5rem;
    padding: 0.5rem 0.75rem;
    color: #000;
    align-items: center;
    gap: 0.625rem;
    border: 1px solid var(--black, #000);
    align-self: stretch;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-radius: 0;
    background: transparent;
}

.form__wrapper {
    border: none;
    background: var(--BG, #F5F5F5);
    display: flex;
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.form__title {
    color: var(--black, #000);
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 130%; /* 1.95rem */
    letter-spacing: -0.015rem;
}

.compire-item__checklist__item span {
    color: var(--grey-grey-dark, #2F2F2F);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.compire-item__checklist__item {
    padding-bottom: 0;
}
.form__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.form__footer .checkbox-wrap {
    margin-top: 0.5rem;
}
.form__footer {
    margin-top: 1.5rem;
}

.custom-checkbox input:checked + .checkmark {
    border-color: #000;
}

.custom-checkbox .checkmark::after {
    border-color: #000;
}

.main__card  {
    border-radius: 0;
    background: var(--white, #FFF);
    box-shadow: 4px 20px 34px 0 rgba(0, 0, 0, 0.05);
}

.main__card-body {
    padding: 3.5rem 5.5rem 3rem 5.5rem;
}

.benefits__item  span {
    width: fit-content;
    height: fit-content;
    max-width: none;
    max-height: none;
    min-height: auto;
    min-width: auto;
    color: var(--white, #FFF);
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    
}

.benefits__item--wide {
    padding: 0.5rem 1.125rem;
    justify-content: center;
    align-items: center;
}

.benefits__item {
    padding: 0.75rem;
    justify-content: flex-end;
    background-image: var(--background-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.main__card-header-content .fs-1 {
    color: var(--black, #000);
    font-size: 1.5rem !important;
    font-style: normal;
    font-weight: 700;
    line-height: 130%; /* 1.95rem */
    letter-spacing: -0.015rem;
    max-width: 600px;
}
.main__card-header-content .fs-4 {
    color: var(--black, #000);
    font-size: 3.6875rem !important;
    font-style: normal;
    font-weight: 700;
    line-height: 110%; /* 4.05625rem */
    margin-bottom: 0;
    letter-spacing: -0.07375rem;
    max-width: 650px;
}

.main__card-header-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-basis: 0;
}

.main__card-header {
    display: flex;
    padding: 3.5rem 1.5rem 1.125rem 1.5rem;
    align-items: flex-start;
    gap: 0.75rem;
    border-bottom: 1px solid var(--grey-grey-light, #D9D9D9);
    background: #fff;
    flex-direction: row;
    flex-wrap: nowrap;
}

.main__card-header-asset img {
    margin: 0;
    height: 216px;
    object-fit: cover;
}

.main__card-header-asset {
    margin: 0;
}

@media (max-width: 1100px) {
    .main__card-header-content .fs-4 {
        color: var(--black, #000);
        font-size: 1.8125rem !important;
        font-style: normal;
        font-weight: 700;
        line-height: 110%; /* 1.99375rem */
        letter-spacing: -0.01813rem;
    }
    .main__card-header-content .fs-1 {
        color: var(--black, #000);
        font-size: 1.4375rem !important;
        font-style: normal;
        font-weight: 700;
        line-height: 120%; /* 1.725rem */
        letter-spacing: -0.01438rem;
    }
    .main__card-header {
        gap: 1.12rem;
        flex-direction: column;
    } 
    
    .main__card-header-content {
        gap: 1.12rem;
    }
    
    .main__card-header {
        padding: 2rem 0.5rem;
        padding-bottom: 0;
        border: none;
    }

    .main__card-header-asset {
        width: 100%;
    }

    .main__card-body {
        padding: 1.5rem 0.5rem 2rem 0.5rem;
    }
    .text {
        flex-direction: column;
    }

    .main__card-body-messages-group {
        margin-left: 0;
    }

    .main__card-body-messages-group-messages .model {
        flex-direction: column;
    }

    .main__card-body-form-message .row {
        margin: 0;
    }
}