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

.instock {
  padding-top: 70px;
  padding-bottom: 120px;
  position: relative;
  /* margin-bottom: 104px; */
  background-color: #e5e7eb;
}

.instock::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
}

.instock::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;
  z-index: 0;
}

.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 24px;
  margin-bottom: 60px;
}

.instock .input {
}

.instock .select {
  background-image: url("../img/ico_select.svg");
  border-color: #fff;
  background-color: #fff;
}

.tb_complects tbody {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.instock .card {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
}
.instock .changed {
  display: flex;
}

.instock .left_block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 19px;
  padding: 21px 0;
}

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

.instock__preferences {
  display: flex;
  gap: 14px;
}

.instock__presents-link {
  font-size: 16px;
  padding-left: 34px;
  background-position: left center;
  background-repeat: no-repeat;
  transition: opacity 0.3s linear;
}

.instock__presents-link:hover {
  opacity: 0.8;
}

.instock__presents-link.hand {
  background-image: url("../img/ico-hand.svg");
}

.instock__presents-link.car {
  background-image: url("../img/ico4.svg");
}

.instock__presents-link {
  position: relative;
  padding-left: 50px;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.instock__presents-link span {
  transition: opacity 0.3s linear;
}

.instock__presents-link:hover span {
  opacity: 0.8;
}

.instock__presents-link::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: #474450;
  background-position: center;
  background-repeat: no-repeat;
  transition: background 0.3s linear;
}
.instock__presents-link:hover::before {
  background-color: #73707a;
}

 
.instock .param_name {
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  align-self: flex-start;
  padding-left: 19px;
}

.instock .compl-name {
  color: #fff;
  font-size: 20px;
  background-color: #f89435;
  border-radius: 30px;
  padding: 4px 7px;
}

.instock .param_wrap {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
}

.instock .param {
  text-align: center;
  white-space: nowrap;
  background-color: #ffffff26;
  border-radius: 20px;
  padding: 3px 11px;
  flex-wrap: nowrap;
  color: #fff;
}

.instock .param .value {
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
  font-stretch: extra-expanded;
}

.instock .param .name {
  font-size: 16px;
  font-weight: 400;
}

.instock .right_block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 19px;
  padding: 19px 24px 24px;
  background: #4e5561;
  border-radius: var(--border-radius);
  flex-grow: 1;
}

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

.instock .tb_complects_showmore {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 400;
}
.instock .tb_complects_showmore span {
  display: block;
  margin-top: 50px;
  background-position: right center;
  background-repeat: no-repeat;
  text-align: center;
}

.instock .tb_complects_showmore:hover span {
  color: #73707a;
  text-decoration: underline;
}

@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 .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;
  }
}
