/* [ TONIQ_richard_22jul - 商品詳細 ] */
.input-prepend.input-append {
  display: flex;
}

.input-prepend.input-append input {
  font-size: 24px;
  padding-top: 11px;
  padding-bottom: 11px;
  width: 150px;
  text-align: right;
}

.num-up-dw-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  height: 40px;
}

.num-up-dw-container .btn {
  box-sizing: border-box;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;  
  overflow: visible !important;
  position: relative;
}

.num-up-dw-container .btn i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn.btn-up {
  border-radius: 0 3px 0 0 !important;
}

.btn.btn-dw {
  border-radius: 0 0 3px 0 !important;
}

.stock_error {
  color: #DB5656;
}

.price_p {
  display: flex;
  justify-content: flex-end;
}

.price {
  color: #bb271a;
  font-size: 1.5em;
  font-weight: bolder;
}

.price_a {
  margin: 10px;
}


#cartin {
  position: fixed;
  right: 20px;
  bottom: 0px;
  z-index: 1000;
  background-color: #fff;
  padding: 10px 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 180px;
}

.number {
  width: 50px;
}

.button-container {
	text-align: center;
	margin-top: 10px;
}

.button-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.checkout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  color: #fff;
  background-color: #555;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: background-color 0.3s;
}

.checkout.quickbuy{
  color: #555;
  background-color: #fff;
  border: 1px solid #555; 
  justify-content: center;
}


.checkout img {
  height: 15px;
  width: auto;
}

button {
  all: unset;
  display: inline;
  cursor: pointer;
}

#cartin .number input[name="product_num"] {
  display: inline-block !important;
  width: 80px !important;
  height: 40px !important;
  font-size: 20px !important;
  text-align: center !important;
  padding: 2px 4px !important;
  box-sizing: border-box !important;
}


.soldout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  color: #555;
  background-color: #fff;
  
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: background-color 0.3s;
  margin: 2px 0px;
}

/*gazou*/
/* ギャラリー全体 */
.product-gallery {
  max-width: 100%;
  margin-bottom: 30px;
}

/* メイン画像 */
.main-image {
  text-align: center;
}
.main-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
}

/* サムネイル横スクロール */
.thumbnail-scroll {
  display: flex;
  overflow-x: auto;
  gap: 6px;
  margin-top: 10px;
  padding-bottom: 5px;
}

.thumbnail-scroll::-webkit-scrollbar {
  height: 5px;
}
.thumbnail-scroll::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 2px;
}

.thumbnail {
  height: 50px !important;
  max-height: 50px !important;
  width: auto !important;
  object-fit: contain;
  flex-shrink: 0;
  border: none;
  padding: 0;
  margin: 0;
  display: block;
}

.thumbnail, .thumbnail img {
  border-radius: 0 !important;
}


