.product-cart-wrapper {
  padding-top: 60px;
}

/* Cart Wrapper */
.cart-wrapper {
  display: flex;
  gap: 40px;
  margin-bottom: 80px;
}

.cart-left {
  width: 800px;
}

/* Cart Table */
.cart-table {
  width: 800px;
}

.cart-table-header {
  display: flex;
  gap: 4px;
  width: 100%;
  margin-bottom: 16px;
}

.cart-table-header__product {
  flex: 1;
  background-color: #000000;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5em;
  color: #FFFFFF;
}

.cart-table-header__quantity {
  width: 160px;
  background-color: #000000;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5em;
  color: #FFFFFF;
}

.cart-table-header__subtotal {
  width: 200px;
  background-color: #000000;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5em;
  color: #FFFFFF;
}

.cart-table-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart-table-row__product {
  width: 432px;
  display: flex;
  align-items: center;
  position: relative;
}

.product-remove-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-right: 16px;
}

.product-image img {
  max-width: 120px;
  max-height: 120px;
  width: 100%;
  height: 100%;
  background-color: #E9E9E9;
  object-fit: contain;
  border-radius: 8px;
}

.product-image__label {
  background-color: #CB0E49;
  color: #FFFFFF;
  padding: 7.5px;
  border-radius: 4px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25em;
  text-align: center;
  white-space: nowrap;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 300px;
  font-size: 15px;
  margin-left: 24px;
}

.product-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  line-height: 1.5em;
  color: #000000;
}

.product-price {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  line-height: 1.5em;
  color: #000000;
}

.cart-table-row__quantity {
  width: 160px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quantity-value {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5em;
  color: #000000;
  text-align: center;
}

.cart-table-row__subtotal {
  width: 200px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.subtotal-value {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5em;
  color: #000000;
  text-align: center;
}

.cart-table-divider {
  width: 100%;
  height: 1px;
  background-color: #CACACA;
  margin: 0;
  margin: 24px 0;
}
.cart-table-divider:last-child {
  display: none;
}

.cart-right {
  width: 360px;
}

/* Cart Summary */
.cart-summary {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
}
.cart-summary-row-bottom {
  margin-bottom: 38px;
}


.cart-summary-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5em;
  color: #000000;
}

.cart-summary-value {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5em;
  color: #000000;
}

.cart-summary-price {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.375em;
  color: #000000;
}

.cart-summary-divider {
  width: 100%;
  height: 1px;
  background-color: #CACACA;
  margin: 20px 0;
}

/* Checkout Buttons */
.btn-checkout {
  width: 100%;
  height: 55px;
  background-color: #FBE800;
  border: none;
  border-radius: 7px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5em;
  color: #000000;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-checkout:hover {
  background-color: #e5d400;
}

.btn-login-checkout {
  width: 100%;
  height: 55px;
  background-color: #FBE800;
  border: none;
  border-radius: 7px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5em;
  color: #000000;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-login-checkout:hover {
  background-color: #e5d400;
}

.btn-order-process {
  width: 100%;
  background-color: #E9E9E9;
  border: none;
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5em;
  color: #000000;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}

.btn-order-process:hover {
  background-color: #d9d9d9;
}

/* Or Divider */
.cart-or-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.cart-or-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1em;
  color: #000000;
}

@media (max-width: 1200px) {
  .cart-wrapper {
    flex-direction: column;
  }
  .product-cart-wrapper {
    padding-top: 28px;
  }
  .cart-table-header {
    display: none;
  }
  .cart-left {
    width: 100%;
  }
  .cart-table {
    width: 100%;
    height: auto;
  }
  .cart-right {
    width: 100%;
  }
  .cart-summary {
    padding: 40px 24px;
  }
  .product-info {
    margin-left: 8px;
    height: 100%;
    font-size: 14px;
  }
  .cart-table-row__product {
    width: 100%;
    align-items: flex-start;
  }
  .product-price-quantity-wrapper {
    margin-top: 16px;
  }
}
