/* Lightbox thay prettyPhoto */
.arofarm-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 48px 16px;
	background: rgba(0, 0, 0, .85);
}
.arofarm-lightbox.is-open {
	display: flex;
}
.arofarm-lightbox-open {
	overflow: hidden;
}
.arofarm-lightbox__figure {
	margin: 0;
	max-width: 100%;
	max-height: 100%;
	text-align: center;
}
.arofarm-lightbox__figure img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 140px);
	margin: 0 auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.arofarm-lightbox__figure figcaption {
	margin-top: 12px;
	color: #eee;
	font-size: 14px;
}
.arofarm-lightbox button {
	position: absolute;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	line-height: 1;
	opacity: .8;
	padding: 8px 14px;
}
.arofarm-lightbox button:hover,
.arofarm-lightbox button:focus-visible {
	opacity: 1;
}
.arofarm-lightbox__close {
	top: 8px;
	right: 8px;
	font-size: 40px;
}
.arofarm-lightbox__prev,
.arofarm-lightbox__next {
	top: 50%;
	transform: translateY(-50%);
	font-size: 56px;
}
.arofarm-lightbox__prev {
	left: 4px;
}
.arofarm-lightbox__next {
	right: 4px;
}
.arofarm-lightbox.is-single .arofarm-lightbox__prev,
.arofarm-lightbox.is-single .arofarm-lightbox__next {
	display: none;
}

/* Carousel khi không có owl-carousel: hiện dạng lưới cuộn ngang */
.arofarm-no-owl {
	display: flex;
	overflow-x: auto;
	gap: 15px;
}
.arofarm-no-owl > * {
	flex: 0 0 auto;
	max-width: 80%;
}

/* Owl 2 trong carousel ảnh của KC */
.kc-carousel-images.owl-carousel .owl-dots {
	text-align: center;
	margin-top: 10px;
}
.kc-carousel-images.owl-carousel .owl-dot span {
	display: block;
	width: 10px;
	height: 10px;
	margin: 5px;
	border-radius: 50%;
	background: #d6d6d6;
}
.kc-carousel-images.owl-carousel .owl-dot.active span {
	background: #869791;
}
.kc-sync2 .owl-item.synced {
	opacity: .6;
}

/* Accordion: nội dung đóng mặc định, JS mở mục đang chọn */
.kc_accordion_wrapper > .kc_accordion_section > .kc_accordion_content {
	display: none;
}
.kc_accordion_wrapper > .kc_accordion_section.kc-section-active > .kc_accordion_content {
	display: block;
}
