.cart-neo {
  max-width: 1280px;
  margin: 32px auto 16px;
  padding: 0 16px 32px;
}

.cart-neo__title {
  margin: 0;
  color: #111;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.cart-neo__layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 40px;
  margin-top: 18px;
}

.cart-neo__list {
  min-width: 0;
}

.cart-neo__item {
  position: relative;
  border-bottom: 1px solid #e4e4e7;
  padding: 16px 0;
}

.cart-neo__left {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.cart-neo__thumb-link {
  display: block;
  flex: 0 0 80px;
}

.cart-neo__thumb-link img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  background: #f3f3f3;
}

.cart-neo__meta {
  min-width: 0;
}

.basket-item-name {
  display: block;
  width: 85%;
  margin: 0 0 6px;
  color: #111;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.cart-neo__price {
  margin: 0;
  color: #111;
  font-size: 14px;
  line-height: 1.35;
}

.cart-neo__attrs {
  display: flex;
  flex-wrap: wrap;
  column-gap: 18px;
  row-gap: 4px;
  margin-top: 4px;
  color: #6b7280;
  font-size: 13px;
}

.cart-neo__attrs span {
  white-space: nowrap;
}

.cart-neo__attrs strong {
  color: #111;
  font-weight: 600;
}

.cart-neo__qty-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 6px;
  color: #6b7280;
  font-size: 14px;
}

.cart-neo__qty-form {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.cart-neo__qty-form button {
  border: 0;
  background: transparent;
  padding: 0;
  color: #111;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.cart-neo__qty-form span {
  min-width: 14px;
  text-align: center;
  color: #111;
  font-size: 14px;
  font-weight: 600;
}

.cart-neo__right {
  position: absolute;
  top: 16px;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 42px;
}

.cart-neo__remove-form button {
  border: 0;
  background: transparent;
  color: #111;
  font-size: 17px;
  padding: 0;
  cursor: pointer;
}

.cart-neo__line-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.cart-neo__line-total-old {
  color: #8a8b94;
  font-size: 14px;
  text-decoration: line-through;
}

.cart-neo__line-total {
  color: #111;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.cart-neo__continue {
  display: inline-block;
  margin-top: 22px;
  color: #636363;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cart-neo__summary {
  border: 1px solid #ededed;
  background: #f7f7f9;
  padding: 20px 30px;
}

.cart-neo__summary h3 {
  margin: 0;
  padding: 0 0 18px;
  color: #111;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.cart-neo__summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #636363;
  font-size: 14px;
  line-height: 1.35;
}

.cart-neo__summary-row + .cart-neo__summary-row {
  margin-top: 8px;
}

.cart-neo__summary-row strong {
  color: #8a8b94;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.cart-neo__summary .sub-total span:first-child {
  width: 70%;
}

.cart-neo__summary-row--total {
  margin-top: 10px;
}

.cart-neo__summary-row--total span {
  color: #111;
}

.cart-neo__summary-row--total strong {
  color: #111;
  font-size: 18px;
  font-weight: 700;
}

.cart-neo__coupon {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e4e4e7;
}

.cart-neo__coupon summary {
  cursor: pointer;
  color: #111;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-decoration: underline;
  text-underline-offset: 4px;
  list-style: none;
}

.cart-neo__coupon summary::-webkit-details-marker {
  display: none;
}

.cart-neo__coupon form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.cart-neo__coupon input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  border: 1px solid #111;
  padding: 0 14px;
  background: #fff;
  color: #111;
  font-size: 14px;
}

.cart-neo__coupon button {
  height: 48px;
  border: 0;
  background: #111;
  color: #fff;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.cart-neo__ship-note {
  margin: 24px 0 16px;
  color: #636363;
  font-size: 14px;
  line-height: 1.45;
}

.cart-neo__checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.cart-neo__empty {
  border: 1px solid #e4e4e7;
  background: #fff;
  padding: 16px;
  color: #636363;
  font-size: 14px;
}

@media (max-width: 991px) {
  .cart-neo {
    margin: 20px auto 8px;
    padding: 0 14px 20px;
  }

  .cart-neo__layout {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 14px;
  }

  .cart-neo__left {
    align-items: flex-start;
    gap: 12px;
  }

  .cart-neo__thumb-link {
    flex-basis: 72px;
  }

  .cart-neo__thumb-link img {
    width: 72px;
    height: 72px;
  }

  .basket-item-name {
    width: 100%;
    font-size: 13px;
    margin-bottom: 4px;
  }

  .cart-neo__price {
    font-size: 13px;
  }

  .cart-neo__attrs {
    column-gap: 10px;
    row-gap: 2px;
    font-size: 12px;
  }

  .cart-neo__qty-row {
    font-size: 13px;
    gap: 10px;
  }

  .cart-neo__qty-form {
    gap: 10px;
  }

  .cart-neo__qty-form button {
    font-size: 19px;
  }

  .cart-neo__right {
    position: static;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }

  .cart-neo__line-prices {
    align-items: flex-end;
  }

  .cart-neo__continue {
    margin-top: 16px;
    font-size: 13px;
  }

  .cart-neo__summary {
    padding: 16px 18px;
  }

  .cart-neo__summary h3 {
    padding-bottom: 12px;
  }

  .cart-neo__ship-note {
    margin: 16px 0 12px;
  }
}
