/*
 * oneart-i18n r149 — 좌측 하단 언어 버튼(유리 알약) + 상단 언어 제안 띠.
 * 테마·Elementor 의 전역 button/a 스타일을 끊으려고 요소마다 all:unset 후 다시 그린다.
 * 층 순서: 헤더(40) < 제안 띠(99968) < 버튼(99970) < ArtO 팝업(99989~) < 견적 피커 모달(100000).
 */
.oa-lf,
.oa-lf *,
.oa-lb,
.oa-lb * {
	box-sizing: border-box;
}

/* ── 버튼 ── */
.oa-lf {
	position: fixed;
	left: 16px;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	z-index: 99970;
	font-family: inherit;
	transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.oa-lf .oa-lf__btn {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 18px 0 14px;
	border-radius: 999px;
	cursor: pointer;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: .02em;
	color: #2a2f36;
	background: rgba(236, 242, 248, .72);
	border: 1px solid rgba(255, 255, 255, .65);
	box-shadow: 0 4px 18px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .7);
	-webkit-tap-highlight-color: transparent;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.oa-lf .oa-lf__btn {
		background: rgba(236, 242, 248, .58);
		-webkit-backdrop-filter: blur(14px) saturate(1.6);
		backdrop-filter: blur(14px) saturate(1.6);
	}
}
/* Elementor 사이트 설정(kit 1781)의 `.elementor-kit-1781 button:hover/:focus`(특이도 0,2,1)가 주황 배경을 덮으므로
   상태 셀렉터로 한 단계 높여(0,3,0) 같은 유리 바탕을 유지한다(149차 라이브에서 발견). */
.oa-lf .oa-lf__btn:hover,
.oa-lf .oa-lf__btn:focus,
.oa-lf .oa-lf__btn:active {
	background: rgba(236, 242, 248, .8);
	color: #2a2f36;
	border-color: rgba(255, 255, 255, .65);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.oa-lf .oa-lf__btn:hover,
	.oa-lf .oa-lf__btn:focus,
	.oa-lf .oa-lf__btn:active {
		background: rgba(236, 242, 248, .7);
	}
}
.oa-lf .oa-lf__btn:focus-visible {
	outline: 2px solid #211d1a;
	outline-offset: 2px;
}
.oa-lf .oa-lf__btn svg {
	display: block;
	width: 19px;
	height: 19px;
	flex: none;
	color: #7d848c;
}

/* ── 메뉴 ── */
.oa-lf .oa-lf__menu {
	position: absolute;
	left: 0;
	bottom: 52px;
	min-width: 168px;
	margin: 0;
	padding: 0;
	border-radius: 16px;
	overflow: hidden;
	background: rgba(246, 248, 251, .94);
	border: 1px solid rgba(255, 255, 255, .7);
	box-shadow: 0 8px 28px rgba(0, 0, 0, .16);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.oa-lf .oa-lf__menu {
		background: rgba(246, 248, 251, .72);
		-webkit-backdrop-filter: blur(16px) saturate(1.6);
		backdrop-filter: blur(16px) saturate(1.6);
	}
}
.oa-lf .oa-lf__menu[hidden] {
	display: none;
}
.oa-lf .oa-lf__item {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 13px 16px;
	cursor: pointer;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.2;
	color: #2a2f36;
	border-top: 1px solid rgba(0, 0, 0, .06);
}
.oa-lf .oa-lf__item:first-child {
	border-top: 0;
}
.oa-lf .oa-lf__item:hover,
.oa-lf .oa-lf__item:focus-visible {
	background: rgba(0, 0, 0, .05);
	color: #2a2f36;
	text-decoration: none;
}
.oa-lf .oa-lf__item small {
	font-size: 11px;
	letter-spacing: .04em;
	color: #8b9097;
}
.oa-lf .oa-lf__item[aria-current="true"] {
	font-weight: 700;
	cursor: default;
}
.oa-lf .oa-lf__item[aria-current="true"] small::before {
	content: "\2713\00a0";
	color: #211d1a;
}

/* ── 상단 제안 띠(문서 흐름 안 — 스크롤하면 자연히 올라가고, 고정 헤더는 JS 가 그만큼 내렸다가 따라 올린다) ── */
.oa-lb {
	position: relative;
	z-index: 99968;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px 12px;
	flex-wrap: wrap;
	min-height: 40px;
	margin: 0;
	padding: 9px 48px 9px 16px;
	background: #211d1a;
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	line-height: 1.45;
	text-align: center;
	overflow-anchor: none; /* 149차-e: 띠 자체는 스크롤 고정 기준 요소가 되지 않게 */
	transition: opacity .3s ease;
}
.oa-lb .oa-lb__go {
	all: unset;
	cursor: pointer;
	font-family: inherit;
	font-weight: 700;
	color: #f27a3a;
	white-space: nowrap;
}
.oa-lb .oa-lb__go:hover,
.oa-lb .oa-lb__go:focus-visible {
	color: #f27a3a;
	text-decoration: underline;
}
.oa-lb .oa-lb__x {
	all: unset;
	position: absolute;
	top: 50%;
	right: 8px;
	width: 32px;
	height: 32px;
	margin-top: -16px;
	display: grid;
	place-items: center;
	cursor: pointer;
	color: #bbb;
	font-size: 18px;
	line-height: 1;
}
.oa-lb .oa-lb__x:hover,
.oa-lb .oa-lb__x:focus,
.oa-lb .oa-lb__x:active {
	background: transparent;
	border: 0;
	color: #fff;
}
@media (max-width: 767px) {
	.oa-lb {
		justify-content: flex-start;
		text-align: left;
		font-size: 12.5px;
	}
}

/* ── 스크롤 상태: 맨 위가 아니면 숨김 ── */
html.oa-lf-away .oa-lf {
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	pointer-events: none;
}
html.oa-lf-away .oa-lb {
	opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
	.oa-lf,
	.oa-lb {
		transition: none;
	}
}
@media print {
	.oa-lf,
	.oa-lb {
		display: none !important;
	}
}
