.model-text-block {
  line-height: 1.5;
}

.model-text-block > *:first-child {
  margin-top: 0;
}

.model-text-block > *:last-child {
  margin-bottom: 0;
}

.model-text-block p {
  margin-top: 24px;
  margin-bottom: 24px;
}

.pdf-button-block {
  gap: 16px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.about-page.page .container {
  box-sizing: border-box;
}

.wp-block-embed {
  margin-top: 48px;
  margin-bottom: 48px;
}

.wp-block-embed iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.input-data br {
  display: none;
}

.input-data > p {
  width: 100%;
  position: relative;
  margin: 0 !important;
}

.personal-data textarea,
.personal-data input {
  box-sizing: border-box;
}

.test-drive-steps .btn {
  margin: 0;
  width: 100%;
}

.wpcf7-spinner {
  display: none !important;
}

.wpcf7-not-valid-tip {
  margin-top: 4px;
  font-size: 14px;
}

.wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 10px 16px;
  line-height: 1.5;
  font-size: 14px;
}

.wpcf7-form-control-wrap.focused + .label {
  top:7px;
  bottom:9px;
  left:15px;
  font-size:12px;
  opacity:1;
}

.custom-form-size {
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

.custom-form-size .ts-control {
  min-width: 0;
}

.contacts-page {
  padding: 100px 0;
}

.contacts__content {
  display: flex;
  column-gap: 60px;
}

.contacts__left {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.contacts__phones,
.contacts__address {
  margin-bottom: 40px;
}

.contacts__phone {
  display: flex;
  align-items: center;
  font-weight: 500;
  line-height: 1.666;
  font-size: 24px;
}

.contacts__phone a {
  text-decoration: none;
  color: #000;
}

.contacts__phone a:hover {
  color: #c53d3d;
}

.contacts__phone span {
  margin-left: 12px;
  line-height: 1.3;
  font-weight: 500;
  font-size: 14px;
  color: #c53d3d;
}

.contacts__address span {
  display: block;
  font-weight: 500;
  line-height: 1.333;
  font-size: 24px;
}

.contacts__scl {
  margin-top: auto;
}

.contacts__heading {
  margin: 0;
  margin-bottom: 30px;
}

.contacts__small {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #8A8A8A;
}

.contacts__map {
  max-width: 700px;
  flex: 1 0 700px;
  width: 700px;
  aspect-ratio: 700 / 483;
}

.contacts__map iframe {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.contacts__scl-list {
  display: flex;
  column-gap: 12px;
  margin-top: 12px;
}

.contacts__scl-link {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 60px;
  width: 60px;
  flex: 1 0 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(205,86,87,.12);
  text-decoration: none;
  transition: background .25s ease-in-out;
}

.contacts__scl-link:hover {
  background: rgba(205,86,87);
}

.contacts__scl-link svg {
  width: auto;
  height: 24px;
}

.contacts__scl-link path {
  fill: #CD5657;
  transition: fill .25s ease-in-out;
}

.contacts__scl-link:hover path {
  fill: #fff;
}

@media(min-width: 992px) and (max-width: 1199.98px) {
  .contacts__map {
    max-width: 540px;
    flex: 1 0 540px;
    width: 540px;
  }

  .contacts__scl-link {
    max-width: 50px;
    width: 50px;
    flex: 1 0 50px;
    height: 50px;
  }

  .contacts__scl-link svg {
    height: 20px;
  }

  .contacts__phone,
  .contacts__address span {
    font-size: 20px;
  }
}

@media(max-width: 991.98px) {
  .contacts__content {
    display: block;
  }

  .contacts__map {
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    flex: 1 0 100%;
    aspect-ratio: 2 / 1;
  }

  .contacts-page {
    padding: 50px 0;
  }
}

@media(max-width: 767.98px) {
  .contacts__map {
    margin-left: -12px;
    margin-right: -12px;
    aspect-ratio: 375 / 412;
  }

  .contacts__map iframe {
    width: calc(100% + 24px);
    border-radius: 0;
  }

  .contacts-page {
    padding-top: 36px;
    padding-bottom: 0;
  }

  .contacts__phone,
  .contacts__address span {
    font-size: 20px;
  }

  .contacts__heading {
    font-size: 36px;
  }
}

.dealer-map-types {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  min-height: 600px;
  display: none;
  margin-top: 50px;
}

.dealer-map-types.active {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.ts-control, .ts-wrapper.single.input-active .ts-control {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 16px 12px;
  padding: 15px;
  min-width: 350px;
  height: 50px;
  font-weight: 400;
  font-size: 16px;
  color: #525252;
}

.ts-control > input, .ts-dropdown, .ts-control, .ts-control input {
  font-weight: 400;
  font-size: 16px;
  color: #525252;
}

.ts-dropdown .option, .ts-dropdown .optgroup-header, .ts-dropdown .no-results, .ts-dropdown .create {
  padding: 8px;
}

.ts-dropdown {
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  .ts-wrapper {
      width: 100%;
  }

  .ts-control, .ts-wrapper.single.input-active .ts-control {
      min-width: auto;
      width: 100%;
  }

  .wpcf7-form {
    width: 100% !important;
  }
}

.product.is_new .img {
  position: relative;
}
.product.is_new .img:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 10%;
  background: url("/wp-content/themes/ulytauauto/images/new-jac.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 80px;
  height: 35px;
  z-index: 1;
}
@media  screen and (max-width:768px) {
  .product.is_new .img:after {
      height: 25px;
      top: 0;
  }
}