/* ── Image Box Carousel ── */
.ibc-carousel {
	position: relative;
}

/* Heading */
.ibc-heading {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	gap: 15px;
}

.ibc-heading__title {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
}

.ibc-heading__button a,
.ibc-heading__button span {
	font-size: 14px;
	color: inherit;
	text-decoration: none;
	opacity: .7;
	transition: opacity .2s;
}
.ibc-heading__button a:hover {
	opacity: 1;
}

.ibc-heading__arrows {
	display: flex;
	gap: 6px;
	margin-left: auto;
}

/* Arrows */
.ibc-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
	color: #333;
	cursor: pointer;
	transition: all .2s;
	padding: 0;
	line-height: 1;
}
.ibc-arrow:hover {
	border-color: #999;
	background: #f5f5f5;
}
.ibc-arrow.swiper-button-disabled {
	opacity: .35;
	cursor: default;
}

/* Items */
.ibc-item {
	text-align: center;
}

.ibc-item__image {
	position: relative;
	overflow: hidden;
	border-radius: 4px;
	background: #f8f8f8;
}

.ibc-item__image a {
	display: block;
	text-decoration: none;
}

.ibc-item__image img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform .3s;
}
.ibc-item__image:hover img {
	transform: scale(1.05);
}

.ibc-item__image-title {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 8px 10px;
	background: rgba(0,0,0,.45);
	color: #fff;
	font-size: 13px;
	text-align: center;
}

.ibc-item__title {
	margin-top: 10px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

.ibc-item__desc {
	margin-top: 4px;
	font-size: 13px;
	color: #777;
	line-height: 1.5;
}

/* Pagination dots */
.ibc-pagination {
	margin-top: 20px;
	text-align: center;
}
.ibc-pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	margin: 0 4px;
	opacity: .4;
	transition: opacity .2s, background .2s;
}
.ibc-pagination .swiper-pagination-bullet-active {
	opacity: 1;
}

/* ── Lightbox ── */
.ibc-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .88);
	opacity: 0;
	transition: opacity .25s ease;
}
.ibc-lightbox--open {
	opacity: 1;
}

.ibc-lightbox__img {
	max-width: 90vw;
	max-height: 85vh;
	object-fit: contain;
	border-radius: 4px;
	user-select: none;
}

.ibc-lightbox__close {
	position: absolute;
	top: 16px;
	right: 20px;
	background: none;
	border: none;
	color: #fff;
	font-size: 36px;
	cursor: pointer;
	line-height: 1;
	opacity: .8;
	transition: opacity .2s;
	z-index: 2;
}
.ibc-lightbox__close:hover {
	opacity: 1;
}

.ibc-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 16px;
	opacity: .7;
	transition: opacity .2s;
	z-index: 2;
}
.ibc-lightbox__nav:hover {
	opacity: 1;
}
.ibc-lightbox__nav--prev {
	left: 10px;
}
.ibc-lightbox__nav--next {
	right: 10px;
}

.ibc-lightbox__counter {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 14px;
	opacity: .7;
}
