.cart__content {
  margin-bottom: 128px;
}

.cart__title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 32px;
}

.cart__main {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.cart__list {
  display: flex;
  flex-direction: column;
  max-width: 57%;
  min-width: 482px;
}

.cart__list-item {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-top: solid 1px var(--color-extra-light-black);
}

.cart__list-image {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.cart__list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart__list-info {
  width: 100%;
}

.cart__list-detail {
  font-size: 14px;
  margin-bottom: 24px;
}

.cart__list-name {
  font-size: 16px;
  font-weight: bold;
  padding-bottom: 8px;
}

.cart__list-price {
  margin-top: 16px;
}

.cart__controls {
  display: flex;
  justify-content: space-between;
}

.cart__controls-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart__quantity {
  display: flex;
  gap: 4px;
}

.cart__controls-left a {
  text-decoration: underline;
  font-size: 14px;
}

.cart__product-num-spinner {
  display: flex;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
}

input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

input.cart__product-num-value {
  font-size: 20px;
  color: #6E6E6E;
  width: 48px;
  height: 40px;
  text-align: center;
  padding: 0 5px;
}

input.spinner-up,
input.spinner-down {
  border: 0px;
  width: 100%;
  height: 100%;
  padding: 0;
  background-repeat: no-repeat;
  background-size: 48%;
  background-position: center;
  background-color: #e5e5e5;
  cursor: pointer;
}

input.spinner-up {
  background-image: url(https://gigaplus.makeshop.jp/decodecoshop/resource/img/icon/count_up.svg);
}

input.spinner-down {
  background-image: url(https://gigaplus.makeshop.jp/decodecoshop/resource/img/icon/count_down.svg);
}

input.spinner-down.limit {
  opacity: 0.5;
}

.cart__controls-right {
  text-align: right;
}

.cart__list-delete {
  display: block;
}

.cart__list-delete a {
  font-size: 12px;
  border: 1px solid var(--color-black);
  padding: 2px 8px;
  text-decoration: none;
}

.cart__list-point {
  font-size: 12px;
}

.cart__list-subtotal {
  font-size: 24px;
  font-weight: bold;
}

.cart__price {
  width: 100%;
  max-width: 498px;
  min-width: 310px;
}

.cart__price-container {
  position: sticky;
  top: 80px;
  padding: 24px;
  border: solid 1px var(--color-extra-light-black);
}

.cart__price-title {
  font-size: 20px;
  font-weight: bold;
}

.cart__total-price--layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 8px;
}

.cart__total-price {
  font-size: 24px;
  font-weight: bold;
}

.cart__price-point {
  font-size: 12px;
  text-align: right;
}

.cart__price-bulk {
  margin-top: 6px;
  font-size: 12px;
}

.cart-button-wrap {
  text-align: right;
  margin-top: 40px;
}

.cart-button-wrap .cart-button a {
  width: 100%;
  display: inline-block;
  text-align: center;
  background: var(--color-main);
  border-radius: 5px;
  padding: 20px 0;
  font-weight: bold;
  font-size: 18px;
  color: var(--color-white);
  margin-bottom: 20px;
}

.amazon-button {
  display: inline-block;
  width: 100%;
  margin-bottom: 30px;
}

@media screen and (max-width: 860px) {
  .cart__main {
    gap: 48px;
    flex-direction: column;
  }

  .cart__list {
    max-width: initial;
    min-width: initial;
    width: 100%;
  }

  .cart__price {
    max-width: initial;
    min-width: initial;
  }

  .cart__controls-right {
    margin-top: 32px
  }

  .cart__product-num-spinner {
    width: 32px;
    height: 32px;
  }

  input.cart__product-num-value {
    font-size: 16px;
    width: 40px;
    height: 32px;
  }
}

@media screen and (max-width: 600px) {
  .cart__title {
    font-size: 24px; 
}
  .cart__list-image {
    width: 80px;
    height: 80px;
  }

  .cart__list-item {
    gap: 16px;
  }

  .cart__list-name {
    font-size: 14px;
  }

  .cart__controls {
    flex-direction: column;
  }
}