.main {
  padding-bottom: 40px;
  text-align: center;
}

.product-detail {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 100px;
  flex-wrap: nowrap;
  margin-top: 30px;
}

.product-image {
  margin-left: 0;
}

.product-image img {
  border: 1px solid #ccc;
  border-radius: 8px;
  max-width: 400px;
  height: auto;
}

.product-info {
  margin-top: -30px;
  text-align: left;
  max-width: 400px;
  justify-content: right;
  padding-left: 10px;

}

.product-info h3 {
  font-size: 35px;
  margin-top: 20px;

}

.price {
  margin-top: 15px;
  font-size: 1.5em;
  font-weight: bold;
  color: #000;
}

.limit {
  color: #888888;
  font-size: 15px;
}


.purchase-box {
  display: flex;
  flex-direction: column;
  /* 全体は縦並び */
  align-items: flex-start;
  gap: 10px;
}

.quantity-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
  /* ラベルとプルダウンを縦方向で揃える */
  gap: 8px;
  /* 数量とセレクトの間の隙間 */
}

select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1em;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

select:hover {
  border-color: #333;
  box-shadow: 0 0 6px rgba(255, 158, 196, 0.4);
}


.cart-buttons {
  display: flex;
  gap: 16px;          /* ← ボタン同士の間隔。お好みで調整 */
  align-items: center;
  margin-top: 10px;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #fff;
  color: #000;
  border: 1.5px solid #000;
  padding: 12px 24px;
  font-size: 1em;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cart-btn:hover {
  background-color: #000;
  color: #fff;
}

.explan {
  margin-top: 20px;
}