/* 첫 화면 팝업 3개 — 옛 Elementor 팝업(#11020 · #10423 · #10285, 열린 상태)에서 폭별로 잰 값(생성: 거래처 폴더 tools/build-na.py). 옛 순서(푸터 CSS 뒤) 그대로. */

/* 팝업 #11020 */
.na-pop.p11020 {
	position: fixed;
	height: 100%;
	width: 100%;
	bottom: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 9999;
	align-items: flex-start !important;
	padding-top: 40px !important;
	display: flex;
	pointer-events: all;
	justify-content: center;
}
.na-pop .p11020__div {
	background-color: transparent !important;
	position: absolute;
	box-shadow: rgba(0, 0, 0, 0.2) 2px 8px 23px 3px;
	animation-duration: 1.25s;
	max-height: 100%;
	max-width: fit-content !important;
	pointer-events: all;
	width: fit-content !important;
	margin-right: auto !important;
	margin-left: auto !important;
}
.na-pop .p11020__link {
	cursor: pointer;
	position: absolute;
	right: 20px;
	color: inherit;
	font-size: 15px;
	line-height: 1;
	display: flex;
	pointer-events: all;
	top: 20px;
	z-index: 9999;
	text-decoration: none;
}
.na-pop .p11020__icon {
	fill: #ffffff !important;
	height: 1em;
	width: 1em;
}
.na-pop .p11020__div-2,
.na-pop .p11020__div-4 {
	display: none;
}
.na-pop .p11020__div-3 {
	line-height: 1.5;
	display: flex;
	max-height: 100vh;
	max-width: fit-content !important;
	width: fit-content !important;
	margin-right: auto !important;
	margin-left: auto !important;
	background-color: transparent !important;
	overflow: auto;
}
.na-pop .p11020__popup {
	width: 100%;
}
.na-pop .p11020-0f1d14d {
	flex-shrink: 0;
	flex-direction: column;
	position: relative;
	width: fit-content !important;
	min-width: 0;
	margin-right: auto !important;
	margin-left: auto !important;
	display: flex;
	max-width: fit-content !important;
	background-color: transparent !important;
	gap: 20px;
	transition: background 0.3s, border 0.3s, box-shadow 0.3s, transform 0.4s;
}
.na-pop .p11020-622692d {
	position: relative;
	text-align: center;
	min-width: 0;
	max-width: min(520px, -20px + 33.3333vw) !important;
}
.na-pop .p11020-622692d__div {
	height: 100%;
	transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s, transform 400ms;
}
.na-pop .p11020-622692d__img {
	max-width: min(520px, -20px + 33.3333vw) !important;
	display: block !important;
	vertical-align: middle;
}

@media (max-width: 767px) {
	.na-pop .p11020-0f1d14d {
		flex-wrap: wrap;
	}
	.na-pop .p11020-622692d,
	.na-pop .p11020-622692d__img {
		max-width: 520px !important;
	}
}

/* ---- 손으로 쓴 부분(거래처 폴더 maps/popup11020.extra.css): 옛 화면에서 JS 가 만들던 요소·상태 ---- */
/*
 * 폰(767px 이하) 팝업 폭 — 옛 화면은 세 팝업 모두 화면 폭(390)에 맞춰 줄었다(내용 상자 389.98px). 팝업 사용자 CSS(#11020)는
 * 사진 max-width 520px · 상자 width: fit-content 인데, 생성 CSS 만으로는 사진이 줄지 않는 것으로 계산돼(최소 폭 520) 상자가 520px 로 넘쳤다.
 * 사진 최대 폭을 「520px 와 상자 폭 중 작은 것」으로 두어 옛 화면처럼 줄게 한다(세 팝업 공통).
 */
@media (max-width: 767px) {
	.na-pop .dialog-widget-content img {
		max-width: min(520px, 100%) !important;
	}
}

/* 팝업 #10423 */
.na-pop.p10423 {
	position: fixed;
	height: 100%;
	width: 100%;
	bottom: 0;
	left: 0;
	background-color: transparent;
	z-index: 9999;
	align-items: flex-start !important;
	padding-top: 40px !important;
	display: flex;
	pointer-events: none;
	justify-content: flex-end;
}
.na-pop .p10423__div {
	background-color: transparent !important;
	position: absolute;
	box-shadow: rgba(0, 0, 0, 0.2) 2px 8px 23px 3px;
	animation-duration: 1.25s;
	max-height: 100%;
	max-width: fit-content !important;
	pointer-events: all;
	width: fit-content !important;
	margin-right: auto !important;
	margin-left: auto !important;
}
.na-pop .p10423__link {
	cursor: pointer;
	position: absolute;
	right: 20px;
	color: inherit;
	font-size: 15px;
	line-height: 1;
	display: flex;
	pointer-events: all;
	top: 20px;
	z-index: 9999;
	text-decoration: none;
}
.na-pop .p10423__icon {
	fill: #ffffff !important;
	height: 1em;
	width: 1em;
}
.na-pop .p10423__div-2,
.na-pop .p10423__div-4 {
	display: none;
}
.na-pop .p10423__div-3 {
	line-height: 1.5;
	display: flex;
	max-height: 100vh;
	max-width: fit-content !important;
	width: fit-content !important;
	margin-right: auto !important;
	margin-left: auto !important;
	background-color: transparent !important;
	overflow: auto;
}
.na-pop .p10423__popup {
	width: 100%;
}
.na-pop .p10423-d1e1be8 {
	position: relative;
	width: fit-content !important;
	min-width: 0;
	margin-right: auto !important;
	margin-left: auto !important;
	display: flex;
	flex-direction: column;
	flex-wrap: initial;
	justify-content: initial;
	align-items: initial;
	align-content: initial;
	max-width: fit-content !important;
	background-color: transparent !important;
	gap: initial;
	transition: background 0.3s, border 0.3s, box-shadow 0.3s, transform 0.4s;
}
.na-pop .p10423-d1e1be8__inner {
	display: flex;
	width: 100%;
	max-width: 1043px;
	margin-right: auto;
	margin-left: auto;
	height: 100%;
	flex-direction: column;
	flex-basis: initial;
	flex-grow: 1;
	flex-shrink: initial;
	align-self: initial;
	gap: 20px;
}
.na-pop .p10423-57739f7 {
	position: relative;
	text-align: center;
	min-width: 0;
	max-width: min(520px, -20px + 33.3333vw) !important;
}
.na-pop .p10423-57739f7__div {
	height: 100%;
	transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s, transform 400ms;
}
.na-pop .p10423-57739f7__img {
	max-width: min(520px, -20px + 33.3333vw) !important;
	display: block !important;
	vertical-align: middle;
}

@media (max-width: 767px) {
	.na-pop .p10423-d1e1be8__inner {
		max-width: min(100%, 767px);
		flex-wrap: wrap;
	}
	.na-pop .p10423-57739f7,
	.na-pop .p10423-57739f7__img {
		max-width: 520px !important;
	}
}

/* 팝업 #10285 */
.na-pop.p10285 {
	position: fixed;
	height: 100%;
	width: 100%;
	bottom: 0;
	left: 0;
	background-color: transparent;
	z-index: 9999;
	align-items: flex-start !important;
	padding-top: 40px !important;
	display: flex;
	pointer-events: none;
	justify-content: flex-start;
}
.na-pop .p10285__div {
	background-color: transparent !important;
	position: absolute;
	box-shadow: rgba(0, 0, 0, 0.2) 2px 8px 23px 3px;
	animation-duration: 1.25s;
	max-height: 100%;
	max-width: fit-content !important;
	pointer-events: all;
	width: fit-content !important;
	margin-right: auto !important;
	margin-left: auto !important;
}
.na-pop .p10285__link {
	cursor: pointer;
	position: absolute;
	right: 20px;
	color: inherit;
	font-size: 15px;
	line-height: 1;
	display: flex;
	pointer-events: all;
	top: 20px;
	z-index: 9999;
	text-decoration: none;
}
.na-pop .p10285__icon {
	fill: #ffffff !important;
	height: 1em;
	width: 1em;
}
.na-pop .p10285__div-2,
.na-pop .p10285__div-4 {
	display: none;
}
.na-pop .p10285__div-3 {
	line-height: 1.5;
	display: flex;
	max-height: 100vh;
	max-width: fit-content !important;
	width: fit-content !important;
	margin-right: auto !important;
	margin-left: auto !important;
	background-color: transparent !important;
	overflow: auto;
}
.na-pop .p10285__popup {
	width: 100%;
}
.na-pop .p10285-6e5a257 {
	order: -99999;
	align-self: center;
	position: relative;
	width: fit-content !important;
	min-width: 0;
	margin-right: auto !important;
	margin-left: auto !important;
	display: flex;
	flex-direction: column;
	flex-wrap: initial;
	justify-content: initial;
	align-items: initial;
	align-content: initial;
	max-width: fit-content !important;
	background-color: transparent !important;
	gap: initial;
	transition: background 0.3s, border 0.3s, box-shadow 0.3s, transform 0.4s;
}
.na-pop .p10285-6e5a257__inner {
	display: flex;
	width: 100%;
	max-width: 1083px;
	margin-right: auto;
	margin-left: auto;
	height: 100%;
	flex-direction: column;
	align-items: flex-start;
	flex-basis: initial;
	flex-grow: 1;
	flex-shrink: initial;
	align-self: initial;
	gap: 20px;
}
.na-pop .p10285-dd1339c {
	align-self: flex-start;
	position: relative;
	text-align: center;
	min-width: 0;
	max-width: min(520px, -20px + 33.3333vw) !important;
}
.na-pop .p10285-dd1339c__div {
	height: 100%;
	transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s, transform 400ms;
}
.na-pop .p10285-dd1339c__img {
	max-width: min(520px, -20px + 33.3333vw) !important;
	display: block !important;
	vertical-align: middle;
	opacity: 0.84;
}

@media (max-width: 767px) {
	.na-pop .p10285-6e5a257__inner {
		max-width: min(100%, 767px);
		flex-wrap: wrap;
	}
	.na-pop .p10285-dd1339c,
	.na-pop .p10285-dd1339c__img {
		max-width: 520px !important;
	}
}
