.product-detail-wrapper {
  display: flex;
  gap: 56px;
  padding-top: 60px;
}

.product-detail-left {
  width: 560px;
}

.product-detail-right {
  width: 584px;
}
/* Main gallery (Swiper) */
.product-main-swiper {
  width: 100%;
  height: 560px;
  background-color: #E9E9E9;
  margin-bottom: 16px;
  border-radius: 16px;
}

.product-main-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-main-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Product Thumbnails */
/* Thumbnails (Swiper) */
.product-thumbs-swiper {
  width: 100%;
}

.product-thumbnails {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-thumbnail {
  width: 128px;
  height: 128px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background-color: #E9E9E9;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.product-thumbnail:hover {
  transform: scale(1.05);
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Product Detail Right */
.product-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5em;
  color: #000000;
  margin: 0 0 24px 0;
}

.product-price {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.5em;
  color: #000000;
  margin-bottom: 40px;
}

/* Quantity Selector */
.product-quantity {
  display: flex;
  gap: 4px;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  background-color: #E9E9E9;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

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

.quantity-btn svg {
  width: 12px;
  height: 12px;
}

.quantity-value {
  width: 56px;
  height: 40px;
  background-color: #ffffff;
  color: #000000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5em;
}

.quantity-value input::webkit-outer-spin-button,
.quantity-value input::webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0;
}
.quantity-value input[type=number] {
  -moz-appearance: textfield !important;
}
.quantity-value input  {
}
/* remove number input arrow */

/* Divider */
.product-divider {
  width: 100%;
  height: 1px;
  background-color: #CACACA;
  margin-top: 24px;
  margin-bottom: 24px;
}

/* Add to Cart Button */
.btn-add-to-cart {
  width: 280px;
  height: 56px;
  background-color: #FBE800;
  border: none;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-add-to-cart--out-of-stock {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-add-to-cart:hover {
  background-color: #e5d400;
}

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

.btn-add-to-cart__icon {
  position: absolute;
  right: 16px;
  width: 24px;
  height: 24px;
  background-color: black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-add-to-cart__icon img {
  width: 12px;
  height: 12px;
}

/* Product Description */
.product-description {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;

  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 2.3em;
  color: #000000;
}

/* Product Remarks */
.product-remarks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 2.3em;
  color: #000000;
}
.product-detail-border-bottom {
  width: 100%;
  height: 1px;
  background-color: #CACACA;
  margin-top: 80px;
  margin-bottom: 80px;
}
.product-quantity-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Return Button */
.btn-bottom {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.btn-return {
  width: 400px;
  height: 64px;
  background-color: #FFFFFF;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-return:hover {
  background-color: #f8f8f8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-return span {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5em;
  color: #000000;
}

.btn-return__icon {
  position: absolute;
  left: 32px;
  width: 24px;
  height: 24px;
  background-color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-return__icon svg {
  width: 12px;
  height: 12px;
}

@media (max-width: 1200px) {
  .product-detail-wrapper {
    flex-direction: column;
    padding-top: 28px;
  }
  .product-detail-left {
    width: 100%;
  }
  .product-detail-right {
    width: 100%;
  }
  .product-main-swiper {
    margin-bottom: 6px;
    height: 342px;
  }
  .product-thumbnails {
    gap: 10px;
  }
  .product-thumbnail {
    width: 100%;
    height: 100%;
  }
  .product-title {
    font-size: 20px;
  }
  .btn-group__header {
    margin-bottom: 8px !important;
  }
  .group__header-mobile {
    margin-bottom: 0 !important;
  }
  .product-detail-border-bottom {
    margin-top: 64px;
    margin-bottom: 64px;
  }
  .btn-return {
    width: 100%;
  }
  .product-price {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .product-quantity-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .btn-add-to-cart {
    width: 100%;
  }
  .product-quantity-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 32px;
  }
  .product-description {
    font-size: 14px;
  }
  .product-detail-wrapper {
    gap: 40px;
  }
}
