/* Ultimate Logo Slider & Carousel – Frontend */

.lss-showcase {
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

.lss-showcase *,
.lss-showcase *::before,
.lss-showcase *::after {
	box-sizing: border-box;
}

/* Grid / Showcase layouts */
.lss-grid {
	display: grid;
	grid-template-columns: repeat(var(--lss-cols-d, 5), 1fr);
	gap: var(--lss-gap, 20px);
	align-items: center;
}

@media (max-width: 1023px) {
	.lss-grid {
		grid-template-columns: repeat(var(--lss-cols-t, 3), 1fr);
	}
}

@media (max-width: 767px) {
	.lss-grid {
		grid-template-columns: repeat(var(--lss-cols-m, 2), 1fr);
	}
}

/* Item */
.lss-item {
	text-align: center;
}

.lss-item-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	transition: all 0.3s ease;
}

.lss-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	text-decoration: none;
}

.lss-logo-img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	object-fit: contain;
	transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.lss-logo-title {
	display: block;
	margin-top: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.lss-logo-desc {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.4;
	opacity: 0.85;
}

/* Alignment helpers */
.lss-align-left .lss-item-inner {
	align-items: flex-start;
	text-align: left;
}

.lss-align-right .lss-item-inner {
	align-items: flex-end;
	text-align: right;
}

.lss-align-center .lss-item-inner {
	align-items: center;
	text-align: center;
}

/* Owl overrides */
.lss-showcase .owl-carousel {
	position: relative;
}

.lss-showcase .owl-nav {
	position: absolute;
	top: 50%;
	width: 100%;
	margin-top: -18px;
	pointer-events: none;
}

.lss-showcase .owl-nav button {
	position: absolute;
	pointer-events: auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	font-size: 16px;
	line-height: 36px;
	padding: 0;
	opacity: 0.85;
	transition: opacity 0.2s, background 0.2s, color 0.2s;
	z-index: 2;
}

.lss-showcase .owl-nav button:hover {
	opacity: 1;
}

.lss-showcase .owl-nav button.owl-prev {
	left: -8px;
}

.lss-showcase .owl-nav button.owl-next {
	right: -8px;
}

.lss-showcase .owl-dots {
	text-align: center;
	margin-top: 16px;
}

.lss-showcase .owl-dots button.owl-dot {
	background: transparent;
	border: none;
	padding: 4px;
	cursor: pointer;
}

.lss-showcase .owl-dots button.owl-dot span {
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	transition: background 0.2s;
}

/* Accessibility focus */
.lss-showcase a:focus-visible,
.lss-showcase button:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

/* Error message */
.lss-error {
	color: #b32d2e;
	padding: 8px 12px;
	background: #fcf0f1;
	border-left: 4px solid #d63638;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.lss-logo-img {
		transition: none;
	}
}
