.detail-cart {
  display: flex;
  grid-column-gap: 30px;
  margin-bottom: 80px;
}
.detail-cart__left {
  width: calc(100% - 390px);
}
.detail-cart__left #basket-item-table {
  width: 100%;
}
.detail-cart__left #basket-item-table tr {
  overflow: hidden;
  border-radius: 30px;
  background: var(--card);
  padding: 20px;
  border: 1px solid var(--bg-dark);
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  position: relative;
  grid-column-gap: 30px;
}
.detail-cart__left #basket-item-table tr td {
  border: none;
  padding: 0px;
}
.detail-cart__left #basket-item-table tr:last-child {
  margin-bottom: 0px;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-removed-block {
  margin-top: 10px;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions {
  width: 70%;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-amount {
  min-width: 150px;
  max-width: 150px;
  overflow: hidden;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-amount .basket-item-block-amount {
  border-radius: 30px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  padding: 10px 6px;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-amount .basket-item-block-amount.disabled {
  pointer-events: none;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-amount .basket-item-amount-btn-minus {
  margin-right: 5px;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-amount .basket-item-amount-btn-plus {
  margin-left: 5px;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-amount .basket-item-amount-btn-minus,
.detail-cart__left #basket-item-table tr .basket-items-list-item-amount .basket-item-amount-btn-plus {
  min-width: 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  cursor: pointer;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-amount .basket-item-amount-btn-minus.product-item-amount-field-btn-disabled,
.detail-cart__left #basket-item-table tr .basket-items-list-item-amount .basket-item-amount-btn-plus.product-item-amount-field-btn-disabled {
  pointer-events: none;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-amount .basket-item-amount-btn-minus:hover,
.detail-cart__left #basket-item-table tr .basket-items-list-item-amount .basket-item-amount-btn-plus:hover {
  background: var(--card);
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-amount .basket-item-amount-btn-minus:hover svg path,
.detail-cart__left #basket-item-table tr .basket-items-list-item-amount .basket-item-amount-btn-plus:hover svg path {
  stroke: var(--primary-100);
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-amount .basket-item-amount-btn-minus svg path,
.detail-cart__left #basket-item-table tr .basket-items-list-item-amount .basket-item-amount-btn-plus svg path {
  transition: stroke 0.3s ease;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-amount .basket-item-amount-filed {
  width: 100%;
  color: var(--main-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 130%;
  border: none;
  background: transparent;
  text-align: center;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-price {
  width: calc(30% - 150px);
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-price .basket-item-block-price .basket-item-price-current-text {
  color: var(--head);
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  line-height: 130%;
  white-space: nowrap;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-remove {
  position: absolute;
  top: 25px;
  right: 25px;
  cursor: pointer;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-remove .basket-item-actions-remove:hover svg path {
  fill: var(--primary-100);
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-remove .basket-item-actions-remove svg path {
  transition: fill 0.3s ease;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions-inner {
  display: flex;
  align-items: center;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions-inner .basket-item-image-link {
  min-width: 120px;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 20px;
  border: 1px solid var(--bg-dark);
  margin-right: 30px;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions-inner .basket-item-image-link img {
  object-fit: contain;
  display: block;
  max-width: 100%;
  max-height: 100%;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions-inner .basket-item-block-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions-inner .basket-item-block-info .basket-item-info-name a {
  color: var(--head);
  transition: color 0.3s ease;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions-inner .basket-item-block-info .basket-item-info-name a:hover {
  color: var(--primary-100);
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions-inner .basket-item-block-info .basket-items-list-item-warning-container {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}
.detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions-inner .basket-item-block-info .basket-items-list-item-warning-container .close {
  display: none;
}
.detail-cart__right {
  min-width: 360px;
  max-width: 360px;
  height: max-content;
  position: sticky;
  top: 30px;
  padding: 40px;
  border-radius: 30px;
  background: var(--bg-light);
}
.detail-cart__right .total-template {
  display: flex;
  flex-direction: column;
}
.detail-cart__right .total-template__count {
  display: flex;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  color: var(--head);
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  border-bottom: 1px solid var(--bg-dark);
  justify-content: space-between;
}
.detail-cart__right .total-template__count .count-title {
  text-align: left;
  padding-right: 10px;
}
.detail-cart__right .total-template__count .count-value {
  font-weight: 800;
  text-align: right;
}
.detail-cart__right .total-template__total {
  display: flex;
  align-items: center;
  color: var(--head);
  font-size: 16px;
  line-height: 140%;
  justify-content: space-between;
  font-weight: 800;
  margin-bottom: 20px;
}
.detail-cart__right .total-template .clear_basket {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  transition: color 0.3s ease;
}
.detail-cart__right .total-template .clear_basket:hover {
  color: var(--primary-100);
}
.detail-cart__right .total-template .clear_basket:hover svg path {
  fill: var(--primary-100);
}
.detail-cart__right .total-template .clear_basket svg {
  min-width: 10px;
  width: 10px;
  height: 10px;
  display: block;
  margin-right: 10px;
}
.detail-cart__right .total-template .clear_basket svg path {
  transition: fill 0.3s ease;
}
.detail-cart__right .total-template .basket-btn-checkout {
  width: 100%;
}

.bx-empty-cart-container {
  padding: 40px;
  max-width: 600px;
  border-radius: 30px;
  border: 1px solid var(--bg-dark);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px;
}
.bx-empty-cart-container .bx-empty-cart-image {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  max-width: 200px;
}
.bx-empty-cart-container .bx-empty-cart-image img {
  width: 100%;
  height: auto;
}
.bx-empty-cart-container .bx-empty-cart-text {
  text-align: center;
}
.bx-empty-cart-container .bx-empty-cart-desc {
  text-align: center;
}
.bx-empty-cart-container .bx-empty-cart-desc a {
  color: var(--primary-100);
  transition: opacity 0.3s ease;
}
.bx-empty-cart-container .bx-empty-cart-desc a:hover {
  opacity: 0.8;
}

@media (max-width: 1600px) {
  .detail-cart__left #basket-item-table tr {
    border-radius: 25px;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions-inner .basket-item-image-link {
    border-radius: 25px;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions {
    width: 65%;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-price {
    width: calc(35% - 150px);
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-price .basket-item-block-price .basket-item-price-current-text {
    font-size: 20px;
  }
  .detail-cart__right {
    padding: 20px;
    min-width: 320px;
    max-width: 320px;
    border-radius: 25px;
  }
  .bx-empty-cart-container {
    border-radius: 25px;
  }
}
@media (max-width: 1400px) {
  .detail-cart__left #basket-item-table tr {
    grid-column-gap: 15px;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions-inner .basket-item-image-link {
    margin-right: 15px;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions {
    width: 60%;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-price {
    width: calc(40% - 150px);
  }
}
@media (max-width: 1200px) {
  .detail-cart {
    flex-direction: column;
    grid-gap: 0px;
  }
  .detail-cart__left {
    width: 100%;
    margin-bottom: 30px;
  }
  .detail-cart__left #basket-item-table tr {
    border-radius: 15px;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions-inner .basket-item-image-link {
    border-radius: 15px;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions {
    width: 65%;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-price {
    width: calc(35% - 150px);
  }
  .detail-cart__right {
    width: 100%;
    min-width: unset;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
  }
  .bx-empty-cart-container {
    border-radius: 15px;
  }
}
@media (max-width: 991px) {
  .detail-cart {
    margin-bottom: 40px;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions {
    width: 60%;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-price {
    width: calc(40% - 150px);
  }
  .bx-empty-cart-container {
    padding: 15px;
    margin-bottom: 40px;
  }
  .bx-empty-cart-container .bx-empty-cart-image {
    max-width: 150px;
  }
}
@media (max-width: 767px) {
  .detail-cart__left #basket-item-table tr {
    flex-wrap: wrap;
    grid-gap: 0px;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions {
    width: 100%;
    margin-bottom: 20px;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions-inner {
    flex-direction: column;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions-inner .basket-item-block-info .basket-item-info-name {
    text-align: center;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions-inner .basket-item-block-info .basket-item-info-name a {
    display: block;
    width: 100%;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions-inner .basket-item-image-link {
    margin-right: 0px;
    margin-bottom: 15px;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-amount {
    width: 50%;
    min-width: unset;
    max-width: unset;
    padding-right: 5px;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-amount .basket-item-block-amount {
    min-width: 150px;
    max-width: 150px;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-price {
    width: 50%;
    text-align: right;
    padding-left: 5px;
  }
}
@media (max-width: 480px) {
  .detail-cart__left #basket-item-table tr .basket-items-list-item-descriptions-inner .basket-item-block-info .basket-item-info-name {
    font-size: 18px;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-amount {
    padding-right: 0px;
    width: 100%;
    margin-bottom: 20px;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-amount .basket-item-block-amount {
    margin-left: auto;
    margin-right: auto;
  }
  .detail-cart__left #basket-item-table tr .basket-items-list-item-price {
    width: 100%;
    padding-left: 0px;
    text-align: center;
  }
}