/* Branta Claud - Carrusel de imágenes */
.bc-carousel-imagenes-widget {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 2rem 0;
	box-sizing: border-box;
}

.bc-carousel-wrap {
	position: relative;
	padding: 0 48px;
}

.bc-carousel-viewport {
	overflow: hidden;
}

.bc-carousel-track {
	display: flex;
	flex-wrap: nowrap;
	transition: transform 0.5s ease;
	will-change: transform;
}

.bc-carousel-slide {
	flex: 0 0 auto;
	box-sizing: border-box;
}

.bc-carousel-slide-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	background: #fff;
}

.bc-carousel-slide-inner a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	text-decoration: none;
}

.bc-carousel-slide-inner.bc-carousel-lightbox-trigger {
	border: none;
	background: #fff;
	cursor: pointer;
	width: 100%;
	padding: 1rem;
}

.bc-carousel-slide-img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center;
	transition: filter 0.3s ease;
}

/* Escala de grises (logos tipo “clientes”) */
.bc-carousel-grayscale .bc-carousel-slide-img {
	filter: grayscale(100%);
	opacity: 0.85;
}

.bc-carousel-grayscale-hover .bc-carousel-slide-inner:hover .bc-carousel-slide-img,
.bc-carousel-grayscale-hover .bc-carousel-slide-inner:focus-within .bc-carousel-slide-img {
	filter: grayscale(0%);
	opacity: 1;
}

/* Flechas */
.bc-carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: 2px solid currentColor;
	border-radius: 50%;
	background: #fff;
	color: #64748b;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	line-height: 1;
	z-index: 2;
	transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.bc-carousel-arrow:hover {
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.bc-carousel-prev {
	left: 0;
}

.bc-carousel-next {
	right: 0;
}

/* Puntos */
.bc-carousel-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 1.25rem;
	flex-wrap: wrap;
}

.bc-carousel-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #cbd5e1;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.bc-carousel-dot:hover {
	transform: scale(1.2);
}

.bc-carousel-dot.bc-carousel-dot-active {
	background: #0b5fff;
}

/* Lightbox */
.bc-carousel-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	box-sizing: border-box;
}

.bc-carousel-lightbox[hidden] {
	display: none !important;
}

.bc-carousel-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.85);
	cursor: pointer;
}

.bc-carousel-lightbox-content {
	position: relative;
	z-index: 1;
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bc-carousel-lightbox-img {
	max-width: 100%;
	max-height: 90vh;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

.bc-carousel-lightbox-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 2;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: #0f172a;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease;
}

.bc-carousel-lightbox-close:hover {
	background: #fff;
	color: #0b5fff;
}

@media (max-width: 767px) {
	.bc-carousel-wrap {
		padding: 0 40px;
	}
	.bc-carousel-arrow {
		width: 36px;
		height: 36px;
		font-size: 1rem;
	}
}
