/* 入力欄（数量セレクター）のスタイル */
.input-prepend.input-append {
  display: inline-flex;
  align-items: center;
}

.input-prepend.input-append input {
  font-size: 24px;
  padding: 10px;
  width: 60px;
  text-align: center;
  margin: 0 5px;
  box-sizing: border-box;
}

/* ボタンスタイル */
.input-prepend.input-append .btn {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f8f8f8;
  cursor: pointer;
  color: #333;
  text-decoration: none;
}

.input-prepend.input-append .btn:hover {
  background-color: #eaeaea;
}

/* 数量入力欄の単体スタイル */
.quantity-selector {
  display: inline-block;
}

.quantity-input {
  width: 70px;
  height: 36px;
  font-size: 16px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 4px;
  box-sizing: border-box;
}

/* カート追加ボタンのスタイル */
.btn-addcart {
  font-size: 16px;
  padding: 8px 24px;
  background-color: #e0e0e0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-addcart:hover {
  background-color: #d5d5d5;
}

/* 幅いっぱいのボタンスタイル（btn-block） */
.btn-block {
  width: 100%;
  font-size: 16px;
  padding: 8px;
  background-color: #f0f0f0;
  border: none;
  border-radius: 4px;
}

/* 無効化ボタンのスタイル */
.disabled {
  cursor: not-allowed;
  background-color: #eaeaea;
}



/* フッターの中央揃え */
footer {
  clear: both;
  width: 100%;
  margin: 0 auto;
}


/* 数量セレクターをすっきり四角く整える */
.input-prepend.input-append {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.input-prepend.input-append input {
  width: 60px;
  height: 36px;
  text-align: center;
  font-size: 16px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  margin: 0;
}

.input-prepend.input-append .btn {
  width: 36px;
  height: 36px;
  line-height: 34px;
  font-size: 18px;
  color: #333;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 0;
  cursor: pointer;
}

.input-prepend.input-append .btn:hover {
  background-color: #e8e8e8;
}

.input-prepend.input-append .btn:first-child {
  border-radius: 4px 0 0 4px;
}

.input-prepend.input-append .btn:last-child {
  border-radius: 0 4px 4px 0;
}

/* カートに入れるボタンをかわいく調整 */
.btn-addcart {
  font-size: 16px;
  padding: 8px 20px;
  background-color: #ff8fbf; 
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  margin-top: 10px;
}

.btn-addcart:hover {
  background-color: #ff77af;
}
/* 数量セレクターを完全に整える */
.input-prepend.input-append {
  display: inline-flex;
  align-items: center;
}

.input-prepend.input-append input {
  width: 50px;
  height: 36px;
  text-align: center;
  font-size: 16px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  margin: 0;
  border-left: none;
  border-right: none;
}

.input-prepend.input-append .btn {
  width: 36px;
  height: 36px;
  font-size: 16px;
  color: #333;
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  cursor: pointer;
  line-height: 34px;
  padding: 0;
  margin: 0;
}

.input-prepend.input-append .btn:hover {
  background-color: #eaeaea;
}

.input-prepend.input-append .btn:first-child {
  border-radius: 4px 0 0 4px;
}

.input-prepend.input-append .btn:last-child {
  border-radius: 0 4px 4px 0;
}

/* カートに入れるボタンを四角く可愛く調整 */
.btn-addcart {
  font-size: 16px;
  padding: 8px 20px;
  background-color: #ff8fbf;
  color: #fff;
  border: none;
  border-radius: 4px; /* 四角い角に調整 */
  cursor: pointer;
  margin-top: 10px;
}

.btn-addcart:hover {
  background-color: #ff77af;
}
/* 数量入力ボタン完全調整 */
.input-prepend.input-append {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}

.input-prepend.input-append input {
  width: 50px;
  height: 38px; /* ボタンと完全一致させる */
  text-align: center;
  font-size: 16px;
  border: none;
  box-sizing: border-box;
  margin: 0;
}

.input-prepend.input-append .btn {
  width: 38px;
  height: 38px;
  font-size: 20px; /* 見やすさ向上 */
  color: #333;
  background-color: #f8f8f8;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 38px; /* 縦揃え */
  box-sizing: border-box;
}

.input-prepend.input-append .btn:hover {
  background-color: #eaeaea;
}

/* カートに入れるボタンをかわいく四角く */
.btn-addcart {
  font-size: 16px;
  padding: 8px 20px;
  background-color: #ff8fbf;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
}

.btn-addcart:hover {
  background-color: #ff77af;
}
