.smallBasketFlex {
  height: 100%;
}

.smallBasketFlex .bx-basket {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.smallBasketLabel {
  font-size: 9px;
  line-height: 1;
  font-weight: 500;
  color: #fff;
  background: var(--color-plum);
  border-radius: 4px;
  padding: 5px;
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 6px;
}

.smallBasketItem {
  display: flex;
  gap: 30px;
}

.smallBasketItemWrap {
  height: 100%;
  overflow-y: auto;
  padding: 35px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.smallBasketItemWrap::-webkit-scrollbar {
  width: 5px;
}

.smallBasketItemWrap::-webkit-scrollbar-track {
  background: #F4F4F4;
  border-radius: 4px;
}

.smallBasketItemWrap::-webkit-scrollbar-thumb {
  background: #D9D9D9;
  border-radius: 4px;
}

.smallBasketItemImg {
  width: 140px;
  flex: none;
  position: relative;
  overflow: hidden;
}

.smallBasketItemImg img {
  aspect-ratio: 140/190;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.smallBasketItemContent {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  gap: 10px 30px;
  width: 100%;
}

.smallBasketItemContentLeft {
  grid-area: 2 / 1 / 3 / 2;
}

.smallBasketItemContentRight {
  grid-area: 2 / 2 / 3 / 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
}

.smallBasketItemContentFooter {
  display: flex;
  align-items: center;
  gap: 20px;
}

.smallBasketItemArt {
  font-size: 12px;
  color: #AEAEAE;
  grid-area: 1 / 1 / 2 / 3;
}

.uk-offcanvas-bar .smallBasketItemName {
  font-weight: 500;
  font-size: 20px;
  color: var(--color-black);
  transition: all .3s;
}

.uk-offcanvas-bar .smallBasketItemName:hover {
  color: var(--color-plum);
  text-decoration: none;
}

.smallBasketItemColor {
  border-radius: 50%;
  border: 1px solid #AEAEAE;
  padding: 3px;
  cursor: pointer;
}

.smallBasketItemColorWrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.smallBasketItemColor span {
  display: block;
  border-radius: 50%;
  width: 11px;
  height: 11px;
}

.smallBasketItemSize {
  margin-bottom: 18px;
}

.smallBasketItemQtyWrap {
  display: flex;
  background: #EDEDED;
}

.smallBasketItemQtyWrap .minus,
.smallBasketItemQtyWrap .plus {
  transition: all .3s;
  width: 33px;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.smallBasketItemQtyWrap .minus:hover,
.smallBasketItemQtyWrap .plus:hover {
  color: #8A0709;
}

.smallBasketItemQtyWrap .minus {
  border-radius: 4px 0 0 4px;
}

.smallBasketItemQtyWrap .plus {
  border-radius: 0 4px 4px 0;
}

.smallBasketItemQtyWrap .quant {
  border: none;
  background: transparent;
  width: 45px;
  height: 37px;
}

.smallBasketItemQtyWrap .quant input {
  border: none;
  background: transparent;
  text-align: center;
  width: 100%;
  height: 37px;
  color: #1D1D1D;
  outline: none;
}

.smallBasketItemSumm {
  font-size: 20px;
  font-weight: 500;
}

.smallBasketItemOldPrice {
  text-decoration: line-through;
  font-size: 20px;
  color: #AEAEAE;
  display: inline-block;
  margin-right: 10px;
}

.smallBasketItemPercent {
  font-size: 20px;
  color: var(--color-red);
  display: inline-block;
}

.smallBasketItemActions {
  display: flex;
  gap: 25px;
  justify-content: end;
}

.smallBasketItemDelete {
  color: var(--color-gray70);
  transition: all .3s;
}

.smallBasketItemDelete:hover {
  color: var(--color-red);
}

.smallBasketItemFav {
  color: var(--color-gray70);
  transition: all .3s;
}

.smallBasketItemFav path {
  transition: all .3s;
}

.smallBasketItemFav:hover {
  color: var(--color-black);
}

.smallBasketHeader {
  display: flex;
  align-items: center;
  gap: 30px;
}

.smallBasketTitle {
  font-weight: 500;
  font-size: 20px;
  width: 140px;
  flex: none;
}

.smallBasketProducts {
  color: var(--color-gray70);
  width: 100%;
}

.smallBasketSumm {
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 20px;
  margin-bottom: 20px;
}

.smallBasketClose {
  position: static;
  flex: none;
}

.smallBasketClose.uk-offcanvas-close:hover {
  color: var(--color-plum);
}

.headerLinksItem {
  position: relative;
}

.smallBasketEmptyImg {
  width: 90px;
  height: 90px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--color-gray70);
  border: 1px solid #969ba5;
}

@media (max-width: 576px) {
  .smallBasketItem {
    gap: 15px;
  }

  .smallBasketItemImg {
    width: 77px;
  }

  .smallBasketItemContent {
    gap: 0 10px;
  }

  .smallBasketItemName {
    font-size: 10px;
  }

  .smallBasketItemColorWrap {
    gap: 5px;
    font-size: 10px;
    margin: 5px 0;
  }

  .smallBasketItemColor span {
    width: 6px;
    height: 6px;
  }

  .smallBasketItemColor {
    font-size: 10px;
  }

  .smallBasketItemSize {
    font-size: 10px;
    margin-bottom: 5px;
  }

  .smallBasketItemQtyWrap .minus,
  .smallBasketItemQtyWrap .plus {
    width: 22px;
    height: 22px;
  }

  .smallBasketItemQtyWrap .quant input {
    height: 22px;
    font-size: 10px;
  }

  .smallBasketItemQtyWrap .quant {
    width: 22px;
    height: 22px;
  }

  .smallBasketItemPrice {
    font-size: 10px;
  }

  .smallBasketItemSumm {
    font-size: 10px;
  }

  .smallBasketItemOldPrice {
    font-size: 10px;
    margin-right: 5px;
  }

  .smallBasketItemPercent {
    font-size: 10px;
  }
}