/**
 * WooCommerce 단일 상품 페이지 전용 커스텀 스타일.
 *
 * 다른 페이지에 영향을 줄이려면 선택자를 `body.single-product` 아래에 두는 것을 권장합니다.
 */

/* body.single-product {
} */

/* 재입고 불가 안내 (제목 바로 위) */
body.single-product .ovns-product-no-restock-notice {
	margin: 0 0 0.65rem;
	padding: 0;
	color: #c40000;
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1.45;
}

/* 할인가 표시: 정상가(취소선) / 할인가 / N% sale */
.woocommerce p.price .ovns-price-sale-block {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin: 0;
}

.woocommerce p.price .ovns-price-line {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.55rem;
}

.woocommerce p.price .ovns-price-line-label {
	font-size: 0.82em;
	font-weight: 600;
	color: #666;
    display: none;
}

.woocommerce p.price .ovns-price-regular {
	margin: 0;
	font-weight: 400;
	opacity: 0.88;
}

.woocommerce p.price .ovns-price-sale {
	margin: 0;
	text-decoration: none;
	font-weight: 700;
}

.woocommerce p.price .ovns-price-pct {
	font-weight: 700;
	color: #c40000;
	font-size: 0.95em;
}

/* 서비스 확인·사은품 셀렉트는 숨기지 않음. 비활성 시 시각적 힌트만 (JS가 .wpcpo-options--gift-interactive 부여). */
body.single-product .wpcpo-options:not(.wpcpo-options--gift-interactive) .wpcpo-option[data-key='wpcpo-kq4g'],
body.single-product .wpcpo-options:not(.wpcpo-options--gift-interactive) .wpcpo-option[data-key='wpcpo-gkay'] {
	opacity: 0.5;
}
.woocommerce-variation-price{display: none;}

/* WPC Product Options 요약: 첫 줄(본품)만 수량 접두어(1× 등) 표시 — 플러그인이 첫 span에 넣음 */
body.single-product .wpcpo-total > ul > li:first-child .wpcpo-col1 > span:first-child {
	display: none;
}

/* 추가구성상품(배터리·선물포장·캡·케이블) — JS가 .ovns-add-on-products로 묶음 */
body.single-product .ovns-add-on-products {
	margin-top: 48px;
	margin-bottom: 8px;
	padding: 18px;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	background: #fff;
	box-sizing: border-box;
}

body.single-product .ovns-add-on-products__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

body.single-product .ovns-add-on-products__titles {
	line-height: 1.35;
}

body.single-product .ovns-add-on-products__title {
	font-weight: 700;
	font-size: 16px;
	color: #111;
}

body.single-product .ovns-add-on-products__subtitle {
	margin-left: 6px;
	font-size: 13px;
	color: #888;
}

body.single-product .ovns-add-on-products__subtitle em {
	font-style: normal;
	color: #666;
}

body.single-product .ovns-add-on-products__toggle {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	margin: -6px -6px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	position: relative;
}

body.single-product .ovns-add-on-products__toggle::after {
	content: '';
	position: absolute;
	inset: 0;
	margin: auto;
	width: 8px;
	height: 8px;
	border-right: 2px solid #333;
	border-bottom: 2px solid #333;
	transform: rotate(-135deg);
	transition: transform 0.2s ease;
}

body.single-product .ovns-add-on-products:not(.ovns-add-on-products--open) .ovns-add-on-products__toggle::after {
	transform: rotate(45deg);
}

body.single-product .ovns-add-on-products:not(.ovns-add-on-products--open) .ovns-add-on-products__body {
	display: none;
}

body.single-product .ovns-add-on-products__option {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 20px;
}

body.single-product .ovns-add-on-products__main {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
}

body.single-product .ovns-add-on-products__thumb-wrap {
	flex: 0 0 72px;
	width: 72px;
	border-radius: 4px;
	overflow: hidden;
	background: #f5f5f5;
	align-self: flex-start;
}

body.single-product .ovns-add-on-products__thumb {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

body.single-product .ovns-add-on-products__option:last-child {
	margin-bottom: 0;
}

body.single-product .ovns-add-on-products__option .wpcpo-option-name {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	margin-bottom: 0;
}

body.single-product .ovns-add-on-products__option .wpcpo-option-name strong {
	font-size: 14px;
	font-weight: 600;
	color: #111;
	line-height: 1.4;
}

body.single-product .ovns-add-on-products__option .wpcpo-option-name .label-price {
	font-size: 14px;
	font-weight: 700;
	color: #111;
}

body.single-product .ovns-add-on-products__option .wpcpo-option-name .label-price .amount {
	font-weight: 700;
}

body.single-product .ovns-add-on-products__option .wpcpo-option-description {
	margin: 0;
	width: 100%;
	box-sizing: border-box;
}

body.single-product .ovns-add-on-products__option .wpcpo-option-form {
	width: 100%;
	max-width: 100%;
	margin: 0;
}

body.single-product .ovns-add-on-products__option .wpcpo-option-form .form-row {
	margin: 0;
	padding: 0;
}

body.single-product .ovns-add-on-products__option .wpcpo-option-form label {
	display: block;
	width: 100%;
}

body.single-product .ovns-add-on-products__option .wpcpo-option-form select.field-select {
	width: 100%;
	max-width: 100%;
	margin-top: 0;
	padding: 10px 12px;
	font-size: 14px;
	border: 1px solid #d0d0d0;
	border-radius: 4px;
	background-color: #fff;
	box-sizing: border-box;
}

body.single-product [data-key="wpcpo-7r3w"]{margin-top: 20px;}

form.variations_form table.variations{margin-bottom: 0px;}
form.variations_form table.variations label{font-weight: 700;font-size: 16px;}

form.variations_form table.variations tr .value a{font-size: 0;}


.entry-summary .entry-title{font-size: 24px;}