* {
  margin: 0;
  padding: 0;
  /* font-family: "Lato"; */
}

body{
  background-color: #F9F1F9,
}

h2{
  color: var(--cta-button-purple, #961e96);  
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 125%;
  padding: 10px 0;
}

.page-tit {
  /* font-family: "Lato"; */
  font-size: 32px;
  weight: 700;
  line-height: 125%;
  text-align: center;
  color: orange;
  padding-top: 100px;
  margin-bottom: 24px;
}

.categories {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 80px;
}

.buttons-menu {
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.type-btn {
  width: 90px;
  height: 36px;
  padding: 8px, 15px, 8px, 15px;
  gap: 10px;
  background-color: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);  
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
}

.type-btn:hover,
.type-btn.active {
  color: #f9f9f9;
  border: transparent;
  background: linear-gradient(
    14.06deg,
    var(--orange) -0.28%,
    var(--orangelight) 100.14%
  );
}

#cards-car {
  margin-top: 24px;
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.model-card {
  margin-top: 100px;
  width: 300px;
  height: 363px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 12px;
  background: #f9f9f9;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  position: sticky;
  margin: 16px; 
}
.model-card:hover .img-cars-card {
  transform: translateY(-5px);
  opacity: 1;
}
.model-card:hover .button-footer-card{
  background-position: 0 0;
}
.model-card:hover .text-pice-right{
  color: #f9f9f9;
}

a.model-card{
  text-decoration: none;
}

.img-cars-card {
  width: 304px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0);
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.text-area {  
  margin-top: 12px;
  width: 272px;
  height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* font-family: "Lato"; */
  text-align: center;
}
.t1 {
  color: #666;
  font-size: 20px;
  font-weight: 700;
  line-height: 100%;
}
.t2 {
  margin-top: 12px;
  color: #666;
  font-size: 16px;
  line-height: 100%;
  text-overflow: ellipsis;
  white-space: wrap;
}

.button-footer-card {
  position: absolute;
  bottom: 0px; 
  display: flex;
  width: 300px;
  height: 42px;
  justify-content: space-between;
  align-items: center;  
  border-radius: 0px 0px 12px 12px;
  background-color: transparent;
  background-image: linear-gradient(
    14.06deg,
    var(--orange) -0.28%,
    var(--orangelight) 100.14%
    );
    background-repeat: no-repeat;
    background-position: -222px 0;
    transition: background-position 0.5s;
  }
  
  .text-pice-right {
    width: 222px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    text-align: center;
    /* font-family: "lato"; */
    font-size: 24px;
    font-weight: 700;
    line-height: 100%;
  }
  
  .text-pice-left {
    width: 82px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f9f9f9;
    text-align: center;
    fontfamily: "lato";
    font-size: 14px;
    font-weight: 700;
    line-height: 135%;
}


.price-default {
  text-decoration: line-through;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
}


@media (max-width: 1050px) {
  
  #comments.box {
    padding-bottom: 30px;
  }
}


@media (max-width: 762px) {
  
  #comments {
    background-position: center;
  }
  .container{
    width: 85%
  }
}


@media (max-width: 390px) {
  .comment-comment {
    height: 148px;
  }
}


@media (max-width: 370px) {
  .comment-comment {
    height: 156px;
  }
}


@media (max-width: 330px) {
  .comment-comment {
    font-size: 14px;
  }
}


