/* Catfish — dải banner đáy màn hình, nhiều banner xếp cạnh nhau */
.cp-catfish {
	position: fixed;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	z-index: 99999;
	max-width: 960px;
	width: 100%;
	background: #1b1e2b;
	border: 1px solid #2a2d3d;
	border-bottom: none;
	border-radius: 8px 8px 0 0;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, .4);
	padding: 6px;
	box-sizing: border-box;
}
.cp-catfish-items {
	display: flex;
	gap: 6px;
	align-items: center;
}
.cp-catfish-item {
	flex: 1 1 0;
	min-width: 0;
	display: block;
	line-height: 0;
}
.cp-catfish-item img {
	width: 100%;
	height: auto;
	max-height: 100px;
	object-fit: contain;
	border-radius: 4px;
	display: block;
}
.cp-catfish-close {
	position: absolute;
	top: -14px;
	right: 6px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #e53e3e;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
	z-index: 1;
}
@media (max-width: 480px) {
	.cp-catfish {
		border-radius: 0;
	}
	.cp-catfish-items {
		flex-direction: column;
		max-height: 40vh;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	.cp-catfish-item {
		flex: 0 0 auto;
		width: 100%;
	}
}

/* Popup — overlay giữa màn hình. z-index cao hơn catfish để luôn nổi trên cùng. */
.cp-popup {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .75);
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 30px 16px;
	box-sizing: border-box;
}
.cp-popup.is-visible {
	display: flex;
}
.cp-popup-inner {
	position: relative;
	max-width: 500px;
	width: 100%;
}
.cp-popup-inner img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}
.cp-popup-close {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #e53e3e;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
	z-index: 1;
}
@media (max-width: 480px) {
	.cp-popup-close {
		top: -10px;
		right: 0;
	}
}
