/**
 * 상품 상세 - 주문 전 확인 안내 배너
 *
 * 사용처: inc/order-notice.php, template-parts/product/order-notice/{substitute,expiry}.php
 * 로딩: functions.php 에서 is_product() 일 때만 enqueue 한다.
 */

.shop_detail_container .product_info_con .order_notice_area {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin: 2rem 0 2.5rem;
}

.shop_detail_container .product_info_con .order_notice_box {
	width: 100%;
	border: 1px solid var(--grayscale-200);
	border-radius: 0.625rem;
	overflow: hidden;
	background: var(--grayscale-white);
}

/* 헤더 밴드 */
.shop_detail_container .product_info_con .order_notice_box .order_notice_head {
	margin: 0;
	padding: 1.375rem 1rem;
	background: linear-gradient(180deg, var(--primary-400) 0%, var(--primary-500) 100%);
	color: var(--grayscale-white);
	font-size: 32pt;
	font-weight: 800;
	line-height: 130%;
	letter-spacing: -0.02em;
	text-align: center;
	word-break: keep-all;
}

/* 본문 공통 */
.shop_detail_container .product_info_con .order_notice_box .order_notice_body {
	padding: 1.875rem 1.25rem 2.5rem;
	text-align: center;
	word-break: keep-all;
}

.shop_detail_container .product_info_con .order_notice_box .order_notice_body p {
	margin: 0;
	color: var(--grayscale-700);
	font-size: clamp(0.9375rem, 2.1vw, 1.0625rem);
	font-weight: 500;
	line-height: 185%;
	word-break: keep-all;
}

.shop_detail_container .product_info_con .order_notice_box .order_notice_body p + p {
	margin-top: 1.5rem;
}

.shop_detail_container .product_info_con .order_notice_box .order_notice_body strong {
	color: var(--primary-400);
	font-weight: 800;
}

/* 대체 발송 제품명 (타입1) */
.shop_detail_container .product_info_con .order_notice_box .order_notice_body p.order_notice_name {
	color: var(--primary-400);
	font-size: clamp(1rem, 2.4vw, 1.25rem);
	font-weight: 800;
	line-height: 150%;
	letter-spacing: -0.01em;
}

/* 소제목 */
.shop_detail_container .product_info_con .order_notice_box .order_notice_body p.order_notice_tit {
	color: var(--primary-400);
	font-size: clamp(1rem, 2.6vw, 1.375rem);
	font-weight: 800;
	line-height: 150%;
}

/* 유통기한 표시 (타입2) */
.shop_detail_container .product_info_con .order_notice_box .order_notice_body em {
	font-style: normal;
	font-weight: 700;
	color: var(--primary-500);
}

/* 양식2는 문단 사이 간격을 줄 간격과 동일하게 맞춘다 */
.shop_detail_container .product_info_con .order_notice_box--type2 .order_notice_body p + p {
	margin-top: 0;
}

@media (max-width: 1024px) {
	.shop_detail_container .product_info_con .order_notice_box .order_notice_head {
		font-size: 1.5rem;
	}
}

@media (max-width: 768px) {
	.shop_detail_container .product_info_con .order_notice_area {
		gap: 1.125rem;
		margin: 1.5rem 0 2rem;
	}

	.shop_detail_container .product_info_con .order_notice_box {
		border-radius: 0.5rem;
	}

	.shop_detail_container .product_info_con .order_notice_box .order_notice_head {
		padding: 0.875rem 0.75rem;
	}

	.shop_detail_container .product_info_con .order_notice_box .order_notice_body {
		padding: 1.25rem 0.875rem 1.5rem;
	}

	.shop_detail_container .product_info_con .order_notice_box .order_notice_body p + p {
		margin-top: 1.125rem;
	}
}
