@charset "UTF-8";
/* Reset and base styles  */
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

html,
body {
  scrollbar-gutter: stable;
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Links */
a, a:link, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */
aside, nav, footer, header, section, main {
  display: block;
}

h1, h2, h3, h4, h5, h6, p {
  font-size: inherit;
  font-weight: inherit;
}

ul, ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img, svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */
input, textarea, button, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button, input[type=submit] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

body {
  background: var(--belyy);
  font-family: var(--font-family);
}

.none {
  display: none !important;
}

@media screen and (max-width: 1150px) {
  .desktop-none {
    display: flex;
    z-index: 2;
    margin-top: 40px;
  }
}
@media screen and (min-width: 1151px) {
  .desktop-none {
    display: none;
    z-index: 0;
  }
}
@media screen and (max-width: 480px) {
  .desktop-none {
    margin-bottom: 250px;
  }
}
@media screen and (max-width: 410px) {
  .desktop-none {
    width: 100%;
    align-items: center;
    justify-content: center;
  }
}

@media screen and (max-width: 1150px) {
  .mobile-none {
    display: none;
    z-index: 0;
  }
}
@media screen and (min-width: 1151px) {
  .mobile-none {
    display: flex;
    z-index: 2;
  }
}

.booking {
  max-width: 856px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  margin: 80px auto;
}
.booking .swiperBooking {
  max-width: 100%;
  width: 100%;
}
.booking .swiperBooking .swiper-slide-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.booking .swiperBooking .swiper-slide-container .title {
  font-family: var(--bold-family);
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  color: var(--black);
  text-decoration: none;
}

.car {
  max-width: 1296px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
}
@media screen and (min-width: 1351px) {
  .car {
    grid-template-columns: 410px 1fr;
    display: grid;
  }
}
@media screen and (max-width: 1350px) and (min-width: 481px) {
  .car {
    padding: 0 20px;
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 480px) {
  .car {
    padding: 0 15px;
    display: flex;
    flex-direction: column-reverse;
  }
}
@media screen and (min-width: 1351px) {
  .car:first-of-type .car__info-benefits {
    margin-top: 10px;
  }
}
@media screen and (max-width: 1350px) {
  .car:first-of-type .car__info-benefits {
    margin-top: unset;
  }
}
.car:last-of-type {
  margin-bottom: 80px;
}
.car__info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: start;
  width: 100%;
  padding: 30px;
  background-color: var(--black);
}
@media screen and (max-width: 480px) {
  .car__info:not(.xl-none) {
    padding: 30px 10px;
  }
}
@media screen and (max-width: 1350px) {
  .car__info {
    max-width: 875px;
    margin: 10px auto;
  }
}
@media screen and (min-width: 450px) {
  .car__info {
    min-width: 410px;
  }
}
@media screen and (max-width: 1350px) {
  .car__info-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 auto;
  }
}
@media screen and (max-width: 1350px) and (min-width: 641px) {
  .car__info-top {
    width: -moz-fit-content;
    width: fit-content;
  }
}
@media screen and (max-width: 641px) {
  .car__info-top {
    width: 100%;
  }
}
.car__info-top span {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 19.6px;
  color: var(--white);
}
.car__info-top span:nth-child(1) {
  text-transform: uppercase;
}
.car__info-top p {
  font-family: var(--bold-family), sans-serif;
  line-height: 1;
  color: var(--white);
}
@media screen and (min-width: 411px) {
  .car__info-top p {
    font-size: 38px;
    max-width: 300px;
  }
}
@media screen and (max-width: 410px) {
  .car__info-top p {
    font-size: 28px;
  }
}
.car__info-top p:not(.price) {
  margin-bottom: 20px;
}
.car__info-top p.price {
  line-height: 1.2;
}
@media screen and (min-width: 411px) {
  .car__info-top p.price {
    font-size: 48px;
  }
}
@media screen and (max-width: 410px) {
  .car__info-top p.price {
    font-size: 38px;
  }
}
.car__info-top p.price sup {
  font-family: var(--font-family), sans-serif;
  font-size: 18px;
  line-height: 19.8px;
}
.car__info-benefits {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--white);
  flex-grow: 1;
}
.car__info-benefits li {
  position: relative;
  background-color: rgba(255, 255, 255, 0.1019607843);
  padding: 9.5px 6px;
}
.car__info-benefits li .icons-benefits-check {
  position: absolute;
}
.car__info-benefits li p {
  margin-left: 32px;
  font-size: 16px;
  line-height: 16.8px;
}
.car__swiper {
  max-width: 875px;
}
@media screen and (max-width: 480px) {
  .car__swiper {
    margin: 0;
  }
}
.car__swiper .swiper-slide {
  padding-bottom: 10px;
}
.car__swiper .swiper-slide img {
  height: 100%;
}
.car__swiper .swiper-slide:last-child {
  background-color: var(--gray);
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.car__swiper .swiper-slide:last-child .offer__timeline-circle {
  stroke: var(--white);
}
.car__swiper .swiper-slide:last-child .discount__time-container-deadline .offer__timeline-line {
  border-color: var(--green);
  border-width: 2px;
  border-radius: 100%;
}
.car__swiper .swiper-slide:last-child .discount__time-container-deadline {
  margin-top: 20px;
}
.car__swiper .swiper-slide:last-child .discount__time-text {
  max-width: 482px;
  width: 100%;
}
@media screen and (max-width: 660px) {
  .car__swiper .swiper-slide:last-child .discount__time-text {
    margin: unset;
  }
}
@media screen and (max-width: 550px) {
  .car__swiper .swiper-slide:last-child .discount__time-text {
    max-width: 352px;
  }
}
@media screen and (max-width: 420px) {
  .car__swiper .swiper-slide:last-child .discount__time-text {
    margin-left: 10px;
  }
}
.car__swiper .swiper-slide:last-child .discount__time-text p {
  max-width: 250px;
  font-size: 38px;
  font-family: var(--bold-family);
}
@media screen and (max-width: 768px) {
  .car__swiper .swiper-slide:last-child .discount__time-text p {
    font-size: 26px;
  }
}
.car__swiper .swiper-slide:last-child .book__auto-form {
  background-color: transparent;
  max-width: 482px;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-top: 10px;
  margin-bottom: 10px;
}
@media screen and (max-width: 660px) {
  .car__swiper .swiper-slide:last-child .book__auto-form {
    display: none;
  }
}
.car__swiper .swiper-pagination {
  position: relative;
  bottom: var(--swiper-pagination-bottom, 2px);
  display: flex;
  height: 2px;
}
.car__swiper .swiper-pagination .swiper-pagination-bullet {
  background-color: #F8F9F9;
  opacity: 1;
  width: 20%;
  height: 2px;
}
.car__swiper .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--swiper-pagination-color, var(--green));
}

@media screen and (min-width: 1351px) {
  .small-none {
    display: flex;
    flex-direction: column;
  }
}
@media screen and (max-width: 1350px) {
  .small-none {
    display: none;
  }
}

@media screen and (min-width: 1351px) {
  .xl-none {
    display: none;
  }
}
@media screen and (max-width: 1350px) {
  .xl-none {
    display: flex;
    flex-direction: column;
  }
}
@media screen and (max-width: 480px) {
  .xl-none.car__info {
    padding: 10px;
  }
}

.book__auto {
  max-width: 1920px;
  width: 100%;
  height: 540px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}
@media screen and (max-width: 768px) {
  .book__auto {
    height: 500px;
  }
}
@media screen and (max-width: 480px) {
  .book__auto {
    height: 750px;
  }
}
.book__auto-background {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.book__auto-background img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (min-width: 1351px) {
  .book__auto-background img {
    -o-object-position: right;
       object-position: right;
  }
}
@media screen and (max-width: 1350px) and (min-width: 769px) {
  .book__auto-background img {
    -o-object-position: unset;
       object-position: unset;
  }
}
@media screen and (max-width: 768px) {
  .book__auto-background img {
    -o-object-position: right;
       object-position: right;
  }
}
@media screen and (max-width: 480px) {
  .book__auto-background img {
    -o-object-fit: cover;
       object-fit: cover;
    width: 100%;
  }
}
.book__auto-container {
  max-width: 1296px;
  width: 100%;
  margin: auto;
  display: flex;
}
@media screen and (min-width: 1351px) {
  .book__auto-container {
    justify-content: flex-end;
  }
}
@media screen and (max-width: 1350px) {
  .book__auto-container {
    justify-content: center;
  }
}
@media screen and (max-width: 480px) {
  .book__auto-container {
    align-items: flex-end;
    height: 100%;
    padding-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
}
.book__auto-form {
  position: relative;
  z-index: 1;
  background-color: var(--black);
  max-width: 416px;
  width: 100%;
  padding: 30px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.book__auto-form .form-input {
  border: 1px solid var(--white);
  outline: none;
  padding: 16px 20px;
}
.book__auto-form .form-input:first-of-type {
  margin-top: 30px;
}
.book__auto-form .form-input::-moz-placeholder {
  color: var(--white);
}
.book__auto-form .form-input::placeholder {
  color: var(--white);
}

.form-text {
  display: flex;
  flex-direction: column;
}
.form-text .title {
  font-family: var(--bold-family);
  line-height: 1;
  text-transform: uppercase;
}
@media screen and (min-width: 769px) {
  .form-text .title {
    font-size: 38px;
  }
}
@media screen and (max-width: 768px) {
  .form-text .title {
    font-size: 24px;
  }
}
.form-text .title-small {
  font-size: 26px;
  font-family: var(--bold-family);
  line-height: 1;
  text-transform: uppercase;
}
.form-text .subtitle {
  font-size: 16px;
  line-height: 16.8px;
  margin-top: 10px;
}

.checkbox {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  font-size: 10px;
  line-height: 12.25px;
}
.checkbox a {
  text-decoration: underline;
  color: var(--white);
}

.traid-in {
  max-width: 1920px;
  width: 100%;
  background-color: var(--gray);
  margin: auto;
  padding: 120px 0 80px;
  color: var(--white);
}
@media screen and (max-width: 410px) {
  .traid-in {
    padding: 60px 0;
  }
}
.traid-in-container {
  max-width: 1296px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: auto;
}
.traid-in-container .btn {
  margin: auto;
}
@media screen and (max-width: 1350px) and (min-width: 411px) {
  .traid-in-container {
    padding: 0 20px;
  }
}
@media screen and (max-width: 410px) {
  .traid-in-container {
    padding: 0 15px;
  }
}
.traid-in-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 1200px) {
  .traid-in-top {
    flex-direction: column;
    gap: 20px;
  }
}
.traid-in-top .title {
  font-family: var(--bold-family);
  line-height: 1;
  max-width: 586px;
  text-transform: uppercase;
}
@media screen and (max-width: 1200px) {
  .traid-in-top .title {
    text-align: center;
  }
}
@media screen and (min-width: 411px) {
  .traid-in-top .title {
    font-size: 48px;
  }
}
@media screen and (max-width: 410px) {
  .traid-in-top .title {
    font-size: 24px;
    text-align: left;
  }
}
.traid-in-benefits {
  display: flex;
}
@media screen and (max-width: 1150px) {
  .traid-in-benefits {
    flex-direction: column;
    align-items: center;
  }
}
.traid-in-benefits .item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px;
  max-width: 432px;
  width: 100%;
  height: 400px;
  position: relative;
}
@media screen and (max-width: 410px) {
  .traid-in-benefits .item {
    height: 260px;
  }
}
.traid-in-benefits .item-background {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
.traid-in-benefits .item-background::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7490196078);
}
.traid-in-benefits .item-background img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
.traid-in-benefits .item .number {
  position: relative;
  z-index: 1;
  font-family: var(--bold-medium-family);
  font-size: 64px;
  line-height: 1;
}
.traid-in-benefits .item .title {
  text-transform: uppercase;
  z-index: 1;
}
@media screen and (min-width: 411px) {
  .traid-in-benefits .item .title {
    font-size: 20px;
    line-height: 24px;
  }
}
@media screen and (max-width: 410px) {
  .traid-in-benefits .item .title {
    font-size: 16px;
    line-height: 19.2px;
  }
}

.benefits {
  max-width: 1296px;
  width: 100%;
  margin: 80px auto;
  position: relative;
  display: flex;
  padding: 60px 40px;
}
@media screen and (min-width: 1150px) {
  .benefits {
    height: 494px;
    overflow: hidden;
  }
}
@media screen and (max-width: 1150px) {
  .benefits {
    margin: 0 auto;
    flex-direction: column;
    padding: 60px 0;
    height: 100%;
  }
}
.benefits-background {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
.benefits-background::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.benefits-background img {
  -o-object-position: right -120px;
     object-position: right -120px;
  transform: scale(-1, 1);
  z-index: 0;
}
@media screen and (max-width: 1150px) {
  .benefits-background img {
    -o-object-position: right 0;
       object-position: right 0;
    -o-object-fit: cover;
       object-fit: cover;
    height: 100%;
  }
}
@media screen and (max-width: 410px) {
  .benefits-background img {
    transform: none;
  }
}
.benefits-content {
  display: flex;
  color: var(--white);
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}
@media screen and (max-width: 1350px) and (min-width: 411px) {
  .benefits-content {
    padding: 0 20px;
  }
}
@media screen and (max-width: 410px) {
  .benefits-content {
    padding: 0 15px;
  }
}
@media screen and (max-width: 1150px) {
  .benefits-content {
    flex-direction: column;
    align-items: center;
  }
}
.benefits-content-text {
  position: relative;
  z-index: 2;
  max-width: 486px;
  width: 100%;
}
@media screen and (max-width: 1150px) {
  .benefits-content-text {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 320px;
  }
}
@media screen and (max-width: 410px) {
  .benefits-content-text {
    max-width: unset;
  }
}
.benefits-content-text .subtitle {
  font-size: 16px;
  line-height: 22.4px;
  margin-top: 20px;
  margin-bottom: 82px;
}
@media screen and (max-width: 1150px) {
  .benefits-content-text .subtitle {
    margin-bottom: 20px;
    text-align: center;
  }
}
@media screen and (max-width: 410px) {
  .benefits-content-text .subtitle {
    text-align: left;
  }
}
.benefits-content-text .title {
  font-family: var(--bold-family);
  font-size: 38px;
  line-height: 1;
  text-transform: uppercase;
}
@media screen and (max-width: 1150px) {
  .benefits-content-text .title {
    text-align: center;
  }
}
@media screen and (max-width: 410px) {
  .benefits-content-text .title {
    font-size: 28px;
    text-align: left;
  }
}
.benefits-content-text .btn {
  margin: auto;
}
.benefits-content-items {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media screen and (max-width: 1150px) {
  .benefits-content-items {
    margin-top: 40px;
    grid-template-columns: 320px;
    margin: 20 auto 0;
  }
}
@media screen and (max-width: 410px) {
  .benefits-content-items {
    grid-template-columns: repeat(2, 1fr);
  }
}
.benefits-content-items .item {
  width: 320px;
  height: 182px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px;
  position: relative;
}
@media screen and (max-width: 410px) {
  .benefits-content-items .item {
    align-items: flex-start;
    width: auto;
  }
}
.benefits-content-items .item::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  filter: blur(1px);
}
.benefits-content-items .item p {
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}
@media screen and (max-width: 410px) {
  .benefits-content-items .item p {
    font-size: 16px;
    text-align: left;
  }
}

[class*=ymaps-2][class*=-ground-pane] {
  filter: hue-rotate(10deg) brightness(90%) invert(1);
  -ms-filter: hue-rotate(10deg) brightness(90%) invert(1);
  -webkit-filter: hue-rotate(10deg) brightness(90%) invert(1);
  -moz-filter: hue-rotate(10deg) brightness(90%) invert(1);
  -o-filter: hue-rotate(10deg) brightness(90%) invert(1);
}

#map > ymaps {
  overflow: hidden;
}

.map .btn {
  width: -moz-fit-content;
  width: fit-content;
}

.map__inner {
  position: relative;
  max-width: 1920px;
  margin: auto;
}
@media screen and (min-width: 768px) {
  .map__inner {
    height: 420px;
  }
}
@media screen and (max-width: 768px) {
  .map__inner {
    padding: 40px 15px;
    height: 690px;
  }
}

.map__bottom {
  padding: 24px;
  border-radius: 10px;
  position: absolute;
  bottom: 28px;
  z-index: 3;
  background: #0C121C;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1296px;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (max-width: 480px) {
  .map__bottom .btn {
    width: 100%;
    justify-content: center;
    align-items: center;
  }
}
@media screen and (max-width: 1150px) {
  .map__bottom {
    position: relative;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    bottom: 0;
    border-radius: 0;
  }
}
@media screen and (max-width: 768px) {
  .map__bottom {
    width: 80%;
    position: absolute;
  }
}
@media screen and (max-width: 768px) {
  .map__bottom {
    bottom: 60px;
  }
}

.map__bottom-item {
  display: flex;
  flex-direction: column;
  gap: 4px 0;
  text-align: start;
}
@media screen and (max-width: 1150px) {
  .map__bottom-item {
    text-align: center;
  }
}
@media screen and (max-width: 768px) {
  .map__bottom-item {
    width: 100%;
    text-align: left;
  }
}

.map__bottom-item:first-child {
  max-width: 325px;
}

.map__bottom-title {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 19.2px;
  font-weight: 400;
  color: #fff;
}

.map__bottom-text, .map__number.ya_phone {
  font-family: var(--bold-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #fff;
}
@media screen and (max-width: 480px) {
  .map__bottom-text, .map__number.ya_phone {
    font-size: 18px;
    line-height: 21.6px;
  }
}

.map__number {
  color: var(--white);
}

.map__number-bottom {
  display: flex;
  justify-content: flex-start;
  gap: 0 4px;
  align-items: center;
  margin-top: 4px;
  font-weight: 300;
  color: var(--grey);
  font-size: 14px;
  position: relative;
}
.map__number-bottom::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--green);
  border-radius: 50%;
}

/* Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: var(--black);
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: none;
  max-width: 450px;
  width: 100%;
}
@media screen and (max-width: 480px) {
  .modal-content {
    width: 94%;
    transform: translateY(-50%);
    height: -moz-fit-content;
    height: fit-content;
    margin: 0 auto;
    position: absolute;
    left: 15px;
    top: 50%;
  }
}
.modal-content .book__auto-form {
  padding: 0;
}

/* Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.footer {
  max-width: 1920px;
  width: 100%;
  margin: auto;
  background-color: var(--gray);
  padding: 20px 0;
}
@media screen and (max-width: 1150px) and (min-width: 411px) {
  .footer {
    padding: 20px;
  }
}
@media screen and (max-width: 410px) {
  .footer {
    padding: 20px 15px;
  }
}
.footer-container {
  position: relative;
  max-width: 1296px;
  width: 100%;
  display: flex;
  height: auto;
  margin: auto;
}

.read-more-check {
  display: none;
}

.read-more-label:before {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  top: 5px;
  position: absolute;
  width: 14px;
  height: 8px;
  left: 0px;
  font-size: 1rem;
  transform: rotate(0deg) translate(0%, 40%) scale(0.8);
  transition: top 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.read-more-check:checked ~ .read-more-label:before {
  top: 0;
  transform: rotate(180deg) translate(0, -60%) scale(0.8);
}

.read-more-label:after {
  content: "Показать текст";
  text-transform: none;
}

.read-more-check:checked ~ .read-more-label:after {
  content: "Скрыть текст";
}

.read-more p {
  margin-top: 20px;
}

.read-more-label {
  position: absolute;
  display: inline-flex;
  left: 0;
  width: -moz-fit-content;
  width: fit-content;
  top: 0px;
  padding-left: 20px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s linear;
}

.read-more-label:hover {
  background-color: var(--primary-color-hover);
}

/*
  The styles above aren't related with the functionality
*/
.read-more {
  margin-top: 20px;
  max-height: 0;
  display: block;
  overflow: hidden;
  transition: max-height 0.5s linear;
}

/*
The down side of this approach is that you have to know what will be the max-height in advance
*/
@media screen and (min-width: 1200px) {
  .read-more-check:checked ~ .read-more {
    max-height: 1000px;
  }
}
@media screen and (max-width: 1200px) {
  .read-more-check:checked ~ .read-more {
    max-height: 5000px;
  }
}


@media (min-width: 1281px) and (min-resolution: 144dpi) and (-webkit-min-device-pixel-ratio: 1.5){
    .car {
        grid-template-columns: 410px 1fr;
        display: grid;
    }
    .car__info {
        margin: 0;
    }
    .book__auto-container {
        justify-content: flex-end;
        margin-right: 20px;
    }
}








/*# sourceMappingURL=main.css.map */