.fs-body-product .fs-c-variationAndActions__variation.fs-c-variationList {
  visibility: hidden;
  width: 0;
  height: 0;
  margin-top: 0;
}

.fs-c-variationAndActions {
  padding-right: 17px;
  padding-bottom: 31px;
}

.fs-c-productPrices.fs-c-productPrices--productDetail {
  margin-bottom: 0;
}

.fs-c-variationAndActions__variationLabel.fs-c-variationLabel {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.button-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: 20px;

  &.is-inactive {
    display: none;
  }
}

.button-option {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 198px;
  background: #fff;
  border: 1px solid #DFDFDF;
  border-radius: 4px;
  padding-block: 15px 17px;

  &.active {
    border-color: #7F9EAE;
    border-width: 1.6px;
  }
}

.button-option::after {
  content: "";
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.button-option.sold-out {
  .variation-material {
    color: #B0B0B0;
  }
  .variation-name {
    color: #B0B0B0;
  }
  .variation-price {
    color: #9B9B9B;
  }
}

/* 
.type01 .button-option::after {
  width: 50px;
  aspect-ratio: 1/1;
  top: 47px;
  background: url(https://www.power-stones.jp//common2025/ui/img/dummy_img.jpg) center/contain no-repeat;
}
.type01-pre .button-option::after {
  width: 50px;
  aspect-ratio: 1/1;
  top: 47px;
  background: url(https://www.power-stones.jp//common2025/ui/img/dummy_img.jpg) center/contain no-repeat;
}
.type02 .button-option::after {
  width: 50px;
  aspect-ratio: 1/1;
  top: 47px;
  background: url(https://www.power-stones.jp//common2025/ui/img/dummy_img.jpg) center/contain no-repeat;
}
.type02-pre .button-option::after {
  width: 50px;
  aspect-ratio: 1/1;
  top: 47px;
  background: url(https://www.power-stones.jp//common2025/ui/img/dummy_img.jpg) center/contain no-repeat;
}
.type03 .button-option::after {
  width: 50px;
  aspect-ratio: 1/1;
  top: 47px;
  background: url(https://www.power-stones.jp//common2025/ui/img/dummy_img.jpg) center/contain no-repeat;
}
.type03-pre .button-option::after {
  width: 50px;
  aspect-ratio: 1/1;
  top: 47px;
  background: url(https://www.power-stones.jp//common2025/ui/img/dummy_img.jpg) center/contain no-repeat;
}
.type04 .button-option::after {
  width: 50px;
  aspect-ratio: 1/1;
  top: 47px;
  background: url(https://www.power-stones.jp//common2025/ui/img/dummy_img.jpg) center/contain no-repeat;
}
.type04-pre .button-option::after {
  width: 50px;
  aspect-ratio: 1/1;
  top: 47px;
  background: url(https://www.power-stones.jp//common2025/ui/img/dummy_img.jpg) center/contain no-repeat;
}
 end */

.variation-stock {
  font-family: "Cormorant Garamond", system-ui;
  font-size: 14px;
  line-height: 1;
  color: #AE3E5E;
}

.variation-order-made {
  font-size: 10px;
  line-height: 1.1;
  color: #000;
}

.variation-material {
  font-size: 10px;
  line-height: 1.1;
  color: #3C3C3C;
  margin-top: 0;

  &:nth-child(1) {
    display: flex;
    align-items: center;
    min-height: 27px;
  }

  &:nth-child(2) {
    margin-top: 2px;
  }
}

.variation-name {
  font-size: 13px;
  line-height: 1.15;
  color: #3C3C3C;
  min-height: 29.9px;
  margin-top: auto;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
  display: flex;
  justify-content: center;
  text-align: center;
}

.variation-price {
  font-size: 14px;
  line-height: 1;
  color: #333;
  margin-top: 6px;
}

.restock-button {
  max-width: 82px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid #DFDFDF;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  line-height: 1;
  color: #161616;
  padding-block: 1px;
  margin-top: 14px;
  transition: all 0.3s ease;

  &::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(https://www.power-stones.jp//common2025/ui/img/icon_mail_border_black.svg) center/contain no-repeat;
  }

  &:hover {
    opacity: 0.7;
  }
}

.fs-c-variationCart__cartButton {
  margin-top: 30px;
  margin-bottom: 40px;
}

.fs-c-variationCart__cartButton .fs-c-button--primary {
    padding: 0;
    width: 320px;
    aspect-ratio: 320 / 80;
    @media screen and (max-width: 768px) {
      width: 280px;
    }
}

.fs-body-product .fs-c-productQuantityAndWishlist {
  margin-bottom: 1rem;
}

.content-info {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 13px;
  line-height: 1.5;
  font-weight: normal;
  color: #3c3c3c;
  padding-bottom: 5px;
}

/* ラジオボタンスタイル */
.radio-wrapper {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 30px 40px;
  margin-top: 63px;
}

.radio-label {
  font-size: 16px;
  line-height: 1;
  color: #3C3C3C;
}

.radio-label:has(input[type="radio"]:checked) {
  color: #7F9EAE;
}

input[type="radio"] {
  display: none;
}

.custom-radio {
  position: relative;
  padding-left: 34px;
  cursor: pointer;
  font-size: 16px;
  line-height: 20px;
  user-select: none;
}

.custom-radio::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #fff;
  transition: all 0.3s;
}

.custom-radio::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #D0D0D0;
  transition: background-color 0.3s;
}

input[type="radio"]:checked + .custom-radio::before {
  background-color: #7F9EAE;
}

input[type="radio"]:not(:checked) + .custom-radio::after {
  width: 18px;
  height: 18px;
  left: 3px;
}

input[type="radio"]:checked + .custom-radio::after {
  width: 12px;
  height: 12px;
  left: 6px;
}

.fs-c-productQuantityAndWishlist {
  margin-top: 30px;
}

/* 不要パーツ削除 */
.fs-c-variationLabel__label {
  display: none;
}

