/**********************
       COMPLECTS
**********************/

.instock {
  position: relative;
  margin-bottom: 120px;
}

.instock .container {
  position: relative;
  z-index: 1;
}

.instock .select_container {
  width: 100%;
}
.instock__title {
  margin-bottom: 50px;
  text-align: center;
}

.instock #filter_table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  gap: 10px 15px;
  margin-bottom: 60px;
}

.instock .input {
}

.instock .select {
  color: #0b0d0c;
}

.tb_complects {
  width: 100%;
  
}
.tb_complects_container,
table {
  transition: all 0.6s ease;
}

.tb_complects tbody {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
  transition: all 0.6s ease;
}

.instock .card {
  display: none;
  opacity: 0;
  transition:
    opacity 0.5s ease,
    display 0.5s allow-discrete;
  flex-direction: row;
  justify-content: space-between;
  border-radius: 5px;
  overflow: hidden;
  background: #f8f8f8;
}
.instock .changed {
  display: flex;

  opacity: 1;

  @starting-style {
    opacity: 0;
  }
}

.instock .left_block {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-image: url("../img/instock_bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.instock__car-image {
  justify-content: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  object-fit: contain;
  width: 100%;
  padding-left: 14px;
}

.instock .param_name {
  font-weight: 400;
  font-size: 23px;
  text-transform: uppercase;
  align-self: flex-start;
}

.instock .compl-name {
  font-size: 30px;
}

.instock .param_wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  max-width: 452px;
}

.instock .characteristics_wrap {
  display: flex;
  width: auto;
  justify-content: space-between;
  width: 100%;
}

.instock .param {
  display: flex;
  gap: 10px;
  align-items: center;
}

.instock .param .value {
  font-size: 20px;
  font-weight: 400;
  -webkit-line-clamp: 2;
  color: #0b0d0c8c;
  max-width: 100px;
}

.instock .right_block {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 19px;
  padding: 28px 30px 30px 75px;
  border-radius: var(--border-radius);
  flex-grow: 1;
}

.instock .btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  width: 100%;
  max-width: 335px;
}

.instock .tb_complects_showmore {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  border: 1px solid #215469;
  border-radius: 5px;
  max-width: 420px;
  min-height: 47px;
  text-transform: uppercase;
  font-size: 16px;
}

@media (max-width: 1279px) {
  .instock .right_block {
    padding: 20px;
  }
}

@media (max-width: 1149px) {
  .instock .card {
    flex-direction: column;
  }
  .instock .right_block {
    flex-direction: column;
  }
  .instock .btns {
    max-width: unset;
  }
  .instock .param_name {
    display: flex;
    flex-direction: column;
  }
  .instock .param {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 991px) {
  .instock #filter_table {
    grid-template-columns: repeat(1, 1fr);
  }

  .tb_complects tbody {
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
  }

  .instock {
    margin-bottom: 30px;
  }

  .instock .card {
    width: 100%;
  }

  .tb_complects {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .instock {
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .instock__title {
    margin-bottom: 20px;
  }

  .instock #filter_table {
    margin-bottom: 20px;
  }
}
