/* WooCommerce 商品ページの要素順を並べ替え */
.single-product .product {
    display: flex;
    flex-direction: column;
}

/* summaryを下に移動 */
.single-product .product .summary.entry-summary {
    order: 3;
}

/* タブ（説明文部分）を2番目に */
.single-product .product .woocommerce-tabs.wc-tabs-wrapper {
    order: 2;
}

.product_meta{
	display:none;
}

/* バリエーション名と選択肢を縦並びに */
/* 商品ページのみ対象 */
.single-product table.variations {
  display: flex;
  flex-direction: column;
  gap: 12px; /* 各項目の間隔 */
  width: 100%;
}

/* 各行を縦並びに */
.single-product table.variations tr {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0; /* テーマによる余白をリセット */
}

/* ラベルを上に、選択肢を下に */
.single-product table.variations th.label,
.single-product table.variations td.value {
  display: block;
  width: 80%;
  float: none;      /* float を解除（テーマに依存する場合があるため） */
  vertical-align: top;
  padding: 0;
}

/* ラベルの見た目 */
.single-product table.variations th.label label {
  display: block;
  margin: 0 0 6px 0;
  font-weight: 600;
}

/* セレクトを幅いっぱいに */
.single-product table.variations td.value select {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* クリアリンクがある場合は下に適度な余白 */
.single-product table.variations td.value .reset_variations {
  display: inline-block;
  margin-top: 6px;
}

/* 説明文と購入関連の間に入れたhr */
.single-product .between-desc-cart {
  border: none;
  border-top: 2px solid #ddd;
  margin: 2em 0;
}
