.buyCar__banner {
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.buyCar__banner--img {
  width: 700px;
  height: auto;
}
.buyCar__banner--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.buyCar__banner--content {
  flex: 1;
  background-color: var(--color-banner);
  padding: 21px 70px 40px 40px;
  position: relative;
}
.buyCar__banner--title {
  font-weight: bold;
  font-size: 50px;
  line-height: 115%;
  color: var(--color-white);
  margin-bottom: 24px;
}
.buyCar__banner--desc {
  font-weight: bold;
  font-size: 16px;
  line-height: 150%;
  color: #ffffff;
  margin-bottom: 24px;
}
.buyCar__banner--quantity--icon {
  font-size: 16px;
  line-height: 190%;
  color: #ffffff;
  margin-right: 8px;
}
.buyCar__banner--content::before {
  content: "";
  position: absolute;
  height: 50%;
  width: 20%;
  left: 0;
  top: 0;
  transform: translateX(-100%);
  background-color: inherit;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.buyCar__banner--content::after {
  content: "";
  position: absolute;
  height: 50%;
  width: 20%;
  left: 0;
  bottom: 0;
  transform: translateX(-100%);
  background-color: inherit;
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}
.buyCar__banner--quantity-list {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
}
.buyCar__banner--quantity-item {
  margin-bottom: 8px;
  width: 50%;
}
.buyCar__banner--quantity-item:last-child {
  /* margin-left: 50px; */
}
.content__tab {
  padding-top: 58px;
  padding-bottom: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tab-list {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.lineTab {
  position: absolute;
  bottom: 0;
  left: 0;
  /* width: 50%; */
   width: 100%;
  border-bottom: 2px solid var(--color-buton);
  transition: 0.35s all ease;
}
.tab-item {
  padding: 10px 30px;
  font-weight: normal;
  font-size: 18px;
  line-height: 120%;
  text-transform: uppercase;
  color: var(--color-black);
  border-bottom: 1px solid var(--color-black);
  cursor: pointer;
}
.tab-item.active {
  font-weight: bold;
}
.content__tab--active {
  display: none;
}
.content__box {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  padding-bottom: 30px;
}
.car__content--main {
  padding-bottom: 22px;
  background-color: var(--color-white);
  transition: 0.35s all ease;
}
.car__content--main:hover {
  box-shadow: 0px 4px 32px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.car__content {
  padding: calc(80px / 15);
  width: calc(100% / 3);
}
.car__content--img {
  width: 100%;
  height: 230px;
}
.car__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.car__name {
  /* padding: 24px 32px 18px 32px; */
  font-weight: 600;
  font-size: 20px;
  line-height: 34px;
  text-align: center;
  color: var(--color-black);
  padding: 18px;
}
.car__price {
  font-size: 14px;
  line-height: 23px;
  text-align: center;
  color: var(--color-black);
  margin-bottom: 30px;
}
.car__price--main {
  font-weight: 600;
  font-size: 20px;
  line-height: 34px;
  text-align: center;
  color: var(--color-black);
}
/* custom pagination */
#pagination {
  width: fit-content;
  -webkit-width: fit-content;
  margin: 0 auto;
  padding-bottom: 80px;
}
#pagination .page-item {
  margin-left: 8px;
  margin-right: 8px;
}
#pagination .page-link {
  border: 1px solid #cccccc;
  box-sizing: border-box;
  background-color: transparent;
  color: #ccc;
}
#pagination .page-item.active .page-link {
  background: #eb0a1e;
  color: #ffffff;
}

#pagination-tab-2 {
  width: fit-content;
  -webkit-width: fit-content;
  margin: 0 auto;
  padding-bottom: 80px;
}
#pagination-tab-2 .page-item {
  margin-left: 8px;
  margin-right: 8px;
}
#pagination-tab-2 .page-link {
  border: 1px solid #cccccc;
  box-sizing: border-box;
  background-color: transparent;
  color: #ccc;
}
#pagination-tab-2 .page-item.active .page-link {
  background: #eb0a1e;
  color: #ffffff;
}
.content__main {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
.filter {
  width: 300px;
  background-color: #fff;
  margin-top: 5px;
}
.content__show {
  width: calc(100% - 300px);
}

/* filter */
.filter__result {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 21px;
  color: #000000;
  padding: 14px;
}
.filter__result--number {
  color: red;
}
.filter__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid gray;
  padding: 3px 20px;
  font-size: 14px;
  line-height: 20px;
  height: 3rem;
  color: #000000;
  text-transform: uppercase;
}
.filter__arrowicon {
  transition: 0.35s all ease;
}
.filter__title.active .filter__arrowicon {
  transform: rotate(180deg);
}
.filter__collapsible {
  padding: 10px 14px 20px 14px;
  border-bottom: 0px solid #eee;
  background-color: #ededed;
  padding-top: 10px;
  color: #989898;
  display: none;
}
.filter__collapsible--title {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 15px;
  color: #000000;
  opacity: 0.9;
  margin-bottom: 10px;
}
.filter__collapsible--item {
  padding: 8px 15px;
  border-radius: 4px;
  display: inline-block;
  font-size: 10px;
  line-height: 12px;
  text-align: center;
  color: #000000;
  opacity: 0.9;
  cursor: pointer;
  border: 1px solid;
  margin-right: 20px;
  margin-bottom: 16px;
}
.filter__collapsible--item:hover {
  color: #000000;
}
.filter__collapsible--item.active {
  border: 1px solid #f00404;
}
.filter__collapsible--list--item {
  font-size: 13px;
  line-height: 15px;
  color: #000000;
  opacity: 0.9;
  text-transform: uppercase;
  padding: 7px;
  cursor: pointer;
  border-bottom: 1px solid;
}
.filter__input--check + label {
  position: relative;
  font-size: inherit;
  line-height: 16px;
  padding-left: 25px;
  color: #555;
}
.filter__input--check {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.filter__input--check + label::before {
  border-width: 1px;
  border-color: #fff;
  height: 13px;
  width: 13px;
  background-color: #fff;

  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 1px;
  margin-top: 2px;
}
.filter__input--check + label::after {
  content: "";
  position: absolute;
  border-radius: 1px;
  margin-top: 2px;
  border-style: solid;
  border-top: 0;
  border-left: 0;
  border-right: 2px solid #ef5350;
  border-bottom: 2px solid #ef5350;
  width: 8px;
  height: 15px;
  top: -4px;
  left: -2px;
  border-width: 2px;
  background-color: transparent;
  transform: rotate(40deg);
  transform-origin: 100% 100%;
  display: none;
}
.filter__input--check:checked + label::after {
  display: block;
}
.filter__header {
  padding: 10px;
  position: relative;
  border-bottom: 1px solid gray;
  display: none;
}
.filter__text {
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  line-height: 120%;
  text-transform: uppercase;
  color: #1a1a1a;
}
.filter__close {
  position: absolute;
  top: 50%;
  right: 14px;
  font-size: 18px;
  transform: translateY(-50%);
}
.btnFilterGroup {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  display: none;
}
.btnShowFilter {
  border: none;
  outline: none;
  background-color: #fff;
  padding: 5px 10px;
}
.btnShowFilter__text {
  font-size: 14px;
  line-height: 120%;
  color: #eb0a1e;
  margin-left: 16px;
}
@media screen and (max-width: 1280px) {
  .buyCar__banner--content {
    padding-right: 62px;
  }
  .buyCar__banner--img {
    width: 600px;
  }
}
@media screen and (max-width: 1080px) {
  .buyCar__banner {
    flex-direction: column;
  }
  .buyCar__banner--img {
    width: 100%;
  }
  .buyCar__banner--content::before {
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    left: 100%;
    top: unset;
    bottom: 100%;
    width: 50%;
    height: 30%;
  }
  .buyCar__banner--content::after {
    clip-path: polygon(0 100%, 0 0, 100% 100%);
    left: 0;
    top: unset;
    bottom: 100%;
    width: 50%;
    height: 30%;
    transform: translateX(0);
  }
  .buyCar__banner--title {
    text-align: center;
  }
  .buyCar__banner--desc {
    text-align: justify;
  }
  .buyCar__banner--quantity-list {
    justify-content: center;
  }
}
@media screen and (max-width: 900px) {
  .car__content {
    padding: calc(40px / 2);
    width: calc(100% / 2);
  }
}

@media screen and (max-width: 768px) {
  .buyCar__banner--content::before {
    height: 10%;
  }
  .buyCar__banner--content::after {
    height: 10%;
  }
  .buyCar__banner--content {
    padding: 20px 16px;
  }
  .buyCar__banner--title {
    font-size: 24px;
    text-align: left;
  }
  .buyCar__banner--quantity-list {
    flex-direction: column;
  }
  .buyCar__banner--quantity-item{
    width: 100%;
  }
  .buyCar__banner--quantity-item:last-child {
    margin-left: 0;
  }
  .content__tab {
    padding: 20px 0;
  }
  .car__content {
    padding: 20px 0px;
    width: 100%;
  }
  .content__main {
    flex-direction: column;
  }
  .filter__header {
    display: block;
  }
  .filter {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 99999;
    margin-top: 0;
    transform: translateX(100%);
    transition: 0.35s ease all;
  }
  .filter.active {
    transform: translateX(0);
  }
  .content__show {
    width: 100%;
  }
  .btnFilterGroup {
    display: flex;
  }
  .filter__list {
    height: 100%;
    overflow: auto;
  }
}

@media screen and (max-width: 576px) {
}
