.cartPageSection {
  .container {
    padding: 32px;
  }
}

#empty-cart-message {
  > a {
    display: inline-block;
    padding: 16px 32px;
    margin-top: 24px;
    background-color: #00a0e9;
    color: #fbfbfb;
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 4px;
  }
}

.cart-item-entry {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.cart-item-entry:last-child {
  border-bottom: none;
}

.item-image img {
  border-radius: 4px;
  border: 1px solid #ddd;
}

.item-details {
  flex-grow: 1;
}

.item-details h4 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.item-details p {
  font-size: 1.4rem;
  color: #555;
  margin-bottom: 4px;
}

.item-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  button {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    color: #333;
    cursor: pointer;
    padding: 0 8px; /* 少し小さめに */
    height: 30px; /* inputの高さに合わせるなど */
    line-height: 30px;
    border-radius: 4px;
    font-size: 1.6rem;
    min-width: 30px;
    text-align: center;
    &:hover {
      background-color: #e0e0e0;
    }
  }
}

.item-quantity label {
  font-size: 1.4rem;
}

.quantity-input {
  width: 60px;
  height: 30px; /* ボタンと高さを合わせる */
  padding: 6px 8px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  /* readonlyなので見た目を調整しても良い */
  background-color: #fff;
}

.item-line-price {
  min-width: 120px;
  text-align: right;
  font-size: 1.5rem;
  font-weight: bold;
}

.item-actions .remove-item-button {
  background-color: #ff4d4f;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.3rem;
  transition: background-color 0.2s ease;
}

.item-actions .remove-item-button:hover {
  background-color: #d9363e;
}

#cart-summary {
  .button-primary {
    display: grid;
    width: fit-content;
    margin-top: 16px;
    padding: 8px 12px;
    border-radius: 100vmax;
    background-color: #00a0e9;
    color: #fff;
  }
}
