/* FMIT Attribute Terms Showcase — base structural styles.
   Colors, spacing, borders, typography are controlled via Elementor's Style tab. */

.fmit-as-root {
	width: 100%;
}

.fmit-as-empty {
	opacity: 0.7;
	font-style: italic;
}

.fmit-as-wrap {
	width: 100%;
	position: relative;
}

/* Search box */
.fmit-as-search-outer {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-bottom: 28px;
}

.fmit-as-search-wrap {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	box-sizing: border-box;
}

.fmit-as-search-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding-left: 14px;
	color: #888;
	flex-shrink: 0;
}

.fmit-as-search-input {
	flex: 1 1 auto;
	width: 100%;
	border: none;
	outline: none;
	background: transparent;
	padding: 12px 16px;
	font-size: 15px;
	box-sizing: border-box;
}

.fmit-as-no-results {
	text-align: center;
	opacity: 0.7;
	font-style: italic;
	padding: 20px 0;
}

/* Grid layout */
.fmit-as-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.fmit-as-grid .fmit-as-item.fmit-as-hidden {
	display: none;
}

/* Carousel layout (Swiper) */
.fmit-as-wrap.swiper {
	overflow: hidden;
	padding-bottom: 10px;
}

.fmit-as-wrap.swiper .swiper-wrapper {
	align-items: stretch;
}

/* Item + box (shared by grid and carousel) */
.fmit-as-item {
	display: flex;
	height: auto;
}

.fmit-as-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	text-decoration: none;
	color: inherit;
	background: #fff;
	box-sizing: border-box;
}

.fmit-as-image-wrap {
	display: inline-flex;
}

.fmit-as-image {
	display: block;
	max-width: 100%;
}

.fmit-as-title {
	display: block;
	line-height: 1.4;
}

/* Carousel navigation */
.fmit-as-arrow {
	position: absolute;
	top: 45%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	cursor: pointer;
	z-index: 2;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.fmit-as-arrow svg {
	width: 45%;
	height: 45%;
}

.fmit-as-prev {
	left: 4px;
}

.fmit-as-next {
	right: 4px;
}

.fmit-as-arrow.fmit-as-disabled {
	opacity: 0.35;
	cursor: default;
}

.fmit-as-pagination.swiper-pagination {
	position: static;
	margin-top: 14px;
	display: flex;
	justify-content: center;
	gap: 6px;
}

.fmit-as-pagination .swiper-pagination-bullet {
	opacity: 1;
	margin: 0;
	width: 8px;
	height: 8px;
}
