@charset "UTF-8";

/* 쇼핑몰 홈 팝업 — 어드민 popupManager 에서 등록한 팝업그룹을 노출기간 동안 렌더링 */
.ibio-popup {
	position: fixed;
	z-index: 1200;
	background: #fff;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
	border-radius: 10px;
	overflow: hidden;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.35s ease, transform 0.35s ease;
}
.ibio-popup.ibio-popup-show {
	opacity: 1;
	transform: translateY(0);
}

.ibio-popup-body {
	width: 100%;
	height: calc(100% - 40px);
	display: block;
	overflow: hidden;
	cursor: default;
}
.ibio-popup-body.ibio-popup-clickable {
	cursor: pointer;
}
.ibio-popup-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ibio-popup-footer {
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 14px;
	background: #f4f4f4;
	border-top: 1px solid #e5e5e5;
	font-size: 13px;
}
.ibio-popup-footer button {
	border: 0;
	background: none;
	padding: 0;
	color: #555;
	cursor: pointer;
}
.ibio-popup-footer button:hover {
	text-decoration: underline;
}
.ibio-popup-close {
	font-weight: 600;
}

/* 작은 화면에서는 관리자가 지정한 위치(anchor)는 유지하되 폭만 화면에 맞게 축소 */
@media (max-width: 480px) {
	.ibio-popup {
		max-width: 90vw !important;
	}
}
