.plm-wrapper {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 9999;
}

.plm-group {
	position: fixed;
	display: flex;
	flex-direction: column;
	gap: 8px;
	pointer-events: none;
}

.plm-tl {
	top: 12px;
	left: 12px;
	align-items: flex-start;
}

.plm-tr {
	top: 12px;
	right: 12px;
	align-items: flex-end;
}

.plm-bl {
	bottom: 12px;
	left: 12px;
	align-items: flex-start;
}

.plm-br {
	bottom: 12px;
	right: 12px;
	align-items: flex-end;
}

.plm-item {
	position: relative;
	background: #fff;
	padding: 6px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba( 0, 0, 0, 0.18 );
	pointer-events: auto;
	line-height: 0;
}

.plm-item img {
	display: block;
	max-width: 100%;
	height: auto;
}

.plm-item.plm-hidden {
	display: none;
}

.plm-close {
	position: absolute;
	top: -8px;
	right: -8px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #333;
	color: #fff;
	border: 2px solid #fff;
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.plm-close:hover {
	background: #dc3232;
}

/* Tablet méret: kicsit kisebb logók, de még mindig a sarkokban */
@media ( max-width: 782px ) and ( min-width: 601px ) {
	.plm-item img {
		max-width: 60px;
	}

	.plm-group {
		gap: 6px;
	}
}

/* Mobil nézet: az összes logó egyetlen, alul futó, görgethető sávba kerül (JS rendezi át) */
.plm-mobile-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	background: rgba( 255, 255, 255, 0.97 );
	box-shadow: 0 -2px 10px rgba( 0, 0, 0, 0.15 );
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.plm-mobile-bar .plm-item {
	flex: 0 0 auto;
	padding: 4px;
}

.plm-mobile-bar .plm-item img {
	max-width: 46px;
	max-height: 46px;
	width: auto;
}

.plm-mobile-bar .plm-close {
	width: 18px;
	height: 18px;
	font-size: 11px;
	top: -6px;
	right: -6px;
}

/* Mobilon a normál (asztali) csoportok üresen maradnak, nem foglalnak helyet */
@media ( max-width: 600px ) {
	.plm-group {
		display: none;
	}
}
