.basket__inner {
  display: flex;
}
.basket-products {
}
.basket-products__inner {
  background: #f3f8fb;
  box-shadow: 0px 4px 20px #cfd5df;
  border-radius: 12px;
}
.basket-products__header {
  padding: 30px;
  border-bottom: 1px solid #bdc8d8;
  display: grid;
  grid-template-columns: 7fr 3fr 2fr 2fr 1fr;
  gap: 10px;
}

.basket-products__header-count-mob {
  display: none;
}

.basket-products__header-label {
  font-weight: 600;
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 0.03em;
  color: #6a798f;
}

.basket-products__header-count,
.basket-products__header-price,
.basket-products__header-cost,
.basket-products__header-delete {
  text-align: center;
}

.basket-products__header-cost {
}

.basket-products__header-delete {
}

.basket-products__list {
}

.basket-products__list-inner {
}

.basket-products__item {
  padding: 30px;
  display: grid;
  grid-template-columns: 7fr 3fr 2fr 2fr 1fr;
  gap: 10px;
}

.basket-products__item:not(:first-child) {
  border-top: 1px solid #bdc8d8;
}

.item__info {
  display: flex;
}

.item__info-img {
  background: #ebebeb;
  border-radius: 8px;
  overflow: hidden;
  flex-grow: 0;
  flex-shrink: 0;
}

.item__info-img img {
  object-fit: cover;
  width: 130px;
  height: 130px;
}

.item__info-desc {
  margin-left: 30px;
}

.item__info-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.05em;
  color: #212d3d;
  margin-bottom: 10px;
}

.item__info-length {
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.05em;
  color: #6a798f;
  margin-bottom: 10px;
}

.item__info-label {
  background: #bdc8d8;
  border-radius: 4px;
  font-weight: 600;
  font-size: 11px;
  line-height: 13px;
  letter-spacing: 0.05em;
  color: #212d3d;
  width: fit-content;
  padding: 6px 10px;
}

.item__counter {
  margin: 0 auto;
}

.quantity-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid #bdc8d8;
  border-radius: 4px;
  width: fit-content;
  transition: 0.3s ease-in;
}

.quantity-wrapper .minus,
.quantity-wrapper .plus {
  width: 34px;
  height: 46px;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  color: #212d3d;
  cursor: pointer;
  transition: 0.3s ease-in;
}

.quantity-wrapper .minus {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.quantity-wrapper .plus {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.quantity-wrapper input {
  padding: 15px;
  width: 80px;
  height: 46px;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #6a798f;
  background-color: transparent;
  border: 1px solid #bdc8d8;
  border-top: none;
  border-bottom: none;
  transition: 0.3s ease-in;
}

.item__price,
.item__price-mob {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.05em;
  color: #6a798f;
  text-align: center;
}

.item__cost,
.item__cost-mob {
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.05em;
  color: #6a798f;
  text-align: center;
}

.item__price-mob,
.item__cost-mob {
  display: none;
}

.item__delete {
  display: flex;
  justify-content: center;
}

.delete-btn {
  border: none;
  background: transparent;
  width: 12px;
  height: 12px;
  cursor: pointer;
  display: flex;
}

.delete-btn svg {
  width: 12px;
  height: 12px;
  fill: #bdc8d8;
}

.delete-btn svg path {
  fill: #bdc8d8;
}

.basket-products__footer {
  padding: 30px;
  border-top: 1px solid #bdc8d8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.basket-products__footer-info {
}

.basket-products__footer-count {
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  color: #6a798f;
  margin-bottom: 6px;
}
.basket-products__footer-cost {
  font-weight: 800;
  font-size: 24px;
  line-height: 14px;
  letter-spacing: 0.06em;
  color: #212d3d;
}
.basket-products__footer-btns {
  display: flex;
  align-items: center;
  gap: 20px;
}

.basket-products__clear-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 11px;
  line-height: 13px;
  letter-spacing: 0.05em;
  color: #6a798f;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px;
  margin: 20px;
}

.basket-products__clear-btn svg {
  width: 6px;
  height: 6px;
}

.basket-products__clear-btn svg path {
  fill: #6a798f;
}

/* Basket total */
.basket-total {
  /* background: #e0e3e8;
  border: 1px solid #bdc8d8;
  box-shadow: 0px 4px 20px #cfd5df;
  border-radius: 12px;
  max-width: 330px;
  width: 330px;
  height: fit-content; */
}
.basket-total__inner {
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: #e0e3e8;
  border: 1px solid #bdc8d8;
  box-shadow: 0px 4px 20px #cfd5df;
  border-radius: 12px;
  /* max-width: 330px; */
  /* width: 330px; */
  height: fit-content;
}
.basket-total__top {
  margin-bottom: 50px;
}
.basket-total__items-count {
}

.basket-total__items-count .basket-total__label {
  font-weight: 800;
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 0.05em;
  color: #212d3d;
}

.basket-total__items-count .basket-total__value {
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  text-align: right;
  color: #6a798f;
}

.basket-total__main {
  margin-bottom: 20px;
}

.basket-total__main .basket-total__item {
  margin-bottom: 25px;
}

.basket-total__items-cost {
}
.basket-total__discount {
}
.basket-total__price {
  padding-top: 30px;
  border-top: 1px solid #bdc8d8;
  margin-bottom: 25px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.basket-total__price .basket-total__label {
  font-weight: 800;
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 0.06em;
  color: #212d3d;
}

.basket-total__price .basket-total__value {
  font-weight: 800;
  font-size: 24px;
  line-height: 14px;
  text-align: right;
  letter-spacing: 0.06em;
}

.basket-total__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.basket-total__label {
}
.basket-total__value {
}

.basket-total__submit-btn {
}

.btn-filled {
  background: #3955fb;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.05em;
  color: #f3f8fb;
  border: none;
  cursor: pointer;
  padding: 10px 20px;
  transition: 0.3s all;
}

.btn-filled:hover {
  background-color: #203ff9;
  border-color: #203ff9;
}

.btn-outlined {
  background: transparent;
  border-radius: 4px;
  border: 1px solid #3955fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.05em;
  color: #3955fb;
  cursor: pointer;
  padding: 10px 20px;
  transition: 0.3s all;
}

.btn-outlined:hover {
  background-color: #e0e3e8;
  color: #3955fb;
}

@media screen and (max-width: 992px) {
  .basket-products {
    position: relative;
    padding-top: 20px;
    margin-bottom: 30px;
  }

  .basket-products__header {
    grid-template-columns: 7fr 2fr 2fr 1fr;
  }

  .basket-products__header-count {
    display: none;
  }

  .basket-products__item {
    position: relative;
    grid-template-columns: 7fr 2fr 2fr 1fr;
    padding-bottom: 70px;
  }

  .item__counter {
    position: absolute;
    left: 24px;
    bottom: 10px;
  }

  .quantity-wrapper .minus,
  .quantity-wrapper .plus {
    width: 30px;
  }

  .quantity-wrapper .minus,
  .quantity-wrapper .plus,
  .quantity-wrapper input {
    background-color: #f3f8fb;
    height: 40px;
  }

  .basket-products__clear-btn {
    margin: 0;
    position: absolute;
    left: 20px;
    top: -20px;
  }
}

@media screen and (max-width: 768px) {
  .basket-products__item {
    display: block;
  }

  .item__price,
  .item__cost {
    display: none;
  }

  .item__price-mob,
  .item__cost-mob {
    display: block;
    text-align: left;
  }

  .item__cost-mob {
    /* margin-left: 20px; */
    /* margin-top: 10px ; */
  }

  .item__delete {
    position: absolute;
    right: 30px;
    top: 30px;
  }

  .basket-products__header {
    padding: 20px;
    display: flex;
    align-items: center;
  }

  .basket-products__header-label {
    display: none;
  }

  .basket-products__header-count-mob {
    display: block;
    font-weight: 400;
    font-size: 16px;
    line-height: 17px;
    color: #6a798f;
  }

  .basket-products__item {
    /* padding: 20px; */
  }

  .item__info-desc {
    margin-left: 15px;
    margin-right: 15px;
  }

  .item__info-img img {
    width: 100px;
    height: 100px;
  }

  .item__price-mob,
  .item__cost-mob {
    font-size: 16px;
  }

  .item__counter {
    bottom: 20px;
    left: 24px;
  }

  .quantity-wrapper .minus,
  .quantity-wrapper .plus {
    width: 30px;
  }

  .quantity-wrapper .minus,
  .quantity-wrapper .plus,
  .quantity-wrapper input {
    height: 40px;
  }

  .quantity-wrapper input {
    width: 50px;
    padding: 10px;
  }

  .basket-products__footer {
    padding: 20px;
  }

  .basket-products__footer-count {
    display: none;
  }

  .basket-products__footer-cost {
    font-size: 18px;
  }

  .basket-products__footer-btns .btn-filled,
  .basket-products__footer-btns .btn-outlined {
    padding: 10px 10px;
    font-size: 12px;
    line-height: 15px;
  }
}
