.basket {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    z-index: 999;
    width: 100%;
    box-sizing: border-box;
    transform: translateX(120%);
    transition: 0.2s;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: flex-end;
  }
  @media screen and (max-width: 769px) {
    .basket {
      padding-left: 40px;
    }
  }
  .basket.active {
    transform: translateX(0);
  }
  .basket__wrapper {
    box-sizing: border-box;
    max-width: 558px;
    width: 100%;
    background-color: #FFFFFF;
    position: relative;
  }
  .basket__close {
    position: absolute;
    top: 25px;
    left: -33px;
    width: 33px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 20px 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    box-sizing: border-box;
    padding: 6px;
    cursor: pointer;
  }
  .basket__inner {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .basket__top {
    display: flex;
    align-items: center;
    column-gap: 15px;
    padding-top: 34px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 25px;
    box-sizing: border-box;
    border-bottom: 1px solid #EEF0F3;
  }
  @media screen and (max-width: 769px) {
    .basket__top {
      padding: 15px;
    }
  }
  .basket__icon {
    display: flex;
    width: 23px;
  }
  .basket__icon svg, .basket__icon img {
    width: 100%;
  }
  .basket__title {
    color: #111;
    font-size: 22px;
    line-height: 115%;
  }
  .basket__goods {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
    overflow: auto;
    padding: 16px 20px;
    box-sizing: border-box;
  }
  @media screen and (max-width: 769px) {
    .basket__goods {
      padding: 15px;
    }
  }
  .basket__bottom {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
    padding-top: 12px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 44px;
    margin-top: auto;
    margin-bottom: 0;
  }
  @media screen and (max-width: 769px) {
    .basket__bottom {
      padding: 15px;
      row-gap: 15px;
    }
  }
  .basket-good {
    border-radius: 8px;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.08);
    padding: 13px;
    box-sizing: border-box;
  }
  .basket-good__wrapper {
    display: flex;
    column-gap: 12px;
  }
  @media screen and (max-width: 576px) {
    .basket-good__wrapper {
      flex-direction: column;
      row-gap: 10px;
    }
  }
  .basket-good__image {
    min-width: 176px;
    width: 176px;
    display: flex;
    position: relative;
    flex-direction: column;
    row-gap: 18px;
  }
  @media screen and (max-width: 576px) {
    .basket-good__image {
      min-width: 150px;
      width: 100%;
      margin: 0 auto;
    }
  }
  .basket-good__image img {
    width: 100%;
    height: 176px;
    object-fit: contain;
  }
  @media screen and (max-width: 576px) {
    .basket-good__image img {
      height: 150px;
      z-index: 1;
    }
  }
  .basket-good__info {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
  }
  .basket-good__actions {
    display: flex;
    align-items: center;
    column-gap: 12px;
  }
  .basket-good__title {
    color: #111;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 6px;
  }
  .basket-good__desc {
    color: #64707B;
    font-size: 14px;
    line-height: 150%;
    margin-bottom: 10px;
  }
  .basket-good__price {
    margin-bottom: 12px;
  }
  .basket-good__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 10px;
    margin-top: auto;
    margin-bottom: 0;
  }
  .basket-good__count {
    display: flex;
    max-width: 190px;
    width: 100%;
    height: 38px;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid var(--eef-0-f-3, #EEF0F3);
    justify-content: space-between;
  }
  .basket-good__number {
    color: #111;
    text-align: center;
    font-size: 16px;
    line-height: 112%;
    display: flex;
    align-items: center;
  }
  
  .basket-good__number input {
      border: none;
      width: 32px;
      text-align: right;
      padding-right: 5px;
      line-height: 112%;
  }
  
  .basket-good__button {
    color: #B30F97;
    font-size: 16px;
    line-height: 112%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px;
    box-sizing: border-box;
    cursor: pointer;
  }
  .basket-price {
    display: flex;
    column-gap: 10px;
    justify-content: space-between;
  }
  @media screen and (max-width: 576px) {
    .basket-price {
      flex-direction: row;
      align-items: baseline;
      column-gap: 20px;
    }
  }
  .basket-price__new {
    color: #111;
    font-size: 24px;
    font-weight: 500;
    line-height: 115%;
  }
  .basket-price__old {
    color: #64707B;
    font-size: 14px;
    line-height: 115%;
    text-decoration: line-through;
  }
  .basket-price__left {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
    align-items: flex-start;
  }
  .basket-price__right {
    display: flex;
    flex-direction: column;
    row-gap: 6px;
    align-items: flex-end;
  }
  .basket-price__percent {
    border-radius: 4px;
    background: var(--dd-1-d-47, #DD1D47);
    padding: 4px 13px;
    box-sizing: border-box;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 115%;
  }
  .basket-price__discount {
    color: #DD1D47;
    font-size: 14px;
    line-height: 115%;
  }
  .basket-price__desc {
    color: #777;
    font-size: 14px;
    line-height: 130%;
  }
  .basket-code {
    border-radius: 8px;
    border: 1px solid var(--eef-0-f-3, #EEF0F3);
    background: var(--f-4-f-6-f-7, #F4F6F7);
    padding: 12px 15px;
    box-sizing: border-box;
    display: flex;
    column-gap: 10px;
  }
  @media screen and (max-width: 769px) {
    .basket-code {
      padding: 10px;
      flex-direction: column;
      row-gap: 10px;
    }
  }
  .basket-code__field {
    display: flex;
    position: relative;
    width: 100%;
  }
  .basket-code__input {
    align-items: end;
    width: 100%;
    height: 48px;
    padding-top: 21px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 8px;
    border-radius: 4px;
    border: 1px solid #E2E2E2;
    box-sizing: border-box;
    color: #111111;
    font-size: 14px;
    line-height: 16px;
  }
  .basket-code__input::placeholder {
    color: transparent;
  }
  .basket-code__input:placeholder-shown + .basket-code__text {
    top: calc(50% - 8px);
    font-size: 14px;
    line-height: normal;
  }
  .basket-code__input:focus {
    outline: none;
    border: 1px solid #B30F97;
  }
  .basket-code__input:focus + .basket-code__text {
    font-size: 10px;
    line-height: normal;
    top: 8px;
  }
  .basket-code__input:hover {
    outline: none;
    border: 1px solid #B30F97;
  }
  .basket-code__input:hover + .basket-code__text {
    top: 8px;
    font-size: 10px;
    line-height: normal;
  }
  .basket-code__text {
    color: #C4C4C4;
    position: absolute;
    left: 20px;
    top: 8px;
    transition: 0.2s;
    font-size: 10px;
  }
  .basket-code__button {
    border-radius: 4px;
    background: var(--1-abaf-9, #175085);
    min-width: 150px;
    height: 48px;
    border: 1px solid #175085;
    box-sizing: border-box;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 115%;
    transition: 0.2s;
    cursor: pointer;
  }
  .basket-code__button:hover {
    background: transparent;
    color: #175085;
  }
  .basket-total {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
  }
  .basket-total__row {
    display: flex;
    align-items: center;
    column-gap: 10px;
    justify-content: space-between;
  }
  .basket-total__title {
    color: #111;
    font-size: 16px;
    line-height: 115%;
  }
  .basket-total__value {
    font-size: 22px;
    font-weight: 500;
    line-height: 115%;
  }
  .basket-total__value--sum {
    font-size: 22px;
    color: #111;
  }
  .basket-total__value--discount {
    color: #DD1D47;
    font-size: 19px;
    text-decoration: line-through;
  }
  .basket__submit {
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    padding: 5px 10px;
    transition: 0.2s;
    cursor: pointer;
    text-decoration: none;
    background-color: #B30F97;
    border: 1px solid #B30F97;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    color: #FFFFFF;
  }
  .basket__submit:hover {
    background-color: #CB11AB !important;
    color: #FFFFFF !important;
    border: none !important;
  }
  @media screen and (max-width: 769px) {
    .basket__submit {
      font-size: 14px;
    }
  }

  .close_total-basket {
    width:100%;
  }

  @media screen and (max-width: 769px) {
    .close_total-basket {
      display:none;
    }
  }
  .basket__good {
    position:relative;
  }

  .basket-item-actions-remove {
    position:absolute;
    right:5px;
    top:5px;
    cursor:pointer;
  }