/* 商品詳細ページの表示専用仕様一覧 */
.has-current-product-spec .wapf-wrapper {
	display: none;
}

.has-current-product-spec .single_product_price,
.has-current-product-spec .single_product_quantity {
	display: none;
}

/* product11は画面左のカスタム選択UIを正とし、サイドバーには選択済み仕様だけを表示する。 */
.product_detail:has(#color1-1) .has-current-product-spec .variations_form > .variations,
.product_detail:has(#color1-1) .has-current-product-spec .variations_form > .reset_variations {
	display: none;
}

.p-current-product-spec {
	margin: 0 0 24px;
	border: 1px solid #cfcfcf;
	background: #fff;
}

.p-current-product-spec__title {
	margin: 0;
	padding: 9px 12px;
	background: #6f6f6f;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.p-current-product-spec__list {
	margin: 0;
}

.p-current-product-spec__list dl {
	display: grid;
	grid-template-columns: 43% minmax(0, 1fr);
	min-height: 29px;
	margin: 0;
	border-bottom: 1px solid #cfcfcf;
}

.p-current-product-spec__list dt,
.p-current-product-spec__list dd {
	box-sizing: border-box;
	margin: 0;
	padding: 6px 8px;
	font-size: 12px;
	line-height: 1.35;
}

.p-current-product-spec__list dt {
	font-weight: 700;
}

.p-current-product-spec__list dd {
	overflow-wrap: anywhere;
}

.p-current-product-spec__total {
	display: flex;
	align-items: baseline;
	justify-content: flex-end;
	gap: 10px;
	padding: 14px 12px;
	font-size: 13px;
	font-weight: 700;
}

.p-current-product-spec__total strong {
	font-size: 22px;
}

.p-current-product-spec__note {
	margin: 0;
	padding: 10px 12px 12px;
	border-top: 1px solid #cfcfcf;
	color: #555;
	font-size: 11px;
	line-height: 1.6;
}

.has-current-product-spec .single_product_cart_button {
	width: 100%;
	min-width: 0;
	margin-top: 0;
	position: relative;
	background: #d81319;
}

/* サイドバーのカートボタンにも矢印を表示する。 */
.has-current-product-spec .single_product_cart_button::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 21px;
	width: 8px;
	height: 13px;
	background: url(../../img/arrow_right01.png) no-repeat center / contain;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	-webkit-transition: -webkit-transform .3s;
	transition: transform .3s;
}

/* 未入力・未選択でカートへ進めない状態。 */
.has-current-product-spec .single_product_cart_button:disabled,
.has-current-product-spec .single_product_cart_button.disabled {
	background: #d81319;
	cursor: not-allowed;
	opacity: 0.2;
}

@media (min-width: 941px) {
	/* #wrapper の overflow: hidden は sticky のスクロール基準を固定してしまうため、対象商品だけ解除する。 */
	#wrapper:has(.single_product_info.has-current-product-spec) {
		overflow: visible;
	}

	/* PCでは、仕様一覧とカートボタンを設定フォームのスクロールに追従させる。 */
	.product_detail .single_product_info.has-current-product-spec {
		position: sticky;
		top: 100px;
	}

	body.admin-bar .product_detail .single_product_info.has-current-product-spec {
		top: 132px;
	}
}

@media (hover: hover) and (pointer: fine) {
	.has-current-product-spec .single_product_cart_button:not(:disabled):not(.disabled):hover {
		background: #b30f14;
	}

	.has-current-product-spec .single_product_cart_button:not(:disabled):not(.disabled):hover::after {
		-webkit-transform: translate(4px, -50%);
		transform: translate(4px, -50%);
	}
}
