/* ========================================================
   [스마트 플로팅 바텀 시트] 전역 모듈 (바닥 띄움 아일랜드형 + 3단계 트리거)
   ======================================================== */
.kyokyeoi-sheet-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100000;
	background: rgba(15, 23, 42, 0.32);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.28s ease;
}
.kyokyeoi-sheet-backdrop.active {
	opacity: 1;
	pointer-events: auto;
}

.kyokyeoi-floating-sheet {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 24px;
	z-index: 100001;
	display: flex;
	justify-content: center;
	pointer-events: none;
	padding: 0 12px;
	box-sizing: border-box;
}
.kyokyeoi-sheet-card {
	width: 100%;
	max-width: 480px;
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 12px 36px rgba(15, 23, 42, 0.22), 0 2px 8px rgba(0, 0, 0, 0.06);
	border: 1px solid #e2e8f0;
	padding: 13px 14px 11px 14px;
	box-sizing: border-box;
	pointer-events: auto;
	transform: translateY(140%);
	transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}
.kyokyeoi-floating-sheet.visible .kyokyeoi-sheet-card {
	transform: translateY(0);
}

.kyokyeoi-sheet-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 9px;
}
.kyokyeoi-sheet-title {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.94rem;
	color: #0f172a;
}
.kyokyeoi-sheet-title strong {
	font-weight: 850;
	color: #1e3a8a;
}
.kyokyeoi-sheet-close-btn {
	background: #f1f5f9;
	border: none;
	color: #64748b;
	font-size: 0.95rem;
	font-weight: 700;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: all 0.15s;
}
.kyokyeoi-sheet-close-btn:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.kyokyeoi-sheet-btn-row {
	display: flex;
	gap: 6px;
	width: 100%;
	box-sizing: border-box;
}
.kyokyeoi-sheet-item-btn {
	flex: 1 1 0;
	min-width: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	padding: 9px 2px;
	border-radius: 9px;
	text-decoration: none !important;
	font-size: 0.84rem;
	font-weight: 750;
	white-space: nowrap;
	box-sizing: border-box;
	border: 1px solid transparent;
	transition: transform 0.1s, box-shadow 0.15s;
}
.kyokyeoi-sheet-item-btn:active {
	transform: scale(0.96);
}

.btn-train { background: #eff6ff; color: #1d4ed8 !important; border-color: #bfdbfe; }
.btn-hotel { background: #fef2f2; color: #b91c1c !important; border-color: #fecaca; }
.btn-flight { background: #ecfdf5; color: #047857 !important; border-color: #a7f3d0; }
.btn-car { background: #fefce8; color: #854d0e !important; border-color: #fef08a; }
.btn-tour { background: #faf5ff; color: #6b21a8 !important; border-color: #e9d5ff; }

.kyokyeoi-sheet-disclaimer {
	text-align: center;
	margin-top: 8px;
	font-size: 10.5px;
	color: #94a3b8;
	letter-spacing: -0.02em;
	line-height: 1.4;
}

@media (max-width: 400px) {
	.kyokyeoi-floating-sheet {
		bottom: 18px;
		padding: 0 8px;
	}
	.kyokyeoi-sheet-card {
		padding: 11px 10px 9px 10px;
		border-radius: 16px;
	}
	.kyokyeoi-sheet-btn-row {
		gap: 4px;
	}
	.kyokyeoi-sheet-item-btn {
		font-size: 0.78rem;
		padding: 8px 1px;
		gap: 2px;
	}
	.kyokyeoi-sheet-title {
		font-size: 0.88rem;
	}
	.kyokyeoi-sheet-disclaimer {
		font-size: 10px;
	}
}

@media (max-width: 375px) {
	.kyokyeoi-floating-sheet {
		bottom: 14px;
		padding: 0 6px;
	}
	.kyokyeoi-sheet-card {
		padding: 9px 8px 8px 8px;
		border-radius: 14px;
	}
	.kyokyeoi-sheet-btn-row {
		gap: 3px;
	}
	.kyokyeoi-sheet-item-btn {
		font-size: 0.74rem;
		padding: 7px 0px;
		gap: 1px;
	}
	.kyokyeoi-sheet-title {
		font-size: 0.82rem;
		gap: 4px;
	}
	.kyokyeoi-sheet-disclaimer {
		font-size: 9.5px;
		line-height: 1.35;
	}
}
